From Andre.Bisseret at inria.fr Mon Mar 1 04:59:58 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Mon, 1 Mar 2010 10:59:58 +0100 Subject: an annual calendar somewhere? In-Reply-To: <64bda6471002271121w8151224jae2c30d921829b48@mail.gmail.com> References: <4B87D8FE.5070305@fourthworld.com> <64bda6471002261612s571da1ebka5bdd797d79c22ff@mail.gmail.com> <4A4DD525-C0D7-4A42-ABC0-34E9AA03858D@inria.fr> <64bda6471002271121w8151224jae2c30d921829b48@mail.gmail.com> Message-ID: <3A43C835-757B-4086-BDD3-B15D34B3A67B@inria.fr> Bonjour Zryip, Le 27 f?vr. 10 ? 20:21, zryip theSlug a ?crit : ? ? > To fix this bug, replace the pad part by this new portion: > > -- Pad beginning with empty days: > put createDate(tYear,tMonthNumber,1) into tStartDay > convert tStartDay to dateitems > get last item of tStartDay > if (pFirstDayWeek is "Monday") then > if (it = 1) then > put 6 into tPad -- fix the case that the day is Sunday (value > 1) - 2 = - 1 > else > put (it - 2) into tPad > end if > else > put (it - 1) into tPad > end if > > repeat for tPad > put " " after tCal > end repeat > Nice! all is OK now ? ? > Now a little trick with my code. It could give you free times if you > have missed it ;) You are really considerate ;-)) > > How to create an easy loop to add months: > > put createDate(2010,1,1) into tStartDate -- Create the January, 1 2010 > in your local language system > repeat with tMonthNumber = 0 to 11 -- Create months for January (1) to > December (12) > put cal(addToDate(tStartDate,0,tMonthNumber,0),"Monday") & cr > after fld "MyField" > end repeat > Thanks a lot. That's working like a charm. The 12 months are created very fast. Magnifique! (table or lines as well :-)) I am doing trials to improve my "in lines" layout : I think I will keep only one line for the days of weeks at the top of the field and I will isolate the months' names in an extra field on the left (to avoid that a month'name be selected when dragging from the end of a month to the beginning of the following one. > Have a nice week Best regards from Grenoble Andr? From palcibiades-first at yahoo.co.uk Mon Mar 1 05:05:17 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 1 Mar 2010 02:05:17 -0800 (PST) Subject: fonts: what is a "point" in Linux/Gnome? In-Reply-To: <4B8AE6C8.3000106@fourthworld.com> References: <4B8AE6C8.3000106@fourthworld.com> Message-ID: <1267437917892-1573367.post@n4.nabble.com> This is really puzzling. The thing I do see is that Rev's IDE on Linux is grotesquely small, and the dictionary font is grotesquely small. I'm really surprised in this age of political correctness that Rev considers it acceptable because it must be simply unusable by a substantial minority of the population. But I can't see that my desktop icons or panels or any other UI elements are materially different in size from the way they are in Windows. And if they are, you just resize them, surely? But as to the fonts, I fired up Rev, created a stack with a field in it, then put the font size to 12, and opened up OpenOffice and did the same thing. Its true. Rev looks like its about 6 point, and OO looks normal 12 point. After you find one of the few fonts they will both display! So which is wrong? The answer surely must be Rev. All other applications on Linux work just fine and display the fonts in the same way. Rev is doing something unaccountably different. Its exactly the same as which fonts they display. All the other apps find the same fonts. Its exactly the same as desktops, all the other apps allow them to be used. Its not Linux. Its not even Gnome, because it doesn't matter which window manager you use. Its Rev. Its got to be fixed. -- View this message in context: http://n4.nabble.com/fonts-what-is-a-point-in-Linux-Gnome-tp1573008p1573367.html Sent from the Revolution - User mailing list archive at Nabble.com. From Andre.Bisseret at inria.fr Mon Mar 1 05:51:22 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Mon, 1 Mar 2010 11:51:22 +0100 Subject: an annual calendar somewhere? In-Reply-To: References: Message-ID: <33A200D3-821D-4273-9A3F-7412174A413C@inria.fr> Bonjour Robert, Le 28 f?vr. 10 ? 23:26, Robert Cole a ?crit : > Andr?: > I continue to have fun with your calendar question. Am very glad to hear that :-) > I just uploaded another stack called "Calendar Lines" that produces > a one-line-per-month format. I downloaded it; really nice look :-) > It also allows you to transpose the calendar into a one-column-per- > month. Yeess! that's very good: I am still hesitating between the two formats. > I wrote a transpose function that uses the split command and the > extents function. I am going to study your script : I still have to get familiar with these functions, and more familiar with arrays (I began to use them a bit when Trevor' data grid appears; but I must confess that, up to now, I use them only when it is very necessary ;-) > I haven't tried to select a range of dates, yet. I tried but seems not possible in a table field (?) Up to now, I am using a simple text field (with tab stops). Then I can select ranges of dates; but I am going to suppress the months'names at the beginning of the lines and to put them in an extra field on the left of the main field. So that I be able to select ranges including last days of one month and first days of the following month without including the name of the second month. Thanks a lot for your attention and your Calendar Lines" Best regards from Grenoble Andr? From niggemann at uni-wh.de Mon Mar 1 06:06:24 2010 From: niggemann at uni-wh.de (BNig) Date: Mon, 1 Mar 2010 03:06:24 -0800 (PST) Subject: an annual calendar somewhere? In-Reply-To: <33A200D3-821D-4273-9A3F-7412174A413C@inria.fr> References: <33A200D3-821D-4273-9A3F-7412174A413C@inria.fr> Message-ID: <1267441584386-1573418.post@n4.nabble.com> Andr?, >I haven't tried to select a range of dates, yet. >I tried but seems not possible in a table field (?) in the property inspector for the field of stack "calendar lines" go to tables, unselect crevTable, than in the basic properties make shure lock text is true and traversal on is checked. Then you can select text in the field. regards Bernd -- View this message in context: http://n4.nabble.com/an-annual-calendar-somewhere-tp1569025p1573418.html Sent from the Revolution - User mailing list archive at Nabble.com. From marcio at cialogica.com.br Mon Mar 1 06:18:30 2010 From: marcio at cialogica.com.br (Marcio Alexandroni) Date: Mon, 01 Mar 2010 08:18:30 -0300 Subject: Ideas to simulate a multithreaded sockets server In-Reply-To: Message-ID: Hi, I made some progress on this topic and I think I Rev+CGI can do the job. While waiting for revServer, I decided to try CGI with Rev to see if it fits my needs. Of course, I had to use the 3.5 standalone engine, as v4.0.0 does not include the standalone engine anymore. First of all, I searched for a multiplatform, tiny, easy-to-install-and-configure web server on the market. Of course there is Apache, but I found "Abyss Web Server" by "aprelium" (http://www.aprelium.com/abyssws/). There is a free version for personal use and for commercial use it's only $59. It supports Windows, Linux, Mac, FreeBSD. The web server setup is easy and done with the browser, I just had to add a new interpreter, set the executable to the Rev standalone, set the "-ui" argument and the "irev" extension for the "RevLets" and now I can access the "RevLets" with the "irev" extension direct from the browser. I didn't have to set any permission for the file. I needed database access to PostgreSQL, so I just had to point the directory where revdb.bundle and dbpostgresql.bundle (Mac files) are located in the "set the externals of this stack" clause. I built a Rev Stack for common functions and used the "start using" clause in the "RevLet" and now I can create the logic all in the Rev Stack, with source code protected! I was using "vi" to edit my files and I was not happy with it, of course... Then, last night Stephen Barncard (thank you!!!) released the Rev colour syntax for coda, now my work seems to be complete! All seems to be working fine, I can move on and try the connections on the PDAs, then rewrite my application logic on the PDA to communicate through HTTP and see what happens. When revServer comes up, I think I can move without deep changes, as the "RevLets" are Rev!!! Regards, Marcio Alexandroni www.cialogica.com.br ( (+55 11) 9989-8316 Skype: marcioalexandroni Brazil -- From Andre.Bisseret at inria.fr Mon Mar 1 07:09:11 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Mon, 1 Mar 2010 13:09:11 +0100 Subject: an annual calendar somewhere? In-Reply-To: <1267441584386-1573418.post@n4.nabble.com> References: <33A200D3-821D-4273-9A3F-7412174A413C@inria.fr> <1267441584386-1573418.post@n4.nabble.com> Message-ID: <63B334F9-7F7D-4F2B-B001-CD3317E08F8E@inria.fr> Le 1 mars 10 ? 12:06, BNig a ?crit : > > Andr?, >> I haven't tried to select a range of dates, yet. >> I tried but seems not possible in a table field (?) > > in the property inspector for the field of stack "calendar lines" go > to > tables, unselect crevTable, than in the basic properties make shure > lock > text is true and traversal on is checked. Then you can select text > in the > field. > regards > Bernd > -- Ah! yeesss! that is working well :-)) (am learning every day!) Thank you very much Bernd Andr? From david at dvglasgow.wanadoo.co.uk Mon Mar 1 09:27:16 2010 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Mon, 1 Mar 2010 14:27:16 +0000 Subject: use-revolution Digest, Vol 77, Issue 71 In-Reply-To: <20100226232453.3614A28825D@mail.runrev.com> References: <20100226232453.3614A28825D@mail.runrev.com> Message-ID: <8C647D7C-8D99-4D25-9F59-8C4162D6F41A@dvglasgow.wanadoo.co.uk> On 26 Feb 2010, at 11:24 pm, Richmond wrote: > DON'T spend money on Mac Software; once you have the machine and the operating system > pretty well everything else should be FREE. Except stuff we need to sell to earn a crust, right? ;-) From jerry.daniels at me.com Mon Mar 1 09:40:23 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 1 Mar 2010 08:40:23 -0600 Subject: [ANN] Revolution.mode - Revolution syntax coloring for CODA In-Reply-To: References: Message-ID: <990C94A8-7ABF-4C2A-B4C9-E304B40F9D17@me.com> That worked nicely, Stephen. My #-prefixed comments stopped the colorizing cold in its tracks, but I did a simple search and replace to fix. Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/background-tabs-open-a-tab-without-going-ther On Feb 28, 2010, at 5:33 PM, stephen barncard wrote: > We were talking about his last week. I went ahead and tacked all > Revolution > keywords into the document. All Functions, Commands, Properties and > Control > Structures are used. Installation info included. I also include a > Revolution.seestyle to set the style to a starting point. > > REVOLUTION.MODE FOR CODA > > > > I will be posting it to the SubEthraEdit site but the Rev lists get it > first. > > sqb > ------------------------- > Stephen Barncard > San Francisco > http://houseofcubes.com/disco.irev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Mon Mar 1 09:59:52 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 1 Mar 2010 09:59:52 -0500 Subject: To Trevor: DG feature request In-Reply-To: <963c86eb1002270715o6b145da4i703e76174a6bf154@mail.gmail.com> References: <963c86eb1002270715o6b145da4i703e76174a6bf154@mail.gmail.com> Message-ID: <35929875-9028-4052-A0F4-D5960B9B5C02@mangomultimedia.com> On Feb 27, 2010, at 10:15 AM, Jeff Massung wrote: > Trevor, not sure how difficult this would be, but something to > consider: DG > forms that are horizontal instead of vertical. ;-) It isn't trivial but it is doable. Feature requests such as this should be logged in RQCC though. -- 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 Mon Mar 1 10:00:50 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 1 Mar 2010 10:00:50 -0500 Subject: Datagrids and Google Spreadsheets In-Reply-To: References: Message-ID: <4CF3A731-5ACA-4416-AAFF-CF8F463AF431@mangomultimedia.com> On Feb 26, 2010, at 9:27 AM, David Bovill wrote: > Trevor if you are listening - have you any scripts for extracting > XML from > datagrids that I could customise - I'm working with a version of your > generic array to xml code - just wandering if you have any updates > designed > to work with data grids? The Data Grid is just storing an array so any generic array > XML converter will work with the dgData property. -- 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 Mon Mar 1 10:10:16 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 1 Mar 2010 10:10:16 -0500 Subject: datagrids in revLets on Win (Vista / 7) In-Reply-To: <00000D48.4B89B5ED@matthias.is-a-guru.com> References: <00000D48.4B89B5ED@matthias.is-a-guru.com> Message-ID: <4436A473-EA4D-4906-8943-FAE271FFE8B8@mangomultimedia.com> On Feb 27, 2010, at 6:16 PM, runrev260805 at m-r-d.de wrote: > is there any special to consider, when using Datagrids in a Revlet? > I built a simple stack with a Datagrid. Putting data into the > DataGrid works in a standalone, but not in a revlet. http://n4.nabble.com/datagrids-in-revLets-on-Win-Vista-7-td974506.html#a974506 The Data Grid library in the next release of Rev won't query the registry when running in the browser. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From richmondmathewson at gmail.com Mon Mar 1 11:18:04 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 01 Mar 2010 18:18:04 +0200 Subject: use-revolution Digest, Vol 77, Issue 71 In-Reply-To: <8C647D7C-8D99-4D25-9F59-8C4162D6F41A@dvglasgow.wanadoo.co.uk> References: <20100226232453.3614A28825D@mail.runrev.com> <8C647D7C-8D99-4D25-9F59-8C4162D6F41A@dvglasgow.wanadoo.co.uk> Message-ID: <4B8BE8BC.7000407@gmail.com> On 01/03/2010 16:27, David Glasgow wrote: > On 26 Feb 2010, at 11:24 pm, Richmond wrote: > > >> DON'T spend money on Mac Software; once you have the machine and the operating system >> pretty well everything else should be FREE. >> > > Except stuff we need to sell to earn a crust, right? ;-) > > Well, I'm not entirely sure, with the exception of a few killer apps (Sibelius???), whether Apps for Mac are going to make much money. Open Source, while providing Free apps, somehow manages to reimburse the folk who make them. I make my crusts in another way. Although, to be honest I will be bunging a Pay Pal button on my website and my programs - for donations. From jacque at hyperactivesw.com Mon Mar 1 11:22:51 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 01 Mar 2010 10:22:51 -0600 Subject: fonts: what is a "point" in Linux/Gnome? In-Reply-To: <1267437917892-1573367.post@n4.nabble.com> References: <4B8AE6C8.3000106@fourthworld.com> <1267437917892-1573367.post@n4.nabble.com> Message-ID: <4B8BE9DB.7020606@hyperactivesw.com> Peter Alcibiades wrote: > But as to the fonts, I fired up Rev, created a stack with a field in it, > then put the font size to 12, and opened up OpenOffice and did the same > thing. Its true. Rev looks like its about 6 point, and OO looks normal 12 > point. After you find one of the few fonts they will both display! > > So which is wrong? I have some old info from a 4-year-old tech support ticket, but it worked back then and it may still work now. Since I know little about any of this, I'll just add the info as it was passed to me: Rev needs X11 fonts. It only works with those. Tiny fonts are caused by the font server in use. A customer who had the same issue wrote: "It was my font server, xfs. Somewhere in a recent reconfiguration to support xfstt, I pooched it. I reinstalled/reconfigured xfs, and it's all ducky." -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Mar 1 11:28:32 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 01 Mar 2010 10:28:32 -0600 Subject: Life-cycle of paper clips In-Reply-To: <8CC870F73740950-4760-17F73@webmail-m086.sysops.aol.com> References: <20100228180004.404A628802E@mail.runrev.com> <8CC870F73740950-4760-17F73@webmail-m086.sysops.aol.com> Message-ID: <4B8BEB30.3000601@hyperactivesw.com> cubist at aol.com wrote: >> On Feb 27, 2010, at 4:15 AM, Kay C Lan wrote: >>> On Sat, Feb 27, 2010 at 4:12 PM, J. Landman Gay> wrote: >>>> But I still couldn't see where socks go after you put >>>> them in the dryer. I'll keep looking. >>> Oh, that's easy, they migrate to boys boarding schools. Every time my >>> boys come back home they have innumerable single socks that they've >>> never owned before. I believe I'm fairly successful in returning them >>> to their rightful owners because most of them disappear after I've >>> washed and dried them several time;-)... >> and while we're at it, what about paper clips? I'm always buying >> more boxes of them -- where do they all go? My suspicion is that they >> make their way somehow into closets and metamorphose in the dark into >> wire coat hangers.... Jacque, have they confirmed this in 2020? > I believe the definitive paper on the reproductive and migratory > habits of paper clips was OR ALL THE SEAS WITH OYSTERS (A. Davidson, 1958). I was going to mention that only I couldn't remember the story title. I can barely remember the story (and no, I did NOT read it when first published. :)) I have my own theory about this, which was probably influenced by the story. Hangers breed and give birth to little paper clips. Little paper clips go through a life cycle where the grow to various sizes up to a point, when they migrate and begin to pupate in your closet. They emerge later as hangers. If I remember right, the story compared the number of hangers to paper clips over a period of time and noted that one population decreased as the other increased. It would be fairly easy to gather similar data in one's own home. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Mon Mar 1 11:47:51 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 01 Mar 2010 18:47:51 +0200 Subject: fonts: what is a "point" in Linux/Gnome? In-Reply-To: <4B8BE9DB.7020606@hyperactivesw.com> References: <4B8AE6C8.3000106@fourthworld.com> <1267437917892-1573367.post@n4.nabble.com> <4B8BE9DB.7020606@hyperactivesw.com> Message-ID: <4B8BEFB7.2060702@gmail.com> On 01/03/2010 18:22, J. Landman Gay wrote: > Since I know little about any of this, I'll just add the info as it > was passed to me: > > Rev needs X11 fonts. It only works with those. Tiny fonts are caused > by the font server in use. A customer who had the same issue wrote: > "It was my font server, xfs. Somewhere in a recent reconfiguration to > support xfstt, I pooched it. I reinstalled/reconfigured xfs, and it's > all ducky." > The problem, and it is a real problem, is that end-users (and folks like me) don't know their X11 fonts from their other fonts. This makes it well-nigh impossible for a developer to deploy a stand-alone that requires a custom font to be installed. This may make things "all ducky" to those whom Linux is a clear pond; but as far as I am concerned I have a really hard time telling my Mallard from my Shovellers: http://animal.discovery.com/guides/wild-birds/gallery/mallard_duck.jpg http://i.treehugger.com/images/2007/10/24/northernShoveler.jpg or, as I mentioned a while back: the duck eggs are blue and the drake eggs are green . . . :) And before you mention 'it' - fonts don't have beaks. From mazzapaoloitaly at gmail.com Mon Mar 1 11:55:41 2010 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Mon, 1 Mar 2010 17:55:41 +0100 Subject: ExplicitVariables Message-ID: <4365fca01003010855v568c94fcp2e6f22f2a2ff8aaf@mail.gmail.com> I just installed Rev 4.5 in macosx 10.5.8 Trying to use this piece of code on mouseUp set the explicitVariables to false put 1 into UNO answer UNO end mouseUp I get this error: button "Button": compilation error at line 4 (Chunk: can't create a variable with that name (explicitVariables?)) near "UNO", char 10 How can I fix this? Any idea? Thanks a lot. Paolo Mazza From mwieder at ahsoftware.net Mon Mar 1 12:11:33 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 1 Mar 2010 09:11:33 -0800 Subject: ExplicitVariables In-Reply-To: <4365fca01003010855v568c94fcp2e6f22f2a2ff8aaf@mail.gmail.com> References: <4365fca01003010855v568c94fcp2e6f22f2a2ff8aaf@mail.gmail.com> Message-ID: <1931441332515.20100301091133@ahsoftware.net> paolo- Monday, March 1, 2010, 8:55:41 AM, you wrote: > I just installed Rev 4.5 in macosx 10.5.8 > Trying to use this piece of code > on mouseUp > set the explicitVariables to false > put 1 into UNO > answer UNO > end mouseUp > I get this error: > button "Button": compilation error at line 4 (Chunk: can't create a variable > with that name (explicitVariables?)) near "UNO", char 10 > How can I fix this? Any idea? Turn off explicitVars first, before trying to compile the code. Or declare UNO as a local variable. Your line of "set the..." is being compiled, not setting the property. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Mon Mar 1 12:24:02 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 1 Mar 2010 09:24:02 -0800 Subject: Life-cycle of paper clips In-Reply-To: <4B8BEB30.3000601@hyperactivesw.com> References: <20100228180004.404A628802E@mail.runrev.com> <8CC870F73740950-4760-17F73@webmail-m086.sysops.aol.com> <4B8BEB30.3000601@hyperactivesw.com> Message-ID: <1691442081609.20100301092402@ahsoftware.net> Jacque- Monday, March 1, 2010, 8:28:32 AM, you wrote: > I was going to mention that only I couldn't remember the story title. I > can barely remember the story (and no, I did NOT read it when first Took it down off the shelf for a re-read this morning... it was safety pins and coat hangers... and... uh... red French racing bicycles, of course. Also puts me in mind of Theodore Sturgeon's "Yesterday was Monday". -- -Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Mon Mar 1 12:28:39 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Mar 2010 09:28:39 -0800 Subject: fonts: what is a "point" in Linux/Gnome? In-Reply-To: <4B8AE6C8.3000106@fourthworld.com> References: <4B8AE6C8.3000106@fourthworld.com> Message-ID: If I had to guess, it's the fact that Win and Apple use graphics engines that can render smaller objects with greater detail, and so there is no need to make objects larger in order to make them look better. Bob On Feb 28, 2010, at 1:57 PM, Richard Gaskin wrote: > Since the days of Motif, *NIX UIs have tended toward very large controls compared to their counterparts on Mac and Win. While I appreciate the benefits of a larger target size, on balance it also seem a poor use of space, requiring common UI elements to take up much more of the screen real estate than they do on Mac and Win, and to that degree they take away focus from the user's content. > > What accounts for this tendency toward uncommonly large control sizes? From pepetoo at cox.net Mon Mar 1 12:30:11 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 1 Mar 2010 09:30:11 -0800 Subject: What are they called? In-Reply-To: <1691442081609.20100301092402@ahsoftware.net> References: <20100228180004.404A628802E@mail.runrev.com> <8CC870F73740950-4760-17F73@webmail-m086.sysops.aol.com> <4B8BEB30.3000601@hyperactivesw.com> <1691442081609.20100301092402@ahsoftware.net> Message-ID: <22492F28-3D12-414F-8682-03C08DAA82F4@cox.net> Feeling kind of stupid this morning, but I'm trying to tell someone that the "hints" we get when holding the cursor over a tool should be enlarged - if at all possible - so that the visually impaired (like me) can read them more easily; however, I can't remember what they are called. TIA, Joe Lewis Wilkins From bobs at twft.com Mon Mar 1 12:35:28 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Mar 2010 09:35:28 -0800 Subject: ExplicitVariables In-Reply-To: <4365fca01003010855v568c94fcp2e6f22f2a2ff8aaf@mail.gmail.com> References: <4365fca01003010855v568c94fcp2e6f22f2a2ff8aaf@mail.gmail.com> Message-ID: Right. Explicit variables is a compile time issue. Set it off and leave it off before you save/compile your scripts, or else leave it on and declare all your variables. Changing it in a script will only allow you to compile the next script without declaring your variables first. Bob On Mar 1, 2010, at 8:55 AM, paolo mazza wrote: > I just installed Rev 4.5 in macosx 10.5.8 > Trying to use this piece of code > > on mouseUp > set the explicitVariables to false > > put 1 into UNO > answer UNO > end mouseUp > > I get this error: > > button "Button": compilation error at line 4 (Chunk: can't create a variable > with that name (explicitVariables?)) near "UNO", char 10 > > How can I fix this? Any idea? > > Thanks a lot. > > Paolo Mazza > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From coiin at verizon.net Mon Mar 1 12:36:01 2010 From: coiin at verizon.net (Colin Holgate) Date: Mon, 01 Mar 2010 12:36:01 -0500 Subject: What are they called? In-Reply-To: <22492F28-3D12-414F-8682-03C08DAA82F4@cox.net> References: <20100228180004.404A628802E@mail.runrev.com> <8CC870F73740950-4760-17F73@webmail-m086.sysops.aol.com> <4B8BEB30.3000601@hyperactivesw.com> <1691442081609.20100301092402@ahsoftware.net> <22492F28-3D12-414F-8682-03C08DAA82F4@cox.net> Message-ID: <77E80301-77F4-4AF3-89F6-E2AECCC60792@verizon.net> On Mar 1, 2010, at 12:30 PM, Joe Lewis Wilkins wrote: > Feeling kind of stupid this morning, but I'm trying to tell someone that the "hints" we get when holding the cursor over a tool should be enlarged - if at all possible - so that the visually impaired (like me) can read them more easily; however, I can't remember what they are called. Tool Tips. From massung at gmail.com Mon Mar 1 12:36:22 2010 From: massung at gmail.com (Jeff Massung) Date: Mon, 1 Mar 2010 11:36:22 -0600 Subject: What are they called? In-Reply-To: <22492F28-3D12-414F-8682-03C08DAA82F4@cox.net> References: <20100228180004.404A628802E@mail.runrev.com> <8CC870F73740950-4760-17F73@webmail-m086.sysops.aol.com> <4B8BEB30.3000601@hyperactivesw.com> <1691442081609.20100301092402@ahsoftware.net> <22492F28-3D12-414F-8682-03C08DAA82F4@cox.net> Message-ID: <963c86eb1003010936o661cbaaldf15a9e215a58155@mail.gmail.com> Tooltips? On Mon, Mar 1, 2010 at 11:30 AM, Joe Lewis Wilkins wrote: > Feeling kind of stupid this morning, but I'm trying to tell someone that > the "hints" we get when holding the cursor over a tool should be enlarged - > if at all possible - so that the visually impaired (like me) can read them > more easily; however, I can't remember what they are called. > > From m.schonewille at economy-x-talk.com Mon Mar 1 12:39:25 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 1 Mar 2010 18:39:25 +0100 Subject: What are they called? In-Reply-To: <22492F28-3D12-414F-8682-03C08DAA82F4@cox.net> References: <20100228180004.404A628802E@mail.runrev.com> <8CC870F73740950-4760-17F73@webmail-m086.sysops.aol.com> <4B8BEB30.3000601@hyperactivesw.com> <1691442081609.20100301092402@ahsoftware.net> <22492F28-3D12-414F-8682-03C08DAA82F4@cox.net> Message-ID: Hi Joe, I think they are called tooltips. They are indeed a bit small and not adjustable. It is possible to make your own, although it isn't very easy. Halfway this page http://qurl.tk/61 you will find an example, which shows the name, long id and id number in a tooltip when the pointer tool hovers over an object in Revolution. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 1 mrt 2010, om 18:30 heeft Joe Lewis Wilkins het volgende geschreven: > Feeling kind of stupid this morning, but I'm trying to tell someone > that the "hints" we get when holding the cursor over a tool should > be enlarged - if at all possible - so that the visually impaired > (like me) can read them more easily; however, I can't remember what > they are called. > > TIA, > > Joe Lewis Wilkins From pepetoo at cox.net Mon Mar 1 12:42:27 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 1 Mar 2010 09:42:27 -0800 Subject: What are they called? In-Reply-To: References: <20100228180004.404A628802E@mail.runrev.com> <8CC870F73740950-4760-17F73@webmail-m086.sysops.aol.com> <4B8BEB30.3000601@hyperactivesw.com> <1691442081609.20100301092402@ahsoftware.net> <22492F28-3D12-414F-8682-03C08DAA82F4@cox.net> Message-ID: Thanks to all who responded so promptly. Especially Mark who guessed why I need to know. You all are the best. Joe Lewis Wilkins On Mar 1, 2010, at 9:39 AM, Mark Schonewille wrote: > Hi Joe, > > I think they are called tooltips. They are indeed a bit small and not adjustable. It is possible to make your own, although it isn't very easy. Halfway this page http://qurl.tk/61 you will find an example, which shows the name, long id and id number in a tooltip when the pointer tool hovers over an object in Revolution. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. > > Op 1 mrt 2010, om 18:30 heeft Joe Lewis Wilkins het volgende geschreven: > >> Feeling kind of stupid this morning, but I'm trying to tell someone that the "hints" we get when holding the cursor over a tool should be enlarged - if at all possible - so that the visually impaired (like me) can read them more easily; however, I can't remember what they are called. >> >> TIA, >> >> Joe Lewis Wilkins > From francois.chaplais at mines-paristech.fr Mon Mar 1 12:43:05 2010 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Mon, 1 Mar 2010 18:43:05 +0100 Subject: What are they called? In-Reply-To: <22492F28-3D12-414F-8682-03C08DAA82F4@cox.net> References: <20100228180004.404A628802E@mail.runrev.com> <8CC870F73740950-4760-17F73@webmail-m086.sysops.aol.com> <4B8BEB30.3000601@hyperactivesw.com> <1691442081609.20100301092402@ahsoftware.net> <22492F28-3D12-414F-8682-03C08DAA82F4@cox.net> Message-ID: <5ED0B47B-8BC7-49CA-89D5-4C8144497908@mines-paristech.fr> Le 1 mars 2010 ? 18:30, Joe Lewis Wilkins a ?crit : > Feeling kind of stupid this morning, but I'm trying to tell someone that the "hints" we get when holding the cursor over a tool should be enlarged - if at all possible - so that the visually impaired (like me) can read them more easily; however, I can't remember what they are called. > "useless stuff on a touch device" ;) From bobs at twft.com Mon Mar 1 12:54:18 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Mar 2010 09:54:18 -0800 Subject: Life-cycle of paper clips (was: Re: Conference-DVDs arrived) In-Reply-To: <8CC870F73740950-4760-17F73@webmail-m086.sysops.aol.com> References: <20100228180004.404A628802E@mail.runrev.com> <8CC870F73740950-4760-17F73@webmail-m086.sysops.aol.com> Message-ID: What only a few scientists realize (and they all work for the Government out at Area 51) is that wormholes are quite easy to reproduce. You don't think all the aliens got here by using nuclear fusion to create them now do you? Eventually every civilization figures out a way to make a dryer, and this is what launches them into the Space Age. All, it takes a precise level of heat, humidity and a slight static charge that is rotating at a certain speed to create one. All this is accomplished in a modern dryer, which is how the scientists discover it. Haven't you ever noticed how the Einstein types socks never match? Haven't you noticed that all dryers rotate at exactly the same speed? Once you push the button, it's only a matter of time. Once we figure out how to get BOTH socks to warp to another location before the admittedly unstable wormholes break down, THEN we'll be able to refine a method for getting all our socks back. But really, the great mystery of the universe is the question of why it's always socks and never underwear. Many spiritualists use this odd fact as proof that there is indeed, a God. Now Jacque will deny this, but I believe the way she invented the time *warp* stack, is one day she accidentally left a USB key with all her Revolution projects on it in her pants pocket which she ended up putting in (you guessed it) the dryer. It's believed that the usb key worked it's way out of her pants pocket and into one of her socks. (We are pretty sure it was her sock because the initials on it matched hers.) Later when the USB key mysteriously appeared on her desk, all the Revolution stacks on the USB key were now Time *warp* stacks. What Jacque never knew, and what I must confess now, primarily because a few very smart people on this list have already figured it out, is where the USB key was in the interim. Jacque, haven't you ever wondered how I got my hands on your time *warp* stack? Well now you know. And by the way, my father, (who works at Area 51) has a lot of socks and none of them match. Bob On Feb 28, 2010, at 8:33 PM, cubist at aol.com wrote: >>> Oh, that's easy, they migrate to boys boarding schools. Every time my >>> boys come back home they have innumerable single socks that they've >>> never owned before. I believe I'm fairly successful in returning them >>> to their rightful owners because most of them disappear after I've >>> washed and dried them several time;-)... From pepetoo at cox.net Mon Mar 1 13:04:35 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 1 Mar 2010 10:04:35 -0800 Subject: What are they called? In-Reply-To: References: <20100228180004.404A628802E@mail.runrev.com> <8CC870F73740950-4760-17F73@webmail-m086.sysops.aol.com> <4B8BEB30.3000601@hyperactivesw.com> <1691442081609.20100301092402@ahsoftware.net> <22492F28-3D12-414F-8682-03C08DAA82F4@cox.net> Message-ID: <5DF9AFE2-46CD-4AD6-BC3E-F2AD4A4FADF0@cox.net> Very useful, Mark. How would I increase the size of the Tool Tips displayed by this plug-in? Joe Lewis Wilkins On Mar 1, 2010, at 9:39 AM, Mark Schonewille wrote: > Hi Joe, > > I think they are called tooltips. They are indeed a bit small and not adjustable. It is possible to make your own, although it isn't very easy. Halfway this page http://qurl.tk/61 you will find an example, which shows the name, long id and id number in a tooltip when the pointer tool hovers over an object in Revolution. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. > From palcibiades-first at yahoo.co.uk Mon Mar 1 13:15:02 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 1 Mar 2010 10:15:02 -0800 (PST) Subject: fonts: what is a "point" in Linux/Gnome? In-Reply-To: References: <4B8AE6C8.3000106@fourthworld.com> Message-ID: <1267467302729-1574003.post@n4.nabble.com> "What accounts for this tendency toward uncommonly large control sizes?" What tendency??? There isn't any such tendency, as far as I can see. None. Maybe its something to do with Ubuntu and how they configure things out of the box? Dunno. But it is not a factor in any distro I've used. -- View this message in context: http://n4.nabble.com/fonts-what-is-a-point-in-Linux-Gnome-tp1573008p1574003.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Mon Mar 1 13:15:32 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 1 Mar 2010 19:15:32 +0100 Subject: What are they called? In-Reply-To: <5DF9AFE2-46CD-4AD6-BC3E-F2AD4A4FADF0@cox.net> References: <20100228180004.404A628802E@mail.runrev.com> <8CC870F73740950-4760-17F73@webmail-m086.sysops.aol.com> <4B8BEB30.3000601@hyperactivesw.com> <1691442081609.20100301092402@ahsoftware.net> <22492F28-3D12-414F-8682-03C08DAA82F4@cox.net> <5DF9AFE2-46CD-4AD6-BC3E-F2AD4A4FADF0@cox.net> Message-ID: Hi Joe, The size of the little window adjusts itself automatically and the textSize is just the textSize of the field in that window. That should be scriptable. The current plug-in displays object names only. I believe I should make a more general tooltips stack. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 1 mrt 2010, om 19:04 heeft Joe Lewis Wilkins het volgende geschreven: > Very useful, Mark. How would I increase the size of the Tool Tips > displayed by this plug-in? > > Joe Lewis Wilkins > From richmondmathewson at gmail.com Mon Mar 1 13:36:10 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 01 Mar 2010 20:36:10 +0200 Subject: fonts: what is a "point" in Linux/Gnome? In-Reply-To: <1267467302729-1574003.post@n4.nabble.com> References: <4B8AE6C8.3000106@fourthworld.com> <1267467302729-1574003.post@n4.nabble.com> Message-ID: <4B8C091A.3030409@gmail.com> On 01/03/2010 20:15, Peter Alcibiades wrote: > "What accounts for this tendency toward uncommonly large control sizes?" > > What tendency??? > > There isn't any such tendency, as far as I can see. None. Maybe its > something to do with Ubuntu and how they configure things out of the box? > Dunno. But it is not a factor in any distro I've used. > > "uncommonly large control sizes" Humpf. Set at a screen-res of 1280 x 1024 on a 17" monitor my Ubuntu 10.4 Alpha 3 (also known as "Richmond's Impatience") screen font sizes LOOK (which is fairly subjective) pretty much the same as my Mac OS 10.5.8 at 1280 x 1024 on a 17" monitor. The inescapable facts are: 1. Linux "does" fonts in a different way to Mac and Win. 2. RunRev on Linux "doesn't" very well when it comes to fonts. Having said that I should say that, for my standalones I deploy in my school (which have to be converted into standalones using RunRev 2.2.1 because Ubuntu 5.10 is unable to cope with standalones made with RunRev 4 and because my tatty-old PCs cannot cope with newer versions of Ubuntu - not that that matters really for my purposes) I always do the build on one of the target machines (although I normally design the stack on a Mac or a more advanced Linux machine) after going through the stacks and setting all fields and buttons to work properly with the fonts RunRev 2.2.1 sees on them. My honest opinion is that for what we might like to term "coloured Hypercard" teaching stacks RunRev on Linux really doesn't have any major problems with stacks. The "fun" starts when one wants to leverage stacks from outwith the system. From ambassador at fourthworld.com Mon Mar 1 13:40:04 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 01 Mar 2010 10:40:04 -0800 Subject: fonts: what is a "point" in Linux/Gnome? Message-ID: <4B8C0A04.8030700@fourthworld.com> Peter Alcibiades wrote: > This is really puzzling. The thing I do see is that Rev's IDE on Linux is > grotesquely small, and the dictionary font is grotesquely small. I'm really > surprised in this age of political correctness that Rev considers it > acceptable because it must be simply unusable by a substantial minority of > the population. > > But I can't see that my desktop icons or panels or any other UI elements are > materially different in size from the way they are in Windows. And if they > are, you just resize them, surely? It's not quite so simple as that if your goal is to make one layout that works well on all supported platforms, as I'll explain more below. > But as to the fonts, I fired up Rev, created a stack with a field in it, > then put the font size to 12, and opened up OpenOffice and did the same > thing. Its true. Rev looks like its about 6 point, and OO looks normal 12 > point. After you find one of the few fonts they will both display! > > So which is wrong? The answer surely must be Rev. All other applications > on Linux work just fine and display the fonts in the same way. Rev is doing > something unaccountably different. > > Its exactly the same as which fonts they display. All the other apps find > the same fonts. Its exactly the same as desktops, all the other apps allow > them to be used. > > Its not Linux. Its not even Gnome, because it doesn't matter which window > manager you use. Its Rev. Its got to be fixed. I'm not sure it's so easy to dismiss Rev as the culprit here. Nor may it be so simple to just say "Gnome is wrong!" either. It may be something more complex. I took a minute this morning to take some screen shots of Rev and OS controls on Ubuntu/Gnome, Win XP, and OS X: You'll note that on those shots Rev's understanding of text size seems to match that of Firefox almost perfectly, even as both Win and Linux report very different sizes for their OS controls. My closing observation there sums up the more significant problem: Even with the disparity of reported rendered textSize, it's possible to make layouts that substantially conform to OS standards rather easily for Mac and Win, and the text and control sizes of each are close enough that a single layout will work well on both platforms. Ubuntu/Gnome, however, uses control and text size so far out of proportion to other OS standards that they require either delivering layouts sized smaller than the user sees in other apps on that OS, or making a separate set of layouts specifically for that OS. It's been a while since I've maintained Linux distros here other than Ubuntu/Gnome, so it would be interesting to learn if this vastly disproportionate default control size is unique to Ubuntu or to Gnome. I would imagine that KDE, with it's tendency to mimic the Win look and feel to some degree, may have control sizes more in keeping with other common OS norms. But it would be interesting to find other Gnome-based distros which have control sizes that more closely fit those on Win and Mac. FWIW, if I recall correctly the Gnome control sizes I see in Ubuntu are roughly the same as I used to see in Motif and Irix. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From palcibiades-first at yahoo.co.uk Mon Mar 1 13:56:33 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 1 Mar 2010 10:56:33 -0800 (PST) Subject: fonts: what is a "point" in Linux/Gnome? In-Reply-To: <4B8BE9DB.7020606@hyperactivesw.com> References: <4B8AE6C8.3000106@fourthworld.com> <1267437917892-1573367.post@n4.nabble.com> <4B8BE9DB.7020606@hyperactivesw.com> Message-ID: <1267469793244-1574085.post@n4.nabble.com> Jacque, I don't understand this either. You gave me the suggestion a while back, and I did install xfs, but it made no difference. The thing I don't get is why all the other apps work fine, but Rev does not. Is there not someone in the development group who could just tell us how Rev handles fonts in Linux? There must be someone who knows, and if he or she will just tell us, we can probably figure out how to work along with it. Peter -- View this message in context: http://n4.nabble.com/fonts-what-is-a-point-in-Linux-Gnome-tp1573008p1574085.html Sent from the Revolution - User mailing list archive at Nabble.com. From pepetoo at cox.net Mon Mar 1 13:59:34 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 1 Mar 2010 10:59:34 -0800 Subject: What are they called? In-Reply-To: References: <20100228180004.404A628802E@mail.runrev.com> <8CC870F73740950-4760-17F73@webmail-m086.sysops.aol.com> <4B8BEB30.3000601@hyperactivesw.com> <1691442081609.20100301092402@ahsoftware.net> <22492F28-3D12-414F-8682-03C08DAA82F4@cox.net> <5DF9AFE2-46CD-4AD6-BC3E-F2AD4A4FADF0@cox.net> Message-ID: <2C12BEC7-98AC-4955-9F19-4C80CB39BE0E@cox.net> Great idea Mark. I can't wait! Joe Lewis Wilkins On Mar 1, 2010, at 10:15 AM, Mark Schonewille wrote: > Hi Joe, > > The size of the little window adjusts itself automatically and the textSize is just the textSize of the field in that window. That should be scriptable. > > The current plug-in displays object names only. I believe I should make a more general tooltips stack. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. > > Op 1 mrt 2010, om 19:04 heeft Joe Lewis Wilkins het volgende geschreven: > From richmondmathewson at gmail.com Mon Mar 1 14:01:35 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 01 Mar 2010 21:01:35 +0200 Subject: fonts: what is a "point" in Linux/Gnome? In-Reply-To: <4B8C0A04.8030700@fourthworld.com> References: <4B8C0A04.8030700@fourthworld.com> Message-ID: <4B8C0F0F.5000809@gmail.com> On 01/03/2010 20:40, Richard Gaskin wrote: > Peter Alcibiades wrote: > >> This is really puzzling. The thing I do see is that Rev's IDE on >> Linux is >> grotesquely small, and the dictionary font is grotesquely small. I'm >> really >> surprised in this age of political correctness that Rev considers it >> acceptable because it must be simply unusable by a substantial >> minority of >> the population. >> >> But I can't see that my desktop icons or panels or any other UI >> elements are >> materially different in size from the way they are in Windows. And >> if they >> are, you just resize them, surely? > > It's not quite so simple as that if your goal is to make one layout > that works well on all supported platforms, as I'll explain more below. > >> But as to the fonts, I fired up Rev, created a stack with a field in it, >> then put the font size to 12, and opened up OpenOffice and did the same >> thing. Its true. Rev looks like its about 6 point, and OO looks >> normal 12 >> point. After you find one of the few fonts they will both display! >> >> So which is wrong? The answer surely must be Rev. All other >> applications >> on Linux work just fine and display the fonts in the same way. Rev >> is doing >> something unaccountably different. >> >> Its exactly the same as which fonts they display. All the other apps >> find >> the same fonts. Its exactly the same as desktops, all the other apps >> allow >> them to be used. >> >> Its not Linux. Its not even Gnome, because it doesn't matter which >> window >> manager you use. Its Rev. Its got to be fixed. > > I'm not sure it's so easy to dismiss Rev as the culprit here. Nor may > it be so simple to just say "Gnome is wrong!" either. It may be > something more complex. > > I took a minute this morning to take some screen shots of Rev and OS > controls on Ubuntu/Gnome, Win XP, and OS X: > > Frankly, Richard, it looks as though you took quite some time and gave quite a lot of thought to that, and "took a minute" is somewhat of an understatement. It is a really good comparison: Thanks. ----------------------------------------------------------------------------------------------- I have been having a love-affair with Apple's Charcoal font since OS 9, and as such use it for ALL my buttons regardless of what platform/OS I deploy on. How does "that screaming genius" manage that? we ask ourselves. Like many things in life the answer comes in 2 parts: 1. He's not a screaming genius, he's largely a lazy slob who likes to make things easy for himself. 2. He makes the buttons up on a Mac with Charcoal.ttf installed and exports all to snapshot and uses PNG files as fake buttons. No fonts doing silly things, no conniption fits, no high-speed flying PCs going through windows . . . :) Fields . . . Erm, Yes, Well However, on a CD I made and marketed about 5 years ago (Hey, have now made enough on it to cover the initial costs - a real screaming genius) for 14 years olds to practise their Bulgarian literature (Big market that . . . ) having to have absolutely buckets of Bulgarian (Cyrillic) text in some 50 + fields to be deployed across Windows 95 thru XP, I made images of the texts, grouped each one, constrained it and added scrollbars. Editable text fields are going to be a headache on Linux unless you have a copper-bottomed guarantee that ALL your end-users are going to have the fonts you want installed somewhere (X11 fonts???) where RunRev will see them. Sanskrit fonts . . . ERM, YES, WELL. ------------------------------------------------------------------------------------------ > > You'll note that on those shots Rev's understanding of text size seems > to match that of Firefox almost perfectly, even as both Win and Linux > report very different sizes for their OS controls. > > My closing observation there sums up the more significant problem: > > Even with the disparity of reported rendered textSize, it's > possible to make layouts that substantially conform to OS > standards rather easily for Mac and Win, and the text and > control sizes of each are close enough that a single layout > will work well on both platforms. > > Ubuntu/Gnome, however, uses control and text size so far out > of proportion to other OS standards that they require either > delivering layouts sized smaller than the user sees in other > apps on that OS, or making a separate set of layouts specifically > for that OS. > > It's been a while since I've maintained Linux distros here other than > Ubuntu/Gnome, so it would be interesting to learn if this vastly > disproportionate default control size is unique to Ubuntu or to Gnome. > > I would imagine that KDE, with it's tendency to mimic the Win look and > feel to some degree, may have control sizes more in keeping with other > common OS norms. > > But it would be interesting to find other Gnome-based distros which > have control sizes that more closely fit those on Win and Mac. > > FWIW, if I recall correctly the Gnome control sizes I see in Ubuntu > are roughly the same as I used to see in Motif and Irix. > It is not the job of the Linux people to make their OS GUIs conform to some real or imaginary standard established by either Apple or Microsoft, any ore than the other way around. The downside of this is that it is up to individual developers to tailor their standalones to run on those different operating systems. This is why I keep r-e-p-e-a-t-i-n-g that building a standalone for a target OS on another OS always involves quite a bit of risk. > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Mon Mar 1 14:25:36 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 01 Mar 2010 13:25:36 -0600 Subject: fonts: what is a "point" in Linux/Gnome? In-Reply-To: <1267469793244-1574085.post@n4.nabble.com> References: <4B8AE6C8.3000106@fourthworld.com> <1267437917892-1573367.post@n4.nabble.com> <4B8BE9DB.7020606@hyperactivesw.com> <1267469793244-1574085.post@n4.nabble.com> Message-ID: <4B8C14B0.3060204@hyperactivesw.com> Peter Alcibiades wrote: > Jacque, I don't understand this either. You gave me the suggestion a while > back, and I did install xfs, but it made no difference. > > The thing I don't get is why all the other apps work fine, but Rev does not. > Is there not someone in the development group who could just tell us how Rev > handles fonts in Linux? There must be someone who knows, and if he or she > will just tell us, we can probably figure out how to work along with it. Page 18 of the User Guide lists the requirements for running Rev in Linux. It mentions "xft". I don't know what difference one letter forward in the alphabet makes, but maybe you do... It also mentions Pango. I'll see if I can find out more tomorrow. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Mar 1 14:31:05 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 01 Mar 2010 13:31:05 -0600 Subject: Life-cycle of paper clips In-Reply-To: References: <20100228180004.404A628802E@mail.runrev.com> <8CC870F73740950-4760-17F73@webmail-m086.sysops.aol.com> Message-ID: <4B8C15F9.7000305@hyperactivesw.com> Bob Sneidar wrote: > What Jacque never knew, and what I must confess now, primarily > because a few very smart people on this list have already figured it > out, is where the USB key was in the interim. Jacque, haven't you > ever wondered how I got my hands on your time *warp* stack? Well now > you know. Well that explains it then. Tomorrow I'm going to go back and take it away from you last week. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Mon Mar 1 14:34:47 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 1 Mar 2010 11:34:47 -0800 Subject: Life-cycle of paper clips (was: Re: Conference-DVDs arrived) In-Reply-To: References: <20100228180004.404A628802E@mail.runrev.com> <8CC870F73740950-4760-17F73@webmail-m086.sysops.aol.com> Message-ID: <1641213265.20100301113447@ahsoftware.net> Bob- Monday, March 1, 2010, 9:54:18 AM, you wrote: > Once we figure out how to get BOTH socks to warp to another > location before the admittedly unstable wormholes break down, THEN > we'll be able to refine a method for getting all our socks back. But I believe the Pauli Exclusion Principle will come into play if you try that. Two socks of the same pair can't warp to the same location unless you have right-footed and left-footed socks. -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Mon Mar 1 14:40:10 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 01 Mar 2010 21:40:10 +0200 Subject: fonts: what is a "point" in Linux/Gnome? In-Reply-To: <4B8C14B0.3060204@hyperactivesw.com> References: <4B8AE6C8.3000106@fourthworld.com> <1267437917892-1573367.post@n4.nabble.com> <4B8BE9DB.7020606@hyperactivesw.com> <1267469793244-1574085.post@n4.nabble.com> <4B8C14B0.3060204@hyperactivesw.com> Message-ID: <4B8C181A.5060106@gmail.com> On 01/03/2010 21:25, J. Landman Gay wrote: > Peter Alcibiades wrote: >> Jacque, I don't understand this either. You gave me the suggestion a >> while >> back, and I did install xfs, but it made no difference. >> >> The thing I don't get is why all the other apps work fine, but Rev >> does not. Is there not someone in the development group who could >> just tell us how Rev >> handles fonts in Linux? There must be someone who knows, and if he >> or she >> will just tell us, we can probably figure out how to work along with it. > > Page 18 of the User Guide lists the requirements for running Rev in > Linux. It mentions "xft". I don't know what difference one letter > forward in the alphabet makes, but maybe you do... It also mentions > Pango. 'Tis true: I looked. There is mention of quite a few things . . . Now how does: 1. One find if these things; Pango, Xft, and so forth are present in a system? 2. Are we naive to assume that they would be installed on all current linux distros (probably, especially as mplayer is not installed by default.)? The "lovely" thing about this is that on Mac one can use RunRev and its standalones straight out of the box. With Windows one might need to install Quicktime (nor unduly arduous). With Linux one has to do quite a bit . . . Which is why the Linux version of RunRev is still a bit dicky. > > I'll see if I can find out more tomorrow. > From richmondmathewson at gmail.com Mon Mar 1 14:43:17 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 01 Mar 2010 21:43:17 +0200 Subject: Life-cycle of paper clips In-Reply-To: <1641213265.20100301113447@ahsoftware.net> References: <20100228180004.404A628802E@mail.runrev.com> <8CC870F73740950-4760-17F73@webmail-m086.sysops.aol.com> <1641213265.20100301113447@ahsoftware.net> Message-ID: <4B8C18D5.50200@gmail.com> On 01/03/2010 21:34, Mark Wieder wrote: > Bob- > > Monday, March 1, 2010, 9:54:18 AM, you wrote: > > >> Once we figure out how to get BOTH socks to warp to another >> location before the admittedly unstable wormholes break down, THEN >> we'll be able to refine a method for getting all our socks back. But >> > I believe the Pauli Exclusion Principle will come into play if you try > that. Two socks of the same pair can't warp to the same location > unless you have right-footed and left-footed socks. > > I seem to remember from Natural Philosophy classes at school there was the Left-Hand Sock rule and the Right-Hand Sock Rule . . . Also remember . . . The quality of mercy is not strained . . . unless through a sock. From ambassador at fourthworld.com Mon Mar 1 15:09:01 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 01 Mar 2010 12:09:01 -0800 Subject: fonts: what is a "point" in Linux/Gnome? Message-ID: <4B8C1EDD.1030509@fourthworld.com> Richmond Mathewson wrote: > On 01/03/2010 20:40, Richard Gaskin wrote: ... >> I took a minute this morning to take some screen shots of Rev and OS >> controls on Ubuntu/Gnome, Win XP, and OS X: >> >> > > Frankly, Richard, it looks as though you took quite some time and gave > quite a lot of thought to that, > and "took a minute" is somewhat of an understatement. > > It is a really good comparison: Thanks. My pleasure. It really only took a couple minutes, well worth the investment to have the side-by-side comparison to review when making layout decisions, and if nothing else to help clarify the mystery of Gnome's control sizes. Glad you found it useful too. >> My closing observation there sums up the more significant problem: >> >> Even with the disparity of reported rendered textSize, it's >> possible to make layouts that substantially conform to OS >> standards rather easily for Mac and Win, and the text and >> control sizes of each are close enough that a single layout >> will work well on both platforms. >> >> Ubuntu/Gnome, however, uses control and text size so far out >> of proportion to other OS standards that they require either >> delivering layouts sized smaller than the user sees in other >> apps on that OS, or making a separate set of layouts specifically >> for that OS. ... > It is not the job of the Linux people to make their OS GUIs conform to > some real or imaginary standard > established by either Apple or Microsoft, any ore than the other way around. But it may well be in their interest to do so, on two counts: 1. The greatest opportunity for adoption of Linux will come from those who've used another OS before (very few who don't have a computer will be installing Linux on the thing they don't have ). Sure, there's a vast untapped pool of new users in the developing world who will inevitably come to use Linux as their first computing experience, but that's long-term and along the way most new Linux users will have had prior experience with Windows. Given this, the degree to which Linux conforms to their expectations in ways that carry no adverse risk to usability will benefit from one of the strongest usability drivers, consistency. 2. For many, Linux adoption will be driven by the number of apps available for the platform. While good FOSS apps will always enjoy a price advantage over commercial offerings, there's plenty of opportunity for proprietary software to be ported to the new forthcoming Linux audience. And even among FOSS apps, not all are developed solely for Linux. So just as we want to see things made easier for transitioning end-users, here we're also conscious of the benefits of making multi-platform deployments easier for developers. More apps simply means more users for the platform. But requiring specialized layouts for one platform slows down deployment to that platform, and may even be prohibitive for some, thereby reducing the pool of potential new users. I'll run this control size issue by the folks on the Gnome usability list, and will report back anything interesting. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From stephenREVOLUTION2 at barncard.com Mon Mar 1 15:24:28 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 1 Mar 2010 12:24:28 -0800 Subject: [ANN][UPDATE] Revolution.mode - Revolution syntax coloring for CODA and SubEhtaEdit Message-ID: Whoops! I forgot to add support for the comment syntax I never use. (Thanks to Jerry Daniels) Now supports all 4 Rev comment styles: "/* */" "--" "##" and "//" New download site: http://houseofcubes.com/down/Rev/ anyone who tests this please let me know of any errors before I re-submit to the SubEhtaEdit site. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev From zryip.theslug at gmail.com Mon Mar 1 15:31:36 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Mon, 1 Mar 2010 21:31:36 +0100 Subject: [ANN] The Slug's Color Picker is now on the road for beta test In-Reply-To: References: <64bda6471002221627w40a2c531p2f59f1a996258d88@mail.gmail.com> Message-ID: <64bda6471003011231p238b7527s7ef0fec6975ab7bf@mail.gmail.com> 2010/2/28 Ren? Micout : > Thank you very much Slug ! You're welcome Ren?! ;) Thanks for your feedback 8-) > My first remark : the width of the stack could it not be the same as the pallet of tools of RunRev ? The picker has now the same width than the tools palette, plus I give it the ability to follow the tools window. It's fully experimental (for me of course;)), but for now the picker will be nested at the bottom of the tools palette. I planned to give users two options: - the choice of the selecting color when a controls has the picker's focus - the possibility to lock or not the picker with the tools palette The new 0.1c picker beta version is now available on my website. Enjoy! 8-) Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From stephenREVOLUTION2 at barncard.com Mon Mar 1 15:39:47 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 1 Mar 2010 12:39:47 -0800 Subject: use-revolution Digest, Vol 77, Issue 71 In-Reply-To: <4B8BE8BC.7000407@gmail.com> References: <20100226232453.3614A28825D@mail.runrev.com> <8C647D7C-8D99-4D25-9F59-8C4162D6F41A@dvglasgow.wanadoo.co.uk> <4B8BE8BC.7000407@gmail.com> Message-ID: > > >> >> >>> DON'T spend money on Mac Software; once you have the machine and the >>> operating system >>> pretty well everything else should be FREE. >>> >>> >> Good advice for some ...That's not a realistic or practical goal for those who use their computers for more than word processing and web access.. In many cases the commercial versions are still better, or provide a workflow is more efficient. Also many of the open source software offerings seem to not look or work like real Mac applications. After working with the Sun Virtualizer, I still prefer the hand-holding and stuff 'that just works' in VMWare's paid Virtualizer. And there is yet to be found any open source audio and video editing software that nears the Mac experience of Final Cut or Logic. This is the stuff I use every day. And then there's Cyberduck - open source FTP client - that blows away everything I just said. I just don't think it's good advice to give to anyone - "Don't spend any money on software" - especially to a group of programmers!! From richmondmathewson at gmail.com Mon Mar 1 15:46:16 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 01 Mar 2010 22:46:16 +0200 Subject: fonts: what is a "point" in Linux/Gnome? In-Reply-To: <4B8C1EDD.1030509@fourthworld.com> References: <4B8C1EDD.1030509@fourthworld.com> Message-ID: <4B8C2798.1050005@gmail.com> Now here's a thought: On Mac there is a folder called .font in the user's Home folder (you cannot see it because the DOT makes it invisible): RunRev DOES NOT see fonts there. Try it. So it is probably rather daft to expect RunRev to see fonts in the same folder in Linux. Something tells me that the font work for RunRev Linux is either: 1. Whatever is left over from the Linux version of Metacard: and Linux has changed quite a bit since then. or 2. Based on the UNIXy bits of Mac OS X. As Metacard 2.5 sees the same fonts as RunRev 4 (on Linux) I am plumping for #1 above. What is interesting is that the Menubar for MC 2.5 (Linux) has larger, easier to read letters that the MC 4 derived from RunRev 4 via Jacque's excellent build stack. However in the folder /Library/Fonts inside the user's Home folder on a Mac RunRev CAN see fonts. From richmondmathewson at gmail.com Mon Mar 1 15:50:04 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 01 Mar 2010 22:50:04 +0200 Subject: use-revolution Digest, Vol 77, Issue 71 In-Reply-To: References: <20100226232453.3614A28825D@mail.runrev.com> <8C647D7C-8D99-4D25-9F59-8C4162D6F41A@dvglasgow.wanadoo.co.uk> <4B8BE8BC.7000407@gmail.com> Message-ID: <4B8C287C.601@gmail.com> On 01/03/2010 22:39, stephen barncard wrote: >> >> >>> >>> >>>> DON'T spend money on Mac Software; once you have the machine and the >>>> operating system >>>> pretty well everything else should be FREE. >>>> >>>> >>>> >>> > Good advice for some ...That's not a realistic or practical goal for those > who use their computers for more than word processing and web access.. > > In many cases the commercial versions are still better, or provide a > workflow is more efficient. Also many of the open source software offerings > seem to not look or work like real Mac applications. > > After working with the Sun Virtualizer, I still prefer the hand-holding and > stuff 'that just works' in VMWare's paid Virtualizer. And there is yet to be > found any open source audio and video editing software that nears the Mac > experience of Final Cut or Logic. This is the stuff I use every day. > > And then there's Cyberduck - open source FTP client - that blows away > everything I just said. > > I just don't think it's good advice to give to anyone - "Don't spend any > money on software" - especially to a group of programmers!! > > For Graphics and Sound I think that Open Source is really good (GIMP, Inkscape, Audacity, Ardour(linux)), But there is no respectable Video Editing suite that is Open Source, yet. Ultimately one has to use one's own judegement with regard to these things. I am perfectly happy developing the sort of software I develop with 100% Open Source + RunRev. From palcibiades-first at yahoo.co.uk Mon Mar 1 15:51:25 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 1 Mar 2010 12:51:25 -0800 (PST) Subject: fonts: what is a "point" in Linux/Gnome? In-Reply-To: <4B8C181A.5060106@gmail.com> References: <4B8AE6C8.3000106@fourthworld.com> <1267437917892-1573367.post@n4.nabble.com> <4B8BE9DB.7020606@hyperactivesw.com> <1267469793244-1574085.post@n4.nabble.com> <4B8C14B0.3060204@hyperactivesw.com> <4B8C181A.5060106@gmail.com> Message-ID: <1267476685955-1574249.post@n4.nabble.com> Now how does: > > 1. One find if these things; Pango, Xft, and so forth are present in a > system? > > Use Synaptic and look them up - it will show you what's installed and what is available. Peter -- View this message in context: http://n4.nabble.com/fonts-what-is-a-point-in-Linux-Gnome-tp1573008p1574249.html Sent from the Revolution - User mailing list archive at Nabble.com. From palcibiades-first at yahoo.co.uk Mon Mar 1 15:59:42 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 1 Mar 2010 12:59:42 -0800 (PST) Subject: fonts: what is a "point" in Linux/Gnome? In-Reply-To: <4B8C14B0.3060204@hyperactivesw.com> References: <4B8AE6C8.3000106@fourthworld.com> <1267437917892-1573367.post@n4.nabble.com> <4B8BE9DB.7020606@hyperactivesw.com> <1267469793244-1574085.post@n4.nabble.com> <4B8C14B0.3060204@hyperactivesw.com> Message-ID: <1267477182240-1574258.post@n4.nabble.com> I checked and it is known to Synaptic as libpango, and its installed. With quite a few subsidiary libraries. It probably came as a dependency with Gtk, in which case most all distros will have it. -- View this message in context: http://n4.nabble.com/fonts-what-is-a-point-in-Linux-Gnome-tp1573008p1574258.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Mon Mar 1 16:01:14 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 01 Mar 2010 23:01:14 +0200 Subject: fonts: what is a "point" in Linux/Gnome? In-Reply-To: <4B8C1EDD.1030509@fourthworld.com> References: <4B8C1EDD.1030509@fourthworld.com> Message-ID: <4B8C2B1A.50206@gmail.com> revFontLoad, on Mac and Win, means I can load any silly old font I like from any silly old location into my stack and use it. Were revFontLoad to work in Linux I have a funny feeling that almost all the font problems would be solved, or, at least ameliorated to such an extent that everybody felt considerably better. From zryip.theslug at gmail.com Mon Mar 1 16:02:39 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Mon, 1 Mar 2010 22:02:39 +0100 Subject: Follow the rev tools palette by a window Message-ID: <64bda6471003011302q1a6b0212jc82626b04794fc8a@mail.gmail.com> Dear list members, To follow the rev tools palette by a window (a palette), I use the send message in time form below : command scanForRevToolsLoc set the topLeft of this stack to the bottomLeft of stack "Revtools" send "scanForRevToolsLoc" to me in 100 milliseconds end scanForRevToolsLoc This handler works as expect excepted for one thing: it seems that dragging the tools palette by it's title bar, give no time to the RR engine. So during the drag, nothing is intercepted by the scanForRevToolsLoc handler. It performs only when the user release the mouse on the palette. Is it possible to have something more in "real time"? TIA Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From richmondmathewson at gmail.com Mon Mar 1 16:02:53 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 01 Mar 2010 23:02:53 +0200 Subject: fonts: what is a "point" in Linux/Gnome? In-Reply-To: <1267476685955-1574249.post@n4.nabble.com> References: <4B8AE6C8.3000106@fourthworld.com> <1267437917892-1573367.post@n4.nabble.com> <4B8BE9DB.7020606@hyperactivesw.com> <1267469793244-1574085.post@n4.nabble.com> <4B8C14B0.3060204@hyperactivesw.com> <4B8C181A.5060106@gmail.com> <1267476685955-1574249.post@n4.nabble.com> Message-ID: <4B8C2B7D.5040100@gmail.com> On 01/03/2010 22:51, Peter Alcibiades wrote: > > Now how does: > >> 1. One find if these things; Pango, Xft, and so forth are present in a >> system? >> >> >> > Use Synaptic and look them up - it will show you what's installed and what > is available. > > Peter > > I really am a bit thick at times . . . :) I am so used to using the Terminal and Apt that I tend to forget about these "new-fangled things with GUIs". From stephenREVOLUTION2 at barncard.com Mon Mar 1 16:10:23 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 1 Mar 2010 13:10:23 -0800 Subject: use-revolution Digest, Vol 77, Issue 71 In-Reply-To: <4B8C287C.601@gmail.com> References: <20100226232453.3614A28825D@mail.runrev.com> <8C647D7C-8D99-4D25-9F59-8C4162D6F41A@dvglasgow.wanadoo.co.uk> <4B8BE8BC.7000407@gmail.com> <4B8C287C.601@gmail.com> Message-ID: Audacity does not support real multitrack audio and only uses it's own plugins. As a two channel editor, it's still not as useful as the $80 Sound Studio. Many pro features missing. There is an open source video editor avidemux2, but its interface is not that great. No competition for Final Cut. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev On 1 March 2010 12:50, Richmond Mathewson wrote: > On 01/03/2010 22:39, stephen barncard wrote: > >> >>> >>> >>>> >>>> >>>> >>>>> DON'T spend money on Mac Software; once you have the machine and the >>>>> operating system >>>>> pretty well everything else should be FREE. >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>> Good advice for some ...That's not a realistic or practical goal for >> those >> who use their computers for more than word processing and web access.. >> >> In many cases the commercial versions are still better, or provide a >> workflow is more efficient. Also many of the open source software >> offerings >> seem to not look or work like real Mac applications. >> >> After working with the Sun Virtualizer, I still prefer the hand-holding >> and >> stuff 'that just works' in VMWare's paid Virtualizer. And there is yet to >> be >> found any open source audio and video editing software that nears the Mac >> experience of Final Cut or Logic. This is the stuff I use every day. >> >> And then there's Cyberduck - open source FTP client - that blows away >> everything I just said. >> >> I just don't think it's good advice to give to anyone - "Don't spend any >> money on software" - especially to a group of programmers!! >> >> >> > For Graphics and Sound I think that Open Source is really good (GIMP, > Inkscape, Audacity, Ardour(linux)), > > But there is no respectable Video Editing suite that is Open Source, yet. > > Ultimately one has to use one's own judegement with regard to these things. > I am perfectly happy developing the sort of software I develop with 100% > Open Source + RunRev. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mcgrath3 at mac.com Mon Mar 1 16:45:15 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 01 Mar 2010 16:45:15 -0500 Subject: What are they called? In-Reply-To: <22492F28-3D12-414F-8682-03C08DAA82F4@cox.net> References: <20100228180004.404A628802E@mail.runrev.com> <8CC870F73740950-4760-17F73@webmail-m086.sysops.aol.com> <4B8BEB30.3000601@hyperactivesw.com> <1691442081609.20100301092402@ahsoftware.net> <22492F28-3D12-414F-8682-03C08DAA82F4@cox.net> Message-ID: Tooltips On Mar 1, 2010, at 12:30 PM, Joe Lewis Wilkins wrote: > Feeling kind of stupid this morning, but I'm trying to tell someone that the "hints" we get when holding the cursor over a tool should be enlarged - if at all possible - so that the visually impaired (like me) can read them more easily; however, I can't remember what they are called. > > TIA, > > Joe Lewis Wilkins > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Mon Mar 1 18:41:57 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 01 Mar 2010 15:41:57 -0800 Subject: fonts: what is a "point" in Linux/Gnome? Message-ID: <4B8C50C5.7090700@fourthworld.com> Before I trudged off to the Gnome Usability List with my questions, I figured I owed it to them and myself to first dig up what I can on my own. Glad I did - here are some highlights: [Usability] Gnome is Too BIG.. Gnome is too big, indeed. Default font size too large if using native DPI The note there in comment #67 explains the Firefox "anomaly": Web browsers use pixel-based preferences for arcane reasons that made a lot of sense in 1999 but that are making steadily less sense over time. They'll probably switch to points a few years after OSes do. So at least I'm not alone in my observations about Gnome, and it seems it is indeed a Gnome issue and not specific to Ubuntu. What I haven't found is how/if the Gnome team will attempt to resolve this. There are some serious backward compatibility issues at stake, so I appreciate the many reports filed against this marked "Won't Fix". Over the long term we can expect the Gnome team to come up with something clever, Firefox will migrate to points over pixels, and Rev will improve its GTK support to go along for the ride. In the short term, I'll just use 12-point fonts with more conventionally-sized controls than most Gnome apps, so I can ship on time at the relatively small cost of a handful of users who won't be grateful that I'm making better use of their screen real estate. :) -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From bobs at twft.com Mon Mar 1 19:05:59 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Mar 2010 16:05:59 -0800 Subject: fonts: what is a "point" in Linux/Gnome? In-Reply-To: <4B8C50C5.7090700@fourthworld.com> References: <4B8C50C5.7090700@fourthworld.com> Message-ID: <98B2693B-F893-4A11-9166-06EEFD63F1D4@twft.com> Hi Richard. It may be rather tedious, but when I developed in Foxpro, there were always these kinds of issues. What a font looked like in Windows was NOT what it looked like in the Mac OS. So the initialization program set up variables with fonts and sizes based upon what platform you were running at the time. What would REALLY be nice, is if there were properties in Rev for Default Field Font, Default Label Font, Default Button font etc, with sizes and styles to match. Then it would be a simple matter of changing the defaults depending on what platform you were running. As is, you have to do repeat loops on all your objects until a better fix can be had. Bob On Mar 1, 2010, at 3:41 PM, Richard Gaskin wrote: > Before I trudged off to the Gnome Usability List with my questions, I figured I owed it to them and myself to first dig up what I can on my own. Glad I did - here are some highlights: From psahores at free.fr Mon Mar 1 19:14:00 2010 From: psahores at free.fr (Pierre Sahores) Date: Tue, 2 Mar 2010 01:14:00 +0100 Subject: Ideas to simulate a multithreaded sockets server In-Reply-To: References: Message-ID: <1325B0EA-6279-4EA3-9EFF-230EEB83FC85@free.fr> Seems realy cool and as long as a dedicated server will be used, Abyss httpd will be realy usefull ! Best Regards, P. Le 1 mars 10 ? 12:18, Marcio Alexandroni a ?crit : > Hi, > > I made some progress on this topic and I think I Rev+CGI can do the > job. > > While waiting for revServer, I decided to try CGI with Rev to see if > it fits > my needs. Of course, I had to use the 3.5 standalone engine, as > v4.0.0 does > not include the standalone engine anymore. > > First of all, I searched for a multiplatform, tiny, > easy-to-install-and-configure web server on the market. Of course > there is > Apache, but I found "Abyss Web Server" by "aprelium" > (http://www.aprelium.com/abyssws/). There is a free version for > personal use > and for commercial use it's only $59. It supports Windows, Linux, Mac, > FreeBSD. > > The web server setup is easy and done with the browser, I just had > to add a > new interpreter, set the executable to the Rev standalone, set the "- > ui" > argument and the "irev" extension for the "RevLets" and now I can > access the > "RevLets" with the "irev" extension direct from the browser. I > didn't have > to set any permission for the file. > > I needed database access to PostgreSQL, so I just had to point the > directory > where revdb.bundle and dbpostgresql.bundle (Mac files) are located > in the > "set the externals of this stack" clause. > > I built a Rev Stack for common functions and used the "start using" > clause > in the "RevLet" and now I can create the logic all in the Rev Stack, > with > source code protected! > > I was using "vi" to edit my files and I was not happy with it, of > course... > Then, last night Stephen Barncard (thank you!!!) released the Rev > colour > syntax for coda, now my work seems to be complete! > > All seems to be working fine, I can move on and try the connections > on the > PDAs, then rewrite my application logic on the PDA to communicate > through > HTTP and see what happens. > > When revServer comes up, I think I can move without deep changes, as > the > "RevLets" are Rev!!! > > Regards, > > Marcio Alexandroni > www.cialogica.com.br > ( (+55 11) 9989-8316 > Skype: marcioalexandroni > Brazil > -- > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From zryip.theslug at gmail.com Mon Mar 1 19:27:16 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 2 Mar 2010 01:27:16 +0100 Subject: [ANN] The Slug's Color Picker is now on the road for beta test In-Reply-To: <64bda6471003011231p238b7527s7ef0fec6975ab7bf@mail.gmail.com> References: <64bda6471002221627w40a2c531p2f59f1a996258d88@mail.gmail.com> <64bda6471003011231p238b7527s7ef0fec6975ab7bf@mail.gmail.com> Message-ID: <64bda6471003011627u39e9ffacl9948298d7caf91a5@mail.gmail.com> 2010/3/1 zryip theSlug : New update available: 0.1d The Color Picker gives now the illusion (I hope ;)) to be a part of the tools palette. Enjoy! 8-) -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From ambassador at fourthworld.com Mon Mar 1 19:44:22 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 01 Mar 2010 16:44:22 -0800 Subject: fonts: what is a "point" in Linux/Gnome? Message-ID: <4B8C5F66.5020602@fourthworld.com> Bob Sneidar wrote: > What would REALLY be nice, is if there were properties in Rev for > Default Field Font, Default Label Font, Default Button font etc, > with sizes and styles to match. Then it would be a simple matter > of changing the defaults depending on what platform you were running. > > As is, you have to do repeat loops on all your objects until a better > fix can be had. Yes, a simple built-in way to handle this would be a great addition for a multi-platform development tool like Rev: In the meantime, Ken and I discovered that we each do something very similar to what you described, and have begun collaborating on a central library to handle that (and a whole lot more). Once it gets fleshed out it'll be submitted to the Rev Interoperability Project for review and enhancement, but I've started using it in one of my apps now. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From palcibiades-first at yahoo.co.uk Mon Mar 1 21:36:15 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 1 Mar 2010 18:36:15 -0800 (PST) Subject: fonts: what is a "point" in Linux/Gnome? In-Reply-To: <4B8C50C5.7090700@fourthworld.com> References: <4B8AE6C8.3000106@fourthworld.com> <4B8C50C5.7090700@fourthworld.com> Message-ID: <1267497375925-1574524.post@n4.nabble.com> Well, they are an interesting set of links! It sounds like Ubuntu is now shipping their version of Gnome with too large defaults, at least for some people, and that this can largely be dealt with by correct choice of theme and fonts. Also that the size of the system bits does not adjust for the monitor resolution, so if your monitor is larger or smaller than the Gnome default design, you'll have to do this. Or is this misunderstanding the situation? One of the postings suggests seeing what the difference is between the xdpyinfo resolution and the gnome resolution is. In my own case, Debian Squeeze, no tweaking with these parameters, xdpyinfo gives 101 x 101 dpi, whereas gnome (which I don't use except very occasionally) gives 96. That is odd. But still and all, and independently of this, there is a problem with Rev, and it seems, only with Rev, and it does not seem to be Gnome related, because its identical in Fluxbox, which I use all the time In Gnome just as in Fluxbox, start up Rev, and you seem to be presented with fonts sizes in the dictionary and in the menu bars of a size which, to get the same size in all other applications, you'd have to use 6 or maybe even 4 point. I can't see any difference in this whatever the window manager. So maybe this is something Rev is doing in Gtk? And if so, why on earth are they doing it? Richard, are you noticing this too? That the ide and dictionary are so small as to be almost unusable in Linux? -- View this message in context: http://n4.nabble.com/fonts-what-is-a-point-in-Linux-Gnome-tp1573008p1574524.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Mon Mar 1 21:41:10 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 1 Mar 2010 18:41:10 -0800 Subject: fonts: what is a "point" in Linux/Gnome? In-Reply-To: <1267497375925-1574524.post@n4.nabble.com> References: <4B8AE6C8.3000106@fourthworld.com> <4B8C50C5.7090700@fourthworld.com> <1267497375925-1574524.post@n4.nabble.com> Message-ID: <626796640.20100301184110@ahsoftware.net> Peter- Monday, March 1, 2010, 6:36:15 PM, you wrote: > see any difference in this whatever the window manager. So maybe this is > something Rev is doing in Gtk? And if so, why on earth are they doing it? How about launching revolution from the commandline instead of double-clicking the icon? I've found gtk errors that way, and at least you should get an interesting message stream... -- -Mark Wieder mwieder at ahsoftware.net From palcibiades-first at yahoo.co.uk Mon Mar 1 22:05:47 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 1 Mar 2010 19:05:47 -0800 (PST) Subject: fonts: what is a "point" in Linux/Gnome? In-Reply-To: <626796640.20100301184110@ahsoftware.net> References: <4B8AE6C8.3000106@fourthworld.com> <4B8C50C5.7090700@fourthworld.com> <1267497375925-1574524.post@n4.nabble.com> <626796640.20100301184110@ahsoftware.net> Message-ID: <1267499147452-1574539.post@n4.nabble.com> This is what it does: peter at vv:~/3.5.0-gm-2$ ./revolution Will try and use Shared Memory extensions XVideo extensions available? : Yes Will use X-Freetype font rendering Using Pango complex text layout then if you do 4.0 from the command line, the size is identical, and you get this peter at vv:~/ Studio4.0.0-gm-1$ ./revolution and it starts up. Maybe we have to do something with X-Freetype font rendering, however one might go about that? Peter -- View this message in context: http://n4.nabble.com/fonts-what-is-a-point-in-Linux-Gnome-tp1573008p1574539.html Sent from the Revolution - User mailing list archive at Nabble.com. From lan.kc.macmail at gmail.com Mon Mar 1 23:23:43 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 2 Mar 2010 12:23:43 +0800 Subject: Life-cycle of paper clips (was: Re: Conference-DVDs arrived) In-Reply-To: References: <20100228180004.404A628802E@mail.runrev.com> <8CC870F73740950-4760-17F73@webmail-m086.sysops.aol.com> Message-ID: On Tue, Mar 2, 2010 at 1:54 AM, Bob Sneidar wrote: > But really, the great mystery of the universe is the question of why it's always socks and never underwear. Many spiritualists use this odd fact as proof that there is indeed, a God. > Again, no mystery there, it's all to do with shape. The greatest aeronautical geniuses of the universe took it as a challenge to find that shape which was inherently never meant to fly; and make it fly. Not only did they succeed, but against all forces of the universe they were able to make it return from whence it came. Obviously I'm talking about the Australian Aboriginals. The boomerang is a highly sophisticated design, but get it wrong, and galactic forces will send all sock shaped spinning objects (hence the conspiracy with washing machine or tumble dryer as already explained by Bob) on a one way journey to 'the never never' - the Aboriginal technical term for that place you never want to go to. Actually, in the Aboriginal dreamtime (way way way before white-fella history) it was only called 'the never' because all that was there was countless boomerang prototype failures. But the spiritual elders, those who saw into the distant future, could see that one day, the failed boomerangs would be outnumbered by socks, and therefore to emphasis the chance of you finding anything useful there, they now refer to it as 'the never never'. As a side note, some theorise that a young James M. Barrie upon hearing magnificent stories of the young Australian colony, it's aboriginals, and the never never, incorrectly concluded that such a place was adults only. He then used his writing genius to weave a tale about NeverLand which was children only. But enough of the facts;-) From mwieder at ahsoftware.net Tue Mar 2 01:59:36 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 1 Mar 2010 22:59:36 -0800 Subject: fonts: what is a "point" in Linux/Gnome? In-Reply-To: <1267499147452-1574539.post@n4.nabble.com> References: <4B8AE6C8.3000106@fourthworld.com> <4B8C50C5.7090700@fourthworld.com> <1267497375925-1574524.post@n4.nabble.com> <626796640.20100301184110@ahsoftware.net> <1267499147452-1574539.post@n4.nabble.com> Message-ID: <2642302250.20100301225936@ahsoftware.net> Peter- Interesting. On Ubuntu I get mwieder at mwieder-ubuntu:~/revolution/3.5.0-gm-2$ ./revolution Will try and use Shared Memory extensions XVideo extensions available? : No Will use X-Freetype font rendering Using Pango complex text layout *** glibc detected *** ./revolution double free or corruption (out): 0xb7dbf1a0 *** mwieder at mwieder-ubuntu:~/revolution/4.0.0-gm-1$ ./revolution *** glibc detected *** ./revolution double free or corruption (out): 0xb7ea0198 *** Then, of course, I kill each process with a -9. -- -Mark Wieder mwieder at ahsoftware.net From pderocco at ix.netcom.com Tue Mar 2 02:07:54 2010 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Mon, 1 Mar 2010 23:07:54 -0800 Subject: SendCardMessage questions Message-ID: 1) Does this require a freshly allocated string as its first parameter, which Revolution takes ownership of and eventually deletes? Or does it copy the data out of it, in which case the caller would have to delete it if it was dynamically allocated? 2) What context can this be called from? I would assume you couldn't call it from inside a hardware interrupt handler, because it would probably do something (allocate memory perhaps?) that's not legal inside a hardware interrupt handler. But how about in the context of some device driver thread? In particular, on Windows I'd like to call it from inside a MIDI input callback function, which isn't called by the main application thread, but isn't called in an interrupt handler either, so I assume it's a called by some thread associated with the device, or some multimedia thread in Windows. 2) What card does the message get sent to? The main stack's first card? Or does it depend upon what card is visible? What about if a dialog box is open? Thanks in advance. -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From GWolfgang at gaich.de Tue Mar 2 02:45:55 2010 From: GWolfgang at gaich.de (G.Wolfgang Gaich) Date: Tue, 02 Mar 2010 08:45:55 +0100 Subject: fonts: what is a "point" in Linux/Gnome? In-Reply-To: <4B8C50C5.7090700@fourthworld.com> References: <4B8C50C5.7090700@fourthworld.com> Message-ID: <1267515955.12189.9.camel@gyWork> Hello all, I didn't read all the mails of this thread. My suggestion: In Ubuntu go to System/Preferences/Appearance/Fonts. Activate Subpixel smoothing and click on details. There you can adjust the resolution (dpi) to the needs of your display. dpi = xres x 2.54 / the width of your display For my display I have 116 dpi and the fontsizes are ok. Regards, Wolfgang On Mon, 2010-03-01 at 15:41 -0800, Richard Gaskin wrote: > Before I trudged off to the Gnome Usability List with my questions, I > figured I owed it to them and myself to first dig up what I can on my > own. Glad I did - here are some highlights: > > > [Usability] Gnome is Too BIG.. > > > Gnome is too big, indeed. > > > Default font size too large if using native DPI > > > The note there in comment #67 explains the Firefox "anomaly": > > Web browsers use pixel-based preferences for arcane reasons > that made a lot of sense in 1999 but that are making steadily > less sense over time. They'll probably switch to points a few > years after OSes do. > > > So at least I'm not alone in my observations about Gnome, and it seems > it is indeed a Gnome issue and not specific to Ubuntu. > > What I haven't found is how/if the Gnome team will attempt to resolve > this. There are some serious backward compatibility issues at stake, so > I appreciate the many reports filed against this marked "Won't Fix". > > Over the long term we can expect the Gnome team to come up with > something clever, Firefox will migrate to points over pixels, and Rev > will improve its GTK support to go along for the ride. > > In the short term, I'll just use 12-point fonts with more > conventionally-sized controls than most Gnome apps, so I can ship on > time at the relatively small cost of a handful of users who won't be > grateful that I'm making better use of their screen real estate. :) > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From Andre.Bisseret at inria.fr Tue Mar 2 04:13:20 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Tue, 2 Mar 2010 10:13:20 +0100 Subject: [ANN] The Slug's Color Picker is now on the road for beta test In-Reply-To: <64bda6471003011627u39e9ffacl9948298d7caf91a5@mail.gmail.com> References: <64bda6471002221627w40a2c531p2f59f1a996258d88@mail.gmail.com> <64bda6471003011231p238b7527s7ef0fec6975ab7bf@mail.gmail.com> <64bda6471003011627u39e9ffacl9948298d7caf91a5@mail.gmail.com> Message-ID: Le 2 mars 10 ? 01:27, zryip theSlug a ?crit : > 2010/3/1 zryip theSlug : > > New update available: 0.1d > > The Color Picker gives now the illusion (I hope ;)) to be a part of > the tools palette. > > > Enjoy! 8-) > Thank you Zryip :-) I tried it; when dragging the tools palette it's putting back docilely ;-) But seems that Color Picker keeps staying in front so that it is not possible to get the properties of another stack in the inspector? (not possible to name a new stack for example). Might be I am missing something? I was wondering if "drawer at bottom"? could do the trick (but the doc says that it works on Mac only :-( Best regards from Grenoble Andr? From rene.micout at numericable.com Tue Mar 2 04:53:10 2010 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Tue, 2 Mar 2010 10:53:10 +0100 Subject: [ANN] The Slug's Color Picker is now on the road for beta test In-Reply-To: <64bda6471003011627u39e9ffacl9948298d7caf91a5@mail.gmail.com> References: <64bda6471002221627w40a2c531p2f59f1a996258d88@mail.gmail.com> <64bda6471003011231p238b7527s7ef0fec6975ab7bf@mail.gmail.com> <64bda6471003011627u39e9ffacl9948298d7caf91a5@mail.gmail.com> Message-ID: <1024F2D4-F7B2-4AC1-83FA-C8E84A6C6E87@numericable.com> Slug, Yes, yes, yes for the new version ! But how can I stop using Color Picker ? Ren? Le 2 mars 2010 ? 01:27, zryip theSlug a ?crit : > 2010/3/1 zryip theSlug : > > New update available: 0.1d > > The Color Picker gives now the illusion (I hope ;)) to be a part of > the tools palette. > > > Enjoy! 8-) > > > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From andre at andregarzia.com Tue Mar 2 07:25:59 2010 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 2 Mar 2010 09:25:59 -0300 Subject: [OT] MacZot bundle features SuperCard Message-ID: <7c87a2a11003020425l1555ccc5o7b0de3a83e1b56cf@mail.gmail.com> Aloha Folks, Did you guys noticed that the maczot bundle is featuring SuperCard? MacZot is a really good way of getting your software noticed, I know Richard used it for WebMerge at least once. When I have some software to market, I am sure to approach them. cheers Andre -- http://www.andregarzia.com All We Do Is Code. From richmondmathewson at gmail.com Tue Mar 2 08:23:02 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 02 Mar 2010 15:23:02 +0200 Subject: [OT] Video converter for Mac Message-ID: <4B8D1136.3060800@gmail.com> Someone (sorry, wasn't focussing much) was after a way of converting video made on a Mac to a more Windowzy sort of thing: http://www.thugsatbay.com/tab/?q=tab-video-converter-encoder From DunbarX at aol.com Tue Mar 2 09:26:05 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Tue, 2 Mar 2010 09:26:05 EST Subject: SendCardMessage questions Message-ID: <537e1.6010ffd0.38be79fd@aol.com> "sendCard"? I don't see it in the dictionary. Craig Newman From bdrunrev at gmail.com Tue Mar 2 09:53:08 2010 From: bdrunrev at gmail.com (Bernard Devlin) Date: Tue, 2 Mar 2010 14:53:08 +0000 Subject: SendCardMessage questions In-Reply-To: <537e1.6010ffd0.38be79fd@aol.com> References: <537e1.6010ffd0.38be79fd@aol.com> Message-ID: On Tue, Mar 2, 2010 at 2:26 PM, wrote: > "sendCard"? > > I don't see it in the dictionary. > > Craig Newman I believe that Paul is referring to an element that is used in externals. Regrettably that is as far as my knowledge of externals goes :-) Bernard From lfredricks at proactive-intl.com Tue Mar 2 09:56:40 2010 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 2 Mar 2010 06:56:40 -0800 Subject: [OT] MacZot bundle features SuperCard In-Reply-To: <7c87a2a11003020425l1555ccc5o7b0de3a83e1b56cf@mail.gmail.com> References: <7c87a2a11003020425l1555ccc5o7b0de3a83e1b56cf@mail.gmail.com> Message-ID: <2D77E9B7FB744032985F69862A09D16D@GATEWAY> > Did you guys noticed that the maczot bundle is featuring SuperCard? > > MacZot is a really good way of getting your software noticed, > I know Richard used it for WebMerge at least once. When I > have some software to market, I am sure to approach them. MacZot is a discount seller, so you make next to nothing per unit, however you stand to gain a lot by expanding your user base. It is easier to sell to someone who already has one of your products. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From andre at andregarzia.com Tue Mar 2 10:01:42 2010 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 2 Mar 2010 12:01:42 -0300 Subject: [OT] MacZot bundle features SuperCard In-Reply-To: <2D77E9B7FB744032985F69862A09D16D@GATEWAY> References: <7c87a2a11003020425l1555ccc5o7b0de3a83e1b56cf@mail.gmail.com> <2D77E9B7FB744032985F69862A09D16D@GATEWAY> Message-ID: <7c87a2a11003020701l6c84d87ie8c5402033ec9caa@mail.gmail.com> it all depends on your margin right? As you said, you may make little but not only you expand the user base but you get visibility as well. Many times, I passed a maczot offer because I didn't need the product but later recommended or mentioned it to friends or in some really unlucky cases needed the software afterwards and paid full price. I don't know if I am gifted with an uncanny software remembrance (does that word exists?) but I tend to remember what I see on maczot even months later... maybe is that the sum of words like SALE and SOFTWARE makes a big impression on me like SHOES and SALE makes on some people. On Tue, Mar 2, 2010 at 11:56 AM, Lynn Fredricks < lfredricks at proactive-intl.com> wrote: > > Did you guys noticed that the maczot bundle is featuring SuperCard? > > > > MacZot is a really good way of getting your software noticed, > > I know Richard used it for WebMerge at least once. When I > > have some software to market, I am sure to approach them. > > MacZot is a discount seller, so you make next to nothing per unit, however > you stand to gain a lot by expanding your user base. It is easier to sell > to > someone who already has one of your products. > > Best regards, > > Lynn Fredricks > President > Paradigma Software > http://www.paradigmasoft.com > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From Andre.Bisseret at inria.fr Tue Mar 2 10:10:40 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Tue, 2 Mar 2010 16:10:40 +0100 Subject: an annual calendar somewhere? (done) In-Reply-To: <1267441584386-1573418.post@n4.nabble.com> References: <33A200D3-821D-4273-9A3F-7412174A413C@inria.fr> <1267441584386-1573418.post@n4.nabble.com> Message-ID: <5802E7CB-9659-45A9-BC6C-6220C81E743A@inria.fr> Bonjour, Thanks a lot to Robert, Zrypt, Richard, Bernd who provided very helpful material and the others who chimed in helping to push along :-) I have now an annual calendar with 12 lines, one for each month. The days of weeks are in a separate field at the top of the display (not repeated for each month) The months are also in a separate field on the left of the main field which displays the day numbers. The year is in a separate field too at the top left. So it is easy to select any range of days either from a single month or across two (or more) months. Oh! happy day ;-)) Best regards from Grenoble Andr? ---- the script ------- -- 03/2010 -- first script from Richard Gaskin, completed and improved by Zryip theSlug. (comments are from them) -- I only adapted it to my needs (months in lines instead of tables; several fields instead of a single one) on mouseUp set useSystemDate to true put empty into fld "calendar field" put empty into fld "chMonths" put empty into fld "weekDayNames" createLineOfDays ask "Quelle ann?e ?" with last word of the abbrev system date put it into yearToMake put yearToMake into fld "theYear" put createDate(yearToMake,1,1) into tStartDate -- Create the January, 1 2010 in your local language system repeat with tMonthNumber = 0 to 11 -- Create months for January (1) to December (12) put Cal(addToDate(tStartDate,0,tMonthNumber,0),"Monday") & cr after fld "calendar field" end repeat end mouseUp on createLineOfDays --to be put in a separate field at the top -- Make day names header: -- in AWEEK put "Monday" into pFirstDayWeek put weekdayNamesList(pFirstDayWeek) into tWeekdayNames put empty into aWeek put empty into fourWeeks repeat for each line tDay in tWeekdayNames put char 1 to 2 of tDay &" " after aWeek --after tCal end repeat -- Make 5 weeks + lu ma repeat 5 put aWeek & tab after fourWeeks end repeat put fourWeeks & "lu ma" into fld "weekDayNames" end createLineOfDays function Cal pDate, pFirstDayWeek set useSystemDate to true -- Returns a plain-text calendar representation of -- the month the date specified in pDate is in. -- If no month is provided it uses the current -- month. Month and day names use the user's current -- system settings. -- -- Use current date as default: if pDate is empty then put the date into pDate if pFirstDayWeek is empty then put "Sunday" into pFirstDayWeek -- Verify date is valid: convert pDate to dateitems if the result is not empty then return "Error: "& the result -- put empty into tCal -- -- Make month/year header: put item 1 of pDate into tYear put item 2 of pDate into tMonthNumber put line (tMonthNumber) of the monthNames into tMonth --put tMonth && tYear into tHeader --put tHeader & cr after fld "chMonths" put tMonth & cr after fld "chMonths" -- in an extra field on the left -- -- Pad beginning with empty days: put createDate(tYear,tMonthNumber,1) into tStartDay convert tStartDay to dateitems get last item of tStartDay if (pFirstDayWeek is "Monday") then if (it = 1) then put 6 into tPad -- fix the case that the day is Sunday (value1) - 2 = - 1 else put (it - 2) into tPad end if else put (it - 1) into tPad end if repeat for tPad put " " after tCal end repeat put createDate(tYear,tMonthNumber,1) into tStartDay -- create a date in the system's local language -- Walk through 31 days, stopping when we reach a -- number not valid for the month we're doing: repeat with i = 1 to dayOf(addToDate(tStartDay,0,1,-1)) -- the end value is the number of days in the month. To obtain the last date of a month, add 1 month and subtract one -- day to the first day of a month -- Get day number: put createDate(tYear,tMonthNumber,i) into tDate convert tDate to dateitems if the result is not empty then exit repeat put item 3 of tDate into tDayNum -- -- Pad it and add it: if len(i) = 1 then put " " before i put i &" " after tCal -- -- Go to next line if we're at the end of the week: if last item of tDate = lastDayOfWeek(pFirstDayWeek) then put tab after tCal --cr after tCal end repeat -- -- Send it to the caller: return tCal end Cal function weekdayNamesList pFirstDay set useSystemDate to true put the abbr weekdayNames into tWeekdayNames if pFirstDay is "Monday" then put cr&first line of tWeekdayNames after tWeekdayNames delete first line of tWeekdayNames end if return tWeekdayNames end weekdayNamesList function lastDayOfWeek pFirstDay if pFirstDay is "Monday" then return 1 else return 7 end if end lastDayOfWeek function firstDayInMonth pStartDate -- Return the first day in a month set useSystemDate to true convert pStartDate to dateitems put 1 into item 3 of pStartDate convert pStartDate to short date return pStartDate end firstDayInMonth function createDate pTheYear,pTheMonth,pTheDay local tDateItems set useSystemDate to true put pTheYear,pTheMonth,pTheDay,0,0,0,0 into tDateItems convert tDateItems from dateItems to short date return tDateItems end createDate function addToDate pStartDate,pAddToYear,pAddToMonth,pAddToDay -- Allows you to manipulate a date in a single pass set useSystemDate to true convert pStartDate to dateitems add pAddToYear to item 1 of pStartDate add pAddToMonth to item 2 of pStartDate add pAddToDay to item 3 of pStartDate convert pStartDate to short date return pStartDate end addToDate function dayOf pStartDate set useSystemDate to true convert pStartDate to dateitems return item 3 of pStartDate end dayOf From francois.chaplais at mines-paristech.fr Tue Mar 2 10:41:38 2010 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Tue, 2 Mar 2010 16:41:38 +0100 Subject: fonts: what is a "point" in Linux/Gnome? In-Reply-To: <1267515955.12189.9.camel@gyWork> References: <4B8C50C5.7090700@fourthworld.com> <1267515955.12189.9.camel@gyWork> Message-ID: Le 2 mars 2010 ? 08:45, G.Wolfgang Gaich a ?crit : > Hello all, > > I didn't read all the mails of this thread. > > My suggestion: > > In Ubuntu go to System/Preferences/Appearance/Fonts. > Activate Subpixel smoothing and click on details. > There you can adjust the resolution (dpi) to the needs of your display. > dpi = xres x 2.54 / the width of your display > For my display I have 116 dpi and the fontsizes are ok. > > Regards, > > Wolfgang I have read this thread on Apple mail, and at some point (pun intended) I realized I could zoom and de-zoom the messages by pinching or spreading my fingers on the touchpad, from the hardly visible to waaay too enlarged. Now, if rev could incorporate this *other* side of the spectrum... But I guess this would imply switching to cocoa. Fran?ois From lfredricks at proactive-intl.com Tue Mar 2 10:54:50 2010 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 2 Mar 2010 07:54:50 -0800 Subject: [OT] MacZot bundle features SuperCard In-Reply-To: <7c87a2a11003020701l6c84d87ie8c5402033ec9caa@mail.gmail.com> References: <7c87a2a11003020425l1555ccc5o7b0de3a83e1b56cf@mail.gmail.com> <2D77E9B7FB744032985F69862A09D16D@GATEWAY> <7c87a2a11003020701l6c84d87ie8c5402033ec9caa@mail.gmail.com> Message-ID: <7C654DF190E34FFFB33934EE50C0928A@GATEWAY> > it all depends on your margin right? As you said, you may > make little but not only you expand the user base but you get > visibility as well. Many times, I passed a maczot offer > because I didn't need the product but later recommended or > mentioned it to friends or in some really unlucky cases > needed the software afterwards and paid full price. I don't > know if I am gifted with an uncanny software remembrance > (does that word exists?) but I tend to remember what I see on > maczot even months later... maybe is that the sum of words > like SALE and SOFTWARE makes a big impression on me like > SHOES and SALE makes on some people. That's right. A lot of folks don't necessarily see the value in dropping the price for a special offer so low, because they are looking at the short term and not the long term value of customer acquisition and PR value. Revolution has been there before, too, when it made sense. I can see SuperCard being there because they volume customer acquisition and PR value is exactly what they need. If you have a specialized, expensive, vertical market product, MacZot might not be the way to go. Its harder to upsell later and there is a potential blow to perceived value if you drop your price from $999 to $49. I often work with magazines to give away older versions of software. Once you acquire a customer, even if they don't upgrade within a short term, you've already got a relationship with them. MacZot doesn't need to make that much money off of each unit, but their reasons are different from yours. They are able to do their thing all the time. They have a smart operation. On the other hand, there are companies out there that want to give you access to their customer base for sales purposes, but not share with you the customer list. Ive never been fond of that because that means you aren't building any "customer equity". Some software developers will do it, because the partner will give access to a channel they are not able to acquire themselves without huge investments. That's one of the reasons why you see some titles showing up in the Apple Store under someone else's brand, but you are already familiar with them as a direct seller of their product. The cost of getting into stores is high - especially the Apple Store. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From janschenkel at yahoo.com Tue Mar 2 11:09:34 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 2 Mar 2010 08:09:34 -0800 (PST) Subject: SendCardMessage questions In-Reply-To: Message-ID: <571384.3047.qm@web65415.mail.ac4.yahoo.com> --- On Mon, 3/1/10, Paul D. DeRocco wrote: > 1) Does this require a freshly > allocated string as its first parameter, > which Revolution takes ownership of and eventually deletes? > Or does it copy > the data out of it, in which case the caller would have to > delete it if it > was dynamically allocated? > > 2) What context can this be called from? I would assume you > couldn't call it > from inside a hardware interrupt handler, because it would > probably do > something (allocate memory perhaps?) that's not legal > inside a hardware > interrupt handler. But how about in the context of some > device driver > thread? In particular, on Windows I'd like to call it from > inside a MIDI > input callback function, which isn't called by the main > application thread, > but isn't called in an interrupt handler either, so I > assume it's a called > by some thread associated with the device, or some > multimedia thread in > Windows. > > 2) What card does the message get sent to? The main stack's > first card? Or > does it depend upon what card is visible? What about if a > dialog box is > open? > > Thanks in advance. > > -- > > Ciao,? ? ? ? ? ? > ???Paul D. DeRocco > I've replied on the forum: HTH, Jan Schenkel. ===== Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From massung at gmail.com Tue Mar 2 11:31:23 2010 From: massung at gmail.com (Jeff Massung) Date: Tue, 2 Mar 2010 10:31:23 -0600 Subject: Custom tab controls Message-ID: <963c86eb1003020831x53b3b71fn282142dbf6e9f00b@mail.gmail.com> Anyone here (Jerry?) willing to provide some pointers on how they ended up creating their own custom tab controls? Jeff M. From jschwart at mitre.org Tue Mar 2 11:33:23 2010 From: jschwart at mitre.org (Schwartz, Jonathan L.) Date: Tue, 2 Mar 2010 11:33:23 -0500 Subject: Trunc Error Message-ID: <17969D855F28964C88D177D45B6CDF11047885652E@IMCMBX2.MITRE.ORG> I just found the following result. (1.2 - 0.8)/0.2 = 2 trunc( (1.2 - 0.8)/0.2) = 1 -- I have previously reported the following: on mouseUp repeat with n = 0 to 1 step 0.1 put n&"," after aList end repeat put aList end mouseUp returns: 0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1,1.1, It should stop at 1 Also 0 to 0.8 step 0.1 stops at 0.9 ... there are others The use of the increment is consistent with the documentation. Are there other similar problems that users are aware of ? When applied properly, these can produce false results and make analysis using runRev questionable. I have reported these in the Rev Quality Control Center. From revlist at azurevision.co.uk Tue Mar 2 11:45:31 2010 From: revlist at azurevision.co.uk (Ian Wood) Date: Tue, 2 Mar 2010 16:45:31 +0000 Subject: OT: Good books on Cocoa dev? (spellcheck woes) Message-ID: <82787BF6-E638-46A4-A28F-28FAEB7CBC41@azurevision.co.uk> I've got an app coming up which is Mac-only and will involve a lot of text entry where spell checking is critical (photographer's metadata entry) - no matter which way I look at it the various spellchecking workarounds/stacks for Rev just won't cut it as there's no way to make them look native enough and keep good performance. although I'd love to be proved wrong on that... So, can anyone recommend a good starting point for Cocoa, for someone who's never been past 'Hello World' in XCode? ;-) Ian From bobs at twft.com Tue Mar 2 11:50:13 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 2 Mar 2010 08:50:13 -0800 Subject: [OT] MacZot bundle features SuperCard In-Reply-To: <7c87a2a11003020701l6c84d87ie8c5402033ec9caa@mail.gmail.com> References: <7c87a2a11003020425l1555ccc5o7b0de3a83e1b56cf@mail.gmail.com> <2D77E9B7FB744032985F69862A09D16D@GATEWAY> <7c87a2a11003020701l6c84d87ie8c5402033ec9caa@mail.gmail.com> Message-ID: <0C04091A-B0B4-4182-80D6-2432AB45FEB5@twft.com> It does now, although I don't see what cans have to do with anything. Bob On Mar 2, 2010, at 7:01 AM, Andre Garzia wrote: > I don't know if I am > gifted with an uncanny software remembrance (does that word exists?) From Andre.Bisseret at inria.fr Tue Mar 2 11:56:04 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Tue, 2 Mar 2010 17:56:04 +0100 Subject: fonts: what is a "point" in Linux/Gnome? In-Reply-To: References: <4B8C50C5.7090700@fourthworld.com> <1267515955.12189.9.camel@gyWork> Message-ID: <41E28565-835D-4177-A1E6-975952552357@inria.fr> Le 2 mars 10 ? 16:41, Fran?ois Chaplais a ?crit : > > Le 2 mars 2010 ? 08:45, G.Wolfgang Gaich a ?crit : > >> Hello all, >> >> I didn't read all the mails of this thread. >> >> My suggestion: >> >> In Ubuntu go to System/Preferences/Appearance/Fonts. >> Activate Subpixel smoothing and click on details. >> There you can adjust the resolution (dpi) to the needs of your >> display. >> dpi = xres x 2.54 / the width of your display >> For my display I have 116 dpi and the fontsizes are ok. >> >> Regards, >> >> Wolfgang > I have read this thread on Apple mail, and at some point (pun > intended) I realized I could zoom and de-zoom the messages by > pinching or spreading my fingers on the touchpad, from the hardly > visible to waaay too enlarged. > Now, if rev could incorporate this *other* side of the spectrum... > But I guess this would imply switching to cocoa. > > Fran?ois > ---- Fran?ois, On Mac with the control key down, (either with the touchpad or the scroll wheel of the mouse), all what is on the screen in enlarged, including the rev stacks, isn'it? Amiti?s de Grenoble Andr? From francois.chaplais at mines-paristech.fr Tue Mar 2 12:15:21 2010 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Tue, 2 Mar 2010 18:15:21 +0100 Subject: fonts: what is a "point" in Linux/Gnome? In-Reply-To: <41E28565-835D-4177-A1E6-975952552357@inria.fr> References: <4B8C50C5.7090700@fourthworld.com> <1267515955.12189.9.camel@gyWork> <41E28565-835D-4177-A1E6-975952552357@inria.fr> Message-ID: <13606A0C-6E84-4407-BF74-405D701FD272@mines-paristech.fr> Le 2 mars 2010 ? 17:56, Andre.Bisseret a ?crit : >> I have read this thread on Apple mail, and at some point (pun intended) I realized I could zoom and de-zoom the messages by pinching or spreading my fingers on the touchpad, from the hardly visible to waaay too enlarged. >> Now, if rev could incorporate this *other* side of the spectrum... >> But I guess this would imply switching to cocoa. >> >> Fran?ois >> > ---- > Fran?ois, > On Mac with the control key down, (either with the touchpad or the scroll wheel of the mouse), all what is on the screen in enlarged, including the rev stacks, isn'it? > > Amiti?s de Grenoble > Andr? It does not work on my latest MBP, snow 10.6.2. Isn't that from the "universal access" system control panel? To go further, and this has been mentioned in this list, trapping multitouch gestures as messages would be handy (confider the future revmobile platform). This should be available to all platforms. The the stack could handle the message by itself (for instance enlarge the font size of a field). There is a report on this at qacenter # 8446 cheers Fran?ois From jimaultwins at yahoo.com Tue Mar 2 12:17:32 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Tue, 2 Mar 2010 09:17:32 -0800 Subject: Trunc Error In-Reply-To: <17969D855F28964C88D177D45B6CDF11047885652E@IMCMBX2.MITRE.ORG> References: <17969D855F28964C88D177D45B6CDF11047885652E@IMCMBX2.MITRE.ORG> Message-ID: <97222CC7-3AA4-400D-832E-FDE5C053FAE8@yahoo.com> This has been covered extensively in the past 6 months and several solutions proposed, depending on your project requirements. go to http://search.gmane.org/?query=trunc&group=gmane.comp.ide.revolution.user put 'trunc' into the search for field then 'gmane.comp.ide.revolution.user' into the group field sort by 'newest' then search You will find many posts, some are directly related to using 'step' and its limitations. Jim Ault Las Vegas On Mar 2, 2010, at 8:33 AM, Schwartz, Jonathan L. wrote: > I just found the following result. > > (1.2 - 0.8)/0.2 = 2 > trunc( (1.2 - 0.8)/0.2) = 1 > > -- > I have previously reported the following: > > on mouseUp > repeat with n = 0 to 1 step 0.1 > put n&"," after aList > end repeat > put aList > end mouseUp > > returns: 0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1,1.1, > It should stop at 1 > > Also 0 to 0.8 step 0.1 stops at 0.9 ... there are others > > The use of the increment is consistent with the documentation. > > > Are there other similar problems that users are aware of ? > > When applied properly, these can produce false results and make > analysis using runRev questionable. > > > I have reported these in the Rev Quality Control Center. From andrew at rjdfarm.com Tue Mar 2 12:21:07 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 2 Mar 2010 09:21:07 -0800 (PST) Subject: Docking Stacks Message-ID: <1267550467761-1575334.post@n4.nabble.com> I searched around and haven't really found anything about interactions between multiple stacks similar to docking. The Problem: I have 4 stacks That I want to dock to the edges of each other (open on the edge, snap to the edge, etc). 1. Two of the stacks are menu stacks on either side of the larger main stack: One of these is used a menu to navigate the different aspects of the app. The other is used to display a report list depending on the selection in the menu stack. 2. A stack on the bottom to continually display help information. 3. The main stack is in the middle of all of this and the others need to snap/dock/open on the edge of this stack. [Menu stack][----MAIN STACK----][Reports Stack] [----------Help Stack---------------] Any ideas on how to start adding this functionality? -- View this message in context: http://n4.nabble.com/Docking-Stacks-tp1575334p1575334.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Tue Mar 2 12:23:07 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 2 Mar 2010 18:23:07 +0100 Subject: Custom tab controls In-Reply-To: <963c86eb1003020831x53b3b71fn282142dbf6e9f00b@mail.gmail.com> References: <963c86eb1003020831x53b3b71fn282142dbf6e9f00b@mail.gmail.com> Message-ID: <50A6E23B-12E5-407B-988A-1BEA64DA54CD@economy-x-talk.com> Jeff, Have a look in RevOnline. One of my stacks is tagged with "Custom Control". This stack provides an example of a custom tab control. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 2 mrt 2010, om 17:31 heeft Jeff Massung het volgende geschreven: > Anyone here (Jerry?) willing to provide some pointers on how they > ended up > creating their own custom tab controls? > > Jeff M. From Andre.Bisseret at inria.fr Tue Mar 2 12:39:02 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Tue, 2 Mar 2010 18:39:02 +0100 Subject: fonts: what is a "point" in Linux/Gnome? In-Reply-To: <13606A0C-6E84-4407-BF74-405D701FD272@mines-paristech.fr> References: <4B8C50C5.7090700@fourthworld.com> <1267515955.12189.9.camel@gyWork> <41E28565-835D-4177-A1E6-975952552357@inria.fr> <13606A0C-6E84-4407-BF74-405D701FD272@mines-paristech.fr> Message-ID: <990CB93D-3A57-40FB-B56C-F575422AC283@inria.fr> Le 2 mars 10 ? 18:15, Fran?ois Chaplais a ?crit : > > Le 2 mars 2010 ? 17:56, Andre.Bisseret a ?crit : > >>> I have read this thread on Apple mail, and at some point (pun >>> intended) I realized I could zoom and de-zoom the messages by >>> pinching or spreading my fingers on the touchpad, from the hardly >>> visible to waaay too enlarged. >>> Now, if rev could incorporate this *other* side of the spectrum... >>> But I guess this would imply switching to cocoa. >>> >>> Fran?ois >>> >> ---- >> Fran?ois, >> On Mac with the control key down, (either with the touchpad or the >> scroll wheel of the mouse), all what is on the screen in enlarged, >> including the rev stacks, isn'it? >> >> Amiti?s de Grenoble >> Andr? > > > It does not work on my latest MBP, snow 10.6.2. > Isn't that from the "universal access" system control panel? Ah! yes; I just caught a glance (first time I go there;-)) In "Pr?f?rences syst?me" / acc?s universel there is a pane "Vue" where it is possible to set the zoom > > To go further, and this has been mentioned in this list, trapping > multitouch gestures as messages would be handy (confider the future > revmobile platform). This should be available to all platforms. The > the stack could handle the message by itself (for instance enlarge > the font size of a field). > There is a report on this at qacenter # 8446 Thanks for the link cordialement Andr? > > cheers > Fran?ois From Andre.Bisseret at inria.fr Tue Mar 2 12:50:36 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Tue, 2 Mar 2010 18:50:36 +0100 Subject: Docking Stacks In-Reply-To: <1267550467761-1575334.post@n4.nabble.com> References: <1267550467761-1575334.post@n4.nabble.com> Message-ID: Bonjour Andrew, Have a look at "drawer" in the dictionary. If you are on mac, seems that could solve your problem. Unfortunately according to the doc, this command is not supported on Windows nor on Linux. Best regards from Grenoble Andr? Le 2 mars 10 ? 18:21, Andrew Kluthe a ?crit : > > I searched around and haven't really found anything about interactions > between multiple stacks similar to docking. > > The Problem: I have 4 stacks That I want to dock to the edges of > each other > (open on the edge, snap to the edge, etc). > > 1. Two of the stacks are menu stacks on either side of the larger main > stack: > > One of these is used a menu to navigate the different aspects of the > app. > The other is used to display a report list depending on the > selection in the > menu stack. > > 2. A stack on the bottom to continually display help information. > > 3. The main stack is in the middle of all of this and the others > need to > snap/dock/open on the edge of this stack. > > [Menu stack][----MAIN STACK----][Reports Stack] > [----------Help Stack---------------] > > > Any ideas on how to start adding this functionality? > > > -- > View this message in context: http://n4.nabble.com/Docking-Stacks-tp1575334p1575334.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From david.bovill at gmail.com Tue Mar 2 12:50:50 2010 From: david.bovill at gmail.com (David Bovill) Date: Tue, 2 Mar 2010 17:50:50 +0000 Subject: Datagrids and Google Spreadsheets In-Reply-To: <4CF3A731-5ACA-4416-AAFF-CF8F463AF431@mangomultimedia.com> References: <4CF3A731-5ACA-4416-AAFF-CF8F463AF431@mangomultimedia.com> Message-ID: On 1 March 2010 15:00, Trevor DeVore wrote: > On Feb 26, 2010, at 9:27 AM, David Bovill wrote: > > Trevor if you are listening - have you any scripts for extracting XML from >> datagrids that I could customise - I'm working with a version of your >> generic array to xml code - just wandering if you have any updates >> designed >> to work with data grids? >> > > The Data Grid is just storing an array so any generic array > XML converter > will work with the dgData property. > Yes - that makes sense web site wise - found it interesting to see how closely the data structures map to each other. I think I found a problem with xml nodes being named the way datagrid does (not sure) - google atom formatted xml data uses tags and an xml param to store the order - was finding myself dreaming they used the same... I guess for speed i would just clond the dgData handlers and modify them placing them on the dg groups script.... From richmondmathewson at gmail.com Tue Mar 2 12:56:39 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 02 Mar 2010 19:56:39 +0200 Subject: Docking Stacks In-Reply-To: <1267550467761-1575334.post@n4.nabble.com> References: <1267550467761-1575334.post@n4.nabble.com> Message-ID: <4B8D5157.60100@gmail.com> I made 2 stacks: A main stack called "MAINST", and a substack called "SUBBY" and put this into the stackScript of "MAINST" on moveStack put the right of me into RITE put the width of stack "SUBBY" into WIDD put (RITE + (WIDD/2)) into INN put item 2 of the loc of me into UPP set the LOC of stack "SUBBY" to INN,UPP end moveStack play with it: http://andregarzia.on-rev.com/richmond/STUFF/MAINST.rev.zip there is a bit of a lagtime. sincerely, Richmond Mathewson. From massung at gmail.com Tue Mar 2 13:05:09 2010 From: massung at gmail.com (Jeff Massung) Date: Tue, 2 Mar 2010 12:05:09 -0600 Subject: Docking Stacks In-Reply-To: <4B8D5157.60100@gmail.com> References: <1267550467761-1575334.post@n4.nabble.com> <4B8D5157.60100@gmail.com> Message-ID: <963c86eb1003021005l78bf553chb28453f3b5c3aeda@mail.gmail.com> Just a thought given other things I've experienced... That moveStack is likely getting executed twice an causing problems: once for the main stack and once for the substack (which doesn't override the moveStack handler and so it falls through to the main stack's script). You could either: * put the moveStack handler in the card of the main stack * override the moveStack handler in the sub stack * check the short name of me to ensure it's the main stack To get rid of the lag, you may be able to lock the screen and unlock the screen after the stack moving is complete. It depends on when moveStack is called (after or before the move is complete). Jeff M. On Tue, Mar 2, 2010 at 11:56 AM, Richmond Mathewson < richmondmathewson at gmail.com> wrote: > I made 2 stacks: > > A main stack called "MAINST", and > > a substack called "SUBBY" > > and put this into the stackScript of "MAINST" > > on moveStack > put the right of me into RITE > put the width of stack "SUBBY" into WIDD > put (RITE + (WIDD/2)) into INN > put item 2 of the loc of me into UPP > set the LOC of stack "SUBBY" to INN,UPP > end moveStack > > play with it: > > http://andregarzia.on-rev.com/richmond/STUFF/MAINST.rev.zip > > there is a bit of a lagtime. > > sincerely, Richmond Mathewson. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Tue Mar 2 13:05:01 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Mar 2010 12:05:01 -0600 Subject: Docking Stacks In-Reply-To: <1267550467761-1575334.post@n4.nabble.com> References: <1267550467761-1575334.post@n4.nabble.com> Message-ID: <4B8D534D.2070108@hyperactivesw.com> Andrew Kluthe wrote: > I searched around and haven't really found anything about interactions > between multiple stacks similar to docking. > > The Problem: I have 4 stacks That I want to dock to the edges of each other > (open on the edge, snap to the edge, etc). > > 1. Two of the stacks are menu stacks on either side of the larger main > stack: > > One of these is used a menu to navigate the different aspects of the app. > The other is used to display a report list depending on the selection in the > menu stack. > > 2. A stack on the bottom to continually display help information. > > 3. The main stack is in the middle of all of this and the others need to > snap/dock/open on the edge of this stack. > > [Menu stack][----MAIN STACK----][Reports Stack] > [----------Help Stack---------------] > > > Any ideas on how to start adding this functionality? > > Just set the correct side of one of the substacks to the correct side of the main stack. It's pretty easy: set the left of stack "reports stack" to the right of stack "main stack" set the right of stack "menu stack" to the left of stack "main stack" set the top of stack "help stack" to the bottom of stack "main stack" etc. If you want snapping behavior, handle the moveStack message and check if the two stack edges are within a certain distance of each other. If so, set the edges as per above to achieve a sudden "snap". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andrew at rjdfarm.com Tue Mar 2 13:11:22 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 2 Mar 2010 10:11:22 -0800 (PST) Subject: Docking Stacks In-Reply-To: <963c86eb1003021005l78bf553chb28453f3b5c3aeda@mail.gmail.com> References: <1267550467761-1575334.post@n4.nabble.com> <4B8D5157.60100@gmail.com> <963c86eb1003021005l78bf553chb28453f3b5c3aeda@mail.gmail.com> Message-ID: <1267553482083-1575436.post@n4.nabble.com> I definitely did not think it would be that easy. :) I already looked at the drawer functionality and realized it would be perfect, but I am developing for win32 :\. Thank you all for the wonderful suggestions! This is going to be my milemarker feature of the week. Something to make the boss go, "ooo" and remember why he pays me. Thanks, Andrew -- View this message in context: http://n4.nabble.com/Docking-Stacks-tp1575334p1575436.html Sent from the Revolution - User mailing list archive at Nabble.com. From jhurley0305 at sbcglobal.net Tue Mar 2 13:52:33 2010 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Tue, 2 Mar 2010 10:52:33 -0800 Subject: Docking Stacks In-Reply-To: <20100302180005.6F223288423@mail.runrev.com> References: <20100302180005.6F223288423@mail.runrev.com> Message-ID: <02DE6C71-961F-485D-849D-E9DB7AC4AAA5@sbcglobal.net> A minor variation on Jacque's suggestion. on mouseUp set the topleft of stack "theSecond" to the topright of stack "theFirst" end mouseUp See "A poor man's table field" in Rev Online for an example of the docking of multiple fields to form a table. Jim Hurley From scott at tactilemedia.com Tue Mar 2 13:56:35 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 02 Mar 2010 10:56:35 -0800 Subject: Docking Stacks In-Reply-To: <4B8D534D.2070108@hyperactivesw.com> Message-ID: > I searched around and haven't really found anything about interactions > between multiple stacks similar to docking. Speaking as someone who has tried to build docking stacks in the past, there is almost always a bit of lag between dragging one stack and having the rest follow, especially on slower systems. There is also the issue of stack layering (one stack moving above or behind the other) -- this is more forgiving when stacks have no shadows (Windows). And you'll need to make sure that the docked stacks are "aware" of who is docked to who and who should be moved when any docked stack is dragged. Shao Sean has an external that is said to allow group dragging of stacks, but last I heard this is only for Mac. The most surefire way to make stacks dock is probably to copy the contents of a docked stack to the main stack when stacks are docked, so in reality there is only one stack present. But obviously it takes a lot of planning up front to make sure the contents of all your dockable stacks can be easily copied from stack to another. There is one of those cases where a "view" object (stack within a stack) would be immensely useful. Regards, Scott Rossi Creative Director Tactile Media, UX Design From andrew at rjdfarm.com Tue Mar 2 13:58:34 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 2 Mar 2010 10:58:34 -0800 (PST) Subject: Scripting systemWindow Message-ID: <1267556314825-1575500.post@n4.nabble.com> on mouseUp try if sSystemWindow is 0 then set the systemWindow of this stack to true put 1 into sSystemWindow else set the systemWindow of this stack to false put 0 into sSystemWindow end if catch e answer e end try end mouseUp I have this little guy to allow me to pin a stack on top of everything. It won't work, it seems like it throws an error because it brings tRev up to this chunk of code; however, I cannot get this error to display at all. I searched through the forums and found that someone else had tried almost the exact same code I did, but on MAC and got a bug. This was in 2006, so surely we can script systemWindow in windows 7 now. anyone else have trouble with this or have another snippet for pinning stacks on top? Thanks! Andrew -- View this message in context: http://n4.nabble.com/Scripting-systemWindow-tp1575500p1575500.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Tue Mar 2 14:13:34 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 2 Mar 2010 20:13:34 +0100 Subject: Scripting systemWindow In-Reply-To: <1267556314825-1575500.post@n4.nabble.com> References: <1267556314825-1575500.post@n4.nabble.com> Message-ID: Hi Andrew, What have you found where in the forums? Do you have a link? One possibility here is that the stack that "this stack" refers to changes when the systemWindow property is set. Is the button with your script part of the stack that becomes a system window? It is possible that there is a bug in the debugger, which prevents the answer dialog from showing up. Try writing a header plus the error data to a file. Once you have the error message, you can parse it at http://runrev.info/error.html -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 2 mrt 2010, om 19:58 heeft Andrew Kluthe het volgende geschreven: > > on mouseUp > try > if sSystemWindow is 0 then > set the systemWindow of this stack to true > put 1 into sSystemWindow > else > set the systemWindow of this stack to false > put 0 into sSystemWindow > end if > catch e > answer e > end try > end mouseUp > > I have this little guy to allow me to pin a stack on top of > everything. > > It won't work, it seems like it throws an error because it brings > tRev up to > this chunk of code; however, I cannot get this error to display at > all. I > searched through the forums and found that someone else had tried > almost the > exact same code I did, but on MAC and got a bug. This was in 2006, > so surely > we can script systemWindow in windows 7 now. > > anyone else have trouble with this or have another snippet for pinning > stacks on top? > > > Thanks! > Andrew > From runrev260805 at m-r-d.de Tue Mar 2 14:12:49 2010 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Tue, 2 Mar 2010 19:12:49 +0000 Subject: sending data to a printer over v.24 rs232 interface to a printer under windows Message-ID: <00000E17.4B8D713F@matthias.is-a-guru.com> Hi, today i got a call from a customer. He is using a special (programmable) keyboard, which is connected via v.24 interface directly to a barcode printer. the keyboard runs a 12 line basic program, which waits for an input from the keybord. This input then is sent with severeal controlcodes via V.24 to the printer. Now the keyboard is broken and it takes about 12 weeks before the new one arrives here. So my question is, how complicated is it to write some code in rev to communicate with the V.24 interface to sent the data from the rev app? Is there anyone on the list, who has done something similar? Regards, Matthias From zryip.theslug at gmail.com Tue Mar 2 14:35:15 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 2 Mar 2010 20:35:15 +0100 Subject: [ANN] The Slug's Color Picker is now on the road for beta test In-Reply-To: References: <64bda6471002221627w40a2c531p2f59f1a996258d88@mail.gmail.com> <64bda6471003011231p238b7527s7ef0fec6975ab7bf@mail.gmail.com> <64bda6471003011627u39e9ffacl9948298d7caf91a5@mail.gmail.com> Message-ID: <64bda6471003021135m1100ca8dy1e78e9e6f9aa2518@mail.gmail.com> Hi Andr? and Ren?, 2010/3/2 Andre.Bisseret : > Thank you Zryip :-) I tried it; when dragging the tools palette it's putting > back docilely ;-) You're welcome 8-) > But seems that Color Picker keeps staying in front so that it is not > possible to get the properties of another stack in the inspector? > (not possible to name a new stack for example). Might be I am missing > something? Right, it's because, for the moment, the Picker is sent constantly to front, otherwise it returns behind the tools palette and is covered by its shadow effect. Not thought to that, it's a bug. I must doing things differently to be more accurate in how the Picker must be sent to front. Thanks for your observation ;) > I was wondering if "drawer at bottom"? could do the trick (but the doc says > that it works on Mac only :-( I forget to precise that the picker works on the two platforms. I'll do my best to fix the problem by other ways ;) 2010/3/2 Ren? Micout : > Slug, > Yes, yes, yes for the new version ! Thanks Ren? 8-) > But how can I stop using Color Picker ? You can't... for now. In a first time I will probably close it in the same time that the tools palette and add a contextual menu to close it. Thanks again for your feedbacks Andr? and Ren? 8-) Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From andrew at rjdfarm.com Tue Mar 2 14:53:18 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 2 Mar 2010 11:53:18 -0800 (PST) Subject: Scripting systemWindow In-Reply-To: References: <1267556314825-1575500.post@n4.nabble.com> Message-ID: <1267559598691-1575588.post@n4.nabble.com> Post I found: http://n4.nabble.com/systemWindow-question-td300545.html#a300545 Yes, the button belongs to the stack that is executing it. I had originally given it the path to the stack with the same results. And, I am kind a noob to rev here. Can you elaborate on the process to do what you request? Also, I will try it with the regular Rev editor later instead of tRev to see if I get a different message or response. Thanks, Andrew -- View this message in context: http://n4.nabble.com/Scripting-systemWindow-tp1575500p1575588.html Sent from the Revolution - User mailing list archive at Nabble.com. From andrew at rjdfarm.com Tue Mar 2 14:58:16 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 2 Mar 2010 11:58:16 -0800 (PST) Subject: Scripting systemWindow In-Reply-To: <1267559598691-1575588.post@n4.nabble.com> References: <1267556314825-1575500.post@n4.nabble.com> <1267559598691-1575588.post@n4.nabble.com> Message-ID: <1267559896997-1575596.post@n4.nabble.com> I figured out what you meant, and no error message is being output and the script editor is not doing anything now. However, the above statement has no effect on the systemWindow property of the stack. -- View this message in context: http://n4.nabble.com/Scripting-systemWindow-tp1575500p1575596.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Tue Mar 2 15:05:01 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Mar 2010 14:05:01 -0600 Subject: Scripting systemWindow In-Reply-To: <1267559598691-1575588.post@n4.nabble.com> References: <1267556314825-1575500.post@n4.nabble.com> <1267559598691-1575588.post@n4.nabble.com> Message-ID: <4B8D6F6D.1000405@hyperactivesw.com> Andrew Kluthe wrote: > Post I found: > http://n4.nabble.com/systemWindow-question-td300545.html#a300545 I just tried it and it works fine here, on both Mac OS X and Windows XP. I used this: on mouseUp set the systemwindow of this stack to not the systemwindow of this stack end mouseUp On Windows the window dims if it isn't in focus but it still floats. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Ray at LinkIt.Com Tue Mar 2 18:19:26 2010 From: Ray at LinkIt.Com (Ray Horsley) Date: Tue, 2 Mar 2010 15:19:26 -0800 Subject: RevBrowserPrint In-Reply-To: <8002E814-0F7E-404E-9445-02C5BD2C6431@LinkIt.Com> References: <5335168E-7D88-420D-B535-5FF287802BBD@LinkIt.Com> <8B16D831-25A3-4A94-B7F0-95C767EC4174@economy-x-talk.com> <98B34F17-1759-4F88-BAF8-11F3C06A4729@LinkIt.Com> <7c87a2a11002221453p1d92b469i16f3207d16120e9b@mail.gmail.com> <5BD27B8A-0DBB-4B2B-8AE2-EA84BBC13175@LinkIt.Com> <2F373660-BFA4-4626-97FE-BF4A00310A77@yahoo.com> <4BFF2482-25B3-47C7-8011-58A50A6DEAE6@lacscentre.co.uk> <55B9266F-D277-4C56-BE68-B0536C55DBFE@twft.com> <8002E814-0F7E-404E-9445-02C5BD2C6431@LinkIt.Com> Message-ID: <25ECD733-B4D2-433B-BA6D-458A667B2BE6@LinkIt.Com> Anyone have any experience working with this command? I'd like to suppress the print dialog if possible, and if that's not possible then it's important to know whether the user completed or dismissed the print dialog. I'm not getting anything returned in the result which would indicate what the user did with the print dialog window (which seems unavoidable). Thanks, Ray Horsley LinkIt! Software From andrew at rjdfarm.com Tue Mar 2 15:27:01 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 2 Mar 2010 12:27:01 -0800 (PST) Subject: Scripting systemWindow In-Reply-To: <4B8D6F6D.1000405@hyperactivesw.com> References: <1267556314825-1575500.post@n4.nabble.com> <1267559598691-1575588.post@n4.nabble.com> <4B8D6F6D.1000405@hyperactivesw.com> Message-ID: <1267561621093-1575655.post@n4.nabble.com> J. Landman Gay's snippet works. How is it so different pragmatically from what I did? Hmm weird. Thanks! -- View this message in context: http://n4.nabble.com/Scripting-systemWindow-tp1575500p1575655.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Tue Mar 2 15:42:39 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 2 Mar 2010 12:42:39 -0800 Subject: Scripting systemWindow In-Reply-To: <1267561621093-1575655.post@n4.nabble.com> References: <1267556314825-1575500.post@n4.nabble.com> <1267559598691-1575588.post@n4.nabble.com> <4B8D6F6D.1000405@hyperactivesw.com> <1267561621093-1575655.post@n4.nabble.com> Message-ID: <458781EC-7EF3-4788-8211-2F447D783B4C@twft.com> I looked at your script. I am not sure what sSystemWindow is. But using "NOT" to toggle a logical value is really what you are looking for. Bob On Mar 2, 2010, at 12:27 PM, Andrew Kluthe wrote: > > J. Landman Gay's snippet works. How is it so different pragmatically from > what I did? Hmm weird. > > Thanks! > -- > View this message in context: http://n4.nabble.com/Scripting-systemWindow-tp1575500p1575655.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Tue Mar 2 15:45:04 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 2 Mar 2010 21:45:04 +0100 Subject: Scripting systemWindow In-Reply-To: <1267561621093-1575655.post@n4.nabble.com> References: <1267556314825-1575500.post@n4.nabble.com> <1267559598691-1575588.post@n4.nabble.com> <4B8D6F6D.1000405@hyperactivesw.com> <1267561621093-1575655.post@n4.nabble.com> Message-ID: <0C5E4CC0-C341-47DA-8EB6-2B0D9E7E2E57@economy-x-talk.com> Hi Andrew, Just a wild guess, did you perhaps forget to make sSystemWindow a local or global variable? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 2 mrt 2010, om 21:27 heeft Andrew Kluthe het volgende geschreven: > > J. Landman Gay's snippet works. How is it so different pragmatically > from > what I did? Hmm weird. > > Thanks! From andrew at rjdfarm.com Tue Mar 2 16:00:30 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 2 Mar 2010 13:00:30 -0800 (PST) Subject: Scripting systemWindow In-Reply-To: <0C5E4CC0-C341-47DA-8EB6-2B0D9E7E2E57@economy-x-talk.com> References: <1267556314825-1575500.post@n4.nabble.com> <1267559598691-1575588.post@n4.nabble.com> <4B8D6F6D.1000405@hyperactivesw.com> <1267561621093-1575655.post@n4.nabble.com> <0C5E4CC0-C341-47DA-8EB6-2B0D9E7E2E57@economy-x-talk.com> Message-ID: <1267563630757-1575708.post@n4.nabble.com> :-P doh, that explains why after fixing it, the button would always toggle false. -- View this message in context: http://n4.nabble.com/Scripting-systemWindow-tp1575500p1575708.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Tue Mar 2 16:12:56 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 2 Mar 2010 13:12:56 -0800 Subject: Scripting systemWindow In-Reply-To: <1267563630757-1575708.post@n4.nabble.com> References: <1267556314825-1575500.post@n4.nabble.com> <1267559598691-1575588.post@n4.nabble.com> <4B8D6F6D.1000405@hyperactivesw.com> <1267561621093-1575655.post@n4.nabble.com> <0C5E4CC0-C341-47DA-8EB6-2B0D9E7E2E57@economy-x-talk.com> <1267563630757-1575708.post@n4.nabble.com> Message-ID: <890502E3-E10E-4803-B1EC-26D2151BC74D@twft.com> Heh heh. Been there, done that. I think that's why setting the property to *NOT* the property is a better way to go. Less moving parts. I think of properties as variables that remain persistent and are global by nature. Obviously they are a different kind of animal, as anyone on this list will be quick to point out, but from a programmatical point of view it serves me well. One other advantage to accessing a property directly is I can tell any time I want what is in the property. With Variables, I have to be running a script, either in a script or in the message box. That bit of wisdom and $2.40 will get you a venti brew with 5 shots of your favorite syrup at your local Starbucks. Bob On Mar 2, 2010, at 1:00 PM, Andrew Kluthe wrote: > > :-P > > doh, that explains why after fixing it, the button would always toggle > false. > -- > View this message in context: http://n4.nabble.com/Scripting-systemWindow-tp1575500p1575708.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From capellan2000 at gmail.com Tue Mar 2 16:30:15 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 2 Mar 2010 13:30:15 -0800 (PST) Subject: Custom tab controls In-Reply-To: <963c86eb1003020831x53b3b71fn282142dbf6e9f00b@mail.gmail.com> References: <963c86eb1003020831x53b3b71fn282142dbf6e9f00b@mail.gmail.com> Message-ID: <1267565415643-1575756.post@n4.nabble.com> Hi Jeff, Download the stack (only 3k) from my webpage: http://capellan2000.000space.com/Tabbed_interfacev01.zip This website 000space does not allow hotlinking, so if clicking the previous link produces an error, then 1) visit my site at: http://capellan2000.000space.com and after my page load, 2) paste the link and download the file: http://capellan2000.000space.com/Tabbed_interfacev01.zip In Oct 29, 2005; 08:02pm, i wrote the following about this stack: [ANN] Tabbed interface v01 Hi developers, Download this version 01 of a tabbed interface for stacks with many cards. Yesterday, i started this stack and think could be an interesting starting point if you need to create a tabbed interface. This stack could be a lot more polished, but i'm posting it today with the hope that it picked the curiosity of many developers and newbies to start exploring, experimenting and publishing better tabbed interfaces for all RR/MC/DC developers! :D Usage: When you click in a button in the navigation bar, you go to the card named in the button. Each time you create a new card, a button with the name of the card is added automatically to the top row and get a lighter backcolor (think of this as a hilite). Each time you delete a card, his button is deleted automatically and the button of the top card get hilited. Click the buttons named "Create Card" and "Delete this Card" to see this action. If you select text in the main field, you could get a contextual menu by clicking with the third mouse button. >From this contextual menu, you could create a new card too. :D Keep us posted in this mail list about any enhancement that you could made to the graphics and the code of this stack. al -- View this message in context: http://n4.nabble.com/Custom-tab-controls-tp1575259p1575756.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Tue Mar 2 16:31:28 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 2 Mar 2010 13:31:28 -0800 Subject: Custom tab controls In-Reply-To: <1267565415643-1575756.post@n4.nabble.com> References: <963c86eb1003020831x53b3b71fn282142dbf6e9f00b@mail.gmail.com> <1267565415643-1575756.post@n4.nabble.com> Message-ID: <4AB204A7-1FA4-406E-A8E2-9A1D957E1C97@twft.com> piqued On Mar 2, 2010, at 1:30 PM, Alejandro Tejada wrote: > picked From bobs at twft.com Tue Mar 2 16:38:10 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 2 Mar 2010 13:38:10 -0800 Subject: Custom tab controls In-Reply-To: <1267565415643-1575756.post@n4.nabble.com> References: <963c86eb1003020831x53b3b71fn282142dbf6e9f00b@mail.gmail.com> <1267565415643-1575756.post@n4.nabble.com> Message-ID: <1607566F-1421-4A8A-9DEF-C4BBC211C01B@twft.com> How odd. This showed up with a .mc extension, and opened in something called TestAETE, and worked! When I changed the extension to .rev, it opened in Revolution and worked there too! What in the world is TestAETE? It was in my Revcon Downloads folder. Bob On Mar 2, 2010, at 1:30 PM, Alejandro Tejada wrote: > > Hi Jeff, > > Download the stack (only 3k) from my webpage: > http://capellan2000.000space.com/Tabbed_interfacev01.zip > > This website 000space does not allow hotlinking, so if > clicking the previous link produces an error, > then > 1) visit my site at: http://capellan2000.000space.com > and after my page load, > 2) paste the link and download the file: > http://capellan2000.000space.com/Tabbed_interfacev01.zip > > In Oct 29, 2005; 08:02pm, i wrote the following about this stack: > > [ANN] Tabbed interface v01 > > Hi developers, > > Download this version 01 of a tabbed interface > for stacks with many cards. > > Yesterday, i started this stack and think could be > an interesting starting point if you need to create > a tabbed interface. > > This stack could be a lot more polished, > but i'm posting it today with the hope that it > picked the curiosity of many developers and newbies > to start exploring, experimenting and publishing > better tabbed interfaces for all RR/MC/DC developers! > :D > > Usage: > > When you click in a button in the navigation > bar, you go to the card named in the button. > > Each time you create a new card, a button > with the name of the card is added automatically > to the top row and get a lighter backcolor > (think of this as a hilite). > > Each time you delete a card, his button > is deleted automatically and the button of > the top card get hilited. > > Click the buttons named "Create Card" and > "Delete this Card" to see this action. > > If you select text in the main field, > you could get a contextual menu by clicking > with the third mouse button. > >> From this contextual menu, you could create > a new card too. :D > > Keep us posted in this mail list about any > enhancement that you could made to the > graphics and the code of this stack. > > al > -- > View this message in context: http://n4.nabble.com/Custom-tab-controls-tp1575259p1575756.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From capellan2000 at gmail.com Tue Mar 2 16:43:19 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 2 Mar 2010 13:43:19 -0800 (PST) Subject: Docking Stacks In-Reply-To: <1267550467761-1575334.post@n4.nabble.com> References: <1267550467761-1575334.post@n4.nabble.com> Message-ID: <1267566199647-1575781.post@n4.nabble.com> Hi Andrew, Chipp Walter published a palette that works like your description: http://www.altuit.com/webs/altuit2/altPluginCover/fontcolor=redDownloadPluginsfont.htm I am sure that Chipp published a stack with the specific code that you look for, but could not find the exact name, right now. Probably someone else have this stack in their hard disk and could post the exact name. Alejandro -- View this message in context: http://n4.nabble.com/Docking-Stacks-tp1575334p1575781.html Sent from the Revolution - User mailing list archive at Nabble.com. From zryip.theslug at gmail.com Tue Mar 2 17:32:27 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 2 Mar 2010 23:32:27 +0100 Subject: Docking Stacks In-Reply-To: <1267550467761-1575334.post@n4.nabble.com> References: <1267550467761-1575334.post@n4.nabble.com> Message-ID: <64bda6471003021432uabf0f57v4f2c410a6c66af01@mail.gmail.com> 2010/3/2 Andrew Kluthe : > > I searched around and haven't really found anything about interactions > between multiple stacks similar to docking. > > The Problem: I have 4 stacks That I want to dock to the edges of each other > (open on the edge, snap to the edge, etc). > > 1. Two of the stacks are menu stacks on either side of the larger main > stack: > > One of these is used a menu to navigate the different aspects of the app. > The other is used to display a report list depending on the selection in the > menu stack. > > 2. A stack on the bottom to continually display help information. > > 3. The main stack is in the middle of all of this and the others need to > snap/dock/open on the edge of this stack. > > [Menu stack][----MAIN STACK----][Reports Stack] > [----------Help Stack---------------] > > > Any ideas on how to start adding this functionality? > > Hi Andrew, In my color picker projects I'm using a send message in time form to "dock" the picker at the bottom of the RR tools palette on preopenCard scanForRevToolsEvent end preopenCard constant kRevToolsPalette = "RevTools" command scanForRevToolsEvent pToolsRect, pVisibility, pMode, pTool local tTheCurrenctRect, tTheCurrentVisibility, tCurrentMode, tCurrentTool put the rect of stack kRevToolsPalette into tTheCurrenctRect put the visible of stack kRevToolsPalette into tTheCurrentVisibility put the mode of stack kRevToolsPalette into tCurrentMode put the tool into tCurrentTool if (there is no stack "pickerDragControl") then switch case (tTheCurrenctRect is not pToolsRect) -- The tool palette change of rect or loc set the topLeft of this stack to the bottomLeft of stack kRevToolsPalette go to this stack break case (tTheCurrentVisibility is not pVisibility) -- The visibility of the tool palette has changed set the visible of this stack to tTheCurrentVisibility break case (tCurrentMode is not pMode) -- The tools palette has been closed or opened set the visible of this stack to (pMode is 0) break case (tCurrentTool is not pTool) -- the tool has changed go to this stack break end switch end if send "scanForRevToolsEvent tTheCurrenctRect,tTheCurrentVisibility,tCurrentMode,tCurrentTool" to me in 100 milliseconds end scanForRevToolsEvent In case of some of this code could be useful for you. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From zryip.theslug at gmail.com Tue Mar 2 17:46:00 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 2 Mar 2010 23:46:00 +0100 Subject: [ANN] The Slug's Color Picker is now on the road for beta test In-Reply-To: <64bda6471003021135m1100ca8dy1e78e9e6f9aa2518@mail.gmail.com> References: <64bda6471002221627w40a2c531p2f59f1a996258d88@mail.gmail.com> <64bda6471003011231p238b7527s7ef0fec6975ab7bf@mail.gmail.com> <64bda6471003011627u39e9ffacl9948298d7caf91a5@mail.gmail.com> <64bda6471003021135m1100ca8dy1e78e9e6f9aa2518@mail.gmail.com> Message-ID: <64bda6471003021446q6190563cva520aee0ad7385c5@mail.gmail.com> 2010/3/2 zryip theSlug : The beta version 0.1e is available on my website. The picker not only follow the move of the tool palette, it also follow it's visible state. I improved the code to send the picker to front in a few case linked directly to the state of the tool palette, so it could prevent the problem described by Andr?. To Ren? : I added a contextual menu to close the picker. I hope that this new version will please you ;) Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From andre at rombauts.be Tue Mar 2 18:28:22 2010 From: andre at rombauts.be (Andre Rombauts) Date: Wed, 3 Mar 2010 00:28:22 +0100 Subject: XML-RPC doc Message-ID: <20100302232822.513617621@relay.skynet.be> Hello there... I don't find much info on XML-RPC usage in RunRev. What could you advise for a start...? Thanks in advance, -- Andr? Rombauts, andre at rombauts.be Envoy? par Powermail 6.0.3 Build 4609 From mwieder at ahsoftware.net Tue Mar 2 19:23:03 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 2 Mar 2010 16:23:03 -0800 Subject: XML-RPC doc In-Reply-To: <20100302232822.513617621@relay.skynet.be> References: <20100302232822.513617621@relay.skynet.be> Message-ID: <113104909343.20100302162303@ahsoftware.net> Andre- Tuesday, March 2, 2010, 3:28:22 PM, you wrote: > I don't find much info on XML-RPC usage in RunRev. What could you advise > for a start...? Check out my libSOAP library on revOnline... that should give you something to start with. -- -Mark Wieder mwieder at ahsoftware.net From sarah.reichelt at gmail.com Tue Mar 2 19:32:30 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 3 Mar 2010 10:32:30 +1000 Subject: sending data to a printer over v.24 rs232 interface to a printer under windows In-Reply-To: <00000E17.4B8D713F@matthias.is-a-guru.com> References: <00000E17.4B8D713F@matthias.is-a-guru.com> Message-ID: > today i got a call from a customer. He is using a special (programmable) keyboard, which is connected via v.24 interface directly to a barcode printer. the keyboard runs a 12 line basic program, which waits for an input from the keybord. This input then is sent with severeal controlcodes via V.24 to the printer. Now the keyboard is broken and ?it takes about 12 weeks before the new one arrives here. > > So my question is, how complicated is it to write some code in rev to communicate with the V.24 interface to sent the data from the rev app? If you can know the control codes and can connect to the printer using a serial interface, then you can configure the serial port, open it and send commands. Check out my serial test stack for some ideas on getting started: . HTH, Sarah From sarah.reichelt at gmail.com Tue Mar 2 19:42:28 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 3 Mar 2010 10:42:28 +1000 Subject: OT: Good books on Cocoa dev? (spellcheck woes) In-Reply-To: <82787BF6-E638-46A4-A28F-28FAEB7CBC41@azurevision.co.uk> References: <82787BF6-E638-46A4-A28F-28FAEB7CBC41@azurevision.co.uk> Message-ID: On Wed, Mar 3, 2010 at 2:45 AM, Ian Wood wrote: > I've got an app coming up which is Mac-only and will involve a lot of text > entry where spell checking is critical (photographer's metadata entry) - no > matter which way I look at it the various spellchecking workarounds/stacks > for Rev just won't cut it as there's no way to make them look native enough > and keep good performance. although I'd love to be proved wrong on that... I found a good sequence of books when teaching myself iPhone programming, so here it is: If you don't know any C, then start with Learn C on the Mac . Although some of the later stuff is not really relevant to Objective-C, you need to know the basics of the syntax. If you already know some C, then go to Learn Objective-C on the Mac . After that, I went to Beginning iPhone Development but the Mac equivalent is Learn Cocoa on the Mac . HTH, Sarah From bvlahos at mac.com Tue Mar 2 19:46:03 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 02 Mar 2010 16:46:03 -0800 Subject: Can't send click in time Message-ID: <3F3DF38D-5375-46C8-BAD9-BD9B7D3C9B1D@mac.com> I can "send a mouseUp to button "A" in 1 milliseconds" but "send click at loc of button "A" in 1 millisecond" generates an error in the IDE. How can I send a click in time? Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. From scott at tactilemedia.com Tue Mar 2 19:53:13 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 02 Mar 2010 16:53:13 -0800 Subject: Can't send click in time In-Reply-To: <3F3DF38D-5375-46C8-BAD9-BD9B7D3C9B1D@mac.com> Message-ID: Recently, Bill Vlahos wrote: > I can "send a mouseUp to button "A" in 1 milliseconds" but "send click at loc > of button "A" in 1 millisecond" generates an error in the IDE. > > How can I send a click in time? Here's one way: on mouseUp send "clickButton" to me in 1 millisecs end mouseUp on clickButton click at loc of btn "A" end clickButton Regards, Scott Rossi Creative Director Tactile Media, UX Design From andre at andregarzia.com Tue Mar 2 19:56:41 2010 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 2 Mar 2010 21:56:41 -0300 Subject: XML-RPC doc In-Reply-To: <113104909343.20100302162303@ahsoftware.net> References: <20100302232822.513617621@relay.skynet.be> <113104909343.20100302162303@ahsoftware.net> Message-ID: <7c87a2a11003021656h66ddeb45ue17b87b818fff02c@mail.gmail.com> Andre I have some code for XML-RPC, do you want a client or a server? cheers On Tue, Mar 2, 2010 at 9:23 PM, Mark Wieder wrote: > Andre- > > Tuesday, March 2, 2010, 3:28:22 PM, you wrote: > > > I don't find much info on XML-RPC usage in RunRev. What could you advise > > for a start...? > > Check out my libSOAP library on revOnline... that should give you > something to start with. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From nealk3nc at gmail.com Tue Mar 2 20:05:24 2010 From: nealk3nc at gmail.com (Neal Campbell) Date: Tue, 2 Mar 2010 20:05:24 -0500 Subject: OT: Good books on Cocoa dev? (spellcheck woes) In-Reply-To: References: <82787BF6-E638-46A4-A28F-28FAEB7CBC41@azurevision.co.uk> Message-ID: <325413301003021705i63268dd7nb62fce67f356f4a4@mail.gmail.com> Strongly recommend Beginning Mac Programming in Cocoa http://www.pragprog.com/titles/tibmac/beginning-mac-programming. The Pragmatic Programmer publishing house hasn't done a bad book (so far)! Best regards Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com (540) 645 5394 NEW PHONE NUMBER Amateur Radio: K3NC Blog: http://www.abrohamnealsoftware.com/blog/ DXBase bug reports: email to cases at dxbase.fogbugz.com Abroham Neal forums: http:/www.abrohamnealsoftware.com/community/ On Tue, Mar 2, 2010 at 7:42 PM, Sarah Reichelt wrote: > On Wed, Mar 3, 2010 at 2:45 AM, Ian Wood > wrote: > > I've got an app coming up which is Mac-only and will involve a lot of > text > > entry where spell checking is critical (photographer's metadata entry) - > no > > matter which way I look at it the various spellchecking > workarounds/stacks > > for Rev just won't cut it as there's no way to make them look native > enough > > and keep good performance. although I'd love to be proved wrong on > that... > > > I found a good sequence of books when teaching myself iPhone > programming, so here it is: > > If you don't know any C, then start with Learn C on the Mac > . > Although some of the later stuff is not really relevant to > Objective-C, you need to know the basics of the syntax. > > If you already know some C, then go to Learn Objective-C on the Mac > . > > After that, I went to Beginning iPhone Development > > but the Mac equivalent is Learn Cocoa on the Mac > . > > HTH, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bvlahos at mac.com Tue Mar 2 20:13:13 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 02 Mar 2010 17:13:13 -0800 Subject: Can't send click in time In-Reply-To: References: Message-ID: <40221C3D-30FA-40AA-A394-81E633A5E49F@mac.com> Perfect. Thanks Scott. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Mar 2, 2010, at 4:53 PM, Scott Rossi wrote: > Recently, Bill Vlahos wrote: > >> I can "send a mouseUp to button "A" in 1 milliseconds" but "send click at loc >> of button "A" in 1 millisecond" generates an error in the IDE. >> >> How can I send a click in time? > > Here's one way: > > on mouseUp > send "clickButton" to me in 1 millisecs > end mouseUp > > on clickButton > click at loc of btn "A" > end clickButton > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From davidocoker at gmail.com Tue Mar 2 20:23:18 2010 From: davidocoker at gmail.com (David Coker) Date: Tue, 2 Mar 2010 19:23:18 -0600 Subject: parsing data returned from "the foundLine" Message-ID: Hello folks, I have a small 3 column list (tab delimited) where I need to check the contents for duplicate data that may be found in any of two fields or columns, then act on the line that contains that data if found. As an example, in my handler I'm using: find "ABC-5678-A" in tData put the foundLine into tLineFound answer tLineFound which correctly returns something like: "line 2 of field 2" I've tried -several- different ways to parse the returned data for additional processing, but have yet to come up with the right solution. I know this must be extremely easy to do in Rev (there always is, it seems like), but I've run out of hair to pull in trying to figure out what I'm overlooking. Any ideas or maybe a better approach that can be recommended? Best regards, David C. From jim at d-film.com Tue Mar 2 22:08:54 2010 From: jim at d-film.com (Jim Kanter) Date: Tue, 2 Mar 2010 22:08:54 -0500 Subject: OT: Good books on Cocoa dev? (spellcheck woes) In-Reply-To: <325413301003021705i63268dd7nb62fce67f356f4a4@mail.gmail.com> References: <82787BF6-E638-46A4-A28F-28FAEB7CBC41@azurevision.co.uk> <325413301003021705i63268dd7nb62fce67f356f4a4@mail.gmail.com> Message-ID: Aaron Hillegass' book is good: More info at his Big Nerd Ranch website: http://www.bignerdranch.com Jim On Tue, Mar 2, 2010 at 8:05 PM, Neal Campbell wrote: > Strongly recommend Beginning Mac Programming in Cocoa > http://www.pragprog.com/titles/tibmac/beginning-mac-programming. The > Pragmatic Programmer publishing house hasn't done a bad book (so far)! From runrevplanet at smpcs.server101.com Tue Mar 2 23:00:14 2010 From: runrevplanet at smpcs.server101.com (Scott McDonald) Date: Tue, 2 Mar 2010 20:00:14 -0800 (PST) Subject: OT: Good books on Cocoa dev? (spellcheck woes) In-Reply-To: <82787BF6-E638-46A4-A28F-28FAEB7CBC41@azurevision.co.uk> References: <82787BF6-E638-46A4-A28F-28FAEB7CBC41@azurevision.co.uk> Message-ID: <1267588814051-1576027.post@n4.nabble.com> Ian, The look of the spell check dialogue in the RunRevPlanet SpellCheck Stack is completely "skinnable" so it may be simpler (and much quicker) to make it look the way you need for your Mac application without learning Cocoa. In terms of performance, RRP SpellCheck is fast, with over 25,000 words per second a typical speed for a check. If the RunRevPlanet SpellCheck Stack doesn't currently meet your needs, any specific feedback is most welcome, as I work hard to make stacks from RunRevPlanet do what Revolution users need. Scott. www.runrevplanet.com -- View this message in context: http://n4.nabble.com/OT-Good-books-on-Cocoa-dev-spellcheck-woes-tp1575279p1576027.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Tue Mar 2 23:27:50 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Mar 2010 22:27:50 -0600 Subject: parsing data returned from "the foundLine" In-Reply-To: References: Message-ID: <4B8DE546.3000901@hyperactivesw.com> David Coker wrote: > Hello folks, > I have a small 3 column list (tab delimited) where I need to check the > contents for duplicate data that may be found in any of two fields or > columns, then act on the line that contains that data if found. As an > example, in my handler I'm using: > > find "ABC-5678-A" in tData > put the foundLine into tLineFound > answer tLineFound > > which correctly returns something like: > "line 2 of field 2" > > I've tried -several- different ways to parse the returned data for > additional processing, but have yet to come up with the right > solution. I know this must be extremely easy to do in Rev (there > always is, it seems like), but I've run out of hair to pull in trying > to figure out what I'm overlooking. > > Any ideas or maybe a better approach that can be recommended? Try: get the value of the foundline -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Tue Mar 2 23:43:59 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 02 Mar 2010 20:43:59 -0800 Subject: File Associations? In-Reply-To: Message-ID: I'm still trying to get Windows file associations on Vista worked out over here and am looking for suggestions. I've set up registry entries based on Ken Ray's tips: and everything appears to in place. But documents created by my app continue to show up as generic icons. Double-clicking them brings up the "What program do you want to use to open...?" dialog and my app is listed there, but I can't get Vista to properly display the document icon contained in the standalone. Also, I don't understand how to implement the following so that double-clicked documents open my app: on openStack put $0 into theAppPath put $1 into theDocToOpen -- stuff here to launch the doc in my app? end openStack Currently double-clicking my documents launches multiple instances of my app. I'm using a splash/data stack app setup, and I've tried to pass the doc name to an Open File menu routine. Does the above need to go in the splash standalone, or can it go in card script of my data stack? Am I right in passing the doc name to my Open File handler? Do I need to do something else? Thanks for any advice... Regards, Scott Rossi Creative Director Tactile Media, UX Design From scott at elementarysoftware.com Wed Mar 3 01:28:01 2010 From: scott at elementarysoftware.com (Scott Morrow) Date: Tue, 2 Mar 2010 22:28:01 -0800 Subject: File Associations? In-Reply-To: References: Message-ID: <3A31C9EE-0976-4853-8B6C-D77F0DCEB664@elementarysoftware.com> Are you trying to set the registry under Vista without administrative privileges? (If UAC is enabled, and it is by default, then even if you are the primary admin user of the system you won't have sufficient privileges to set the registry. If you are testing this from the IDE, before launching, right click Rev and choose to "Run as administrator") If this isn't the trouble then I would be happy to send you code that I'm using in an application, though I struggled with Ken's directions (I think his directions are fine and I was glad to have the advice but my previous experience with the subject was nil) and still have no great understanding myself. For documents launching multiple instances see < relaunch > in the dictionary where there is a note to look at an example stack. Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com ------------------------------------------------------ On Mar 2, 2010, at 8:43 PM, Scott Rossi wrote: > I'm still trying to get Windows file associations on Vista worked out over > here and am looking for suggestions. > > I've set up registry entries based on Ken Ray's tips: > and everything appears to in place. But > documents created by my app continue to show up as generic icons. > Double-clicking them brings up the "What program do you want to use to > open...?" dialog and my app is listed there, but I can't get Vista to > properly display the document icon contained in the standalone. > > Also, I don't understand how to implement the following so that > double-clicked documents open my app: > > on openStack > put $0 into theAppPath > put $1 into theDocToOpen > -- stuff here to launch the doc in my app? > end openStack > > Currently double-clicking my documents launches multiple instances of my > app. I'm using a splash/data stack app setup, and I've tried to pass the > doc name to an Open File menu routine. Does the above need to go in the > splash standalone, or can it go in card script of my data stack? Am I right > in passing the doc name to my Open File handler? Do I need to do something > else? > > Thanks for any advice... > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Wed Mar 3 01:40:45 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 02 Mar 2010 22:40:45 -0800 Subject: File Associations? In-Reply-To: <3A31C9EE-0976-4853-8B6C-D77F0DCEB664@elementarysoftware.com> Message-ID: Recently, Scott Morrow wrote: > Are you trying to set the registry under Vista without administrative > privileges? (If UAC is enabled, and it is by default, then even if you are the > primary admin user of the system you won't have sufficient privileges to set > the registry. If you are testing this from the IDE, before launching, right > click Rev and choose to "Run as administrator") I am using an installer (Inno Setup) to modify the registry and I am running as administrator. I believe the keys are being set correctly because I can view them using RegEdit. > If this isn't the trouble then I would be happy to send you code that I'm > using in an application, though I struggled with Ken's directions (I think his > directions are fine and I was glad to have the advice but my previous > experience with the subject was nil) and still have no great understanding > myself. If you don't mind, I would like to see your code. Very little is working for me compared to what folks have explained in the mail list archives. > For documents launching multiple instances see < relaunch > in the dictionary > where there is a note to look at an example stack. In my stack, the relaunch message is apparently not being called for some reason. I've tried placing it in the stack script and in a stack script behavior, and still nothing is happening. Still trying to figure out what's going on. Thanks Scott. Regards, Scott Rossi Creative Director Tactile Media, UX Design > Elementary Software > (Now with 20% less chalk dust!) > web http://elementarysoftware.com/ > email scott at elementarysoftware.com > > ------------------------------------------------------ > > > On Mar 2, 2010, at 8:43 PM, Scott Rossi wrote: > >> I'm still trying to get Windows file associations on Vista worked out over >> here and am looking for suggestions. >> >> I've set up registry entries based on Ken Ray's tips: >> and everything appears to in place. But >> documents created by my app continue to show up as generic icons. >> Double-clicking them brings up the "What program do you want to use to >> open...?" dialog and my app is listed there, but I can't get Vista to >> properly display the document icon contained in the standalone. >> >> Also, I don't understand how to implement the following so that >> double-clicked documents open my app: >> >> on openStack >> put $0 into theAppPath >> put $1 into theDocToOpen >> -- stuff here to launch the doc in my app? >> end openStack >> >> Currently double-clicking my documents launches multiple instances of my >> app. I'm using a splash/data stack app setup, and I've tried to pass the >> doc name to an Open File menu routine. Does the above need to go in the >> splash standalone, or can it go in card script of my data stack? Am I right >> in passing the doc name to my Open File handler? Do I need to do something >> else? >> >> Thanks for any advice... >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at tactilemedia.com Wed Mar 3 01:48:58 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 02 Mar 2010 22:48:58 -0800 Subject: File Associations? In-Reply-To: Message-ID: Recently, I wrote: >> For documents launching multiple instances see < relaunch > in the >> dictionary >> where there is a note to look at an example stack. > > In my stack, the relaunch message is apparently not being called for some > reason. I've tried placing it in the stack script and in a stack script > behavior, and still nothing is happening. Still trying to figure out what's > going on. Is it possible that the relaunch message is failing for me because I'm using a splash/data arrangement for my standalone? My splash executable launches a data stack and then closes the launching stack. Could this be why any subsequent launches of the EXE don't trigger the relaunch handler? Regards, Scott Rossi Creative Director Tactile Media, UX Design From pderocco at ix.netcom.com Wed Mar 3 02:11:00 2010 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Tue, 2 Mar 2010 23:11:00 -0800 Subject: File Associations? In-Reply-To: Message-ID: > From: cott Rossi > > I'm still trying to get Windows file associations on Vista worked out over > here and am looking for suggestions. > > I've set up registry entries based on Ken Ray's tips: > and everything appears to in place. But > documents created by my app continue to show up as generic icons. > Double-clicking them brings up the "What program do you want to use to > open...?" dialog and my app is listed there, but I can't get Vista to > properly display the document icon contained in the standalone. Works on my XP system, but I didn't use those function calls to set it up. Instead, I manually created the association by right-clicking a file, selecting Open With, and navigating to my program. You might try removing all the keys you created with Regedit, manually create the association, and then see what the OS put there, so that you can make your program do the same thing. As to your second question, I've never tried the splash/data paradigm, so I can't help. -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From scott at elementarysoftware.com Wed Mar 3 02:20:53 2010 From: scott at elementarysoftware.com (Scott Morrow) Date: Tue, 2 Mar 2010 23:20:53 -0800 Subject: File Associations? In-Reply-To: References: Message-ID: <90D68DE3-0E9D-4AAD-85FC-4F679C780C33@elementarysoftware.com> Hello Scott This post has the scripting I use for "Relaunch" so that multiple instance of the app won't launch. I'm using it with a Splash-screen design as well. There are 2 script blocks, the first of which has to go at the stack level. The pile of comments indicates how insecure I was with the code. Below the "Relaunch" script is additional code I placed at the card level of the Splash-screen stack (I'm not sure it needs to be there) I'll post again about registry. - Scott Morrow -- -- > In the main stack script of the Splash-screen (executable) and in fact can't be placed at the card level. ------------------------------------------------------------ ---- Begin Relaunch Block ------------------------------------- ------------------------------------------------------------ -- -- If the applications mainstack (not sent to the card) has a 'relaunch' handler, then Revolution will treat -- -- it as a 'single-instance' application. This means that if a second instance is launched -- -- the original instance will be sent a 'relaunch' message before the new instance starts up. on relaunch -- -- The parameters for relaunch are the command-line arguments passed when invoking the -- -- new instance. Revolution does the same processing of these as it does for the $n -- -- global variables. i.e. -- -- 1 ) It splits the command-line up into Words -- -- 2 ) Removes quotes bracketing any quoted argument -- -- 3 ) Replaces '\' with '/' -- put empty into tParamList repeat with tIndex = 1 to the paramCount -- get Log(" param(" & tIndex & ") = " & param(tIndex)) put param(tIndex) &CR after tParamList end repeat put token 1 to -1 of tParamList into tParamList -- -- Passing the relaunch message will cause the new instance to continue to load. -- if the hilite of btn "Pass Relaunch" then -- get Log("Passing Relaunch") -- pass relaunch -- end if -- -- Returning background will cause the existing instance to remain in the background -- -- and the new instance to quit. -- if the hilite of btn "Remain in Background" then -- get Log("Relaunch and Remaining in background") -- return "background" -- end if -- get Log("Relaunch Processed") -- -- Try to keep processing in the relaunch handler to a minimum as the new instance -- -- waits for a reply. In particular, you must not open any windows (especially modal -- -- dialogs) as this will cause an automatic pass. -- -- Therefore, it is best to do the main part of the processing after relaunch has -- -- sent back its acknowledgement. To do this we send a message to be executed as soon as -- -- the current handler stack resolves. -- send "processRelaunch param(1)" to me in 0 millisecs send "processRelaunch" && tParamList to cd 1 of me in 0 millisecs -- -- Returning empty will cause the existing instance to be brought to the front, and -- -- the new instance to quit. return empty end relaunch -- As described above, it is best to do all the processing of the relaunch *after* -- the relaunch message has been acknowledged. -- Here we just open an open-file dialog with the path passed to the command-line. -- -- Note that when a modal dialog is being displayed, you can still receive the 'relaunch' -- message. However, using messages as we have here will result in them being -- automatically queued. ------------------------------------------------------------ ---- End Relaunch Block --------------------------------------- ------------------------------------------------------------ -- --> Card Level of the Splash-screen stack -- this handler recieves a list of files that caught by the "Relaunch" handler in the stack script -- multiple instances of this Splash executable were not allowed to launch -- and the file paths were passed along to the currently running instance of the Splash executable -- were we can open them -- this handler is nearly the same as the esOpenAppleEventDoc handler on processRelaunch tFilesPathsToOpen if tFilesPathsToOpen <> empty then -- there was a relaunch message handled by the stack script repeat for each line tNewDataPath in tFilesPathsToOpen -- could be multiple files VerifyClassFile tNewDataPath -- Mr. Rossi can ignore this line, I'm just verifying a file before trying to open it send "PreOpenStack" to stack tNewDataPath end repeat end if end processRelaunch On Mar 2, 2010, at 10:48 PM, Scott Rossi wrote: > Recently, I wrote: > >>> For documents launching multiple instances see < relaunch > in the >>> dictionary >>> where there is a note to look at an example stack. >> >> In my stack, the relaunch message is apparently not being called for some >> reason. I've tried placing it in the stack script and in a stack script >> behavior, and still nothing is happening. Still trying to figure out what's >> going on. > > Is it possible that the relaunch message is failing for me because I'm using > a splash/data arrangement for my standalone? My splash executable launches > a data stack and then closes the launching stack. Could this be why any > subsequent launches of the EXE don't trigger the relaunch handler? > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From andre at rombauts.be Wed Mar 3 02:27:58 2010 From: andre at rombauts.be (Andre Rombauts) Date: Wed, 3 Mar 2010 08:27:58 +0100 Subject: XML-RPC doc In-Reply-To: <113104909343.20100302162303@ahsoftware.net> References: <20100302232822.513617621@relay.skynet.be> <113104909343.20100302162303@ahsoftware.net> Message-ID: <20100303072758.314096052@relay.skynet.be> >> I don't find much info on XML-RPC usage in RunRev. What could you advise >> for a start...? >Check out my libSOAP library on revOnline... that should give you >something to start with. Thanks Mark. I'll have a look. -- Andr? Rombauts, Using RunRev 4.5.0-dp-2 Build 1010 on MacBook Pro 3,1 2,4 GHz - 4 Go running Mac OS X 10.6.2 (10C540) Fl?ron, Li?ge (BE) andre at rombauts.be +32 (0)477 53.35.17 Sent by Powermail 6.0.3 Build 4609 From andre at rombauts.be Wed Mar 3 02:31:20 2010 From: andre at rombauts.be (Andre Rombauts) Date: Wed, 3 Mar 2010 08:31:20 +0100 Subject: XML-RPC doc In-Reply-To: <7c87a2a11003021656h66ddeb45ue17b87b818fff02c@mail.gmail.com> References: <20100302232822.513617621@relay.skynet.be> <113104909343.20100302162303@ahsoftware.net> <7c87a2a11003021656h66ddeb45ue17b87b818fff02c@mail.gmail.com> Message-ID: <20100303073120.517830506@relay.skynet.be> >I have some code for XML-RPC, do you want a client or a server? Thanks... Andr? :-) A client. In fact, I'm trying to develop a client system for a school project where students are accessing a Wordpress driven meeting place. -- Andr? Rombauts, Using RunRev 4.5.0-dp-2 Build 1010 on MacBook Pro 3,1 2,4 GHz - 4 Go running Mac OS X 10.6.2 (10C540) Fl?ron, Li?ge (BE) andre at rombauts.be +32 (0)477 53.35.17 Sent by Powermail 6.0.3 Build 4609 From scott at elementarysoftware.com Wed Mar 3 02:45:33 2010 From: scott at elementarysoftware.com (Scott Morrow) Date: Tue, 2 Mar 2010 23:45:33 -0800 Subject: File Associations? In-Reply-To: References: Message-ID: <891038F4-5AA0-4A1D-92A1-9A962DA69C8F@elementarysoftware.com> Hello Scott, I'm not using Inno Installer but a custom installer application made with Rev. Before trying to set the registry my installer has elevated itself to have administrative privileges (by adjusting the manifest with Resource Tuner as described by Trevor DeVore) I believe this is all the pertinent code from my installer application and I'm sure you will recognize Ken's instructional outline as the foundation. I've left in some code specific to my app and referenced custom properties that you would need to substitute your own data in for. Hopefully this will shed a light of Ray. (pun intended) -Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com ------------------------------------------------------------------------------------------------------------------------------ local lErrorLog on SetWindowsRegistry put empty into lErrorLog put "Setting the registry" into fld "progressInfo" of cd "install" of stack "elsoInstaller" wait 1 sec set the customPropertySet of stack "elsoInstaller" to empty set the customPropertySet of stack "elsoInstallerLib" to empty -- tProgramFilesFolderPath --> the path to the Programs folder -- < C:/Program Files > put fld "installPath" of cd "destination" of stack "elsoInstaller" into tProgramFilesFolderPath -- tAppFolder --> the name of OUR folder that contains the application we are installing -- < Report Card Pro > set the itemDel to "/" put item -1 of tProgramFilesFolderPath into tAppFolder --> put the uEnclosingFolderName of stack "elsoInstaller" into tAppFolder -- the user has control over this part of the path -- tAppName --> the name of the executable application we are installing -- < Report Card Pro > put the uAppName of stack "elsoInstaller" into tAppName -- tAppExecutablePath --> the fileName (Full Path) of the .exe put tProgramFilesFolderPath &"/"& tAppName into tAppExecutablePath -- save the full path in case we need to launch the app just before quiting this installer set the uLaunchPath of stack "elsoInstaller" to tAppExecutablePath replace "/" with "\" in tAppExecutablePath -- tDocExtension -- the "dot" extension that is associated with the application we are installing -- < .rcp > put the uFileExtention of stack "elsoInstaller" into tDocExtension if tDocExtension is empty then put "Ther was an error attempting to set the Registry because file extension information was missing" &cr after lErrorLog return "file extension missing" exit SetWindowsRegistry end if ------------------------------------------------------------------ -- Set the Windows Registry if necessary -------- ------------------------------------------------------------------ -- Check to make sure the Windows Registry is set to associate the .rcp file extension with ReportCard_Pro if queryRegistry("HKEY_CLASSES_ROOT\"&tDocExtension&"\") <> tAppFolder then -- there is no Registry key for the file extension -- so let's set it up --1. Create a key in HKEY_CLASSES_ROOT for the extension, and use the default value to point to the name of the application -- get setRegistry("HKEY_CLASSES_ROOT\.tst\","TestApp") get setRegistry("HKEY_CLASSES_ROOT\"&tDocExtension&"\",tAppFolder) put the result into tResult if tResult is not empty then put "setRegistry error 1" && tResult &cr after lErrorLog -- Custom error reporting return tResult end if if lErrorLog is empty then --2. Create a key in HKCR for the application itself, using the default value to point to a descriptor of the kind of document used by the app -- this will be used in list views to show the kind of file a document of TestApp is: -- get setRegistry("HKEY_CLASSES_ROOT\TestApp\","TestApp document") put tAppFolder && "document" into tAppDocAssoc get setRegistry("HKEY_CLASSES_ROOT\"&tAppFolder&"\",tAppDocAssoc) put the result into tResult if tResult is not empty then put "setRegistry error 2" && tResult &cr after lErrorLog -- Custom error reporting return tResult end if end if -- lErrorLog is empty if lErrorLog is empty then --3. Create a subkey of HKCR\TestApp to hold the default icon for the application. Rev document icons are in the first position -- get setRegistry("HKEY_CLASSES_ROOT\TestApp\DefaultIcon\","C:\Program Files\TestApp\TestApp.exe,1") put tAppExecutablePath & COMMA & "1" into tDefaultIconString get setRegistry("HKEY_CLASSES_ROOT\"&tAppFolder&"\DefaultIcon\",tDefaultIconString) put the result into tResult if tResult is not empty then put "setRegistry error 3" && tResult &cr after lErrorLog -- Custom error reporting return tResult end if end if -- lErrorLog is empty if lErrorLog is empty then --4. Create a subkey three layers deep in HKCR\ReportCard_Pro to hold the command to open the application when the document with the ".rcp" extension is launched. -- The path to the document is defined in the registry as %1. -- get setRegistry("HKEY_CLASSES_ROOT\TestApp\shell\open\command\","C:\Program Files\TestApp\TestApp.exe %1") -- for my purposes the path will look like: -- C:/Program Files/Report Card Pro/ReportCard_Pro.exe put tAppExecutablePath&&"%1" into tSubKeyDblClickDocString get setRegistry("HKEY_CLASSES_ROOT\"&tAppFolder&"\shell\open\command\",tSubKeyDblClickDocString) put the result into tResult if tResult is not empty then put "setRegistry error 4" && tResult &cr after lErrorLog -- Custom error reporting return tResult end if -- tResult is not empty end if -- lErrorLog is empty end if -- need to set the Windows registry ------------------------------------------------------------------ return empty end SetWindowsRegistry ------------------------------------------------------------------------------------------------------------------------------- On Mar 2, 2010, at 10:48 PM, Scott Rossi wrote: > Recently, I wrote: > >>> For documents launching multiple instances see < relaunch > in the >>> dictionary >>> where there is a note to look at an example stack. >> >> In my stack, the relaunch message is apparently not being called for some >> reason. I've tried placing it in the stack script and in a stack script >> behavior, and still nothing is happening. Still trying to figure out what's >> going on. > > Is it possible that the relaunch message is failing for me because I'm using > a splash/data arrangement for my standalone? My splash executable launches > a data stack and then closes the launching stack. Could this be why any > subsequent launches of the EXE don't trigger the relaunch handler? > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at elementarysoftware.com Wed Mar 3 03:25:44 2010 From: scott at elementarysoftware.com (Scott Morrow) Date: Wed, 3 Mar 2010 00:25:44 -0800 Subject: File Associations? In-Reply-To: References: Message-ID: <2CCF94A9-DBEC-48B3-95B1-DC91C25E98B2@elementarysoftware.com> Hello Scott, Sorry to clutter things with another post but there was one thing I forgot to include: the actual content of the variables. Sometimes the exact form of a string is what trips me up so perhaps this will be helpful. I walked through the debugger as this section of code was running and copied out the contents of each variable. (disclaimer: actually I *retyped* what I saw in the debugger window... there is probably a way to copy/paste but I couldn't recall it.) -Scott Morrow tProgramFilesFolderPath --> C:/Program Files/Report Card Pro tAppFolder --> C:/Program Files/Report Card Pro tAppName --> Report Card Pro.exe tAppExecutablePath --> C:\Program Files\Report Card Pro\Report Card Pro.exe tDocFileExtension --> .rcp tAppDocAssoc --> Report Card Pro document tDefaultIconString --> C:\Program Files\Report Card Pro\Report Card Pro.exe,1 tSubKeyDblClickDocString --> C:\Program Files\Report Card Pro\Report Card Pro.exe %1 ------------------------------------------------------------------------------------------------------------------------------ local lErrorLog on SetWindowsRegistry put empty into lErrorLog put "Setting the registry" into fld "progressInfo" of cd "install" of stack "elsoInstaller" wait 1 sec set the customPropertySet of stack "elsoInstaller" to empty set the customPropertySet of stack "elsoInstallerLib" to empty -- tProgramFilesFolderPath --> the path to the Programs folder -- < C:/Program Files > put fld "installPath" of cd "destination" of stack "elsoInstaller" into tProgramFilesFolderPath -- tAppFolder --> the name of OUR folder that contains the application we are installing -- < Report Card Pro > set the itemDel to "/" put item -1 of tProgramFilesFolderPath into tAppFolder --> put the uEnclosingFolderName of stack "elsoInstaller" into tAppFolder -- the user has control over this part of the path -- tAppName --> the name of the executable application we are installing -- < Report Card Pro > put the uAppName of stack "elsoInstaller" into tAppName -- tAppExecutablePath --> the fileName (Full Path) of the .exe put tProgramFilesFolderPath &"/"& tAppName into tAppExecutablePath -- save the full path in case we need to launch the app just before quiting this installer set the uLaunchPath of stack "elsoInstaller" to tAppExecutablePath replace "/" with "\" in tAppExecutablePath -- tDocExtension -- the "dot" extension that is associated with the application we are installing -- < .rcp > put the uFileExtention of stack "elsoInstaller" into tDocExtension if tDocExtension is empty then put "Ther was an error attempting to set the Registry because file extension information was missing" &cr after lErrorLog return "file extension missing" exit SetWindowsRegistry end if ------------------------------------------------------------------ -- Set the Windows Registry if necessary -------- ------------------------------------------------------------------ -- Check to make sure the Windows Registry is set to associate the .rcp file extension with ReportCard_Pro if queryRegistry("HKEY_CLASSES_ROOT\"&tDocExtension&"\") <> tAppFolder then -- there is no Registry key for the file extension -- so let's set it up --1. Create a key in HKEY_CLASSES_ROOT for the extension, and use the default value to point to the name of the application -- get setRegistry("HKEY_CLASSES_ROOT\.tst\","TestApp") get setRegistry("HKEY_CLASSES_ROOT\"&tDocExtension&"\",tAppFolder) put the result into tResult if tResult is not empty then put "setRegistry error 1" && tResult &cr after lErrorLog -- Custom error reporting return tResult end if if lErrorLog is empty then --2. Create a key in HKCR for the application itself, using the default value to point to a descriptor of the kind of document used by the app -- this will be used in list views to show the kind of file a document of TestApp is: -- get setRegistry("HKEY_CLASSES_ROOT\TestApp\","TestApp document") put tAppFolder && "document" into tAppDocAssoc get setRegistry("HKEY_CLASSES_ROOT\"&tAppFolder&"\",tAppDocAssoc) put the result into tResult if tResult is not empty then put "setRegistry error 2" && tResult &cr after lErrorLog -- Custom error reporting return tResult end if end if -- lErrorLog is empty if lErrorLog is empty then --3. Create a subkey of HKCR\TestApp to hold the default icon for the application. Rev document icons are in the first position -- get setRegistry("HKEY_CLASSES_ROOT\TestApp\DefaultIcon\","C:\Program Files\TestApp\TestApp.exe,1") put tAppExecutablePath & COMMA & "1" into tDefaultIconString get setRegistry("HKEY_CLASSES_ROOT\"&tAppFolder&"\DefaultIcon\",tDefaultIconString) put the result into tResult if tResult is not empty then put "setRegistry error 3" && tResult &cr after lErrorLog -- Custom error reporting return tResult end if end if -- lErrorLog is empty if lErrorLog is empty then --4. Create a subkey three layers deep in HKCR\ReportCard_Pro to hold the command to open the application when the document with the ".rcp" extension is launched. -- The path to the document is defined in the registry as %1. -- get setRegistry("HKEY_CLASSES_ROOT\TestApp\shell\open\command\","C:\Program Files\TestApp\TestApp.exe %1") -- for my purposes the path will look like: -- C:/Program Files/Report Card Pro/ReportCard_Pro.exe put tAppExecutablePath&&"%1" into tSubKeyDblClickDocString get setRegistry("HKEY_CLASSES_ROOT\"&tAppFolder&"\shell\open\command\",tSubKeyDblClickDocString) put the result into tResult if tResult is not empty then put "setRegistry error 4" && tResult &cr after lErrorLog -- Custom error reporting return tResult end if -- tResult is not empty end if -- lErrorLog is empty end if -- need to set the Windows registry ------------------------------------------------------------------ return empty end SetWindowsRegistry ------------------------------------------------------------------------------------------------------------------------------- On Mar 2, 2010, at 10:48 PM, Scott Rossi wrote: > Recently, I wrote: > >>> For documents launching multiple instances see < relaunch > in the >>> dictionary >>> where there is a note to look at an example stack. >> >> In my stack, the relaunch message is apparently not being called for some >> reason. I've tried placing it in the stack script and in a stack script >> behavior, and still nothing is happening. Still trying to figure out what's >> going on. > > Is it possible that the relaunch message is failing for me because I'm using > a splash/data arrangement for my standalone? My splash executable launches > a data stack and then closes the launching stack. Could this be why any > subsequent launches of the EXE don't trigger the relaunch handler? > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From andre at rombauts.be Wed Mar 3 04:32:50 2010 From: andre at rombauts.be (Andre Rombauts) Date: Wed, 3 Mar 2010 10:32:50 +0100 Subject: XML-RPC doc In-Reply-To: <20100302232822.513617621@relay.skynet.be> References: <20100302232822.513617621@relay.skynet.be> Message-ID: <20100303093250.1206169490@relay.skynet.be> >I don't find much info on XML-RPC usage in RunRev. What could you advise >for a start...? >Andr? Rombauts I notice that in RunRev online dictionary many XMLRPC commands and functions descriptions end by "More details to come"... :-( -- Andr? Rombauts, Using RunRev 4.5.0-dp-2 Build 1010 on MacBook Pro 3,1 2,4 GHz - 4 Go running Mac OS X 10.6.2 (10C540) Fl?ron, Li?ge (BE) andre at rombauts.be +32 (0)477 53.35.17 Sent by Powermail 6.0.3 Build 4609 From Andre.Bisseret at inria.fr Wed Mar 3 04:48:11 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Wed, 3 Mar 2010 10:48:11 +0100 Subject: Custom tab controls In-Reply-To: <1607566F-1421-4A8A-9DEF-C4BBC211C01B@twft.com> References: <963c86eb1003020831x53b3b71fn282142dbf6e9f00b@mail.gmail.com> <1267565415643-1575756.post@n4.nabble.com> <1607566F-1421-4A8A-9DEF-C4BBC211C01B@twft.com> Message-ID: <883DD0D8-50EA-47B7-B1F4-C539171BD64D@inria.fr> Le 2 mars 10 ? 22:38, Bob Sneidar a ?crit : > How odd. This showed up with a .mc extension, and opened in > something called TestAETE, and worked! When I changed the extension > to .rev, it opened in Revolution and worked there too! > > What in the world is TestAETE? It was in my Revcon Downloads folder. > > Bob > Oooh! Here it opened with "Eier-Eggs" a game from Klaus Major I have on my disk ;-o))) (.mc extention also) Could open it in Rev too When going to a card using" View" menu, the color of the tab of the opened card does not change to "AntiqueWhite" Just teasing ;-)) The drawback of such an interface is that the number of cards is necessarily limited. But sure could be usefull for app. with a small number of cards. Best regards from Grenoble Andr? > > On Mar 2, 2010, at 1:30 PM, Alejandro Tejada wrote: > >> >> Hi Jeff, >> >> Download the stack (only 3k) from my webpage: >> http://capellan2000.000space.com/Tabbed_interfacev01.zip >> >> This website 000space does not allow hotlinking, so if >> clicking the previous link produces an error, >> then >> 1) visit my site at: http://capellan2000.000space.com >> and after my page load, >> 2) paste the link and download the file: >> http://capellan2000.000space.com/Tabbed_interfacev01.zip >> >> In Oct 29, 2005; 08:02pm, i wrote the following about this stack: >> >> [ANN] Tabbed interface v01 >> >> Hi developers, >> >> Download this version 01 of a tabbed interface >> for stacks with many cards. >> >> Yesterday, i started this stack and think could be >> an interesting starting point if you need to create >> a tabbed interface. >> >> This stack could be a lot more polished, >> but i'm posting it today with the hope that it >> picked the curiosity of many developers and newbies >> to start exploring, experimenting and publishing >> better tabbed interfaces for all RR/MC/DC developers! >> :D >> >> Usage: >> >> When you click in a button in the navigation >> bar, you go to the card named in the button. >> >> Each time you create a new card, a button >> with the name of the card is added automatically >> to the top row and get a lighter backcolor >> (think of this as a hilite). >> >> Each time you delete a card, his button >> is deleted automatically and the button of >> the top card get hilited. >> >> Click the buttons named "Create Card" and >> "Delete this Card" to see this action. >> >> If you select text in the main field, >> you could get a contextual menu by clicking >> with the third mouse button. >> >>> From this contextual menu, you could create >> a new card too. :D >> >> Keep us posted in this mail list about any >> enhancement that you could made to the >> graphics and the code of this stack. >> >> al >> -- >> View this message in context: http://n4.nabble.com/Custom-tab-controls-tp1575259p1575756.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From richmondmathewson at gmail.com Wed Mar 3 04:56:52 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 03 Mar 2010 11:56:52 +0200 Subject: launch url Message-ID: <4B8E3264.7020504@gmail.com> Can anybody tell me what inclusions are required when building standalones to get LAUNCH URL to function? sincerely, Richmond Mathewson. From revlist at azurevision.co.uk Wed Mar 3 06:51:11 2010 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 3 Mar 2010 11:51:11 +0000 Subject: Faking OS X text field behaviour (was: Good books on Cocoa dev?) In-Reply-To: <1267588814051-1576027.post@n4.nabble.com> References: <82787BF6-E638-46A4-A28F-28FAEB7CBC41@azurevision.co.uk> <1267588814051-1576027.post@n4.nabble.com> Message-ID: Thanks for the suggestions, everyone. It would certainly save me a lot of time if this could be done in Rev, so maybe it's time to look from a different direction - how do we make a Rev field as OS X-like as possible. On 3 Mar 2010, at 04:00, Scott McDonald wrote: > The look of the spell check dialogue in the RunRevPlanet SpellCheck > Stack is > completely "skinnable" so it may be simpler (and much quicker) to > make it > look the way you need for your Mac application without learning Cocoa. Your stack (and Sarah's AppleScript driven one) are the first places I looked. > If the RunRevPlanet SpellCheck Stack doesn't currently meet your > needs, any > specific feedback is most welcome, as I work hard to make stacks from > RunRevPlanet do what Revolution users need. Background - this is an app for metadata text entry for photojournalists. They are a fairly impatient bunch and tend to be working under a lot of pressure, and tend to have configured their Macs 'just so', with things like custom additions to the spell check dictionary. Plus a surprising amount of Mac UI knowledge/fanaticism at the higher levels... So replicating the native text box behaviour as closely as possible is a high priority. Here's a little list I've made up of differences between Rev fields and OS X fields, some apply to Scott's SpellCheck stack, others are general observations. 1. Navigational/selection shortcuts. Things like Rev using Command- left/right arrow to skip by word instead of the standard Mac shortcut of Option/Alt etc. I've not tried it yet but presumably this could all be handled with custom rawkeydown handlers - has anyone worked on this in the past? 2. The floating dictionary via Command-Control-D-hover. I'm not too bothered about this as it's rarely known let alone used, and there are still a few Carbon apps around that don't support it anyway. 3. Spell checking. This breaks down into a number of separate issues. 3a. Including spell checking in the first place. Scott's stack does a good job of providing the service, with Sarah's being a good proof-of- concept as well. 3b. Dictionaries. The RRP stack uses it's own dictionary, which makes it less useful to me as there's a good chance that the target audience have been adding words (place names, people's names) to the OS-level dictionary. If they are in a rush they won't want to add words again. Although this may not be as big an issue as I'm making it out to be. 3c. Visual representation of incorrect words. For this audience, anything but dashed red underlining is going to leap out as being a non-native app. Presumably I'd have to have a non-scrolling text field plus graphics built into a scrolling group to be able to 'fake' putting the red underlining. Again, has anyone attempted this before? Cheers, Ian From andre at andregarzia.com Wed Mar 3 07:29:23 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 3 Mar 2010 09:29:23 -0300 Subject: XML-RPC doc In-Reply-To: <20100303093250.1206169490@relay.skynet.be> References: <20100302232822.513617621@relay.skynet.be> <20100303093250.1206169490@relay.skynet.be> Message-ID: <7c87a2a11003030429x38424c00ubbb3a9c4e2eada7@mail.gmail.com> Andre, I just added my personal weblog library to RevOnline. It has code for Blogger, Metaweblog and ATOM. It is an extensive library but it is not complete (I don't remember supporting every method but the ones I use) For years I kept this just to myself but I don't see any reason not to share it now. It will allow you to post to wordpress in a single call. It has some support for * Blogger API 1.0 and some of the 2.0 calls (2.0 was never released, but blogger2.post was implemented by Pyra and still works) * Metaweblog API 1.0 * ATOM API 1.0 (Never used it but implemented it anyway, I think it is untested... at least, I don't recall testing it but looking at the code, I don't believe I would write that amount of code without testing so I probably tested it and forgot.) Hope this helps! At least will help you learn more about XML-RPC Cheers andre On Wed, Mar 3, 2010 at 6:32 AM, Andre Rombauts wrote: > >I don't find much info on XML-RPC usage in RunRev. What could you advise > >for a start...? > >Andr? Rombauts > > I notice that in RunRev online dictionary many XMLRPC commands and > functions descriptions end by "More details to come"... :-( > > -- > > Andr? Rombauts, > > Using RunRev 4.5.0-dp-2 Build 1010 on > MacBook Pro 3,1 2,4 GHz - 4 Go running > Mac OS X 10.6.2 (10C540) > > Fl?ron, Li?ge (BE) > andre at rombauts.be > +32 (0)477 53.35.17 > > Sent by Powermail 6.0.3 Build 4609 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Wed Mar 3 07:31:51 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 3 Mar 2010 09:31:51 -0300 Subject: OT: Good books on Cocoa dev? (spellcheck woes) In-Reply-To: References: <82787BF6-E638-46A4-A28F-28FAEB7CBC41@azurevision.co.uk> <325413301003021705i63268dd7nb62fce67f356f4a4@mail.gmail.com> Message-ID: <7c87a2a11003030431w4491f234q27697f99f50d2029@mail.gmail.com> I second Aaron Hillegass book. I used it before moving to Rev, I also have Beggining iPhone development from Apress, never seen a bad book by them and I have like a dozen books from them, all programming related. :D On Wed, Mar 3, 2010 at 12:08 AM, Jim Kanter wrote: > Aaron Hillegass' book is good: > < > http://www.amazon.com/Cocoa-Programming-Mac-OS-3rd/dp/0321503619/ref=sr_1_1?ie=UTF8&s=books&qid=1267585663&sr=8-1 > > > > More info at his Big Nerd Ranch website: > http://www.bignerdranch.com > > Jim > > On Tue, Mar 2, 2010 at 8:05 PM, Neal Campbell wrote: > > Strongly recommend Beginning Mac Programming in Cocoa > > http://www.pragprog.com/titles/tibmac/beginning-mac-programming. The > > Pragmatic Programmer publishing house hasn't done a bad book (so far)! > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Wed Mar 3 07:34:10 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 3 Mar 2010 09:34:10 -0300 Subject: launch url In-Reply-To: <4B8E3264.7020504@gmail.com> References: <4B8E3264.7020504@gmail.com> Message-ID: <7c87a2a11003030434y2906beb0t780bfdb6a7ae2228@mail.gmail.com> Richmond, there should be no requirements. Are talking about RevGoURL right? What platform, I don't recall it working on Linux... On Wed, Mar 3, 2010 at 6:56 AM, Richmond Mathewson < richmondmathewson at gmail.com> wrote: > Can anybody tell me what inclusions are required when building > standalones to get LAUNCH URL to function? > > sincerely, Richmond Mathewson. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Wed Mar 3 07:35:17 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 3 Mar 2010 09:35:17 -0300 Subject: Custom tab controls In-Reply-To: <1267565415643-1575756.post@n4.nabble.com> References: <963c86eb1003020831x53b3b71fn282142dbf6e9f00b@mail.gmail.com> <1267565415643-1575756.post@n4.nabble.com> Message-ID: <7c87a2a11003030435p30d781abn3ab57622ecec1b83@mail.gmail.com> Alejandro, If you want, I can move you to my server. I allow hotlinking and a lot of other stuff (plus, rev cgi runs there as well) Cheers andre On Tue, Mar 2, 2010 at 6:30 PM, Alejandro Tejada wrote: > > Hi Jeff, > > Download the stack (only 3k) from my webpage: > http://capellan2000.000space.com/Tabbed_interfacev01.zip > > This website 000space does not allow hotlinking, so if > clicking the previous link produces an error, > then > 1) visit my site at: http://capellan2000.000space.com > and after my page load, > 2) paste the link and download the file: > http://capellan2000.000space.com/Tabbed_interfacev01.zip > > In Oct 29, 2005; 08:02pm, i wrote the following about this stack: > > [ANN] Tabbed interface v01 > > Hi developers, > > Download this version 01 of a tabbed interface > for stacks with many cards. > > Yesterday, i started this stack and think could be > an interesting starting point if you need to create > a tabbed interface. > > This stack could be a lot more polished, > but i'm posting it today with the hope that it > picked the curiosity of many developers and newbies > to start exploring, experimenting and publishing > better tabbed interfaces for all RR/MC/DC developers! > :D > > Usage: > > When you click in a button in the navigation > bar, you go to the card named in the button. > > Each time you create a new card, a button > with the name of the card is added automatically > to the top row and get a lighter backcolor > (think of this as a hilite). > > Each time you delete a card, his button > is deleted automatically and the button of > the top card get hilited. > > Click the buttons named "Create Card" and > "Delete this Card" to see this action. > > If you select text in the main field, > you could get a contextual menu by clicking > with the third mouse button. > > >From this contextual menu, you could create > a new card too. :D > > Keep us posted in this mail list about any > enhancement that you could made to the > graphics and the code of this stack. > > al > -- > View this message in context: > http://n4.nabble.com/Custom-tab-controls-tp1575259p1575756.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Wed Mar 3 07:42:55 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 3 Mar 2010 09:42:55 -0300 Subject: File Associations? In-Reply-To: <2CCF94A9-DBEC-48B3-95B1-DC91C25E98B2@elementarysoftware.com> References: <2CCF94A9-DBEC-48B3-95B1-DC91C25E98B2@elementarysoftware.com> Message-ID: <7c87a2a11003030442j2f1ddcbeu1473b49e87863041@mail.gmail.com> Wow, Folks, this kind of stuff should be easy. Can we abstract that code into a library? Also, Scott, did you solved it for Mac? Cheers andre -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Wed Mar 3 08:36:26 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 3 Mar 2010 10:36:26 -0300 Subject: [ANN] weblog apis library on RevOnline Message-ID: <7c87a2a11003030536t3c47bb94g53a221bb933af718@mail.gmail.com> Hi Folks, I just shared my personal weblog apis library on RevOnline. It has extensive but incomplete support for: * Blogger API 1.0 * Blogger API 2.0 (I think it supports only blogger2.newPost but them this was the only Blogger 2.0 function ever implemented by Pyra) * MetaWeblog API * ATOM It has enough functions for creating your own simple blog client like Echo or BlogWorkz ( http://blogworkz.soapdog.org , thats me before coding in Rev, last update in 2002 but still works ) You can also use it to add Weblog posting to your application, this is a must in these days of social networks and the like. Hope you guys like it Andre -- http://www.andregarzia.com All We Do Is Code. From davidocoker at gmail.com Wed Mar 3 08:43:26 2010 From: davidocoker at gmail.com (David Coker) Date: Wed, 3 Mar 2010 07:43:26 -0600 Subject: parsing data returned from "the foundLine" In-Reply-To: <4B8DE546.3000901@hyperactivesw.com> References: <4B8DE546.3000901@hyperactivesw.com> Message-ID: > > Try: get the value of the foundline > > -- > Jacqueline Landman Gay ? ? ? ? | ? ? jacque at hyperactivesw.com > HyperActive Software ? ? ? ? ? | ? ? http://www.hyperactivesw.com That is definitely a step much closer. :) I usually keep the dictionary open as a reference while I'm working, but it certainly didn't help in this case. ...I think I'm gonna revisit *all* of the documentation covering "chunking" again before I go much further with this little project. It seems that I am still missing some of the concepts, methods and/or possibilities that Rev offers when it comes to parsing textual data. Thank you, Jacque! Regards, David C. From andre at rombauts.be Wed Mar 3 08:49:03 2010 From: andre at rombauts.be (Andre Rombauts) Date: Wed, 3 Mar 2010 14:49:03 +0100 Subject: [ANN] weblog apis library on RevOnline In-Reply-To: <7c87a2a11003030536t3c47bb94g53a221bb933af718@mail.gmail.com> References: <7c87a2a11003030536t3c47bb94g53a221bb933af718@mail.gmail.com> Message-ID: <20100303134903.1892757710@relay.skynet.be> >I just shared my personal weblog apis library on RevOnline. It has extensive >but incomplete support for: > >* Blogger API 1.0 >* Blogger API 2.0 (I think it supports only blogger2.newPost but them this >was the only Blogger 2.0 function ever implemented by Pyra) >* MetaWeblog API >* ATOM Thanks Andr?! I got it. Will, first of all, learn... :-) Then will have to adapt for wp api (although I could use metaweblog) -- Andr? Rombauts, Using RunRev 4.5.0-dp-2 Build 1010 on MacBook Pro 3,1 2,4 GHz - 4 Go running Mac OS X 10.6.2 (10C540) Fl?ron, Li?ge (BE) andre at rombauts.be +32 (0)477 53.35.17 Sent by Powermail 6.0.3 Build 4609 From andre at andregarzia.com Wed Mar 3 08:52:46 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 3 Mar 2010 10:52:46 -0300 Subject: [ANN] weblog apis library on RevOnline In-Reply-To: <20100303134903.1892757710@relay.skynet.be> References: <7c87a2a11003030536t3c47bb94g53a221bb933af718@mail.gmail.com> <20100303134903.1892757710@relay.skynet.be> Message-ID: <7c87a2a11003030552h1236b52fnfef2792984dd291f@mail.gmail.com> You're welcome! Hope this helps! I never implemented plain wordpress calls but I can tell you that metaweblog works great with it. :D On Wed, Mar 3, 2010 at 10:49 AM, Andre Rombauts wrote: > >I just shared my personal weblog apis library on RevOnline. It has > extensive > >but incomplete support for: > > > >* Blogger API 1.0 > >* Blogger API 2.0 (I think it supports only blogger2.newPost but them this > >was the only Blogger 2.0 function ever implemented by Pyra) > >* MetaWeblog API > >* ATOM > > Thanks Andr?! > I got it. > Will, first of all, learn... :-) > Then will have to adapt for wp api (although I could use metaweblog) > > -- > > Andr? Rombauts, > > Using RunRev 4.5.0-dp-2 Build 1010 on > MacBook Pro 3,1 2,4 GHz - 4 Go running > Mac OS X 10.6.2 (10C540) > > Fl?ron, Li?ge (BE) > andre at rombauts.be > +32 (0)477 53.35.17 > > Sent by Powermail 6.0.3 Build 4609 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Wed Mar 3 08:55:39 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 3 Mar 2010 10:55:39 -0300 Subject: [On-Rev] sending email thru sendmail?! Message-ID: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> Aloha Folks, Did anyone here is able to send email using sendmail in On-Rev, my code that I use everywhere is not working anymore, somehow it can't open the sendmail process. function sendMail pFrom, pTo, pSubject, pBody switch the platform case "Linux" put "/usr/sbin/sendmail -t" into mprocess open process mprocess for write write "From:" && pFrom & crlf to process mprocess write "To:" && pTo & crlf to process mprocess write "Subject:" && pSubject & crlf & crlf to process mprocess write pBody & crlf to process mprocess close process mprocess wait until mprocess is not among the lines of the openprocesses return the result break end switch end sendMail -- http://www.andregarzia.com All We Do Is Code. From rene.micout at numericable.com Wed Mar 3 09:35:39 2010 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 3 Mar 2010 15:35:39 +0100 Subject: [ANN] The Slug's Color Picker is now on the road for beta test In-Reply-To: <64bda6471003021446q6190563cva520aee0ad7385c5@mail.gmail.com> References: <64bda6471002221627w40a2c531p2f59f1a996258d88@mail.gmail.com> <64bda6471003011231p238b7527s7ef0fec6975ab7bf@mail.gmail.com> <64bda6471003011627u39e9ffacl9948298d7caf91a5@mail.gmail.com> <64bda6471003021135m1100ca8dy1e78e9e6f9aa2518@mail.gmail.com> <64bda6471003021446q6190563cva520aee0ad7385c5@mail.gmail.com> Message-ID: <49F7E663-E214-4960-9D8D-03DAEF452C95@numericable.com> Thank you Slug... A very little thing : in "infos" the version of Color Picker Beta 01.e is 01.c and... when I write this email the Color Picker window is over the mail window (and not the RunRev Tools window...) On Macintosh OS X 10.6.2 Bons souvenirs de Paris Ren? Le 2 mars 2010 ? 23:46, zryip theSlug a ?crit : > 2010/3/2 zryip theSlug : > > The beta version 0.1e is available on my website. > > The picker not only follow the move of the tool palette, it also > follow it's visible state. > I improved the code to send the picker to front in a few case linked > directly to the state of the tool palette, so it could prevent the > problem described by Andr?. > > To Ren? : I added a contextual menu to close the picker. > > > I hope that this new version will please you ;) > > Regards, > > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bdrunrev at gmail.com Wed Mar 3 09:43:26 2010 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 3 Mar 2010 14:43:26 +0000 Subject: parsing data returned from "the foundLine" In-Reply-To: References: <4B8DE546.3000901@hyperactivesw.com> Message-ID: On Wed, Mar 3, 2010 at 1:43 PM, David Coker wrote: > ...I think I'm gonna revisit *all* of the documentation covering > "chunking" again before I go much further with this little project. It > seems that I am still missing some of the concepts, methods and/or > possibilities that Rev offers when it comes to parsing textual data. David, are you sure you need to be going through the UI to do this? I mean, would it not be better to use something like 'filter' or 'matchText', or one of the variants of 'offset'? Bernard From bdrunrev at gmail.com Wed Mar 3 09:50:18 2010 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 3 Mar 2010 14:50:18 +0000 Subject: [On-Rev] sending email thru sendmail?! In-Reply-To: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> Message-ID: On Wed, Mar 3, 2010 at 1:55 PM, Andre Garzia wrote: > Aloha Folks, > > Did anyone here is able to send email using sendmail in On-Rev, my code that > I use everywhere is not working anymore, somehow it can't open the sendmail > process. Some linux installations have a CLI mailer called 'mail' instead of 'sendmail'. I know on some installations where Postfix is the smtpd I've had to install that 'mail' program separately. I don't have the details to hand, but can look them up if necessary. You could try 'there is a file /usr/bin/sendmail' to check for the existence of sendmail with on-rev. Bernard From massung at gmail.com Wed Mar 3 09:56:02 2010 From: massung at gmail.com (Jeffrey Massung) Date: Wed, 3 Mar 2010 08:56:02 -0600 Subject: [On-Rev] sending email thru sendmail?! In-Reply-To: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> Message-ID: I can't remember where I found this code, but I've been using it quite successfully with On-Rev: -- escape shell characters: use this function before passing data to the shell function shellEscape pText repeat for each char tChar in "\`$" & quote replace tChar with "\" & tChar in pText end repeat return pText end shellEscape -- send an email message to someone command sendMail pFrom, pTo, pSub, pBody -- fix each of the parameters of the email put shellEscape(pFrom) into pFrom put shellEscape(pTo) into pTo put shellEscape(pSub) into pSub put shellEscape(pBody) into pBody -- send the mail using the shell command get shell("echo -e" && quote & pBody & quote && "| mail -s" & quote & pSub & quote && quote & pTo & quote && "-- -f" & quote & pFrom & quote) end sendMail HTH, Jeff M. On Mar 3, 2010, at 7:55 AM, Andre Garzia wrote: > Aloha Folks, > > Did anyone here is able to send email using sendmail in On-Rev, my code that > I use everywhere is not working anymore, somehow it can't open the sendmail > process. > > function sendMail pFrom, pTo, pSubject, pBody > > switch the platform > case "Linux" > put "/usr/sbin/sendmail -t" into mprocess > open process mprocess for write > write "From:" && pFrom & crlf to process mprocess > write "To:" && pTo & crlf to process mprocess > write "Subject:" && pSubject & crlf & crlf to process mprocess > write pBody & crlf to process mprocess > close process mprocess > wait until mprocess is not among the lines of the openprocesses > return the result > break > > end switch > > end sendMail > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From andre at andregarzia.com Wed Mar 3 09:57:36 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 3 Mar 2010 11:57:36 -0300 Subject: [On-Rev] sending email thru sendmail?! In-Reply-To: References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> Message-ID: <7c87a2a11003030657n6914185evd15473b2ce1a8ab4@mail.gmail.com> Bernard & Jeffrey, thanks for the reply. On On-Rev cPanel there's a information label with the sendmail location, which I used on my script but the thing is not working. I have code for "mail" as well as I used this on mac os x... silly computers never working the way they should, let me try mail. Cheers andre On Wed, Mar 3, 2010 at 11:50 AM, Bernard Devlin wrote: > On Wed, Mar 3, 2010 at 1:55 PM, Andre Garzia > wrote: > > Aloha Folks, > > > > Did anyone here is able to send email using sendmail in On-Rev, my code > that > > I use everywhere is not working anymore, somehow it can't open the > sendmail > > process. > > Some linux installations have a CLI mailer called 'mail' instead of > 'sendmail'. I know on some installations where Postfix is the smtpd > I've had to install that 'mail' program separately. I don't have the > details to hand, but can look them up if necessary. > > You could try 'there is a file /usr/bin/sendmail' to check for the > existence of sendmail with on-rev. > > Bernard > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From massung at gmail.com Wed Mar 3 09:57:47 2010 From: massung at gmail.com (Jeffrey Massung) Date: Wed, 3 Mar 2010 08:57:47 -0600 Subject: [ANN][UPDATE] Revolution.mode - Revolution syntax coloring for CODA and SubEhtaEdit In-Reply-To: References: Message-ID: <25F0BE40-191A-440E-9678-C19BDB411D53@gmail.com> If I could suggest 1 more change: the current string regex uses "\" as an escape character when Rev has no such thing (or uses a different one that I'm unaware of). So if I use a \ in my strings it mucks up the highlighting for the rest of the file. Again, tho, bravo on the Coda mode. :-) Jeff M. On Mar 1, 2010, at 2:24 PM, stephen barncard wrote: > Whoops! I forgot to add support for the comment syntax I never use. (Thanks > to Jerry Daniels) > > Now supports all 4 Rev comment styles: "/* */" "--" "##" and "//" From andre at andregarzia.com Wed Mar 3 10:09:30 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 3 Mar 2010 12:09:30 -0300 Subject: [On-Rev] sending email thru sendmail?! In-Reply-To: <7c87a2a11003030657n6914185evd15473b2ce1a8ab4@mail.gmail.com> References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> <7c87a2a11003030657n6914185evd15473b2ce1a8ab4@mail.gmail.com> Message-ID: <7c87a2a11003030709g50f31603tdb290eb95371f19f@mail.gmail.com> Just tried the mail + shell commands and it doesn't work as well... no error is triggered but the email also never arrives. It would be useful is On-Rev Team would add the sendmail/mail log to the cPanel thing. :-/ can't even see the logs! Argh! Cheers andre On Wed, Mar 3, 2010 at 11:57 AM, Andre Garzia wrote: > Bernard & Jeffrey, > > thanks for the reply. > > On On-Rev cPanel there's a information label with the sendmail location, > which I used on my script but the thing is not working. > > I have code for "mail" as well as I used this on mac os x... silly > computers never working the way they should, let me try mail. > > Cheers > andre > > > On Wed, Mar 3, 2010 at 11:50 AM, Bernard Devlin wrote: > >> On Wed, Mar 3, 2010 at 1:55 PM, Andre Garzia >> wrote: >> > Aloha Folks, >> > >> > Did anyone here is able to send email using sendmail in On-Rev, my code >> that >> > I use everywhere is not working anymore, somehow it can't open the >> sendmail >> > process. >> >> Some linux installations have a CLI mailer called 'mail' instead of >> 'sendmail'. I know on some installations where Postfix is the smtpd >> I've had to install that 'mail' program separately. I don't have the >> details to hand, but can look them up if necessary. >> >> You could try 'there is a file /usr/bin/sendmail' to check for the >> existence of sendmail with on-rev. >> >> Bernard >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Wed Mar 3 10:27:20 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 3 Mar 2010 12:27:20 -0300 Subject: [On-Rev] sending email thru sendmail?! In-Reply-To: <7c87a2a11003030709g50f31603tdb290eb95371f19f@mail.gmail.com> References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> <7c87a2a11003030657n6914185evd15473b2ce1a8ab4@mail.gmail.com> <7c87a2a11003030709g50f31603tdb290eb95371f19f@mail.gmail.com> Message-ID: <7c87a2a11003030727s3c76e1e0j8ad8681dc26471ed@mail.gmail.com> Ha! Logged thru SSH and tried both mail and sendmail and none works! :D \o/ Doing the happy dance, it is definitely broken or configured so badly that it doesn't work as all the other installations I've found. Anyone is able to send mail in On-Rev? Cheers andre On Wed, Mar 3, 2010 at 12:09 PM, Andre Garzia wrote: > Just tried the mail + shell commands and it doesn't work as well... > > no error is triggered but the email also never arrives. It would be useful > is On-Rev Team would add the sendmail/mail log to the cPanel thing. > > :-/ > > can't even see the logs! Argh! > > Cheers > andre > > > On Wed, Mar 3, 2010 at 11:57 AM, Andre Garzia wrote: > >> Bernard & Jeffrey, >> >> thanks for the reply. >> >> On On-Rev cPanel there's a information label with the sendmail location, >> which I used on my script but the thing is not working. >> >> I have code for "mail" as well as I used this on mac os x... silly >> computers never working the way they should, let me try mail. >> >> Cheers >> andre >> >> >> On Wed, Mar 3, 2010 at 11:50 AM, Bernard Devlin wrote: >> >>> On Wed, Mar 3, 2010 at 1:55 PM, Andre Garzia >>> wrote: >>> > Aloha Folks, >>> > >>> > Did anyone here is able to send email using sendmail in On-Rev, my code >>> that >>> > I use everywhere is not working anymore, somehow it can't open the >>> sendmail >>> > process. >>> >>> Some linux installations have a CLI mailer called 'mail' instead of >>> 'sendmail'. I know on some installations where Postfix is the smtpd >>> I've had to install that 'mail' program separately. I don't have the >>> details to hand, but can look them up if necessary. >>> >>> You could try 'there is a file /usr/bin/sendmail' to check for the >>> existence of sendmail with on-rev. >>> >>> Bernard >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> >> >> -- >> http://www.andregarzia.com All We Do Is Code. >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > -- http://www.andregarzia.com All We Do Is Code. From devin_asay at byu.edu Wed Mar 3 10:30:01 2010 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 3 Mar 2010 08:30:01 -0700 Subject: parsing data returned from "the foundLine" In-Reply-To: References: <4B8DE546.3000901@hyperactivesw.com> Message-ID: <1EE9DF86-25D3-41D8-8F36-6706F5CBE893@byu.edu> On Mar 3, 2010, at 6:43 AM, David Coker wrote: >> >> Try: get the value of the foundline >> > That is definitely a step much closer. :) > > I usually keep the dictionary open as a reference while I'm working, > but it certainly didn't help in this case. > > ...I think I'm gonna revisit *all* of the documentation covering > "chunking" again before I go much further with this little project. It > seems that I am still missing some of the concepts, methods and/or > possibilities that Rev offers when it comes to parsing textual data. David, I have an overview of Rev's chunking, text parsing and find tokens at http://revolution.byu.edu/textfind/TextandFind.php . You may find it useful. Regards, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From selander at tkf.att.ne.jp Wed Mar 3 10:56:41 2010 From: selander at tkf.att.ne.jp (Tim Selander) Date: Thu, 04 Mar 2010 00:56:41 +0900 Subject: [On-Rev] sending email thru sendmail?! -- Heather, Please Read In-Reply-To: <7c87a2a11003030709g50f31603tdb290eb95371f19f@mail.gmail.com> References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> <7c87a2a11003030657n6914185evd15473b2ce1a8ab4@mail.gmail.com> <7c87a2a11003030709g50f31603tdb290eb95371f19f@mail.gmail.com> Message-ID: <4B8E86B9.4030806@tkf.att.ne.jp> I had the same frustration with sendmail with my on-rev account and wrote support. Heather promptly wrote back, explaining that because of security problems (I think it was) with sendmail, they have disabled it on on-rev. I pointed out (a little bruskly I'm afraid) that I wasted hours and hours trying to make the thing work because it was listed in the cPanel, that if they are going to disable it then they should TAKE IT OUT OF the cPanel. Since you also were lead astray by that, I really hope they read this and either activate sendmail or at least take it off the cPanel!!! Tim Selander Tokyo, Japan Andre Garzia wrote: > Just tried the mail + shell commands and it doesn't work as well... > > no error is triggered but the email also never arrives. It would be useful > is On-Rev Team would add the sendmail/mail log to the cPanel thing. > > :-/ > From rabit at dimensionB.de Wed Mar 3 10:58:12 2010 From: rabit at dimensionB.de (Ralf Bitter) Date: Wed, 3 Mar 2010 16:58:12 +0100 Subject: [On-Rev] sending email thru sendmail?! In-Reply-To: <7c87a2a11003030727s3c76e1e0j8ad8681dc26471ed@mail.gmail.com> References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> <7c87a2a11003030657n6914185evd15473b2ce1a8ab4@mail.gmail.com> <7c87a2a11003030709g50f31603tdb290eb95371f19f@mail.gmail.com> <7c87a2a11003030727s3c76e1e0j8ad8681dc26471ed@mail.gmail.com> Message-ID: <3C0ADBB7-2C4D-45AD-A587-FE3473CBDC93@dimensionB.de> Hi Andre, with revIgniter it works, plus there is a debugger function. Cheers Ralf On 03.03.2010, at 16:27, Andre Garzia wrote: > Ha! > > Logged thru SSH and tried both mail and sendmail and none works! > > :D > > \o/ > > Doing the happy dance, it is definitely broken or configured so badly that > it doesn't work as all the other installations I've found. > > Anyone is able to send mail in On-Rev? > > Cheers > andre > > On Wed, Mar 3, 2010 at 12:09 PM, Andre Garzia wrote: > >> Just tried the mail + shell commands and it doesn't work as well... >> >> no error is triggered but the email also never arrives. It would be useful >> is On-Rev Team would add the sendmail/mail log to the cPanel thing. >> >> :-/ >> >> can't even see the logs! Argh! >> >> Cheers >> andre >> >> >> On Wed, Mar 3, 2010 at 11:57 AM, Andre Garzia wrote: >> >>> Bernard & Jeffrey, >>> >>> thanks for the reply. >>> >>> On On-Rev cPanel there's a information label with the sendmail location, >>> which I used on my script but the thing is not working. >>> >>> I have code for "mail" as well as I used this on mac os x... silly >>> computers never working the way they should, let me try mail. >>> >>> Cheers >>> andre >>> >>> >>> On Wed, Mar 3, 2010 at 11:50 AM, Bernard Devlin wrote: >>> >>>> On Wed, Mar 3, 2010 at 1:55 PM, Andre Garzia >>>> wrote: >>>>> Aloha Folks, >>>>> >>>>> Did anyone here is able to send email using sendmail in On-Rev, my code >>>> that >>>>> I use everywhere is not working anymore, somehow it can't open the >>>> sendmail >>>>> process. >>>> >>>> Some linux installations have a CLI mailer called 'mail' instead of >>>> 'sendmail'. I know on some installations where Postfix is the smtpd >>>> I've had to install that 'mail' program separately. I don't have the >>>> details to hand, but can look them up if necessary. >>>> >>>> You could try 'there is a file /usr/bin/sendmail' to check for the >>>> existence of sendmail with on-rev. >>>> >>>> Bernard >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>> >>> >>> >>> -- >>> http://www.andregarzia.com All We Do Is Code. >>> >> >> >> >> -- >> http://www.andregarzia.com All We Do Is Code. >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From andre at andregarzia.com Wed Mar 3 11:05:32 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 3 Mar 2010 13:05:32 -0300 Subject: [On-Rev] sending email thru sendmail?! In-Reply-To: <3C0ADBB7-2C4D-45AD-A587-FE3473CBDC93@dimensionB.de> References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> <7c87a2a11003030657n6914185evd15473b2ce1a8ab4@mail.gmail.com> <7c87a2a11003030709g50f31603tdb290eb95371f19f@mail.gmail.com> <7c87a2a11003030727s3c76e1e0j8ad8681dc26471ed@mail.gmail.com> <3C0ADBB7-2C4D-45AD-A587-FE3473CBDC93@dimensionB.de> Message-ID: <7c87a2a11003030805icaf333p3726873b23b34008@mail.gmail.com> tried to use mail -s from command line, didn't work here... :-/ there's something fishy happening. On Wed, Mar 3, 2010 at 12:58 PM, Ralf Bitter wrote: > Hi Andre, > > with revIgniter it works, plus there is > a debugger function. > > Cheers > > Ralf > > > On 03.03.2010, at 16:27, Andre Garzia wrote: > > > Ha! > > > > Logged thru SSH and tried both mail and sendmail and none works! > > > > :D > > > > \o/ > > > > Doing the happy dance, it is definitely broken or configured so badly > that > > it doesn't work as all the other installations I've found. > > > > Anyone is able to send mail in On-Rev? > > > > Cheers > > andre > > > > On Wed, Mar 3, 2010 at 12:09 PM, Andre Garzia > wrote: > > > >> Just tried the mail + shell commands and it doesn't work as well... > >> > >> no error is triggered but the email also never arrives. It would be > useful > >> is On-Rev Team would add the sendmail/mail log to the cPanel thing. > >> > >> :-/ > >> > >> can't even see the logs! Argh! > >> > >> Cheers > >> andre > >> > >> > >> On Wed, Mar 3, 2010 at 11:57 AM, Andre Garzia >wrote: > >> > >>> Bernard & Jeffrey, > >>> > >>> thanks for the reply. > >>> > >>> On On-Rev cPanel there's a information label with the sendmail > location, > >>> which I used on my script but the thing is not working. > >>> > >>> I have code for "mail" as well as I used this on mac os x... silly > >>> computers never working the way they should, let me try mail. > >>> > >>> Cheers > >>> andre > >>> > >>> > >>> On Wed, Mar 3, 2010 at 11:50 AM, Bernard Devlin >wrote: > >>> > >>>> On Wed, Mar 3, 2010 at 1:55 PM, Andre Garzia > >>>> wrote: > >>>>> Aloha Folks, > >>>>> > >>>>> Did anyone here is able to send email using sendmail in On-Rev, my > code > >>>> that > >>>>> I use everywhere is not working anymore, somehow it can't open the > >>>> sendmail > >>>>> process. > >>>> > >>>> Some linux installations have a CLI mailer called 'mail' instead of > >>>> 'sendmail'. I know on some installations where Postfix is the smtpd > >>>> I've had to install that 'mail' program separately. I don't have the > >>>> details to hand, but can look them up if necessary. > >>>> > >>>> You could try 'there is a file /usr/bin/sendmail' to check for the > >>>> existence of sendmail with on-rev. > >>>> > >>>> Bernard > >>>> _______________________________________________ > >>>> use-revolution mailing list > >>>> use-revolution at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-revolution > >>>> > >>> > >>> > >>> > >>> -- > >>> http://www.andregarzia.com All We Do Is Code. > >>> > >> > >> > >> > >> -- > >> http://www.andregarzia.com All We Do Is Code. > >> > > > > > > > > -- > > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Wed Mar 3 11:07:46 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 3 Mar 2010 13:07:46 -0300 Subject: [On-Rev] sending email thru sendmail?! -- Heather, Please Read In-Reply-To: <4B8E86B9.4030806@tkf.att.ne.jp> References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> <7c87a2a11003030657n6914185evd15473b2ce1a8ab4@mail.gmail.com> <7c87a2a11003030709g50f31603tdb290eb95371f19f@mail.gmail.com> <4B8E86B9.4030806@tkf.att.ne.jp> Message-ID: <7c87a2a11003030807p1b642cav999b48659c7c69e@mail.gmail.com> Tim, thanks for the reply! If sendmail is disabled, it should not appear in cPanel... also mail is not working, so how we're supposed to send those damn emails! ARRRRGHHHH!!! Andre PS: I WANT LOGS! On Wed, Mar 3, 2010 at 12:56 PM, Tim Selander wrote: > I had the same frustration with sendmail with my on-rev account and wrote > support. Heather promptly wrote back, explaining that because of security > problems (I think it was) with sendmail, they have disabled it on on-rev. > > I pointed out (a little bruskly I'm afraid) that I wasted hours and hours > trying to make the thing work because it was listed in the cPanel, that if > they are going to disable it then they should TAKE IT OUT OF the cPanel. > Since you also were lead astray by that, I really hope they read this and > either activate sendmail or at least take it off the cPanel!!! > > Tim Selander > Tokyo, Japan > > > Andre Garzia wrote: > >> Just tried the mail + shell commands and it doesn't work as well... >> >> no error is triggered but the email also never arrives. It would be useful >> is On-Rev Team would add the sendmail/mail log to the cPanel thing. >> >> :-/ >> >> _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Wed Mar 3 11:10:54 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 3 Mar 2010 13:10:54 -0300 Subject: [On-Rev] sending email thru sendmail?! In-Reply-To: <3C0ADBB7-2C4D-45AD-A587-FE3473CBDC93@dimensionB.de> References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> <7c87a2a11003030657n6914185evd15473b2ce1a8ab4@mail.gmail.com> <7c87a2a11003030709g50f31603tdb290eb95371f19f@mail.gmail.com> <7c87a2a11003030727s3c76e1e0j8ad8681dc26471ed@mail.gmail.com> <3C0ADBB7-2C4D-45AD-A587-FE3473CBDC93@dimensionB.de> Message-ID: <7c87a2a11003030810h798c4ac4x8ff4c689142b0eb@mail.gmail.com> Ralf, this is a self contained system to be distributted, can't use revIgniter because this is supposed to integrate into other people works... it is a minimal system. Tried using mail and sendmail... I am almost about to code SMTP on my own, I did it before... damn andre On Wed, Mar 3, 2010 at 12:58 PM, Ralf Bitter wrote: > Hi Andre, > > with revIgniter it works, plus there is > a debugger function. > > Cheers > > Ralf > > > On 03.03.2010, at 16:27, Andre Garzia wrote: > > > Ha! > > > > Logged thru SSH and tried both mail and sendmail and none works! > > > > :D > > > > \o/ > > > > Doing the happy dance, it is definitely broken or configured so badly > that > > it doesn't work as all the other installations I've found. > > > > Anyone is able to send mail in On-Rev? > > > > Cheers > > andre > > > > On Wed, Mar 3, 2010 at 12:09 PM, Andre Garzia > wrote: > > > >> Just tried the mail + shell commands and it doesn't work as well... > >> > >> no error is triggered but the email also never arrives. It would be > useful > >> is On-Rev Team would add the sendmail/mail log to the cPanel thing. > >> > >> :-/ > >> > >> can't even see the logs! Argh! > >> > >> Cheers > >> andre > >> > >> > >> On Wed, Mar 3, 2010 at 11:57 AM, Andre Garzia >wrote: > >> > >>> Bernard & Jeffrey, > >>> > >>> thanks for the reply. > >>> > >>> On On-Rev cPanel there's a information label with the sendmail > location, > >>> which I used on my script but the thing is not working. > >>> > >>> I have code for "mail" as well as I used this on mac os x... silly > >>> computers never working the way they should, let me try mail. > >>> > >>> Cheers > >>> andre > >>> > >>> > >>> On Wed, Mar 3, 2010 at 11:50 AM, Bernard Devlin >wrote: > >>> > >>>> On Wed, Mar 3, 2010 at 1:55 PM, Andre Garzia > >>>> wrote: > >>>>> Aloha Folks, > >>>>> > >>>>> Did anyone here is able to send email using sendmail in On-Rev, my > code > >>>> that > >>>>> I use everywhere is not working anymore, somehow it can't open the > >>>> sendmail > >>>>> process. > >>>> > >>>> Some linux installations have a CLI mailer called 'mail' instead of > >>>> 'sendmail'. I know on some installations where Postfix is the smtpd > >>>> I've had to install that 'mail' program separately. I don't have the > >>>> details to hand, but can look them up if necessary. > >>>> > >>>> You could try 'there is a file /usr/bin/sendmail' to check for the > >>>> existence of sendmail with on-rev. > >>>> > >>>> Bernard > >>>> _______________________________________________ > >>>> use-revolution mailing list > >>>> use-revolution at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-revolution > >>>> > >>> > >>> > >>> > >>> -- > >>> http://www.andregarzia.com All We Do Is Code. > >>> > >> > >> > >> > >> -- > >> http://www.andregarzia.com All We Do Is Code. > >> > > > > > > > > -- > > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From rabit at dimensionB.de Wed Mar 3 11:19:36 2010 From: rabit at dimensionB.de (Ralf Bitter) Date: Wed, 3 Mar 2010 17:19:36 +0100 Subject: [On-Rev] sending email thru sendmail?! In-Reply-To: <7c87a2a11003030810h798c4ac4x8ff4c689142b0eb@mail.gmail.com> References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> <7c87a2a11003030657n6914185evd15473b2ce1a8ab4@mail.gmail.com> <7c87a2a11003030709g50f31603tdb290eb95371f19f@mail.gmail.com> <7c87a2a11003030727s3c76e1e0j8ad8681dc26471ed@mail.gmail.com> <3C0ADBB7-2C4D-45AD-A587-FE3473CBDC93@dimensionB.de> <7c87a2a11003030810h798c4ac4x8ff4c689142b0eb@mail.gmail.com> Message-ID: <608D67F5-A4E9-4350-A99D-25858186DA5B@dimensionB.de> Andre, before coding your own SMTP, you could check out and plunder the eMail library of revIgniter, especially the _sendWithSendmail function. Ralf On 03.03.2010, at 17:10, Andre Garzia wrote: > Ralf, > > this is a self contained system to be distributted, can't use revIgniter > because this is supposed to integrate into other people works... it is a > minimal system. > > Tried using mail and sendmail... I am almost about to code SMTP on my own, I > did it before... > > damn > andre > > On Wed, Mar 3, 2010 at 12:58 PM, Ralf Bitter wrote: > >> Hi Andre, >> >> with revIgniter it works, plus there is >> a debugger function. >> >> Cheers >> >> Ralf >> >> >> On 03.03.2010, at 16:27, Andre Garzia wrote: >> >>> Ha! >>> >>> Logged thru SSH and tried both mail and sendmail and none works! >>> >>> :D >>> >>> \o/ >>> >>> Doing the happy dance, it is definitely broken or configured so badly >> that >>> it doesn't work as all the other installations I've found. >>> >>> Anyone is able to send mail in On-Rev? >>> >>> Cheers >>> andre >>> >>> On Wed, Mar 3, 2010 at 12:09 PM, Andre Garzia >> wrote: >>> >>>> Just tried the mail + shell commands and it doesn't work as well... >>>> >>>> no error is triggered but the email also never arrives. It would be >> useful >>>> is On-Rev Team would add the sendmail/mail log to the cPanel thing. >>>> >>>> :-/ >>>> >>>> can't even see the logs! Argh! >>>> >>>> Cheers >>>> andre >>>> >>>> >>>> On Wed, Mar 3, 2010 at 11:57 AM, Andre Garzia >> wrote: >>>> >>>>> Bernard & Jeffrey, >>>>> >>>>> thanks for the reply. >>>>> >>>>> On On-Rev cPanel there's a information label with the sendmail >> location, >>>>> which I used on my script but the thing is not working. >>>>> >>>>> I have code for "mail" as well as I used this on mac os x... silly >>>>> computers never working the way they should, let me try mail. >>>>> >>>>> Cheers >>>>> andre >>>>> >>>>> >>>>> On Wed, Mar 3, 2010 at 11:50 AM, Bernard Devlin >> wrote: >>>>> >>>>>> On Wed, Mar 3, 2010 at 1:55 PM, Andre Garzia >>>>>> wrote: >>>>>>> Aloha Folks, >>>>>>> >>>>>>> Did anyone here is able to send email using sendmail in On-Rev, my >> code >>>>>> that >>>>>>> I use everywhere is not working anymore, somehow it can't open the >>>>>> sendmail >>>>>>> process. >>>>>> >>>>>> Some linux installations have a CLI mailer called 'mail' instead of >>>>>> 'sendmail'. I know on some installations where Postfix is the smtpd >>>>>> I've had to install that 'mail' program separately. I don't have the >>>>>> details to hand, but can look them up if necessary. >>>>>> >>>>>> You could try 'there is a file /usr/bin/sendmail' to check for the >>>>>> existence of sendmail with on-rev. >>>>>> >>>>>> Bernard >>>>>> _______________________________________________ >>>>>> use-revolution mailing list >>>>>> use-revolution at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> http://www.andregarzia.com All We Do Is Code. >>>>> >>>> >>>> >>>> >>>> -- >>>> http://www.andregarzia.com All We Do Is Code. >>>> >>> >>> >>> >>> -- >>> http://www.andregarzia.com All We Do Is Code. >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From capellan2000 at gmail.com Wed Mar 3 11:29:48 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 3 Mar 2010 08:29:48 -0800 (PST) Subject: Docking Stacks In-Reply-To: <1267566199647-1575781.post@n4.nabble.com> References: <1267550467761-1575334.post@n4.nabble.com> <1267566199647-1575781.post@n4.nabble.com> Message-ID: <1267633788406-1576822.post@n4.nabble.com> Hi Andrew, Effectively, Chipp Walters published a stack named altBuddyStack >From his webpage: The altBuddyStack library enables multiple stacks to 'dock' to each other, then be moved around as a single stack. Visit this page: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm Alejandro -- View this message in context: http://n4.nabble.com/Docking-Stacks-tp1575334p1576822.html Sent from the Revolution - User mailing list archive at Nabble.com. From andre at andregarzia.com Wed Mar 3 11:33:04 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 3 Mar 2010 13:33:04 -0300 Subject: [On-Rev] sending email thru sendmail?! In-Reply-To: <608D67F5-A4E9-4350-A99D-25858186DA5B@dimensionB.de> References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> <7c87a2a11003030657n6914185evd15473b2ce1a8ab4@mail.gmail.com> <7c87a2a11003030709g50f31603tdb290eb95371f19f@mail.gmail.com> <7c87a2a11003030727s3c76e1e0j8ad8681dc26471ed@mail.gmail.com> <3C0ADBB7-2C4D-45AD-A587-FE3473CBDC93@dimensionB.de> <7c87a2a11003030810h798c4ac4x8ff4c689142b0eb@mail.gmail.com> <608D67F5-A4E9-4350-A99D-25858186DA5B@dimensionB.de> Message-ID: <7c87a2a11003030833q22ed0a0epfe5f5d2432e0a218@mail.gmail.com> Ralf, we're using almost the exact same code... I will patch mine to work like yours. Also, if you have the time, can you try one of your revIgniter email sending routines sending an email to andre at andregarzia.com I tried your code sending to my address and it didn't arrive (not even on spam box) but it worked for my .mac account... :-/ Cheers andre On Wed, Mar 3, 2010 at 1:19 PM, Ralf Bitter wrote: > Andre, > > before coding your own SMTP, you could check out > and plunder the eMail library of revIgniter, > especially the _sendWithSendmail function. > > Ralf > > > On 03.03.2010, at 17:10, Andre Garzia wrote: > > > Ralf, > > > > this is a self contained system to be distributted, can't use revIgniter > > because this is supposed to integrate into other people works... it is a > > minimal system. > > > > Tried using mail and sendmail... I am almost about to code SMTP on my > own, I > > did it before... > > > > damn > > andre > > > > On Wed, Mar 3, 2010 at 12:58 PM, Ralf Bitter > wrote: > > > >> Hi Andre, > >> > >> with revIgniter it works, plus there is > >> a debugger function. > >> > >> Cheers > >> > >> Ralf > >> > >> > >> On 03.03.2010, at 16:27, Andre Garzia wrote: > >> > >>> Ha! > >>> > >>> Logged thru SSH and tried both mail and sendmail and none works! > >>> > >>> :D > >>> > >>> \o/ > >>> > >>> Doing the happy dance, it is definitely broken or configured so badly > >> that > >>> it doesn't work as all the other installations I've found. > >>> > >>> Anyone is able to send mail in On-Rev? > >>> > >>> Cheers > >>> andre > >>> > >>> On Wed, Mar 3, 2010 at 12:09 PM, Andre Garzia > >> wrote: > >>> > >>>> Just tried the mail + shell commands and it doesn't work as well... > >>>> > >>>> no error is triggered but the email also never arrives. It would be > >> useful > >>>> is On-Rev Team would add the sendmail/mail log to the cPanel thing. > >>>> > >>>> :-/ > >>>> > >>>> can't even see the logs! Argh! > >>>> > >>>> Cheers > >>>> andre > >>>> > >>>> > >>>> On Wed, Mar 3, 2010 at 11:57 AM, Andre Garzia >>> wrote: > >>>> > >>>>> Bernard & Jeffrey, > >>>>> > >>>>> thanks for the reply. > >>>>> > >>>>> On On-Rev cPanel there's a information label with the sendmail > >> location, > >>>>> which I used on my script but the thing is not working. > >>>>> > >>>>> I have code for "mail" as well as I used this on mac os x... silly > >>>>> computers never working the way they should, let me try mail. > >>>>> > >>>>> Cheers > >>>>> andre > >>>>> > >>>>> > >>>>> On Wed, Mar 3, 2010 at 11:50 AM, Bernard Devlin >>> wrote: > >>>>> > >>>>>> On Wed, Mar 3, 2010 at 1:55 PM, Andre Garzia > > >>>>>> wrote: > >>>>>>> Aloha Folks, > >>>>>>> > >>>>>>> Did anyone here is able to send email using sendmail in On-Rev, my > >> code > >>>>>> that > >>>>>>> I use everywhere is not working anymore, somehow it can't open the > >>>>>> sendmail > >>>>>>> process. > >>>>>> > >>>>>> Some linux installations have a CLI mailer called 'mail' instead of > >>>>>> 'sendmail'. I know on some installations where Postfix is the smtpd > >>>>>> I've had to install that 'mail' program separately. I don't have > the > >>>>>> details to hand, but can look them up if necessary. > >>>>>> > >>>>>> You could try 'there is a file /usr/bin/sendmail' to check for the > >>>>>> existence of sendmail with on-rev. > >>>>>> > >>>>>> Bernard > >>>>>> _______________________________________________ > >>>>>> use-revolution mailing list > >>>>>> use-revolution at lists.runrev.com > >>>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>>> subscription preferences: > >>>>>> http://lists.runrev.com/mailman/listinfo/use-revolution > >>>>>> > >>>>> > >>>>> > >>>>> > >>>>> -- > >>>>> http://www.andregarzia.com All We Do Is Code. > >>>>> > >>>> > >>>> > >>>> > >>>> -- > >>>> http://www.andregarzia.com All We Do Is Code. > >>>> > >>> > >>> > >>> > >>> -- > >>> http://www.andregarzia.com All We Do Is Code. > >>> _______________________________________________ > >>> use-revolution mailing list > >>> use-revolution at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > > > > > -- > > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From capellan2000 at gmail.com Wed Mar 3 11:40:05 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 3 Mar 2010 08:40:05 -0800 (PST) Subject: Custom tab controls In-Reply-To: <963c86eb1003020831x53b3b71fn282142dbf6e9f00b@mail.gmail.com> References: <963c86eb1003020831x53b3b71fn282142dbf6e9f00b@mail.gmail.com> Message-ID: <1267634405794-1576838.post@n4.nabble.com> Hi Jeff, Chipp Walters published a stack named tabExample.rev >From his webpage: Custom Tabs Chris Sheffield asked about creating custom tabs. This stack should explain it. Visit his page: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm Alejandro -- View this message in context: http://n4.nabble.com/Custom-tab-controls-tp1575259p1576838.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at elementarysoftware.com Wed Mar 3 11:52:15 2010 From: scott at elementarysoftware.com (Scott Morrow) Date: Wed, 3 Mar 2010 08:52:15 -0800 Subject: File Associations? In-Reply-To: <7c87a2a11003030442j2f1ddcbeu1473b49e87863041@mail.gmail.com> References: <2CCF94A9-DBEC-48B3-95B1-DC91C25E98B2@elementarysoftware.com> <7c87a2a11003030442j2f1ddcbeu1473b49e87863041@mail.gmail.com> Message-ID: <4B05F699-CA94-42BD-BBBB-2B7EDA40908D@elementarysoftware.com> Hello Scott, The relaunch handler (in the stack script of the executable) should still be in the message path even if you close the stack... unless I misunderstand the design, the executable that stack is attached to would still be in memory and running. -Scott Morrow > Is it possible that the relaunch message is failing for me because > I'm using a splash/data arrangement for my standalone? My splash > executable launches a data stack and then closes the launching > stack. Could this be why any subsequent launches of the EXE don't > trigger the relaunch handler? > Regards, Scott Rossi > Creative Director Tactile Media, UX Design From revdev at pdslabs.net Wed Mar 3 12:07:49 2010 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 03 Mar 2010 09:07:49 -0800 Subject: [On-Rev] sending email thru sendmail?! In-Reply-To: <7c87a2a11003030810h798c4ac4x8ff4c689142b0eb@mail.gmail.com> References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> <7c87a2a11003030657n6914185evd15473b2ce1a8ab4@mail.gmail.com> <7c87a2a11003030709g50f31603tdb290eb95371f19f@mail.gmail.com> <7c87a2a11003030727s3c76e1e0j8ad8681dc26471ed@mail.gmail.com> <3C0ADBB7-2C4D-45AD-A587-FE3473CBDC93@dimensionB.de> <7c87a2a11003030810h798c4ac4x8ff4c689142b0eb@mail.gmail.com> Message-ID: <4B8E9765.60407@pdslabs.net> Hi Andre, A few months ago, Tereza and I created a revweb test for my client to use with his customers. At the end it emails test results automatically from a CGI on the on-rev server. I just now tested it and it works. It's emailing from a CGI, not from irev code, so maybe it won't answer your need; but maybe it will: on sendReport pEmail, pReport -- start process put ("mail -s" && q("RevWeb Test Results") && \ "revwebtest at domain1.com -a" && q("From: donotreply at domain2.com")) & cr into tMailProcess open process tMailProcess for write put the result into tPID put "open:" && tPID & cr after tLog -- write body --put "Here are the results from your Rev Web Test:" & cr & pReport into tBody put cr & pReport into tBody write tBody to process tMailProcess put "write body:" && the result & cr after tLog -- provide a CC write "" & cr to process tMailProcess put "write CC:" && the result & cr after tLog close process tMailProcess put "close:" && the result & cr after tLog wait until tMailProcess is not in the openProcesses end sendReport Best - Phil Davis On 3/3/10 8:10 AM, Andre Garzia wrote: > Ralf, > > this is a self contained system to be distributted, can't use revIgniter > because this is supposed to integrate into other people works... it is a > minimal system. > > Tried using mail and sendmail... I am almost about to code SMTP on my own, I > did it before... > > damn > andre > > On Wed, Mar 3, 2010 at 12:58 PM, Ralf Bitter wrote: > > >> Hi Andre, >> >> with revIgniter it works, plus there is >> a debugger function. >> >> Cheers >> >> Ralf >> >> >> On 03.03.2010, at 16:27, Andre Garzia wrote: >> >> >>> Ha! >>> >>> Logged thru SSH and tried both mail and sendmail and none works! >>> >>> :D >>> >>> \o/ >>> >>> Doing the happy dance, it is definitely broken or configured so badly >>> >> that >> >>> it doesn't work as all the other installations I've found. >>> >>> Anyone is able to send mail in On-Rev? >>> >>> Cheers >>> andre >>> >>> On Wed, Mar 3, 2010 at 12:09 PM, Andre Garzia >>> >> wrote: >> >>> >>>> Just tried the mail + shell commands and it doesn't work as well... >>>> >>>> no error is triggered but the email also never arrives. It would be >>>> >> useful >> >>>> is On-Rev Team would add the sendmail/mail log to the cPanel thing. >>>> >>>> :-/ >>>> >>>> can't even see the logs! Argh! >>>> >>>> Cheers >>>> andre >>>> >>>> >>>> On Wed, Mar 3, 2010 at 11:57 AM, Andre Garzia>>> >>> wrote: >>> >>>> >>>>> Bernard& Jeffrey, >>>>> >>>>> thanks for the reply. >>>>> >>>>> On On-Rev cPanel there's a information label with the sendmail >>>>> >> location, >> >>>>> which I used on my script but the thing is not working. >>>>> >>>>> I have code for "mail" as well as I used this on mac os x... silly >>>>> computers never working the way they should, let me try mail. >>>>> >>>>> Cheers >>>>> andre >>>>> >>>>> >>>>> On Wed, Mar 3, 2010 at 11:50 AM, Bernard Devlin>>>> >>> wrote: >>> >>>>> >>>>>> On Wed, Mar 3, 2010 at 1:55 PM, Andre Garzia >>>>>> wrote: >>>>>> >>>>>>> Aloha Folks, >>>>>>> >>>>>>> Did anyone here is able to send email using sendmail in On-Rev, my >>>>>>> >> code >> >>>>>> that >>>>>> >>>>>>> I use everywhere is not working anymore, somehow it can't open the >>>>>>> >>>>>> sendmail >>>>>> >>>>>>> process. >>>>>>> >>>>>> Some linux installations have a CLI mailer called 'mail' instead of >>>>>> 'sendmail'. I know on some installations where Postfix is the smtpd >>>>>> I've had to install that 'mail' program separately. I don't have the >>>>>> details to hand, but can look them up if necessary. >>>>>> >>>>>> You could try 'there is a file /usr/bin/sendmail' to check for the >>>>>> existence of sendmail with on-rev. >>>>>> >>>>>> Bernard >>>>>> _______________________________________________ >>>>>> use-revolution mailing list >>>>>> use-revolution at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> http://www.andregarzia.com All We Do Is Code. >>>>> >>>>> >>>> >>>> >>>> -- >>>> http://www.andregarzia.com All We Do Is Code. >>>> >>>> >>> >>> >>> -- >>> http://www.andregarzia.com All We Do Is Code. >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> >> subscription preferences: >> >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From scott at tactilemedia.com Wed Mar 3 13:07:00 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 03 Mar 2010 10:07:00 -0800 Subject: File Associations? In-Reply-To: <90D68DE3-0E9D-4AAD-85FC-4F679C780C33@elementarysoftware.com> Message-ID: Recently, Scott Morrow wrote: > This post has the scripting I use for "Relaunch" so that multiple instance of > the app won't launch. I'm using it with a Splash-screen design as well. There > are 2 script blocks, the first of which has to go at the stack level. > [ snip ] Thanks Scott. I'm part way to a solution. Apparently "relaunch" only works with the stack bound to the engine in the splash standalone. I was trying to use it with the main stack opened by the splash app (the splash stack was immediately closed after launch). I also learned how to get the path of a double-clicked document using the environment variable $1 at startup, so if my app is launched by a document, it will load the document after launching. But I'm still facing the disassociated file issue. Documents saved by my app with a custom file extension continue to show up with the generic Windows document icon, instead of the custom icon in my standalone, and bring up the "choose application" dialog when double-clicked. I tried your suggestion of manually assigning the icon via file properties, and it did change (to the icon of an app somewhere else on the drive), but I'm not sure where in the registry this was updated (if at all). [sigh] Hours being sucked away by these details... Regards, Scott Rossi Creative Director Tactile Media, UX Design From mwieder at ahsoftware.net Wed Mar 3 13:19:57 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 3 Mar 2010 10:19:57 -0800 Subject: [On-Rev] sending email thru sendmail?! In-Reply-To: <7c87a2a11003030805icaf333p3726873b23b34008@mail.gmail.com> References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> <7c87a2a11003030657n6914185evd15473b2ce1a8ab4@mail.gmail.com> <7c87a2a11003030709g50f31603tdb290eb95371f19f@mail.gmail.com> <7c87a2a11003030727s3c76e1e0j8ad8681dc26471ed@mail.gmail.com> <3C0ADBB7-2C4D-45AD-A587-FE3473CBDC93@dimensionB.de> <7c87a2a11003030805icaf333p3726873b23b34008@mail.gmail.com> Message-ID: <43169522859.20100303101957@ahsoftware.net> Andre- Wednesday, March 3, 2010, 8:05:32 AM, you wrote: > tried to use mail -s from command line, didn't work here... :-/ mail -s used to work and now no longer does. So my PayPal integration is now officially broken. -- -Mark Wieder mwieder at ahsoftware.net From andre at andregarzia.com Wed Mar 3 14:10:42 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 3 Mar 2010 16:10:42 -0300 Subject: [On-Rev] sending email thru sendmail?! In-Reply-To: <43169522859.20100303101957@ahsoftware.net> References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> <7c87a2a11003030657n6914185evd15473b2ce1a8ab4@mail.gmail.com> <7c87a2a11003030709g50f31603tdb290eb95371f19f@mail.gmail.com> <7c87a2a11003030727s3c76e1e0j8ad8681dc26471ed@mail.gmail.com> <3C0ADBB7-2C4D-45AD-A587-FE3473CBDC93@dimensionB.de> <7c87a2a11003030805icaf333p3726873b23b34008@mail.gmail.com> <43169522859.20100303101957@ahsoftware.net> Message-ID: <7c87a2a11003031110r413f87efh90856344da40c5fa@mail.gmail.com> Some one sees something wrong in this code? I've been looking at email code the whole day, I am not distinguishing things anymore. put "/usr/sbin/sendmail -t -oi -f" && quote & pFrom & quote into tCMD write "From:" && pFrom & crlf after tMail write "To:" && pTo & crlf after tMail write "Subject:" && pSubject & crlf & crlf after tMail write pBody & crlf after tMail put tempname() into tFile put tMail into url ("binfile:" & tFile) put "cat" &"e& tFile "e&& "|" && tCMD into tCMD get shell(tCMD) delete file tFile On Wed, Mar 3, 2010 at 3:19 PM, Mark Wieder wrote: > Andre- > > Wednesday, March 3, 2010, 8:05:32 AM, you wrote: > > > tried to use mail -s from command line, didn't work here... :-/ > > mail -s used to work and now no longer does. So my PayPal integration > is now officially broken. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From jacque at hyperactivesw.com Wed Mar 3 14:11:18 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Mar 2010 13:11:18 -0600 Subject: [On-Rev] sending email thru sendmail?! In-Reply-To: <7c87a2a11003030727s3c76e1e0j8ad8681dc26471ed@mail.gmail.com> References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> <7c87a2a11003030657n6914185evd15473b2ce1a8ab4@mail.gmail.com> <7c87a2a11003030709g50f31603tdb290eb95371f19f@mail.gmail.com> <7c87a2a11003030727s3c76e1e0j8ad8681dc26471ed@mail.gmail.com> Message-ID: <4B8EB456.3020002@hyperactivesw.com> Andre Garzia wrote: > Anyone is able to send mail in On-Rev? Yes, I'm using the same code that Jeff posted. I just tried it again and it is still working. Andre, didn't that code come from you? :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From runrev260805 at m-r-d.de Wed Mar 3 14:12:19 2010 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Wed, 3 Mar 2010 19:12:19 +0000 Subject: Re-2: [On-Rev] sending email thru sendmail?! Message-ID: <00000ED8.4B8EC2A2@matthias.is-a-guru.com> Hi, i just tried it out, and here it works without problems. Maybe its server specific. My server is loki. My script looks like this: -- # escape shell characters: use this function before passing data to the shell function shellEscape pText repeat for each char tChar in "\`!$" & quote replace tChar with "\" & tChar in pText end repeat return pText end shellEscape # wrap quotes around text function wrapQ pText return quote & pText & quote end wrapQ # send an email; pCc and pBcc are fixed now command mail pTo, pSub, pMsg, pFrom, pCc, pBcc put shellEscape(pTo) into pTo put shellEscape(pSub) into pSub put shellEscape(pMsg) into pMsg put shellEscape(pFrom) into pFrom put shellEscape(pCC) into pCc put shellEscape(pBcc) into pBcc put shellEscape(pAttachment) into pAttachment put shellEscape(pAttachment2) into pAttachment2 get shell("echo -e" && wrapQ(pMsg)&& "| mail -s" && wrapQ(pSub) && wrapQ(pTo) && "-c" &&wrapQ(pCc) && "-b" &&wrapQ(pBcc) && "-- -f" && wrapQ(pFrom)) end mail mail pTo,pSub, pMsg, pFrom, pCc, pBcc -- Regards, Matthias -------- Original Message -------- Subject: Re: [On-Rev] sending email thru sendmail?! (03-Mrz-2010 19:19) From: Mark Wieder To: runrev260805 at m-r-d.de > Andre- > > Wednesday, March 3, 2010, 8:05:32 AM, you wrote: > > > tried to use mail -s from command line, didn't work here... :-/ > > mail -s used to work and now no longer does. So my PayPal integration > is now officially broken. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > To: use-revolution at lists.runrev.com From jacque at hyperactivesw.com Wed Mar 3 14:21:59 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Mar 2010 13:21:59 -0600 Subject: parsing data returned from "the foundLine" In-Reply-To: References: <4B8DE546.3000901@hyperactivesw.com> Message-ID: <4B8EB6D7.2000101@hyperactivesw.com> David Coker wrote: > ...I think I'm gonna revisit *all* of the documentation covering > "chunking" again before I go much further with this little project. It > seems that I am still missing some of the concepts, methods and/or > possibilities that Rev offers when it comes to parsing textual data. Chunking is such an integral part of Rev that a good understanding is essential. But actually, what you needed to do probably isn't under the text chunking category. The problem was that "the foundline" returns a reference to a line, and what you wanted was the text of that line. That means we have to force Rev to evaluate the reference, which is what the "value" function was made to do. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Mar 3 14:23:31 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Mar 2010 13:23:31 -0600 Subject: Re-2: [On-Rev] sending email thru sendmail?! In-Reply-To: <00000ED8.4B8EC2A2@matthias.is-a-guru.com> References: <00000ED8.4B8EC2A2@matthias.is-a-guru.com> Message-ID: <4B8EB733.6020300@hyperactivesw.com> runrev260805 at m-r-d.de wrote: > Hi, > > i just tried it out, and here it works without problems. Maybe its server specific. > My server is loki. Me too, I'm on loki. Andre, what server are you on? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lists at mangomultimedia.com Wed Mar 3 14:25:23 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 3 Mar 2010 14:25:23 -0500 Subject: [On-Rev] sending email thru sendmail?! In-Reply-To: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> Message-ID: <54E80E79-B1C6-48D1-8FDD-FBA3746F2B70@mangomultimedia.com> On Mar 3, 2010, at 8:55 AM, Andre Garzia wrote: > Did anyone here is able to send email using sendmail in On-Rev, my > code that > I use everywhere is not working anymore, somehow it can't open the > sendmail > process. Maybe the function Michael McCreary mentions in this lesson is worth trying. It looks pretty complete. http://lessons.runrev.com/spaces/lessons/buckets/814/lessons/8184-Sending-Emails-From-revServer-Scripts -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From andre at andregarzia.com Wed Mar 3 14:26:24 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 3 Mar 2010 16:26:24 -0300 Subject: Re-2: [On-Rev] sending email thru sendmail?! In-Reply-To: <4B8EB733.6020300@hyperactivesw.com> References: <00000ED8.4B8EC2A2@matthias.is-a-guru.com> <4B8EB733.6020300@hyperactivesw.com> Message-ID: <7c87a2a11003031126k27f16f4dsfcc9763bcbfdb55c@mail.gmail.com> I am on loki as well ARGH! it is an addon domain... On Wed, Mar 3, 2010 at 4:23 PM, J. Landman Gay wrote: > runrev260805 at m-r-d.de wrote: > >> Hi, >> >> i just tried it out, and here it works without problems. Maybe its server >> specific. >> My server is loki. >> > > Me too, I'm on loki. Andre, what server are you on? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From jacque at hyperactivesw.com Wed Mar 3 14:28:28 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Mar 2010 13:28:28 -0600 Subject: File Associations? In-Reply-To: <7c87a2a11003030442j2f1ddcbeu1473b49e87863041@mail.gmail.com> References: <2CCF94A9-DBEC-48B3-95B1-DC91C25E98B2@elementarysoftware.com> <7c87a2a11003030442j2f1ddcbeu1473b49e87863041@mail.gmail.com> Message-ID: <4B8EB85C.8020807@hyperactivesw.com> Andre Garzia wrote: > Folks, this kind of stuff should be easy. Can we abstract that code into a > library? Also, Scott, did you solved it for Mac? The problem of multiple instances doesn't happen on Macs, so you don't have to do anything on that OS. The file associations are all handled in the plist file inside the application bundle, so that isn't usually an issue either. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Mar 3 14:30:25 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Mar 2010 13:30:25 -0600 Subject: Re-2: [On-Rev] sending email thru sendmail?! In-Reply-To: <7c87a2a11003031126k27f16f4dsfcc9763bcbfdb55c@mail.gmail.com> References: <00000ED8.4B8EC2A2@matthias.is-a-guru.com> <4B8EB733.6020300@hyperactivesw.com> <7c87a2a11003031126k27f16f4dsfcc9763bcbfdb55c@mail.gmail.com> Message-ID: <4B8EB8D1.5010605@hyperactivesw.com> Andre Garzia wrote: > I am on loki as well > > ARGH! > > it is an addon domain... Mine isn't an addon. You could try a test in your main account and see if it works there. That would give some info. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andre at andregarzia.com Wed Mar 3 14:54:40 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 3 Mar 2010 16:54:40 -0300 Subject: Re-2: [On-Rev] sending email thru sendmail?! In-Reply-To: <4B8EB8D1.5010605@hyperactivesw.com> References: <00000ED8.4B8EC2A2@matthias.is-a-guru.com> <4B8EB733.6020300@hyperactivesw.com> <7c87a2a11003031126k27f16f4dsfcc9763bcbfdb55c@mail.gmail.com> <4B8EB8D1.5010605@hyperactivesw.com> Message-ID: <7c87a2a11003031154s29a96ddck12478bd6304a8a89@mail.gmail.com> I could make it work with the function from Michael, but only sending email to my .mac account, sending email to my GMail account doesn't work, the email never arrives and is not on the spam box. :-/ odd On Wed, Mar 3, 2010 at 4:30 PM, J. Landman Gay wrote: > Andre Garzia wrote: > >> I am on loki as well >> >> ARGH! >> >> it is an addon domain... >> > > Mine isn't an addon. You could try a test in your main account and see if > it works there. That would give some info. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From runrev260805 at m-r-d.de Wed Mar 3 14:53:49 2010 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Wed, 3 Mar 2010 19:53:49 +0000 Subject: Re-4: [On-Rev] sending email thru sendmail?! Message-ID: <00000ED9.4B8ECC5C@matthias.is-a-guru.com> I am also using my script with/on an addon domain. Regards, Matthias -------- Original Message -------- Subject: Re: Re-2: [On-Rev] sending email thru sendmail?! (03-Mrz-2010 20:29) From: Andre Garzia To: runrev260805 at m-r-d.de > I am on loki as well > > ARGH! > > it is an addon domain... > > On Wed, Mar 3, 2010 at 4:23 PM, J. Landman Gay > wrote: > > > runrev260805 at m-r-d.de wrote: > > > >> Hi, > >> > >> i just tried it out, and here it works without problems. Maybe its > server > >> specific. > >> My server is loki. > >> > > > > Me too, I'm on loki. Andre, what server are you on? > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > To: use-revolution at lists.runrev.com From jperryl at ecs.fullerton.edu Wed Mar 3 14:57:25 2010 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 3 Mar 2010 11:57:25 -0800 (PST) Subject: use-revolution Digest, Vol 77, Issue 71 In-Reply-To: <4B8C287C.601@gmail.com> References: <20100226232453.3614A28825D@mail.runrev.com> <8C647D7C-8D99-4D25-9F59-8C4162D6F41A@dvglasgow.wanadoo.co.uk> <4B8BE8BC.7000407@gmail.com> <4B8C287C.601@gmail.com> Message-ID: On Mon, 1 Mar 2010, Richmond Mathewson wrote: > For Graphics and Sound I think that Open Source is really good (GIMP, > Inkscape, Audacity, Ardour(linux)), GIMP on the Mac is just okay at best (I've upgraded my assessment of it from "sucks completely") as everything seems to take two clicks, you have to run it under X11 and it neither looks nor behaves like a standard Mac app. Inkscape is blue language-inducing (I would so love to have Freehand back), so it can't be used around the kiddies. I actually like Audacity, but I probably have low standards because for the longest time the only audio app I had access to was Adobe's SoundEdit... YMMV. Judy From scott at tactilemedia.com Wed Mar 3 15:17:00 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 03 Mar 2010 12:17:00 -0800 Subject: File Associations? In-Reply-To: Message-ID: Is it possible that app name entries in the registry need to be in 8.3 format? My app name is 31 chars long, including spaces. Maybe Vista is choking on this? Regards, Scott Rossi Creative Director Tactile Media, UX Design From lists at mangomultimedia.com Wed Mar 3 15:22:51 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 3 Mar 2010 15:22:51 -0500 Subject: File Associations? In-Reply-To: References: Message-ID: <871BD385-841F-4146-8B10-67940FDB62F4@mangomultimedia.com> On Mar 3, 2010, at 3:17 PM, Scott Rossi wrote: > Is it possible that app name entries in the registry need to be in 8.3 > format? My app name is 31 chars long, including spaces. Maybe > Vista is > choking on this? You could try wrapping the name in quotes. I think you mentioned you are using INNO Setup. You will need to double-up the quotes to escape. Here is an example from my .iss file: Root: HKCR; Subkey: "ScreenSteps\shell\open\command"; ValueType: string; ValueData: """{app}\ScreenSteps.exe"" ""%1"""; Flags: uninsdeletekey -- 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 Wed Mar 3 15:44:01 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 3 Mar 2010 21:44:01 +0100 Subject: File Associations? In-Reply-To: References: Message-ID: <568B0AC8-6768-4054-BBE7-623EDC1DBDBB@economy-x-talk.com> Hi, It is right that you need to catch the relaunch message in the stack script of the stack that is opened first. This is always the stack that is embedded in the executable. It can't be any other stack. In your case, it is the splash stack. As far as I know, this is all explained in the documentation, even though it might be a bit brief. I referred to this http://qurl.tk/4x example before. It works perfectly for me, on Win 98 up to and including Vista. I don't know about Win 7 (yet). I do always use very short names for my executables. The paths always end in 8.3 DOS file names. The application names, as displayed in the Add/Remove Software control panel and in other palces, can be longer than that. I wonder whether something has changed in 4.5. I haven't used Rev 4.5 for my installer yet. Something has changed with regard to icons of Windows executables and perhaps it affects the icon that needs to be associated with your file extension. RunRev should be able to tell you this. Maybe you should post your script. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 3 mrt 2010, om 19:07 heeft Scott Rossi het volgende geschreven: > Recently, Scott Morrow wrote: > Thanks Scott. > > I'm part way to a solution. Apparently "relaunch" only works with > the stack > bound to the engine in the splash standalone. I was trying to use > it with > the main stack opened by the splash app (the splash stack was > immediately > closed after launch). > > I also learned how to get the path of a double-clicked document > using the > environment variable $1 at startup, so if my app is launched by a > document, > it will load the document after launching. > > But I'm still facing the disassociated file issue. Documents saved > by my > app with a custom file extension continue to show up with the generic > Windows document icon, instead of the custom icon in my standalone, > and > bring up the "choose application" dialog when double-clicked. I > tried your > suggestion of manually assigning the icon via file properties, and > it did > change (to the icon of an app somewhere else on the drive), but I'm > not sure > where in the registry this was updated (if at all). > > [sigh] Hours being sucked away by these details... > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > From bobs at twft.com Wed Mar 3 16:00:26 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Mar 2010 13:00:26 -0800 Subject: Re-2: [On-Rev] sending email thru sendmail?! In-Reply-To: <7c87a2a11003031154s29a96ddck12478bd6304a8a89@mail.gmail.com> References: <00000ED8.4B8EC2A2@matthias.is-a-guru.com> <4B8EB733.6020300@hyperactivesw.com> <7c87a2a11003031126k27f16f4dsfcc9763bcbfdb55c@mail.gmail.com> <4B8EB8D1.5010605@hyperactivesw.com> <7c87a2a11003031154s29a96ddck12478bd6304a8a89@mail.gmail.com> Message-ID: Doesn't gMail require SSL? Could that be the issue? Also, the SSL port for gMail SMTP is not 25 it is 465. http://mail.google.com/support/bin/answer.py?hl=en&answer=13287 Bob On Mar 3, 2010, at 11:54 AM, Andre Garzia wrote: > I could make it work with the function from Michael, but only sending email > to my .mac account, sending email to my GMail account doesn't work, the > email never arrives and is not on the spam box. > > :-/ odd > > > > On Wed, Mar 3, 2010 at 4:30 PM, J. Landman Gay wrote: > >> Andre Garzia wrote: >> >>> I am on loki as well >>> >>> ARGH! >>> >>> it is an addon domain... >>> >> >> Mine isn't an addon. You could try a test in your main account and see if >> it works there. That would give some info. >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Wed Mar 3 16:01:15 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Mar 2010 13:01:15 -0800 Subject: Re-2: [On-Rev] sending email thru sendmail?! In-Reply-To: <7c87a2a11003031154s29a96ddck12478bd6304a8a89@mail.gmail.com> References: <00000ED8.4B8EC2A2@matthias.is-a-guru.com> <4B8EB733.6020300@hyperactivesw.com> <7c87a2a11003031126k27f16f4dsfcc9763bcbfdb55c@mail.gmail.com> <4B8EB8D1.5010605@hyperactivesw.com> <7c87a2a11003031154s29a96ddck12478bd6304a8a89@mail.gmail.com> Message-ID: <9B623688-D73A-4708-8664-8B0E384FBD12@twft.com> Oh nvm you are sending from an email server local to On-Rev. BOB On Mar 3, 2010, at 11:54 AM, Andre Garzia wrote: > I could make it work with the function from Michael, but only sending email > to my .mac account, sending email to my GMail account doesn't work, the > email never arrives and is not on the spam box. > > :-/ odd > > > > On Wed, Mar 3, 2010 at 4:30 PM, J. Landman Gay wrote: > >> Andre Garzia wrote: >> >>> I am on loki as well >>> >>> ARGH! >>> >>> it is an addon domain... >>> >> >> Mine isn't an addon. You could try a test in your main account and see if >> it works there. That would give some info. >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From psahores at free.fr Wed Mar 3 16:13:01 2010 From: psahores at free.fr (Pierre Sahores) Date: Wed, 3 Mar 2010 22:13:01 +0100 Subject: [On-Rev] sending email thru sendmail?! In-Reply-To: <7c87a2a11003031110r413f87efh90856344da40c5fa@mail.gmail.com> References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> <7c87a2a11003030657n6914185evd15473b2ce1a8ab4@mail.gmail.com> <7c87a2a11003030709g50f31603tdb290eb95371f19f@mail.gmail.com> <7c87a2a11003030727s3c76e1e0j8ad8681dc26471ed@mail.gmail.com> <3C0ADBB7-2C4D-45AD-A587-FE3473CBDC93@dimensionB.de> <7c87a2a11003030805icaf333p3726873b23b34008@mail.gmail.com> <43169522859.20100303101957@ahsoftware.net> <7c87a2a11003031110r413f87efh90856344da40c5fa@mail.gmail.com> Message-ID: <623284A0-453B-40E0-A39F-F63A73BDAE7C@free.fr> Andre, This way works for me as expected on loki from an addon domain (woooooooords.com) : > get mail(pTo, pSub, pMsg, pFrom) > function shellQuote pText > return quote & pText & quote > end shellQuote > function shellEscape pText > repeat for each char tChar in "\`!$" & quote > replace tChar with "\" & tChar in pText > end repeat > return pText > end shellEscape > function mail pTo, pSub, pMsg, pFrom > return shell("echo -e" && shellQuote(shellEscape(pMsg)) && "| mail > -s" && shellQuote(shellEscape(pSub)) && shellQuote(shellEscape(pTo)) > && "-- -f" && shellQuote(shellEscape(pFrom))) > end mail Do you want to get a test message addressed to your gmail account from it to see if it works ? If yes, thanks to reply with the neede address. P. Le 3 mars 10 ? 20:10, Andre Garzia a ?crit : > Some one sees something wrong in this code? I've been looking at > email code > the whole day, I am not distinguishing things anymore. > > put "/usr/sbin/sendmail -t -oi -f" && quote & pFrom & quote into tCMD > write "From:" && pFrom & crlf after tMail > write "To:" && pTo & crlf after tMail > write "Subject:" && pSubject & crlf & crlf after tMail > write pBody & crlf after tMail > put tempname() into tFile > put tMail into url ("binfile:" & tFile) > put "cat" &"e& tFile "e&& "|" && tCMD into tCMD > get shell(tCMD) > delete file tFile > > On Wed, Mar 3, 2010 at 3:19 PM, Mark Wieder > wrote: > >> Andre- >> >> Wednesday, March 3, 2010, 8:05:32 AM, you wrote: >> >>> tried to use mail -s from command line, didn't work here... :-/ >> >> mail -s used to work and now no longer does. So my PayPal integration >> is now officially broken. >> >> -- >> -Mark Wieder >> mwieder at ahsoftware.net >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From runrevplanet at smpcs.server101.com Wed Mar 3 16:24:13 2010 From: runrevplanet at smpcs.server101.com (Scott McDonald) Date: Wed, 3 Mar 2010 13:24:13 -0800 (PST) Subject: Faking OS X text field behaviour (was: Good books on Cocoa dev?) In-Reply-To: References: <82787BF6-E638-46A4-A28F-28FAEB7CBC41@azurevision.co.uk> <1267588814051-1576027.post@n4.nabble.com> Message-ID: <1267651453350-1577261.post@n4.nabble.com> Ian, Ian Wood-3 wrote: > > Thanks for the suggestions, everyone. It would certainly save me a lot > of time if this could be done in Rev, so maybe it's time to look from > a different direction - how do we make a Rev field as OS X-like as > possible. > I understand why the RRP SpellCheck doesn't meet your needs, and you have certainly made several comments that give me ideas to work on. But you are right, the Rev field is not native enough for your users. For example, the way of marking unknown words when doing the contextual check was something I thought about a lot during the design. anything but dashed red underlining is going to leap out While Windows users expect a red wriggly line. I couldn't figure out an efficient way to get those types of visual effects, so in the end just decided to work within the bounds of what the standard field object can do. the target audience have been adding words (place names, people's names) to the OS-level dictionary. I'll look into ways of priming the RRP SpellCheck with the words already in the Mac dictionary. Thank you for the comments, you've left me with plenty to think about and ideas for future work -- although a lot depends on having extra capabilities in the Revolution field object. Since a key feature of my spell checker is cross-platform support this means unless it can be done in Revolution I am unlikely to do it. Of course, if I do figure out how to fake it, I'll let you know. Scott. www.runrevplanet.com -- View this message in context: http://n4.nabble.com/OT-Good-books-on-Cocoa-dev-spellcheck-woes-tp1575279p1577261.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Wed Mar 3 16:35:15 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 03 Mar 2010 23:35:15 +0200 Subject: Devawriter Message-ID: <4B8ED613.5070705@gmail.com> For all of you who just cannot wait to write to your significant other in Classical Sanskrit I am pleased to announce that Devawriter: http://andregarzia.on-rev.com/richmond/dwriter.html has just hit version 1.0.8 ! For those of you unacquainted with Hinduism, Jainism and Buddhism 108 is a number of great significance in those traditions. I am personally excited by release 1.0.8 because this signifies the end of the first cycle through the Transcription Help Palette. Downloads, as far as I can tell, are running somewhere above 3000. ------------------------------------------------------------------ Without the good services of many of you on the wonderful RunRev Use-List Devawriter would still be another of my delayed adolescent fantasies gathering dust somewhere in the murkier corners of my brain. Thank you all, for so much support over the years. sincerely, Richmond Mathewson From ambassador at fourthworld.com Wed Mar 3 17:03:23 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 03 Mar 2010 14:03:23 -0800 Subject: Faking OS X text field behaviour (was: Good books on Cocoa dev?) Message-ID: <4B8EDCAB.6080702@fourthworld.com> Scott McDonald wrote: > But you are right, the Rev field is not native enough for your users. For > example, the way of marking unknown words when doing the contextual check > was something I thought about a lot during the design. > > > anything but dashed red underlining is going to leap out > > While Windows users expect a red wriggly line. I couldn't figure out an > efficient way to get those types of visual effects, so in the end just > decided to work within the bounds of what the standard field object can do. Have you tried a transparent GIF or PNG with the dash near the bottom, applied as the backgroundPattern of the portion of text being indicated? -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From zryip.theslug at gmail.com Wed Mar 3 17:05:53 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 3 Mar 2010 23:05:53 +0100 Subject: Docking Stacks In-Reply-To: <1267550467761-1575334.post@n4.nabble.com> References: <1267550467761-1575334.post@n4.nabble.com> Message-ID: <64bda6471003031405h59d2ee2cndd6e6bdeb525c40@mail.gmail.com> 2010/3/2 Andrew Kluthe : > > I searched around and haven't really found anything about interactions > between multiple stacks similar to docking. > > The Problem: I have 4 stacks That I want to dock to the edges of each other > (open on the edge, snap to the edge, etc). > > 1. Two of the stacks are menu stacks on either side of the larger main > stack: > > One of these is used a menu to navigate the different aspects of the app. > The other is used to display a report list depending on the selection in the > menu stack. > > 2. A stack on the bottom to continually display help information. > > 3. The main stack is in the middle of all of this and the others need to > snap/dock/open on the edge of this stack. > > [Menu stack][----MAIN STACK----][Reports Stack] > [----------Help Stack---------------] > > > Any ideas on how to start adding this functionality? Hi Andrew, Have a look to my lab's experiment 010: http://www.aslugontheroad.co.cc/index.php?option=com_content&view=article&id=69:experiment-010-docking-stacks&catid=35:lab&Itemid=53 This experiment shows how to dock 3 stacks in the same palette, detach two of them as individual palettes or attach them to the main palette. HTH, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From sarah.reichelt at gmail.com Wed Mar 3 17:13:54 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 4 Mar 2010 08:13:54 +1000 Subject: [On-Rev] sending email thru sendmail?! In-Reply-To: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> Message-ID: > Did anyone here is able to send email using sendmail in On-Rev, my code that > I use everywhere is not working anymore, somehow it can't open the sendmail > process. > > function sendMail pFrom, pTo, pSubject, pBody > > ?switch the platform > ?case "Linux" > ? ?put "/usr/sbin/sendmail -t" into mprocess > ? ?open process mprocess for write > ? ?write "From:" && pFrom & crlf to process mprocess > ? ?write "To:" && ? pTo ?& ?crlf to process mprocess > ? ?write "Subject:" && ?pSubject ?& ?crlf & crlf to process mprocess > ? ?write ? pBody & ?crlf to process mprocess > ? ?close process mprocess > ? ?wait until mprocess is not among the lines of the openprocesses > ? ?return the result > ? ?break > > ?end switch > > end sendMail I'm using mail, not sendmail directly and I'm on the odin server and it's working fine there. You can test it out & see my scripts at . I got the mail routines from splash21's site originally. Cheers, Sarah From revlist at azurevision.co.uk Wed Mar 3 17:42:02 2010 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 3 Mar 2010 22:42:02 +0000 Subject: Faking OS X text field behaviour (was: Good books on Cocoa dev?) In-Reply-To: <1267651453350-1577261.post@n4.nabble.com> References: <82787BF6-E638-46A4-A28F-28FAEB7CBC41@azurevision.co.uk> <1267588814051-1576027.post@n4.nabble.com> <1267651453350-1577261.post@n4.nabble.com> Message-ID: <1E8C5E1B-395A-4885-A234-5E3566E99BEB@azurevision.co.uk> On 3 Mar 2010, at 21:24, Scott McDonald wrote: > I understand why the RRP SpellCheck doesn't meet your needs, and you > have certainly made several comments that give me ideas to work on. Thanks for taking the in the way it was meant! That's partly why I changed the direction towards ways of improving the 'nativeness' of the existing field object. If we can put together a standard behaviour set that anyone can then use which does the stuff like navigation shortcuts and contextual men items like search in Spotlight/Google it'll help everyone. There's enough knowledge and interest on this list to do a good job of it. EDIT - Richard Gaskin has already chimed in with what should be a better idea than my overlay plan... Ian From revlist at azurevision.co.uk Wed Mar 3 18:33:42 2010 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 3 Mar 2010 23:33:42 +0000 Subject: Faking OS X text field behaviour (was: Good books on Cocoa dev?) In-Reply-To: <4B8EDCAB.6080702@fourthworld.com> References: <4B8EDCAB.6080702@fourthworld.com> Message-ID: <919EA3A8-DB42-4899-9600-3D7203E267D5@azurevision.co.uk> I just had a quick try but can't see how to apply a backgroundpattern to anything less than the whole field. Do you have some example syntax for setting it for part of a field? Ian On 3 Mar 2010, at 22:03, Richard Gaskin wrote: > Have you tried a transparent GIF or PNG with the dash near the > bottom, applied as the backgroundPattern of the portion of text > being indicated? From bobs at twft.com Wed Mar 3 19:24:29 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Mar 2010 16:24:29 -0800 Subject: Faking OS X text field behaviour (was: Good books on Cocoa dev?) In-Reply-To: <919EA3A8-DB42-4899-9600-3D7203E267D5@azurevision.co.uk> References: <4B8EDCAB.6080702@fourthworld.com> <919EA3A8-DB42-4899-9600-3D7203E267D5@azurevision.co.uk> Message-ID: <526766A4-6303-4B64-92EC-DA4A6FF65250@twft.com> Concur. Text chunks cannot have that property. Bob On Mar 3, 2010, at 3:33 PM, Ian Wood wrote: > I just had a quick try but can't see how to apply a backgroundpattern to anything less than the whole field. > > Do you have some example syntax for setting it for part of a field? > > Ian > > On 3 Mar 2010, at 22:03, Richard Gaskin wrote: > >> Have you tried a transparent GIF or PNG with the dash near the bottom, applied as the backgroundPattern of the portion of text being indicated? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Wed Mar 3 19:37:39 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 03 Mar 2010 16:37:39 -0800 Subject: Faking OS X text field behaviour (was: Good books on Cocoa dev?) Message-ID: <4B8F00D3.5020403@fourthworld.com> Ian Wood wrote: > I just had a quick try but can't see how to apply a backgroundpattern > to anything less than the whole field. Mea culpa. According to the dictionary RevTalk allows backgroundColor for chunks, and backgroundPattern for fields, and textPattern/foregroundPattern for chunks, so I was a little optimistic about the orthogonality of the implementation. But in trying it here, you're right, it seems the backgroundPattern cannot be applied to chunks. This inconsistency seems worth addressing, since doing so has practical application as you've noted, so I logged it as a request: -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From mwieder at ahsoftware.net Wed Mar 3 19:46:40 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 3 Mar 2010 16:46:40 -0800 Subject: Re-2: [On-Rev] sending email thru sendmail?! In-Reply-To: <7c87a2a11003031126k27f16f4dsfcc9763bcbfdb55c@mail.gmail.com> References: <00000ED8.4B8EC2A2@matthias.is-a-guru.com> <4B8EB733.6020300@hyperactivesw.com> <7c87a2a11003031126k27f16f4dsfcc9763bcbfdb55c@mail.gmail.com> Message-ID: <8192727687.20100303164640@ahsoftware.net> Andre- Wednesday, March 3, 2010, 11:26:24 AM, you wrote: > I am on loki as well Remember that Loki's a trickster. However, I'm on Odin and there's no mail here either. -- -Mark Wieder mwieder at ahsoftware.net From scott at tactilemedia.com Wed Mar 3 19:47:58 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 03 Mar 2010 16:47:58 -0800 Subject: Sticky Popup? Message-ID: Is there any way to make the action of popping up a menu "sticky"? I'm trying to work around a menu text color problem by using "proxy" buttons to pop up File/Edit/Help menus. Popping up a menu behaves similarly to directly clicking the menu button, except that the menu is not "sticky" -- the menu doesn't stay opened when the mouse is released. Is there any way to simulate this sticky behavior when using the popup command? (BTW, the text color issue is due to using a custom menu color scheme and differences between XP and Vista. On Vista, menus are drawn with their own default color scheme, so changing the text color of the menu button has no bearing on the menu. But on XP, the text in a menu is affected by the textcolor of the menu button, so making the textcolor anything besides black makes the menu difficult to read.) Thanks for any suggestions. Regards, Scott Rossi Creative Director Tactile Media, UX Design From davidocoker at gmail.com Wed Mar 3 20:45:54 2010 From: davidocoker at gmail.com (David Coker) Date: Wed, 3 Mar 2010 19:45:54 -0600 Subject: parsing data returned from "the foundLine" In-Reply-To: <4B8EB6D7.2000101@hyperactivesw.com> References: <4B8DE546.3000901@hyperactivesw.com> <4B8EB6D7.2000101@hyperactivesw.com> Message-ID: I thank you all for the info and suggestions! ...this little project has a bunch of twists and turns due to the amount and depth of recursion involved, but I've got a pretty good portion of it figured out now. This one has been in one stage of development or another for 2-3 months now... I do a bit on it and then set it aside for awhile when I tire of it. We'll get there eventually. (maybe) I do appreciate you good folks! David C. From palcibiades-first at yahoo.co.uk Thu Mar 4 04:44:59 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 4 Mar 2010 01:44:59 -0800 (PST) Subject: sending data to a printer over v.24 rs232 interface to a printer under windows In-Reply-To: <00000E17.4B8D713F@matthias.is-a-guru.com> References: <00000E17.4B8D713F@matthias.is-a-guru.com> Message-ID: <1267695899452-1577818.post@n4.nabble.com> It was easy enough in Linux that even I could do it, and I think it works the same way in Windows. The problem is essentially one of printing to a printer without having a driver. You first set up the printer as a raw printer, which seems from googling to be possible in Windows. Then you have to invoke a command line utility to send the character stream directly to the interface. You do have to know what the control characters are. And you do have to put the control characters into a text file using a hex editor. At least I did. And there may be problems with print queue management and recognizing the printer if it is powered on after the computer. You have to be careful, if you use some way of sending the characters that has no queue management, that a failed print cannot block subsequent attempts. Which is why my Linux friends told me to use lp + raw printer name, rather than simple cat >. I think you can use lp in Windows also. The way I do it is to have one text file for each command, and then I send the text file in its entirety when I want the action to take place. So for instance, printing is simply a dump of the characters to be printed. To operate the cutter is sending the file with those hex characters in it. To set the font to a given size is sending the file with those hex characters in it, and so on. Its brute force, but it should be pretty easy to get something working. Peter -- View this message in context: http://n4.nabble.com/sending-data-to-a-printer-over-v-24-rs232-interface-to-a-printer-under-windows-tp1575516p1577818.html Sent from the Revolution - User mailing list archive at Nabble.com. From revlist at azurevision.co.uk Thu Mar 4 05:34:00 2010 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 4 Mar 2010 10:34:00 +0000 Subject: Faking OS X text field behaviour (was: Good books on Cocoa dev?) In-Reply-To: <4B8F00D3.5020403@fourthworld.com> References: <4B8F00D3.5020403@fourthworld.com> Message-ID: <6EB9D8A5-B1BB-4DF4-84AD-4B16B8EC64D9@azurevision.co.uk> Votes added. Ian On 4 Mar 2010, at 00:37, Richard Gaskin wrote: > This inconsistency seems worth addressing, since doing so has > practical application as you've noted, so I logged it as a request: > > From niconiko at gmail.com Thu Mar 4 05:54:04 2010 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 4 Mar 2010 19:54:04 +0900 Subject: text-to-speech API? SAPI? Message-ID: <1e91b2b71003040254r3f815871r39a5f0aa92030ca7@mail.gmail.com> Hello, Minutes ago just had a bit of a minor programming epiphany. A teacher on an EFL (English as a Foreing Language) mailing list pointed me to: http://neospeech.com/ It's a text-to-speech service, and I was amazed how well intelligible and ear pleasing it was. The state of the art has certainly improved from what I remember way back when! So, seeing profound new possiblities for my language classroom, I immediately popped open Rev to see if it had text-to-speech functions and, lo and behold!, there was the revSpeak command. Gave it a whirl with... revSpeak "hello world'" ... and two reactions. First, wow that was simple. Rev is brilliant! Second was, what the hey!! For my target users -- young EFL learners -- not only is "Microsoft Sam" unintelligible but he'd either give them the giggles or scare them into tears. Looking at the Rev documentation, I guess the problem is the API. But this is all very new to me, so I don't really know. If the holy grail of voice-quality I'm after here is the API (or is it SAPI?), would anyone have a recommendation or experience with great Windows text-to-speech APIs/SAPIs? I'd of course also welcome general advise about text-to-speech APIs/SAPiS, especially how to integrate one with my standalones. Thank you. -- Nicolas Cueto From luis at anachreon.co.uk Thu Mar 4 05:58:31 2010 From: luis at anachreon.co.uk (Luis) Date: Thu, 4 Mar 2010 10:58:31 +0000 Subject: use-revolution Digest, Vol 77, Issue 71 In-Reply-To: References: <20100226232453.3614A28825D@mail.runrev.com> <8C647D7C-8D99-4D25-9F59-8C4162D6F41A@dvglasgow.wanadoo.co.uk> <4B8BE8BC.7000407@gmail.com> <4B8C287C.601@gmail.com> Message-ID: <88DD2F9E-EE7B-41E2-8687-D4DCA8328341@anachreon.co.uk> Hiya, Anyone mentioned LiveQuartz yet? http://www.livequartz.com/ What about Pixen? http://opensword.org/pixen/ Pixel Studio Pro (was Pixel), was cheap (one small fee, chuck it on all your home machines): http://www.pixelstudiopro.com/ Don't know the status as yet. This was on a par with Photoshop (ok, a tad quirky....). Blender does have a 'steep' learning curve but it doers have a lot to offer! Personally, for 3D I use Cheetah 3D: http://www.cheetah3d.com/ The price is totally worth it. I don't know if the new Macs still come with OmniGraffle, if they do, it might be worth a look for vector work. Cheers, Luis. On 3 Mar 2010, at 19:57, Judy Perry wrote: > > > On Mon, 1 Mar 2010, Richmond Mathewson wrote: > >> For Graphics and Sound I think that Open Source is really good >> (GIMP, Inkscape, Audacity, Ardour(linux)), > > GIMP on the Mac is just okay at best (I've upgraded my assessment > of it from "sucks completely") as everything seems to take two > clicks, you have to run it under X11 and it neither looks nor > behaves like a standard Mac app. > > Inkscape is blue language-inducing (I would so love to have > Freehand back), so it can't be used around the kiddies. > > I actually like Audacity, but I probably have low standards because > for the longest time the only audio app I had access to was Adobe's > SoundEdit... > > YMMV. > > Judy > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From pmbrig at gmail.com Thu Mar 4 07:42:20 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Thu, 4 Mar 2010 07:42:20 -0500 Subject: Faking OS X text field behaviour (was: Good books on Cocoa dev?) In-Reply-To: <4B8F00D3.5020403@fourthworld.com> References: <4B8F00D3.5020403@fourthworld.com> Message-ID: <1D16D79E-A95C-49C4-A743-871AAF40F37A@gmail.com> On Mar 3, 2010, at 7:37 PM, Richard Gaskin wrote: > Ian Wood wrote: >> I just had a quick try but can't see how to apply a backgroundpattern >> to anything less than the whole field. > > Mea culpa. > > According to the dictionary RevTalk allows backgroundColor for > chunks, and backgroundPattern for fields, and textPattern/ > foregroundPattern for chunks, so I was a little optimistic about the > orthogonality of the implementation. > > But in trying it here, you're right, it seems the backgroundPattern > cannot be applied to chunks. > > This inconsistency seems worth addressing, since doing so has > practical application as you've noted, so I logged it as a request: > > Is this one of those "why not just do it, looks simple" things that runs into the apparently huge complexity of the field object? Which I seem to recall Scott Raney describing as the "monster" it terms of complexity. Meanwhile, Firefox and other browsers use backgroundcolor to identify found text, so that technique is not foreign to most users, though it's not quite what would be perfect. But as the late Robert Parker said (via Spenser), "It's almost never perfect." -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pmbrig at gmail.com Thu Mar 4 07:49:40 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Thu, 4 Mar 2010 07:49:40 -0500 Subject: text-to-speech API? SAPI? In-Reply-To: <1e91b2b71003040254r3f815871r39a5f0aa92030ca7@mail.gmail.com> References: <1e91b2b71003040254r3f815871r39a5f0aa92030ca7@mail.gmail.com> Message-ID: <7FFE519C-BED7-4A36-8086-36B2368CE483@gmail.com> Look at revSpeechVoices() and revSetSpeechVoice in the dictionary. There are a bunch of different voices you can try, -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 4, 2010, at 5:54 AM, Nicolas Cueto wrote: > Hello, > > Minutes ago just had a bit of a minor programming epiphany. > > A teacher on an EFL (English as a Foreing Language) mailing list > pointed me to: > > http://neospeech.com/ > > It's a text-to-speech service, and I was amazed how well intelligible > and ear pleasing it was. The state of the art has certainly improved > from what I remember way back when! > > So, seeing profound new possiblities for my language classroom, I > immediately popped open Rev to see if it had text-to-speech functions > and, lo and behold!, there was the revSpeak command. > > Gave it a whirl with... > > revSpeak "hello world'" > > ... and two reactions. > > First, wow that was simple. Rev is brilliant! > > Second was, what the hey!! For my target users -- young EFL learners > -- not only is "Microsoft Sam" unintelligible but he'd either give > them the giggles or scare them into tears. > > Looking at the Rev documentation, I guess the problem is the API. But > this is all very new to me, so I don't really know. > > If the holy grail of voice-quality I'm after here is the API (or is it > SAPI?), would anyone have a recommendation or experience with great > Windows text-to-speech APIs/SAPIs? > > I'd of course also welcome general advise about text-to-speech > APIs/SAPiS, especially how to integrate one with my standalones. > > Thank you. > > -- > Nicolas Cueto > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From niconiko at gmail.com Thu Mar 4 07:58:28 2010 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 4 Mar 2010 21:58:28 +0900 Subject: text-to-speech API? SAPI? In-Reply-To: <7FFE519C-BED7-4A36-8086-36B2368CE483@gmail.com> References: <1e91b2b71003040254r3f815871r39a5f0aa92030ca7@mail.gmail.com> <7FFE519C-BED7-4A36-8086-36B2368CE483@gmail.com> Message-ID: <1e91b2b71003040458y5f020435yd32abdfce3b70e15@mail.gmail.com> > Look at revSpeechVoices() and revSetSpeechVoice in the dictionary. There are > a bunch of different voices you can try, That's the first thing I did. I'm on XP so only have "Microsoft Sam". Not sufficient at all. Have also listened to Vista's "Microsoft Anna". So-so, but still too unnatural. Perhaps alternate voices aren't the solution... -- Nicolas Cueto From palcibiades-first at yahoo.co.uk Thu Mar 4 09:03:56 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 4 Mar 2010 14:03:56 +0000 Subject: OT: locking software to one specific machine? Message-ID: <201003041403.56095.palcibiades-first@yahoo.co.uk> Completely OT question. Do any of you do this? The method is that the machine on first run produces a machine ID, and you then issue a license key which is tied to that ID. The software can only be run on that specific machine. If so, or even if not, what is the usual and recommended package/method to use? Peter From m.schonewille at economy-x-talk.com Thu Mar 4 09:25:28 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 4 Mar 2010 15:25:28 +0100 Subject: OT: locking software to one specific machine? In-Reply-To: <201003041403.56095.palcibiades-first@yahoo.co.uk> References: <201003041403.56095.palcibiades-first@yahoo.co.uk> Message-ID: <485E647F-90F4-45AC-A5C9-61F39E823DA6@economy-x-talk.com> Hi Peter, I use a MAC address for this, sometimes a drive serial number or computer serial number. This can only work if the configuration of the computer isn't going to change. In one project, I take the MAC address and check the license plus MAC address in a database. In another project, I use the IP address to confine a license to a particular organisation. It is also possible to hardcode information in the software, if this is a unique project for one single customer. The problem with these approaches is often that they take lots of support hours and cause your customers a lot of frustrations. You might want to think again before implementing such a system. It isn't OT, once you start implementing it with RunRev :-) It is doable. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 4 mrt 2010, om 15:03 heeft Peter Alcibiades het volgende geschreven: > Completely OT question. Do any of you do this? The method is that > the > machine on first run produces a machine ID, and you then issue a > license > key which is tied to that ID. The software can only be run on that > specific machine. > > If so, or even if not, what is the usual and recommended package/ > method to > use? > > Peter From ambassador at fourthworld.com Thu Mar 4 09:47:49 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 04 Mar 2010 06:47:49 -0800 Subject: OT: locking software to one specific machine? Message-ID: <4B8FC815.6020703@fourthworld.com> Peter Alcibiades wrote: > Completely OT question. Do any of you do this? The method is that the > machine on first run produces a machine ID, and you then issue a license > key which is tied to that ID. The software can only be run on that > specific machine. I don't bother, instead just using the more common method of machine-independent reg codes. Like I tell my customers, "We don't punish you for your good fortune of owning more than one computer." :) In the modern world many people own more than one computer, and by choosing to have per-person licenses rather than per-machine licenses we keep our support costs down by not having to deal with angry people when they upgrade their computer or change their NIC. I'm sure this allows a certain amount of piracy among our customers, but the cost-benefit ratio of both methods favors flexibility for the customer with our products. In certain markets this may not always hold true. For example, games and music software are the two most pirated categories (which is especially ironic for music, given that musicians make their living from intellectual property). So like any security consideration, you'll have to consider the relative ROI for your product. But it may be helpful to keep in mind that security is overhead, while features are investment. So here, using minimal security lets us focus on adding features which encourage sales among honest people, the only people who ever pay for software anyway. All software can be hacked, most within three days of release. Game companies who spend millions on security do so with the hope of postponing the inevitable cr at ck by just 60 days. Fortunately, few honest people take on the risk of downloading cr at cked copies from random sites in the PRC or Russia (home to some 90% of cr at ck sites), many of which are loaded with keyloggers and other zombieware. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From revlist at azurevision.co.uk Thu Mar 4 10:02:55 2010 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 4 Mar 2010 15:02:55 +0000 Subject: Faking OS X text field behaviour (was: Good books on Cocoa dev?) In-Reply-To: <1D16D79E-A95C-49C4-A743-871AAF40F37A@gmail.com> References: <4B8F00D3.5020403@fourthworld.com> <1D16D79E-A95C-49C4-A743-871AAF40F37A@gmail.com> Message-ID: <65E79DB0-46C4-4FF5-9112-B444C2052654@azurevision.co.uk> On 4 Mar 2010, at 12:42, Peter Brigham MD wrote: > Is this one of those "why not just do it, looks simple" things that > runs into the apparently huge complexity of the field object? Which > I seem to recall Scott Raney describing as the "monster" it terms of > complexity. That could well be. > Meanwhile, Firefox and other browsers use backgroundcolor to > identify found text, so that technique is not foreign to most > users, though it's not quite what would be perfect. To some extent that would actually be *worse* than making the text red, because by now it's become the most widely used visual trigger for finding within a document. To then use that for spell-as-you-type or similar would just cause confusion. Ian From dfepstein at comcast.net Thu Mar 4 10:22:26 2010 From: dfepstein at comcast.net (dfepstein at comcast.net) Date: Thu, 4 Mar 2010 15:22:26 +0000 (UTC) Subject: Sticky popup? In-Reply-To: <1087987523.5596621267716130750.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> Message-ID: <150631933.5596791267716146110.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> Scott Rossi asked "Is there any way to make the action of popping up a menu "sticky"?" To imitate a "sticky popup" I show a stack (named here "L9nav") with empty decorations, whose buttons trigger the desired actions and cause the stack to close.? And I?include in?the stack?an invisible graphic named "auto" whose script, when in use, causes the stack to close when there's a click somewhere outside the stack. On mousedown: insert script of graphic "auto" of stack "L9nav" into front go stack "L9nav" as palette Graphic "auto" has this script: on focusIn get the short name of this stack if it is not "L9nav" then close stack "L9nav" pass focusIn end focusIn on openField get the short name of this stack if it is not "L9nav" then close stack "L9nav" pass openField end openField And "L9nav" itself has this script: on closeStack if there is not a graphic "auto" then exit closeStack get the long name of graphic "auto" remove script of it from front end closeStack David Epstein From francois.chaplais at mines-paristech.fr Thu Mar 4 10:37:38 2010 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Thu, 4 Mar 2010 16:37:38 +0100 Subject: OT: locking software to one specific machine? In-Reply-To: <485E647F-90F4-45AC-A5C9-61F39E823DA6@economy-x-talk.com> References: <201003041403.56095.palcibiades-first@yahoo.co.uk> <485E647F-90F4-45AC-A5C9-61F39E823DA6@economy-x-talk.com> Message-ID: <8F7016F6-8C87-4C27-8094-C8BE152A895F@mines-paristech.fr> Le 4 mars 2010 ? 15:25, Mark Schonewille a ?crit : > Hi Peter, > > I use a MAC address for this, sometimes a drive serial number or computer serial number. This can only work if the configuration of the computer isn't going to change. In one project, I take the MAC address and check the license plus MAC address in a database. In another project, I use the IP address to confine a license to a particular organisation. It is also possible to hardcode information in the software, if this is a unique project for one single customer. > > The problem with these approaches is often that they take lots of support hours and cause your customers a lot of frustrations. You might want to think again before implementing such a system. > > It isn't OT, once you start implementing it with RunRev :-) It is doable. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. > My first macbook pro had its NVIDIA chipset broken. The MBP wouldn't boot. The motherboard was replace and voila, I had lost the license on some of my software because it was tied to the MAC address (and I could not uninstall the software on the now defunct motherboard). Moreover, I upgraded afterwards to a new MBP, and the transition was painful for the same software. Tying software to a specific hardware configuration is BAD marketing practice. The customer is your friend, not your enemy. S/N tied to a name or e-mail are quite common in software registration and they do not penalize the customer. Think of piracy as a form of advertisement. IMHO, when a user of a pirated copy (S/N here) finds your software useful, and if if the price is right for him, he will buy the regular version to have the upgrades, customer support, etc.... If this is not the case, he may not ever have bought your software anyway. Best, Fran?ois From ambassador at fourthworld.com Thu Mar 4 10:58:29 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 04 Mar 2010 07:58:29 -0800 Subject: Faking OS X text field behaviour (was: Good books on Cocoa dev?) Message-ID: <4B8FD8A5.6030405@fourthworld.com> Peter Brigham wrote: > On Mar 3, 2010, at 7:37 PM, Richard Gaskin wrote: ... >> According to the dictionary RevTalk allows backgroundColor for >> chunks, and backgroundPattern for fields, and textPattern/ >> foregroundPattern for chunks, so I was a little optimistic about the >> orthogonality of the implementation. >> >> But in trying it here, you're right, it seems the backgroundPattern >> cannot be applied to chunks. >> >> This inconsistency seems worth addressing, since doing so has >> practical application as you've noted, so I logged it as a request: >> >> > > Is this one of those "why not just do it, looks simple" things that > runs into the apparently huge complexity of the field object? Which I > seem to recall Scott Raney describing as the "monster" it terms of > complexity. Hard to say without confirmation from the Mother Ship, but according to Dr. Raney, historically many such property limitations were the result of having a certain number of bits set aside for built-in object properties, so that adding another would require a format change. Text chunks are the odd man out, since they don't have the same sort of record structure objects have. It may be harder than adding properties for objects, or it may be easier. Either way, the field object is due for an overhaul anyway (paragraph-level formatting and independent column alignment are among the most voted-for items at the RQCC), so it seems worth raising the visibility of this request to see it implemented. Not only is it useful, but the absence of backgroundPattern for chunks in a system that already supports backgroundColor just means one more "gotcha" inconsistency newcomers need to learn. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From bobs at twft.com Thu Mar 4 11:35:06 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 4 Mar 2010 08:35:06 -0800 Subject: OT: locking software to one specific machine? In-Reply-To: <8F7016F6-8C87-4C27-8094-C8BE152A895F@mines-paristech.fr> References: <201003041403.56095.palcibiades-first@yahoo.co.uk> <485E647F-90F4-45AC-A5C9-61F39E823DA6@economy-x-talk.com> <8F7016F6-8C87-4C27-8094-C8BE152A895F@mines-paristech.fr> Message-ID: I WHOLEHEARTEDLY AGREE! Often I migrate software to a different machine, as in the case when I got a new Macbook Pro and handed down mine to someone else. That's two computers that your software would have been broken on. I think it has been proven beyond dispute that if someone wants your software hacked, they will hack it. They will decompile it then link around it if they have to, or they will figure out your algorithm and duplicate it. But rest assured you cannot lock everyone out. So do what Microsoft does. Charge the good men extra for the vices of the wicked. :-) Bob On Mar 4, 2010, at 7:37 AM, Fran?ois Chaplais wrote: > > Le 4 mars 2010 ? 15:25, Mark Schonewille a ?crit : > >> Hi Peter, >> >> I use a MAC address for this, sometimes a drive serial number or computer serial number. This can only work if the configuration of the computer isn't going to change. In one project, I take the MAC address and check the license plus MAC address in a database. In another project, I use the IP address to confine a license to a particular organisation. It is also possible to hardcode information in the software, if this is a unique project for one single customer. >> >> The problem with these approaches is often that they take lots of support hours and cause your customers a lot of frustrations. You might want to think again before implementing such a system. >> >> It isn't OT, once you start implementing it with RunRev :-) It is doable. >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> >> Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. >> > My first macbook pro had its NVIDIA chipset broken. The MBP wouldn't boot. The motherboard was replace and voila, I had lost the license on some of my software because it was tied to the MAC address (and I could not uninstall the software on the now defunct motherboard). Moreover, I upgraded afterwards to a new MBP, and the transition was painful for the same software. > > Tying software to a specific hardware configuration is BAD marketing practice. The customer is your friend, not your enemy. S/N tied to a name or e-mail are quite common in software registration and they do not penalize the customer. > > Think of piracy as a form of advertisement. IMHO, when a user of a pirated copy (S/N here) finds your software useful, and if if the price is right for him, he will buy the regular version to have the upgrades, customer support, etc.... If this is not the case, he may not ever have bought your software anyway. > > Best, > Fran?ois > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Thu Mar 4 11:37:20 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 4 Mar 2010 08:37:20 -0800 Subject: OT: locking software to one specific machine? In-Reply-To: <201003041403.56095.palcibiades-first@yahoo.co.uk> References: <201003041403.56095.palcibiades-first@yahoo.co.uk> Message-ID: <40496796-3574-4BD3-B60B-0BA18A2C21BE@twft.com> I should also mention that if you swap hard drives in two Macbook Pros, the serial number of the machine will FOLLOW THE MACHINES! It's odd I know, but true nonetheless. And as previously mentioned, if you have a motherboard replaced, Apple will give you a refurbished one that has the serial number removed from the PRAM. Bob On Mar 4, 2010, at 6:03 AM, Peter Alcibiades wrote: > Completely OT question. Do any of you do this? The method is that the > machine on first run produces a machine ID, and you then issue a license > key which is tied to that ID. The software can only be run on that > specific machine. > > If so, or even if not, what is the usual and recommended package/method to > use? > > Peter > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Thu Mar 4 11:42:33 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 4 Mar 2010 08:42:33 -0800 Subject: text-to-speech API? SAPI? In-Reply-To: <1e91b2b71003040254r3f815871r39a5f0aa92030ca7@mail.gmail.com> References: <1e91b2b71003040254r3f815871r39a5f0aa92030ca7@mail.gmail.com> Message-ID: Odd. It didn't work for me. Bob On Mar 4, 2010, at 2:54 AM, Nicolas Cueto wrote: > Hello, > > Minutes ago just had a bit of a minor programming epiphany. > > A teacher on an EFL (English as a Foreing Language) mailing list pointed me to: > > http://neospeech.com/ > > It's a text-to-speech service, and I was amazed how well intelligible > and ear pleasing it was. The state of the art has certainly improved > from what I remember way back when! > > So, seeing profound new possiblities for my language classroom, I > immediately popped open Rev to see if it had text-to-speech functions > and, lo and behold!, there was the revSpeak command. > > Gave it a whirl with... > > revSpeak "hello world'" > > ... and two reactions. > > First, wow that was simple. Rev is brilliant! > > Second was, what the hey!! For my target users -- young EFL learners > -- not only is "Microsoft Sam" unintelligible but he'd either give > them the giggles or scare them into tears. > > Looking at the Rev documentation, I guess the problem is the API. But > this is all very new to me, so I don't really know. > > If the holy grail of voice-quality I'm after here is the API (or is it > SAPI?), would anyone have a recommendation or experience with great > Windows text-to-speech APIs/SAPIs? > > I'd of course also welcome general advise about text-to-speech > APIs/SAPiS, especially how to integrate one with my standalones. > > Thank you. > > -- > Nicolas Cueto > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From toolbook at kestner.de Thu Mar 4 11:44:11 2010 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 4 Mar 2010 17:44:11 +0100 Subject: AW: OT: locking software to one specific machine? In-Reply-To: <4B8FC815.6020703@fourthworld.com> References: <4B8FC815.6020703@fourthworld.com> Message-ID: <001501cabbb9$eb36ee30$c1a4ca90$@de> Hello, we have made some difference experiences and so I have to disagree to Richard and Francois. We are publishing software in a very small specific market, so no music, no games. In the first years our software was - in your intention - completely free of copy protection, later we implemented a copy protection on some programs, which were running off the CD. We made the experience, that nobody ever thanked us the ease of use and lack of licensing. Just the opposite. Just because our target market is so small and lots of people know each other, our software was copied, given away without control. Not only once we got support calls in the kind "hi, we just made a copy of your software at ..., but we have some troubles installing it..." After more than ten years of living with the total lack of conscience at most people out there "what? Everbody copies software!" we decided to implement a heavy licensing system to our newest product which ties our product to the single machine without any doubts. Yes, we get furious calls, how we can be so cruel not to let the user install it on all of his (and the rest of the world) machines. Yes, it is much more support as having just a licence-number without any verifying, beside entering the right name and email and a fixed number. But yes, the cost-benefit ratio is very satisfying for us. Not for the pirates of the past. The pirates of the past were no Russian hackers or hacker kids. They were people like you and me, who just didn't mind and didn't care about what copying of software means. I think especially of one target group "teachers" (sorry Richmond, nothing personal) teachers are the heroes of copying everything in my mind. Btw. Richmond, where is your pin on the map http://qurl.tk/4O ? And yes, after month of heavy support and dozens of smaller and bigger enhancements in our system (which was designed from the scratch), now the support comes down to a "normal" amount. The need and whish of the customer to install your software on more than one machine can also be handled by your pricing system. That are our experiences. P.S. If you are looking for an individual engineered system, there is a very experienced company: http://economy-x-talk.com/ Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Richard Gaskin > Gesendet: Donnerstag, 4. M?rz 2010 15:48 > An: How to use Revolution > Betreff: Re: OT: locking software to one specific machine? > > Peter Alcibiades wrote: > > Completely OT question. Do any of you do this? The method is that > the > > machine on first run produces a machine ID, and you then issue a > license > > key which is tied to that ID. The software can only be run on that > > specific machine. > > I don't bother, instead just using the more common method of > machine-independent reg codes. Like I tell my customers, "We don't > punish you for your good fortune of owning more than one computer." :) > > In the modern world many people own more than one computer, and by > choosing to have per-person licenses rather than per-machine licenses > we > keep our support costs down by not having to deal with angry people > when > they upgrade their computer or change their NIC. > > I'm sure this allows a certain amount of piracy among our customers, > but > the cost-benefit ratio of both methods favors flexibility for the > customer with our products. > > In certain markets this may not always hold true. For example, games > and music software are the two most pirated categories (which is > especially ironic for music, given that musicians make their living > from > intellectual property). > > So like any security consideration, you'll have to consider the > relative > ROI for your product. > > But it may be helpful to keep in mind that security is overhead, while > features are investment. So here, using minimal security lets us focus > on adding features which encourage sales among honest people, the only > people who ever pay for software anyway. > > All software can be hacked, most within three days of release. Game > companies who spend millions on security do so with the hope of > postponing the inevitable cr at ck by just 60 days. Fortunately, few > honest people take on the risk of downloading cr at cked copies from > random > sites in the PRC or Russia (home to some 90% of cr at ck sites), many of > which are loaded with keyloggers and other zombieware. > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revdev at pdslabs.net Thu Mar 4 11:43:49 2010 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 04 Mar 2010 08:43:49 -0800 Subject: text-to-speech API? SAPI? In-Reply-To: <1e91b2b71003040458y5f020435yd32abdfce3b70e15@mail.gmail.com> References: <1e91b2b71003040254r3f815871r39a5f0aa92030ca7@mail.gmail.com> <7FFE519C-BED7-4A36-8086-36B2368CE483@gmail.com> <1e91b2b71003040458y5f020435yd32abdfce3b70e15@mail.gmail.com> Message-ID: <4B8FE345.9030006@pdslabs.net> There is a world of difference in quality between voices included with the Windows OS and those available from third parties. When I was exploring this a few years ago, I discovered that Cepstral offered some higher quality voices for not that much money (relative to my need at the time). This was several years ago so I'm sure the market has changed, but you might check them out anyway: http://www.cepstral.com/demos/ HTH - Phil Davis On 3/4/10 4:58 AM, Nicolas Cueto wrote: >> Look at revSpeechVoices() and revSetSpeechVoice in the dictionary. There are >> a bunch of different voices you can try, >> > That's the first thing I did. I'm on XP so only have "Microsoft Sam". > Not sufficient at all. > > Have also listened to Vista's "Microsoft Anna". So-so, but still too unnatural. > > Perhaps alternate voices aren't the solution... > > -- > Nicolas Cueto > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From bobs at twft.com Thu Mar 4 11:44:48 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 4 Mar 2010 08:44:48 -0800 Subject: text-to-speech API? SAPI? In-Reply-To: <1e91b2b71003040254r3f815871r39a5f0aa92030ca7@mail.gmail.com> References: <1e91b2b71003040254r3f815871r39a5f0aa92030ca7@mail.gmail.com> Message-ID: <16E2620C-AB95-4E38-8B6D-877BE704D147@twft.com> No Mac support either. Bob On Mar 4, 2010, at 2:54 AM, Nicolas Cueto wrote: > Hello, > > Minutes ago just had a bit of a minor programming epiphany. > > A teacher on an EFL (English as a Foreing Language) mailing list pointed me to: > > http://neospeech.com/ > > It's a text-to-speech service, and I was amazed how well intelligible > and ear pleasing it was. The state of the art has certainly improved > from what I remember way back when! > > So, seeing profound new possiblities for my language classroom, I > immediately popped open Rev to see if it had text-to-speech functions > and, lo and behold!, there was the revSpeak command. > > Gave it a whirl with... > > revSpeak "hello world'" > > ... and two reactions. > > First, wow that was simple. Rev is brilliant! > > Second was, what the hey!! For my target users -- young EFL learners > -- not only is "Microsoft Sam" unintelligible but he'd either give > them the giggles or scare them into tears. > > Looking at the Rev documentation, I guess the problem is the API. But > this is all very new to me, so I don't really know. > > If the holy grail of voice-quality I'm after here is the API (or is it > SAPI?), would anyone have a recommendation or experience with great > Windows text-to-speech APIs/SAPIs? > > I'd of course also welcome general advise about text-to-speech > APIs/SAPiS, especially how to integrate one with my standalones. > > Thank you. > > -- > Nicolas Cueto > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From luis at anachreon.co.uk Thu Mar 4 11:46:58 2010 From: luis at anachreon.co.uk (Luis) Date: Thu, 4 Mar 2010 16:46:58 +0000 Subject: OT: locking software to one specific machine? In-Reply-To: References: <201003041403.56095.palcibiades-first@yahoo.co.uk> <485E647F-90F4-45AC-A5C9-61F39E823DA6@economy-x-talk.com> <8F7016F6-8C87-4C27-8094-C8BE152A895F@mines-paristech.fr> Message-ID: <5798019A-C3D7-4AB4-BCD4-48659A9A39D4@anachreon.co.uk> :( Is that like flogging innocent folk in the streets to put criminals off that potential punishment? No Cheers, Luis. On 4 Mar 2010, at 16:35, Bob Sneidar wrote: > > So do what Microsoft does. Charge the good men extra for the vices > of the wicked. :-) > > Bob From bobs at twft.com Thu Mar 4 11:49:47 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 4 Mar 2010 08:49:47 -0800 Subject: OT: locking software to one specific machine? In-Reply-To: <5798019A-C3D7-4AB4-BCD4-48659A9A39D4@anachreon.co.uk> References: <201003041403.56095.palcibiades-first@yahoo.co.uk> <485E647F-90F4-45AC-A5C9-61F39E823DA6@economy-x-talk.com> <8F7016F6-8C87-4C27-8094-C8BE152A895F@mines-paristech.fr> <5798019A-C3D7-4AB4-BCD4-48659A9A39D4@anachreon.co.uk> Message-ID: <6E57DBB4-3B00-4645-94B5-CD01CA0A7B5E@twft.com> Sorry Luis. It was meant tongue in cheek. And it's more like charging the butcher double for a loaf of bread because the blacksmith won't pay me for a bag of rice. Bob On Mar 4, 2010, at 8:46 AM, Luis wrote: > :( > > Is that like flogging innocent folk in the streets to put criminals off that potential punishment? > > No Cheers, > > Luis. > > > On 4 Mar 2010, at 16:35, Bob Sneidar wrote: > >> >> So do what Microsoft does. Charge the good men extra for the vices of the wicked. :-) >> >> Bob > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Thu Mar 4 11:59:38 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 04 Mar 2010 08:59:38 -0800 Subject: AW: OT: locking software to one specific machine? Message-ID: <4B8FE6FA.5040600@fourthworld.com> Tiemo Hollmann wrote: > In the first years our software was - in your intention - completely > free of copy protection, later we implemented a copy protection on some > programs, which were running off the CD. > > We made the experience, that nobody ever thanked us the ease of use and lack > of licensing. Just the opposite. Just because our target market is so small > and lots of people know each other, our software was copied, given away > without control. "Completely free of copy protection" is very different from the industry-standard per-user license keys I described, and not something I would advocate for any commercial product. In markets where piracy is an unusually serious consideration, server-based activation can provide reasonable control over license key redistribution. If smartly implemented with grace periods, "phone home" activation should pose no inconvenience to the end-user. But most successful products don't even do that, they merely use pre-generated keys. Per-user license keys have made Adobe, Microsoft, Apple, and most other software vendors quite profitable. Not having any protection at all is, IMO, only appropriate for free products. The early years of the computer industry's "shareware" experiments proved that convincingly. The difference between "free demo" and "full version" need not be onerous to the user, but there must be some incentive to motivate the user to put in the additional effort to fill out an order form. This is one reason why having PayPal as a payment option is so valuable: it reduces the payment process to just a single password field and one click. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From luis at anachreon.co.uk Thu Mar 4 12:02:19 2010 From: luis at anachreon.co.uk (Luis) Date: Thu, 4 Mar 2010 17:02:19 +0000 Subject: OT: locking software to one specific machine? In-Reply-To: <6E57DBB4-3B00-4645-94B5-CD01CA0A7B5E@twft.com> References: <201003041403.56095.palcibiades-first@yahoo.co.uk> <485E647F-90F4-45AC-A5C9-61F39E823DA6@economy-x-talk.com> <8F7016F6-8C87-4C27-8094-C8BE152A895F@mines-paristech.fr> <5798019A-C3D7-4AB4-BCD4-48659A9A39D4@anachreon.co.uk> <6E57DBB4-3B00-4645-94B5-CD01CA0A7B5E@twft.com> Message-ID: <55484482-0304-46CA-9812-6BAAE6FEECCE@anachreon.co.uk> No harm done. Cheers, Luis. On 4 Mar 2010, at 16:49, Bob Sneidar wrote: > Sorry Luis. It was meant tongue in cheek. And it's more like > charging the butcher double for a loaf of bread because the > blacksmith won't pay me for a bag of rice. > > Bob > > > On Mar 4, 2010, at 8:46 AM, Luis wrote: > >> :( >> >> Is that like flogging innocent folk in the streets to put >> criminals off that potential punishment? >> >> No Cheers, >> >> Luis. >> >> >> On 4 Mar 2010, at 16:35, Bob Sneidar wrote: >> >>> >>> So do what Microsoft does. Charge the good men extra for the >>> vices of the wicked. :-) >>> >>> Bob >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From massung at gmail.com Thu Mar 4 12:13:18 2010 From: massung at gmail.com (Jeff Massung) Date: Thu, 4 Mar 2010 11:13:18 -0600 Subject: AW: OT: locking software to one specific machine? In-Reply-To: <4B8FE6FA.5040600@fourthworld.com> References: <4B8FE6FA.5040600@fourthworld.com> Message-ID: <963c86eb1003040913q76db4923xf75d4fbb371bc594@mail.gmail.com> Just tossing out another option for people: I've found with shareware I've written in the past that - in this day of internet access - my customers didn't mind at all having to be connected to the internet in order to gain access to their purchased software (read: ping a server w/ their license key/user name and get an reply access key that was good for the "session"). This also allows you to see if a certain key is being used all over the world and black list it. I had to also implement temporary session keys for people who weren't connected to the internet or who were planning on taking the software on vacation or such, but that wasn't too difficult. And it was very generous (offline keys lasting for a week+). I think I only had a single complaint from a paying customer and went out of my way to give them a version of the software that didn't require a key at all. And, while I understand this isn't the case for all niches and companies, if your licensing is good, a certain level of copying and sharing is *highly* desirable. Keep in mind that no matter what you do your software will be cracked/pirated. Your goal should be to make customers happy and balance the price + the value of your software vs. the difficult to pirate in order to maximize paying customers. Jeff M. From toolbook at kestner.de Thu Mar 4 12:37:50 2010 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 4 Mar 2010 18:37:50 +0100 Subject: AW: AW: OT: locking software to one specific machine? In-Reply-To: <4B8FE6FA.5040600@fourthworld.com> References: <4B8FE6FA.5040600@fourthworld.com> Message-ID: <001601cabbc1$6a770e30$3f652a90$@de> I did not mentioned that we had also some steps in between. But many of the per-user licenses can be passed on. I don't know how Adobe or Microsoft prevent people of passing their user license to other people. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Richard Gaskin > Gesendet: Donnerstag, 4. M?rz 2010 18:00 > An: How to use Revolution > Betreff: Re: AW: OT: locking software to one specific machine? > > Tiemo Hollmann wrote: > > In the first years our software was - in your intention - completely > > free of copy protection, later we implemented a copy protection on > some > > programs, which were running off the CD. > > > > We made the experience, that nobody ever thanked us the ease of use > and lack > > of licensing. Just the opposite. Just because our target market is so > small > > and lots of people know each other, our software was copied, given > away > > without control. > > "Completely free of copy protection" is very different from the > industry-standard per-user license keys I described, and not something > I > would advocate for any commercial product. > > In markets where piracy is an unusually serious consideration, > server-based activation can provide reasonable control over license key > redistribution. If smartly implemented with grace periods, "phone > home" > activation should pose no inconvenience to the end-user. > > But most successful products don't even do that, they merely use > pre-generated keys. Per-user license keys have made Adobe, Microsoft, > Apple, and most other software vendors quite profitable. > > Not having any protection at all is, IMO, only appropriate for free > products. The early years of the computer industry's "shareware" > experiments proved that convincingly. The difference between "free > demo" and "full version" need not be onerous to the user, but there > must > be some incentive to motivate the user to put in the additional effort > to fill out an order form. > > This is one reason why having PayPal as a payment option is so > valuable: > it reduces the payment process to just a single password field and > one > click. > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From pete at mollysrevenge.com Thu Mar 4 12:45:57 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 4 Mar 2010 09:45:57 -0800 Subject: Interfacing to Mac iCal and Address Book Message-ID: Anyone got any tips on how to integrate calendar and name/address info from OSX into an application? Not thinking in terms of import/export/ sync, more along the lines of instant query/update/delete. Not much detail there but something along the lines of listing Mac address book entries within my app and being able to directly update/delete them from within the app. With the calendar data, use iCal to display appointments/tasks but have lists of them in my app linked to their iCal entriess so any changes within my app get reflected in iCal. Thanks, Pete Haworth From stephenREVOLUTION2 at barncard.com Thu Mar 4 12:52:46 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 4 Mar 2010 09:52:46 -0800 Subject: AW: OT: locking software to one specific machine? In-Reply-To: <001601cabbc1$6a770e30$3f652a90$@de> References: <4B8FE6FA.5040600@fourthworld.com> <001601cabbc1$6a770e30$3f652a90$@de> Message-ID: All of Adobe's apps are tied to the computer processor # AND check into 'headquarters' and were a PIA to re-install on CS3, especially if one had run the demo version before. The main reason for CS4 was to try to fix the-now cracked CS3 mess. The Adobe solution was to recommend upgrading to CS4. Their best support dance for CS3 was to issue scary-looking shell scripts that supposedly fixed things. Shell scripts to users? Yikes. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev On 4 March 2010 09:37, Tiemo Hollmann TB wrote: > I did not mentioned that we had also some steps in between. > > But many of the per-user licenses can be passed on. > I don't know how Adobe or Microsoft prevent people of passing their user > license to other people. > > Tiemo > > > -----Urspr?ngliche Nachricht----- > > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > > bounces at lists.runrev.com] Im Auftrag von Richard Gaskin > > Gesendet: Donnerstag, 4. M?rz 2010 18:00 > > An: How to use Revolution > > Betreff: Re: AW: OT: locking software to one specific machine? > > > > Tiemo Hollmann wrote: > > > In the first years our software was - in your intention - completely > > > free of copy protection, later we implemented a copy protection on > > some > > > programs, which were running off the CD. > > > > > > We made the experience, that nobody ever thanked us the ease of use > > and lack > > > of licensing. Just the opposite. Just because our target market is so > > small > > > and lots of people know each other, our software was copied, given > > away > > > without control. > > > > "Completely free of copy protection" is very different from the > > industry-standard per-user license keys I described, and not something > > I > > would advocate for any commercial product. > > > > In markets where piracy is an unusually serious consideration, > > server-based activation can provide reasonable control over license key > > redistribution. If smartly implemented with grace periods, "phone > > home" > > activation should pose no inconvenience to the end-user. > > > > But most successful products don't even do that, they merely use > > pre-generated keys. Per-user license keys have made Adobe, Microsoft, > > Apple, and most other software vendors quite profitable. > > > > Not having any protection at all is, IMO, only appropriate for free > > products. The early years of the computer industry's "shareware" > > experiments proved that convincingly. The difference between "free > > demo" and "full version" need not be onerous to the user, but there > > must > > be some incentive to motivate the user to put in the additional effort > > to fill out an order form. > > > > This is one reason why having PayPal as a payment option is so > > valuable: > > it reduces the payment process to just a single password field and > > one > > click. > > > > -- > > Richard Gaskin > > Fourth World > > Rev training and consulting: http://www.fourthworld.com > > Webzine for Rev developers: http://www.revjournal.com > > revJournal blog: http://revjournal.com/blog.irv > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From francois.chaplais at mines-paristech.fr Thu Mar 4 13:03:32 2010 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Thu, 4 Mar 2010 19:03:32 +0100 Subject: AW: AW: OT: locking software to one specific machine? In-Reply-To: <001601cabbc1$6a770e30$3f652a90$@de> References: <4B8FE6FA.5040600@fourthworld.com> <001601cabbc1$6a770e30$3f652a90$@de> Message-ID: Le 4 mars 2010 ? 18:37, Tiemo Hollmann TB a ?crit : > I did not mentioned that we had also some steps in between. > > But many of the per-user licenses can be passed on. > I don't know how Adobe or Microsoft prevent people of passing their user > license to other people. > > Tiemo > Adobe requires an internet connection to register. I have bought a student CS3 design edition for my second son, and at some time, because that son was addicted to peer to peer download, I put him on a non admin account. This implied that the CS3 user account was bound to be changed. I emailed the support at Adobe to ask if switching accounts required de-installation and re-installation Tthe support (where my son has an account as a registered user) replied there should be no problem. Actually, everything turned out fine. And I am convinced that, if there would have be a problem, it would have been solved gracefully by Adobe's support. Then we upgraded our son's iMac to an new, intel, model, and used Apple's migration assistant (with the original mac in target mode) to transfer the accounts' data, and whoppee, CS3 was installed on the new computer without any further work. (this should answer stephen's post on CS3, at least on the mac). As for theP2P music, I made a deal with my son: if he wants music, he tells me and I offer him an Itunes gift card. It turns out that he is very happy with his legal purchases, and they are quite reasonable as far as expenses are considered. Most of the P2P stuff he could do without, actually. The really difficult part in fixing a price is the evaluation of the ROI of the customers. Including support. cheers Fran?ois From kray at sonsothunder.com Thu Mar 4 13:28:42 2010 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 04 Mar 2010 12:28:42 -0600 Subject: FTP uploads with curl - monitoring progress - any ideas? Message-ID: I have some large files (100MB +) that I need to FTP to a customer's server. I have tried to use libURL to do the uploading, but I get odd results/random timeouts/errant status messages when the file I'm uploading is over 40MB. I've tried many different workarounds to this, but none have been consistent/acceptable so for this project I'm seeing if I can use curl. The pain is that there doesn't seem to be a way to retrieve the progress of an FTP upload so I can display a custom upload box. If I redirect it to dev/null, I get control back after the upload starts, but I can't get any progress data: curl -T filePath -u user:pass serverAdress > /dev/null 2>&1 & If I redirect to stdin, it's blocking and I only get anything when the upload is complete: curl -T filePath -u user:pass serverAdress > stdin I've also tried: curl -T filePath -u user:pass serverAdress > stdin & curl -T filePath -u user:pass serverAdress > stdin 2>&1 & Is there any way to make a non-blocking call to curl, but then to get back the progress text that would normally be displayed in the Terminal? Any help would be appreciated... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From martyknapp at comcast.net Thu Mar 4 13:36:39 2010 From: martyknapp at comcast.net (Marty Knapp) Date: Thu, 04 Mar 2010 10:36:39 -0800 Subject: AW: OT: locking software to one specific machine? In-Reply-To: <4B8FE6FA.5040600@fourthworld.com> References: <4B8FE6FA.5040600@fourthworld.com> Message-ID: <4B8FFDB7.9020005@comcast.net> I like the idea of pre-generated keys. It seems like a good in-between method. If your user then registered their key and someone else subsequently tried to register the same number you would have some recourse. I don't want to get bogged down in lots of administrative hassles, so I like this method. Does anyone have suggestions about setting up something like this? And a method for verifying the key? I'm no mathematician by any means, unfortunately! Perhaps there is a key generator program, though I looked around and couldn't really find anything (other than non-Rev code). I'd prefer a Mac program but I have XP running in Parallels if there's a Windows only offering. Any help, tips, leads? Marty Knapp > > "Completely free of copy protection" is very different from the > industry-standard per-user license keys I described, and not something > I would advocate for any commercial product. > > In markets where piracy is an unusually serious consideration, > server-based activation can provide reasonable control over license > key redistribution. If smartly implemented with grace periods, "phone > home" activation should pose no inconvenience to the end-user. > > But most successful products don't even do that, they merely use > pre-generated keys. Per-user license keys have made Adobe, Microsoft, > Apple, and most other software vendors quite profitable. > From williamdesmet at gmail.com Thu Mar 4 13:46:09 2010 From: williamdesmet at gmail.com (William de Smet) Date: Thu, 4 Mar 2010 19:46:09 +0100 Subject: How do I change the script for 100 buttons in one time? Message-ID: Hi there, I have a stack with 100 buttons in it and they all have the same script. The buttons are called "d1" to "d100". How do I change the code for all of them in one time? I don't feel like copy/paste 100 times. Thanks! Greetings, William From andre at andregarzia.com Thu Mar 4 13:49:39 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 4 Mar 2010 15:49:39 -0300 Subject: FTP uploads with curl - monitoring progress - any ideas? In-Reply-To: References: Message-ID: <7c87a2a11003041049i1b05e79ex98de52723d0468a3@mail.gmail.com> Ken, can you pipe and forget to a file and keep reading the text file from rev. curl bla bla bla > progress.txt right? On Thu, Mar 4, 2010 at 3:28 PM, Ken Ray wrote: > I have some large files (100MB +) that I need to FTP to a customer's > server. > I have tried to use libURL to do the uploading, but I get odd > results/random > timeouts/errant status messages when the file I'm uploading is over 40MB. > I've tried many different workarounds to this, but none have been > consistent/acceptable so for this project I'm seeing if I can use curl. > > The pain is that there doesn't seem to be a way to retrieve the progress of > an FTP upload so I can display a custom upload box. If I redirect it to > dev/null, I get control back after the upload starts, but I can't get any > progress data: > > curl -T filePath -u user:pass serverAdress > /dev/null 2>&1 & > > If I redirect to stdin, it's blocking and I only get anything when the > upload is complete: > > curl -T filePath -u user:pass serverAdress > stdin > > I've also tried: > > curl -T filePath -u user:pass serverAdress > stdin & > curl -T filePath -u user:pass serverAdress > stdin 2>&1 & > > Is there any way to make a non-blocking call to curl, but then to get back > the progress text that would normally be displayed in the Terminal? > > Any help would be appreciated... > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From jacques.hausser at unil.ch Thu Mar 4 14:05:00 2010 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Thu, 4 Mar 2010 20:05:00 +0100 Subject: How do I change the script for 100 buttons in one time? In-Reply-To: References: Message-ID: <401D17D9-1DCE-4A9E-9D4C-1B9F01BB67CC@unil.ch> Hi William A good case for using behaviors ! Set the script of an hidden btn "BCommonScript" as you want and then put somewhere in the opening process of your stack: repeat with i = 1 to 100 put "d" &i into tButtonName set the behavior of btn tbuttonName to the long ID of button "BCommonscript" end repeat Jacques Le 4 mars 2010 ? 19:46, William de Smet a ?crit : > Hi there, > > I have a stack with 100 buttons in it and they all have the same script. > The buttons are called "d1" to "d100". > > How do I change the code for all of them in one time? > I don't feel like copy/paste 100 times. > > Thanks! > > Greetings, > > William > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ****************************************** 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 davidocoker at gmail.com Thu Mar 4 14:07:07 2010 From: davidocoker at gmail.com (David Coker) Date: Thu, 4 Mar 2010 13:07:07 -0600 Subject: How do I change the script for 100 buttons in one time? In-Reply-To: References: Message-ID: On Thu, Mar 4, 2010 at 12:46 PM, William de Smet wrote: > Hi there, > > I have a stack with 100 buttons in it and they all have the same script. > The buttons are called "d1" to "d100". > > How do I change the code for all of them in one time? > I don't feel like copy/paste 100 times. > Hello William, I once had the same issue with my little "Sign Language" stack and the late Eric Chatonet provided me with a tip that worked very well for me. Would something like this work as a stack script: on mouseUp if "button" is in the target then --do something here-- end if end mouseUp Regards, David C. From josh at dvcreators.net Thu Mar 4 14:12:46 2010 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 4 Mar 2010 11:12:46 -0800 Subject: AW: OT: locking software to one specific machine? In-Reply-To: <4B8FE6FA.5040600@fourthworld.com> References: <4B8FE6FA.5040600@fourthworld.com> Message-ID: <3BC19AA6-8E4B-43B7-82F6-77937413D2D6@dvcreators.net> We use "phone home" authorization that uses machine-specific info. In case of a user with two computers, a hard drive crash, etc., we let people authorize additional computers with their email address and password so they always have access to what they've purchased. We "police" our database in case someone gives out their info, we can "pull the plug" on any pirated installs. Works great, in tens of thousands of customers, only encountered a tiny handful who were not connected to the Internet. In these cases we can do a "manual registration". Cheers, Josh On Mar 4, 2010, at 8:59 AM, Richard Gaskin wrote: > Tiemo Hollmann wrote: >> In the first years our software was - in your intention - completely >> free of copy protection, later we implemented a copy protection on >> some >> programs, which were running off the CD. >> >> We made the experience, that nobody ever thanked us the ease of use >> and lack >> of licensing. Just the opposite. Just because our target market is >> so small >> and lots of people know each other, our software was copied, given >> away >> without control. > > "Completely free of copy protection" is very different from the > industry-standard per-user license keys I described, and not > something I would advocate for any commercial product. > > In markets where piracy is an unusually serious consideration, > server-based activation can provide reasonable control over license > key redistribution. If smartly implemented with grace periods, > "phone home" activation should pose no inconvenience to the end-user. > > But most successful products don't even do that, they merely use pre- > generated keys. Per-user license keys have made Adobe, Microsoft, > Apple, and most other software vendors quite profitable. > > Not having any protection at all is, IMO, only appropriate for free > products. The early years of the computer industry's "shareware" > experiments proved that convincingly. The difference between "free > demo" and "full version" need not be onerous to the user, but there > must be some incentive to motivate the user to put in the additional > effort to fill out an order form. > > This is one reason why having PayPal as a payment option is so > valuable: it reduces the payment process to just a single password > field and one click. > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From tedl at voyager.net Thu Mar 4 15:21:44 2010 From: tedl at voyager.net (Ted) Date: Thu, 4 Mar 2010 15:21:44 -0500 Subject: COPY PROTECTION of Rev Project Message-ID: <010601cabbd8$7e37da00$736d5dd8@egl> Hello, I have two questions for the Revolution Sages: 1. Recently, I had to move years' worth of old software to a new machine, and because I couldn't locate one of my keys, I contacted the vendor. This got me thinking. Suddenly I saw myself, five years from now, as a vendor, tied to a desk with a bank of ringing phones, giving out keys to customers from five years before. What are others' experiences with this? (I got into this business so I could retire, not babysit a ticking bomb.) 2. I seem to remember Bill Gates' once saying that rampant worldwide piracy of Windows had greatly helped Microsoft capture the market, because it kept Linux at bay. In certain cases, how might a lack of copy protection work as a competitive tool? Thanks, Ted From andre at andregarzia.com Thu Mar 4 14:17:11 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 4 Mar 2010 16:17:11 -0300 Subject: AW: OT: locking software to one specific machine? In-Reply-To: <3BC19AA6-8E4B-43B7-82F6-77937413D2D6@dvcreators.net> References: <4B8FE6FA.5040600@fourthworld.com> <3BC19AA6-8E4B-43B7-82F6-77937413D2D6@dvcreators.net> Message-ID: <7c87a2a11003041117p5b626690y1e71b5ae24a55404@mail.gmail.com> I was going to make my software refuse to run 15% of the time due to bad licensing and then catch some smart hackers just due to statistic misfortune. I was going to call the system the "Schrodingers Quantum Copy Protection Lock System" patent it and win billions from holywood and RIAA! On Thu, Mar 4, 2010 at 4:12 PM, Josh Mellicker wrote: > We use "phone home" authorization that uses machine-specific info. In case > of a user with two computers, a hard drive crash, etc., we let people > authorize additional computers with their email address and password so they > always have access to what they've purchased. > > We "police" our database in case someone gives out their info, we can "pull > the plug" on any pirated installs. > > Works great, in tens of thousands of customers, only encountered a tiny > handful who were not connected to the Internet. In these cases we can do a > "manual registration". > > Cheers, > > Josh > > > On Mar 4, 2010, at 8:59 AM, Richard Gaskin > wrote: > > Tiemo Hollmann wrote: >> >>> In the first years our software was - in your intention - completely >>> free of copy protection, later we implemented a copy protection on some >>> programs, which were running off the CD. >>> >>> We made the experience, that nobody ever thanked us the ease of use and >>> lack >>> of licensing. Just the opposite. Just because our target market is so >>> small >>> and lots of people know each other, our software was copied, given away >>> without control. >>> >> >> "Completely free of copy protection" is very different from the >> industry-standard per-user license keys I described, and not something I >> would advocate for any commercial product. >> >> In markets where piracy is an unusually serious consideration, >> server-based activation can provide reasonable control over license key >> redistribution. If smartly implemented with grace periods, "phone home" >> activation should pose no inconvenience to the end-user. >> >> But most successful products don't even do that, they merely use >> pre-generated keys. Per-user license keys have made Adobe, Microsoft, >> Apple, and most other software vendors quite profitable. >> >> Not having any protection at all is, IMO, only appropriate for free >> products. The early years of the computer industry's "shareware" >> experiments proved that convincingly. The difference between "free demo" >> and "full version" need not be onerous to the user, but there must be some >> incentive to motivate the user to put in the additional effort to fill out >> an order form. >> >> This is one reason why having PayPal as a payment option is so valuable: >> it reduces the payment process to just a single password field and one >> click. >> >> -- >> Richard Gaskin >> Fourth World >> Rev training and consulting: http://www.fourthworld.com >> Webzine for Rev developers: http://www.revjournal.com >> revJournal blog: http://revjournal.com/blog.irv >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From ambassador at fourthworld.com Thu Mar 4 14:18:03 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 04 Mar 2010 11:18:03 -0800 Subject: AW: OT: locking software to one specific machine? Message-ID: <4B90076B.3080509@fourthworld.com> Marty Knapp wrote: > I like the idea of pre-generated keys. It seems like a good in-between > method. If your user then registered their key and someone else > subsequently tried to register the same number you would have some > recourse. I don't want to get bogged down in lots of administrative > hassles, so I like this method. Does anyone have suggestions about > setting up something like this? And a method for verifying the key? Challenging, but fun: --------------------- Start by reading these for inspiration: The Plain Truth about Casual Software Piracy by Matt Slot, Ambrosia Software Anti Cracking FAQ How to make cracking your programs a little harder Now devise a scheme of between 12 and 20 characters in which some of the characters must be in a specific range to be valid, and others are derived from combinations of others. For example, character 10 could be the ASCII equivalent of the average of characters 9, 4, and 2, and character 2 could be the sum of characters 1 and 5 minus character 8, etc. It's sometimes useful to have some characters use values you can derive meaning from, such as the version number, if needed. Use that to generate your keys. Avoid schemes that produce any "1" or "0" characters since those will be mistyped as "l" and "O" by many users, raising support requests with complaints of a "bad reg code". This will reduce the range of acceptable keys, but you should still be able to produce at least 10,000 unique keys from most schemes you can think up in a few minutes. If you sell 10,000 copies you've made more than enough money to finance your upgrade with a new reg scheme. :) Also provide a Paste Code button in your reg window so they don't need to type the code at all, and handle Cmd-V yourself by cleaning the clipboardData["text"] of any extraneous characters before pasting into your field (people will include trailing returns and other garbage when copying from the reg email you sent them). Then write the inverse of the generator to validate your codes, but break up the validation into multiple handlers each doing a small part of it, using obscure function names strewn all over your code base with lots of red-herring handlers with similar names littered among them. Extra bonus points if the handlers you call also call others; the more the merrier. Anyone tracing your code in a low-level debugger will find it far more annoying than it's worth. Run all your keys through the validator before shipping, to ensure the generator and the validator are in synch. This batch validator should also check uniqueness of all keys to avoid having a single key sent to multiple users. Then of course add at least a half-second delay for validation somewhere in your sequence to thrwart brute-force attacks. A half-second won't bother a user, but for automated attempts it means the difference between hours and years. Then lock your stack with a good password, after writing down your algo somewhere since your code will be unreadable to even yourself. Use v4.0 to build, since the password protection is much stronger. Repeat with each new version, changing your scheme substantially between versions so that all the old keygens that showed up on those overseas servers within a week of your last release will no longer work with your new version. Less challenging, but no less fun: --------------------------------- Just use Jacque Gay's Zygodact Automated Registration System for Revolution -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From jimaultwins at yahoo.com Thu Mar 4 14:20:43 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Thu, 4 Mar 2010 11:20:43 -0800 Subject: How do I change the script for 100 buttons in one time? In-Reply-To: References: Message-ID: <9066054D-B20A-434D-AB2D-AB9C272E7487@yahoo.com> Try this--------------------- on changeScripts put "new script lines" into baseScript repeat with k = 1 to the number of cards repeat with m = 1 to the number of controls get word 1 of the short name of control m if char 1 of IT = "d" and char 2 to -2 of IT < 101 then get "--" & the short date && the short time get IT & cr & baseScript set the script of control m to IT end if end repeat end repeat end changeScripts Hope this helps On Mar 4, 2010, at 10:46 AM, William de Smet wrote: > Hi there, > > I have a stack with 100 buttons in it and they all have the same > script. > The buttons are called "d1" to "d100". > > How do I change the code for all of them in one time? > I don't feel like copy/paste 100 times. > Jim Ault Las Vegas From mikekann at yahoo.com Thu Mar 4 14:21:09 2010 From: mikekann at yahoo.com (Michael Kann) Date: Thu, 4 Mar 2010 11:21:09 -0800 (PST) Subject: FTP uploads with curl - monitoring progress - any ideas? In-Reply-To: Message-ID: <65800.43055.qm@web56707.mail.re3.yahoo.com> http://unite.opera.com/ -- just an idea. --- On Thu, 3/4/10, Ken Ray wrote: > From: Ken Ray > Subject: FTP uploads with curl - monitoring progress - any ideas? > To: "Use Revolution List" > Date: Thursday, March 4, 2010, 12:28 PM > I have some large files (100MB +) > that I need to FTP to a customer's server. > I have tried to use libURL to do the uploading, but I get > odd results/random > timeouts/errant status messages when the file I'm uploading > is over 40MB. > I've tried many different workarounds to this, but none > have been > consistent/acceptable so for this project I'm seeing if I > can use curl. > > The pain is that there doesn't seem to be a way to retrieve > the progress of > an FTP upload so I can display a custom upload box. If I > redirect it to > dev/null, I get control back after the upload starts, but I > can't get any > progress data: > > ???curl -T filePath -u user:pass > serverAdress > /dev/null 2>&1 & > > If I redirect to stdin, it's blocking and I only get > anything when the > upload is complete: > > ???curl -T filePath -u user:pass > serverAdress > stdin > > I've also tried: > > ???curl -T filePath -u user:pass > serverAdress > stdin & > ???curl -T filePath -u user:pass > serverAdress > stdin 2>&1 & > > Is there any way to make a non-blocking call to curl, but > then to get back > the progress text that would normally be displayed in the > Terminal? > > Any help would be appreciated... > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Thu Mar 4 14:23:14 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 04 Mar 2010 11:23:14 -0800 Subject: AW: OT: locking software to one specific machine? Message-ID: <4B9008A2.8050404@fourthworld.com> Andre Garzia wrote: > I was going to make my software refuse to run 15% of the time due to bad > licensing and then catch some smart hackers just due to statistic > misfortune. > > I was going to call the system the "Schrodingers Quantum Copy Protection > Lock System" patent it and win billions from holywood and RIAA! The problem with the Schrodinger algorithm is that as soon as you open the script editor to look at the code the cat dies. :) -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From mikeythek at gmail.com Thu Mar 4 14:23:19 2010 From: mikeythek at gmail.com (Mikey) Date: Thu, 4 Mar 2010 14:23:19 -0500 Subject: How do I change the script for 100 buttons in one time? In-Reply-To: <9066054D-B20A-434D-AB2D-AB9C272E7487@yahoo.com> References: <9066054D-B20A-434D-AB2D-AB9C272E7487@yahoo.com> Message-ID: <9b408d8e1003041123v34998ecarbf72befc7ed87e32@mail.gmail.com> When I read the original post the first thing I thought was "yeah, try THAT in most other tools", and then "OMG there are going to be 20 different solutions to this issue". We're up to 3. 17 to go. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jimaultwins at yahoo.com Thu Mar 4 14:25:01 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Thu, 4 Mar 2010 11:25:01 -0800 Subject: How do I change the script for 100 buttons in one time? In-Reply-To: <401D17D9-1DCE-4A9E-9D4C-1B9F01BB67CC@unil.ch> References: <401D17D9-1DCE-4A9E-9D4C-1B9F01BB67CC@unil.ch> Message-ID: <0E2CBC58-D7B1-4219-BDCF-B20DE0A8F862@yahoo.com> Yours is the best solution, Jacques, if using Rev 3.0 or later. Repeat loops will work on all versions 2.2+ Jim Ault Las Vegas On Mar 4, 2010, at 11:05 AM, Jacques Hausser wrote: > Hi William > > A good case for using behaviors ! Set the script of an hidden btn > "BCommonScript" as you want and then put somewhere in the opening > process of your stack: > > repeat with i = 1 to 100 > put "d" &i into tButtonName > set the behavior of btn tbuttonName to the long ID of button > "BCommonscript" > end repeat > > Jacques > > Le 4 mars 2010 ? 19:46, William de Smet a ?crit : > >> Hi there, >> >> I have a stack with 100 buttons in it and they all have the same >> script. >> The buttons are called "d1" to "d100". >> >> How do I change the code for all of them in one time? >> I don't feel like copy/paste 100 times. >> > From andre at andregarzia.com Thu Mar 4 14:26:09 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 4 Mar 2010 16:26:09 -0300 Subject: AW: OT: locking software to one specific machine? In-Reply-To: <4B90076B.3080509@fourthworld.com> References: <4B90076B.3080509@fourthworld.com> Message-ID: <7c87a2a11003041126j48083344yd86713a7505e9dc9@mail.gmail.com> funny tale below: Once I lost both the serial generator for one of my software and the backup for the given generator. People were buying the software but I could not generate the serial for them, then, I remembered that I had not removed some debug messages. So if invoked thru the terminal from inside the bundle instead of run thru the finder, it would output debug messages. If the user tried a license that was invalid, it would output the invalid license and the correct license for the given email to the console. By running my copy and trying buyers emails, I got all licenses I needed. I never found my console trick anywhere on the pirates sites. It is quite impressive the amount of stuff softwares output to the console, lots of developers leave this kind of stuff behind due to simply forgetting about them. These days (9 years later) I am much more organized with my code and backups and I always have a switch to turn off all debug messages before shipping. Cheers andre On Thu, Mar 4, 2010 at 4:18 PM, Richard Gaskin wrote: > Marty Knapp wrote: > >> I like the idea of pre-generated keys. It seems like a good in-between >> method. If your user then registered their key and someone else >> subsequently tried to register the same number you would have some >> recourse. I don't want to get bogged down in lots of administrative >> hassles, so I like this method. Does anyone have suggestions about >> setting up something like this? And a method for verifying the key? >> > > > Challenging, but fun: > --------------------- > > Start by reading these for inspiration: > > The Plain Truth about Casual Software Piracy > by Matt Slot, Ambrosia Software > > > Anti Cracking FAQ > How to make cracking your programs a little harder > > > Now devise a scheme of between 12 and 20 characters in which some of the > characters must be in a specific range to be valid, and others are derived > from combinations of others. For example, character 10 could be the ASCII > equivalent of the average of characters 9, 4, and 2, and character 2 could > be the sum of characters 1 and 5 minus character 8, etc. It's sometimes > useful to have some characters use values you can derive meaning from, such > as the version number, if needed. Use that to generate your keys. > > Avoid schemes that produce any "1" or "0" characters since those will be > mistyped as "l" and "O" by many users, raising support requests with > complaints of a "bad reg code". This will reduce the range of acceptable > keys, but you should still be able to produce at least 10,000 unique keys > from most schemes you can think up in a few minutes. If you sell 10,000 > copies you've made more than enough money to finance your upgrade with a new > reg scheme. :) > > Also provide a Paste Code button in your reg window so they don't need to > type the code at all, and handle Cmd-V yourself by cleaning the > clipboardData["text"] of any extraneous characters before pasting into your > field (people will include trailing returns and other garbage when copying > from the reg email you sent them). > > Then write the inverse of the generator to validate your codes, but break > up the validation into multiple handlers each doing a small part of it, > using obscure function names strewn all over your code base with lots of > red-herring handlers with similar names littered among them. Extra bonus > points if the handlers you call also call others; the more the merrier. > Anyone tracing your code in a low-level debugger will find it far more > annoying than it's worth. > > Run all your keys through the validator before shipping, to ensure the > generator and the validator are in synch. This batch validator should also > check uniqueness of all keys to avoid having a single key sent to multiple > users. > > Then of course add at least a half-second delay for validation somewhere in > your sequence to thrwart brute-force attacks. A half-second won't bother a > user, but for automated attempts it means the difference between hours and > years. > > Then lock your stack with a good password, after writing down your algo > somewhere since your code will be unreadable to even yourself. Use v4.0 to > build, since the password protection is much stronger. > > Repeat with each new version, changing your scheme substantially between > versions so that all the old keygens that showed up on those overseas > servers within a week of your last release will no longer work with your new > version. > > > > Less challenging, but no less fun: > --------------------------------- > > Just use Jacque Gay's Zygodact > Automated Registration System for Revolution > > > > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From massung at gmail.com Thu Mar 4 14:30:38 2010 From: massung at gmail.com (Jeff Massung) Date: Thu, 4 Mar 2010 13:30:38 -0600 Subject: AW: OT: locking software to one specific machine? In-Reply-To: <4B90076B.3080509@fourthworld.com> References: <4B90076B.3080509@fourthworld.com> Message-ID: <963c86eb1003041130r2045298dxdbedf58052ba37b1@mail.gmail.com> On Thu, Mar 4, 2010 at 1:18 PM, Richard Gaskin wrote: [... snip ...] > Then write the inverse of the generator to validate your codes, but break > up the validation into multiple handlers each doing a small part of it, > using obscure function names strewn all over your code base with lots of > red-herring handlers with similar names littered among them. Extra bonus > points if the handlers you call also call others; the more the merrier. > Anyone tracing your code in a low-level debugger will find it far more > annoying than it's worth. > > Just a note on the recommendation below (as I do have a lot of experience in this area), before someone goes and wastes a lot of time coming up with something awesome that ends up being cracked in a matter of minutes... 1. Don't have this code in one localized place (as Richard already mentioned). 2. Don't follow the "Extra bonus points" recommendation. This is a *bad idea*. You want these functions that check reg codes to be extremely small and obfuscated. 3. You *DO* want to checksum the code that checks regcodes (either the optimized assembly or the raw script in Rev) and stick that checksum in several random places through out the code. 4. Inside the reg check code is also the check against one of those random checksums with a checksum of itself. You're protecting against someone who modifies the registration checking code (which is trivial to do). 5. Don't make a global variable that is true if the user is registered and false if not. This will get hacked in ~2 minutes. Instead, every time you want to make sure the user is registered, call your check function. 6. Check often, and in random places. If possible, make it a completely random check (e.g. have a timer or message loop that checks it every 60 seconds, regardless of what the user is doing). 7. Don't error out immediately if the check fails. Instead, you want to wait and die later on, and often times in subtle ways. For example, suddenly prompt the user to re-enter their code. Those are some good starting points. It should be noted that white-listing reg codes usually isn't a great idea. Reg codes should be generated from something personal (like the user's email address), and can be reverse engineered by you if needed. But white listing is easy. Jeff M. From ambassador at fourthworld.com Thu Mar 4 14:38:10 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 04 Mar 2010 11:38:10 -0800 Subject: AW: OT: locking software to one specific machine? Message-ID: <4B900C22.80201@fourthworld.com> Jeff Massung wrote: > On Thu, Mar 4, 2010 at 1:18 PM, Richard Gaskin > wrote: > > [... snip ...] > > >> Then write the inverse of the generator to validate your codes, but break >> up the validation into multiple handlers each doing a small part of it, >> using obscure function names strewn all over your code base with lots of >> red-herring handlers with similar names littered among them. Extra bonus >> points if the handlers you call also call others; the more the merrier. >> Anyone tracing your code in a low-level debugger will find it far more >> annoying than it's worth. ... > 2. Don't follow the "Extra bonus points" recommendation. This is a *bad > idea*. You want these functions that check reg codes to be extremely small > and obfuscated. I agree with everything else you wrote, and it seems very reflective of much of the Delphi Anti-Cracking FAQ, but on this I'm confused: It seems like we're saying the same thing about obfuscation. Or maybe I just wrote poorly. Having obscure, small handlers in your validation scheme calling other obscure, small handlers, some of which are are red-herrings, seems to only further obfuscate the code, no? At least, that was what I had intended to suggest. I think we're in agreement here, unless I misunderstand something. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From richmondmathewson at gmail.com Thu Mar 4 14:38:07 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 04 Mar 2010 21:38:07 +0200 Subject: COPY PROTECTION of Rev Project In-Reply-To: <010601cabbd8$7e37da00$736d5dd8@egl> References: <010601cabbd8$7e37da00$736d5dd8@egl> Message-ID: <4B900C1F.1090709@gmail.com> On 04/03/2010 22:21, Ted wrote: > Hello, I have two questions for the Revolution Sages: > > > 1. Recently, I had to move years' worth of old software to a new machine, and > because I couldn't locate one of my keys, I contacted the vendor. > > This got me thinking. Suddenly I saw myself, five years from now, as a vendor, > tied to a desk with a bank of ringing phones, giving out keys to customers > from five years before. > > What are others' experiences with this? > > (I got into this business so I could retire, not babysit a ticking bomb.) > > > 2. I seem to remember Bill Gates' once saying that rampant worldwide piracy of > Windows had greatly helped Microsoft capture the market, because it kept Linux > at bay. > > In certain cases, how might a lack of copy protection work as a competitive > tool? > > > Thanks, > > Ted > > The Open Source model seems to work: download for free, then donate if you have the resources. From richmondmathewson at gmail.com Thu Mar 4 14:38:07 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 04 Mar 2010 21:38:07 +0200 Subject: COPY PROTECTION of Rev Project In-Reply-To: <010601cabbd8$7e37da00$736d5dd8@egl> References: <010601cabbd8$7e37da00$736d5dd8@egl> Message-ID: <4B900C1F.1090709@gmail.com> On 04/03/2010 22:21, Ted wrote: > Hello, I have two questions for the Revolution Sages: > > > 1. Recently, I had to move years' worth of old software to a new machine, and > because I couldn't locate one of my keys, I contacted the vendor. > > This got me thinking. Suddenly I saw myself, five years from now, as a vendor, > tied to a desk with a bank of ringing phones, giving out keys to customers > from five years before. > > What are others' experiences with this? > > (I got into this business so I could retire, not babysit a ticking bomb.) > > > 2. I seem to remember Bill Gates' once saying that rampant worldwide piracy of > Windows had greatly helped Microsoft capture the market, because it kept Linux > at bay. > > In certain cases, how might a lack of copy protection work as a competitive > tool? > > > Thanks, > > Ted > > The Open Source model seems to work: download for free, then donate if you have the resources. From massung at gmail.com Thu Mar 4 14:57:16 2010 From: massung at gmail.com (Jeff Massung) Date: Thu, 4 Mar 2010 13:57:16 -0600 Subject: AW: OT: locking software to one specific machine? In-Reply-To: <4B900C22.80201@fourthworld.com> References: <4B900C22.80201@fourthworld.com> Message-ID: <963c86eb1003041157i73f95e77o26ff5c035280ec97@mail.gmail.com> On Thu, Mar 4, 2010 at 1:38 PM, Richard Gaskin wrote: > Jeff Massung wrote: > > On Thu, Mar 4, 2010 at 1:18 PM, Richard Gaskin >> wrote: >> >> >> [... snip ...] >> >> >> Then write the inverse of the generator to validate your codes, but break >>> up the validation into multiple handlers each doing a small part of it, >>> using obscure function names strewn all over your code base with lots of >>> red-herring handlers with similar names littered among them. Extra bonus >>> points if the handlers you call also call others; the more the merrier. >>> Anyone tracing your code in a low-level debugger will find it far more >>> annoying than it's worth. >>> >> > ... > > 2. Don't follow the "Extra bonus points" recommendation. This is a *bad >> idea*. You want these functions that check reg codes to be extremely small >> and obfuscated. >> > > I agree with everything else you wrote, and it seems very reflective of > much of the Delphi Anti-Cracking FAQ, but on this I'm confused: > > It seems like we're saying the same thing about obfuscation. Or maybe I > just wrote poorly. > > Having obscure, small handlers in your validation scheme calling other > obscure, small handlers, some of which are are red-herrings, seems to only > further obfuscate the code, no? > > At least, that was what I had intended to suggest. I think we're in > agreement here, unless I misunderstand something. > Fundamentally, I this we are in agreement. My experience here has been that calling out to any other code (even red herrings) just increases the number of possible failure points that a cracker can hone in on... and they only have to break one. While you don't want to funnel the registration check into a single location, you just as equally don't want to explode the code location of the registration check as opposed to exploding the number of places where the check is located. Jeff M. P.S. I like this thread... dunno why, but I really get into things like this. ;-) From bobs at twft.com Thu Mar 4 15:06:01 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 4 Mar 2010 12:06:01 -0800 Subject: Interfacing to Mac iCal and Address Book In-Reply-To: References: Message-ID: <9FFBAE66-DC82-41CD-9A85-3C943AD32012@twft.com> Sounds like you either need to enlist the help of a registered Apple Developer who can get information on the proper way to communicate with the iApps, or else become an Apple developer yourself. I suspect also that there may be a way to write an Applescript to do it, but that might be cumbersome. Bob On Mar 4, 2010, at 9:45 AM, Peter Haworth wrote: > Anyone got any tips on how to integrate calendar and name/address info from OSX into an application? Not thinking in terms of import/export/sync, more along the lines of instant query/update/delete. Not much detail there but something along the lines of listing Mac address book entries within my app and being able to directly update/delete them from within the app. With the calendar data, use iCal to display appointments/tasks but have lists of them in my app linked to their iCal entriess so any changes within my app get reflected in iCal. > Thanks, > > Pete Haworth > > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Thu Mar 4 15:14:48 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 4 Mar 2010 12:14:48 -0800 Subject: AW: OT: locking software to one specific machine? In-Reply-To: <4B8FE6FA.5040600@fourthworld.com> References: <4B8FE6FA.5040600@fourthworld.com> Message-ID: <71955261-DC5E-45B5-A8F9-E08B111577F4@twft.com> Well I guess the idea that men are basically good at heart is DOA. :-) Bob From revdev at pdslabs.net Thu Mar 4 15:16:29 2010 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 04 Mar 2010 12:16:29 -0800 Subject: FTP uploads with curl - monitoring progress - any ideas? In-Reply-To: References: Message-ID: <4B90151D.8030103@pdslabs.net> Hi Ken, If you open curl as a process, you can then read the status info one line at a time. Would that work? Here's one way (courtesy of Josh Mellicker, with some mods): -- a button script -- local vCurlProcess on mouseUp put empty into fld "output" put formattedForCurl(fld "filename") into tFiles put ("curl -T" && tFiles && fld "server" && "-C -") into vCurlProcess open process vCurlProcess for read get the result if it = empty then send "getCurlReport" to me in 12 ticks else answer it end mouseUp on getCurlReport read from process vCurlProcess for 1 line put it after fld "output" if it = empty then closeCurl else send "getCurlReport" to me in 12 ticks end getCurlReport on closeCurl close process vCurlProcess answer "Done." end closeCurl function formattedForCurl pFileList -- handle single file selection if the number of lines in pFileList = 1 then return quote & pFileList & quote -- handle multi file selections replace CR with "," in pFileList put quote & "{" & pFileList & "}" & quote into tList return tList end formattedForCurl There you have it! Phil On 3/4/10 10:28 AM, Ken Ray wrote: > I have some large files (100MB +) that I need to FTP to a customer's server. > I have tried to use libURL to do the uploading, but I get odd results/random > timeouts/errant status messages when the file I'm uploading is over 40MB. > I've tried many different workarounds to this, but none have been > consistent/acceptable so for this project I'm seeing if I can use curl. > > The pain is that there doesn't seem to be a way to retrieve the progress of > an FTP upload so I can display a custom upload box. If I redirect it to > dev/null, I get control back after the upload starts, but I can't get any > progress data: > > curl -T filePath -u user:pass serverAdress> /dev/null 2>&1& > > If I redirect to stdin, it's blocking and I only get anything when the > upload is complete: > > curl -T filePath -u user:pass serverAdress> stdin > > I've also tried: > > curl -T filePath -u user:pass serverAdress> stdin& > curl -T filePath -u user:pass serverAdress> stdin 2>&1& > > Is there any way to make a non-blocking call to curl, but then to get back > the progress text that would normally be displayed in the Terminal? > > Any help would be appreciated... > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From ambassador at fourthworld.com Thu Mar 4 15:51:35 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 04 Mar 2010 12:51:35 -0800 Subject: AW: OT: locking software to one specific machine? Message-ID: <4B901D57.2050202@fourthworld.com> Jeff Massung wrote: > On Thu, Mar 4, 2010 at 1:38 PM, Richard Gaskin ... >> I agree with everything else you wrote, and it seems very reflective of >> much of the Delphi Anti-Cracking FAQ, but on this I'm confused: >> >> It seems like we're saying the same thing about obfuscation. Or maybe I >> just wrote poorly. >> >> Having obscure, small handlers in your validation scheme calling other >> obscure, small handlers, some of which are are red-herrings, seems to only >> further obfuscate the code, no? >> >> At least, that was what I had intended to suggest. I think we're in >> agreement here, unless I misunderstand something. > > Fundamentally, I this we are in agreement. My experience here has been that > calling out to any other code (even red herrings) just increases the number > of possible failure points that a cracker can hone in on... and they only > have to break one. > > While you don't want to funnel the registration check into a single > location, you just as equally don't want to explode the code location of the > registration check as opposed to exploding the number of places where the > check is located. Ah, I see. Thanks for the clarification. Yes, that makes sense. > Jeff M. > > P.S. I like this thread... dunno why, but I really get into things like > this. ;-) Yeah, me too. The Delphi Anti-Crack FAQ was one of the more fun reads I've come across. It's almost too bad that I'm not all that concerned about piracy anymore, since it's kind of fun to play with. I suppose another good outlet for that sort of thing is securing Internet transmission - got any tips there? (esp. since we don't have SFTP) -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From pete at mollysrevenge.com Thu Mar 4 16:00:08 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 4 Mar 2010 13:00:08 -0800 Subject: Interfacing to iCal and Mac Address Book In-Reply-To: <20100304205137.3A2AD288DE0@mail.runrev.com> References: <20100304205137.3A2AD288DE0@mail.runrev.com> Message-ID: <6DD7FCB1-E8E3-41D4-A8B6-88C6ACE8FDA4@mollysrevenge.com> Well, I've seen a couple of apps out there that interface directly with iTunes so was hoping someone might have done the same thing with Calendar/Address Book. I do have some expertise with AppleScript so might be able to figure something out using that method, just didn't want to re-invent the wheel if there was a wheel already out there. Pete Haworth On Mar 4, 2010, at 12:51 PM, use-revolution-request at lists.runrev.com wrote: > Date: Thu, 4 Mar 2010 12:06:01 -0800 > From: Bob Sneidar > Subject: Re: Interfacing to Mac iCal and Address Book > To: How to use Revolution > Message-ID: <9FFBAE66-DC82-41CD-9A85-3C943AD32012 at twft.com> > Content-Type: text/plain; charset=us-ascii > > Sounds like you either need to enlist the help of a registered Apple > Developer who can get information on the proper way to communicate > with the iApps, or else become an Apple developer yourself. > > I suspect also that there may be a way to write an Applescript to do > it, but that might be cumbersome. > > Bob From francois.chaplais at mines-paristech.fr Thu Mar 4 16:02:08 2010 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Thu, 4 Mar 2010 22:02:08 +0100 Subject: RevMobile first impressions? Message-ID: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> I received by mail the availability on the pre alpha revmobile release. I still have a week to use a coupon that entitles me 5 years for the price of one (reason is I have done the same for studio). Still, this is 700?, which is a lot considering I probably will never make any money of it. So, has someone jumped in the wagon and can share his/her impressions? This would be very appreciated. I went though the buying process and cancelled at the last moment when I saw the price... On the other hand, I love the idea of programming for the iPhone/iPad. TIA Fran?ois From marcio at cialogica.com.br Thu Mar 4 16:09:42 2010 From: marcio at cialogica.com.br (Marcio Alexandroni) Date: Thu, 04 Mar 2010 18:09:42 -0300 Subject: RevMobile first impressions? In-Reply-To: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> Message-ID: Hi Fran?ois, I have purchased RevMobile and I'm very well impressed with the product. It's still in Alpha-Version, which means it lacks a lot of features, but the executables generated are fast although a little bit large for now. I really think it will be an amazing product upon release in november. I have projects to create for iPhone, Maemo and WM and I'll do all them in RevMobile. I'm used to test and use new mobile dev tools since 1998, I've used many tools and RevMobile is the most impressive Alpha-Version I've ever seen. Regards, Marcio Alexandroni www.cialogica.com.br ( (+55 11) 9989-8316 Skype: marcioalexandroni -- > From: Fran?ois Chaplais > Reply-To: How to use Revolution > Date: Thu, 4 Mar 2010 22:02:08 +0100 > To: How to use Revolution > Subject: RevMobile first impressions? > > I received by mail the availability on the pre alpha revmobile release. I > still have a week to use a coupon that entitles me 5 years for the price of > one (reason is I have done the same for studio). Still, this is 700?, which is > a lot considering I probably will never make any money of it. > > So, has someone jumped in the wagon and can share his/her impressions? > > This would be very appreciated. > > I went though the buying process and cancelled at the last moment when I saw > the price... > > On the other hand, I love the idea of programming for the iPhone/iPad. > > TIA > > Fran?ois > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From coiin at verizon.net Thu Mar 4 16:10:33 2010 From: coiin at verizon.net (Colin Holgate) Date: Thu, 04 Mar 2010 16:10:33 -0500 Subject: RevMobile first impressions? In-Reply-To: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> References: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> Message-ID: <1DBE9E19-18B8-4CF9-995F-112791E29163@verizon.net> On Mar 4, 2010, at 4:02 PM, Fran?ois Chaplais wrote: > >So, has someone jumped in the wagon and can share his/her impressions? Would people who have such a thing be allowed to tell you about it? From revlist at azurevision.co.uk Thu Mar 4 16:40:06 2010 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 4 Mar 2010 21:40:06 +0000 Subject: RevMobile first impressions? In-Reply-To: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> References: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> Message-ID: On 4 Mar 2010, at 21:02, Fran?ois Chaplais wrote: > I went though the buying process and cancelled at the last moment > when I saw the price... That's my problem as well. As much as I want to do stuff for the iPhone and iPad without learning Cocoa, $800 plus $400 per year *on top* of my existing licence means a hell of a lot of app sales just to break even. For some who isn't primarily a programmer and wears a lot of other hats (photography, web stuff, installation artist etc.) it's not even in consideration. :-( Ian From briany at qldlearning.com Thu Mar 4 16:40:58 2010 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 4 Mar 2010 13:40:58 -0800 Subject: AW: OT: locking software to one specific machine? In-Reply-To: <4B90076B.3080509@fourthworld.com> References: <4B90076B.3080509@fourthworld.com> Message-ID: While this thread is alive, I've long been curious what the criticisms would be of the following scheme, for a product with low to medium security needs. This does assume that you require an internet connection for registration, but that seems to be a generally acceptable requirement these days. 1) Generate as many (or as few) *random* keys as you need 2) Put them in a database 3) User inputs key, app contacts hosted script which checks if the key is in the database 4) If YES, expire that key 5) If NO, lock out the user for a few seconds 6) Go back to #1 if you sell more keys Point being, if you are ok with requiring an internet connection, why generate a key which has *any* pattern that can be cracked? Guessing a random key you can do very simple math to know the chances of someone cracking it by brute force, and there will be no other method short of getting a hold of your database (and let's face it, if someone is cracking your servers, you might as well give up). For example if you have "only" 1,000 valid keys and something like a 16 digit HEX code, a cracker has about a 1 in 20,000,000,000,000,000 chance of guessing a correct code. Even if you don't lock out after failures... that's 20 quadrillion tries we're talking about. As a bonus crackers may expend a lot of effort looking for a pattern which doesn't exist. I probably haven't given this as much thought since I've never really had to implement it, but I'm keen to hear opinions from those that have. What am I missing? Is there an inherent fear of keeping the database secure which trumps keeping an algorithm secret? > Marty Knapp wrote: >> I like the idea of pre-generated keys. It seems like a good in-between >> method. If your user then registered their key and someone else >> subsequently tried to register the same number you would have some >> recourse. I don't want to get bogged down in lots of administrative >> hassles, so I like this method. Does anyone have suggestions about >> setting up something like this? And a method for verifying the key? > > > Challenging, but fun: > --------------------- > > Start by reading these for inspiration: > > The Plain Truth about Casual Software Piracy > by Matt Slot, Ambrosia Software > > > Anti Cracking FAQ > How to make cracking your programs a little harder > > > Now devise a scheme of between 12 and 20 characters in which some of the characters must be in a specific range to be valid, and others are derived from combinations of others. For example, character 10 could be the ASCII equivalent of the average of characters 9, 4, and 2, and character 2 could be the sum of characters 1 and 5 minus character 8, etc. It's sometimes useful to have some characters use values you can derive meaning from, such as the version number, if needed. Use that to generate your keys. > > Avoid schemes that produce any "1" or "0" characters since those will be mistyped as "l" and "O" by many users, raising support requests with complaints of a "bad reg code". This will reduce the range of acceptable keys, but you should still be able to produce at least 10,000 unique keys from most schemes you can think up in a few minutes. If you sell 10,000 copies you've made more than enough money to finance your upgrade with a new reg scheme. :) > > Also provide a Paste Code button in your reg window so they don't need to type the code at all, and handle Cmd-V yourself by cleaning the clipboardData["text"] of any extraneous characters before pasting into your field (people will include trailing returns and other garbage when copying from the reg email you sent them). > > Then write the inverse of the generator to validate your codes, but break up the validation into multiple handlers each doing a small part of it, using obscure function names strewn all over your code base with lots of red-herring handlers with similar names littered among them. Extra bonus points if the handlers you call also call others; the more the merrier. Anyone tracing your code in a low-level debugger will find it far more annoying than it's worth. > > Run all your keys through the validator before shipping, to ensure the generator and the validator are in synch. This batch validator should also check uniqueness of all keys to avoid having a single key sent to multiple users. > > Then of course add at least a half-second delay for validation somewhere in your sequence to thrwart brute-force attacks. A half-second won't bother a user, but for automated attempts it means the difference between hours and years. > > Then lock your stack with a good password, after writing down your algo somewhere since your code will be unreadable to even yourself. Use v4.0 to build, since the password protection is much stronger. > > Repeat with each new version, changing your scheme substantially between versions so that all the old keygens that showed up on those overseas servers within a week of your last release will no longer work with your new version. > > > > Less challenging, but no less fun: > --------------------------------- > > Just use Jacque Gay's Zygodact > Automated Registration System for Revolution > From gregory.lypny at videotron.ca Thu Mar 4 16:42:50 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 4 Mar 2010 16:42:50 -0500 Subject: Dispatch Versus Send Message-ID: <27294BDC-7E16-4128-8781-1CEC5CE1EB5F@videotron.ca> Hello everyone, What's the difference between the two other than Dispatch using the normal message path? Regards, Gregory From mpetrides at earthlink.net Thu Mar 4 16:53:28 2010 From: mpetrides at earthlink.net (Marian Petrides) Date: Thu, 4 Mar 2010 15:53:28 -0600 Subject: RevMobile first impressions? In-Reply-To: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> References: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> Message-ID: <38048D12-F3F2-4DB0-B009-3560299E3402@earthlink.net> That's interesting Francois, since the offer I received (same details, different expiration) expired a week or so ago. Too bad I didn't take advantage of it. The video of Ben designing his Sheep Herder app certainly was impressive! On Mar 4, 2010, at 3:02 PM, Fran?ois Chaplais wrote: > I received by mail the availability on the pre alpha revmobile release. I still have a week to use a coupon that entitles me 5 years for the price of one (reason is I have done the same for studio). Still, this is 700?, which is a lot considering I probably will never make any money of it. > > So, has someone jumped in the wagon and can share his/her impressions? > > This would be very appreciated. > > I went though the buying process and cancelled at the last moment when I saw the price... > > On the other hand, I love the idea of programming for the iPhone/iPad. > > TIA > > Fran?ois > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Thu Mar 4 16:54:15 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 4 Mar 2010 16:54:15 -0500 Subject: Dispatch Versus Send In-Reply-To: <27294BDC-7E16-4128-8781-1CEC5CE1EB5F@videotron.ca> References: <27294BDC-7E16-4128-8781-1CEC5CE1EB5F@videotron.ca> Message-ID: On Mar 4, 2010, at 4:42 PM, Gregory Lypny wrote: > Hello everyone, > > What's the difference between the two other than Dispatch using the > normal message path? * No error thrown if message you dispatch isn't caught along the way. * Dispatch tells you whether or not the message was handled, passed or not handled. * Easier to pass params with dispatch. * Dispatch always happens immediately. No "in time" option. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From zryip.theslug at gmail.com Thu Mar 4 16:59:38 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Thu, 4 Mar 2010 22:59:38 +0100 Subject: Dispatch Versus Send In-Reply-To: <27294BDC-7E16-4128-8781-1CEC5CE1EB5F@videotron.ca> References: <27294BDC-7E16-4128-8781-1CEC5CE1EB5F@videotron.ca> Message-ID: <64bda6471003041359g336d4ef4j47fa54a2e994f219@mail.gmail.com> 2010/3/4 Gregory Lypny : > Hello everyone, > > What's the difference between the two other than Dispatch using the normal > message path? Hello Gregory, The disptach definition from the Rev dictionary: The dispatch command is most useful when using behaviors, as it allows a behavior script to send an 'event' to one of its child objects and then perform an action depending on the outcome. Executing a dispatch command causes the message to be sent to the target object with the given argument list. This message passes through the message path in the normal way. Once finished, the variable 'it' will contain one of the following three values: "handled" - the message was handled and not passed "unhandled" - no matching handlers were found "passed" - the message was handled but passed by all handlers If no target is specified, the message is sent to 'me'. Note that in the context of a behavior, this will typically be the child that is executing rather than the behavior object itself. The send message in the rev dictionary: Use the send command to override the normal message path, or to delay a command until a specified time. In conclusion, 1) Dispatch - is recommended with behavior. - provide you a result if the message has been intercepted or not (handled, unhandled or passed) 2) send - allow you to override the normal message path. You'll be obtain an error if the message is not intercepted by an object (ie if you send a customMessage to a cd, you will obtain an error message if the customMessage doesn't exists in the card script). - allow you to delay a command (ie for scanning some events, creating animations, etc) HTH, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From zryip.theslug at gmail.com Thu Mar 4 17:03:01 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Thu, 4 Mar 2010 23:03:01 +0100 Subject: Dispatch Versus Send In-Reply-To: References: <27294BDC-7E16-4128-8781-1CEC5CE1EB5F@videotron.ca> Message-ID: <64bda6471003041403t7571a4f0j58bc99edb5bfb42d@mail.gmail.com> 2010/3/4 Trevor DeVore : > On Mar 4, 2010, at 4:42 PM, Gregory Lypny wrote: > >> Hello everyone, >> >> What's the difference between the two other than Dispatch using the normal >> message path? > > * No error thrown if message you dispatch isn't caught along the way. > > * Dispatch tells you whether or not the message was handled, passed or not > handled. > > * Easier to pass params with dispatch. > > * Dispatch always happens immediately. No "in time" option. Trevor is too fast for me. I will ask an anti-doping control! 8-) -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From gbojsza at gmail.com Thu Mar 4 17:11:15 2010 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 4 Mar 2010 15:11:15 -0700 Subject: Application Browser not showing groups Message-ID: <3d8af4151003041411v75c64b0ct4da68458f299b660@mail.gmail.com> This is a strange one (for me) but I rely on the Application Browser to show me the various components on cards. I have an application that shows me some of the components but not all of them. If I use the Property Inspector and inspect groups I find that the application has tens of groups yet in the application browser it only shows 8? >From the Property Inspector I select one group and it hilites the actual group on the card. BUT, there are also other groups that I select via the Property Browser and nothing is visibly shown?? Finally, I also noticed that the Application Browser shows gaps in the Layers numbering which is also a tip off. What is the reason they do not show in the Application Browser? As for their purpose, I am assuming that they may be having custom properties being assigned though I haven't confirmed this yet. thanks, From jacques.hausser at unil.ch Thu Mar 4 17:14:42 2010 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Thu, 4 Mar 2010 23:14:42 +0100 Subject: RevMobile first impressions? In-Reply-To: <38048D12-F3F2-4DB0-B009-3560299E3402@earthlink.net> References: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> <38048D12-F3F2-4DB0-B009-3560299E3402@earthlink.net> Message-ID: <4A0D735E-BA57-457D-A6E3-93B178F7B951@unil.ch> Le 4 mars 2010 ? 22:53, Marian Petrides a ?crit : > That's interesting Francois, since the offer I received (same details, different expiration) expired a week or so ago. Too bad I didn't take advantage of it. The video of Ben designing his Sheep Herder app certainly was impressive! Yes, indeed, but poor Ben had nevertheless to jump straight over his lunch... 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 mb.userev at harbourhosting.co.uk Thu Mar 4 17:34:46 2010 From: mb.userev at harbourhosting.co.uk (Martin Baxter) Date: Thu, 04 Mar 2010 22:34:46 +0000 Subject: AW: OT: locking software to one specific machine? In-Reply-To: <4B9008A2.8050404@fourthworld.com> References: <4B9008A2.8050404@fourthworld.com> Message-ID: <4B903586.7030408@harbourhosting.co.uk> Richard Gaskin wrote: > Andre Garzia wrote: >> I was going to make my software refuse to run 15% of the time due to bad >> licensing and then catch some smart hackers just due to statistic >> misfortune. >> >> I was going to call the system the "Schrodingers Quantum Copy Protection >> Lock System" patent it and win billions from holywood and RIAA! > > The problem with the Schrodinger algorithm is that as soon as you open > the script editor to look at the code the cat dies. > > :) > Maybe. ;) More usually it is just asleep and dreaming of a box in which there is an indeterminate mouse that... :) Martin Baxter -- I am Not a Number, I am a free NaN From jim at visitrieve.com Thu Mar 4 17:35:32 2010 From: jim at visitrieve.com (Jim Bufalini) Date: Thu, 4 Mar 2010 12:35:32 -1000 Subject: Dispatch Versus Send In-Reply-To: <27294BDC-7E16-4128-8781-1CEC5CE1EB5F@videotron.ca> References: <27294BDC-7E16-4128-8781-1CEC5CE1EB5F@videotron.ca> Message-ID: <006801cabbeb$00927f70$01b77e50$@com> Gregory Lypny wrote: > What's the difference between the two other than Dispatch using the > normal message path? I think one of the more significant considerations when deciding to use dispatch or send "in time" is the last point Trevor made, which is dispatch is more like executing a command or function in that the handler that executes the dispatch is "blocked" from exiting until the result of the dispatch is returned, where a send "in time" allows the calling handler to exit first before the send is executed. It should be noted here that a send without the "in time" option is the same as it also is executed immediately and is therefore similar to executing a command. Aloha from Hawaii, Jim Bufalini From ambassador at fourthworld.com Thu Mar 4 17:37:47 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 04 Mar 2010 14:37:47 -0800 Subject: Dispatch Versus Send Message-ID: <4B90363B.1030906@fourthworld.com> Gregory Lypny wrote: > What's the difference between the two other than Dispatch using the > normal message path? FWIW, where they can be used interchangeably dispatch is about 20% faster. Of course it's not like you'll be using them for all your messages, but if you have a situation where speed matters it can add up. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From sarah.reichelt at gmail.com Thu Mar 4 17:38:17 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 5 Mar 2010 08:38:17 +1000 Subject: RevMobile first impressions? In-Reply-To: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> References: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> Message-ID: 2010/3/5 Fran?ois Chaplais : > I received by mail the availability on the pre alpha revmobile release. I still have a week to use a coupon that entitles me 5 years for the price of one (reason is I have done the same for studio). Still, this is 700?, which is a lot considering I probably will never make any money of it. > > So, has someone jumped in the wagon and can share his/her impressions? > > This would be very appreciated. > > I went though the buying process and cancelled at the last moment when I saw the price... > > On the other hand, I love the idea of programming for the iPhone/iPad. Just started it up and tested my first stack, so these are really very superficial first impressions. I don't see any problem telling you about since there is already so much detail on the runrev site - I just can't give you my downloaded copy or login details. You install a plugin to Rev. Open your stack file and tell the plugin to use this stack. You can give it various other parameters like a bundle name, icon etc, as well as setting it up with a profile for distribution (although I don't know if this bit works yet). Then just click the "Start" button on the plugin and the iPhone simulator pops up and your stack is running. I just dragged some basic interface elements in to see how they looked. First impression - the display is very like MetaCard used to be: grey & blocky. However RunRev has said that the native iPhone look will be coming later, so that isn't something to worry about. It feels very fast - certainly faster to get started in the iPhone Simulator than my XCode projects, and then the response feels snappy. The basic interface elements just work: clicking in an unlocked field pops up the keyboard, clicking away makes it disappear. Radio buttons, check boxes, sliders all work. Dialogs: answer works fine and produces a native alert box, ask does nothing. You cannot test on the iPad simulator yet. I'm really excited about this. Now a single language and IDE allows us to deliver on the desktop, web, server and mobile. It's going to be fantastic. Should you spend the money? That's a tricky one. I spent a considerable time last year learning XCode so I could program on the iPhone, and I believe that anyone who can program in Rev can learn to program in XCode - it all just takes longer. While XCode itself is free, you will need to buy books and invest a lot of time learning. And you do need an iPhone developer license to get any apps on to an iPhone. So it comes down to the value of your time and whether you think you can get the return on investment. I will be exploring revMobile further during the day, and if people are interested, I am happy to post my more detailed impressions later. Cheers, Sarah From mpetrides at earthlink.net Thu Mar 4 17:42:57 2010 From: mpetrides at earthlink.net (Marian Petrides) Date: Thu, 4 Mar 2010 16:42:57 -0600 Subject: RevMobile first impressions? In-Reply-To: References: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> Message-ID: <780343DA-DBBE-4B92-A429-F7184B428BA9@earthlink.net> I'd love to hear your more detailed impressions, Sarah, and I bet others would too. Meanwhile, thanks for the early preview! On Mar 4, 2010, at 4:38 PM, Sarah Reichelt wrote: > 2010/3/5 Fran?ois Chaplais : >> I received by mail the availability on the pre alpha revmobile release. I still have a week to use a coupon that entitles me 5 years for the price of one (reason is I have done the same for studio). Still, this is 700?, which is a lot considering I probably will never make any money of it. >> >> So, has someone jumped in the wagon and can share his/her impressions? >> >> This would be very appreciated. >> >> I went though the buying process and cancelled at the last moment when I saw the price... >> >> On the other hand, I love the idea of programming for the iPhone/iPad. > > Just started it up and tested my first stack, so these are really very > superficial first impressions. I don't see any problem telling you > about since there is already so much detail on the runrev site - I > just can't give you my downloaded copy or login details. > > You install a plugin to Rev. Open your stack file and tell the plugin > to use this stack. You can give it various other parameters like a > bundle name, icon etc, as well as setting it up with a profile for > distribution (although I don't know if this bit works yet). Then just > click the "Start" button on the plugin and the iPhone simulator pops > up and your stack is running. > > I just dragged some basic interface elements in to see how they looked. > First impression - the display is very like MetaCard used to be: grey > & blocky. However RunRev has said that the native iPhone look will be > coming later, so that isn't something to worry about. > It feels very fast - certainly faster to get started in the iPhone > Simulator than my XCode projects, and then the response feels snappy. > The basic interface elements just work: clicking in an unlocked field > pops up the keyboard, clicking away makes it disappear. Radio buttons, > check boxes, sliders all work. > Dialogs: answer works fine and produces a native alert box, ask does nothing. > You cannot test on the iPad simulator yet. > > I'm really excited about this. Now a single language and IDE allows us > to deliver on the desktop, web, server and mobile. It's going to be > fantastic. > > Should you spend the money? That's a tricky one. I spent a > considerable time last year learning XCode so I could program on the > iPhone, and I believe that anyone who can program in Rev can learn to > program in XCode - it all just takes longer. While XCode itself is > free, you will need to buy books and invest a lot of time learning. > And you do need an iPhone developer license to get any apps on to an > iPhone. So it comes down to the value of your time and whether you > think you can get the return on investment. > > I will be exploring revMobile further during the day, and if people > are interested, I am happy to post my more detailed impressions later. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From massung at gmail.com Thu Mar 4 17:47:40 2010 From: massung at gmail.com (Jeff Massung) Date: Thu, 4 Mar 2010 16:47:40 -0600 Subject: Dispatch Versus Send In-Reply-To: <4B90363B.1030906@fourthworld.com> References: <4B90363B.1030906@fourthworld.com> Message-ID: <963c86eb1003041447r69063523xff0d4078cc3ba4b@mail.gmail.com> Anyone want to now comment on dispatch vs. call? ;-) Jeff M. On Thu, Mar 4, 2010 at 4:37 PM, Richard Gaskin wrote: > Gregory Lypny wrote: > >> What's the difference between the two other than Dispatch using the >> normal message path? >> > > FWIW, where they can be used interchangeably dispatch is about 20% faster. > > Of course it's not like you'll be using them for all your messages, but if > you have a situation where speed matters it can add up. > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Thu Mar 4 17:48:19 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 04 Mar 2010 14:48:19 -0800 Subject: Application Browser not showing groups Message-ID: <4B9038B3.5000308@fourthworld.com> Glen Bojsza wrote: > I have an application that shows me some of the components but not all of > them. > > If I use the Property Inspector and inspect groups I find that the > application has tens of groups yet in the application browser it only shows > 8? > >>From the Property Inspector I select one group and it hilites the actual > group on the card. > > BUT, there are also other groups that I select via the Property Browser and > nothing is visibly shown?? > > Finally, I also noticed that the Application Browser shows gaps in the > Layers numbering which is also a tip off. > > What is the reason they do not show in the Application Browser? > > As for their purpose, I am assuming that they may be having custom > properties being assigned though I haven't confirmed this yet. Is the selectGroupedControls property of any of those groups set to false? I believe the Rev App Browser hides the contents of "custom controls", being any group which has its selectGroupedControls set to false. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From sarah.reichelt at gmail.com Thu Mar 4 17:51:08 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 5 Mar 2010 08:51:08 +1000 Subject: AW: OT: locking software to one specific machine? In-Reply-To: <4B9008A2.8050404@fourthworld.com> References: <4B9008A2.8050404@fourthworld.com> Message-ID: On Fri, Mar 5, 2010 at 5:23 AM, Richard Gaskin wrote: > Andre Garzia wrote: >> >> I was going to make my software refuse to run 15% of the time due to bad >> licensing and then catch some smart hackers just due to statistic >> misfortune. >> >> I was going to call the system the "Schrodingers Quantum Copy Protection >> Lock System" patent it and win billions from holywood and RIAA! > > The problem with the Schrodinger algorithm is that as soon as you open the > script editor to look at the code the cat dies. Surely it only half dies :-) From massung at gmail.com Thu Mar 4 17:52:37 2010 From: massung at gmail.com (Jeff Massung) Date: Thu, 4 Mar 2010 16:52:37 -0600 Subject: RevMobile first impressions? In-Reply-To: References: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> Message-ID: <963c86eb1003041452s1ec9591bo79a52e17cfa1d7a8@mail.gmail.com> On Thu, Mar 4, 2010 at 4:38 PM, Sarah Reichelt wrote: > > Should you spend the money? That's a tricky one. I spent a > considerable time last year learning XCode so I could program on the > iPhone, and I believe that anyone who can program in Rev can learn to > program in XCode - it all just takes longer. While XCode itself is > free, you will need to buy books and invest a lot of time learning. > And you do need an iPhone developer license to get any apps on to an > iPhone. So it comes down to the value of your time and whether you > think you can get the return on investment. > > Sarah, thanks for the first impressions. Question: what would you recommend for someone who knows xcode and obj-c inside-out? I like Rev just fine, but paying what amounts to $1000 for something I could do for free... Do you see any major features in RevMobile that would set it apart for someone otherwise that would give it a leg up? Jeff M. From gbojsza at gmail.com Thu Mar 4 17:55:13 2010 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 4 Mar 2010 15:55:13 -0700 Subject: Application Browser not showing groups In-Reply-To: <4B9038B3.5000308@fourthworld.com> References: <4B9038B3.5000308@fourthworld.com> Message-ID: <3d8af4151003041455q6698469bn688bc4d72b7e220b@mail.gmail.com> That seems to be what is happening... thanks. I'll have to do a little more research into this but I am over the "hump". Glen On Thu, Mar 4, 2010 at 3:48 PM, Richard Gaskin wrote: > Glen Bojsza wrote: > > I have an application that shows me some of the components but not all of >> them. >> >> If I use the Property Inspector and inspect groups I find that the >> application has tens of groups yet in the application browser it only >> shows >> 8? >> >> From the Property Inspector I select one group and it hilites the actual >>> >> group on the card. >> >> BUT, there are also other groups that I select via the Property Browser >> and >> nothing is visibly shown?? >> >> Finally, I also noticed that the Application Browser shows gaps in the >> Layers numbering which is also a tip off. >> >> What is the reason they do not show in the Application Browser? >> >> As for their purpose, I am assuming that they may be having custom >> properties being assigned though I haven't confirmed this yet. >> > > Is the selectGroupedControls property of any of those groups set to false? > > I believe the Rev App Browser hides the contents of "custom controls", > being any group which has its selectGroupedControls set to false. > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Thu Mar 4 17:58:57 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 4 Mar 2010 14:58:57 -0800 Subject: Dispatch Versus Send In-Reply-To: <4B90363B.1030906@fourthworld.com> References: <4B90363B.1030906@fourthworld.com> Message-ID: <42272664968.20100304145857@ahsoftware.net> Richard- Thursday, March 4, 2010, 2:37:47 PM, you wrote: > FWIW, where they can be used interchangeably dispatch is about 20% faster. Have you benchmarked that? Empirically that's what I'm seeing as well, but I've never actually timed it, so it's subjective here. -- -Mark Wieder mwieder at ahsoftware.net From massung at gmail.com Thu Mar 4 17:59:46 2010 From: massung at gmail.com (Jeff Massung) Date: Thu, 4 Mar 2010 16:59:46 -0600 Subject: popup command cross-platform Message-ID: <963c86eb1003041459y4b00cad2mc686769af287a2a9@mail.gmail.com> So, I'm seeing different functionality w/ the popup command on OS X and Win32, wondering if I should mark this as a bug, and also wondering if anyone has a work-around? -- in a field's script on mouseUp set the backgroundColor of me to "black" popup btn "some menu" set the backgroundColor of me to "white" end mouseUp On Mac OS X this will set the backgruond color black, popup the menu, and wait for me to "cancel" the popup or click a menu item in it, and then set the background color back to white. On Win32 the field goes black -> white instantly and the popup is still there. I much prefer the OS X implementation (given this single context and what I want to have happen), but I understand the advantages of the Win32 implementation. So if it's a bug, I could care less which version was considered "correct" by RunRev, but them being different I consider incorrect behavior. That said, anyone have a workaround for me? Jeff M. From sarah.reichelt at gmail.com Thu Mar 4 18:04:11 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 5 Mar 2010 09:04:11 +1000 Subject: RevMobile first impressions? In-Reply-To: <963c86eb1003041452s1ec9591bo79a52e17cfa1d7a8@mail.gmail.com> References: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> <963c86eb1003041452s1ec9591bo79a52e17cfa1d7a8@mail.gmail.com> Message-ID: > Sarah, thanks for the first impressions. > > Question: what would you recommend for someone who knows xcode and obj-c > inside-out? I like Rev just fine, but paying what amounts to $1000 for > something I could do for free... > > Do you see any major features in RevMobile that would set it apart for > someone otherwise that would give it a leg up? As far as the iPhone/iPad go, if you are already an expert in XCode/Obj-C, then I'd stay there. revMobile is really for people who don't want to have to become XCoders, but do want to deploy on mobile devices. I think it will result in much faster development, but it won't offer any extra features and I think it is unlikely to allow access to the full iPhone API. But as with Rev itself, revMobile will allow cross-platform development, so you can also deploy on Windows Mobile and Maemo, where XCode is for Apple devices only. Cheers, Sarah From DunbarX at aol.com Thu Mar 4 18:10:13 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 4 Mar 2010 18:10:13 EST Subject: How do I change the script for 100 buttons in one time? Message-ID: <79272.286ea246.38c197d5@aol.com> Typical. In a message dated 3/4/10 2:25:09 PM, jimaultwins at yahoo.com writes: > Yours is the best solution, Jacques, > > From jim at visitrieve.com Thu Mar 4 18:18:42 2010 From: jim at visitrieve.com (Jim Bufalini) Date: Thu, 4 Mar 2010 13:18:42 -1000 Subject: Dispatch Versus Send In-Reply-To: <42272664968.20100304145857@ahsoftware.net> References: <4B90363B.1030906@fourthworld.com> <42272664968.20100304145857@ahsoftware.net> Message-ID: <006901cabbf1$083a4770$18aed650$@com> Mark Wieder wrote: > Richard- > > Thursday, March 4, 2010, 2:37:47 PM, you wrote: > > > FWIW, where they can be used interchangeably dispatch is about 20% > faster. > > Have you benchmarked that? Empirically that's what I'm seeing as well, > but I've never actually timed it, so it's subjective here. While we are on benchmarking, has anyone benchmarked the difference in speed of execution between just calling *commandName* verses *send "commandName"* without "in time". I realize send allows dynamically constructing a command name similar to a *do* without the compile time factor of a *do*, but I guess I've always been curious if there was a speed difference in execution of a command vs. send command. I guess not curious enough to actually benchmark it. ;-) Aloha from Hawaii, Jim Bufalini From scott at elementarysoftware.com Thu Mar 4 18:31:42 2010 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 4 Mar 2010 15:31:42 -0800 Subject: AW: OT: locking software to one specific machine? In-Reply-To: <7c87a2a11003041117p5b626690y1e71b5ae24a55404@mail.gmail.com> References: <4B8FE6FA.5040600@fourthworld.com> <3BC19AA6-8E4B-43B7-82F6-77937413D2D6@dvcreators.net> <7c87a2a11003041117p5b626690y1e71b5ae24a55404@mail.gmail.com> Message-ID: <27B2EF74-49B0-471D-80E7-D56B6D3903F4@elementarysoftware.com> I think this might be very effective at locking people out... including the developer. The process of observing the password could change it. On Mar 4, 2010, at 11:17 AM, Andre Garzia wrote: > I was going to make my software refuse to run 15% of the time due to > bad > licensing and then catch some smart hackers just due to statistic > misfortune. > > I was going to call the system the "Schrodingers Quantum Copy > Protection > Lock System" patent it and win billions from holywood and RIAA! > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revlist at azurevision.co.uk Thu Mar 4 18:34:39 2010 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 4 Mar 2010 23:34:39 +0000 Subject: RevMobile first impressions? In-Reply-To: <780343DA-DBBE-4B92-A429-F7184B428BA9@earthlink.net> References: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> <780343DA-DBBE-4B92-A429-F7184B428BA9@earthlink.net> Message-ID: On 4 Mar 2010, at 22:42, Marian Petrides wrote: > I'd love to hear your more detailed impressions, Sarah, and I bet > others would too. Meanwhile, thanks for the early preview! Ditto! Ian From jacque at hyperactivesw.com Thu Mar 4 18:40:37 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 04 Mar 2010 17:40:37 -0600 Subject: How do I change the script for 100 buttons in one time? In-Reply-To: <79272.286ea246.38c197d5@aol.com> References: <79272.286ea246.38c197d5@aol.com> Message-ID: <4B9044F5.9050602@hyperactivesw.com> DunbarX at aol.com wrote: > Typical. > > > In a message dated 3/4/10 2:25:09 PM, jimaultwins at yahoo.com writes: > > >> Yours is the best solution, Jacques, Don't confuse the guy with the "s" with me, who has no "s". ;) I still trip over it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Thu Mar 4 18:49:31 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 04 Mar 2010 15:49:31 -0800 Subject: Dispatch Versus Send Message-ID: <4B90470B.5050306@fourthworld.com> Mark Wieder wrote: > Richard- > > Thursday, March 4, 2010, 2:37:47 PM, you wrote: > >> FWIW, where they can be used interchangeably dispatch is about 20% faster. > > Have you benchmarked that? You have to ask? :) Here's a script I tested with back in September when I had to make some architectural decisions for an app with complex messaging: on mouseUp put 100000 into n -- -- Dispatch: put the millisecs into t repeat n dispatch "GetNada" to btn "b" end repeat put the millisecs - t into t1 -- -- Send: put the millisecs into t repeat n send "GetNada" to btn "b" end repeat put the millisecs - t into t2 -- put "Dispatch: Total time: "&t1 &" ("& t1/n&" per iteration)"\ &cr& "Send: : Total time: "&t2 &" ("& t2/n&" per iteration)" end mouseUp The GetNada handler is just a time-waster so we have a non-empty handler to call: on GetNada get 1+1 end GetNada Results: Dispatch: Total time: 250 (0.0025 per iteration) Send: : Total time: 364 (0.00364 per iteration) So it's actually much better than 20% faster (I must be getting old, my memory's going). The per-iteration times are useful: with either one we're talking about such a small fraction of a millisecond that it really won't matter much when either is used occasionally. When you need timers you shouldn't feel bad about losing 0.00114 milliseconds. We had to burn through a hundred thousand iterations just to get to a quarter-second. But if you don't need the timer delay, adopting dispatch as a habit can help save a few clock cycles here and there that you can spend on more useful things. A lot of the stuff I'm working on is migrating to providing real-time updates to data views, so I take every convenient chance I can to save time to keep things snappy as we add new stuff. Hats off to Mark Waddingham for the well-optimized implementation. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From jacque at hyperactivesw.com Thu Mar 4 19:13:57 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 04 Mar 2010 18:13:57 -0600 Subject: popup command cross-platform In-Reply-To: <963c86eb1003041459y4b00cad2mc686769af287a2a9@mail.gmail.com> References: <963c86eb1003041459y4b00cad2mc686769af287a2a9@mail.gmail.com> Message-ID: <4B904CC5.2020505@hyperactivesw.com> Jeff Massung wrote: > So, I'm seeing different functionality w/ the popup command on OS X and > Win32, wondering if I should mark this as a bug, and also wondering if > anyone has a work-around? > > -- in a field's script > on mouseUp > set the backgroundColor of me to "black" > popup btn "some menu" > set the backgroundColor of me to "white" > end mouseUp > > On Mac OS X this will set the backgruond color black, popup the menu, and > wait for me to "cancel" the popup or click a menu item in it, and then set > the background color back to white. On Win32 the field goes black -> white > instantly and the popup is still there. > > I much prefer the OS X implementation (given this single context and what I > want to have happen), but I understand the advantages of the Win32 > implementation. So if it's a bug, I could care less which version was > considered "correct" by RunRev, but them being different I consider > incorrect behavior. > > That said, anyone have a workaround for me? I hadn't noticed that before, but I don't think I've ever changed a field during a popup operation either. The only workaround I found is so ugly I'm embarrassed. BTW, typically a popup is called on a mousedown handler. on mousedown set the backgroundColor of me to "black" popup btn 1 if the platform = "win32" then wait until the mouseclick click at the clickloc end if set the backgroundColor of me to "white" end mousedown To make it worse, it introduces a slight delay between the time of the mouseclick and the menu selection. But it sort of works. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From zryip.theslug at gmail.com Thu Mar 4 19:21:05 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 5 Mar 2010 01:21:05 +0100 Subject: [ANN] The Slug's Color Picker is now on the road for beta test In-Reply-To: <49F7E663-E214-4960-9D8D-03DAEF452C95@numericable.com> References: <64bda6471002221627w40a2c531p2f59f1a996258d88@mail.gmail.com> <64bda6471003011231p238b7527s7ef0fec6975ab7bf@mail.gmail.com> <64bda6471003011627u39e9ffacl9948298d7caf91a5@mail.gmail.com> <64bda6471003021135m1100ca8dy1e78e9e6f9aa2518@mail.gmail.com> <64bda6471003021446q6190563cva520aee0ad7385c5@mail.gmail.com> <49F7E663-E214-4960-9D8D-03DAEF452C95@numericable.com> Message-ID: <64bda6471003041621t1feb3e8fm9500ceb2db0a0db8@mail.gmail.com> 2010/3/3 Ren? Micout : > Thank you Slug... > A very little thing : in "infos" the version of Color Picker Beta 01.e is 01.c > and... when I write this email the Color Picker window is over the mail window (and not the RunRev Tools window...) > On Macintosh OS X 10.6.2 > Bons souvenirs de Paris > Ren? Thanks Ren?, The 0.1f beta version is now available on the slug's website: - Hide the palette when you switch to an other application - Fix a bug when right clicking on the picker to obtain the picker color dialog. Only the contextual close menu was available since the 0.1e beta - Fix the version number. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From kray at sonsothunder.com Thu Mar 4 20:11:19 2010 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 04 Mar 2010 19:11:19 -0600 Subject: popup command cross-platform In-Reply-To: <963c86eb1003041459y4b00cad2mc686769af287a2a9@mail.gmail.com> Message-ID: On 3/4/10 4:59 PM, "Jeff Massung" wrote: > So, I'm seeing different functionality w/ the popup command on OS X and > Win32, wondering if I should mark this as a bug, and also wondering if > anyone has a work-around? > > -- in a field's script > on mouseUp > set the backgroundColor of me to "black" > popup btn "some menu" > set the backgroundColor of me to "white" > end mouseUp > > On Mac OS X this will set the backgruond color black, popup the menu, and > wait for me to "cancel" the popup or click a menu item in it, and then set > the background color back to white. On Win32 the field goes black -> white > instantly and the popup is still there. > > I much prefer the OS X implementation (given this single context and what I > want to have happen), but I understand the advantages of the Win32 > implementation. So if it's a bug, I could care less which version was > considered "correct" by RunRev, but them being different I consider > incorrect behavior. Well, I don't know if it's a *bug*, but it is certainly inconsistent. Oh, and you should do this on mouseDown instead of mouseUp. > That said, anyone have a workaround for me? All I can suggest is what I ended up having to do... make sure that the popup command was the last thing encountered in the mouseDown handler, and then have the menuPick of the btn being popped handle what happens when they release the mouse button. If you need to pass data between the button calling the popup command and the button being popped, you can use custom properties or globals, etc. Example: -- Main button on mouseDown set the backgroundColor of me to "black" set the uCaller of btn "some menu" to (the long id of me) popup btn "some menu" end mouseDown -- btn "some menu" on menuPick pItem -- do whatever you want to do set the backgroundColor of (the uCaller of me) to "white" end menuPick HTH, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Thu Mar 4 20:16:04 2010 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 04 Mar 2010 19:16:04 -0600 Subject: FTP uploads with curl - monitoring progress - any ideas? In-Reply-To: <4B90151D.8030103@pdslabs.net> Message-ID: Thanks, Phil! Josh sent me his code as well so having both will let me get this done! Thanks again... Ken On 3/4/10 2:16 PM, "Phil Davis" wrote: > Hi Ken, > > If you open curl as a process, you can then read the status info one > line at a time. Would that work? > > Here's one way (courtesy of Josh Mellicker, with some mods): > > -- a button script -- > > local vCurlProcess > > > on mouseUp > put empty into fld "output" > put formattedForCurl(fld "filename") into tFiles > > put ("curl -T" && tFiles && fld "server" && "-C -") into vCurlProcess > open process vCurlProcess for read > get the result > if it = empty > then send "getCurlReport" to me in 12 ticks > else answer it > end mouseUp > > > on getCurlReport > read from process vCurlProcess for 1 line > put it after fld "output" > if it = empty > then closeCurl > else send "getCurlReport" to me in 12 ticks > end getCurlReport > > > on closeCurl > close process vCurlProcess > answer "Done." > end closeCurl > > > function formattedForCurl pFileList > -- handle single file selection > if the number of lines in pFileList = 1 then return quote & > pFileList & quote > > -- handle multi file selections > replace CR with "," in pFileList > put quote & "{" & pFileList & "}" & quote into tList > return tList > end formattedForCurl > > > There you have it! > Phil > > > > On 3/4/10 10:28 AM, Ken Ray wrote: >> I have some large files (100MB +) that I need to FTP to a customer's server. >> I have tried to use libURL to do the uploading, but I get odd results/random >> timeouts/errant status messages when the file I'm uploading is over 40MB. >> I've tried many different workarounds to this, but none have been >> consistent/acceptable so for this project I'm seeing if I can use curl. >> >> The pain is that there doesn't seem to be a way to retrieve the progress of >> an FTP upload so I can display a custom upload box. If I redirect it to >> dev/null, I get control back after the upload starts, but I can't get any >> progress data: >> >> curl -T filePath -u user:pass serverAdress> /dev/null 2>&1& >> >> If I redirect to stdin, it's blocking and I only get anything when the >> upload is complete: >> >> curl -T filePath -u user:pass serverAdress> stdin >> >> I've also tried: >> >> curl -T filePath -u user:pass serverAdress> stdin& >> curl -T filePath -u user:pass serverAdress> stdin 2>&1& >> >> Is there any way to make a non-blocking call to curl, but then to get back >> the progress text that would normally be displayed in the Terminal? >> >> Any help would be appreciated... >> >> Ken Ray >> Sons of Thunder Software, Inc. >> Email: kray at sonsothunder.com >> Web Site: http://www.sonsothunder.com/ >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From mwieder at ahsoftware.net Thu Mar 4 20:28:51 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 4 Mar 2010 17:28:51 -0800 Subject: Dispatch Versus Send In-Reply-To: <4B90470B.5050306@fourthworld.com> References: <4B90470B.5050306@fourthworld.com> Message-ID: <87281658812.20100304172851@ahsoftware.net> Richard- I've resorted lately to using dispatch as "a better send" for cases where I don't need an "in time" message. It somehow just seems more robust, even when you don't consider the speed increase. -- -Mark Wieder mwieder at ahsoftware.net From kray at sonsothunder.com Thu Mar 4 20:31:21 2010 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 04 Mar 2010 19:31:21 -0600 Subject: Custom tab controls In-Reply-To: <1607566F-1421-4A8A-9DEF-C4BBC211C01B@twft.com> Message-ID: On 3/2/10 3:38 PM, "Bob Sneidar" wrote: > How odd. This showed up with a .mc extension, and opened in something called > TestAETE, and worked! When I changed the extension to .rev, it opened in > Revolution and worked there too! > > What in the world is TestAETE? It was in my Revcon Downloads folder. TestAETE was an app distributed after my talk at RevCon about creating your own custom AppleScript dictionary for Rev apps. The TestAETE application had a couple of examples in it. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From sarah.reichelt at gmail.com Thu Mar 4 21:11:46 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 5 Mar 2010 12:11:46 +1000 Subject: RevMobile first impressions? In-Reply-To: <780343DA-DBBE-4B92-A429-F7184B428BA9@earthlink.net> References: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> <780343DA-DBBE-4B92-A429-F7184B428BA9@earthlink.net> Message-ID: On Fri, Mar 5, 2010 at 8:42 AM, Marian Petrides wrote: > I'd love to hear your more detailed impressions, Sarah, and I bet others would too. ?Meanwhile, thanks for the early preview! Here is some more info: Set your stack's font to Helvetica 14, the backColor to "200,200,200" and the look & feel to Motif to get the best preview of how it will look on the iPhone without any skinning. A multi-card stack works fine and moving into & out of sub-stacks works fine. Not all text decoration works: there are no fonts and you can't specify bold or italic, but all the other text styles work and you can set colors. I have used the photo picker and it works really well, but don't leave an image on screen if you leave that card or the app usually crashes. Images are a bit crashy - sometimes they work, other times they crash. File handling: I have been able to list files in the app bundle, create a new one and display it, download an image file and save it, download a web page and show the htmlText. File paths: you can get the defaultFolder which gives the full folder to the app in my Library. Getting the filename of my stack gives a much shorter path, with the app bundle being the root folder. I haven't worked out yet how to save a file to the app's Documents folder. iPhone specific commands: I have tested the command that accesses the photo library (& would do the camera if I was using a real iPhone) and they work really well. Shaking & multi-touch all seem fine, although on the simulator I haven't actually been able to multi-touch. If you shake when typing in a text field, you get a dialog saying that there is nothing to undo, so the shake has been correctly linked to the undo mechanism, but the actual undo is not operational yet. Rotation: seemingly not implemented yet, although the handbook mentions that they cause the stack to get a resizeStack message. I haven't been able to detect this, so I have no idea how they plan to implement rotation. I tried activating the accelerometer but I can't test that without installing on a real iPhone. It didn't make any difference to the rotation - you still just see all the controls turned sideways. I even tried changing to a wide stack to see if that would help, but it didn't make any difference. So basically, although it all looks weird, there is an awful lot of Rev that just works. Images are the most flaky things I have discovered. As is usual with iPhone apps and Rev apps, errors don't make a fuss, although the app can just quit quietly if something weird happens. As regards future revMobile programming, the main things I will be looking for are the native look & feel, rotation handling and better image handling. Of these, the rotation is the most important as I need to know how this will work in order to be able to plan my development. The look & feel will not stop me developing, but you couldn't release an iPhone app that looks like it's running under X11 :-) Image handling is crucial because it has caused a lot of app crashes in my tests. Adding an icon to your app is super-easy. You just make a 57 x 57 png file and tell revMobile the plugin. When the app installs, the iPhone rounds the corners and adds the cool lighting effect. If anyone would like me to test any aspect in particular, just let me know. Cheers, Sarah From james at thehales.id.au Thu Mar 4 21:40:50 2010 From: james at thehales.id.au (James Hale) Date: Fri, 5 Mar 2010 13:40:50 +1100 Subject: Best way to carry out boolean searches on large text body. Message-ID: I would like the opinion of list members on the best way to approach the following task: Being able to perform boolean and proximity searches on a large body of text (say 400,000 words) returning paragraphs where the hits are located (clickable to give section containing paragraph desired.) Of course by boolean I mean "find where 'word a' AND 'word b' occur in the same paragraph". Same with OR. By proximity I mean "find where 'word a' is within x words of 'word b'. In thinking about this for a while and considering how to store the text and ways to search it I have come to the conclusion that a database of words contained in the text is the way to go. By this I mean effectively indexing every word and its position in the text and then using database operations on this index file to produce a list of hits. The hits giving me either chunk expressions to display the relevant text blocks or record ID if I also store paragraphs as individual records in a further database file. For example with the boolean AND, get a selection of 'word a' hits and then a selection of 'word b' hits and find where they intersect based on the paragraph numbers. This would result in a list of paragraphs only containing both words. Do members think this an overkill? Has anybody else looked at this? Any comments would be appreciated. James From mpetrides at earthlink.net Thu Mar 4 21:41:58 2010 From: mpetrides at earthlink.net (Petrides, M.D. Marian) Date: Thu, 4 Mar 2010 20:41:58 -0600 Subject: RevMobile first impressions? In-Reply-To: References: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> <780343DA-DBBE-4B92-A429-F7184B428BA9@earthlink.net> Message-ID: Thanks for all the details, Sarah. Is it possible to install an app onto an iPhone the way Ben appears to have done in the demo? I know you probably don't want to actually do it with a pre-alpha version for risk of seriously messing up your iPhone, but just wondered if it is possible. (If it were, then I might just try it on an iTouch if I got daring enough.) On Mar 4, 2010, at 8:11 PM, Sarah Reichelt wrote: > On Fri, Mar 5, 2010 at 8:42 AM, Marian Petrides > wrote: >> I'd love to hear your more detailed impressions, Sarah, and I bet >> others would too. Meanwhile, thanks for the early preview! > > Here is some more info: > > Set your stack's font to Helvetica 14, the backColor to "200,200,200" > and the look & feel to Motif to get the best preview of how it will > look on the iPhone without any skinning. > > A multi-card stack works fine and moving into & out of sub-stacks > works fine. > > Not all text decoration works: there are no fonts and you can't > specify bold or italic, but all the other text styles work and you can > set colors. > > I have used the photo picker and it works really well, but don't leave > an image on screen if you leave that card or the app usually crashes. > > Images are a bit crashy - sometimes they work, other times they crash. > > File handling: I have been able to list files in the app bundle, > create a new one and display it, download an image file and save it, > download a web page and show the htmlText. > > File paths: you can get the defaultFolder which gives the full folder > to the app in my Library. Getting the filename of my stack gives a > much shorter path, with the app bundle being the root folder. I > haven't worked out yet how to save a file to the app's Documents > folder. > > iPhone specific commands: I have tested the command that accesses the > photo library (& would do the camera if I was using a real iPhone) and > they work really well. Shaking & multi-touch all seem fine, although > on the simulator I haven't actually been able to multi-touch. > If you shake when typing in a text field, you get a dialog saying that > there is nothing to undo, so the shake has been correctly linked to > the undo mechanism, but the actual undo is not operational yet. > > Rotation: seemingly not implemented yet, although the handbook > mentions that they cause the stack to get a resizeStack message. I > haven't been able to detect this, so I have no idea how they plan to > implement rotation. I tried activating the accelerometer but I can't > test that without installing on a real iPhone. It didn't make any > difference to the rotation - you still just see all the controls > turned sideways. I even tried changing to a wide stack to see if that > would help, but it didn't make any difference. > > So basically, although it all looks weird, there is an awful lot of > Rev that just works. Images are the most flaky things I have > discovered. > As is usual with iPhone apps and Rev apps, errors don't make a fuss, > although the app can just quit quietly if something weird happens. > > As regards future revMobile programming, the main things I will be > looking for are the native look & feel, rotation handling and better > image handling. Of these, the rotation is the most important as I need > to know how this will work in order to be able to plan my development. > The look & feel will not stop me developing, but you couldn't release > an iPhone app that looks like it's running under X11 :-) > > Image handling is crucial because it has caused a lot of app crashes > in my tests. > > Adding an icon to your app is super-easy. You just make a 57 x 57 png > file and tell revMobile the plugin. When the app installs, the iPhone > rounds the corners and adds the cool lighting effect. > > If anyone would like me to test any aspect in particular, just let > me know. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jrvalent at wisc.edu Thu Mar 4 21:51:52 2010 From: jrvalent at wisc.edu (rand valentine) Date: Thu, 04 Mar 2010 20:51:52 -0600 Subject: very strange rev behavior Message-ID: For some reason, Rev has started taking 50 times as long to open as it used to, and the menus are so slow as to be completely unusable. I thought the program was frozen, just a spinning beach ball for minutes on end as it started up, then slowly it went through the process of opening and finally opened. But choosing any menu item just creates a spinning beach ball that lasts for several minutes. Clicking on the Close button in a window also produces a good minute of beach ball spinning. I downloaded a new copy of Rev and installed it, same problem. It seems to only be Rev that is affected by this, though it seems to be REV vs OS interface issue. I thought perhaps some Preferences file was trashed but replaced those I could find. I'm running Enterprise version 4.0 under Mac OS X Server Verision 10.5.8, on a Power Mac 2.66Gz Quad Core Intel Xeon with 8Gb of memory. I SOOOO miss Rev, I hadn't realized how important it is to my daily workflow! Rand Valentine University of Wisconsin-Madison From sarah.reichelt at gmail.com Thu Mar 4 22:05:45 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 5 Mar 2010 13:05:45 +1000 Subject: RevMobile first impressions? In-Reply-To: References: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> <780343DA-DBBE-4B92-A429-F7184B428BA9@earthlink.net> Message-ID: On Fri, Mar 5, 2010 at 12:41 PM, Petrides, M.D. Marian wrote: > Thanks for all the details, Sarah. > > Is it possible to install an app onto an iPhone the way Ben appears to have > done in the demo? ?I know you probably don't want to actually do it with a > pre-alpha version for risk of seriously messing up your iPhone, but just > wondered if it is possible. ?(If it were, then I might just try it on an > iTouch if I got daring enough.) Yes it is possible according to the docs. You have to have an iPhone developer license i.e. the $99 per year version, not the free version. Then you can use the developer portal to get a provisioning certificate for your app. This is needed by the revMobile plugin before it can install on the actual device. This is all exactly the same as if you were developing using XCode. might "borrow" my son's iPod Touch... Cheers, Sarah From sarah.reichelt at gmail.com Thu Mar 4 22:07:33 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 5 Mar 2010 13:07:33 +1000 Subject: very strange rev behavior In-Reply-To: References: Message-ID: On Fri, Mar 5, 2010 at 12:51 PM, rand valentine wrote: > For some reason, Rev has started taking 50 times as long to open as it used > to, and the menus are so slow as to be completely unusable. I thought the > program was frozen, just a spinning beach ball for minutes on end as it > started up, then slowly it went through the process of opening and finally > opened. But choosing any menu item just creates a spinning beach ball that > lasts for several minutes. Clicking on the Close button in a window also > produces a good minute of beach ball spinning. I downloaded a new copy of > Rev and installed it, same problem. It seems to only be Rev that is affected > by this, though it seems to be REV vs OS interface issue. I thought perhaps > some Preferences file was trashed but replaced those I could find. I'm > running Enterprise version 4.0 under Mac OS X Server Verision 10.5.8, on a > Power Mac 2.66Gz Quad Core Intel Xeon with 8Gb of memory. I SOOOO miss Rev, > I hadn't realized how important it is to my daily workflow! When Rev starts up, it connects to the Rev servers to check for updates and to show the data in the Start Center. Do you have it showing the Start Center on startup? If so, try turing that off and trying in case, just in case your firewall is blocking some connection. Cheers, Sarah From sarah.reichelt at gmail.com Thu Mar 4 22:10:27 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 5 Mar 2010 13:10:27 +1000 Subject: Best way to carry out boolean searches on large text body. In-Reply-To: References: Message-ID: On Fri, Mar 5, 2010 at 12:40 PM, James Hale wrote: > I would like the opinion of list members on the best way to approach the following task: Being able to perform boolean and proximity searches on a large body of text (say 400,000 words) returning paragraphs where the hits are located (clickable to give section containing paragraph desired.) > > Of course by boolean I mean "find ?where 'word a' AND 'word b' occur in the same paragraph". Same with OR. > By proximity I mean "find where 'word a' is within x words of 'word b'. > > In thinking about this for a while and considering how to store the text and ways to search it I have come to the conclusion that a database of words contained in the text is the way to go. By this I mean effectively indexing every word and its position in the text and then using database operations on this index file to produce a list of hits. The hits giving me either chunk expressions to display the relevant text blocks or record ID if I also store paragraphs as individual records in a further database file. > > For example with the boolean AND, get a selection of 'word a' hits and then a selection of 'word b' hits and find where they intersect based on the paragraph numbers. This would result in a list of paragraphs only containing both words. > > Do members think this an overkill? > Has anybody else looked at this? Have you tried using the filter command? Remembering that a paragraph is really just a line, this might work well for finding paragraphs where the two words occur. e.g. filter tData with "*" & wordA & "*" filter tData with "*" & wordB & "*" would leave you only with lines containing both wordA and wordB. Proximity is a different type of search, but once you had narrowed the data to just those lines with both words, then a repeat loop would be easier. Cheers, Sarah From mikekann at yahoo.com Thu Mar 4 22:25:28 2010 From: mikekann at yahoo.com (Michael Kann) Date: Thu, 4 Mar 2010 19:25:28 -0800 (PST) Subject: Best way to carry out boolean searches on large text body. In-Reply-To: Message-ID: <639100.69999.qm@web56702.mail.re3.yahoo.com> James, I doubt this is the "best" way. But it will work and might give you some ideas. What we think of as a "paragraph", RunRev thinks of as a "line". ------------------------------------- put fld 1 into v // raw text repeat for each line k in v if (word_uno is in k) AND (word_dos is in k) then // AND condition --if (word_uno is in k) OR (word_dos is in k) then // OR condition put k & cr after h end if end repeat put h into fld 2 --------------------------- To make word_uno and word_dos look like real words you have to put spaces before and after and consider words at the end of the line -- but the template gives you the idea. You can also use the "filter" command. For the AND condition filter twice, once with each word. For the OR condition filter separately for each word, then combine the results. The two techniques above will succeed in "returning paragraphs where the hits are located" I'm not sure exactly what the following means: (clickable to give section containing paragraph desired.)" I have some ideas about "proximity," if these are the kinds of suggestions you are interested in. It's really easier than you think. I think there was a recent thread on indexing strategies if you want to go that route. --- On Thu, 3/4/10, James Hale wrote: > From: James Hale > Subject: Best way to carry out boolean searches on large text body. > To: use-revolution at lists.runrev.com > Date: Thursday, March 4, 2010, 8:40 PM > I would like the opinion of list > members on the best way to approach the following task: > Being able to perform boolean and proximity searches on a > large body of text (say 400,000 words) returning paragraphs > where the hits are located (clickable to give section > containing paragraph desired.) > > Of course by boolean I mean "find? where 'word a' AND > 'word b' occur in the same paragraph". Same with OR. > By proximity I mean "find where 'word a' is within x words > of 'word b'. > > In thinking about this for a while and considering how to > store the text and ways to search it I have come to the > conclusion that a database of words contained in the text is > the way to go. By this I mean effectively indexing every > word and its position in the text and then using database > operations on this index file to produce a list of hits. The > hits giving me either chunk expressions to display the > relevant text blocks or record ID if I also store paragraphs > as individual records in a further database file. > > For example with the boolean AND, get a selection of 'word > a' hits and then a selection of 'word b' hits and find where > they intersect based on the paragraph numbers. This would > result in a list of paragraphs only containing both words. > > Do members think this an overkill? > Has anybody else looked at this? > > Any comments would be appreciated. > > > > James > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From massung at gmail.com Thu Mar 4 22:44:47 2010 From: massung at gmail.com (Jeffrey Massung) Date: Thu, 4 Mar 2010 21:44:47 -0600 Subject: popup command cross-platform In-Reply-To: References: Message-ID: <211EE481-517A-47C3-9498-91EFE5E3DA1D@gmail.com> On Mar 4, 2010, at 7:11 PM, Ken Ray wrote: > > All I can suggest is what I ended up having to do... make sure that the > popup command was the last thing encountered in the mouseDown handler, and > then have the menuPick of the btn being popped handle what happens when they > release the mouse button. If you need to pass data between the button > calling the popup command and the button being popped, you can use custom > properties or globals, etc. Ken, Thanks for the reply. Sadly this doesn't work 100% because menuPick won't get called if no menu item is actually selected (i.e. the user clicks outside the popup and it goes away). And yes, I agree on the mouseDown... which is what I have in my script, I just get so used to typing mouseUp... ;-) Jeff M. From jacque at hyperactivesw.com Thu Mar 4 23:15:03 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 04 Mar 2010 22:15:03 -0600 Subject: very strange rev behavior In-Reply-To: References: Message-ID: <4B908547.9070900@hyperactivesw.com> rand valentine wrote: > For some reason, Rev has started taking 50 times as long to open as it used > to, and the menus are so slow as to be completely unusable. I thought the > program was frozen, just a spinning beach ball for minutes on end as it > started up, then slowly it went through the process of opening and finally > opened. But choosing any menu item just creates a spinning beach ball that > lasts for several minutes. Clicking on the Close button in a window also > produces a good minute of beach ball spinning. That sounds like the symptoms of opening a stack with many thousands of cards. Are you working on something like that? If you are launching Rev by double-clicking a large stack, then that would account for the startup delay. The menus stall out because on each mousedown in the menu, Rev has to rebuild it's groups list and some other menu items. It has to look at each card briefly to do the groups. The recommended number of cards is around 5 thousand, give or take a few, depending on how many objects are on the cards. I've done okay with 10,000 in one project. I wouldn't go much more than that. The public recommendation is 5-6K. The MetaCard IDE is more responsive with large stacks because it does very little behind the scenes. You could try switching to that in a pinch, but MC lacks a lot of the niceties you may depend on. It's pretty much raw engine. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mcgrath3 at mac.com Fri Mar 5 00:02:28 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 05 Mar 2010 00:02:28 -0500 Subject: Interfacing to Mac iCal and Address Book In-Reply-To: References: Message-ID: <21A76EBC-7A52-49D6-B236-806065599DC5@mac.com> Peter, You have Automator scripts/apps and Applescript to choose from. Automator has been updated with many new commands ready for interaction with these apps but Applescripts can be embedded in RunRev custom properties and run via do script as. Here is a list of some of the commands. Automator iCal: Delete iCal Event Event Summary Filter iCal Items Find iCal Items Get Specified iCal Items New Calendar New iCal Event New To Do Item Automator Contacts/Address Book: Export vCards Filter Address Book Items Find Address Book Items Find People with Birthdays Get Contact Information Get Selected Address Book Items Get Specified Address Book Items Group Mailer Applescript Address Book: add remove save address AIM Handle, etc. email contact info custom date group phone person url perform action action title, etc. duplicate save, etc. exists make move Applescript iCal: create calendar reload calendars switch view view calendar GetURL show display alarm mail alarm sound alarm open file alarm attendee todo event open, close, print,count duplicate exists make move Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Mar 4, 2010, at 12:45 PM, Peter Haworth wrote: > Anyone got any tips on how to integrate calendar and name/address info from OSX into an application? Not thinking in terms of import/export/sync, more along the lines of instant query/update/delete. Not much detail there but something along the lines of listing Mac address book entries within my app and being able to directly update/delete them from within the app. With the calendar data, use iCal to display appointments/tasks but have lists of them in my app linked to their iCal entriess so any changes within my app get reflected in iCal. > Thanks, > > Pete Haworth > > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mcgrath3 at mac.com Fri Mar 5 00:28:04 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 05 Mar 2010 00:28:04 -0500 Subject: RevMobile first impressions? In-Reply-To: References: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> <780343DA-DBBE-4B92-A429-F7184B428BA9@earthlink.net> Message-ID: <2BA83F80-67C3-4CDF-99F4-60D2A3D3FE51@mac.com> Besides getting my very first iPhone app accepted yesterday on the App store -- DeMoted -- I then got to play with revMobile. I am very pleased so far. I can't wait to build apps in rev for the app store and matching apps on the web. I am testing on my actual iPhone (not much of a chance in messing up the iPhone since you are in your own sandbox and can not effect other apps or the system) and in the Simulator. I took a web based application I have been working on for the web and it is now on my iPhone. Five minutes. Unbelievable..... Fonts, fields, as native controls are not implemented correctly yet (look ugly like Sarah stated) but custom controls look exactly like they do on the web and in RunRev ide. Simple animations work very smoothly. Move command and set the location to work great. Mutli touch is not completely as smooth as in a regular xCode iPhone app. Drop shadows etc. look better than the same on the web. Fades look great. Gifs are not supported. PNGs are the preferred format for xCode for the iPhone. Some images cause crashes. Wrongly sized stacks seem to not load right. (makes sense). Some button presses seem to hang more on the device than in the simulator. Ben was not exaggerating in his time to deployment. It truly is as fast as design, build and deploy. The submission process however has taken almost three weeks for my app. YMMV. To be able to use my skills in RunRev across the board like this is a dream come true. Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Mar 4, 2010, at 10:05 PM, Sarah Reichelt wrote: > On Fri, Mar 5, 2010 at 12:41 PM, Petrides, M.D. Marian > wrote: >> Thanks for all the details, Sarah. >> >> Is it possible to install an app onto an iPhone the way Ben appears to have >> done in the demo? I know you probably don't want to actually do it with a >> pre-alpha version for risk of seriously messing up your iPhone, but just >> wondered if it is possible. (If it were, then I might just try it on an >> iTouch if I got daring enough.) > > Yes it is possible according to the docs. You have to have an iPhone > developer license i.e. the $99 per year version, not the free version. > Then you can use the developer portal to get a provisioning > certificate for your app. This is needed by the revMobile plugin > before it can install on the actual device. > > This is all exactly the same as if you were developing using XCode. > > > might "borrow" my son's iPod Touch... > > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From williamdesmet at gmail.com Fri Mar 5 01:01:07 2010 From: williamdesmet at gmail.com (William de Smet) Date: Fri, 5 Mar 2010 07:01:07 +0100 Subject: How do I 'shorten' this script? Message-ID: Hi there, I am having trouble with 'shortening' some script but don't know why. The first script works but the second one doesn't. What am I doing wrong? Thanks! Greetings, William * * * * *on mouseUp* *if* the backgroundcolor of grc "A1" of grp "A" = the backgroundcolor of grc "A1" of grp "B" and \ *if the backgroundcolor of grc "A2" of grp "A" = the backgroundcolor of grc "A2" of grp "B" and \* *if the backgroundcolor of grc "A3" of grp "A" = the backgroundcolor of grc "A3" of grp "B" and \* *if* the backgroundcolor of grc "A4" of grp "A" = the backgroundcolor of grc "A4" of grp "B" and \ *if* the backgroundcolor of grc "A5" of grp "A" = the backgroundcolor of grc "A5" of grp "B" *then* *answer* "AnswerA" *else* *answer* "AnswerB" *end* mouseUp *on* mouseUp *repeat* with x = 1 to 5 *put* "A" &x into tName *end* *repeat* *if* the backgroundcolor of grc tName of grp "A" = the backgroundcolor of grc tName of grp "B" *then* *answer* "AnswerA" *else* *answer* "AnswerB" *end* mouseUp From revdev at pdslabs.net Fri Mar 5 01:27:27 2010 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 04 Mar 2010 22:27:27 -0800 Subject: How do I 'shorten' this script? In-Reply-To: References: Message-ID: <4B90A44F.4050004@pdslabs.net> Hi William, You were almost there. The statement that sets the 'tName' variable value AND the condition-check that uses it must BOTH be inside the repeat loop, like this: on mouseUp repeat with x = 1 to 5 put "A"&x into tName if the backgroundcolor of grc tName of grp "A" \ = the backgroundcolor of grc tName of grp "B" then answer "AnswerA" else answer "AnswerB" end repeat end mouseUp HTH - Phil Davis On 3/4/10 10:01 PM, William de Smet wrote: > Hi there, > > > I am having trouble with 'shortening' some script but don't know why. > > The first script works but the second one doesn't. What am I doing wrong? > > Thanks! > > > Greetings, > > > William > > * > * > > * > * > > *on mouseUp* > > *if* the backgroundcolor of grc "A1" of grp "A" = the backgroundcolor of grc > "A1" of grp "B" and \ > > *if the backgroundcolor of grc "A2" of grp "A" = the backgroundcolor of grc > "A2" of grp "B" and \* > > *if the backgroundcolor of grc "A3" of grp "A" = the backgroundcolor of grc > "A3" of grp "B" and \* > > *if* the backgroundcolor of grc "A4" of grp "A" = the backgroundcolor of grc > "A4" of grp "B" and \ > > *if* the backgroundcolor of grc "A5" of grp "A" = the backgroundcolor of grc > "A5" of grp "B" > > *then* *answer* "AnswerA" > > *else* *answer* "AnswerB" > > *end* mouseUp > > > > > *on* mouseUp > > *repeat* with x = 1 to 5 > > *put* "A"&x into tName > > *end* *repeat* > > *if* the backgroundcolor of grc tName of grp "A" = the backgroundcolor of > grc tName of grp "B" > > *then* *answer* "AnswerA" > > *else* *answer* "AnswerB" > > *end* mouseUp > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From mwieder at ahsoftware.net Fri Mar 5 02:00:24 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 4 Mar 2010 23:00:24 -0800 Subject: How do I 'shorten' this script? In-Reply-To: <4B90A44F.4050004@pdslabs.net> References: <4B90A44F.4050004@pdslabs.net> Message-ID: <29301552453.20100304230024@ahsoftware.net> Phil- Close. That'll give you five answer dialogs. Try on mouseUp local tMatch put false into tMatch repeat with x = 1 to 5 put "A"&x into tName if the backgroundcolor of grc tName of grp "A" \ = the backgroundcolor of grc tName of grp "B" then put false into tMatch end repeat if tMatch then answer "AnswerA" else answer "AnswerB" end mouseUp -- -Mark Wieder mwieder at ahsoftware.net From jimaultwins at yahoo.com Fri Mar 5 02:22:53 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Thu, 4 Mar 2010 23:22:53 -0800 Subject: How do I 'shorten' this script? In-Reply-To: <29301552453.20100304230024@ahsoftware.net> References: <4B90A44F.4050004@pdslabs.net> <29301552453.20100304230024@ahsoftware.net> Message-ID: I don't understand the logic of always putting false into tMatch. ------I can see the value of... ---- put empty into tMatch ... repeat ...... get the backgroundcolor of grc tName of grp "A" put (IT = the backgroundcolor of grc tName of grp "B") AFTER tMatch then the answer could be "truetruefalsetruetrue" in one dialog and you could see which ones were true or false Jim Ault Las Vegas On Mar 4, 2010, at 11:00 PM, Mark Wieder wrote: > Phil- > > Close. That'll give you five answer dialogs. Try > > on mouseUp > local tMatch > > put false into tMatch > repeat with x = 1 to 5 > put "A"&x into tName > if the backgroundcolor of grc tName of grp "A" \ > = the backgroundcolor of grc tName of grp "B" > then put false into tMatch > end repeat > if tMatch > then answer "AnswerA" > else answer "AnswerB" > end mouseUp > > -- > -Mark Wieder From toolbook at kestner.de Fri Mar 5 02:48:00 2010 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 5 Mar 2010 08:48:00 +0100 Subject: AW: AW: OT: locking software to one specific machine? In-Reply-To: References: <4B90076B.3080509@fourthworld.com> Message-ID: <002501cabc38$2f487a70$8dd96f50$@de> Hi Brian, from our experiences we can't require an internet connection. Actually we thought so, but also allowed an offline registration method as fall back. At our customers about 10% of the target machines don't have any internet connection, and that would be too much for us to exclude and we are happy we can provide the offline registration method. May be, it varies on your target market. The other point is that your method also wouldn't be a per user license as Richard and the others favorises. If a key is expired for use on one machine the user can't use it again on his other machine. If you would allow that (how ever), he could pass his key to everybody, and your system is broken. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Brian Yennie > Gesendet: Donnerstag, 4. M?rz 2010 22:41 > An: How to use Revolution > Betreff: Re: AW: OT: locking software to one specific machine? > > While this thread is alive, I've long been curious what the criticisms > would be of the following scheme, for a product with low to medium > security needs. This does assume that you require an internet > connection for registration, but that seems to be a generally > acceptable requirement these days. > > 1) Generate as many (or as few) *random* keys as you need > 2) Put them in a database > 3) User inputs key, app contacts hosted script which checks if the key > is in the database > 4) If YES, expire that key > 5) If NO, lock out the user for a few seconds > 6) Go back to #1 if you sell more keys From palcibiades-first at yahoo.co.uk Fri Mar 5 03:43:31 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 5 Mar 2010 08:43:31 +0000 Subject: The Linux problem, and a suggestion Message-ID: <201003050843.31987.palcibiades-first@yahoo.co.uk> We have been brought face to face with this again on the issue of font support. Coincidentally the other day an old friend asked me whether he should take up Rev or Python. I have a spare Rev license and offered it to him, and we had a discussion. If Linux is your main system, you do have choice. Python with its various gui IDEs is a real alternative. Now, there are a lot of people on this list who feel and express disdain for Python, often on the basis of limited experience of earlier versions of some of the IDEs. But lets be clear: its a viable alternative. It works. You don't have font problems. You can print. You have bindings for any OSS database you want. Multiple desktops just work. You have an enormous choice of editors for your code, you can use anything from Gedit to the (to me) vastly overfeatured Eclipse, stopping off at Vi or Emacs on the way. It has a track record in large and small scale projects. And its free. The problem with Python as compared to Rev is that you end up writing more code, and arguably more complicated code. That's what everyone on the list will say. And if its Windows or Mac, they will be right. If its Linux they will be plain wrong. If you end up writing chunks of your stuff in Awk, because you cannot get it to work properly in Rev, you are not writing less or simpler code. And it is not easily cross platform either. So what is to be done? The first thing is to decide, is there a viable business for Rev in the Linux programming environment market? It is not clear. The presence of so many good free tools, and the predominance of Perl and Python must make it hard. Not to mention that you also have Lua, Ruby and so on. On the other hand, Rev has some unique advantages. It really is faster and simpler if it would only work as well in Linux as it does on the other platforms. But we will never find out if there is a viable business, going on as we are. Because no rational professional will commit himself to Revolution on Linux as his principal programming tool. It makes no sense, with the level of infelicities even an amateur can find. And the pros find more than I do! Suggestion: it will not take a huge investment to clean them up, and that we could then find out one way or the other, and make a decision. If its viable, or shows signs of increased sales and use, carry on. If not, drop it and put the efforts to better use. There is one reason why it may be worth doing. That is, Linux is a tiny proportion of the market, but it is disproportionately developers and technical people. So market share in Linux can be worth a great deal, indrectly, because it gets to a key market segment. If you were going to do this, what would you do? In one sentence, make it a well behaved Linux application. Right now, it ain't. Fix printing. It must be possible to just print fields using the standard commands. You should not have to go out to shell and invoke Awk and pipe through to kprinter just to print a field. Fix multiple desktops. Rev is the only Linux package I know that doesn't support them properly. Why? Why is it that I have 6 virtual desktops and am obliged, in Rev alone, to have dictionary, editor, app itself, property inspector, palettes, all crammed into one of them, one under the other cluttering up the one desktop, when any other app would let me split them up. It was intolerable with an 18 inch screen, and its only a bit better with a 22 inch wide screen. And its such basic stuff, this! Fix fonts. I have no idea how Rev picks what fonts it can and cannot see, and we get no answers, but every other Linux application there is can handle fonts in Linux. Why not Rev? Fix the editor. You must have some way of using the standard Linux programming editors in an integrated way. Do plugins for Geany and Kate at least. Maybe there are others. I guess some will want Eclipse. When you have all the super duper functionality of the IDE only available through a third party addon, tRev, which does not come for Linux, what you are doing is making the Linux version a seccond class citizen. You don't have to make tRev available, but you do have to find some way to offer similar add on functionality. Fix the size issue. It must be possible to SEE the palette of controls and the dictionary. Every other Linux application manages it, regardless of monitor size. Why is Rev on a 22 inch screen showing up in what looks like 4 point font, with no way of changing it? Am I really supposed to peer at my screen through reading glasses, just to use Rev? If you will not or cannot fix the size and desktops issues right away, at least make the dictionary open in a browser window. That way we can resize it ourselves, and we can also have it open on a different desktop. Deliver the Player. The Media Player has been coming soon to Linux for years. It may not be essential as a feature, but if its there for Windows and Mac, it has to be there for Linux. Finally there is Rev Browser. I bought or maybe was given this when it was altBrowser, and have been waiting patiently for it ever since. It may not be essential functionality in itself, but if its on Windows and Mac, it must be available on Linux. So, how did the conversation which started this go? I offered my free license. I pointed him to this list and told him what nice people we all are. I explained that Rev for Linux is not the same as Rev for the other platforms, and how and why that is. I also gave him a bunch of pointers to material on Python. Sad to say, they were both free, but he declined the Rev license. He was very diplomatic. He said he didn't think he would make good use of it. And he is buying Mark Lutz' O'Reilly book. I wanted to tell him he was making a mistake. But I couldn't. What I would really like is for the next time I have this conversation, to just be able to say, do it, its fully cross platform, you'll never look back. Well? How about it? Peter From Andre.Bisseret at inria.fr Fri Mar 5 04:23:57 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Fri, 5 Mar 2010 10:23:57 +0100 Subject: How do I change the script for 100 buttons in one time? In-Reply-To: <0E2CBC58-D7B1-4219-BDCF-B20DE0A8F862@yahoo.com> References: <401D17D9-1DCE-4A9E-9D4C-1B9F01BB67CC@unil.ch> <0E2CBC58-D7B1-4219-BDCF-B20DE0A8F862@yahoo.com> Message-ID: Bonjour, I suggest a mix of Jacques' and Jim ' scripts and addition of a line to eliminate the current scripts of the 100 buttons on changeScripts --put fld "newScript" into baseScript repeat with k = 1 to the number of cards repeat with m = 1 to the number of btns in cd k get word 1 of the short name of btn m of cd k if char 1 of IT = "d" and char 2 to -1 of IT < 101 then set the behavior of btn m of cd k to the long ID of button "BCommonscript" of cd 1 set the script of btn m of cd k to empty -- clean the script of the button end if end repeat end repeat end changeScripts Best regards from Grenoble Andr? Le 4 mars 10 ? 20:25, Jim Ault a ?crit : > Yours is the best solution, Jacques, if using Rev 3.0 or later. > Repeat loops will work on all versions 2.2+ > > Jim Ault > Las Vegas > > > On Mar 4, 2010, at 11:05 AM, Jacques Hausser wrote: > >> Hi William >> >> A good case for using behaviors ! Set the script of an hidden btn >> "BCommonScript" as you want and then put somewhere in the opening >> process of your stack: >> >> repeat with i = 1 to 100 >> put "d" &i into tButtonName >> set the behavior of btn tbuttonName to the long ID of button >> "BCommonscript" >> end repeat >> >> Jacques >> >> Le 4 mars 2010 ? 19:46, William de Smet a ?crit : >> >>> Hi there, >>> >>> I have a stack with 100 buttons in it and they all have the same >>> script. >>> The buttons are called "d1" to "d100". >>> >>> How do I change the code for all of them in one time? >>> I don't feel like copy/paste 100 times. >>> >> > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bdrunrev at gmail.com Fri Mar 5 04:30:50 2010 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 5 Mar 2010 09:30:50 +0000 Subject: The Linux problem, and a suggestion In-Reply-To: <201003050843.31987.palcibiades-first@yahoo.co.uk> References: <201003050843.31987.palcibiades-first@yahoo.co.uk> Message-ID: Peter, I agree almost completely with you. With a few caveats. On Fri, Mar 5, 2010 at 8:43 AM, Peter Alcibiades wrote: > Fix the editor. ?You must have some way of using the standard Linux > programming editors in an integrated way. ?Do plugins for Geany and Kate at > least. ?Maybe there are others. ?I guess some will want Eclipse. I think the above is not necessary. It's asking for more functionality on Linux than on other platforms. Runrev need to fix the existing script editor on Linux. In my experience just moving the insertion point around in the editor is like wading through treacle. It makes the script editor unusable and makes Rev 4.0 look like an alpha product. http://quality.runrev.com/qacenter/show_bug.cgi?id=8495 > Deliver the Player. ?The Media Player has been coming soon to Linux for > years. ?It may not be essential as a feature, but if its there for Windows > and Mac, it has to be there for Linux. Not only that. We've been waiting for months now for the browser plugin for Linux. It was released as an alpha, then the GA for other platforms was released. Yet months later the Linux plugin no longer exists as a GA or an alpha! We can understand that there are some things where it may be simply impossible for RunRev to offer some functionality of the Rev product on Linux (e.g. quicktime features). However, for too long they've just been happy to offer a sub-par product on Linux, whilst charging the same as the other platforms. I have to agree with your friend. If I was offered Rev for free running on Linux, I wouldn't use it either. In fact, that is the situation I'm in. I have an enterprise license, but I had to stop using Linux in order to use Rev. I'm sure some will argue with your list of demands, saying that Linux is too diverse a platform to support adequately. But we have to remember that when the discussion of them guaranteeing that Rev works with just one distro came up, there was almost universal support for that. Finally about the issue of revBrowser. Richard has entered an enhancement request for that. Very decent of him, and I've added the full 5 votes to it (http://quality.runrev.com/qacenter/show_bug.cgi?id=8635). It had never crossed my mind in the past to enter this enhancement request. When there is a deficiency in the Linux version of the product that even the Dictionary is explicit about, one would expect Runrev to be aware of it, and to have some timetable by which that deficiency would be corrected. Bernard From richmondmathewson at gmail.com Fri Mar 5 05:22:54 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 05 Mar 2010 12:22:54 +0200 Subject: The Linux problem, and a suggestion In-Reply-To: References: <201003050843.31987.palcibiades-first@yahoo.co.uk> Message-ID: <4B90DB7E.8020803@gmail.com> I am obviously a lot easier to please than some people: If the font "thing" were sorted out I would be 100% happy with RunRev on Linux. Certainly, on my 17" monitor, the fonts in the Transcript Dictionary are a bit wee - but not such a socking great problem. Always been perfectly happy with the built-in script-editor; although I do favour the old colouring rather than the new one. Suggestion: Do the fonts. From rene.micout at numericable.com Fri Mar 5 05:47:27 2010 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 5 Mar 2010 11:47:27 +0100 Subject: RevMobile first impressions? In-Reply-To: References: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> <780343DA-DBBE-4B92-A429-F7184B428BA9@earthlink.net> Message-ID: <187EC7AC-EB7B-4F82-9BDB-BFF7AFDFBDE2@numericable.com> Hello Sarah, What about music and sound capacities ? Ren? Le 5 mars 2010 ? 03:11, Sarah Reichelt a ?crit : > On Fri, Mar 5, 2010 at 8:42 AM, Marian Petrides wrote: >> I'd love to hear your more detailed impressions, Sarah, and I bet others would too. Meanwhile, thanks for the early preview! > > Here is some more info: > > Set your stack's font to Helvetica 14, the backColor to "200,200,200" > and the look & feel to Motif to get the best preview of how it will > look on the iPhone without any skinning. > > A multi-card stack works fine and moving into & out of sub-stacks works fine. > > Not all text decoration works: there are no fonts and you can't > specify bold or italic, but all the other text styles work and you can > set colors. > > I have used the photo picker and it works really well, but don't leave > an image on screen if you leave that card or the app usually crashes. > > Images are a bit crashy - sometimes they work, other times they crash. > > File handling: I have been able to list files in the app bundle, > create a new one and display it, download an image file and save it, > download a web page and show the htmlText. > > File paths: you can get the defaultFolder which gives the full folder > to the app in my Library. Getting the filename of my stack gives a > much shorter path, with the app bundle being the root folder. I > haven't worked out yet how to save a file to the app's Documents > folder. > > iPhone specific commands: I have tested the command that accesses the > photo library (& would do the camera if I was using a real iPhone) and > they work really well. Shaking & multi-touch all seem fine, although > on the simulator I haven't actually been able to multi-touch. > If you shake when typing in a text field, you get a dialog saying that > there is nothing to undo, so the shake has been correctly linked to > the undo mechanism, but the actual undo is not operational yet. > > Rotation: seemingly not implemented yet, although the handbook > mentions that they cause the stack to get a resizeStack message. I > haven't been able to detect this, so I have no idea how they plan to > implement rotation. I tried activating the accelerometer but I can't > test that without installing on a real iPhone. It didn't make any > difference to the rotation - you still just see all the controls > turned sideways. I even tried changing to a wide stack to see if that > would help, but it didn't make any difference. > > So basically, although it all looks weird, there is an awful lot of > Rev that just works. Images are the most flaky things I have > discovered. > As is usual with iPhone apps and Rev apps, errors don't make a fuss, > although the app can just quit quietly if something weird happens. > > As regards future revMobile programming, the main things I will be > looking for are the native look & feel, rotation handling and better > image handling. Of these, the rotation is the most important as I need > to know how this will work in order to be able to plan my development. > The look & feel will not stop me developing, but you couldn't release > an iPhone app that looks like it's running under X11 :-) > > Image handling is crucial because it has caused a lot of app crashes > in my tests. > > Adding an icon to your app is super-easy. You just make a 57 x 57 png > file and tell revMobile the plugin. When the app installs, the iPhone > rounds the corners and adds the cool lighting effect. > > If anyone would like me to test any aspect in particular, just let me know. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jim at visitrieve.com Fri Mar 5 06:31:36 2010 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 5 Mar 2010 01:31:36 -1000 Subject: Thousands of cards (Was RE: very strange rev behavior) In-Reply-To: <4B908547.9070900@hyperactivesw.com> References: <4B908547.9070900@hyperactivesw.com> Message-ID: <007901cabc57$6b22a650$4167f2f0$@com> Jacque wrote: > The recommended number of cards is around 5 thousand, give or take a > few, depending on how many objects are on the cards. I've done okay > with > 10,000 in one project. I wouldn't go much more than that. The public > recommendation is 5-6K. OK... time for a dumb question. What kind of application would have 5,000 or 10,000 cards? Is it because the application is using cards to hold records of data instead of using a database? Otherwise, I can't even imagine it. Also, wouldn't an application with a stack with this many cards be a huge memory hog? Aloha from Hawaii, Jim Bufalini From wow at together.net Fri Mar 5 06:44:19 2010 From: wow at together.net (Richard Miller) Date: Fri, 05 Mar 2010 06:44:19 -0500 Subject: RevMobile first impressions? In-Reply-To: <187EC7AC-EB7B-4F82-9BDB-BFF7AFDFBDE2@numericable.com> References: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> <780343DA-DBBE-4B92-A429-F7184B428BA9@earthlink.net> <187EC7AC-EB7B-4F82-9BDB-BFF7AFDFBDE2@numericable.com> Message-ID: <4B90EE93.8070100@together.net> And video. Can you create a video player and control it? Thanks. Richard Miller On 3/5/2010 5:47 AM, Ren? Micout wrote: > Hello Sarah, > What about music and sound capacities ? > Ren? > > Le 5 mars 2010 ? 03:11, Sarah Reichelt a ?crit : > > >> On Fri, Mar 5, 2010 at 8:42 AM, Marian Petrides wrote: >> >>> I'd love to hear your more detailed impressions, Sarah, and I bet others would too. Meanwhile, thanks for the early preview! >>> >> Here is some more info: >> >> Set your stack's font to Helvetica 14, the backColor to "200,200,200" >> and the look& feel to Motif to get the best preview of how it will >> look on the iPhone without any skinning. >> >> A multi-card stack works fine and moving into& out of sub-stacks works fine. >> >> Not all text decoration works: there are no fonts and you can't >> specify bold or italic, but all the other text styles work and you can >> set colors. >> >> I have used the photo picker and it works really well, but don't leave >> an image on screen if you leave that card or the app usually crashes. >> >> Images are a bit crashy - sometimes they work, other times they crash. >> >> File handling: I have been able to list files in the app bundle, >> create a new one and display it, download an image file and save it, >> download a web page and show the htmlText. >> >> File paths: you can get the defaultFolder which gives the full folder >> to the app in my Library. Getting the filename of my stack gives a >> much shorter path, with the app bundle being the root folder. I >> haven't worked out yet how to save a file to the app's Documents >> folder. >> >> iPhone specific commands: I have tested the command that accesses the >> photo library (& would do the camera if I was using a real iPhone) and >> they work really well. Shaking& multi-touch all seem fine, although >> on the simulator I haven't actually been able to multi-touch. >> If you shake when typing in a text field, you get a dialog saying that >> there is nothing to undo, so the shake has been correctly linked to >> the undo mechanism, but the actual undo is not operational yet. >> >> Rotation: seemingly not implemented yet, although the handbook >> mentions that they cause the stack to get a resizeStack message. I >> haven't been able to detect this, so I have no idea how they plan to >> implement rotation. I tried activating the accelerometer but I can't >> test that without installing on a real iPhone. It didn't make any >> difference to the rotation - you still just see all the controls >> turned sideways. I even tried changing to a wide stack to see if that >> would help, but it didn't make any difference. >> >> So basically, although it all looks weird, there is an awful lot of >> Rev that just works. Images are the most flaky things I have >> discovered. >> As is usual with iPhone apps and Rev apps, errors don't make a fuss, >> although the app can just quit quietly if something weird happens. >> >> As regards future revMobile programming, the main things I will be >> looking for are the native look& feel, rotation handling and better >> image handling. Of these, the rotation is the most important as I need >> to know how this will work in order to be able to plan my development. >> The look& feel will not stop me developing, but you couldn't release >> an iPhone app that looks like it's running under X11 :-) >> >> Image handling is crucial because it has caused a lot of app crashes >> in my tests. >> >> Adding an icon to your app is super-easy. You just make a 57 x 57 png >> file and tell revMobile the plugin. When the app installs, the iPhone >> rounds the corners and adds the cool lighting effect. >> >> If anyone would like me to test any aspect in particular, just let me know. >> >> Cheers, >> Sarah >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jim at visitrieve.com Fri Mar 5 07:07:04 2010 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 5 Mar 2010 02:07:04 -1000 Subject: How do I 'shorten' this script? In-Reply-To: References: <4B90A44F.4050004@pdslabs.net> <29301552453.20100304230024@ahsoftware.net> Message-ID: <007a01cabc5c$5f8e39d0$1eaaad70$@com> Jim Ault wrote: > I don't understand the logic of always putting false into tMatch. > > ------I can see the value of... ---- > put empty into tMatch > ... > repeat ...... > get the backgroundcolor of grc tName of grp "A" > put (IT = the backgroundcolor of grc tName of grp "B") AFTER tMatch > > then the answer could be > "truetruefalsetruetrue" in one dialog > and you could see which ones were true or false > > > Jim Ault > Las Vegas > On Mar 4, 2010, at 11:00 PM, Mark Wieder wrote: > > > Phil- > > > > Close. That'll give you five answer dialogs. Try > > > > on mouseUp > > local tMatch > > > > put false into tMatch > > repeat with x = 1 to 5 > > put "A"&x into tName > > if the backgroundcolor of grc tName of grp "A" \ > > = the backgroundcolor of grc tName of grp "B" > > then put false into tMatch > > end repeat > > if tMatch > > then answer "AnswerA" > > else answer "AnswerB" > > end mouseUp > > > > -- > > -Mark Wieder I think Mark meant to say *put true into tMatch* before the repeat. What about (and this is again typing code into an email without testing ;-): repeat with x = 1 to 5 put (the background of grp ("A"&x) of grp "A" \ = the background of grp ("A"&x) of grp "B") \ after tMatch end repeat if "false" is in tMatch then "AnswerB" else "AnswerA" Which is probably exactly what JimA is saying and why he says he can see initializing tMatch with empty, before the repeat. Aloha from Hawaii, Jim Bufalini From palcibiades-first at yahoo.co.uk Fri Mar 5 07:30:33 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 5 Mar 2010 04:30:33 -0800 (PST) Subject: The Linux problem, and a suggestion In-Reply-To: <4B90DB7E.8020803@gmail.com> References: <201003050843.31987.palcibiades-first@yahoo.co.uk> <4B90DB7E.8020803@gmail.com> Message-ID: <1267792233875-1579541.post@n4.nabble.com> Richmond, try it on a 22 inch or larger monitor. See if you still feel the same. You won't. Or if you do now, you won't in five years. And if you offer it to anyone without 20/20 sight, they won't. The problem is, the sensible way of working that we have gotten used to in Linux is multiple desktops. Not the end of the world not to have it, you might be able to overcome an apps limitations in this respect by going to a bigger screen. I did, only because my old one blew up. But if you do, the size of the Rev app shrinks in proportion to the increase in screen size. There is just no way around it. I don't know what all other Linux apps do to avoid this, but they do something. -- View this message in context: http://n4.nabble.com/The-Linux-problem-and-a-suggestion-tp1579344p1579541.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Fri Mar 5 08:05:04 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 05 Mar 2010 15:05:04 +0200 Subject: The Linux problem, and a suggestion In-Reply-To: <1267792233875-1579541.post@n4.nabble.com> References: <201003050843.31987.palcibiades-first@yahoo.co.uk> <4B90DB7E.8020803@gmail.com> <1267792233875-1579541.post@n4.nabble.com> Message-ID: <4B910180.3040504@gmail.com> On 05/03/2010 14:30, Peter Alcibiades wrote: > Richmond, try it on a 22 inch or larger monitor. See if you still feel the > same. You won't. Or if you do now, you won't in five years. And if you > offer it to anyone without 20/20 sight, they won't. > > The problem is, the sensible way of working that we have gotten used to in > Linux is multiple desktops. RunRev isn't very well-behaved with multiple desktops on either Mac OS 10.5 (native) or Mac OS 10.4 (3rd party add-on). I have 2 monitors connected to my Mac; which is all jolly good if your machine can do that sort of thing. > Not the end of the world not to have it, you > might be able to overcome an apps limitations in this respect by going to a > bigger screen. I did, only because my old one blew up. > > But if you do, the size of the Rev app shrinks in proportion to the increase > in screen size. There is just no way around it. I don't know what all > other Linux apps do to avoid this, but they do something. > > > From lists at mangomultimedia.com Fri Mar 5 08:09:32 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 5 Mar 2010 08:09:32 -0500 Subject: Dispatch Versus Send In-Reply-To: <27294BDC-7E16-4128-8781-1CEC5CE1EB5F@videotron.ca> References: <27294BDC-7E16-4128-8781-1CEC5CE1EB5F@videotron.ca> Message-ID: On Mar 4, 2010, at 4:42 PM, Gregory Lypny wrote: > What's the difference between the two other than Dispatch using the > normal message path? One other point - as of Rev 4.0 you can dispatch functions as well. dispatch function "GetValue" to button 2 with theParam -- 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 Fri Mar 5 08:09:41 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 05 Mar 2010 05:09:41 -0800 Subject: Thousands of cards (Was RE: very strange rev behavior) Message-ID: <4B910295.7040009@fourthworld.com> Jim Bufalini wrote: > OK... time for a dumb question. What kind of application would have 5,000 or > 10,000 cards? Is it because the application is using cards to hold records > of data instead of using a database? Otherwise, I can't even imagine it. > Also, wouldn't an application with a stack with this many cards be a huge > memory hog? The problem is that you've been making software too long. :) If you've ever shipped a version 2.0 of something, you realize very clearly the traditional benefits of separating code, UI, and content, so you can enhance the UI without affecting the user's data. But HC made it very convenient to store data on cards, and out of the box provided no way to work with any database at all (SQLite hadn't even been invented yet). Bill Atkinson said more than once that "HyperCard is not a database", but the convenience of using it as one encouraged people to do so. Memory wasn't an issue, because HC paged from disk. Remember, it was designed to work in early Macs, back when 2 GB of RAM was an unimaginable dream. Paging from disk meant only a limited number of cards were in memory at any given time (though the frequency of 5454 errors -- file corruption -- told the other half of the story, the inherent complexity and potential brittleness of paged systems for anyone who didn't make a religion of compacting regularly to rebuild the file). So flash forward: 20 years later, HC has been dead for more than a decade, Rev is growing, and there are a lot of legacy systems built in HC looking for a new home. But as you know, Rev loads the entire stack file into memory at once, which gives it a certain robustness and contributes to its excellent performance, but means that storing 20,000 cards in a stack just isn't practical. Dr. Raney was nothing if not pragmatic, so optimizing his structures to accommodate that many cards was not something he ever bothered to invest time in because it only encouraged people to things that would lead to other problems down the road (like making a v2.0 that enhances one's UI). So this means that while Rev's support for the HC file format makes it a good choice for porting legacy HC stacks, in many cases those stacks need to be restructured to make good use of it. This often means very fundamental changes, like moving the data out of the UI, which are unintuitive for someone coming from a system where that wasn't needed. I believe there are so many benefits in separating code, UI, and content that it's well worth the effort, and the clients for whom I've ported large HC stacks have been pleased with the results Rev offers. But I also recognize it's a bit of a head-scratcher when you do it for the first time. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From ambassador at fourthworld.com Fri Mar 5 08:52:15 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 05 Mar 2010 05:52:15 -0800 Subject: The Linux problem, and a suggestion Message-ID: <4B910C8F.80006@fourthworld.com> Peter, I'm with you on just about everything you wrote, but this one may be more complex than Rev alone can address: Peter Alcibiades wrote: > Fix fonts. I have no idea how Rev picks what fonts it can and cannot see, > and we get no answers, but every other Linux application there is can > handle fonts in Linux. Why not Rev? .. > Fix the size issue. It must be possible to SEE the palette of controls and > the dictionary. Every other Linux application manages it, regardless of > monitor size. Why is Rev on a 22 inch screen showing up in what looks like > 4 point font, with no way of changing it? Am I really supposed to peer at > my screen through reading glasses, just to use Rev? Those two appear to be interrelated, per the Ubuntu and Gnome bug database reports. As I noted earlier, I spent some time with those bug reports to look into this issue, and found that there are quite a few issues with Gnome that affect many applications, and to some degree Gnome itself. At the heart of Rev's part in this is that Rev is still using fixed-resolution coordinates, while Gnome uses resolution-independent geometry. Firefox is the same as Rev in this regard, which explains why the content region in FF matches what you see in Rev almost perfectly, even though both of them differ from the OS. Given that Snow Leopard and Vista are also resolution-independent systems, it seems a safe bet that making Rev's internal rendering scheme also resolution-independent is in queue at RunRev's office. But that will address only part of the problem. The other part is Gnome itself. Look at section 7 near the bottom of this page,"Comparative Summary of Buttons": All of those screen shots were taken using the same display set to the same resolution, yet even if we ignore the Rev controls and look only at controls rendered by the OS, we see Gnome's way out of proportion, much larger in size even as it reports that it's using the smallest font size (ostensibly 10 points as opposed to the 12 on Win and 13 on Mac). That disparity is the subject of much debate in the Ubuntu and Gnome communities, as I noted with the links provided in this post: So on this issue I see two sets of solutions: Long-term: Rev migrates their rendering to resolution-independent geometry, as is needed by all modern OSes. Gnome also fixes their issues, and together they make for an excellent, consistent experience. Short-term: When we deploy to Gnome we use whatever font size gets a useful result for our application, even if that means using a larger number than what Gnome erroneously reports, or a smaller font size than Gnome sometimes erroneously renders currently. For myself, my Gnome deployments will use 12-point Sans, which will render on screen smaller than most Gnome controls but be in line with common universal conventions and allow me to ship one layout for all platforms. I recognize this introduces an inconsistency in the Gnome user experience, but I also believe it simply makes better use of their screen real estate, and in the long run as Gnome fixes their size issue and Rev becomes resolution-independent my controls will be more in line with their convention. If this means I get a complaint or two from Gnome purists, I'll just refer those folks to the Gnome bug database. I suspect most of our users will be glad to have more effective use of their screen space. Note that my interest here takes a different focus from yours: I'm focusing on my own deliverables, and you're looking out for the Rev IDE experience. Maybe I'm just selfish in this regard, since I don't use the Rev IDE anyway and am always more concerned with my customers' experience than my own. But your interest in improving the Rev IDE experience is laudable, and hopefully will get more attention at RunRev as the Linux community grows strong enough to warrant it, as I believe it will in the next two years. I think Linux is near a tipping point for many consumer markets, hopefully at least half well as it's come to dominant the server arena. We're about to see its Golden Age. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From ambassador at fourthworld.com Fri Mar 5 08:57:57 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 05 Mar 2010 05:57:57 -0800 Subject: Dispatch Versus Send Message-ID: <4B910DE5.9090206@fourthworld.com> Trevor DeVore wrote: > One other point - as of Rev 4.0 you can dispatch functions as well. > > dispatch function "GetValue" to button 2 with theParam Way cool! Thanks for posting that; I'd missed that in the docs. For all of its advantages, I've taken on Mark Wieder's approach since "dispatch" was introduced: I've sort of deprecated "send" in my mind, reserving its use only for when I need timers, and use "dispatch" for everything else. Calling remote functions with it is just icing that lets me ditch "call" too. :) -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From pete at mollysrevenge.com Fri Mar 5 10:08:03 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 5 Mar 2010 07:08:03 -0800 Subject: Interfacing to Mac iCal and Address Book In-Reply-To: <20100305074701.941FF288ECF@mail.runrev.com> References: <20100305074701.941FF288ECF@mail.runrev.com> Message-ID: Thanks Tom. I just found a bunch of sample Applescripts on the web that do all the basic stuff I need for this. Since this is not a multi-user app and the operations will be quick, one shot, add/read/ delete deals, I think Applescript will be fine Pete Haworth On Mar 4, 2010, at 11:47 PM, use-revolution-request at lists.runrev.com wrote: > Date: Fri, 05 Mar 2010 00:02:28 -0500 > From: Thomas McGrath III > Subject: Re: Interfacing to Mac iCal and Address Book > To: How to use Revolution > Message-ID: <21A76EBC-7A52-49D6-B236-806065599DC5 at mac.com> > Content-Type: text/plain; charset=us-ascii > > Peter, You have Automator scripts/apps and Applescript to choose > from. Automator has been updated with many new commands ready for > interaction with these apps but Applescripts can be embedded in > RunRev custom properties and run via do script as. Here is a list of > some of the commands. > > Automator iCal: > Delete iCal Event > Event Summary > Filter iCal Items > Find iCal Items > Get Specified iCal Items > New Calendar > New iCal Event > New To Do Item > > Automator Contacts/Address Book: > Export vCards > Filter Address Book Items > Find Address Book Items > Find People with Birthdays > Get Contact Information > Get Selected Address Book Items > Get Specified Address Book Items > Group Mailer > > Applescript Address Book: > add > remove > save > address > AIM Handle, etc. > email > contact info > custom date > group > phone > person > url > perform action > action title, etc. > duplicate > save, etc. > exists > make > move > > Applescript iCal: > create calendar > reload calendars > switch view > view calendar > GetURL > show > display alarm > mail alarm > sound alarm > open file alarm > attendee > todo > event > open, close, print,count > duplicate > exists > make > move > > Tom McGrath III > Lazy River Software > 3mcgrath at comcast.net > > iTunes Library Suite - libITS > Information and download can be found on this page: > http://www.lazyriversoftware.com/RevOne.html From bleiler at buffalo.edu Fri Mar 5 10:26:38 2010 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Fri, 5 Mar 2010 10:26:38 -0500 Subject: Dispatch Versus Send In-Reply-To: References: <27294BDC-7E16-4128-8781-1CEC5CE1EB5F@videotron.ca> Message-ID: <1857D2EE-CAB9-474C-B5E5-37C377DA4DE0@buffalo.edu> Another point about Dispatch that's not documented is that you can use call by reference variables with it. On Mar 5, 2010, at 8:09 AM, Trevor DeVore wrote: > On Mar 4, 2010, at 4:42 PM, Gregory Lypny wrote: > >> What's the difference between the two other than Dispatch using the >> normal message path? > > One other point - as of Rev 4.0 you can dispatch functions as well. > > dispatch function "GetValue" to button 2 with theParam Tim Bleiler, Ph.D. Instructional Designer, HSIT University at Buffalo Phone: 716-829-3867 From jim at visitrieve.com Fri Mar 5 10:52:46 2010 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 5 Mar 2010 05:52:46 -1000 Subject: Thousands of cards (Was RE: very strange rev behavior) In-Reply-To: <4B910295.7040009@fourthworld.com> References: <4B910295.7040009@fourthworld.com> Message-ID: <009001cabc7b$e71bab70$b5530250$@com> Richard Gaskin wrote: > The problem is that you've been making software too long. :) > > If you've ever shipped a version 2.0 of something, you realize very > clearly the traditional benefits of separating code, UI, and content, > so you can enhance the UI without affecting the user's data. > > But HC made it very convenient to store data on cards, and out of the > box provided no way to work with any database at all (SQLite hadn't > even > been invented yet). > > Bill Atkinson said more than once that "HyperCard is not a database", > but the convenience of using it as one encouraged people to do so. > > Memory wasn't an issue, because HC paged from disk. Remember, it was > designed to work in early Macs, back when 2 GB of RAM was an > unimaginable dream. Paging from disk meant only a limited number of > cards were in memory at any given time (though the frequency of 5454 > errors -- file corruption -- told the other half of the story, the > inherent complexity and potential brittleness of paged systems for > anyone who didn't make a religion of compacting regularly to rebuild > the > file). > > So flash forward: 20 years later, HC has been dead for more than a > decade, Rev is growing, and there are a lot of legacy systems built in > HC looking for a new home. > > But as you know, Rev loads the entire stack file into memory at once, > which gives it a certain robustness and contributes to its excellent > performance, but means that storing 20,000 cards in a stack just isn't > practical. > > Dr. Raney was nothing if not pragmatic, so optimizing his structures to > accommodate that many cards was not something he ever bothered to > invest > time in because it only encouraged people to things that would lead to > other problems down the road (like making a v2.0 that enhances one's > UI). > > So this means that while Rev's support for the HC file format makes it > a > good choice for porting legacy HC stacks, in many cases those stacks > need to be restructured to make good use of it. This often means very > fundamental changes, like moving the data out of the UI, which are > unintuitive for someone coming from a system where that wasn't needed. > > I believe there are so many benefits in separating code, UI, and > content > that it's well worth the effort, and the clients for whom I've ported > large HC stacks have been pleased with the results Rev offers. > > But I also recognize it's a bit of a head-scratcher when you do it for > the first time. Alright, this answers my question and why I said, "I couldn't imagine it." Yes, going back more like 26 years ago, SQLite wasn't invented but I was using DB and Rev (only that Rev was called Revelation which was a just released development language/environment for the original IBM PC by a brand new company called Cosmos and based on PICK, which had been around since the '60s). When I first heard of "Revelation by Cosmos," I wasn't sure if it was a programming language or a cult. ;-) But, from almost the very beginning of my developing applications for others, "code" was script in libraries (very similar to our Rev's script including chunks, no variable typing, amazingly similar built-in commands and functions, English like, optional variable declarations, and it too was script level compilation, so you ran and programmed at the same time), which was separate from the UI, which was just that, and which in turn was separate from data, which was in a PICK database. There was some mixing of script and database in that a database could have a "field" which was actually script. By this I mean, you could have a "field" called "FirstName" which was a script that returned word 1 of an actual field called "Name" that contained a full name, or visa versa, a "field" called "FullName" that was a script that returned the concatenation of FirstName & space & MiddleName & space & LastName or that did a calculation, etc. There was some mixing of script and the UI, in that there were "hooks" (there was no OS messaging in that day) that were triggered say entering an entry field or exiting that allowed calling say an "IConv" or "OConv" (In Conversion, Out Conversion) which would be a function in one of your libraries that say checked user input or changed the UI based on user input or opening or closing a window, etc. And, in that day, you did have to drop down to C occasionally to modify the engine (which they allowed) or write the equivalent of what we call externals. It is why, for me, finding Revolution was like "returning home" after over a decade of having left Revelation and working with "traditional" languages (with hours of re-typing variables) and SQL. I "knew" the Rev language and the concepts of chunks and scripting before writing my first line of Rev code. But... the lack of database was a big drawback and the idea of using text files or cards (which I considered the UI) to hold data was arcane to me and "just wrong" and so, while I did use text files, I never could bring myself to use cards to hold data and I didn't use Rev for anything "serious" until there was DB. In short, I had forgotten all this, because we've had DB for awhile, and it's why I was wondering what the heck anyone could be doing with 5,000 or 10,000 cards. ;-) Thanks for the history lesson, Richard, and the "memories." ;-) Aloha from Hawaii, Jim Bufalini From mwieder at ahsoftware.net Fri Mar 5 10:39:01 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 5 Mar 2010 07:39:01 -0800 Subject: How do I 'shorten' this script? In-Reply-To: <007a01cabc5c$5f8e39d0$1eaaad70$@com> References: <4B90A44F.4050004@pdslabs.net> <29301552453.20100304230024@ahsoftware.net> <007a01cabc5c$5f8e39d0$1eaaad70$@com> Message-ID: <126332668937.20100305073901@ahsoftware.net> Jim- Friday, March 5, 2010, 4:07:04 AM, you wrote: > I think Mark meant to say *put true into tMatch* before the repeat. That's what I meant, but I still messed up one more detail... on mouseUp local tMatch -- assume match put true into tMatch repeat with x = 1 to 5 put "A"&x into tName if the backgroundcolor of grc tName of grp "A" \ is NOT the backgroundcolor of grc tName of grp "B" then put false into tMatch end repeat -- if none failed if tMatch then answer "AnswerA" else answer "AnswerB" end mouseUp ...amazing how much difference a well-placed "not" can make... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Mar 5 11:01:38 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 5 Mar 2010 08:01:38 -0800 Subject: Dispatch Versus Send In-Reply-To: <4B910DE5.9090206@fourthworld.com> References: <4B910DE5.9090206@fourthworld.com> Message-ID: <41334025671.20100305080138@ahsoftware.net> Richard- Friday, March 5, 2010, 5:57:57 AM, you wrote: > Trevor DeVore wrote: >> One other point - as of Rev 4.0 you can dispatch functions as well. >> >> dispatch function "GetValue" to button 2 with theParam > Way cool! Thanks for posting that; I'd missed that in the docs. It's not in the docs and it's not in the release notes. After trying this now I see it does work after a fashion, with "it" still containing the "handled" result and "the result" containing what comes back from the function. Unfortunately, that's the opposite of the syntax I'd expect from a function, where the value coming from the function is in "it", but I can live with that. -- -Mark Wieder mwieder at ahsoftware.net From jim at visitrieve.com Fri Mar 5 11:19:27 2010 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 5 Mar 2010 06:19:27 -1000 Subject: How do I 'shorten' this script? In-Reply-To: <126332668937.20100305073901@ahsoftware.net> References: <4B90A44F.4050004@pdslabs.net> <29301552453.20100304230024@ahsoftware.net> <007a01cabc5c$5f8e39d0$1eaaad70$@com> <126332668937.20100305073901@ahsoftware.net> Message-ID: <009601cabc7f$a152d830$e3f88890$@com> That's OK Mark because I can tell you typed this into an email and not your editor. Had you typed it into your editor (and because I know you have explicitVars turned on) you would have gotten an error at *tName*. ;-) Aloha from Hawaii, Jim Bufalini > Jim- > > Friday, March 5, 2010, 4:07:04 AM, you wrote: > > > I think Mark meant to say *put true into tMatch* before the repeat. > > That's what I meant, but I still messed up one more detail... > > on mouseUp > local tMatch > > -- assume match > put true into tMatch > repeat with x = 1 to 5 > put "A"&x into tName > if the backgroundcolor of grc tName of grp "A" \ > is NOT the backgroundcolor of grc tName of grp "B" > then put false into tMatch > end repeat > -- if none failed > if tMatch > then answer "AnswerA" > else answer "AnswerB" > end mouseUp > > ...amazing how much difference a well-placed "not" can make... > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Fri Mar 5 11:27:17 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 5 Mar 2010 08:27:17 -0800 Subject: How do I 'shorten' this script? In-Reply-To: <009601cabc7f$a152d830$e3f88890$@com> References: <4B90A44F.4050004@pdslabs.net> <29301552453.20100304230024@ahsoftware.net> <007a01cabc5c$5f8e39d0$1eaaad70$@com> <126332668937.20100305073901@ahsoftware.net> <009601cabc7f$a152d830$e3f88890$@com> Message-ID: <146335565000.20100305082717@ahsoftware.net> Jim- Friday, March 5, 2010, 8:19:27 AM, you wrote: > That's OK Mark because I can tell you typed this into an email and not your > editor. Had you typed it into your editor (and because I know you have > explicitVars turned on) you would have gotten an error at *tName*. ;-) Uh oh... busted... -- -Mark Wieder mwieder at ahsoftware.net From williamdesmet at gmail.com Fri Mar 5 11:48:35 2010 From: williamdesmet at gmail.com (William de Smet) Date: Fri, 5 Mar 2010 17:48:35 +0100 Subject: How do I change the script for 100 buttons in one time? In-Reply-To: References: <401D17D9-1DCE-4A9E-9D4C-1B9F01BB67CC@unil.ch> <0E2CBC58-D7B1-4219-BDCF-B20DE0A8F862@yahoo.com> Message-ID: Thanks for your answers! 2010/3/5 Andre.Bisseret > Bonjour, > > I suggest a mix of Jacques' and Jim ' scripts > and addition of a line to eliminate the current scripts of the 100 buttons > > on changeScripts > --put fld "newScript" into baseScript > > repeat with k = 1 to the number of cards > repeat with m = 1 to the number of btns in cd k > get word 1 of the short name of btn m of cd k > if char 1 of IT = "d" and char 2 to -1 of IT < 101 then > set the behavior of btn m of cd k to the long ID of button > "BCommonscript" of cd 1 > set the script of btn m of cd k to empty -- clean the script of > the button > > end if > end repeat > end repeat > end changeScripts > > Best regards from Grenoble > > Andr? > > Le 4 mars 10 ? 20:25, Jim Ault a ?crit : > > > Yours is the best solution, Jacques, if using Rev 3.0 or later. >> Repeat loops will work on all versions 2.2+ >> >> Jim Ault >> Las Vegas >> >> >> On Mar 4, 2010, at 11:05 AM, Jacques Hausser wrote: >> >> Hi William >>> >>> A good case for using behaviors ! Set the script of an hidden btn >>> "BCommonScript" as you want and then put somewhere in the opening process of >>> your stack: >>> >>> repeat with i = 1 to 100 >>> put "d" &i into tButtonName >>> set the behavior of btn tbuttonName to the long ID of button >>> "BCommonscript" >>> end repeat >>> >>> Jacques >>> >>> Le 4 mars 2010 ? 19:46, William de Smet a ?crit : >>> >>> Hi there, >>>> >>>> I have a stack with 100 buttons in it and they all have the same script. >>>> The buttons are called "d1" to "d100". >>>> >>>> How do I change the code for all of them in one time? >>>> I don't feel like copy/paste 100 times. >>>> >>>> >>> >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From williamdesmet at gmail.com Fri Mar 5 11:55:10 2010 From: williamdesmet at gmail.com (William de Smet) Date: Fri, 5 Mar 2010 17:55:10 +0100 Subject: How do I 'shorten' this script? In-Reply-To: <146335565000.20100305082717@ahsoftware.net> References: <4B90A44F.4050004@pdslabs.net> <29301552453.20100304230024@ahsoftware.net> <007a01cabc5c$5f8e39d0$1eaaad70$@com> <126332668937.20100305073901@ahsoftware.net> <009601cabc7f$a152d830$e3f88890$@com> <146335565000.20100305082717@ahsoftware.net> Message-ID: @ everyone: thanks a lot! The script works. 2010/3/5 Mark Wieder > Jim- > > Friday, March 5, 2010, 8:19:27 AM, you wrote: > > > That's OK Mark because I can tell you typed this into an email and not > your > > editor. Had you typed it into your editor (and because I know you have > > explicitVars turned on) you would have gotten an error at *tName*. ;-) > > Uh oh... busted... > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From francois.chaplais at mines-paristech.fr Fri Mar 5 12:16:24 2010 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Fri, 5 Mar 2010 18:16:24 +0100 Subject: RevMobile first impressions? In-Reply-To: References: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> <780343DA-DBBE-4B92-A429-F7184B428BA9@earthlink.net> Message-ID: Thanks to all (especially Sarah) for sharing your experience. Now I have to convince my wife.... Cheers, Fran?ois From rjb at robelko.com Fri Mar 5 12:12:45 2010 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 5 Mar 2010 18:12:45 +0100 Subject: How do I 'shorten' this script? In-Reply-To: References: <4B90A44F.4050004@pdslabs.net> <29301552453.20100304230024@ahsoftware.net> <007a01cabc5c$5f8e39d0$1eaaad70$@com> <126332668937.20100305073901@ahsoftware.net> <009601cabc7f$a152d830$e3f88890$@com> <146335565000.20100305082717@ahsoftware.net> Message-ID: On 05.03.10 at 17:55 +0100 William de Smet apparently wrote: >@ everyone: thanks a lot! The script works. > A bit different take - just a single if on mouseUp repeat with x = 1 to 5 get "A" & x put the backgroundcolor of grc it of grp "A" after tColorsA put the backgroundcolor of grc it of grp "B" after tColorsB end repeat if tColorsA is tColorsB then answer "AnswerA" else answer "AnswerB" end mouseUp Robert From williamdesmet at gmail.com Fri Mar 5 12:39:18 2010 From: williamdesmet at gmail.com (William de Smet) Date: Fri, 5 Mar 2010 18:39:18 +0100 Subject: What's wrong with the revWeb Plugin on OSX? Message-ID: Hi there, I am using Safari 4.04 and FireFox 3.6 on OSX 10.6.2 (Snow Leopard). I started testing with revlets and they seem to work in these browsers but after putting another revlet on the web (size 1 MB) they both load the revlet but it doesn't go further than the runrev logo. FireFox even freezes! (The first revlet was less than 200 KB and still works fine). Everytime I reload the page the plugin asks for permissions as well. Very annoying! On Win 7 with IE8 and FireFox 3.6 the revlet works fine and fast! Do you have the same experience? greetings, MacSmet From peter001 at gmail.com Fri Mar 5 13:10:05 2010 From: peter001 at gmail.com (Peter) Date: Fri, 5 Mar 2010 13:10:05 -0500 Subject: iphone, Revmobile and access to API (geo-positioning_ Message-ID: <7421e0561003051010o35a61bey9854ea34aa7393e3@mail.gmail.com> Hi Sarah, is there any support for Geo-positioning (access to where you are?) Thanks, Peter ______________________________________________________ Hello Sarah, What about music and sound capacities ? Ren? >> I'd love to hear your more detailed impressions, Sarah, and I bet others would too. Meanwhile, thanks for the early preview! > > Here is some more info: > > Set your stack's font to Helvetica 14, the backColor to "200,200,200" > and the look & feel to Motif to get the best preview of how it will > look on the iPhone without any skinning. > > A multi-card stack works fine and moving into & out of sub-stacks works fine. > > Not all text decoration works: there are no fonts and you can't > specify bold or italic, but all the other text styles work and you can > set colors. > > I have used the photo picker and it works really well, but don't leave > an image on screen if you leave that card or the app usually crashes. > > Images are a bit crashy - sometimes they work, other times they crash. > > File handling: I have been able to list files in the app bundle, > create a new one and display it, download an image file and save it, > download a web page and show the htmlText. > > File paths: you can get the defaultFolder which gives the full folder > to the app in my Library. Getting the filename of my stack gives a > much shorter path, with the app bundle being the root folder. I > haven't worked out yet how to save a file to the app's Documents > folder. > > iPhone specific commands: I have tested the command that accesses the > photo library (& would do the camera if I was using a real iPhone) and > they work really well. Shaking & multi-touch all seem fine, although > on the simulator I haven't actually been able to multi-touch. > If you shake when typing in a text field, you get a dialog saying that > there is nothing to undo, so the shake has been correctly linked to > the undo mechanism, but the actual undo is not operational yet. > > Rotation: seemingly not implemented yet, although the handbook > mentions that they cause the stack to get a resizeStack message. I > haven't been able to detect this, so I have no idea how they plan to > implement rotation. I tried activating the accelerometer but I can't > test that without installing on a real iPhone. It didn't make any > difference to the rotation - you still just see all the controls > turned sideways. I even tried changing to a wide stack to see if that > would help, but it didn't make any difference. > > So basically, although it all looks weird, there is an awful lot of > Rev that just works. Images are the most flaky things I have > discovered. > As is usual with iPhone apps and Rev apps, errors don't make a fuss, > although the app can just quit quietly if something weird happens. > > As regards future revMobile programming, the main things I will be > looking for are the native look & feel, rotation handling and better > image handling. Of these, the rotation is the most important as I need > to know how this will work in order to be able to plan my development. > The look & feel will not stop me developing, but you couldn't release > an iPhone app that looks like it's running under X11 :-) > > Image handling is crucial because it has caused a lot of app crashes > in my tests. > > Adding an icon to your app is super-easy. You just make a 57 x 57 png > file and tell revMobile the plugin. When the app installs, the iPhone > rounds the corners and adds the cool lighting effect. > > If anyone would like me to test any aspect in particular, just let me know. > > Cheers, > Sarah From martyknapp at comcast.net Fri Mar 5 13:21:47 2010 From: martyknapp at comcast.net (Marty Knapp) Date: Fri, 05 Mar 2010 10:21:47 -0800 Subject: AW: OT: locking software to one specific machine? In-Reply-To: <4B90076B.3080509@fourthworld.com> References: <4B90076B.3080509@fourthworld.com> Message-ID: <4B914BBB.7000606@comcast.net> Thanks Richard and others who've posted on this. Very interesting articles. Now *all* I need to to do is wrap my brain around all this and decide how to proceed! Marty > Marty Knapp wrote: >> I like the idea of pre-generated keys. It seems like a good in-between >> method. If your user then registered their key and someone else >> subsequently tried to register the same number you would have some >> recourse. I don't want to get bogged down in lots of administrative >> hassles, so I like this method. Does anyone have suggestions about >> setting up something like this? And a method for verifying the key? > > > Challenging, but fun: > --------------------- > > Start by reading these for inspiration: > > The Plain Truth about Casual Software Piracy > by Matt Slot, Ambrosia Software > > > Anti Cracking FAQ > How to make cracking your programs a little harder > > From lfredricks at proactive-intl.com Fri Mar 5 14:08:56 2010 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri, 5 Mar 2010 11:08:56 -0800 Subject: Thousands of cards (Was RE: very strange rev behavior) In-Reply-To: <4B910295.7040009@fourthworld.com> References: <4B910295.7040009@fourthworld.com> Message-ID: <0A56EB04C69944C0A1F92D5EDAF919E4@GATEWAY> Hi Richard, > But HC made it very convenient to store data on cards, and > out of the box provided no way to work with any database at > all (SQLite hadn't even been invented yet). > > Bill Atkinson said more than once that "HyperCard is not a > database", but the convenience of using it as one encouraged > people to do so. The sample stacks with HC sort of encouraged this though - you had a pretty usable PIM there as I recall. But along with what you say about SQLite, back then I don't think it was completely conceivable that one would have thousands of contacts in a "personal file". > I believe there are so many benefits in separating code, UI, > and content that it's well worth the effort, and the clients > for whom I've ported large HC stacks have been pleased with > the results Rev offers. It sure would be nice if someone wrote an updated Runrev: Best Practices book, or many somebodies wrote chapters of one. Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) http://www.proactive-intl.com From andrew at rjdfarm.com Fri Mar 5 15:24:46 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Fri, 5 Mar 2010 12:24:46 -0800 (PST) Subject: Rearranging Data Grid Columns with script Message-ID: <1267820686040-1580094.post@n4.nabble.com> Is there a way to resize, rearrange, add, or delete columns in a datagrid with a script? If so, can you point in a proper direction? Curious, Andrew -- View this message in context: http://n4.nabble.com/Rearranging-Data-Grid-Columns-with-script-tp1580094p1580094.html Sent from the Revolution - User mailing list archive at Nabble.com. From francois.chaplais at mines-paristech.fr Fri Mar 5 16:53:31 2010 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Fri, 5 Mar 2010 22:53:31 +0100 Subject: RevMobile first impressions? In-Reply-To: References: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> <780343DA-DBBE-4B92-A429-F7184B428BA9@earthlink.net> Message-ID: Does it support externals? For instance, did someone succeed in compiling a stack that uses one of runrev's own externals (faceless ones, to begin with)? Bonne soir?e de Paris Fran?ois From sarah.reichelt at gmail.com Fri Mar 5 19:05:05 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 6 Mar 2010 10:05:05 +1000 Subject: Rearranging Data Grid Columns with script In-Reply-To: <1267820686040-1580094.post@n4.nabble.com> References: <1267820686040-1580094.post@n4.nabble.com> Message-ID: On Sat, Mar 6, 2010 at 6:24 AM, Andrew Kluthe wrote: > > Is there a way to resize, rearrange, add, or delete columns in a datagrid > with a script? If so, can you point in a proper direction? I have done some column resizing & sorting via script - this handler copies the widths of one data grid's columns to another data grid: command copyColumnWidths pFrom, pTo put the dgProp["columns"] of group pFrom into tCols repeat for each line L in tCols put the dgColumnWidth[L] of grp pFrom into tColWidth set the dgColumnWidth[L] of grp pTo to tColWidth end repeat end copyColumnWidths I haven't re-arranged, added or deleted, but if you go to you can see listed all the properties of the data grid and it's columns and how you can set them. HTH, Sarah From sarah.reichelt at gmail.com Fri Mar 5 19:05:54 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 6 Mar 2010 10:05:54 +1000 Subject: iphone, Revmobile and access to API (geo-positioning_ In-Reply-To: <7421e0561003051010o35a61bey9854ea34aa7393e3@mail.gmail.com> References: <7421e0561003051010o35a61bey9854ea34aa7393e3@mail.gmail.com> Message-ID: > ? ?is there any support for Geo-positioning (access to where you are?) No, not at the moment. Cheers, Sarah From palcibiades-first at yahoo.co.uk Fri Mar 5 19:12:14 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 5 Mar 2010 16:12:14 -0800 (PST) Subject: The Linux problem, and a suggestion In-Reply-To: <4B910C8F.80006@fourthworld.com> References: <201003050843.31987.palcibiades-first@yahoo.co.uk> <4B910C8F.80006@fourthworld.com> Message-ID: <1267834334241-1580311.post@n4.nabble.com> Richard Gaskin wrote: > At the heart of Rev's part in this is that Rev is still using > fixed-resolution coordinates, while Gnome uses resolution-independent > geometry. Firefox is the same as Rev in this regard, which explains why > the content region in FF matches what you see in Rev almost perfectly, > even though both of them differ from the OS. > : I did look at the links, and they were very interesting and suggestive. But its not exactly what I see. I am using Fluxbox on Debian, I open Rev, and the Rev menu strip looks about in 4 point, and right next to it is Firefox, which is perfectly reasonable and about 12 point. I can send you a screenshot. It is almost unusable. So something else is going on, other than Gnome, and other than Ubuntu. Peter -- View this message in context: http://n4.nabble.com/The-Linux-problem-and-a-suggestion-tp1579344p1580311.html Sent from the Revolution - User mailing list archive at Nabble.com. From sarah.reichelt at gmail.com Fri Mar 5 19:14:10 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 6 Mar 2010 10:14:10 +1000 Subject: RevMobile first impressions? In-Reply-To: <187EC7AC-EB7B-4F82-9BDB-BFF7AFDFBDE2@numericable.com> References: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> <780343DA-DBBE-4B92-A429-F7184B428BA9@earthlink.net> <187EC7AC-EB7B-4F82-9BDB-BFF7AFDFBDE2@numericable.com> Message-ID: On Fri, Mar 5, 2010 at 8:47 PM, Ren? Micout wrote: > Hello Sarah, > What about music and sound capacities ? beep does nothing. Playing an audioclip does nothing. Sarah From sarah.reichelt at gmail.com Fri Mar 5 19:16:54 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 6 Mar 2010 10:16:54 +1000 Subject: RevMobile first impressions? In-Reply-To: <4B90EE93.8070100@together.net> References: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> <780343DA-DBBE-4B92-A429-F7184B428BA9@earthlink.net> <187EC7AC-EB7B-4F82-9BDB-BFF7AFDFBDE2@numericable.com> <4B90EE93.8070100@together.net> Message-ID: On Fri, Mar 5, 2010 at 9:44 PM, Richard Miller wrote: > And video. Can you create a video player and control it? I made a player object, added a movie to my app and tested. The movie doesn't load into the player. No error report, but nothing happens. Sarah From jmyepes at mac.com Fri Mar 5 19:39:34 2010 From: jmyepes at mac.com (JosepM) Date: Fri, 5 Mar 2010 16:39:34 -0800 (PST) Subject: Interfacing to Mac iCal and Address Book In-Reply-To: References: Message-ID: <1267835974927-1580327.post@n4.nabble.com> Hi, I also interested with these applescripts. Where you found it? Also I deal with add/modify iCal and Address Book records... Salut, Josep -- View this message in context: http://n4.nabble.com/Interfacing-to-Mac-iCal-and-Address-Book-tp1578454p1580327.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Fri Mar 5 20:57:22 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 05 Mar 2010 17:57:22 -0800 Subject: [OT] IE6 Funeral Message-ID: This is years overdue. Here's hoping everybody moves on and this bane of developers' existence never returns. Regards, Scott Rossi Creative Director Tactile Media, UX Design From mwieder at ahsoftware.net Fri Mar 5 22:50:13 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 5 Mar 2010 19:50:13 -0800 Subject: [OT] IE6 Funeral In-Reply-To: References: Message-ID: <75376541265.20100305195013@ahsoftware.net> Scott- Friday, March 5, 2010, 5:57:22 PM, you wrote: > This is years overdue. Here's hoping everybody moves on and this bane of > developers' existence never returns. > ...and from the comments section: "Yay! Now that people aren?t using the standards abusing browser IE6 they will be using the standards abusing browsers IE7 and IE8 instead. Joy." -- -Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Fri Mar 5 23:59:59 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 5 Mar 2010 20:59:59 -0800 Subject: [OT] IE6 Funeral In-Reply-To: <75376541265.20100305195013@ahsoftware.net> References: <75376541265.20100305195013@ahsoftware.net> Message-ID: Oh hey! Everyone wants to comply with standards. Their own personal standards. ;-) Bob On Mar 5, 2010, at 7:50 PM, Mark Wieder wrote: > Scott- > > Friday, March 5, 2010, 5:57:22 PM, you wrote: > >> This is years overdue. Here's hoping everybody moves on and this bane of >> developers' existence never returns. > >> > > ...and from the comments section: > > "Yay! Now that people aren?t using the standards abusing browser IE6 > they will be using the standards abusing browsers IE7 and IE8 instead. > Joy." > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sarah.reichelt at gmail.com Sat Mar 6 00:33:14 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 6 Mar 2010 15:33:14 +1000 Subject: RevMobile first impressions? In-Reply-To: References: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> <780343DA-DBBE-4B92-A429-F7184B428BA9@earthlink.net> <187EC7AC-EB7B-4F82-9BDB-BFF7AFDFBDE2@numericable.com> <4B90EE93.8070100@together.net> Message-ID: I've now installed my test stack on my iPhone and some of the results are a bit different: I can list the files in the default folder (which is in the app bundle) but I can't create a new file there. I can't download either a file or a web page from the internet. Multi-touch definitely works. Shaking definitely works. Rotation does nothing. Accessing the photo library works but is quite slow to display a selected picture. The rest is all as I reported earlier. Cheers, Sarah From coiin at verizon.net Sat Mar 6 00:55:30 2010 From: coiin at verizon.net (Colin Holgate) Date: Sat, 06 Mar 2010 00:55:30 -0500 Subject: RevMobile first impressions? In-Reply-To: References: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> <780343DA-DBBE-4B92-A429-F7184B428BA9@earthlink.net> <187EC7AC-EB7B-4F82-9BDB-BFF7AFDFBDE2@numericable.com> <4B90EE93.8070100@together.net> Message-ID: <79843FC4-6044-4C62-BFCF-B30E5460D989@verizon.net> On Mar 6, 2010, at 12:33 AM, Sarah Reichelt wrote: > bundle) but I can't create a new file there. > I can't download either a file or a web page from the internet. It's normal for that to not work. You would want to write data to the applicationStorageDirectory folder, not the applicationDirectory folder. I don't know what the Rev equivalent of that is. > Rotation does nothing. Can you read accelerometer data? If you can, then you would need to do the rotating yourself I believe, based on the orientation of the phone. From alex at harryscollar.com Sat Mar 6 01:19:16 2010 From: alex at harryscollar.com (Alex Shaw) Date: Sat, 06 Mar 2010 16:19:16 +1000 Subject: RevMobile first impressions? In-Reply-To: References: <59011CB9-C2AF-4201-9A19-3988ECF57D53@mines-paristech.fr> <780343DA-DBBE-4B92-A429-F7184B428BA9@earthlink.net> <187EC7AC-EB7B-4F82-9BDB-BFF7AFDFBDE2@numericable.com> <4B90EE93.8070100@together.net> Message-ID: <4B91F3E4.2030805@harryscollar.com> Hi Sarah Thanks for the all the updates. For those who haven't seen it.. http://www.tuaw.com/2010/03/05/revmobile-write-iphone-and-ipad-apps-without-knowing-objective/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+weblogsinc%2Ftuaw+%28The+Unofficial+Apple+Weblog+%28TUAW%29%29 Hmm.. might be time to buy an iphone. regards alex On 6/03/10 3:33 PM, Sarah Reichelt wrote: > I've now installed my test stack on my iPhone and some of the results > are a bit different: > > I can list the files in the default folder (which is in the app > bundle) but I can't create a new file there. > I can't download either a file or a web page from the internet. > Multi-touch definitely works. > Shaking definitely works. > Rotation does nothing. > Accessing the photo library works but is quite slow to display a > selected picture. > > The rest is all as I reported earlier. > > Cheers, > Sarah From richmondmathewson at gmail.com Sat Mar 6 02:41:22 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 06 Mar 2010 09:41:22 +0200 Subject: [OT] IE6 Funeral In-Reply-To: References: <75376541265.20100305195013@ahsoftware.net> Message-ID: <4B920722.8090500@gmail.com> On 06/03/2010 06:59, Bob Sneidar wrote: > Oh hey! Everyone wants to comply with standards. Their own personal standards. ;-) > > Bob > > > I really wonder about these much vaunted "standards" and how valuable they really are. Surely the only "standards" that are needed are: The program works, It doesn't leak credit card numbers like a sieve. From jimaultwins at yahoo.com Sat Mar 6 03:17:39 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Sat, 6 Mar 2010 00:17:39 -0800 Subject: [OT] IE6 Funeral In-Reply-To: <4B920722.8090500@gmail.com> References: <75376541265.20100305195013@ahsoftware.net> <4B920722.8090500@gmail.com> Message-ID: <14E43A2A-8D41-4125-85D6-F5B81819D0B8@yahoo.com> On Mar 5, 2010, at 11:41 PM, Richmond Mathewson wrote: > I really wonder about these much vaunted "standards" and how > valuable they > really are. > > Surely the only "standards" that are needed are: > > The program works, > > It doesn't leak credit card numbers like a sieve. Actually, the deviation from standards for displaying info and media using web browsers is very costly. Most businesses pay dearly for web development for their brand or sales goals. The main reason is that I know that I can spend 20 hours designing the layout, flow, and content for a client, then at least another 10 hours getting it to look right on IE 6,7,8 You start with good practices in html, css, and javascript, then add quirksmode for older IE browsers, then bug fix mode for older IE browers, then move forward to non-quirksmode and bug fix mode in the modern IE browser versions. Clients really don't like spending extra time and money for this, but it is necessary. Using the JQuery javascript library for rendering pages helps a lot. I usually quote an extra 50% for dealing with IE issues. In recent years the extra hassle ramped up a notch when it became necessary to run a Vista machine in addition to XP. I don't do web design projects anymore because every project became too contorted to be satisfying and profitable. Just my opinion, and that of several web designers I know personally. Most have moved on to other things. This is definitely off topic for the Rev list, but on topic for On-Rev. Jim Ault Las Vegas From marcio at cialogica.com.br Sat Mar 6 05:38:20 2010 From: marcio at cialogica.com.br (Marcio Alexandroni) Date: Sat, 06 Mar 2010 07:38:20 -0300 Subject: RevMobile first impressions? In-Reply-To: <79843FC4-6044-4C62-BFCF-B30E5460D989@verizon.net> Message-ID: Just to remember, RevMobile is in early PreAlpha, it's the first public release. I'm sure RunRev guys will work hard to support all the features in the next months. This is why I said it's definitely an amazing tool, I've never seen any PreAlpha that you can really build, deploy and run an application at least with some quality. I'm just waiting for Sockets to be added to both iPhone and WM versions, then I will start porting my applications to RevMobile. Marcio Alexandroni www.cialogica.com.br ( (11) 9989-8316 marcioalexandroni -- > From: Colin Holgate > Reply-To: How to use Revolution > Date: Sat, 06 Mar 2010 00:55:30 -0500 > To: How to use Revolution > Subject: Re: RevMobile first impressions? > > > On Mar 6, 2010, at 12:33 AM, Sarah Reichelt wrote: > >> bundle) but I can't create a new file there. >> I can't download either a file or a web page from the internet. > > > It's normal for that to not work. You would want to write data to the > applicationStorageDirectory folder, not the applicationDirectory folder. I > don't know what the Rev equivalent of that is. > > >> Rotation does nothing. > > Can you read accelerometer data? If you can, then you would need to do the > rotating yourself I believe, based on the orientation of the phone. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From rabit at dimensionB.de Sat Mar 6 16:30:05 2010 From: rabit at dimensionB.de (Ralf Bitter) Date: Sat, 6 Mar 2010 22:30:05 +0100 Subject: [ANN] revIgniter v1.2.1b Message-ID: <41BE8246-3A4F-4A3E-953A-A565A8686258@dimensionB.de> revIgniter v1.2.1 Beta has been released ready for download. This version (1.2.1b) includes bug fixes and a new helper, which provides handlers that assist in working with Form-Mails. Info and download at: http://www.revigniter.com/ Ralf From mfstuart at cox.net Sat Mar 6 17:01:09 2010 From: mfstuart at cox.net (Mark Stuart) Date: Sat, 6 Mar 2010 14:01:09 -0800 Subject: reading and converting web page HTML text Message-ID: <000001cabd78$87a2f790$0138a8c0@stuart> Hi all, I'm reading the HTML text of a web page and parsing it. Some of the text that I'm parsing contains (") - braces not included. What runrev function do I use to convert that HTML text to the double quote (") character? There will be other characters that I also need to convert, such as (Björnke). After reading and parsing the text, I'll be loading a DataGrid. I've tried some functions, but with no success. Regards, Mark Stuart From francois.chaplais at mines-paristech.fr Sat Mar 6 17:10:52 2010 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Sat, 6 Mar 2010 23:10:52 +0100 Subject: reading and converting web page HTML text In-Reply-To: <000001cabd78$87a2f790$0138a8c0@stuart> References: <000001cabd78$87a2f790$0138a8c0@stuart> Message-ID: Le 6 mars 2010 ? 23:01, Mark Stuart a ?crit : > Hi all, > I'm reading the HTML text of a web page and parsing it. Some of the text > that I'm parsing contains (") - braces not included. > > What runrev function do I use to convert that HTML text to the double quote > (") character? > There will be other characters that I also need to convert, such as > (Björnke). > After reading and parsing the text, I'll be loading a DataGrid. > > I've tried some functions, but with no success. > > Regards, > Mark Stuart > digging in my mail archive I found this post from Sarah (it puts unicode text into a field from an HTML source, if I am correct) HTH -------------------------------------------------------------------- On Sun, Jul 26, 2009 at 7:18 AM, Sivakatirswami wrote: > Is there a way to get htmlEntities > > "“Kanwar” > > The rest of their lifestyle — names, marriage rituals, dressing styles > — continued to be the same...." > > to appear correctly in a field where such enties are part of the html used > to set the htmltext of a field? I had to wrestle with this recently and after numerous attempts with uniencode, unidecode, macToISO etc., I ended up writing my own function to do it: function decodeEntities pText if pText contains "&#" is false then return pText set the useunicode to true put empty into tNew repeat until pText is empty put char 1 of pText into c if c <> "&" then put c after tNew delete char 1 of pText else put empty into tCode delete char 1 to 2 of pText repeat until char 1 of pText = ";" put char 1 of pText after tCode delete char 1 of pText if pText is empty then exit repeat end repeat delete char 1 of pText put numtochar(tCode) into tChar set the unicodetext of the templatefield to tChar put the text of the templatefield after tNew end if end repeat set the useunicode to true return tNew end decodeEntities Use it like this: put decodeEntities("“Kanwar”") which returns: ?Kanwar? (curly opening & closing quotes which may not show in the email). I feel sure that there must be a better method, but until someone discovers it, this function seems to do the job. Cheers, Sarah _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From mfstuart at cox.net Sat Mar 6 17:35:42 2010 From: mfstuart at cox.net (Mark Stuart) Date: Sat, 6 Mar 2010 14:35:42 -0800 (PST) Subject: reading and converting web page HTML text In-Reply-To: References: <000001cabd78$87a2f790$0138a8c0@stuart> Message-ID: <1267914942046-1583155.post@n4.nabble.com> Hi Fran?ois, Thanx for your quick reply. I added Sarah's script into my application and ran it. The function halted with an error on ("), because it is not a number. I think Sarah's function is looking for a number after the ampersand, correct? So I'm handling the (") as an exception for now by using this script: if theText contains """ then replace """ with quote in theText end if and then call the decodeEntities(theText) function. I'm sure I'll come across other HTML text like this, but don't know how to handle it really. Merci, Mark Stuart -- View this message in context: http://n4.nabble.com/reading-and-converting-web-page-HTML-text-tp1583130p1583155.html Sent from the Revolution - User mailing list archive at Nabble.com. From stephenREVOLUTION2 at barncard.com Sat Mar 6 17:38:18 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 6 Mar 2010 14:38:18 -0800 Subject: [ANN] revIgniter v1.2.1b In-Reply-To: <41BE8246-3A4F-4A3E-953A-A565A8686258@dimensionB.de> References: <41BE8246-3A4F-4A3E-953A-A565A8686258@dimensionB.de> Message-ID: This is awesome work, Ralf, and the documentation is some of the best I've ever seen. This system is expandable and appears to be really well thought out. The concept of working almost 99% in RevTalk on a web page is remarkable. May your offering spawn some great sites... ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev On 6 March 2010 13:30, Ralf Bitter wrote: > > revIgniter v1.2.1 Beta has been released ready > for download. This version (1.2.1b) includes > bug fixes and a new helper, which provides > handlers that assist in working with Form-Mails. > > Info and download at: http://www.revigniter.com/ > > > Ralf > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jimaultwins at yahoo.com Sat Mar 6 19:13:53 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Sat, 6 Mar 2010 16:13:53 -0800 Subject: reading and converting web page HTML text In-Reply-To: <1267914942046-1583155.post@n4.nabble.com> References: <000001cabd78$87a2f790$0138a8c0@stuart> <1267914942046-1583155.post@n4.nabble.com> Message-ID: On Mar 6, 2010, at 2:35 PM, Mark Stuart wrote: > > Hi Fran?ois, > > Thanx for your quick reply. > I added Sarah's script into my application and ran it. > > The function halted with an error on ("), because it is not a > number. I > think Sarah's function is looking for a number after the ampersand, > correct? > So I'm handling the (") as an exception for now by using this > script: > > if theText contains """ then > replace """ with quote in theText > end if > > and then call the decodeEntities(theText) function. > > I'm sure I'll come across other HTML text like this, but don't know > how to > handle it really. Basically, I would go to a site that shows all html entities, make a list of those, and do a replace using a repeat loop. Google 'html entities' to get the possibilities. Jim Ault Las Vegas From rabit at dimensionB.de Sat Mar 6 19:14:33 2010 From: rabit at dimensionB.de (Ralf Bitter) Date: Sun, 7 Mar 2010 01:14:33 +0100 Subject: [ANN] revIgniter v1.2.1b In-Reply-To: References: <41BE8246-3A4F-4A3E-953A-A565A8686258@dimensionB.de> Message-ID: Stephen, thanks for the kind words. Yes, revIgniter is expandable, it leaves plenty of room to be creative and to tailor the framework to your own needs. Cheers Ralf On 06.03.2010, at 23:38, stephen barncard wrote: > This is awesome work, Ralf, and the documentation is some of the best I've > ever seen. This system is expandable and appears to be really well thought > out. > > The concept of working almost 99% in RevTalk on a web page is remarkable. > > May your offering spawn some great sites... > ------------------------- > Stephen Barncard > San Francisco > http://houseofcubes.com/disco.irev > From mfstuart at cox.net Sat Mar 6 19:53:32 2010 From: mfstuart at cox.net (Mark Stuart) Date: Sat, 6 Mar 2010 16:53:32 -0800 (PST) Subject: reading and converting web page HTML text In-Reply-To: References: <000001cabd78$87a2f790$0138a8c0@stuart> <1267914942046-1583155.post@n4.nabble.com> Message-ID: <1267923212589-1583224.post@n4.nabble.com> Hi all, Looking up runrev Dictionary for "HTML", does result in a find (HTMLtext), which mentions the following near the very end. >> Special characters (whose ASCII value is greater than 127) are encoded as HTML entities. Revolution recognizes the following named entities: << and then it lists all the entities it currently supports. I'd say that using the HTMLtext function would handle all these html entities. But it appears to not do that. Therefore, should I submit a bug report on this? Regards, Mark Stuart -- View this message in context: http://n4.nabble.com/reading-and-converting-web-page-HTML-text-tp1583130p1583224.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Sat Mar 6 22:07:30 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 06 Mar 2010 21:07:30 -0600 Subject: reading and converting web page HTML text In-Reply-To: <1267923212589-1583224.post@n4.nabble.com> References: <000001cabd78$87a2f790$0138a8c0@stuart> <1267914942046-1583155.post@n4.nabble.com> <1267923212589-1583224.post@n4.nabble.com> Message-ID: <4B931872.2020901@hyperactivesw.com> Mark Stuart wrote: > Hi all, > Looking up runrev Dictionary for "HTML", does result in a find (HTMLtext), > which mentions the following near the very end. > Special characters (whose ASCII value is greater than 127) are encoded as > HTML entities. Revolution recognizes the following named entities: > << > and then it lists all the entities it currently supports. > > I'd say that using the HTMLtext function would handle all these html > entities. But it appears to not do that. > Therefore, should I submit a bug report on this? Theh """ entity works. I'm not sure why it isn't in the list. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sat Mar 6 22:14:06 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 06 Mar 2010 19:14:06 -0800 Subject: reading and converting web page HTML text Message-ID: <4B9319FE.8040903@fourthworld.com> Mark Stuart wrote: > Looking up runrev Dictionary for "HTML", does result in a find (HTMLtext), > which mentions the following near the very end. >>> > Special characters (whose ASCII value is greater than 127) are encoded as > HTML entities. Revolution recognizes the following named entities: > << > and then it lists all the entities it currently supports. > > I'd say that using the HTMLtext function would handle all these html > entities. But it appears to not do that. > Therefore, should I submit a bug report on this? Which ones have you found that don't work? The one from your original post (Björnke) does. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From jimaultwins at yahoo.com Sat Mar 6 22:20:25 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Sat, 6 Mar 2010 19:20:25 -0800 Subject: reading and converting web page HTML text In-Reply-To: <4B931872.2020901@hyperactivesw.com> References: <000001cabd78$87a2f790$0138a8c0@stuart> <1267914942046-1583155.post@n4.nabble.com> <1267923212589-1583224.post@n4.nabble.com> <4B931872.2020901@hyperactivesw.com> Message-ID: <49C2FD72-81C3-4215-9FF5-EDC768DF2F0F@yahoo.com> On Mar 6, 2010, at 7:07 PM, J. Landman Gay wrote: > Mark Stuart wrote: >> Hi all, >> Looking up runrev Dictionary for "HTML", does result in a find >> (HTMLtext), >> which mentions the following near the very end. >> Special characters (whose ASCII value is greater than 127) are >> encoded as >> HTML entities. Revolution recognizes the following named entities: >> << >> and then it lists all the entities it currently supports. >> I'd say that using the HTMLtext function would handle all these html >> entities. But it appears to not do that. >> Therefore, should I submit a bug report on this? > > Theh """ entity works. I'm not sure why it isn't in the list. > The list is only for high ASCII. Quote is ascii 34, unless you are thinking curly quotes. My belief is that if you are doing work for clients, you should use the actual html entities yourself, rather than trust that Rev will always do this properly. The reason is that Rev is not a robust html tool nor is it designed to be. This is especially true if you need to work with Unicode and entities (a very complex adventure) Hope this helps Jim Ault Las Vegas From mfstuart at cox.net Sat Mar 6 23:46:51 2010 From: mfstuart at cox.net (Mark Stuart) Date: Sat, 6 Mar 2010 20:46:51 -0800 (PST) Subject: reading and converting web page HTML text In-Reply-To: <49C2FD72-81C3-4215-9FF5-EDC768DF2F0F@yahoo.com> References: <000001cabd78$87a2f790$0138a8c0@stuart> <1267914942046-1583155.post@n4.nabble.com> <1267923212589-1583224.post@n4.nabble.com> <4B931872.2020901@hyperactivesw.com> <49C2FD72-81C3-4215-9FF5-EDC768DF2F0F@yahoo.com> Message-ID: <1267937211225-1583305.post@n4.nabble.com> Hi all, Richard - the html entity that didn't "convert" was the quot, starting with & and ending with semi-colon ; (if I typed that into the email, you would only see ", as you may see in the following). Jim - so you are suggesting a function to convert all possible entities for a text chunk: function convertHTMLEntities theText replace """ with quote in theText replace "whatever" with "?" in theText ... ... return theText end convertHTMLEntities Regards, Mark Stuart -- View this message in context: http://n4.nabble.com/reading-and-converting-web-page-HTML-text-tp1583130p1583305.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Sun Mar 7 00:27:33 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 06 Mar 2010 21:27:33 -0800 Subject: reading and converting web page HTML text Message-ID: <4B933945.4020707@fourthworld.com> Mark Stuart wrote: > Richard - the html entity that didn't "convert" was the quot, starting with > & and ending with semi-colon ; > (if I typed that into the email, you would only see ", as you may see in the > following). > > Jim - so you are suggesting a function to convert all possible entities for > a text chunk: > > function convertHTMLEntities theText > replace """ with quote in theText > replace "whatever" with "?" in theText > ... > ... > return theText > end convertHTMLEntities Actually I tried this with the text of your original email, using two fields and a button with this script: on mouseUp put htmlTextToText(fld 1) into fld 2 end mouseUp function htmlToText pHtml set the htmlText of the templateField to pHtml return the text of the templateField end htmlToText In field 1 I had: ----------- I'm reading the HTML text of a web page and parsing it. Some of the text that I'm parsing contains (") - braces not included. What runrev function do I use to convert that HTML text to the double quote (") character? There will be other characters that I also need to convert, such as (Björnke). After reading and parsing the text, I'll be loading a DataGrid. ---------- After running it through the function I get: ---------- I'm reading the HTML text of a web page and parsing it. Some of the text that I'm parsing contains (") - braces not included. What runrev function do I use to convert that HTML text to the double quote (") character? There will be other characters that I also need to convert, such as (Bj?rnke). After reading and parsing the text, I'll be loading a DataGrid. ---------- The htmlText property is designed not to be true HTML, but to be the one way you can represent the contents of fields using ASCII characters with complete fidelity. HTML conventions were adopted for this because of their simple, extensible nature, so while the name "htmlText" often conjures up all sorts of web expectations it wasn't designed to fulfill, when it comes to providing an SGML-like representation of anything you can do with Rev fields it generally works like a champ. As Jim noted, there are some things you can do in HTML that aren't supported by Rev fields currently, so those will fail when attempting to use htmlText as a generic HTML-to-text converter. But you'd be surprised at what you can do with it, often including many Unicode entities as well now that Rev supports Unicode. Try out the htmlTextToText function above and let me know where it doesn't work for you for anything you can display in a Rev field. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From jacque at hyperactivesw.com Sun Mar 7 02:36:44 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 07 Mar 2010 01:36:44 -0600 Subject: reading and converting web page HTML text In-Reply-To: <1267937211225-1583305.post@n4.nabble.com> References: <000001cabd78$87a2f790$0138a8c0@stuart> <1267914942046-1583155.post@n4.nabble.com> <1267923212589-1583224.post@n4.nabble.com> <4B931872.2020901@hyperactivesw.com> <49C2FD72-81C3-4215-9FF5-EDC768DF2F0F@yahoo.com> <1267937211225-1583305.post@n4.nabble.com> Message-ID: <4B93578C.6020104@hyperactivesw.com> Mark Stuart wrote: > Hi all, > > Richard - the html entity that didn't "convert" was the quot, starting with > & and ending with semi-colon ; The htmltext can only be applied to fields; it won't work in variables. So you need to do what Richard suggested -- he's using the templateField (which is a sort of artificial temporary construct) but you can use a real field directly. For example, assuming a variable that contains your html: set the htmlText of fld 1 to myWebText For the most part I've had very good luck with htmlText, and it is much easier to let the engine do the work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From runrev260805 at m-r-d.de Sun Mar 7 07:23:07 2010 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Sun, 7 Mar 2010 12:23:07 +0000 Subject: Re-2: RevMobile first impressions? Message-ID: <000010CD.4B93A8BA@matthias.is-a-guru.com> -------- Original Message -------- Subject: Re: RevMobile first impressions? (06-Mrz-2010 16:59) From: Sarah Reichelt To: runrev260805 at m-r-d.de > I can't download either a file or a web page from the internet. Hi Sarah, how do you download a file. I am using here put URL .... to download a textfile from an http authenticated webfolder and that works. At least in the iPhone simulator. Regards, Matthias From sarah.reichelt at gmail.com Sun Mar 7 07:30:52 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 7 Mar 2010 22:30:52 +1000 Subject: Re-2: RevMobile first impressions? In-Reply-To: <000010CD.4B93A8BA@matthias.is-a-guru.com> References: <000010CD.4B93A8BA@matthias.is-a-guru.com> Message-ID: <8078678A-04B2-431B-A3B5-9088A66AB24F@gmail.com> Sent from my iPhone On 07/03/2010, at 10:23 PM, runrev260805 at m-r-d.de wrote: > >> I can't download either a file or a web page from the internet. > > Hi Sarah, > > how do you download a file. I am using here > > put URL .... to download a textfile from an http authenticated > webfolder and > that works. At least in the iPhone simulator. > I'm using "put URL" too and it works perfectly in the simulator but not on an actual iPhone. Cheers, Sarah From runrev260805 at m-r-d.de Sun Mar 7 08:05:30 2010 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Sun, 7 Mar 2010 13:05:30 +0000 Subject: Re-4: RevMobile first impressions? Message-ID: <000010CE.4B93B2A9@matthias.is-a-guru.com> Ah, i see. So i have to finally test with my iPhone instead of testing with the simulator to get to know what does work and what doesn?t. Regards, Matthias -------- Original Message -------- Subject: Re: Re-2: RevMobile first impressions? (07-Mrz-2010 13:49) From: Sarah Reichelt To: runrev260805 at m-r-d.de > > > Sent from my iPhone > > On 07/03/2010, at 10:23 PM, runrev260805 at m-r-d.de wrote: > > > >> I can't download either a file or a web page from the internet. > > > > Hi Sarah, > > > > how do you download a file. I am using here > > > > put URL .... to download a textfile from an http authenticated > > webfolder and > > that works. At least in the iPhone simulator. > > > > I'm using "put URL" too and it works perfectly in the simulator but > not on an actual iPhone. > > Cheers, > Sarah > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > To: use-revolution at lists.runrev.com From ludovic.thebault at laposte.net Sun Mar 7 09:27:59 2010 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sun, 7 Mar 2010 15:27:59 +0100 Subject: Replace colors in imageData under linux doesn't work Message-ID: <4FBDA956-4330-413A-A7AC-A15A867784B0@laposte.net> Hello, I've made a map wih several sectors. Each sector have a specific color. For example sector one have this color : 245, 255, 255 sector two : 215,255,255 sector three : 194,255,255 ... The map appear in blue (each sector with a different blue) Under MacOS and Windows, a script replace the color of a sector with an other. But under linux (Ubuntu, Mandriva, Xubuntu) it doesn't work. I've tested with Rev Studio 2.91 and RevMedia 4. the script : get the imageData of image "carte" replace (numToChar(0) & numtochar(230) & numtochar(255) & numtochar(255)) with \ (numToChar(0) & numtochar(45) & numtochar(155) & numtochar(90)) in it Under Linux, my map appear yellow ! Here, a screenshot with the original map, the new map under MacOS and under Linux http://img.skitch.com/20100307-11umgehf9gmes8p9k6yknc7w8d.jpg Any ideas ? and any workaround ? Thanks ! From wdurden at gmail.com Sun Mar 7 09:50:39 2010 From: wdurden at gmail.com (wayne durden) Date: Sun, 7 Mar 2010 09:50:39 -0500 Subject: Replace colors in imageData under linux doesn't work In-Reply-To: <4FBDA956-4330-413A-A7AC-A15A867784B0@laposte.net> References: <4FBDA956-4330-413A-A7AC-A15A867784B0@laposte.net> Message-ID: <29bc7bd41003070650y137e5cf8qcb788736480921d2@mail.gmail.com> Hi, only a wild guess here as I don't have a setup to experiment, but is there any possibility the alpha channel order isn't the same...? On Sun, Mar 7, 2010 at 9:27 AM, Ludovic Th?bault < ludovic.thebault at laposte.net> wrote: > Hello, > > I've made a map wih several sectors. Each sector have a specific color. > For example sector one have this color : 245, 255, 255 > sector two : 215,255,255 > sector three : 194,255,255 > ... > The map appear in blue (each sector with a different blue) > > Under MacOS and Windows, a script replace the color of a sector with an > other. But under linux (Ubuntu, Mandriva, Xubuntu) it doesn't work. I've > tested with Rev Studio 2.91 and RevMedia 4. > > the script : > get the imageData of image "carte" > > replace (numToChar(0) & numtochar(230) & numtochar(255) & numtochar(255)) > with \ > (numToChar(0) & numtochar(45) & numtochar(155) & numtochar(90)) in > it > > Under Linux, my map appear yellow ! > > Here, a screenshot with the original map, the new map under MacOS and under > Linux > http://img.skitch.com/20100307-11umgehf9gmes8p9k6yknc7w8d.jpg > > Any ideas ? and any workaround ? Thanks > !_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From massung at gmail.com Sun Mar 7 10:18:21 2010 From: massung at gmail.com (Jeffrey Massung) Date: Sun, 7 Mar 2010 09:18:21 -0600 Subject: Replace colors in imageData under linux doesn't work In-Reply-To: <4FBDA956-4330-413A-A7AC-A15A867784B0@laposte.net> References: <4FBDA956-4330-413A-A7AC-A15A867784B0@laposte.net> Message-ID: Is the Linux machine you are on PPC (read: big endian)? Jeff M. On Mar 7, 2010, at 8:27 AM, Ludovic Th?bault wrote: > Hello, > > I've made a map wih several sectors. Each sector have a specific color. > For example sector one have this color : 245, 255, 255 > sector two : 215,255,255 > sector three : 194,255,255 > ... > The map appear in blue (each sector with a different blue) > > Under MacOS and Windows, a script replace the color of a sector with an other. But under linux (Ubuntu, Mandriva, Xubuntu) it doesn't work. I've tested with Rev Studio 2.91 and RevMedia 4. > > the script : > get the imageData of image "carte" > > replace (numToChar(0) & numtochar(230) & numtochar(255) & numtochar(255)) with \ > (numToChar(0) & numtochar(45) & numtochar(155) & numtochar(90)) in it > > Under Linux, my map appear yellow ! > > Here, a screenshot with the original map, the new map under MacOS and under Linux > http://img.skitch.com/20100307-11umgehf9gmes8p9k6yknc7w8d.jpg > > Any ideas ? and any workaround ? Thanks !_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ludovic.thebault at laposte.net Sun Mar 7 10:23:41 2010 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sun, 7 Mar 2010 16:23:41 +0100 Subject: Replace colors in imageData under linux doesn't work In-Reply-To: References: <4FBDA956-4330-413A-A7AC-A15A867784B0@laposte.net> Message-ID: <2BFA0C6B-12D9-4562-8FD1-5178AD82825C@laposte.net> Le 7 mars 2010 ? 16:18, Jeffrey Massung a ?crit : > > Is the Linux machine you are on PPC (read: big endian)? No, i've tried on a emulated linux (with Parallel on a iMac intel), on a pc and on a netbook intel From pmbrig at gmail.com Sun Mar 7 13:26:17 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Sun, 7 Mar 2010 13:26:17 -0500 Subject: reading and converting web page HTML text In-Reply-To: References: <000001cabd78$87a2f790$0138a8c0@stuart> <1267914942046-1583155.post@n4.nabble.com> Message-ID: On Mar 6, 2010, at 7:13 PM, Jim Ault wrote: > On Mar 6, 2010, at 2:35 PM, Mark Stuart wrote: > >> >> Hi Fran?ois, >> >> Thanx for your quick reply. >> I added Sarah's script into my application and ran it. >> >> The function halted with an error on ("), because it is not a >> number. I >> think Sarah's function is looking for a number after the ampersand, >> correct? >> So I'm handling the (") as an exception for now by using this >> script: >> >> if theText contains """ then >> replace """ with quote in theText >> end if >> >> and then call the decodeEntities(theText) function. >> >> I'm sure I'll come across other HTML text like this, but don't know >> how to >> handle it really. > > > Basically, I would go to a site that shows all html entities, make a > list of those, and do a replace using a repeat loop. > > Google 'html entities' to get the possibilities. > > Jim Ault > Las Vegas I was curious about this so I looked in the dictionary entry for "HTMLtext", in which there is a list of named HTML entities that Rev is supposed to recognize. In my version of the dictionary this list is missing the ampersand before almost all the entries and also mostly doesn't show the characters referred to (I'm submitting a user note on this). I cleaned up this list meanwhile and it is available at: http://home.comcast.net/%7Epmbrig/HTMLcharEncoding.dmg (Mac) http://home.comcast.net/%7Epmbrig/HTMLcharEncoding.rev.zip (Windows) The data is stored also in stack custom properties -- to find the HTML encoding for a character c, use: the chartoHTML[c] of this stack but you have to set the casesensitive to true first before calling the function or it won't recognize the difference between "É" and "é" On another note, in perusing the dictionary entry for HTMLtext, I noticed that it says: -------- Encloses text whose textFont, textSize, foregroundColor, or backgroundColor is different from the field's default. These five properties are represented as attributes of the tag. * face="fontName" appears in the tag if the textFont is not the default. * size="pointSize" appears if the textSize is not the default. In standard HTML, the size attribute normally takes a value between 1 and 7, representing a relative text size, with 3 being the normal text size for the web page. To accommodate this convention, when setting the HTMLText of a field, if the pointSize is between 1 and 7, the textSize of the text is set to a standard value: pointSize textSize 1 8 point 2 10 point 3 12 point 4 14 point 5 17 point 6 20 point 7 25 point -------- and further down it says: -------- * The size attribute of the font tag can encode the font's point size, in addition to the standard 7 HTML sizes. -------- Apparently numbers less than 8 are interpreted as HTML relative size and larger numbers specify point size. Could this have something to do with the recently mentioned problems with font sizes on Unix platforms? If somehow the rev unix engine is mixing these up, then something intended to be size 14 could display at size 4. But I know very little about this stuff, it's just a thought. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From richmondmathewson at gmail.com Sun Mar 7 14:59:16 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 07 Mar 2010 21:59:16 +0200 Subject: Windows Portable??? Message-ID: <4B940594.5020901@gmail.com> Subtitled: "Naive Question 108". Is 'U3' the same thing as Windows Portable? From joef1 at mac.com Sun Mar 7 22:42:37 2010 From: joef1 at mac.com (Joe F.) Date: Sun, 07 Mar 2010 22:42:37 -0500 Subject: RunRevLive.10: 72 hours left to save In-Reply-To: References: Message-ID: Hi Kevin, I'm sorry, I missed this entire line of messages until tonight so I didn't know about the complications until now. I still haven't received DVDs, letter, or anything and it's nearly two weeks since this email. I was just wondering when they might show up and sitting down to inquire when I came across this. So maybe someone could check that I haven't somehow been overlooked. As far as whatever silliness you were responding to there, I'd recommend the use of the "little white lie" as a very handy business tool in cases like this. It's only wrong to use it to hide genuine wrongdoing; otherwise, it's your friend. So they accidentally sent you porn discs - these things happen. Cheers, Joe F. On Feb 25, 2010, at 5:12 PM, Kevin Miller wrote: > Richmond, > > I'm certainly not using those events as an excuse. I'm simply > stating a fact > which is true, for those of you that are interested. You can accept > that or > not. I have apologized for the situation with respect to the DVDs, > it is > inexcusable. > > We knew going into this that we had a lot to learn from the previous > set of > conference DVDs which is why we set out well in advance to do better > this > year. I was absolutely determined from the start we would get it > right. > Everything was planned carefully so we could improve and deliver you a > wonderful experience from end to end. We made many changes to the > product > and it went well. The feedback I have is that the DVDs are better > quality > this year than last year. Unfortunately there was an intersection > between > the events that happened and the delivery of these DVDs. I'm not > going to go > into great detail but there was a chain of events involved. Bill was > sick > for a long time before he died which contributed a series of other > issues we > were having as a business for a period some time before the actual > event. We > had issues with the supplier (we won't be using them again), which > we were > not on top when they occurred because of staff shortages. Ultimately > in > spite of that I take full responsibly. Its unfortunate, I feel bad, > I'm not > making excuses. I'm just telling you what happened. > > You have every right to judge us for non-delivery of this product. > However, > and while I don't want to make this response overly personal, > frankly you > have no right to stand in judgment over my response to everything that > happened on a personal level. I'm interested to hear that you are > able to > separate that out entirely in your life, but we all react > differently to > these things and I am certainly not able to do that, nor is Heather, > Robin > or some of the other people involved in this. There have been some > major > consequences on a number of levels and for the last two months I > have simply > run from one crisis to the next. > > The vast majority of the DVDs are now safely in the hands of our > customers. > If you have not received your DVD you will have received a letter > from us > today offering you an estimated delivery time and year's free license > extension. If you have not received the DVDs nor a letter, your DVD > shipped > some time ago and as far as we are aware it should be with you. If > this > applies to you feel free to contact me directly, off list. Again I > apologize > for letting down our customers and we will do better next time. > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > RunRev - Software construction for everyone From kray at sonsothunder.com Sun Mar 7 22:51:37 2010 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 07 Mar 2010 21:51:37 -0600 Subject: reading and converting web page HTML text In-Reply-To: Message-ID: > Apparently numbers less than 8 are interpreted as HTML relative size > and larger numbers specify point size. > > Could this have something to do with the recently mentioned problems > with font sizes on Unix platforms? If somehow the rev unix engine is > mixing these up, then something intended to be size 14 could display > at size 4. But I know very little about this stuff, it's just a > thought. Actually it's the way web browsers handled it a long time ago when "real" font sizes were introduced; they had to remain backwards compatible with the previous method but also adopt the new one. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From james at thehales.id.au Sun Mar 7 23:00:31 2010 From: james at thehales.id.au (James Hale) Date: Mon, 8 Mar 2010 15:00:31 +1100 Subject: Best way to carry out boolean searches on large text body. Message-ID: <6F1E32F3-BE8A-4056-B008-C26411BEF805@thehales.id.au> Thanks for the ideas. I had completely missed the concept of using "is in" as a method. To be honest I had thought these types of search wold be too slow. Boy was I wrong. Doing a simple text on my 450,000 word text block was effectively instantaneous. Most impressive. While the boolean searching is only one aspect of my project, it was the prime aspect upon which everything else was to hang. James From scott at elementarysoftware.com Sun Mar 7 23:49:30 2010 From: scott at elementarysoftware.com (Scott Morrow) Date: Sun, 7 Mar 2010 20:49:30 -0800 Subject: missing fields in Application Browser Message-ID: <958C115D-029C-4830-A2C1-0194143F414A@elementarysoftware.com> Recently, in one of my projects, the Application Browser stopped showing fields that were in a group. Furthermore, the fields in this group no longer allow text to be hilited. (The text can still be edited, but not something that is really usable.) The fields are obviously still there and running "put the num of flds of this cd" into the message box returns "18" Yet only one field shows in the Application browser. The field that does show is not in a group. I've tried trashing the preferences file and reinstalling rev. I was hoping not to deconstruct and rebuild the groups. Has anyone else run across this? Thoughts? Rev 4.0 Enterprise Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com From sarah.reichelt at gmail.com Mon Mar 8 00:02:19 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 8 Mar 2010 15:02:19 +1000 Subject: missing fields in Application Browser In-Reply-To: <958C115D-029C-4830-A2C1-0194143F414A@elementarysoftware.com> References: <958C115D-029C-4830-A2C1-0194143F414A@elementarysoftware.com> Message-ID: On Mon, Mar 8, 2010 at 2:49 PM, Scott Morrow wrote: > Recently, in one of my projects, the Application Browser stopped showing fields that were in a group. Furthermore, the fields in this group no longer allow text to be hilited. (The text can still be edited, but not something that is really usable.) The fields are obviously still there and running "put the num of flds of this cd" into the message box returns "18" Yet only one field shows in the Application browser. ?The field that does show is not in a group. ?I've tried trashing the preferences file and reinstalling rev. ?I was hoping not to deconstruct and rebuild the groups. ?Has anyone else run across this? Thoughts? > Rev 4.0 Enterprise Check the settings for the group in the Inspector. rev 4.0 introduced a new group property called selectGroupedControls. If this is set to true (or checked in the Inspector), then the individual members of the group will not be listed in the Application Browser. This doesn't explain why you can't hilite any text in the fields, but check the group settings and see if anything there fixes that too. HTH, Sarah From lan.kc.macmail at gmail.com Mon Mar 8 00:05:46 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 8 Mar 2010 13:05:46 +0800 Subject: RunRevLive.10: 72 hours left to save In-Reply-To: References: Message-ID: Joe, After some unintentional, but IMO painfully personal comments on this List, if I were Kevin, I wouldn't be visiting this List for a while. Your should email Support or Heather directly. You'll get a much faster response. HTH On Mon, Mar 8, 2010 at 11:42 AM, Joe F. wrote: > Hi Kevin, > > I'm sorry, I missed this entire line of messages until tonight so I didn't > know about the complications until now. > > I still haven't received DVDs, letter, or anything and it's nearly two weeks > since this email. > I was just wondering when they might show up and sitting down to inquire > when I came across this. > > So maybe someone could check that I haven't somehow been overlooked. > > As far as whatever silliness you were responding to there, I'd recommend the > use of the "little white lie" as a very handy business tool in cases like > this. It's only wrong to use it to hide genuine wrongdoing; otherwise, it's > your friend. > So they accidentally sent you porn discs - ?these things happen. > > Cheers, > Joe F. > > On Feb 25, 2010, at 5:12 PM, Kevin Miller wrote: > >> Richmond, >> >> I'm certainly not using those events as an excuse. I'm simply stating a >> fact >> which is true, for those of you that are interested. You can accept that >> or >> not. I have apologized for the situation with respect to the DVDs, it is >> inexcusable. >> >> We knew going into this that we had a lot to learn from the previous set >> of >> conference DVDs which is why we set out well in advance to do better this >> year. I was absolutely determined from the start we would get it right. >> Everything was planned carefully so we could improve and deliver you a >> wonderful experience from end to end. We made many changes to the product >> and it went well. The feedback I have is that the DVDs are better quality >> this year than last year. Unfortunately there was an intersection between >> the events that happened and the delivery of these DVDs. I'm not going to >> go >> into great detail but there was a chain of events involved. Bill was sick >> for a long time before he died which contributed a series of other issues >> we >> were having as a business for a period some time before the actual event. >> We >> had issues with the supplier (we won't be using them again), which we were >> not on top when they occurred because of staff shortages. Ultimately in >> spite of that I take full responsibly. Its unfortunate, I feel bad, I'm >> not >> making excuses. I'm just telling you what happened. >> >> You have every right to judge us for non-delivery of this product. >> However, >> and while I don't want to make this response overly personal, frankly you >> have no right to stand in judgment over my response to everything that >> happened on a personal level. I'm interested to hear that you are able to >> separate that out entirely in your life, but we all react differently to >> these things and I am certainly not able to do that, nor is Heather, Robin >> or some of the other people involved in this. There have been some major >> consequences on a number of levels and for the last two months I have >> simply >> run from one crisis to the next. >> >> The vast majority of the DVDs are now safely in the hands of our >> customers. >> If you have not received your DVD you will have received a letter from us >> today offering you an estimated delivery time and year's free license >> extension. If you have not received the DVDs nor a letter, your DVD >> shipped >> some time ago and as far as we are aware it should be with you. If this >> applies to you feel free to contact me directly, off list. Again I >> apologize >> for letting down our customers and we will do better next time. >> >> Kind regards, >> >> Kevin >> >> Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ >> RunRev - Software construction for everyone > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bvlahos at mac.com Mon Mar 8 01:25:03 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 07 Mar 2010 22:25:03 -0800 Subject: How to invoke SendInput() Windows API. was Re: How do I paste into a different app? In-Reply-To: <0003AE33.4B45CD48@192.168.168.3> References: <0003AE33.4B45CD48@192.168.168.3> Message-ID: <7E9E4C8B-B06C-4BD2-919A-F43195C3F7E5@mac.com> I found this on Microsoft's developer site but I don't know how I can implement it. > The SendKeys class has been updated for the .NET Framework 3.0 to enable its use in applications that run on Windows Vista. The enhanced security of Windows Vista (known as User Account Control or UAC) prevents the previous implementation from working as expected. > > The SendKeys class is susceptible to timing issues, which some developers have had to work around. The updated implementation is still susceptible to timing issues, but is slightly faster and may require changes to the workarounds. The SendKeys class tries to use the previous implementation first, and if that fails, uses the new implementation. As a result, the SendKeys class may behave differently on different operating systems. Additionally, when the SendKeys class uses the new implementation, the SendWaitmethod will not wait for messages to be processed when they are sent to another process. > > If your application relies on consistent behavior regardless of the operating system, you can force the SendKeys class to use the new implementation by adding the following application setting to your app.config file. > > > > > > To force the SendKeys class to use the previous implementation, use the value "JournalHook" instead. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Jan 7, 2010, at 3:02 AM, runrev260805 at m-r-d.de wrote: > Hi Bill, > > i have done something similar. You can create a vbs script and let Rev run this. > > I am not very good at VBS, but the following lines show how to insert text into an app. > > ___________________ > Set WshShell = WScript.CreateObject("WScript.Shell") > WshShell.Run "winword.exe" > 'the app is opened. If your app is already running, you do not need this line > WScript.Sleep 2000 > 'script stops for 2000 milliseconds to take sure, that the app is running before further proceeding. > > WshShell.AppActivate "Dokument1 - Microsoft Word" > 'activates your already running app > 'between the quotes you have to put the exact name of the app - as it is shown in the title bar of that app > ' winword also shows the document name in the title bar > > WScript.Sleep 100 > 'script stops for 100 milliseconds' > > WshShell.SendKeys "This Text should be inserted" > 'the text between the quotes is sent to the app > > WScript.Sleep 100 > WshShell.SendKeys "{enter}" > 'sends an enter to winword > WScript.Sleep 100 > > WshShell.SendKeys "This Text should also be inserted" > 'the text between the quotes is sent to the app > > ____________________ > > Maybe Ken Ray could jump in, as he knows much more about VB and VBS. > > Regards, > > Matthias > > > > > > -------- Original Message -------- > Subject: How to invoke SendInput() Windows API. was Re: How do I paste into a different app? (07-Jan-2010 6:42) > From: Bill Vlahos > To: runrev260805 at m-r-d.de > >> It looks like Microsoft has deprecated the keybd_event API and suggests >> using SendInput() instead. >> >> Below is a sample of what needs to be sent. This is a C++ example. How do I >> send this from Rev in Windows? It looks similar to what I do with >> AppleScript on the Mac? While the send...as applescript commands are >> documented in Rev's dictionary I don't see anything similar for Windows >> APIs. >> >> INPUT inp[2]; >> memset(inp,0,sizeof(INPUT)); >> inp[0].type = INPUT_KEYBOARD; >> inp[0].ki.dwFlags = KEYEVENTF_UNICODE; // to avoid shift, and so on >> inp[1] = inp[0]; >> inp[1].ki.dwFlags |= KEYEVENTF_KEYUP; >> >> for (LPCTSTR p=str; *p; p++) { >> inp[0].ki.wScan = inp[1].ki.wScan = *p; >> SendInput(2, inp, sizeof(INPUT)); >> } >> >> Here are some relevant links: >> http://msdn.microsoft.com/en-us/magazine/cc163867.aspx >> http://www.codeguru.com/forum/showthread.php?t=377393 >> http://msdn.microsoft.com/en-us/library/ms646310(VS.85).aspx >> >> On Dec 31, 2009, at 7:27 AM, Bill Vlahos wrote: >> >>> I figured it out and have it working on the Mac with AppleScript. I'm not >>> using a paste function but the AppleScript "keystroke" function. It looks >>> like the Windows API "keybd_event" can do the same type of thing. >> >> Bill Vlahos >> _________________ >> InfoWallet (http://www.infowallet.com) helps me remember the important >> details of my life. >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> >> >> To: use-revolution at lists.runrev.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at elementarysoftware.com Mon Mar 8 03:20:12 2010 From: scott at elementarysoftware.com (Scott Morrow) Date: Mon, 8 Mar 2010 00:20:12 -0800 Subject: missing fields in Application Browser In-Reply-To: References: <958C115D-029C-4830-A2C1-0194143F414A@elementarysoftware.com> Message-ID: <9C473C5A-9A44-4335-845C-5574568C8254@elementarysoftware.com> Thank you, Sarah. I didn't know that. Unfortunately in this case it didn't solve the problem. Time to rebuild, I guess. -Scott On Mar 7, 2010, at 9:02 PM, Sarah Reichelt wrote: > On Mon, Mar 8, 2010 at 2:49 PM, Scott Morrow > wrote: >> Recently, in one of my projects, the Application Browser stopped showing fields that were in a group. Furthermore, the fields in this group no longer allow text to be hilited. (The text can still be edited, but not something that is really usable.) The fields are obviously still there and running "put the num of flds of this cd" into the message box returns "18" Yet only one field shows in the Application browser. The field that does show is not in a group. I've tried trashing the preferences file and reinstalling rev. I was hoping not to deconstruct and rebuild the groups. Has anyone else run across this? Thoughts? >> Rev 4.0 Enterprise > > Check the settings for the group in the Inspector. rev 4.0 introduced > a new group property called selectGroupedControls. If this is set to > true (or checked in the Inspector), then the individual members of the > group will not be listed in the Application Browser. > > This doesn't explain why you can't hilite any text in the fields, but > check the group settings and see if anything there fixes that too. > > HTH, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From martinblackman at gmail.com Mon Mar 8 04:59:14 2010 From: martinblackman at gmail.com (Martin Blackman) Date: Mon, 8 Mar 2010 17:59:14 +0800 Subject: missing fields in Application Browser In-Reply-To: <958C115D-029C-4830-A2C1-0194143F414A@elementarysoftware.com> References: <958C115D-029C-4830-A2C1-0194143F414A@elementarysoftware.com> Message-ID: <79d1bee71003080159h197c58c4id133a70da11b91d4@mail.gmail.com> Could it be the autohilite property? On 3/8/10, Scott Morrow wrote: > Recently, in one of my projects, the Application Browser stopped showing > fields that were in a group. Furthermore, the fields in this group no longer > allow text to be hilited. (The text can still be edited, but not something > that is really usable.) The fields are obviously still there and running > "put the num of flds of this cd" into the message box returns "18" Yet only > one field shows in the Application browser. The field that does show is not > in a group. I've tried trashing the preferences file and reinstalling rev. > I was hoping not to deconstruct and rebuild the groups. Has anyone else run > across this? Thoughts? > Rev 4.0 Enterprise > > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web http://elementarysoftware.com/ > email scott at elementarysoftware.com > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Sent from my mobile device From scott at elementarysoftware.com Mon Mar 8 05:18:47 2010 From: scott at elementarysoftware.com (Scott Morrow) Date: Mon, 8 Mar 2010 02:18:47 -0800 Subject: missing fields in Application Browser In-Reply-To: <79d1bee71003080159h197c58c4id133a70da11b91d4@mail.gmail.com> References: <958C115D-029C-4830-A2C1-0194143F414A@elementarysoftware.com> <79d1bee71003080159h197c58c4id133a70da11b91d4@mail.gmail.com> Message-ID: <4DA793BD-BA96-449D-A385-DD798BF35B9B@elementarysoftware.com> Hello Martin, I did check that, thanks. I'm suspicious that it may have something to do with the selectGroupedControls property that Sarah mentioned. Changing this setting for these groups has no effect at this point and they behave as if the property is "stuck" as true. -Scott On Mar 8, 2010, at 1:59 AM, Martin Blackman wrote: > Could it be the autohilite property? > > On 3/8/10, Scott Morrow wrote: >> Recently, in one of my projects, the Application Browser stopped showing >> fields that were in a group. Furthermore, the fields in this group no longer >> allow text to be hilited. (The text can still be edited, but not something >> that is really usable.) The fields are obviously still there and running >> "put the num of flds of this cd" into the message box returns "18" Yet only >> one field shows in the Application browser. The field that does show is not >> in a group. I've tried trashing the preferences file and reinstalling rev. >> I was hoping not to deconstruct and rebuild the groups. Has anyone else run >> across this? Thoughts? >> Rev 4.0 Enterprise >> >> Scott Morrow >> >> Elementary Software >> (Now with 20% less chalk dust!) >> web http://elementarysoftware.com/ >> email scott at elementarysoftware.com >> >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution From pmbrig at gmail.com Mon Mar 8 09:41:28 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Mon, 8 Mar 2010 09:41:28 -0500 Subject: reading and converting web page HTML text In-Reply-To: References: Message-ID: <1D1D2564-A5F1-45B3-B019-0D00AAACF0C0@gmail.com> On Mar 7, 2010, at 10:51 PM, Ken Ray wrote: > >> Apparently numbers less than 8 are interpreted as HTML relative size >> and larger numbers specify point size. >> >> Could this have something to do with the recently mentioned problems >> with font sizes on Unix platforms? If somehow the rev unix engine is >> mixing these up, then something intended to be size 14 could display >> at size 4. But I know very little about this stuff, it's just a >> thought. > > Actually it's the way web browsers handled it a long time ago when > "real" > font sizes were introduced; they had to remain backwards compatible > with the > previous method but also adopt the new one. OK. But could this be what isn't working right in Rev on the unix platforms, or is that unlikely? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From massung at gmail.com Mon Mar 8 09:43:07 2010 From: massung at gmail.com (Jeffrey Massung) Date: Mon, 8 Mar 2010 08:43:07 -0600 Subject: missing fields in Application Browser In-Reply-To: <4DA793BD-BA96-449D-A385-DD798BF35B9B@elementarysoftware.com> References: <958C115D-029C-4830-A2C1-0194143F414A@elementarysoftware.com> <79d1bee71003080159h197c58c4id133a70da11b91d4@mail.gmail.com> <4DA793BD-BA96-449D-A385-DD798BF35B9B@elementarysoftware.com> Message-ID: Not sure if this would cause the problem, but once I had gotten myself into a pretty ugly situation that was causing some very odd behaviors: * I had a group (A) that happened to contain another group (B). * While editing group A, I had accidentally clicked group B (with that "selectGroupedControls property turned on). * When I clicked "Edit group" in the toolbar to stop editing group A I actually started editing group B. To make a long story short, I somehow ended up regrouping everything a second time (so group A was now a subgroup of Z), and that ended up causing me no end of grief until I figured it out and ungrouped them. Jeff M. On Mar 8, 2010, at 4:18 AM, Scott Morrow wrote: > Hello Martin, I did check that, thanks. I'm suspicious that it may have something to do with the selectGroupedControls property that Sarah mentioned. Changing this setting for these groups has no effect at this point and they behave as if the property is "stuck" as true. > -Scott > > On Mar 8, 2010, at 1:59 AM, Martin Blackman wrote: > >> Could it be the autohilite property? >> >> On 3/8/10, Scott Morrow wrote: >>> Recently, in one of my projects, the Application Browser stopped showing >>> fields that were in a group. Furthermore, the fields in this group no longer >>> allow text to be hilited. (The text can still be edited, but not something >>> that is really usable.) The fields are obviously still there and running >>> "put the num of flds of this cd" into the message box returns "18" Yet only >>> one field shows in the Application browser. The field that does show is not >>> in a group. I've tried trashing the preferences file and reinstalling rev. >>> I was hoping not to deconstruct and rebuild the groups. Has anyone else run >>> across this? Thoughts? >>> Rev 4.0 Enterprise >>> >>> Scott Morrow >>> >>> Elementary Software >>> (Now with 20% less chalk dust!) >>> web http://elementarysoftware.com/ >>> email scott at elementarysoftware.com >>> >>> >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Mon Mar 8 09:50:20 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 08 Mar 2010 06:50:20 -0800 Subject: reading and converting web page HTML text Message-ID: <4B950EAC.3000105@fourthworld.com> Peter Brigham MD wrote: > On Mar 7, 2010, at 10:51 PM, Ken Ray wrote: > >> >>> Apparently numbers less than 8 are interpreted as HTML relative size >>> and larger numbers specify point size. >>> >>> Could this have something to do with the recently mentioned problems >>> with font sizes on Unix platforms? If somehow the rev unix engine is >>> mixing these up, then something intended to be size 14 could display >>> at size 4. But I know very little about this stuff, it's just a >>> thought. >> >> Actually it's the way web browsers handled it a long time ago when >> "real" >> font sizes were introduced; they had to remain backwards compatible >> with the >> previous method but also adopt the new one. > > OK. But could this be what isn't working right in Rev on the unix > platforms, or is that unlikely? The main issue as far as Rev goes seems to be that Rev is doing what Firefox still does, calculating point sizes with an assumption of 72-dpi resolution, while modern OSes are largely resolution-independent. But check out the links in these posts and you'll find that only tells part of the story: Like so many in the Linux world have noted, Gnome simply renders too big. From the bug reports in the Gnome and Ubuntu bug databases it appears that there's an extra level of translation happening in Gnome, but before they jump on a fix they need to figure out what to do for backward compatibility. Sticky issue; glad it's theirs and not mine. :) -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From Ray at LinkIt.Com Mon Mar 8 14:17:55 2010 From: Ray at LinkIt.Com (Ray Horsley) Date: Mon, 8 Mar 2010 11:17:55 -0800 Subject: Customizing Error Reporting Dialog Message-ID: <3CC2840B-4AC6-469E-9FB5-F36AAE98AF64@LinkIt.Com> This is a wonderful option in the Bug Reports tab of the Stand Alone Application Settings. Anybody know how to customize this window which comes up? For example, I'd like to solicit the user's return email address. Ray Horsley LinkIt! Software From andre at andregarzia.com Mon Mar 8 11:22:29 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 8 Mar 2010 13:22:29 -0300 Subject: Customizing Error Reporting Dialog In-Reply-To: <3CC2840B-4AC6-469E-9FB5-F36AAE98AF64@LinkIt.Com> References: <3CC2840B-4AC6-469E-9FB5-F36AAE98AF64@LinkIt.Com> Message-ID: <7c87a2a11003080822o656db7em332b9e6456d4aebe@mail.gmail.com> Ray, create your own window and look out for the errorDialog message. :D Cheers andre On Mon, Mar 8, 2010 at 4:17 PM, Ray Horsley wrote: > This is a wonderful option in the Bug Reports tab of the Stand Alone > Application Settings. Anybody know how to customize this window which comes > up? For example, I'd like to solicit the user's return email address. > > Ray Horsley > LinkIt! Software > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From Ray at LinkIt.Com Mon Mar 8 14:26:26 2010 From: Ray at LinkIt.Com (Ray Horsley) Date: Mon, 8 Mar 2010 11:26:26 -0800 Subject: Customizing Error Reporting Dialog In-Reply-To: <7c87a2a11003080822o656db7em332b9e6456d4aebe@mail.gmail.com> References: <3CC2840B-4AC6-469E-9FB5-F36AAE98AF64@LinkIt.Com> <7c87a2a11003080822o656db7em332b9e6456d4aebe@mail.gmail.com> Message-ID: Andr?, Thanks! In other words, something like on errorDialog in the stack script? Ray On Mar 8, 2010, at 8:22 AM, Andre Garzia wrote: > Ray, > > create your own window and look out for the errorDialog message. > > :D > > Cheers > andre > > On Mon, Mar 8, 2010 at 4:17 PM, Ray Horsley wrote: > >> This is a wonderful option in the Bug Reports tab of the Stand Alone >> Application Settings. Anybody know how to customize this window >> which comes >> up? For example, I'd like to solicit the user's return email >> address. >> >> Ray Horsley >> LinkIt! Software >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From andre at andregarzia.com Mon Mar 8 11:39:51 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 8 Mar 2010 13:39:51 -0300 Subject: Customizing Error Reporting Dialog In-Reply-To: References: <3CC2840B-4AC6-469E-9FB5-F36AAE98AF64@LinkIt.Com> <7c87a2a11003080822o656db7em332b9e6456d4aebe@mail.gmail.com> Message-ID: <7c87a2a11003080839m66613e85y729ef4d08af93a30@mail.gmail.com> errorDialog in the message path, if you have multiple stacks, you might consider a frontscript. :D On Mon, Mar 8, 2010 at 4:26 PM, Ray Horsley wrote: > Andr?, > > Thanks! In other words, something like on errorDialog in the stack script? > > Ray > > > On Mar 8, 2010, at 8:22 AM, Andre Garzia wrote: > > Ray, >> >> create your own window and look out for the errorDialog message. >> >> :D >> >> Cheers >> andre >> >> On Mon, Mar 8, 2010 at 4:17 PM, Ray Horsley wrote: >> >> This is a wonderful option in the Bug Reports tab of the Stand Alone >>> Application Settings. Anybody know how to customize this window which >>> comes >>> up? For example, I'd like to solicit the user's return email address. >>> >>> Ray Horsley >>> LinkIt! Software >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> >> >> -- >> http://www.andregarzia.com All We Do Is Code. >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From Ray at LinkIt.Com Mon Mar 8 15:01:06 2010 From: Ray at LinkIt.Com (Ray Horsley) Date: Mon, 8 Mar 2010 12:01:06 -0800 Subject: Customizing Error Reporting Dialog In-Reply-To: <7c87a2a11003080839m66613e85y729ef4d08af93a30@mail.gmail.com> References: <3CC2840B-4AC6-469E-9FB5-F36AAE98AF64@LinkIt.Com> <7c87a2a11003080822o656db7em332b9e6456d4aebe@mail.gmail.com> <7c87a2a11003080839m66613e85y729ef4d08af93a30@mail.gmail.com> Message-ID: Very helpful. Thanks Andr?! On Mar 8, 2010, at 8:39 AM, Andre Garzia wrote: > errorDialog in the message path, if you have multiple stacks, you > might > consider a frontscript. > > :D > > On Mon, Mar 8, 2010 at 4:26 PM, Ray Horsley wrote: > >> Andr?, >> >> Thanks! In other words, something like on errorDialog in the stack >> script? >> >> Ray >> >> >> On Mar 8, 2010, at 8:22 AM, Andre Garzia wrote: >> >> Ray, >>> >>> create your own window and look out for the errorDialog message. >>> >>> :D >>> >>> Cheers >>> andre >>> >>> On Mon, Mar 8, 2010 at 4:17 PM, Ray Horsley wrote: >>> >>> This is a wonderful option in the Bug Reports tab of the Stand Alone >>>> Application Settings. Anybody know how to customize this window >>>> which >>>> comes >>>> up? For example, I'd like to solicit the user's return email >>>> address. >>>> >>>> Ray Horsley >>>> LinkIt! Software >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>>> >>> >>> >>> -- >>> http://www.andregarzia.com All We Do Is Code. >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Mon Mar 8 12:02:27 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 8 Mar 2010 09:02:27 -0800 Subject: Windows Portable??? In-Reply-To: <4B940594.5020901@gmail.com> References: <4B940594.5020901@gmail.com> Message-ID: <6278623A-91E9-4893-AC02-5BBC5C3BE59A@twft.com> I believe U3 is a reference to a removable media system where simply by attaching it to the computing device, it would enable software on the U3 device to become dynamically installed in the OS, and when removed the software would be dynamically uninstalled, so to speak. Like any powerful tool, it can also be used for harm rather than good. I am not sure what the safeguards are. I know of a friend who has a USB device that when plugged into a computer silently downloads all the serial numbers and the passwords it can find on a Windows box. Later he can run software on the USB device to crack the Windows passwords (not a hard feat these days as MD5 has been quite crackable for some time). hth, Bob On Mar 7, 2010, at 11:59 AM, Richmond Mathewson wrote: > Subtitled: "Naive Question 108". > > Is 'U3' the same thing as Windows Portable? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lfredricks at proactive-intl.com Mon Mar 8 12:17:46 2010 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 8 Mar 2010 09:17:46 -0800 Subject: Windows Portable??? In-Reply-To: <6278623A-91E9-4893-AC02-5BBC5C3BE59A@twft.com> References: <4B940594.5020901@gmail.com> <6278623A-91E9-4893-AC02-5BBC5C3BE59A@twft.com> Message-ID: <4D448E5B7FAE4F01B368F84B946EB9D8@GATEWAY> U3 was/is a system now belonging to SanDisk for storing apps and data on a USB device - sorta lets you treat the device as a fake C drive so that you can set up launching a browser or other apps from the drive rather than from your hard disk. There was a special version of Rev that let you build your apps to work correctly with this, right out of the box, and basically set it up so you could pass their certification process easily. It is still around, but I don't think SanDisk is giving it much love any more. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Bob Sneidar > Sent: Monday, March 08, 2010 9:02 AM > To: How to use Revolution > Subject: Re: Windows Portable??? > > I believe U3 is a reference to a removable media system where > simply by attaching it to the computing device, it would > enable software on the U3 device to become dynamically > installed in the OS, and when removed the software would be > dynamically uninstalled, so to speak. > > Like any powerful tool, it can also be used for harm rather > than good. I am not sure what the safeguards are. I know of a > friend who has a USB device that when plugged into a computer > silently downloads all the serial numbers and the passwords > it can find on a Windows box. Later he can run software on > the USB device to crack the Windows passwords (not a hard > feat these days as MD5 has been quite crackable for some time). > > hth, Bob > > > On Mar 7, 2010, at 11:59 AM, Richmond Mathewson wrote: > > > Subtitled: "Naive Question 108". > > > > Is 'U3' the same thing as Windows Portable? > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From richmondmathewson at gmail.com Mon Mar 8 12:23:30 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 08 Mar 2010 19:23:30 +0200 Subject: Windows Portable??? In-Reply-To: <6278623A-91E9-4893-AC02-5BBC5C3BE59A@twft.com> References: <4B940594.5020901@gmail.com> <6278623A-91E9-4893-AC02-5BBC5C3BE59A@twft.com> Message-ID: <4B953292.70601@gmail.com> On 08/03/2010 19:02, Bob Sneidar wrote: > I believe U3 is a reference to a removable media system where simply by attaching it to the computing device, it would enable software on the U3 device to become dynamically installed in the OS, and when removed the software would be dynamically uninstalled, so to speak. > > Like any powerful tool, it can also be used for harm rather than good. I am not sure what the safeguards are. I know of a friend who has a USB device that when plugged into a computer silently downloads all the serial numbers and the passwords it can find on a Windows box. Later he can run software on the USB device to crack the Windows passwords (not a hard feat these days as MD5 has been quite crackable for some time). > > Funny sort of 'friend'. . . In the RunRev Studio 4 standalone settings there is an option for U3 something-or-other. Presumably (?????) the good folk at RunRev have put the U3 'thing' there because they felt there was some demand for it: after all they I don't suppose they went to the effort of putting that there just for the fun of it. Also on the downloads page: http://www.runrev.com/downloads/all-downloads/full-list/ there is this: "The U3 download allows you to create programs on a U3 flash drive system. " In the RunRev User Guide there is this: "Compatible Build your application for the U3 smart platform. For more information on U3 see http://www.u3.com. For more documentation on building U3 applications using Revolution, see the Resources/Examples/U3 Documentation.pdf file within your Revolution distribution folder. " "U3 Documentation.pdf" is 'buried': 4.0.0-gm-1/Resources/Examples/U3 Documentation.pdf Reading the document seems to suggest that a U3 USB drive does carry something rather similar to Windows Portable. This seems to say that one can build a Windows system on a USB stick (rather like the USB Linux systems) with 1 or more RunRev standalones rolled up in it so that one can bung the USB stick into any PC USB port, boot from it into one's very own Mini Windows and run one's standalones without having to alter any OS on the PC's hard drive(s). As the whole thing sounds horribly complicated I cannot see myself getting into it right this minute . . . :) From richmondmathewson at gmail.com Mon Mar 8 12:25:30 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 08 Mar 2010 19:25:30 +0200 Subject: Windows Portable??? In-Reply-To: <4D448E5B7FAE4F01B368F84B946EB9D8@GATEWAY> References: <4B940594.5020901@gmail.com> <6278623A-91E9-4893-AC02-5BBC5C3BE59A@twft.com> <4D448E5B7FAE4F01B368F84B946EB9D8@GATEWAY> Message-ID: <4B95330A.9090200@gmail.com> On 08/03/2010 19:17, Lynn Fredricks wrote: > > > It is still around, but I don't think SanDisk is giving it much love any > more. > > Quite: it does seem that it might be "just the thing" for people who are keen on pinching other people's data . . . doesn't exactly make me feel "all warm and cuddly". From stephenREVOLUTION2 at barncard.com Mon Mar 8 12:31:24 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 8 Mar 2010 09:31:24 -0800 Subject: Windows Portable??? In-Reply-To: <4B953292.70601@gmail.com> References: <4B940594.5020901@gmail.com> <6278623A-91E9-4893-AC02-5BBC5C3BE59A@twft.com> <4B953292.70601@gmail.com> Message-ID: I actually liked the U3 idea, because it let developers safely allow installs on removable media so they could be used anywhere. It's all about DRM. At Revcon II there was a guy from the company that gave a a half hour demonstration. Lynn, you were there. I immediately lost interest when it was announced to be a "windows only" feature. Judging by the number of Power/Macbooks in the crowd, I wasn't alone. It was an odd moment of Rev promoting a platform-specific feature. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev On 8 March 2010 09:23, Richmond Mathewson wrote: > On 08/03/2010 19:02, Bob Sneidar wrote: > >> I believe U3 is a reference to a removable media system where simply by >> attaching it to the computing device, it would enable software on the U3 >> device to become dynamically installed in the OS, and when removed the >> software would be dynamically uninstalled, so to speak. >> >> Like any powerful tool, it can also be used for harm rather than good. I >> am not sure what the safeguards are. I know of a friend who has a USB device >> that when plugged into a computer silently downloads all the serial numbers >> and the passwords it can find on a Windows box. Later he can run software on >> the USB device to crack the Windows passwords (not a hard feat these days as >> MD5 has been quite crackable for some time). >> >> >> > > Funny sort of 'friend'. . . > > In the RunRev Studio 4 standalone settings there is an option for U3 > something-or-other. > > Presumably (?????) the good folk at RunRev have put the U3 'thing' there > because they felt there > was some demand for it: after all they I don't suppose they went to the > effort of putting that there > just for the fun of it. > > Also on the downloads page: > http://www.runrev.com/downloads/all-downloads/full-list/ > > there is this: "The U3 download allows you to create programs on a U3 > flash drive system. " > > In the RunRev User Guide there is this: > > "Compatible Build your application for the U3 smart platform. For more > information on U3 see http://www.u3.com. For more documentation on > building U3 applications using Revolution, see the Resources/Examples/U3 > Documentation.pdf file within your Revolution distribution folder. " > > "U3 Documentation.pdf" is 'buried': 4.0.0-gm-1/Resources/Examples/U3 > Documentation.pdf > > Reading the document seems to suggest that a U3 USB drive does carry > something rather > similar to Windows Portable. > > This seems to say that one can build a Windows system on a USB stick > (rather like the USB > Linux systems) with 1 or more RunRev standalones rolled up in it so that > one can bung the > USB stick into any PC USB port, boot from it into one's very own Mini > Windows and run one's > standalones without having to alter any OS on the PC's hard drive(s). > > As the whole thing sounds horribly complicated I cannot see myself getting > into it right > this minute . . . :) > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lfredricks at proactive-intl.com Mon Mar 8 12:39:30 2010 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 8 Mar 2010 09:39:30 -0800 Subject: Windows Portable??? In-Reply-To: <4B95330A.9090200@gmail.com> References: <4B940594.5020901@gmail.com> <6278623A-91E9-4893-AC02-5BBC5C3BE59A@twft.com><4D448E5B7FAE4F01B368F84B946EB9D8@GATEWAY> <4B95330A.9090200@gmail.com> Message-ID: > Quite: it does seem that it might be "just the thing" for > people who are keen on pinching other people's data . . . > doesn't exactly make me feel "all warm and cuddly". Like many toolkits and APIs, it can be abused. It does have its uses and one nice thing about this system is that it can preserve your privacy as well. You can have your own customized browser, for example, on the drive, that has its own security and password system set up. Very useful if you are using someone elses (or public) computer and don't want to take a risk that your data will be left behind after you check your email. U3 (as a company and as a product) was quite useful, but I don't think people quite "got it". They were snapped up by SanDisk and, consequently, almost no resources at SanDisk were allocated to it. I think it was done primarily to get it out of the hands of competitors. In its time though, because it was a mobile solution, it put Revolution in front of a new type of developer. I could be wrong, but I think Richard was working on a semi-similar project at one point, because U3 wasn't available on Mac or Linux. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From gregory.lypny at videotron.ca Mon Mar 8 12:44:25 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Mon, 08 Mar 2010 12:44:25 -0500 Subject: Comma-delimited values Message-ID: Hello everyone, I'm creating an app that imports comma-delimited tables. A few lines might look like this, where there are 14 items per line. "Mon, Jan 18 , 2010",9:14 AM,130557,4319,Trade,Buy,X,135,8.25,10,-82.5,1417.5,20,10 "Mon, Jan 18 , 2010",9:14 AM,130558,4371,Accept,Your ASK,X,135,8.25,10,82.5,1582.5,0,10 My problem is that Rev treats each date in quotes as three items rather than one. I convert the comma delimiters to tab by setting the itemDelimiter to comma and then running the lines through nested repeat-for-each loops as repeat for each line thisLine in dataTable repeat for each item thisItem in thisLine put thisItem & tab after newLine end repeat -- more stuff here end repeat I end up with "Mon (as the first item) Jan 18 (as the second) 2010" (as the third) Any suggestions as how I might get the date treated as one item? Regards, Gregory From mwieder at ahsoftware.net Mon Mar 8 12:53:21 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 8 Mar 2010 09:53:21 -0800 Subject: Windows Portable??? In-Reply-To: References: <4B940594.5020901@gmail.com> <6278623A-91E9-4893-AC02-5BBC5C3BE59A@twft.com> <4B953292.70601@gmail.com> Message-ID: <38599929156.20100308095321@ahsoftware.net> stephen- Monday, March 8, 2010, 9:31:24 AM, you wrote: > At Revcon II there was a guy from the company that gave a a half hour > demonstration. Lynn, you were there. > I immediately lost interest when it was announced to be a "windows only" > feature. Judging by the number of Power/Macbooks in the crowd, I wasn't > alone. I also remember the flack from u3 announcing that the mac u3 version would be released soon. I think that's the last time that phrase was uttered. The first, last, and only u3 version of the IDE was 2.7.4. It *was* nice to have a portable IDE that I could carry around with me without having to install the whole thing on a new computer just so I could get some work done. As it is, my license is now installed on half a dozen computers around town. -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Mon Mar 8 12:56:03 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 08 Mar 2010 19:56:03 +0200 Subject: Comma-delimited values In-Reply-To: References: Message-ID: <4B953A33.50700@gmail.com> On 08/03/2010 19:44, Gregory Lypny wrote: > Hello everyone, > > I'm creating an app that imports comma-delimited tables. A few lines might look like this, where there are 14 items per line. > > "Mon, Jan 18 , 2010",9:14 AM,130557,4319,Trade,Buy,X,135,8.25,10,-82.5,1417.5,20,10 > "Mon, Jan 18 , 2010",9:14 AM,130558,4371,Accept,Your ASK,X,135,8.25,10,82.5,1582.5,0,10 > > My problem is that Rev treats each date in quotes as three items rather than one. I convert the comma delimiters to tab by setting the itemDelimiter to comma and then running the lines through nested repeat-for-each loops as > > repeat for each line thisLine in dataTable > repeat for each item thisItem in thisLine > put thisItem& tab after newLine > end repeat > -- more stuff here > end repeat > > I end up with > > "Mon (as the first item) > Jan 18 (as the second) > 2010" (as the third) > > Any suggestions as how I might get the date treated as one item? > > > Yes, although it is so goofily obvious you have probably thought about this one and rejected it: Change the commas for the bits inside the quotes to something else ( ^ * %) - dunno, any old thing that isn't a comma . . . :) From lfredricks at proactive-intl.com Mon Mar 8 12:56:48 2010 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 8 Mar 2010 09:56:48 -0800 Subject: Windows Portable??? In-Reply-To: References: <4B940594.5020901@gmail.com><6278623A-91E9-4893-AC02-5BBC5C3BE59A@twft.com><4B953292.70601@gmail.com> Message-ID: > I actually liked the U3 idea, because it let developers > safely allow installs on removable media so they could be > used anywhere. It's all about DRM. > At Revcon II there was a guy from the company that gave a a > half hour demonstration. Lynn, you were there. Yes, indeed - I invited them :-) > I immediately lost interest when it was announced to be a > "windows only" > feature. Judging by the number of Power/Macbooks in the > crowd, I wasn't alone. > > It was an odd moment of Rev promoting a platform-specific feature. That's true - but consider also that it wouldn't be in Runtime's interest to narrow all promotion to the cross-platform message. Cross platform is a key product feature of Revolution, and it does it so very well. But if you are also developing only for one platform that isnt the Mac, it shouldn't be dismissed either as a solution. There are Windows focused developers out there that have a negative gut reaction (still) with products tightly associated with Mac. Whatever your feelings about them, they still use the same type of currency as other OS users :-) One of the things I am very pleased about with releases after Revolution 3 was that Rev wasn't so tightly associated with the Mac. The more units that sell, the better funded all Revolution development is. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From pete at mollysrevenge.com Mon Mar 8 12:58:44 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Mon, 8 Mar 2010 09:58:44 -0800 Subject: missing field in aplication browser In-Reply-To: <20100308173127.9F47F2880F4@mail.runrev.com> References: <20100308173127.9F47F2880F4@mail.runrev.com> Message-ID: <161A19A1-8009-4E75-8E5E-E5DB95603420@mollysrevenge.com> Unfortunately, I don;t have an answer for this problem but wondering if anyone can help with general group maintenance question. Grouping and ungrouping objects by selecting them on a card works great in simple situations but when you have multiple levels of nested groups or hidden fields or even hidden groups (as recommended for tab controls for example), it can be a nightmare to add or delete an object. I'm wondering if I'm missing something and perhaps there's another way to add an object to a field without ungrouping and regrouping? What would be great is a drag/drop mechanism in the App Browser for example, or maybe a popup menu to select a group you want an object to be added to or removed from. Mention of the new property for groups also reminds me to ask if there is a single place where all the changes that have been made in a Rev release are documented? I haven't managed to find anything like that for 4.0 and seems like that's kinda basic doc for a new release. Pete Haworth On Mar 8, 2010, at 9:31 AM, use-revolution-request at lists.runrev.com wrote: > Date: Sun, 7 Mar 2010 20:49:30 -0800 > From: Scott Morrow > Subject: missing fields in Application Browser > To: How to use Revolution > Message-ID: > <958C115D-029C-4830-A2C1-0194143F414A at elementarysoftware.com> > Content-Type: text/plain; charset=us-ascii > > Recently, in one of my projects, the Application Browser stopped > showing fields that were in a group. Furthermore, the fields in this > group no longer allow text to be hilited. (The text can still be > edited, but not something that is really usable.) The fields are > obviously still there and running "put the num of flds of this cd" > into the message box returns "18" Yet only one field shows in the > Application browser. The field that does show is not in a group. > I've tried trashing the preferences file and reinstalling rev. I > was hoping not to deconstruct and rebuild the groups. Has anyone > else run across this? Thoughts? > Rev 4.0 Enterprise > > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web http://elementarysoftware.com/ > email scott at elementarysoftware.com From massung at gmail.com Mon Mar 8 13:00:53 2010 From: massung at gmail.com (Jeff Massung) Date: Mon, 8 Mar 2010 12:00:53 -0600 Subject: Comma-delimited values In-Reply-To: References: Message-ID: <963c86eb1003081000u6bad6394n2f72b1ab80aaf3dd@mail.gmail.com> Couple ideas for you: Loop over each word in the line and if the word doesn't have quotes, replace comma with tab: repeat with tWord = 1 to the number of words in tLine if the first char of word tWord in tLine is not quote then replace comma with tab in word tWord of tLine end if end repeat Use a regex or another search function to find quotes and skip over them, replacing commas with tabs with for everything in between. If you have access to the input data (read: from a db query or some-such), just modify it at the source. If your quoted data is always dates you could change the dates to something else. For example: repeat with tIdx = 1 to the number of words in tLine if word tIdx of tLine is a date then convert word tIdx of tLine to seconds end if end repeat And now you can do other kinds of operations on the date or even convert them back to dates later on. I wouldn't try doing anything goofy like trying to change commas within quotes to something else and then change them back. It'll lead to bugs later on I'm quite sure. This is the one thing about Rev I wish I could change... quotes should wrap items just as they wrap words. Jeff M. On Mon, Mar 8, 2010 at 11:44 AM, Gregory Lypny wrote: > Hello everyone, > > I'm creating an app that imports comma-delimited tables. A few lines might > look like this, where there are 14 items per line. > > "Mon, Jan 18 , 2010",9:14 > AM,130557,4319,Trade,Buy,X,135,8.25,10,-82.5,1417.5,20,10 > "Mon, Jan 18 , 2010",9:14 AM,130558,4371,Accept,Your > ASK,X,135,8.25,10,82.5,1582.5,0,10 > > My problem is that Rev treats each date in quotes as three items rather > than one. I convert the comma delimiters to tab by setting the > itemDelimiter to comma and then running the lines through nested > repeat-for-each loops as > > repeat for each line thisLine in dataTable > repeat for each item thisItem in thisLine > put thisItem & tab after newLine > end repeat > -- more stuff here > end repeat > > I end up with > > "Mon (as the first item) > Jan 18 (as the second) > 2010" (as the third) > > Any suggestions as how I might get the date treated as one item? > > Regards, > > Gregory > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From m.schonewille at economy-x-talk.com Mon Mar 8 13:01:51 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 8 Mar 2010 19:01:51 +0100 Subject: Comma-delimited values In-Reply-To: References: Message-ID: Hi Gregory, Does this work for you? function csv2tab theData repeat for each line myLine in theData repeat for each word myWord in myLine if char 1 of myWord is quote and (char -2 of myWord is quote or char -1 of myWord is quote) then replace comma with "<\#>" in myWord end if put myWord after myNewData end repeat put cr after myNewData end repeat replace comma with tab in myNewData replace "<\#>" with comma in myNewData return myNewData end csv2tab -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 8 mrt 2010, om 18:44 heeft Gregory Lypny het volgende geschreven: > Hello everyone, > > I'm creating an app that imports comma-delimited tables. A few > lines might look like this, where there are 14 items per line. > > "Mon, Jan 18 , 2010",9:14 AM,130557,4319,Trade,Buy,X, > 135,8.25,10,-82.5,1417.5,20,10 > "Mon, Jan 18 , 2010",9:14 AM,130558,4371,Accept,Your ASK,X, > 135,8.25,10,82.5,1582.5,0,10 > > My problem is that Rev treats each date in quotes as three items > rather than one. I convert the comma delimiters to tab by setting > the itemDelimiter to comma and then running the lines through nested > repeat-for-each loops as > > repeat for each line thisLine in dataTable > repeat for each item thisItem in thisLine > put thisItem & tab after newLine > end repeat > -- more stuff here > end repeat > > I end up with > > "Mon (as the first item) > Jan 18 (as the second) > 2010" (as the third) > > Any suggestions as how I might get the date treated as one item? > > Regards, > > Gregory From pderocco at ix.netcom.com Mon Mar 8 13:03:01 2010 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Mon, 8 Mar 2010 10:03:01 -0800 Subject: Comma-delimited values In-Reply-To: <4B953A33.50700@gmail.com> Message-ID: > On 08/03/2010 19:44, Gregory Lypny wrote: > > I'm creating an app that imports comma-delimited tables. A few lines might look like this, where there are 14 items per line. > > "Mon, Jan 18 , 2010",9:14 AM,130557,4319,Trade,Buy,X,135,8.25,10,-82.5,1417.5,20,10 > "Mon, Jan 18 , 2010",9:14 AM,130558,4371,Accept,Your ASK,X,135,8.25,10,82.5,1582.5,0,10 > > My problem is that Rev treats each date in quotes as three > items rather than one. I convert the comma delimiters to tab by > setting the itemDelimiter to comma and then running the lines > through nested repeat-for-each loops as > > repeat for each line thisLine in dataTable > repeat for each item thisItem in thisLine > put thisItem& tab after newLine > end repeat > -- more stuff here > end repeat > > I end up with > > "Mon (as the first item) > Jan 18 (as the second) > 2010" (as the third) > > Any suggestions as how I might get the date treated as one item? Add an inQuotes flag, with an initial value of false. For each item, if it has a quote in it, toggle the inQuotes flag. Then, if inQuotes is set, append a comma instead of a tab, to put the item back together again. -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From jim at visitrieve.com Mon Mar 8 13:13:54 2010 From: jim at visitrieve.com (Jim Bufalini) Date: Mon, 8 Mar 2010 08:13:54 -1000 Subject: Comma-delimited values In-Reply-To: References: Message-ID: <004501cabeeb$1d576820$58063860$@com> Gregory Lypny wrote: > Hello everyone, > > I'm creating an app that imports comma-delimited tables. A few lines > might look like this, where there are 14 items per line. > > "Mon, Jan 18 , 2010",9:14 AM,130557,4319,Trade,Buy,X,135,8.25,10,- > 82.5,1417.5,20,10 > "Mon, Jan 18 , 2010",9:14 AM,130558,4371,Accept,Your > ASK,X,135,8.25,10,82.5,1582.5,0,10 > > My problem is that Rev treats each date in quotes as three items rather > than one. I convert the comma delimiters to tab by setting the > itemDelimiter to comma and then running the lines through nested > repeat-for-each loops as > > repeat for each line thisLine in dataTable > repeat for each item thisItem in thisLine > put thisItem & tab after newLine > end repeat > -- more stuff here > end repeat > > I end up with > > "Mon (as the first item) > Jan 18 (as the second) > 2010" (as the third) > > Any suggestions as how I might get the date treated as one item? Almost all programs like spreadsheets that export tables in CSV format have two options that you can set: 1. You can use tab instead of comma as the value delimiter. 2. You can tell it not to use quotes around text and dates. So, export the tables in tab delimited format and without quotes. Then, when importing into Rev, *set itemdel to tab*. If your spreadsheet program insists on quotes, then *replace quote with empty in tImportedData* after importing the data into rev. Then you can use items and lines to work with the imported data in rev without necessity of any data manipulations. Aloha from Hawaii, Jim Bufalini From marcio at cialogica.com.br Mon Mar 8 13:14:53 2010 From: marcio at cialogica.com.br (Marcio Alexandroni) Date: Mon, 08 Mar 2010 15:14:53 -0300 Subject: Application graphics Message-ID: Hello, Well, I've been working for so many years only on Windows development that I think I must relearn application design now that I'm "multiplatform"... What kind of graphics do you use for your applications? I mean, I know Rev is plenty of graphical objects, but in a real multiplatform user-application, do you use backgrounds, skinning, graphic buttons, perhaps a group of buttons to simulate a toolbar? Thanks in advance for sharing your experiences. Regards, Marcio Alexandroni ( (11) 9989-8316 Skype: marcioalexandroni -- From fredrik at morbug.se Mon Mar 8 13:16:18 2010 From: fredrik at morbug.se (Fredrik Andersson) Date: Mon, 08 Mar 2010 19:16:18 +0100 Subject: Comma-delimited values In-Reply-To: References: Message-ID: <4B953EF2.5000409@morbug.se> Hi, I'd do it something like this (since I love using set itemdel...): repeat for each line thisLine in dataTable set the itemdel to quote put the second item of thisLine & tab into newLine -- should be the date put the third item of thisLine into thisLine -- should be the rest set the itemdel to comma repeat for each item thisItem in thisLine put thisItem & tab after newLine end repeat -- more stuff here end repeat Cheers, Fredrik Gregory Lypny skrev 2010-03-08 18.44: > Hello everyone, > > I'm creating an app that imports comma-delimited tables. A few lines might look like this, where there are 14 items per line. > > "Mon, Jan 18 , 2010",9:14 AM,130557,4319,Trade,Buy,X,135,8.25,10,-82.5,1417.5,20,10 > "Mon, Jan 18 , 2010",9:14 AM,130558,4371,Accept,Your ASK,X,135,8.25,10,82.5,1582.5,0,10 > > My problem is that Rev treats each date in quotes as three items rather than one. I convert the comma delimiters to tab by setting the itemDelimiter to comma and then running the lines through nested repeat-for-each loops as > > repeat for each line thisLine in dataTable > repeat for each item thisItem in thisLine > put thisItem& tab after newLine > end repeat > -- more stuff here > end repeat > > I end up with > > "Mon (as the first item) > Jan 18 (as the second) > 2010" (as the third) > > Any suggestions as how I might get the date treated as one item? > > Regards, > > Gregory > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From richmondmathewson at gmail.com Mon Mar 8 13:16:28 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 08 Mar 2010 20:16:28 +0200 Subject: Windows Portable??? In-Reply-To: References: <4B940594.5020901@gmail.com><6278623A-91E9-4893-AC02-5BBC5C3BE59A@twft.com><4B953292.70601@gmail.com> Message-ID: <4B953EFC.9020906@gmail.com> On 08/03/2010 19:56, Lynn Fredricks wrote: >> I actually liked the U3 idea, because it let developers >> safely allow installs on removable media so they could be >> used anywhere. It's all about DRM. >> One can also do the same sort of thing with a Live Linux USB containing the 'normal' RunRev for Linux version on it. This has, to my mind, a significant advantage over the U3 - Windows idea, in that, RunRev Studio or Enterprise for Linux can spin off a Windows standalone, but the OS on the USB key will not be prone to Windows viruses. The silly thing is that Apple have been "funny" about a bootable USB version of Mac OS X. It should be comparatively easy to build a Mac OS 9 bootable CD with the last Mac OS Classic RunRev on it; but one rather wonders why one would bother. >> At Revcon II there was a guy from the company that gave a a >> half hour demonstration. Lynn, you were there. >> > Yes, indeed - I invited them :-) > > >> I immediately lost interest when it was announced to be a >> "windows only" >> feature. Judging by the number of Power/Macbooks in the >> crowd, I wasn't alone. >> >> It was an odd moment of Rev promoting a platform-specific feature. >> Well (b*tchy moment coming up), as quite a few features that function better in the Mac and Win versions of the current RunRev version one could say the same thing vis-a-vis Mac/Win versus Linux. One could also point out (and I can tell you that I do NOT like Windows), that whatever Mac and Linux devotees feel, Windows IS the dominant OS at the moment; and as the folks at Runtime Revolution have to fill their fridges, pay bills, and so forth, it would be very odd indeed if they didn't take that into account. I merrily pump out Windows standalones of my Devawriter, and, surprise, surprise, that is the version that is downloaded most. Frankly I would be a 'silly prune' not to release a Windows build just because I don't like Windows - I want to empower and enable as many people as I can with my little thing. I DO SO WISH I could release a Linux version, but, until the font problem is sorted out that is out of the question. Most unfortunate. > That's true - but consider also that it wouldn't be in Runtime's interest to > narrow all promotion to the cross-platform message. Cross platform is a key > product feature of Revolution, and it does it so very well. But if you are > also developing only for one platform that isnt the Mac, it shouldn't be > dismissed either as a solution. > > There are Windows focused developers out there that have a negative gut > reaction (still) with products tightly associated with Mac. Whatever your > feelings about them, they still use the same type of currency as other OS > users :-) > Yup, Bulgaria is full of them. > One of the things I am very pleased about with releases after Revolution 3 > was that Rev wasn't so tightly associated with the Mac. The more units that > sell, the better funded all Revolution development is. > > It really doesn't do RunRev's claim to be "cross-platform" much good to be tightly associated with any particular operating system . . . This is why I believe that a spot more work on the Linux version would also send a useful message :) From andre at andregarzia.com Mon Mar 8 13:16:27 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 8 Mar 2010 15:16:27 -0300 Subject: Application graphics In-Reply-To: References: Message-ID: <7c87a2a11003081016g5d2e576fn7b5285322abfe9e9@mail.gmail.com> Marcio, I advise you to use PNG for everything. It has an alpha channel and it is better than GIF. :D Cheers andre On Mon, Mar 8, 2010 at 3:14 PM, Marcio Alexandroni wrote: > Hello, > > Well, I've been working for so many years only on Windows development that > I > think I must relearn application design now that I'm "multiplatform"... > > What kind of graphics do you use for your applications? I mean, I know Rev > is plenty of graphical objects, but in a real multiplatform > user-application, do you use backgrounds, skinning, graphic buttons, > perhaps > a group of buttons to simulate a toolbar? > > Thanks in advance for sharing your experiences. > > Regards, > > Marcio Alexandroni > ( (11) 9989-8316 > Skype: marcioalexandroni > -- > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From DunbarX at aol.com Mon Mar 8 13:18:10 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Mon, 8 Mar 2010 13:18:10 EST Subject: Comma-delimited values Message-ID: <1eb5d.35dbb157.38c69962@aol.com> Here is an easy way: on mouseUp put yourdata into temp repeat for each line tLine in yourdata replace comma with tab in item 3 to 50 of tLine end repeat put yourdata into whereEverYouWant end mouseUp This should be pretty readable. Craig Newman In a message dated 3/8/10 12:44:39 PM, gregory.lypny at videotron.ca writes: > "Mon, Jan 18 , 2010",9:14 > AM,130557,4319,Trade,Buy,X,135,8.25,10,-82.5,1417.5,20,10 > From richmondmathewson at gmail.com Mon Mar 8 13:22:41 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 08 Mar 2010 20:22:41 +0200 Subject: Application graphics In-Reply-To: References: Message-ID: <4B954071.4010508@gmail.com> On 08/03/2010 20:14, Marcio Alexandroni wrote: > Hello, > > Well, I've been working for so many years only on Windows development that I > think I must relearn application design now that I'm "multiplatform"... > > What kind of graphics do you use for your applications? I mean, I know Rev > is plenty of graphical objects, but in a real multiplatform > user-application, do you use backgrounds, skinning, graphic buttons, perhaps > a group of buttons to simulate a toolbar? > > Thanks in advance for sharing your experiences. > > Dear Marcio, I think you may be over-complicating things. I am the author of a user-application that is available for Windows and Macintosh: http://andregarzia.on-rev.com/richmond/dwriter.html and I use graphics (images made in GIMP) as buttons throughout; this way I can be sure they look the same on either operating system. If you want to have your buttons looking different after they have been used, or when a pointer is over them, the images can be easily manipulated using the Graphic Effects available through the Preferences palette. From richmondmathewson at gmail.com Mon Mar 8 13:23:18 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 08 Mar 2010 20:23:18 +0200 Subject: Application graphics In-Reply-To: <7c87a2a11003081016g5d2e576fn7b5285322abfe9e9@mail.gmail.com> References: <7c87a2a11003081016g5d2e576fn7b5285322abfe9e9@mail.gmail.com> Message-ID: <4B954096.9060802@gmail.com> On 08/03/2010 20:16, Andre Garzia wrote: > Marcio, > > I advise you to use PNG for everything. It has an alpha channel and it is > better than GIF. > Seconded! Richmond. > :D > > Cheers > andre > > On Mon, Mar 8, 2010 at 3:14 PM, Marcio Alexandroni > wrote: > > >> Hello, >> >> Well, I've been working for so many years only on Windows development that >> I >> think I must relearn application design now that I'm "multiplatform"... >> >> What kind of graphics do you use for your applications? I mean, I know Rev >> is plenty of graphical objects, but in a real multiplatform >> user-application, do you use backgrounds, skinning, graphic buttons, >> perhaps >> a group of buttons to simulate a toolbar? >> >> Thanks in advance for sharing your experiences. >> >> Regards, >> >> Marcio Alexandroni >> ( (11) 9989-8316 >> Skype: marcioalexandroni >> -- >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > > From jacque at hyperactivesw.com Mon Mar 8 13:23:37 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 08 Mar 2010 12:23:37 -0600 Subject: missing field in aplication browser In-Reply-To: <161A19A1-8009-4E75-8E5E-E5DB95603420@mollysrevenge.com> References: <20100308173127.9F47F2880F4@mail.runrev.com> <161A19A1-8009-4E75-8E5E-E5DB95603420@mollysrevenge.com> Message-ID: <4B9540A9.8080207@hyperactivesw.com> Peter Haworth wrote: > Grouping and ungrouping objects by selecting them on a card works great > in simple situations but when you have multiple levels of nested groups > or hidden fields or even hidden groups (as recommended for tab controls > for example), it can be a nightmare to add or delete an object. I'm > wondering if I'm missing something and perhaps there's another way to > add an object to a field without ungrouping and regrouping? When I have that situation, I bypass the IDE entirely and just use the message box. It's way faster. If the control already exists, you can do this: copy btn "myNewButton" to grp "myDeeplyNestedGroup" Then just delete the original from the card. If instead you want to make a new control: create btn "newButton" in grp "myDeeplyNestedGroup" After that, you can select the new control and set properties normally if selectGroupedControls is true. Or alternately you can set the templateButton, or templateField, or whatever, with all the properties first and then issue the create command. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Mon Mar 8 13:25:53 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 08 Mar 2010 10:25:53 -0800 Subject: Customizing Error Reporting Dialog Message-ID: <4B954131.8080903@fourthworld.com> Ray Horsley wrote: > This is a wonderful option in the Bug Reports tab of the Stand Alone > Application Settings. Anybody know how to customize this window which > comes up? For example, I'd like to solicit the user's return email > address. That dialog launches the user's email client with a pre-addressed email. When they send it you'll have their address. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From jacque at hyperactivesw.com Mon Mar 8 13:30:40 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 08 Mar 2010 12:30:40 -0600 Subject: missing field in aplication browser In-Reply-To: <4B9540A9.8080207@hyperactivesw.com> References: <20100308173127.9F47F2880F4@mail.runrev.com> <161A19A1-8009-4E75-8E5E-E5DB95603420@mollysrevenge.com> <4B9540A9.8080207@hyperactivesw.com> Message-ID: <4B954250.90204@hyperactivesw.com> J. Landman Gay wrote: > Peter Haworth wrote: > >> Grouping and ungrouping objects by selecting them on a card works >> great in simple situations but when you have multiple levels of nested >> groups or hidden fields or even hidden groups (as recommended for tab >> controls for example), it can be a nightmare to add or delete an >> object. I'm wondering if I'm missing something and perhaps there's >> another way to add an object to a field without ungrouping and >> regrouping? > > When I have that situation, I bypass the IDE entirely... > Forgot to mention this one: delete btn "myButton" of grp "myDeeplyNestedGroup" -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Mon Mar 8 13:55:16 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 08 Mar 2010 10:55:16 -0800 Subject: Comma-delimited values Message-ID: <4B954814.1090008@fourthworld.com> Paul D. DeRocco wrote: > Add an inQuotes flag, with an initial value of false. For each item, if it > has a quote in it, toggle the inQuotes flag. Then, if inQuotes is set, > append a comma instead of a tab, to put the item back together again. Roger that. CSV elements may contain returns within quoted portions, and escaping uses a wide range of conventions differing from program to program (within the Microsoft family I've seen it differ from version to version of the same program). The flag method, while notoriously slow, is the only reliable method I've found for handling all the many variants of CSV. A plea for sanity in the software development world: While we need to write CSV importers from time to time, please never write CSV exporters. CSV must die. The problem with CSV is that the comma is very commonly used in data, making it a uniquely stupid choice as a delimiter. That stupidity could be countered with consistent escaping, but no true standard has emerged since the many decades of this productivity-abuse began. Making a stupid decision even more stupid, most CSV files quote non-numeric values, as though the programmers did not realize the quote character is commonly used in our language and therefore may likely be part of the data. So using quote as an escape means that you must escape the escape. Jeeminy who thinks up that merde?!?! Sometimes the escape for in-data double-quotes is a double double-quote, which sometimes makes it hard to know what to do with empty values shown as "", esp. given that in some formats the empty value abuts the adjacent commas and in others, like MySQL dumps, it abuts only the trailing comma but has a space before the leading comma. Other times double-quotes are escaped with \", meaning you'll need to escape any in-data backslashes too. For thinking people, about the time you realize that you're escaping the escape that you've escaped to handle your data, it would occur to you to go back and check your original premise. But not so for the creators of CSV. As Jim Bufalini pointed out, tab-delimited or even (in fewer cases) pipe-delimited make much saner options. For my own delimited exports I've adopted the convention used in FileMaker Pro and others, with escapes that are unlikely to be in the data: - records are delimited with returns - fields delimited with tabs - quotes are never added and are included only when they are part of the data - any in-data returns are escaped with ASCII 11 - any in-data tabs escaped with ASCII 4 Simple to write, lightning-fast to parse. When you add up all the programmer- and end-user-hours lost to dealing with the uniquely stupid collection of mish-mashed ad-hoc formats that is CSV, it amounts to nothing less than a crime against humanity. Several hundred if not thousands of human lifetimes have been lost either dealing with bugs related to CSV parsers, or simply waiting for the inherently slow parsing of CSV that could have taken mere milliseconds if done in any saner format. CSV must die. Please help it die: never write CSV exporters. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From bobs at twft.com Mon Mar 8 14:14:18 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 8 Mar 2010 11:14:18 -0800 Subject: Comma-delimited values In-Reply-To: References: Message-ID: sending again due to the "email too big" problem. > I think the operative word in the original post was "might" as in, "might look like this". I gather that it might also not. Is the question, how do you blindly detect a date format? In that case, you are going to need a function that analyzes a string to determine if any of the data between quotes is a date. > > I might suggest: (as always watch for line wraps) > > on mouseUp pMouseBtnNo > put quote & "Mon, Jan 18 , 2010" & quote & ",9:14 AM,130557,4319,Trade,Buy,X,135,8.25,10,-82.5,1417.5,20,10" into myVar > set the itemdelimiter to quote > repeat for each item theString in myVar > if theString is a date then put true -- or whatever else you want to do at this point. > end repeat > end mouseUp > > Two very obvious problems will immediately present themselves: First, in the example text given, nothing is a date! Why you ask? Because there is a space in the date after the day number, which is enough to convince Rev that the string is not, in fact, a date. But that may be a typo, and the actual data may correct this anomaly. The second thing is, what if the text has no quotes? > > All this underscores the fact that you need to understand the nature of the information before you can provide a solution. If it is going to be true CSV, then the dates and all non-numeric data will (or should) be enclosed in quotes. > > One last caution: When using this form of repeat, remember that you cannot alter the contents of myVar while the loop is running because of the way the repeat command handles the variable. > > So a revised function that does what you want could look like this: > > on mouseUp pMouseBtnNo > breakpoint > put quote & "Mon, Jan 18, 2010" & quote & ",9:14 AM,130557,4319,Trade,Buy,X,135,8.25,10,-82.5,1417.5,20,10" into myVar > set the itemdelimiter to quote > put myVar into tempVar > repeat for each item theString in myVar > if theString is a date then > put the length of theString into theStrLength > put offset(theString, tempVar) into charStart > put charStart + theStrLength into charEnd > replace comma with "*&*" in char charStart to charEnd of tempVar > end if > end repeat > replace comma with return in tempVar > replace "*&*" with comma in tempVar > put tempVar into myVar > end mouseUp > > resulting in data that looks like this: > > "Mon, Jan 18, 2010" > 9:14 AM > 130557 > 4319 > Trade > Buy > X > 135 > 8.25 > 10 > -82.5 > 1417.5 > 20 > 10 > > Bob > > > On Mar 8, 2010, at 9:44 AM, Gregory Lypny wrote: > >> Hello everyone, >> >> I'm creating an app that imports comma-delimited tables. A few lines might look like this, where there are 14 items per line. >> >> "Mon, Jan 18 , 2010",9:14 AM,130557,4319,Trade,Buy,X,135,8.25,10,-82.5,1417.5,20,10 >> "Mon, Jan 18 , 2010",9:14 AM,130558,4371,Accept,Your ASK,X,135,8.25,10,82.5,1582.5,0,10 >> >> My problem is that Rev treats each date in quotes as three items rather than one. I convert the comma delimiters to tab by setting the itemDelimiter to comma and then running the lines through nested repeat-for-each loops as >> >> repeat for each line thisLine in dataTable >> repeat for each item thisItem in thisLine >> put thisItem & tab after newLine >> end repeat >> -- more stuff here >> end repeat >> >> I end up with >> >> "Mon (as the first item) >> Jan 18 (as the second) >> 2010" (as the third) >> >> Any suggestions as how I might get the date treated as one item? >> >> Regards, >> >> Gregory >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Mon Mar 8 14:16:44 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 08 Mar 2010 11:16:44 -0800 Subject: missing field in aplication browser Message-ID: <4B954D1C.5000109@fourthworld.com> Peter Haworth wrote: > Grouping and ungrouping objects by selecting them on a card works > great in simple situations but when you have multiple levels of nested > groups or hidden fields or even hidden groups (as recommended for tab > controls for example), it can be a nightmare to add or delete an > object. I'm wondering if I'm missing something and perhaps there's > another way to add an object to a field without ungrouping and > regrouping? This is where a good object browser is worth its weight in gold (well, more so actually, since software has no weight ). The App Browser isn't bad, but I find it a bit cumbersome. Geoff Canyon's RevNavigator plugin is included in the Rev installation (see Development-Plugins->RevNavigator) and is a more nimble companion. It's modeled somewhat on the MC IDE's Control Browser, far simpler and faster than Rev's. Geoff's makes better use of space than MC's, and includes some handy options MC's doesn't have like changing the layer order of objects. I've written four object browsers over the years, and only recently started in on one I like. :) It's one of those things that seems deceptively simple, but there's a bit to it to be able to get around efficiently, esp. in layouts with lots of nested groups. When you're used to direct manipulation it's easy to overlook the value of an object browser, seeming as they do rather like building a ship in a bottle, where you can "touch" it only with tweezers. But a good object browser can make it easier to work with objects than even by direct manipulation. I think you'll find Geoff's delightful to work with. One thing about Geoff's though, which is a point in favor of Rev's App Browser: RevNavigator was written before groups had their own selectGroupedControls property, which is not only a useful way to shield the developer from accidentally altering a custom object like a DataGrid, but can also be used by an object browser to avoid having to list controls that you probably don't want to be mucking with anyway. A typical DataGrid can add hundreds of controls to your card, bringing an object browser to a crawl as it updates. But when written to exclude such things, an object browser can be quite nimble even with multiple DataGrids and other custom controls. As soon as mine gets debugged I'll roll it out with a new set of devolution tools. In the meantime, Rev's or Geoff's may help you get through the day well. > Mention of the new property for groups also reminds me to ask if there > is a single place where all the changes that have been made in a Rev > release are documented? I haven't managed to find anything like that > for 4.0 and seems like that's kinda basic doc for a new release. See the Engine Change Log and IDE Change Log files included with each Rev installation. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From jim at visitrieve.com Mon Mar 8 14:19:03 2010 From: jim at visitrieve.com (Jim Bufalini) Date: Mon, 8 Mar 2010 09:19:03 -1000 Subject: Comma-delimited values In-Reply-To: <4B954814.1090008@fourthworld.com> References: <4B954814.1090008@fourthworld.com> Message-ID: <004601cabef4$3749c6c0$a5dd5440$@com> I agree with Richard's rant. CSV (Comma Separated Values) is a very, very old convention that was not well thought out from the beginning. Commas can exists within cells (values) as in the case of dates or text blocks or even formatted numbers ($1,000.00). So, to get around this, they added quotes around cells that could contain commas. The only problem with this, as Richard points out, is text blocks can also contain quotes. ;-) This is why I said, whether you are exporting to import into Rev or any other program, use tab as the value separator and get rid of the arbitrary quotes that they only put in there because commas can exist in the cell. Tab is very safe to use as a value separator from a spreadsheet export because if you press tab when editing a cell, in all spreadsheets I am aware of, the tab is not inserted into the cell, but instead jumps you to editing the next cell. Aloha from Hawaii, Jim Bufalini > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of Richard Gaskin > Sent: Monday, March 08, 2010 8:55 AM > To: How to use Revolution > Subject: Re: Comma-delimited values > > Paul D. DeRocco wrote: > > Add an inQuotes flag, with an initial value of false. For each item, > if it > > has a quote in it, toggle the inQuotes flag. Then, if inQuotes is > set, > > append a comma instead of a tab, to put the item back together again. > > Roger that. CSV elements may contain returns within quoted portions, > and escaping uses a wide range of conventions differing from program to > program (within the Microsoft family I've seen it differ from version > to > version of the same program). The flag method, while notoriously slow, > is the only reliable method I've found for handling all the many > variants of CSV. > > > A plea for sanity in the software development world: > > While we need to write CSV importers from time to time, please never > write CSV exporters. > > CSV must die. > > The problem with CSV is that the comma is very commonly used in data, > making it a uniquely stupid choice as a delimiter. > > That stupidity could be countered with consistent escaping, but no true > standard has emerged since the many decades of this productivity-abuse > began. > > Making a stupid decision even more stupid, most CSV files quote > non-numeric values, as though the programmers did not realize the quote > character is commonly used in our language and therefore may likely be > part of the data. So using quote as an escape means that you must > escape > the escape. Jeeminy who thinks up that merde?!?! > > Sometimes the escape for in-data double-quotes is a double double- > quote, > which sometimes makes it hard to know what to do with empty values > shown > as "", esp. given that in some formats the empty value abuts the > adjacent commas and in others, like MySQL dumps, it abuts only the > trailing comma but has a space before the leading comma. Other times > double-quotes are escaped with \", meaning you'll need to escape any > in-data backslashes too. > > For thinking people, about the time you realize that you're escaping > the > escape that you've escaped to handle your data, it would occur to you > to > go back and check your original premise. But not so for the creators > of > CSV. > > As Jim Bufalini pointed out, tab-delimited or even (in fewer cases) > pipe-delimited make much saner options. > > For my own delimited exports I've adopted the convention used in > FileMaker Pro and others, with escapes that are unlikely to be in the > data: > > - records are delimited with returns > - fields delimited with tabs > - quotes are never added and are included only when they are part > of the data > - any in-data returns are escaped with ASCII 11 > - any in-data tabs escaped with ASCII 4 > > Simple to write, lightning-fast to parse. > > When you add up all the programmer- and end-user-hours lost to dealing > with the uniquely stupid collection of mish-mashed ad-hoc formats that > is CSV, it amounts to nothing less than a crime against humanity. > Several hundred if not thousands of human lifetimes have been lost > either dealing with bugs related to CSV parsers, or simply waiting for > the inherently slow parsing of CSV that could have taken mere > milliseconds if done in any saner format. > > CSV must die. > > Please help it die: never write CSV exporters. > > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Mon Mar 8 14:35:44 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 8 Mar 2010 11:35:44 -0800 Subject: Comma-delimited values In-Reply-To: <004601cabef4$3749c6c0$a5dd5440$@com> References: <4B954814.1090008@fourthworld.com> <004601cabef4$3749c6c0$a5dd5440$@com> Message-ID: <839E2AAD-AEA3-48E8-893E-2647AF73A4C3@twft.com> Not to add fuel to the fire, but I have seen spreadsheet data containing tabs in cells before. Usually it's when importing from another program. Also, let's not forget that sometimes a cell can contain carriage returns too. This is the same problem that plagues SQL programmers, forcing them to escape their values before submitting a query. As it is the responsibility of SQL developers to take this precaution, it is also the responsibility of developers to properly format their exported data so that things like quotes, commas and carriage returns (delimiters) are "escaped" or converted to something else. Now Software used to do this pretty well, converting their notes fields containing commas and carriage returns to other special characters before exporting them. But eventually, you will hit this problem where the data is going to contain things you didn't expect, and you are going to have to deal with it, as in the case of the space after the day number in the original example. Bob On Mar 8, 2010, at 11:19 AM, Jim Bufalini wrote: > I agree with Richard's rant. CSV (Comma Separated Values) is a very, very > old convention that was not well thought out from the beginning. Commas can > exists within cells (values) as in the case of dates or text blocks or even > formatted numbers ($1,000.00). So, to get around this, they added quotes > around cells that could contain commas. The only problem with this, as > Richard points out, is text blocks can also contain quotes. ;-) > > This is why I said, whether you are exporting to import into Rev or any > other program, use tab as the value separator and get rid of the arbitrary > quotes that they only put in there because commas can exist in the cell. > > Tab is very safe to use as a value separator from a spreadsheet export > because if you press tab when editing a cell, in all spreadsheets I am aware > of, the tab is not inserted into the cell, but instead jumps you to editing > the next cell. > > Aloha from Hawaii, > > Jim Bufalini > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- >> bounces at lists.runrev.com] On Behalf Of Richard Gaskin >> Sent: Monday, March 08, 2010 8:55 AM >> To: How to use Revolution >> Subject: Re: Comma-delimited values >> >> Paul D. DeRocco wrote: >>> Add an inQuotes flag, with an initial value of false. For each item, >> if it >>> has a quote in it, toggle the inQuotes flag. Then, if inQuotes is >> set, >>> append a comma instead of a tab, to put the item back together again. >> >> Roger that. CSV elements may contain returns within quoted portions, >> and escaping uses a wide range of conventions differing from program to >> program (within the Microsoft family I've seen it differ from version >> to >> version of the same program). The flag method, while notoriously slow, >> is the only reliable method I've found for handling all the many >> variants of CSV. >> >> >> A plea for sanity in the software development world: >> >> While we need to write CSV importers from time to time, please never >> write CSV exporters. >> >> CSV must die. >> >> The problem with CSV is that the comma is very commonly used in data, >> making it a uniquely stupid choice as a delimiter. >> >> That stupidity could be countered with consistent escaping, but no true >> standard has emerged since the many decades of this productivity-abuse >> began. >> >> Making a stupid decision even more stupid, most CSV files quote >> non-numeric values, as though the programmers did not realize the quote >> character is commonly used in our language and therefore may likely be >> part of the data. So using quote as an escape means that you must >> escape >> the escape. Jeeminy who thinks up that merde?!?! >> >> Sometimes the escape for in-data double-quotes is a double double- >> quote, >> which sometimes makes it hard to know what to do with empty values >> shown >> as "", esp. given that in some formats the empty value abuts the >> adjacent commas and in others, like MySQL dumps, it abuts only the >> trailing comma but has a space before the leading comma. Other times >> double-quotes are escaped with \", meaning you'll need to escape any >> in-data backslashes too. >> >> For thinking people, about the time you realize that you're escaping >> the >> escape that you've escaped to handle your data, it would occur to you >> to >> go back and check your original premise. But not so for the creators >> of >> CSV. >> >> As Jim Bufalini pointed out, tab-delimited or even (in fewer cases) >> pipe-delimited make much saner options. >> >> For my own delimited exports I've adopted the convention used in >> FileMaker Pro and others, with escapes that are unlikely to be in the >> data: >> >> - records are delimited with returns >> - fields delimited with tabs >> - quotes are never added and are included only when they are part >> of the data >> - any in-data returns are escaped with ASCII 11 >> - any in-data tabs escaped with ASCII 4 >> >> Simple to write, lightning-fast to parse. >> >> When you add up all the programmer- and end-user-hours lost to dealing >> with the uniquely stupid collection of mish-mashed ad-hoc formats that >> is CSV, it amounts to nothing less than a crime against humanity. >> Several hundred if not thousands of human lifetimes have been lost >> either dealing with bugs related to CSV parsers, or simply waiting for >> the inherently slow parsing of CSV that could have taken mere >> milliseconds if done in any saner format. >> >> CSV must die. >> >> Please help it die: never write CSV exporters. >> >> >> -- >> Richard Gaskin >> Fourth World >> Rev training and consulting: http://www.fourthworld.com >> Webzine for Rev developers: http://www.revjournal.com >> revJournal blog: http://revjournal.com/blog.irv >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Mon Mar 8 14:36:33 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 8 Mar 2010 11:36:33 -0800 Subject: missing field in aplication browser In-Reply-To: <4B954D1C.5000109@fourthworld.com> References: <4B954D1C.5000109@fourthworld.com> Message-ID: <95AB1C51-6C2D-47D7-9EE5-090B7DCF50DF@twft.com> Is that like doubling the salary of my volunteers? ;-) Bob On Mar 8, 2010, at 11:16 AM, Richard Gaskin wrote: > This is where a good object browser is worth its weight in gold (well, more so actually, since software has no weight ). From davidocoker at gmail.com Mon Mar 8 14:51:51 2010 From: davidocoker at gmail.com (David Coker) Date: Mon, 8 Mar 2010 13:51:51 -0600 Subject: Comma-delimited values In-Reply-To: <4B954814.1090008@fourthworld.com> References: <4B954814.1090008@fourthworld.com> Message-ID: On Mon, Mar 8, 2010 at 12:55 PM, Richard Gaskin wrote: CSV must die. Please help it die: never write CSV exporters. After my last foray into the world of CSV and the *many* problems I ran into, I decided to take Richard's little rant a step further... ...Not only will I not ever write a CSV exporter, but I will no longer attempt to support CSV, even as an import option for anything I build. That policy may make a few folks unhappy and/or possibly cost me a few sales should I go that route, but with certainty, it will not perpetuate the problem from either end in the future. I think I'd prefer the competition (if any), to have all of those support issues they want. ;-) Regards, David C. From gregory.lypny at videotron.ca Mon Mar 8 14:55:10 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Mon, 08 Mar 2010 14:55:10 -0500 Subject: Comma-delimited values In-Reply-To: <20100308180005.0DE0F288112@mail.runrev.com> References: <20100308180005.0DE0F288112@mail.runrev.com> Message-ID: Thank you, Richmond. Good stuff. That would work here where only the first to-be item of each line is quoted because it has commas within it. But if other files have quoted items in other locations (e.g., the fifth and ninth items), it would mean first identifying which chunks are quoted before I start converting from commas to tabs. Gregory On Mon, Mar 8 , 2010, at 1:00 PM, Richmond Mathewson wrote: > > On 08/03/2010 19:44, Gregory Lypny wrote: >> Hello everyone, >> >> I'm creating an app that imports comma-delimited tables. A few lines might look like this, where there are 14 items per line. >> >> "Mon, Jan 18 , 2010",9:14 AM,130557,4319,Trade,Buy,X,135,8.25,10,-82.5,1417.5,20,10 >> "Mon, Jan 18 , 2010",9:14 AM,130558,4371,Accept,Your ASK,X,135,8.25,10,82.5,1582.5,0,10 >> >> My problem is that Rev treats each date in quotes as three items rather than one. I convert the comma delimiters to tab by setting the itemDelimiter to comma and then running the lines through nested repeat-for-each loops as >> >> repeat for each line thisLine in dataTable >> repeat for each item thisItem in thisLine >> put thisItem& tab after newLine >> end repeat >> -- more stuff here >> end repeat >> >> I end up with >> >> "Mon (as the first item) >> Jan 18 (as the second) >> 2010" (as the third) >> >> Any suggestions as how I might get the date treated as one item? >> >> >> > Yes, although it is so goofily obvious you have probably thought about > this one and rejected it: > > Change the commas for the bits inside the quotes to something else ( ^ > * %) - dunno, any old > thing that isn't a comma . . . :) > From richmondmathewson at gmail.com Mon Mar 8 15:05:29 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 08 Mar 2010 22:05:29 +0200 Subject: Windows Portable??? Message-ID: <4B955889.8080501@gmail.com> I wrote: >In the RunRev User Guide there is this: >"Compatible Build your application for the U3 smart platform. For more >information on U3 see http://www.u3.com. For more documentation on >building U3 applications using Revolution, see the Resources/Examples/U3 >Documentation.pdf file within your Revolution distribution folder. " That URL turns out to be a dud; which would seem to suggest that U3 is 'past its sell by date', or that it has moved 'elsewhere'. From richmondmathewson at gmail.com Mon Mar 8 15:08:03 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 08 Mar 2010 22:08:03 +0200 Subject: Windows Portable??? In-Reply-To: <4B955889.8080501@gmail.com> References: <4B955889.8080501@gmail.com> Message-ID: <4B955923.8050003@gmail.com> Hey, this is getting badly nested . . . :) > I wrote: > > > >In the RunRev User Guide there is this: > > >"Compatible Build your application for the U3 smart platform. For more > >information on U3 see http://www.u3.com. For more documentation on > >building U3 applications using Revolution, see the Resources/Examples/U3 > >Documentation.pdf file within your Revolution distribution folder. " > > That URL turns out to be a dud; which would seem to suggest that U3 is > 'past its sell by date', or that it has moved 'elsewhere'. The URL is http://www.u3.com/ - I just quoted the RunRev PDF without actually checking the URL - silly Richmond (or, perhaps . . . ). From pete at mollysrevenge.com Mon Mar 8 15:36:44 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Mon, 8 Mar 2010 12:36:44 -0800 Subject: missing field in aplication browser In-Reply-To: <20100308200809.429AD2881AB@mail.runrev.com> References: <20100308200809.429AD2881AB@mail.runrev.com> Message-ID: Thanks for the hints in using the message box (why do I always forget about that?) and the plugin, sounds like they'll make my life lots easier. Pete Haworth From wdurden at gmail.com Mon Mar 8 15:41:08 2010 From: wdurden at gmail.com (wayne durden) Date: Mon, 8 Mar 2010 15:41:08 -0500 Subject: Comma-delimited values In-Reply-To: References: <4B954814.1090008@fourthworld.com> Message-ID: <29bc7bd41003081241k7c50d9c8m476f637a50577c0e@mail.gmail.com> Hi David, Richard et al. I hear your pain on the CSV issue. However, wishing it would die I think deserves a more careful reflection. Sometimes the devil you know is worse than the alternative... I use RunRev almost exclusively for parsing and processing datasets for active traders. CSV is one of the few remaining source formats that can be easily resolved. I use the flag method to handle quotes in the dataset... The other alternatives my clients can provide are far more problematic ([XML parsing - in theory good, in practice on large datasets there is almost always some breakage in the dataset or the time to handle a large dataset is exponentially greater than plain CSV ] [Excel - now virtually impossible to deal with without a manual intervention and conversion]) So yes, CSV has it's problems. Pipe delimited would suit me better. But a simple line based ordered dataset has proven in practice to be much more usable and quicker to handle than fancier solutions... Don't wish a CSV death on me please :) Wayne On Mon, Mar 8, 2010 at 2:51 PM, David Coker wrote: > On Mon, Mar 8, 2010 at 12:55 PM, Richard Gaskin > wrote: > > CSV must die. > > Please help it die: never write CSV exporters. > > > After my last foray into the world of CSV and the *many* problems I > ran into, I decided to take Richard's little rant a step further... > > ...Not only will I not ever write a CSV exporter, but I will no longer > attempt to support CSV, even as an import option for anything I build. > > That policy may make a few folks unhappy and/or possibly cost me a few > sales should I go that route, but with certainty, it will not > perpetuate the problem from either end in the future. > > I think I'd prefer the competition (if any), to have all of those > support issues they want. ;-) > > Regards, > David C. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From pmbrig at gmail.com Mon Mar 8 16:37:25 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Mon, 8 Mar 2010 16:37:25 -0500 Subject: Comma-delimited values In-Reply-To: References: <20100308180005.0DE0F288112@mail.runrev.com> Message-ID: If you are stuck with trying to import from CSV format, here's a function that will convert any commas within quotes to another delimiter character. function fixQuotedItems tText -- first make sure that you choose an escape char -- not contained in your data repeat for each item escapeChar in "?,?,?,?,?,?" -- or whatever list of odd characters you want if escapeChar is in tText then next repeat exit repeat end repeat put empty into adjText set the itemdelimiter to quote repeat for each line tLine in tText put 0 into counter put empty into adjustedLine repeat for each item i in tLine add 1 to counter if counter mod 2 = 1 then put i after adjustedLine else put i into temp replace comma with escapeChar in temp put temp after adjustedLine end if end repeat if char -1 of adjustedLine = comma then delete char -1 \ of adjustedLine put adjustedLine & cr after adjText end repeat if char -1 of adjText = cr then delete char -1 of adjText return adjText end fixQuotedItems this will take something like: a,b,c,"1,2,3,4",d,e "11,12,13",g,h,i j,k,"22,23" and return: a,b,c,1?2?3?4,d,e 11?12?13,g,h,i j,k,22?23 You can then parse your data and replace the escapeChar with comma after you're done. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 8, 2010, at 2:55 PM, Gregory Lypny wrote: > Thank you, Richmond. Good stuff. That would work here where only > the first to-be item of each line is quoted because it has commas > within it. But if other files have quoted items in other locations > (e.g., the fifth and ninth items), it would mean first identifying > which chunks are quoted before I start converting from commas to tabs. > > Gregory > > > On Mon, Mar 8 , 2010, at 1:00 PM, Richmond Mathewson wrote: > >> >> On 08/03/2010 19:44, Gregory Lypny wrote: >>> Hello everyone, >>> >>> I'm creating an app that imports comma-delimited tables. A few >>> lines might look like this, where there are 14 items per line. >>> >>> "Mon, Jan 18 , 2010",9:14 AM,130557,4319,Trade,Buy,X, >>> 135,8.25,10,-82.5,1417.5,20,10 >>> "Mon, Jan 18 , 2010",9:14 AM,130558,4371,Accept,Your ASK,X, >>> 135,8.25,10,82.5,1582.5,0,10 >>> >>> My problem is that Rev treats each date in quotes as three items >>> rather than one. I convert the comma delimiters to tab by setting >>> the itemDelimiter to comma and then running the lines through >>> nested repeat-for-each loops as >>> >>> repeat for each line thisLine in dataTable >>> repeat for each item thisItem in thisLine >>> put thisItem& tab after newLine >>> end repeat >>> -- more stuff here >>> end repeat >>> >>> I end up with >>> >>> "Mon (as the first item) >>> Jan 18 (as the second) >>> 2010" (as the third) >>> >>> Any suggestions as how I might get the date treated as one item? >>> >>> >>> >> Yes, although it is so goofily obvious you have probably thought >> about >> this one and rejected it: >> >> Change the commas for the bits inside the quotes to something else >> ( ^ >> * %) - dunno, any old >> thing that isn't a comma . . . :) >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From niconiko at gmail.com Mon Mar 8 16:53:29 2010 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 9 Mar 2010 06:53:29 +0900 Subject: Application graphics In-Reply-To: <4B954096.9060802@gmail.com> References: <7c87a2a11003081016g5d2e576fn7b5285322abfe9e9@mail.gmail.com> <4B954096.9060802@gmail.com> Message-ID: <1e91b2b71003081353n6ce23c87s987e24abc9aa00c4@mail.gmail.com> >> I advise you to use PNG for everything. It has an alpha channel and it is >> better than GIF. How about animations? -- Nicolas Cueto From jacque at hyperactivesw.com Mon Mar 8 16:53:05 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 08 Mar 2010 15:53:05 -0600 Subject: Comma-delimited values In-Reply-To: <4B954814.1090008@fourthworld.com> References: <4B954814.1090008@fourthworld.com> Message-ID: <4B9571C1.30509@hyperactivesw.com> Richard Gaskin wrote: > CSV must die. Oh come on, Richard, tell us what you really think. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Mon Mar 8 17:24:22 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 8 Mar 2010 14:24:22 -0800 Subject: Application graphics In-Reply-To: <1e91b2b71003081353n6ce23c87s987e24abc9aa00c4@mail.gmail.com> References: <7c87a2a11003081016g5d2e576fn7b5285322abfe9e9@mail.gmail.com> <4B954096.9060802@gmail.com> <1e91b2b71003081353n6ce23c87s987e24abc9aa00c4@mail.gmail.com> Message-ID: Animated pngs have been specified, but don't run in all browsers (yet). http://en.wikipedia.org/wiki/Animated_PNG ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev On 8 March 2010 13:53, Nicolas Cueto wrote: > >> I advise you to use PNG for everything. It has an alpha channel and it > is > >> better than GIF. > > How about animations? > > -- > Nicolas Cueto > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From stephenREVOLUTION2 at barncard.com Mon Mar 8 17:25:12 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 8 Mar 2010 14:25:12 -0800 Subject: Comma-delimited values In-Reply-To: <4B9571C1.30509@hyperactivesw.com> References: <4B954814.1090008@fourthworld.com> <4B9571C1.30509@hyperactivesw.com> Message-ID: We could have a funeral like IE6. ------------------------- Stephen Barncard San Francisco On 8 March 2010 13:53, J. Landman Gay wrote: > Richard Gaskin wrote: > > CSV must die. >> > > Oh come on, Richard, tell us what you really think. :) > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From pderocco at ix.netcom.com Mon Mar 8 17:26:52 2010 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Mon, 8 Mar 2010 14:26:52 -0800 Subject: Comma-delimited values In-Reply-To: <29bc7bd41003081241k7c50d9c8m476f637a50577c0e@mail.gmail.com> Message-ID: > From: wayne durden > > I hear your pain on the CSV issue. However, wishing it would die I think > deserves a more careful reflection. Sometimes the devil you know is worse > than the alternative... It's only difficult to deal with CSV if you want to make a totally general importer, with no foreknowledge of the type of data the files will contain. But in most real-life situations, you'll never need to deal with a double quote or newline in the data, so using newlines to separate records, and double quotes to escape commas within records, is a perfectly workable definition of the CSV format. It would never occur to anyone to use CSV to represent records containing binary data, so it isn't much more of a restriction to rule out control characters and double quotes. Your application is a typical example; so is using CSV as an interchange format for GPS logs. -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From shaosean at wehostmacs.com Mon Mar 8 17:36:59 2010 From: shaosean at wehostmacs.com (Shao Sean) Date: Mon, 8 Mar 2010 17:36:59 -0500 Subject: Comma-delimited values Message-ID: <5FFF6114-7476-45E5-B49D-C6CC7B7ABF82@wehostmacs.com> I wrote a CSV import library a while back, let me dig it out and post it.. I ran it against some test CSV files and it seems to handle all the weird little quirks in CSV (double quotes, newlines, etc).. From scott at tactilemedia.com Mon Mar 8 17:51:34 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 08 Mar 2010 14:51:34 -0800 Subject: Application graphics In-Reply-To: <1e91b2b71003081353n6ce23c87s987e24abc9aa00c4@mail.gmail.com> Message-ID: Recently, Nicolas Cueto wrote: >>> I advise you to use PNG for everything. It has an alpha channel and it is >>> better than GIF. > > How about animations? PNG may not be as convenient for animation as something like animated GIF, but you can create animations by showing PNGs sequentially in an image object (set the text of image "viewer" to the text of image "frame1.png"...), or by sequentially setting the icon of a button to the IDs of PNGs. Regards, Scott Rossi Creative Director Tactile Media, UX Design From bvlahos at mac.com Mon Mar 8 18:08:33 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Mon, 08 Mar 2010 15:08:33 -0800 Subject: Windows Portable??? In-Reply-To: <4B940594.5020901@gmail.com> References: <4B940594.5020901@gmail.com> Message-ID: <905DABE2-B158-49D8-A030-5B9B639FE1F5@mac.com> No they are not the same. Here is a link for Windows Portable. http://msdn.microsoft.com/en-us/library/dd388998(VS.85).aspx U3 is a standard that is Windows only and is designed to provide a better application launch experience for applications on USB drives. It works by presenting the USB drive as both a USB drive and CD. The "CD" does the auto-start and launches a catalog interface where the applications have been loaded. One of the big problems for non-Windows computers in that there are two drives that have to be ejected when finished. There was some talk of a U4 standard which would include other platforms but I haven't heard anything about that in some time. Even for Windows, U3 has not taken off and it diminishing in popularity. I chose not to support U3 with InfoWallet (where it would appear to be a perfect fit) because of the problems with Macs and Linux. It looks like the rest of the industry is losing interest as well. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Mar 7, 2010, at 11:59 AM, Richmond Mathewson wrote: > Subtitled: "Naive Question 108". > > Is 'U3' the same thing as Windows Portable? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From shaosean at wehostmacs.com Mon Mar 8 18:30:34 2010 From: shaosean at wehostmacs.com (Shao Sean) Date: Mon, 8 Mar 2010 18:30:34 -0500 Subject: [ANN] CSV Parser Library 1.0.0 Message-ID: <5BEBB438-D62C-448F-A93C-4A82B10A046F@wehostmacs.com> This is something I put together a while back and with the recent discussion on the use-list I figured I would make it available for those that could use it.. This library will parse a CSV file into a multi-dimensional array (I included a simple CSV file).. On large data sets the library might take a while as it does basically crawl through the data character by character in some instances.. Syntax: parseCSV( data ) parseCSV( data, true ) If the second parameter is true, the library will use the first row of the data as names for the column headers (like the data grid).. The data is returned in a multi-dimensional array where the first element is the row number and the second element is the column number (or name).. returnedDataArray[1][1] -- first row, first column returnedDataArray[10][3] -- tenth row, third column returnedDataArray[3]["file name"] - third row, column named "file name" This is released into the public domain but if you can help speed it up or know a slightly better way of doing some code in the library, please help out :-) -Sean http://shaosean.tk/ From richmondmathewson at gmail.com Tue Mar 9 00:52:34 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 09 Mar 2010 07:52:34 +0200 Subject: Application graphics In-Reply-To: References: <7c87a2a11003081016g5d2e576fn7b5285322abfe9e9@mail.gmail.com> <4B954096.9060802@gmail.com> <1e91b2b71003081353n6ce23c87s987e24abc9aa00c4@mail.gmail.com> Message-ID: <4B95E222.8080803@gmail.com> On 09/03/2010 00:24, stephen barncard wrote: > Animated pngs have been specified, but don't run in all browsers (yet). > > Charmed I'm sure: or I will be when there are some programs to make animated PNGs . . . :) From richmondmathewson at gmail.com Tue Mar 9 00:56:00 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 09 Mar 2010 07:56:00 +0200 Subject: Application graphics In-Reply-To: References: Message-ID: <4B95E2F0.3000201@gmail.com> On 09/03/2010 00:51, Scott Rossi wrote: > Recently, Nicolas Cueto wrote: > > >>>> I advise you to use PNG for everything. It has an alpha channel and it is >>>> better than GIF. >>>> >> How about animations? >> > PNG may not be as convenient for animation as something like animated GIF, > but you can create animations by showing PNGs sequentially in an image > object (set the text of image "viewer" to the text of image > "frame1.png"...), or by sequentially setting the icon of a button to the IDs > of PNGs. > > Well . . . you can do that with any format that RunRev can cope with, although it does seem terribly clunky, or, Heaven forfend that I should let the phrase pass out my gab: "terribly Hypercardy". The advantage of this method is that it is easier to control things such as animation speed than with animated GIFs. From scott at tactilemedia.com Tue Mar 9 01:18:04 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 08 Mar 2010 22:18:04 -0800 Subject: Application graphics In-Reply-To: <4B95E2F0.3000201@gmail.com> Message-ID: Recently, Richmond Mathewson wrote: >> PNG may not be as convenient for animation as something like animated GIF, >> but you can create animations by showing PNGs sequentially in an image >> object (set the text of image "viewer" to the text of image >> "frame1.png"...), or by sequentially setting the icon of a button to the IDs >> of PNGs. >> >> > Well . . . you can do that with any format that RunRev can cope with, > although > it does seem terribly clunky, or, Heaven forfend that I should let the > phrase > pass out my gab: "terribly Hypercardy". > > The advantage of this method is that it is easier to control things such > as animation > speed than with animated GIFs. "Clunky" or not, PNG is better for several reasons: - GIF is capable of only 256 colors, PNG = much more - GIF supports only 1 bit mask (1 level of transparency), PNG supports 8 bit mask (256 levels of transparency) Besides, animated GIF format is simply the data of a bunch of GIF frames in a single file. If you want this same thing in Rev, import a bunch of PNGs as custom properties of an image. Presto. A single object with multiple frames, sans the "clunkyness". Regards, Scott Rossi Creative Director Tactile Media, UX Design From richmondmathewson at gmail.com Tue Mar 9 01:24:59 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 09 Mar 2010 08:24:59 +0200 Subject: Application graphics In-Reply-To: References: Message-ID: <4B95E9BB.9020501@gmail.com> On 09/03/2010 08:18, Scott Rossi wrote: > Recently, Richmond Mathewson wrote: > > >>> PNG may not be as convenient for animation as something like animated GIF, >>> but you can create animations by showing PNGs sequentially in an image >>> object (set the text of image "viewer" to the text of image >>> "frame1.png"...), or by sequentially setting the icon of a button to the IDs >>> of PNGs. >>> >>> >>> >> Well . . . you can do that with any format that RunRev can cope with, >> although >> it does seem terribly clunky, or, Heaven forfend that I should let the >> phrase >> pass out my gab: "terribly Hypercardy". >> >> The advantage of this method is that it is easier to control things such >> as animation >> speed than with animated GIFs. >> > "Clunky" or not, PNG is better for several reasons: > > - GIF is capable of only 256 colors, PNG = much more > - GIF supports only 1 bit mask (1 level of transparency), PNG supports 8 bit > mask (256 levels of transparency) > > Besides, animated GIF format is simply the data of a bunch of GIF frames in > a single file. If you want this same thing in Rev, import a bunch of PNGs > as custom properties of an image. Presto. A single object with multiple > frames, sans the "clunkyness". > > I was not advocating animated GIFs over the other method: animated GIFs are fairly awful! What I was doing was being anti showing sequences of images as it seems rather resource hungry. From scott at tactilemedia.com Tue Mar 9 01:36:42 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 08 Mar 2010 22:36:42 -0800 Subject: Application graphics In-Reply-To: <4B95E9BB.9020501@gmail.com> Message-ID: Recently, Richmond Mathewson wrote: > I was not advocating animated GIFs over the other method: animated GIFs are > fairly awful! What I was doing was being anti showing sequences of images > as it seems rather resource hungry. Nicolas Cueto's original question was whether PNG is suitable for doing animation. Regards, Scott Rossi Creative Director Tactile Media, UX Design From richmondmathewson at gmail.com Tue Mar 9 01:40:11 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 09 Mar 2010 08:40:11 +0200 Subject: Application graphics In-Reply-To: References: Message-ID: <4B95ED4B.6030103@gmail.com> On 09/03/2010 08:36, Scott Rossi wrote: > Recently, Richmond Mathewson wrote: > > >> I was not advocating animated GIFs over the other method: animated GIFs are >> fairly awful! What I was doing was being anti showing sequences of images >> as it seems rather resource hungry. >> > Nicolas Cueto's original question was whether PNG is suitable for doing > animation. > > I know, and I was off topic. The 'problem' of animated images has been discussed inconclusively before; I don't see much wrong with continuing to explore the topic. From palcibiades-first at yahoo.co.uk Tue Mar 9 02:05:16 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 8 Mar 2010 23:05:16 -0800 (PST) Subject: Windows Portable??? In-Reply-To: <905DABE2-B158-49D8-A030-5B9B639FE1F5@mac.com> References: <4B940594.5020901@gmail.com> <905DABE2-B158-49D8-A030-5B9B639FE1F5@mac.com> Message-ID: <1268118316644-1585598.post@n4.nabble.com> Here's a chart showing some portable app creators. The ones not included in the chart make an interesting list also. HIMhttp://virtualfuture.info/wp-content/uploads/2009/08/ApplicationVirtCompChart2009.pdf This stuff is proliferating. Sooner or later there are going to be multiple decent free versions, and for other platforms than Windows. Peter -- View this message in context: http://n4.nabble.com/Windows-Portable-tp1583835p1585598.html Sent from the Revolution - User mailing list archive at Nabble.com. From mazzapaoloitaly at gmail.com Tue Mar 9 02:37:37 2010 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Tue, 9 Mar 2010 08:37:37 +0100 Subject: Open HTML code with Revbrowser Message-ID: <4365fca01003082337y40d70856vbcc63daa45f63df5@mail.gmail.com> How can I open the Html code with revRrowser ? I mean, I have the Html Using... revBrowserOpen(tWinID,"http://www.google.com") I can open a Web page using an URL. What about opening a web page providing the Html code from the program? Kind of (but unfortunately it does not work this way).... put "Hello people" into MYHTMLCODE revBrowserOpen(tWinID,MYHTMLCODE) Thanks a lot Paolo Mazza From sarah.reichelt at gmail.com Tue Mar 9 03:02:14 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 9 Mar 2010 18:02:14 +1000 Subject: Open HTML code with Revbrowser In-Reply-To: <4365fca01003082337y40d70856vbcc63daa45f63df5@mail.gmail.com> References: <4365fca01003082337y40d70856vbcc63daa45f63df5@mail.gmail.com> Message-ID: On Tue, Mar 9, 2010 at 5:37 PM, paolo mazza wrote: > How can I ?open the Html code with revRrowser ? > I mean, I have the Html > > Using... revBrowserOpen(tWinID,"http://www.google.com") ? I can open a Web > page using an URL. > > What about opening a web page providing the Html code from the program? Open a browser with no URL. Then use revBrowserSet to fill it in with your html, e.g. revBrowserSet tBrowserID, "htmlText", MYHTMLCODE Cheers, Sarah From mb.userev at harbourhosting.co.uk Tue Mar 9 03:52:45 2010 From: mb.userev at harbourhosting.co.uk (Martin Baxter) Date: Tue, 09 Mar 2010 08:52:45 +0000 Subject: Comma-delimited values In-Reply-To: References: <4B954814.1090008@fourthworld.com> <4B9571C1.30509@hyperactivesw.com> Message-ID: <4B960C5D.3040700@harbourhosting.co.uk> And drink many beers, and dance on the coffin. Martin Baxter stephen barncard wrote: > We could have a funeral like IE6. > ------------------------- > Stephen Barncard > San Francisco > > > On 8 March 2010 13:53, J. Landman Gay wrote: > >> Richard Gaskin wrote: >> >> CSV must die. >> Oh come on, Richard, tell us what you really think. :) >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com From revolution at derbrill.de Tue Mar 9 03:58:46 2010 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Tue, 9 Mar 2010 09:58:46 +0100 Subject: Application graphics In-Reply-To: <20100205020204.A6882288B6A@mail.runrev.com> References: <20100205020204.A6882288B6A@mail.runrev.com> Message-ID: Throwing in my 2 cents here: I benchmarked setting the text of an image versus using the Icon of a button a while back and it turned out that setting the icon was a multitude faster. So I advocate for using png images on a different card and then using a button object as a placeholder to display the animation. I think I had a stack on the old revonline that demonstrated downsides of using gif and that showed how to do it with pngs. I can not currently log on to the new revOnline. Once I can I will reupload the stack. All the best, Malte From ambassador at fourthworld.com Tue Mar 9 07:39:15 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 09 Mar 2010 04:39:15 -0800 Subject: Application graphics Message-ID: <4B964173.4000306@fourthworld.com> Richmond Mathewson wrote: > I was not advocating animated GIFs over the other method: animated GIFs are > fairly awful! What I was doing was being anti showing sequences of images > as it seems rather resource hungry. What is an animation but a sequence of images shown in succession? A multi-frame GIF will usually offer better compression than the equivalent images in a series of PNGs, because most animated GIF generators offer options to store only the deltas of subsequent frames. But this comes at the cost of antialiasing, so the tradeoff may be quite acceptable for many uses. While swapping icon images may seem "HyperCardy", it works. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From marcio at cialogica.com.br Tue Mar 9 07:53:41 2010 From: marcio at cialogica.com.br (Marcio Alexandroni) Date: Tue, 09 Mar 2010 09:53:41 -0300 Subject: Application graphics In-Reply-To: <4B964173.4000306@fourthworld.com> Message-ID: Thanks for all your answers, now I know the way is the PNG. Do you know any PNG library we can have access or purchase with great icons, backgrounds, etc? Or perhaps some designer who offers something like this? I must confess I can build any kind of application in any platform or language but I can't design to save my life! Thanks. Marcio Alexandroni www.cialogica.com.br ( (11) 9989-8316 marcioalexandroni -- > From: Richard Gaskin > Reply-To: How to use Revolution > Date: Tue, 09 Mar 2010 04:39:15 -0800 > To: How to use Revolution > Subject: Re: Application graphics > > Richmond Mathewson wrote: >> I was not advocating animated GIFs over the other method: animated GIFs are >> fairly awful! What I was doing was being anti showing sequences of images >> as it seems rather resource hungry. > > What is an animation but a sequence of images shown in succession? > > A multi-frame GIF will usually offer better compression than the > equivalent images in a series of PNGs, because most animated GIF > generators offer options to store only the deltas of subsequent frames. > But this comes at the cost of antialiasing, so the tradeoff may be > quite acceptable for many uses. > > While swapping icon images may seem "HyperCardy", it works. > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From richmondmathewson at gmail.com Tue Mar 9 08:01:57 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 09 Mar 2010 15:01:57 +0200 Subject: Animated graphics ? In-Reply-To: <4B964173.4000306@fourthworld.com> References: <4B964173.4000306@fourthworld.com> Message-ID: <4B9646C5.8080706@gmail.com> Will RunRev display animated PNG images correctly? http://animatedpng.com/ From richmondmathewson at gmail.com Tue Mar 9 08:09:42 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 09 Mar 2010 15:09:42 +0200 Subject: Animated graphics ? Message-ID: <4B964896.2020702@gmail.com> This image: http://andregarzia.on-rev.com/richmond/pingdance.html works beautifully in Firefox 3, but not in RunRev. From klaus at major.on-rev.com Tue Mar 9 08:13:14 2010 From: klaus at major.on-rev.com (Klaus Major) Date: Tue, 9 Mar 2010 14:13:14 +0100 Subject: Animated graphics ? In-Reply-To: <4B9646C5.8080706@gmail.com> References: <4B964173.4000306@fourthworld.com> <4B9646C5.8080706@gmail.com> Message-ID: <2A977747-3B9C-4C34-9D2F-51060C14D380@major.on-rev.com> Am 09.03.2010 um 14:01 schrieb Richmond Mathewson: > Will RunRev display animated PNG images correctly? No, Rev does not support animated PNGs at all! > http://animatedpng.com/ Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From richmondmathewson at gmail.com Tue Mar 9 08:21:59 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 09 Mar 2010 15:21:59 +0200 Subject: Animated graphics ? In-Reply-To: <2A977747-3B9C-4C34-9D2F-51060C14D380@major.on-rev.com> References: <4B964173.4000306@fourthworld.com> <4B9646C5.8080706@gmail.com> <2A977747-3B9C-4C34-9D2F-51060C14D380@major.on-rev.com> Message-ID: <4B964B77.6080204@gmail.com> On 09/03/2010 15:13, Klaus Major wrote: > > No, Rev does not support animated PNGs at all! > > Maybe that is something to start agitating for. From andrew at rjdfarm.com Tue Mar 9 12:00:40 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 9 Mar 2010 09:00:40 -0800 (PST) Subject: Stacks and Standalones Message-ID: <1268154040436-1586282.post@n4.nabble.com> I am trying to package up a little preview of my app so far for my boss and am running into a few large snags. Saving as a stand alone (with all the guides I have been following) mangles the program and it crashes. Stack runner 2.0 runs the program mostly fine but it cannot find substacks to my Main.rev. Main.rev has several substacks "TopMenu" being one of them, but stack runner produces this revError Executing at 10:36:21 AM on Tuesday, March 9, 2010 Type: Chunk: can't find stack Object: card id 1002 of stack "TopMenu" of stack "C:/Rev/FOM2/main.rev" Line: put (the height of stack sMainStack + 30) + (the height of stack "TopMenu" + 30) + (the height of stack "Help" + 30) into sReportHeight Line Num: 4 Hint: buddy I am a little confused on how to refer to stacks/files/etc within rev. My program works fine within the IDE but is nearly totally broken no matter what stand alone solution I use. The layout of my app is as follows: Main.Rev has substacks --> "Calendar", "Help", "libSQLYoga", "Reports", "Resources", "SideMenu", "TopMenu" LeaseStack.rev has substacks --> "Edit Fields", "Edit Lease", "Edit Payments" Setup.rev has substacks --> "People Setup" How would I refer to "TopMenu"? Currently it is 'stack "TopMenu"'. How would I refer to "Edit Fields" of LeaseStack.rev from withing main.rev? currently its stack "LeaseStack" Surely my stand alone problems have to do with my code because they are so universal to all the solutions I have tried. Any help or direction you could provide would be fantastic. If I need to clarify at all, please let me know. Thanks, Andrew -- View this message in context: http://n4.nabble.com/Stacks-and-Standalones-tp1586282p1586282.html Sent from the Revolution - User mailing list archive at Nabble.com. From devin_asay at byu.edu Tue Mar 9 12:32:54 2010 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 9 Mar 2010 10:32:54 -0700 Subject: Stacks and Standalones In-Reply-To: <1268154040436-1586282.post@n4.nabble.com> References: <1268154040436-1586282.post@n4.nabble.com> Message-ID: <423B5E0D-FE5B-4592-B6D2-BBBFAA97135D@byu.edu> On Mar 9, 2010, at 10:00 AM, Andrew Kluthe wrote: > > I am trying to package up a little preview of my app so far for my > boss and > am running into a few large snags. > > Saving as a stand alone (with all the guides I have been following) > mangles > the program and it crashes. > Stack runner 2.0 runs the program mostly fine but it cannot find > substacks > to my Main.rev. Are you by chance setting the defaultFolder anywhere in any or your stacks? The default setting of that property that will change depending upon whether you're in the IDE or standalone or launching from a stack runner. Another possibility for the standalone: did you check the "Move substacks to individual stackfiles" box in the Stacks pane of the standalone builder? These are off the top of my head, and maybe grasping at straws, but I'm trying to think of things that might be different depending on the environment you're running in. Normally a standalone runs flawlessly if the stack in the IDE is working in the IDE. Devin > > Main.rev has several substacks "TopMenu" being one of them, but > stack runner > produces this revError > Executing at 10:36:21 AM on Tuesday, March 9, 2010 > Type: Chunk: can't find stack > Object: card id 1002 of stack "TopMenu" of stack "C:/Rev/FOM2/ > main.rev" > Line: put (the height of stack sMainStack + 30) + (the height of stack > "TopMenu" + 30) + (the height of stack "Help" + 30) into sReportHeight > Line Num: 4 > Hint: buddy > > I am a little confused on how to refer to stacks/files/etc within > rev. My > program works fine within the IDE but is nearly totally broken no > matter > what stand alone solution I use. > > The layout of my app is as follows: > > Main.Rev has substacks --> "Calendar", "Help", "libSQLYoga", > "Reports", > "Resources", "SideMenu", "TopMenu" > > > LeaseStack.rev has substacks --> "Edit Fields", "Edit Lease", "Edit > Payments" > > > Setup.rev has substacks --> "People Setup" > > How would I refer to "TopMenu"? Currently it is 'stack "TopMenu"'. > How would I refer to "Edit Fields" of LeaseStack.rev from withing > main.rev? > currently its stack "LeaseStack" > > Surely my stand alone problems have to do with my code because they > are so > universal to all the solutions I have tried. > > Any help or direction you could provide would be fantastic. If I > need to > clarify at all, please let me know. Devin Asay Humanities Technology and Research Support Center Brigham Young University From andrew at rjdfarm.com Tue Mar 9 12:42:14 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 9 Mar 2010 09:42:14 -0800 (PST) Subject: Stacks and Standalones In-Reply-To: <423B5E0D-FE5B-4592-B6D2-BBBFAA97135D@byu.edu> References: <1268154040436-1586282.post@n4.nabble.com> <423B5E0D-FE5B-4592-B6D2-BBBFAA97135D@byu.edu> Message-ID: <1268156534198-1586349.post@n4.nabble.com> I did not set the default folder. I will look this up in the dictionary right away. I tried the builder with both settings: individual and as they were. Neither had any effect on how it performed. -- View this message in context: http://n4.nabble.com/Stacks-and-Standalones-tp1586282p1586349.html Sent from the Revolution - User mailing list archive at Nabble.com. From andrew at rjdfarm.com Tue Mar 9 12:52:13 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 9 Mar 2010 09:52:13 -0800 (PST) Subject: Stacks and Standalones In-Reply-To: <1268156534198-1586349.post@n4.nabble.com> References: <1268154040436-1586282.post@n4.nabble.com> <423B5E0D-FE5B-4592-B6D2-BBBFAA97135D@byu.edu> <1268156534198-1586349.post@n4.nabble.com> Message-ID: <1268157133887-1586364.post@n4.nabble.com> No change from the stand alone builder. I do get warnings telling me that libsql yoga couldn't be searched because it was password protected. stack runner 2.0 runs a little bit better (still having a hard time finding handlers in "TopMenu") with adding that. Here is a new error I am getting though. Executing at 11:49:36 AM on Tuesday, March 9, 2010 Type: value: can't find object Object: stack "libSQLYoga" of stack "C:/Rev/FOM2/main.rev" Line Num: 0 Hint: database key "default" was not found Comments: -- View this message in context: http://n4.nabble.com/Stacks-and-Standalones-tp1586282p1586364.html Sent from the Revolution - User mailing list archive at Nabble.com. From lists at mangomultimedia.com Tue Mar 9 13:00:41 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 9 Mar 2010 13:00:41 -0500 Subject: Stacks and Standalones In-Reply-To: <1268157133887-1586364.post@n4.nabble.com> References: <1268154040436-1586282.post@n4.nabble.com> <423B5E0D-FE5B-4592-B6D2-BBBFAA97135D@byu.edu> <1268156534198-1586349.post@n4.nabble.com> <1268157133887-1586364.post@n4.nabble.com> Message-ID: <02FB1040-2B57-41F5-8DE8-6B12B8C885FC@mangomultimedia.com> On Mar 9, 2010, at 12:52 PM, Andrew Kluthe wrote: > No change from the stand alone builder. I do get warnings telling me > that > libsql yoga couldn't be searched because it was password protected. > > stack runner 2.0 runs a little bit better (still having a hard time > finding > handlers in "TopMenu") with adding that. Here is a new error I am > getting > though. > > Executing at 11:49:36 AM on Tuesday, March 9, 2010 > Type: value: can't find object > Object: stack "libSQLYoga" of stack "C:/Rev/FOM2/main.rev" > Line Num: 0 > Hint: database key "default" was not found This error would be thrown if you didn't load your SQL Yoga Database object for whatever reason. Can you verify that the code that loads the Database object is getting called in the standalone? -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From jiml at netrin.com Tue Mar 9 13:07:39 2010 From: jiml at netrin.com (Jim Lambert) Date: Tue, 9 Mar 2010 10:07:39 -0800 Subject: Application graphics In-Reply-To: <20100309173259.3DC592880B8@mail.runrev.com> References: <20100309173259.3DC592880B8@mail.runrev.com> Message-ID: <90D2F26B-E836-42FD-9433-08D8F8F5FC09@netrin.com> Scott wrote: > you can create animations by showing PNGs sequentially in an image > object (set the text of image "viewer" to the text of image > "frame1.png"...), or by sequentially setting the icon of a button to the IDs > of PNGs. Or by shifting a 'multi-frame' image inside a locked group. http://netrin.on-rev.com/animateimage/animateimage.html Jim Lambert From jim at visitrieve.com Tue Mar 9 13:07:53 2010 From: jim at visitrieve.com (Jim Bufalini) Date: Tue, 9 Mar 2010 08:07:53 -1000 Subject: Stacks and Standalones In-Reply-To: <1268154040436-1586282.post@n4.nabble.com> References: <1268154040436-1586282.post@n4.nabble.com> Message-ID: <001f01cabfb3$708f6f60$51ae4e20$@com> Andrew Kluthe wrote: > I am trying to package up a little preview of my app so far for my boss > and > am running into a few large snags. > > Saving as a stand alone (with all the guides I have been following) > mangles > the program and it crashes. > Stack runner 2.0 runs the program mostly fine but it cannot find > substacks > to my Main.rev. > > Main.rev has several substacks "TopMenu" being one of them, but stack > runner > produces this revError > Executing at 10:36:21 AM on Tuesday, March 9, 2010 > Type: Chunk: can't find stack > Object: card id 1002 of stack "TopMenu" of stack "C:/Rev/FOM2/main.rev" > Line: put (the height of stack sMainStack + 30) + (the height of stack > "TopMenu" + 30) + (the height of stack "Help" + 30) into sReportHeight > Line Num: 4 > Hint: buddy > > I am a little confused on how to refer to stacks/files/etc within rev. > My > program works fine within the IDE but is nearly totally broken no > matter > what stand alone solution I use. > > The layout of my app is as follows: > > Main.Rev has substacks --> "Calendar", "Help", "libSQLYoga", "Reports", > "Resources", "SideMenu", "TopMenu" > > > LeaseStack.rev has substacks --> "Edit Fields", "Edit Lease", "Edit > Payments" > > > Setup.rev has substacks --> "People Setup" > > How would I refer to "TopMenu"? Currently it is 'stack "TopMenu"'. > How would I refer to "Edit Fields" of LeaseStack.rev from withing > main.rev? > currently its stack "LeaseStack" > > Surely my stand alone problems have to do with my code because they are > so > universal to all the solutions I have tried. > > Any help or direction you could provide would be fantastic. If I need > to > clarify at all, please let me know. In the IDE, you have probably been manually opening Main.rev and then LeaseStack.rev and then Setup.rev and everything works. Understand that a standalone is essentially one stack (and its substacks). That one stack that you build into a standalone then has to do what you have been doing manually, which is open the other stacks. So assuming main.rev is your main stack that you are making into a standalone, in the preOpenStack handler of main.rev, you need to *go invisible stack "LeaseStack"* and *go invisible stack "Setup"* This will open the other two stacks without displaying them on the screen. For this to work, the two stacks (LeaseStack and Setup) need to be in the same folder as your standalone. When you launch your standalone, the defaultFolder is set to the folder that contains the standalone and this is where rev will, by default, look for the other main stacks to open. When you open a stack like LeaseStack, its substacks are automatically opened. So once you open the other two main stacks, then everything will work like it does now in the IDE. There are many variations on what I've said above, but essentially you need to make sure all of your stacks are open before you can address them. Aloha from Hawaii, Jim Bufalini From pete at mollysrevenge.com Tue Mar 9 13:29:55 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 9 Mar 2010 10:29:55 -0800 Subject: Comma-delimited values In-Reply-To: <20100309173259.3DC592880B8@mail.runrev.com> References: <20100309173259.3DC592880B8@mail.runrev.com> Message-ID: <056DF8EA-0C3B-4EDC-8294-4F6E5BAEB7F0@mollysrevenge.com> I have to deal with csv files from several different external sources where csv is the only option and I have no control over the options used to create them. I've run into most of the problems mentioned in this thread but they didn't seem that hard to solve. I use the "inquotes" flag method mentioned earlier in this thread and go through character by character to parse the data into separate fields. I'll admit that the files I have to deal with are not huge so I don't have to worry about performance issues but so far I haven;t run into any problems with that approach (let's hope it stays that way!) Nevertheless, I'd be happy to drink a few beers at the funeral!! Pete Haworth From williamdesmet at gmail.com Tue Mar 9 14:09:33 2010 From: williamdesmet at gmail.com (William de Smet) Date: Tue, 9 Mar 2010 20:09:33 +0100 Subject: Color cursors in RunRev 4.5? Message-ID: Hi there all, Can anyone give me a clue on how the color cursors work in the coming update 4.5? On what platforms will it be supported? Now I use 'set cursor to hand' a lot. Will this be colored too? Thanks! greetings, William From zryip.theslug at gmail.com Tue Mar 9 14:25:44 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 9 Mar 2010 20:25:44 +0100 Subject: Color cursors in RunRev 4.5? In-Reply-To: References: Message-ID: <64bda6471003091125u2949b7fapd4a30e00c075e6bb@mail.gmail.com> 2010/3/9 William de Smet : > Hi there all, > > Can anyone give me a clue on how the color cursors work in the coming update > 4.5? > On what platforms will it be supported? > > Now I use ?'set cursor to hand' a lot. > Will this be colored too? Hi William, Here is the quick runrev note about this feature: Cursor support has been improved. Cursors can now be set from any image, and the engine will process it appropriately depending on the platform: - Windows XP and above support full alpha-blended cursors up to 64x64 - Linux supports alpha blended cursors up to a size of 64x64 on recent X servers - Mac OS X supports alpha blended cursors up to 256x256. The engine will automatically scale down, or reduce the number of colors if it needs to do so for the cursor to be usable on the running system. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From richmondmathewson at gmail.com Tue Mar 9 14:57:20 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 09 Mar 2010 21:57:20 +0200 Subject: Color cursors in RunRev 4.5? In-Reply-To: <64bda6471003091125u2949b7fapd4a30e00c075e6bb@mail.gmail.com> References: <64bda6471003091125u2949b7fapd4a30e00c075e6bb@mail.gmail.com> Message-ID: <4B96A820.7020606@gmail.com> On 09/03/2010 21:25, zryip theSlug wrote: > 2010/3/9 William de Smet: >> >> coming update >> 4.5? >> Yum! When? From stephenREVOLUTION2 at barncard.com Tue Mar 9 14:58:57 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 9 Mar 2010 11:58:57 -0800 Subject: Color cursors in RunRev 4.5? In-Reply-To: <4B96A820.7020606@gmail.com> References: <64bda6471003091125u2949b7fapd4a30e00c075e6bb@mail.gmail.com> <4B96A820.7020606@gmail.com> Message-ID: this is NDA stuff, guys, not for the how-to list. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev On 9 March 2010 11:57, Richmond Mathewson wrote: > On 09/03/2010 21:25, zryip theSlug wrote: > >> 2010/3/9 William de Smet: >> >>> >>> coming update >>> 4.5? >>> >>> >> Yum! When? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From runrev260805 at m-r-d.de Tue Mar 9 16:48:12 2010 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Tue, 9 Mar 2010 21:48:12 +0000 Subject: Re-4: RevMobile first impressions? Message-ID: <00001194.4B96D02B@matthias.is-a-guru.com> Sarah, i now have tried it here with pre-alpha-4 on an iPhone to download a file from an http authenticated webfolder and it works here. I tried it only over WLAN. Did you try it with WLAN or with GSM/UMTS? Regards, Matthias -------- Original Message -------- Subject: Re: Re-2: RevMobile first impressions? (07-Mrz-2010 13:49) From: Sarah Reichelt To: runrev260805 at m-r-d.de > > > Sent from my iPhone > > On 07/03/2010, at 10:23 PM, runrev260805 at m-r-d.de wrote: > > > >> I can't download either a file or a web page from the internet. > > > > Hi Sarah, > > > > how do you download a file. I am using here > > > > put URL .... to download a textfile from an http authenticated > > webfolder and > > that works. At least in the iPhone simulator. > > > > I'm using "put URL" too and it works perfectly in the simulator but > not on an actual iPhone. > > Cheers, > Sarah > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > To: use-revolution at lists.runrev.com From runrev260805 at m-r-d.de Tue Mar 9 17:05:17 2010 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Tue, 9 Mar 2010 22:05:17 +0000 Subject: Re-5: RevMobile first impressions? Message-ID: <00001195.4B96D42C@matthias.is-a-guru.com> Hi, i tried it now also over GSM/UMTS and it works also. Only the spinning "wheel" while downloading from the internet is not shown, regardless if doing the download over WLAN or GSM/UMTS. Tested here now with an iPhone 3G and a 2G, both with the OS 3.1.3. Regards, Matthias -------- Original Message -------- Subject: Re-4: RevMobile first impressions? (09-Mrz-2010 22:49) From: runrev260805 at m-r-d.de To: runrev260805 at m-r-d.de > Sarah, > > i now have tried it here with pre-alpha-4 on an iPhone to download a file > from an http authenticated webfolder and it works here. I tried it only > over WLAN. > Did you try it with WLAN or with GSM/UMTS? > > Regards, > > Matthias > > -------- Original Message -------- > Subject: Re: Re-2: RevMobile first impressions? (07-Mrz-2010 13:49) > From: Sarah Reichelt > To: runrev260805 at m-r-d.de > > > > > > > Sent from my iPhone > > > > On 07/03/2010, at 10:23 PM, runrev260805 at m-r-d.de wrote: > > > > > >> I can't download either a file or a web page from the internet. > > > > > > Hi Sarah, > > > > > > how do you download a file. I am using here > > > > > > put URL .... to download a textfile from an http authenticated > > > webfolder and > > > that works. At least in the iPhone simulator. > > > > > > > I'm using "put URL" too and it works perfectly in the simulator but > > not on an actual iPhone. > > > > Cheers, > > Sarah > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > > > To: use-revolution at lists.runrev.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > To: use-revolution at lists.runrev.com From sanke at hrz.uni-kassel.de Tue Mar 9 17:10:33 2010 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Tue, 09 Mar 2010 23:10:33 +0100 Subject: Language comparisons: "Lua" - simpler and faster than RevTalk? Message-ID: <4B96C759.5050704@hrz.uni-kassel.de> A quote from a website: "An increasing number of software developers are making use of the simplicity and power behind employing a Lua script interface". I came across "Lua" when searching for image-filter algorithms on the web. "Lua" is being described for example as "an extensible extension language (especially for C-languages)" and is written in C itself - similar here to the Rev engine which is written in C++. Generally - judging on the basis of my limited experience with Lua - I do not think that Lua is simpler than RevTalk, but when it comes to image processing a few features stand out as even more "higher-level", and in that sense "simpler", than RevTalk. As Lua remains nearer to C, I assume that the execution of Lua scripts will be faster than such written in RevTalk. I do not know whether Lua scripts are compiled at runtime or build time. A number of image tools integrate Lua in the form of flter plug-ins or for other tasks: - "Adobe Photoshop Lightroom" uses Lua for its user interface and to create plugins (see the "Lightroom SDK Guide"). - "Gimp", the open-source and cross-platform Photoshop competitor uses "Gluas", a Lua environment plug-in - ("Gluas is a GIMP plug-in providing an environment for testing algorithms for image processing, using the Lua interpreter. The environment contains a simple editor for entering the algorithms.") - "DogLua" is based on a 'gluas' plugin spec developed initially for GIMP. Other programs in this category are - "Dogwaffle", "Artweaver", "Anim Studio", "TwistedBrush", "TexGen 0.61" ("is designed to meet all your needs of creating textures"), and also a new "Lua Image Processor".-- I want to address here only three aspects of Lua: 1. Coordinates of pixel positions and its RGB elements A typical skeleton script in Lua looks like this: "for y=0, height-1 do for x=0, width-1 do r,g,b = get_rgb(x,y) -- do your stuff here, in this case -- process the rgb values set_rgb (x,y,r,g,b) end progress(y/height) end" A near equivalent to this in RevTalk would be: "repeat with i = 0 to theight -1 repeat with j = 0 to twidth -1 put chartonum(char i * twidth * 4 + j * 4 + 2 of idata) into R put chartonum(char i * twidth * 4 + j * 4 + 3 of idata) into G put chartonum(char i * twidth * 4 + j * 4 + 4 of idata) into B -- manipulate the RGB values here put numtochar(R) into char i * twidth * 4 + j * 4 + 2 of idata put numtochar(G) into char i * twidth * 4 + j * 4 + 3 of idata put numtochar(B) into char i * twidth * 4 + j * 4 + 4 of idata end repeat end repeat" To speed up this Rev skeleton script the computations could of course be condensed and placed also outside the inner loop, at least partially: "put twidth * 4 into trow repeat with i = 0 to theight -1 put i * trow into ti repeat with j = 0 to twidth -1 put ti + j * 4 into tij put chartonum(char tij + 2 of idata) into R put chartonum(char tij + 3 of idata) into G put chartonum(char tij + 4 of idata) into B -- manipulate the RGB values here put numtochar(R) into char tij + 2 of idata put numtochar(G) into char tij + 3 of idata put numtochar(B) into char tij + 4 of idata end repeat end repeat". It is obvious that Lua needs only the two plain x,y coordinates to determine the position of a pixel and its RGB components. The more complex computations necessary in the Rev script are running internally "under the hood" of Lua - predefined in C, meaning that in this case Lua is using syntax elements of a higher level than Rev. Even if you use binaryDecode and -Encode functions instead of chartonum and numtochar triples in Rev, although visually they seem more like the Lua syntax " r,g,b = get_rgb(x,y)" and "set_rgb (x,y,r,g,b)", the amount of additional computations remains the same. If you place "GET binaryDEcode("CCC",char (tij +2) to (tij +4) of idata,R,G,B) #manipulate the data here PUT binaryEncode("CCC",R,G,B) into char (tij +2) to (tij +4) of idata" inside the Rev scripts above (instead of the six chartonum/numtochar lines) the execution of the script will be even noticeable slower. I tested this with a simple color-rotating script (shifting R -->G, G-->B, B -->R). The decode-encode variant proved to be 4 times slower here than with using chartonum-numtochar. The nested repeat-loop approach is indispensable when the position and spacial arrangement of color pixels play a role, like when creating mirrors, gradients, frames, blur, jitter, adding a grid overlay, matrix operations, applying changes to a selected area of an image etc. If all color pixels are processed in the same way, for example when adding a specific hue to all pixels, changing saturation, contrast, gamma correction, threshold filters a single repeat loop is sufficient with "repeat for each" or "repeat with n = 1 to tlength". In such cases "put after timagevar" can be used (with var "timagevar" set to empty before). Comparing the speed, I found that "put binaryEncode("CCCC",A,R,G,B) after timagevar" (# note that there are now *4* elements inside the encode function) is about 1/3 faster than "put numtochar(0) & numtochar(255) & numtochar(0) & numtochar(0) after timagevar". But if you have "pre-processed" the RGB values with numtochar before then " put tb & Rb & Gb & Bb after TimageVar" will be twice as fast as using binaryEncode. 2. Direct access to HSV/HSL values in Lua Unlike RevTalk "Lua" allows direct access to HSV values - Hue, Saturation, and Value (Luminance). The syntax is similar to getting and setting RGB values: " h,s,v = get_hsv(x,y)" and "set_hsv (x,y,h,s,v)" In the "define colors" dialog" as part of Rev's object inspector, from which you can open the respective OS-specific dialog, you can choose HSV values by clicking on the spectrum or entering values into the HSV fields, but you cannot directly set HSV values in a Rev script. In the Metacard IDE the functions "RGBtoHSV" and "HSVtoRGB" are available, historic scripts from Scott Raney which since the beginning of Metacard can be found in substack "Color Chooser" as part of the property inspector (e.g. in group "HSV" of card 1001 of stack "Color Chooser"). The Rev stack "revcolorchooser" in folder "Toolset" is identical to the MC stack, but it is a remnant from Metacard times, an "orphan", i.e it is no longer an integral part of the Rev IDE as it has been replaced by the color dialog of the specific platform used (From the Rev docs - concerning "answer color", but not only - : "This dialog box is displayed by the operating system, not by Revolution".). Using the two functions is fast when you need to access and convert the values of a single color, for example that of a graphic. But when you intend to manipulate the colors of each pixel of an image, e.g. when shifting the hue for a certain percentage of the spectrum, using "RGBtoHSV" and "HSVtoRGB" is very, very slow. Presently I am putting together a stack "Exploring Hues" in which I make frequent use of the two functions, which I had also integrated into my "Imagedata Toolkit" of 2006, where a corresponding group can be opened from button "Hues dialog".-- As both "Lua" and the Rev engine are based on "C" it must be easy to add direct access to HSV values via the Rev engine, too. What we could use at least, would be C-externals for the "RGBtoHSV" and "HSVtoRGB" functions. 3. RGB-color range from 0 to 1 in Lua This is only a side aspect, but one worth mentioning. RGB values in Lua are in the range of 0 to 1 instead of between 0 and 255 like in Rev. This has an interesting consequence because in a number of cases it can facilitate computations because you only need to divide by 1 instead of 255 - as in the following Lua "duotone" script: "function DoDuo --basically map the image to a gradient created from the 2 colors. for y = 0, height - 1 do for x = 0, width - 1 do r, g, b = get_rgb(x, y) av=(r+g+b)/3 av2=1-av r=(r2*av)+(r3*av2) g=(g2*av)+(g3*av2) b=(b2*av)+(b3*av2) set_rgb(x, y, r, g, b) end progress(y2) end" The center part of the above script "av=(r+g+b)/3 av2=1-av r=(r2*av)+(r3*av2) g=(g2*av)+(g3*av2) b=(b2*av)+(b3*av2)" when ported to RevTalk would read "put ((r+g+b)/3) into av put 255 - av into av2 put R2*av/255 + R3*av2/255 into R put G2*av/255 + G3*av2/255 into G put B2*av/255 + B3*av2/255 into B" You see that a divison by 255 has been added at six places, replacing - as it were - a "virtual" division by 1 , and additionally "1" in calculating the "av2" value has also been replaced by 255. The generic calculation behind this is as follows: The maximum value of the respective color range "tmax" - 1 in the case of Lua, 255 with Rev ( or the max of any other possible color range) - is used to adapt all values to the format of the specific color range: "put ((r+g+b)/3) into av put tmax - av into av2 put R2*av/tmax + R3*av2/tmax into R put G2*av/tmax + G3*av2/tmax into G put B2*av/tmax + B3*av2/tmax into B" You need to be careful when porting scripts from Lua to Rev to find out where you have to put in 255 for 1. ============= Stack "Imagedata Toolkit" already contained a number of ported Lua filters, among them "Kuwahara", "Jitter", and "B-contrast". The Lua "B-contrast" algorithm was later also used by Mark Waddingham as an example in his tutorials (in one of the Rev Newsletters) to build externals. In the meantime I have collected about twenty more Lua-filter scripts from various sources and ported them to Rev. I am working on a "Lua filters" stack which will be released shortly. The stack will contain image filters like "dynamic range", "pixelate", "bayer", "color diffusion", "flip & mix", "half lua" (image inside image), "threshold", "atmosph?re lunaire", "negative", "night vision", "grid", "sunset gradient", "quad mirror", "replace colors", "lua blur", "jitter-blur", "duotone" etc. along with additional filters developed from or inspired by Lua algorithms - "tritone", "quadtone", "relief grid" and other variants.-- What about a "Lua" plugin for Rev as in "Gimp"? Thank you for your patience - in case you read this text up to this point. Kind regards, Wilhelm Sanke From mcgrath3 at mac.com Tue Mar 9 17:51:09 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 09 Mar 2010 17:51:09 -0500 Subject: Animated gif issue Message-ID: <0A5763F7-C266-4099-8A16-7B82CFC38DBA@mac.com> I have a series of gif animations one after the other and while they are going through their sequences the user can click a button that moves on past the current animation and goes back to an earlier part of the animation. This seems to work well except that at the end of all of the sequences -- after the 'game' is done -- there is a build up of animations that were interrupted earlier like as if they were in a queue. If I click past 6 of the animations then there are six iterations at the end. I tried a cancel messages method along with the pendingMessages but it does not seem to affect this. If this makes sense to someone can you point me in the right direction here. It is frustrating to say the least. Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html From runrevron at gmail.com Tue Mar 9 18:18:16 2010 From: runrevron at gmail.com (Ron) Date: Wed, 10 Mar 2010 08:18:16 +0900 Subject: preopenstack handler interrupt? In-Reply-To: <43169522859.20100303101957@ahsoftware.net> References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> <7c87a2a11003030657n6914185evd15473b2ce1a8ab4@mail.gmail.com> <7c87a2a11003030709g50f31603tdb290eb95371f19f@mail.gmail.com> <7c87a2a11003030727s3c76e1e0j8ad8681dc26471ed@mail.gmail.com> <3C0ADBB7-2C4D-45AD-A587-FE3473CBDC93@dimensionB.de> <7c87a2a11003030805icaf333p3726873b23b34008@mail.gmail.com> <43169522859.20100303101957@ahsoftware.net> Message-ID: Greetings, I have a mainstack with a preopenstack and openstack handler in the card. In the preopenstack handler there is a call to write out a preference stack from a custom property, then open that stack, read data from that stack and then continue with other operations. My question is, is the preopenstack handler of the main stack completed before any preopenstack handlers in the preference stack? or does the call to open the preference stack interrupt the main stacks preopenstack handler? Thanks if you can follow this... Ron From bobs at twft.com Tue Mar 9 18:51:38 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 9 Mar 2010 15:51:38 -0800 Subject: preopenstack handler interrupt? In-Reply-To: References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> <7c87a2a11003030657n6914185evd15473b2ce1a8ab4@mail.gmail.com> <7c87a2a11003030709g50f31603tdb290eb95371f19f@mail.gmail.com> <7c87a2a11003030727s3c76e1e0j8ad8681dc26471ed@mail.gmail.com> <3C0ADBB7-2C4D-45AD-A587-FE3473CBDC93@dimensionB.de> <7c87a2a11003030805icaf333p3726873b23b34008@mail.gmail.com> <43169522859.20100303101957@ahsoftware.net> Message-ID: <3CDB25E8-E09C-4981-8671-74EEF23541CA@twft.com> Hi Ron. Are openStack and preOpenStack sent to the card or just the stack?? Seems odd to send a stack message to the current card. Bob On Mar 9, 2010, at 3:18 PM, Ron wrote: > Greetings, > > I have a mainstack with a preopenstack and openstack handler in the card. In the preopenstack handler there is a call to write out a preference stack from a custom property, then open that stack, read data from that stack and then continue with other operations. > > My question is, is the preopenstack handler of the main stack completed before any preopenstack handlers in the preference stack? or does the call to open the preference stack interrupt the main stacks preopenstack handler? > > Thanks if you can follow this... > > Ron > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Tue Mar 9 18:55:50 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 9 Mar 2010 15:55:50 -0800 Subject: preopenstack handler interrupt? In-Reply-To: References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> <7c87a2a11003030657n6914185evd15473b2ce1a8ab4@mail.gmail.com> <7c87a2a11003030709g50f31603tdb290eb95371f19f@mail.gmail.com> <7c87a2a11003030727s3c76e1e0j8ad8681dc26471ed@mail.gmail.com> <3C0ADBB7-2C4D-45AD-A587-FE3473CBDC93@dimensionB.de> <7c87a2a11003030805icaf333p3726873b23b34008@mail.gmail.com> <43169522859.20100303101957@ahsoftware.net> Message-ID: To answer your question, it is my understanding that Revolution, being single threaded, will complete the preopenstack handler before anything else is launched. Otherwise, you could put a breakpoint in the PreOpenCard handler, and every other handler without a breakpoint would get processed while you were debugging the preOpenStack handler. That would be nutz. Obviously this is not the case. The exception to this is if you use send in time, in which case that call will get handled even if the calling procedure is not finished yet. Bob On Mar 9, 2010, at 3:18 PM, Ron wrote: > Greetings, > > I have a mainstack with a preopenstack and openstack handler in the card. In the preopenstack handler there is a call to write out a preference stack from a custom property, then open that stack, read data from that stack and then continue with other operations. > > My question is, is the preopenstack handler of the main stack completed before any preopenstack handlers in the preference stack? or does the call to open the preference stack interrupt the main stacks preopenstack handler? > > Thanks if you can follow this... > > Ron > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sarah.reichelt at gmail.com Tue Mar 9 18:56:48 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 10 Mar 2010 09:56:48 +1000 Subject: Re-5: RevMobile first impressions? In-Reply-To: <00001195.4B96D42C@matthias.is-a-guru.com> References: <00001195.4B96D42C@matthias.is-a-guru.com> Message-ID: Thanks for testing Matthias. I have got it to work now over WiFi, but hadn't tested on 3G. There are new download progress messages, but I haven't bothered to implement them yet. However as you say, it would be nice if the system "wheel" in the status bar was operational. Cheers, Sarah On Wed, Mar 10, 2010 at 8:05 AM, wrote: > Hi, > > i tried it now also over GSM/UMTS and it works also. Only the spinning "wheel" while downloading from the internet is not shown, regardless if doing the download over WLAN or GSM/UMTS. > > Tested here now with an iPhone 3G and a 2G, both with the OS 3.1.3. > > Regards, > > Matthias > > -------- Original Message -------- > Subject: Re-4: RevMobile first impressions? (09-Mrz-2010 22:49) > From: ? ?runrev260805 at m-r-d.de > To: ? ? ?runrev260805 at m-r-d.de > >> Sarah, >> >> i now have tried it here with pre-alpha-4 on an iPhone to download a file >> from an http authenticated webfolder and it works here. I tried it only >> over WLAN. >> Did you try it with WLAN or with GSM/UMTS? >> >> Regards, >> >> Matthias >> >> -------- Original Message -------- >> Subject: Re: Re-2: RevMobile first impressions? (07-Mrz-2010 13:49) >> From: ? ?Sarah Reichelt >> To: ? ? ?runrev260805 at m-r-d.de >> >> > >> > >> > Sent from my iPhone >> > >> > On 07/03/2010, at 10:23 PM, runrev260805 at m-r-d.de wrote: >> > > >> > >> I can't download either a file or a web page from the internet. >> > > >> > > Hi Sarah, >> > > >> > > how do you download a file. I am using here >> > > >> > > put URL .... ?to download a textfile from an ?http authenticated >> > > webfolder and >> > > that works. At least in the iPhone simulator. >> > > >> > >> > I'm using "put URL" too and it works perfectly in the simulator but >> > not on an actual iPhone. >> > >> > Cheers, >> > Sarah >> > >> > _______________________________________________ >> > use-revolution mailing list >> > use-revolution at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-revolution >> > >> > >> > >> > >> > To: use-revolution at lists.runrev.com >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> >> >> To: use-revolution at lists.runrev.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jim at visitrieve.com Tue Mar 9 20:32:52 2010 From: jim at visitrieve.com (Jim Bufalini) Date: Tue, 9 Mar 2010 15:32:52 -1000 Subject: preopenstack handler interrupt? In-Reply-To: References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> <7c87a2a11003030657n6914185evd15473b2ce1a8ab4@mail.gmail.com> <7c87a2a11003030709g50f31603tdb290eb95371f19f@mail.gmail.com> <7c87a2a11003030727s3c76e1e0j8ad8681dc26471ed@mail.gmail.com> <3C0ADBB7-2C4D-45AD-A587-FE3473CBDC93@dimensionB.de> <7c87a2a11003030805icaf333p3726873b23b34008@mail.gmail.com> <43169522859.20100303101957@ahsoftware.net> Message-ID: <002f01cabff1$9a65d930$cf318b90$@com> Ron wrote: > I have a mainstack with a preopenstack and openstack handler in the > card. In the preopenstack handler there is a call to write out a > preference stack from a custom property, then open that stack, read > data from that stack and then continue with other operations. > > My question is, is the preopenstack handler of the main stack > completed before any preopenstack handlers in the preference stack? or > does the call to open the preference stack interrupt the main stacks > preopenstack handler? > > Thanks if you can follow this... The preOpenStack and openStack of the PREFERENCES stack will complete prior to the completion of the MAINSTACK. This is because you are calling for the opening of the preferences stack from inside of the preOpenStack handler of the mainstack. As opening a stack requires the preOpenStack and openStack to run for the stack to be "opened," these handlers of the preference stack will run before control is returned to the preOpenStack of the mainstack to continue running. Otherwise, you would not be able to open a stack and do something with it (like *start using*) from within the preOpenStack of another stack. Aloha from Hawaii, Jim Bufalini From mikekann at yahoo.com Tue Mar 9 20:49:56 2010 From: mikekann at yahoo.com (Michael Kann) Date: Tue, 9 Mar 2010 17:49:56 -0800 (PST) Subject: iPhone Developer Program License Agreement In-Reply-To: <4B96C759.5050704@hrz.uni-kassel.de> Message-ID: <259933.48724.qm@web56708.mail.re3.yahoo.com> http://www.eff.org/files/20100302_iphone_dev_agr.pdf From robert at rman.on-rev.com Tue Mar 9 20:55:23 2010 From: robert at rman.on-rev.com (Robert Man) Date: Tue, 9 Mar 2010 17:55:23 -0800 (PST) Subject: [revMobile] datagrid compatibility : first basic traial is negative! Message-ID: <1268186123118-1586846.post@n4.nabble.com> tried avery simple basic data grid with lines in a form (just added lines in content inspector). Id does not work -- the little lift on the side works but displaces nothing -- line have no reaction (no highligjt and no moving!) Is that a feature planned out or in in in a near future? -- View this message in context: http://n4.nabble.com/revMobile-datagrid-compatibility-first-basic-traial-is-negative-tp1586846p1586846.html Sent from the Revolution - User mailing list archive at Nabble.com. From jim at visitrieve.com Tue Mar 9 20:56:43 2010 From: jim at visitrieve.com (Jim Bufalini) Date: Tue, 9 Mar 2010 15:56:43 -1000 Subject: preopenstack handler interrupt? In-Reply-To: <3CDB25E8-E09C-4981-8671-74EEF23541CA@twft.com> References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> <7c87a2a11003030657n6914185evd15473b2ce1a8ab4@mail.gmail.com> <7c87a2a11003030709g50f31603tdb290eb95371f19f@mail.gmail.com> <7c87a2a11003030727s3c76e1e0j8ad8681dc26471ed@mail.gmail.com> <3C0ADBB7-2C4D-45AD-A587-FE3473CBDC93@dimensionB.de> <7c87a2a11003030805icaf333p3726873b23b34008@mail.gmail.com> <43169522859.20100303101957@ahsoftware.net> <3CDB25E8-E09C-4981-8671-74EEF23541CA@twft.com> Message-ID: <003001cabff4$ef3788c0$cda69a40$@com> Bob Sneidar wrote: > Are openStack and preOpenStack sent to the card or just the stack?? > Seems odd to send a stack message to the current card. If the preOpenStack and openStack handlers are in the first card of a stack and not in the stack script of the stack, then they are executed from the card script. Aloha from Hawaii, Jim Bufalini From runrevron at gmail.com Tue Mar 9 21:10:14 2010 From: runrevron at gmail.com (Ron) Date: Wed, 10 Mar 2010 11:10:14 +0900 Subject: preopenstack handler interrupt? In-Reply-To: <002f01cabff1$9a65d930$cf318b90$@com> References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> <7c87a2a11003030657n6914185evd15473b2ce1a8ab4@mail.gmail.com> <7c87a2a11003030709g50f31603tdb290eb95371f19f@mail.gmail.com> <7c87a2a11003030727s3c76e1e0j8ad8681dc26471ed@mail.gmail.com> <3C0ADBB7-2C4D-45AD-A587-FE3473CBDC93@dimensionB.de> <7c87a2a11003030805icaf333p3726873b23b34008@mail.gmail.com> <43169522859.20100303101957@ahsoftware.net> <002f01cabff1$9a65d930$cf318b90$@com> Message-ID: <6B6B2F67-CEE4-4241-B5F7-AA0D0ABEAA7C@gmail.com> Thanks Jim and Bob, Jim, this is what I thought but I am experiencing sudden death of the application that seems to be related to setting the menubar based on data in the pref stack. Based on the sequence of preopenstack of main stack runs until command to open the pref stack then preopenstack of pref stack runs openstack of pref stack runs preopenstack of main stack finishes openstack of main stack runs I'll keep working on the problem. Bob - the preopenstack and openstack in the main stack are in the card so that only the opening of the mainstack sends the message. Otherwise, every other stack that opens would eventually (unless explicitly stopped) pass through the mainstack handler and I want to avoid that. Thanks Ron On Mar 10, 2010, at 10:32 AM, Jim Bufalini wrote: > Ron wrote: > >> I have a mainstack with a preopenstack and openstack handler in the >> card. In the preopenstack handler there is a call to write out a >> preference stack from a custom property, then open that stack, read >> data from that stack and then continue with other operations. >> >> My question is, is the preopenstack handler of the main stack >> completed before any preopenstack handlers in the preference stack? >> or >> does the call to open the preference stack interrupt the main stacks >> preopenstack handler? >> >> Thanks if you can follow this... > > The preOpenStack and openStack of the PREFERENCES stack will > complete prior > to the completion of the MAINSTACK. > > This is because you are calling for the opening of the preferences > stack > from inside of the preOpenStack handler of the mainstack. As opening > a stack > requires the preOpenStack and openStack to run for the stack to be > "opened," > these handlers of the preference stack will run before control is > returned > to the preOpenStack of the mainstack to continue running. Otherwise, > you > would not be able to open a stack and do something with it (like > *start > using*) from within the preOpenStack of another stack. > > Aloha from Hawaii, > > Jim Bufalini > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From nealk3nc at gmail.com Tue Mar 9 21:14:31 2010 From: nealk3nc at gmail.com (Neal Campbell) Date: Tue, 9 Mar 2010 21:14:31 -0500 Subject: [revMobile] datagrid compatibility : first basic traial is negative! In-Reply-To: <1268186123118-1586846.post@n4.nabble.com> References: <1268186123118-1586846.post@n4.nabble.com> Message-ID: <325413301003091814x3049be64rbf2f226012ff76fd@mail.gmail.com> Rev is positioning the current release a "pre-alpha" or a very good prototype so I am not sure its very valuable to look at whats there and guess what will ultimately be there. What we have is just the state of what we have. Ben's movie gives an impression (at least I think) that the product is further along than the release email says it is! I think we just have to try things out, report back on whats not working and then wait for the next cycle. Best wishes Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com (540) 645 5394 NEW PHONE NUMBER Amateur Radio: K3NC Blog: http://www.abrohamnealsoftware.com/blog/ DXBase bug reports: email to cases at dxbase.fogbugz.com Abroham Neal forums: http:/www.abrohamnealsoftware.com/community/ On Tue, Mar 9, 2010 at 8:55 PM, Robert Man wrote: > > tried avery simple basic data grid with lines in a form (just added lines > in > content inspector). > Id does not work > -- the little lift on the side works but displaces nothing > -- line have no reaction (no highligjt and no moving!) > > Is that a feature planned out or in in in a near future? > > -- > View this message in context: > http://n4.nabble.com/revMobile-datagrid-compatibility-first-basic-traial-is-negative-tp1586846p1586846.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From davidocoker at gmail.com Tue Mar 9 21:22:34 2010 From: davidocoker at gmail.com (David Coker) Date: Tue, 9 Mar 2010 20:22:34 -0600 Subject: RevBrowser.... help needed Message-ID: I've started working on my first RevBrowser enabled application and have run into the proverbial brick wall. Rather than taking a chance on messing up my real stack, I made a test stack with a functional web browser (finally). The stack contains a tab control where one tab has a large edit field and in the other tab I want to display the browser. I'm using the "hide group" method to navigate the tabs. After several hours of trying different approaches, I've yet to find a way to hide the browser control when on the "other" tab. Since the browser is an entirely different window, I can't seem to hide it behind anything and it wants to stay on top regardless of what I do. I'm too tired to continue messing with it tonight, so my next attempt will be to somehow move it off the viewable area of the stack. the put it back when the other tab is clicked. In the meanwhile... ...has anyone else already accomplished this and if so, would you be so kind as to share your secret(s)? This project is at a dead stall until I can make this work, otherwise I'll have to shuck some of the planned functionality and re-think the entire thing from the start. :-( Best regards, David C. From sarah.reichelt at gmail.com Tue Mar 9 21:40:22 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 10 Mar 2010 12:40:22 +1000 Subject: RevBrowser.... help needed In-Reply-To: References: Message-ID: On Wed, Mar 10, 2010 at 12:22 PM, David Coker wrote: > I've started working on my first RevBrowser enabled application and > have run into the proverbial brick wall. > > Rather than taking a chance on messing up my real stack, I made a test > stack with a functional web browser (finally). The stack contains a > tab control where one tab has a large edit field and in the other tab > I want to display the browser. I'm using the "hide group" method to > navigate the tabs. Check out the docs for revBrowserSet. This should work: revBrowserSet tBrowserID, "visible", false Cheers, Sarah From jim at visitrieve.com Tue Mar 9 21:47:40 2010 From: jim at visitrieve.com (Jim Bufalini) Date: Tue, 9 Mar 2010 16:47:40 -1000 Subject: preopenstack handler interrupt? In-Reply-To: <6B6B2F67-CEE4-4241-B5F7-AA0D0ABEAA7C@gmail.com> References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> <7c87a2a11003030657n6914185evd15473b2ce1a8ab4@mail.gmail.com> <7c87a2a11003030709g50f31603tdb290eb95371f19f@mail.gmail.com> <7c87a2a11003030727s3c76e1e0j8ad8681dc26471ed@mail.gmail.com> <3C0ADBB7-2C4D-45AD-A587-FE3473CBDC93@dimensionB.de> <7c87a2a11003030805icaf333p3726873b23b34008@mail.gmail.com> <43169522859.20100303101957@ahsoftware.net> <002f01cabff1$9a65d930$cf318b90$@com> <6B6B2F67-CEE4-4241-B5F7-AA0D0ABEAA7C@gmail.com> Message-ID: <003401cabffc$0dbc2ba0$293482e0$@com> Ron wrote: > Thanks Jim and Bob, > Jim, this is what I thought but I am experiencing sudden death of the > application that seems to be related to setting the menubar based on > data in the pref stack. Based on the sequence of > preopenstack of main stack runs until command to open the pref stack > then > preopenstack of pref stack runs > openstack of pref stack runs > preopenstack of main stack finishes > openstack of main stack runs > > I'll keep working on the problem. > > > Bob - the preopenstack and openstack in the main stack are in the card > so that only the opening of the mainstack sends the message. > Otherwise, every other stack that opens would eventually (unless > explicitly stopped) pass through the mainstack handler and I want to > avoid that. Your sequence concept and reason for putting these handlers in the card script are correct. What do you mean by "...data in the pref stack"? Is this in a custom property? Field? Are you correctly referencing as in *the uMenuItems of stack "Preferences"? If so, try moving your menu building to the end of the openStack handler of Mainstack and see if that makes a difference, although I don't think it should, but I don't know all the rest of your code, so am just guessing. Happy hunting! Aloha from Hawaii, Jim Bufalini From billziegler at mac.com Tue Mar 9 23:06:55 2010 From: billziegler at mac.com (Bill Ziegler) Date: Tue, 09 Mar 2010 23:06:55 -0500 Subject: Help with save as or new using standalones Message-ID: I've created some programs for students with disabilities. At first I circulated them with the the Mac and Pc players. It was easy to script a 'New' that copied the stack and cleared all text and audioClips. The 'Save as' made a copied of the stack. Both renamed the new stack. Schools with pc's need them to run from the startup menu since the students can't drag them onto the player. I made them standalones but now I don't know the proper way or logic or even an intelligent way to ask the question of duplicating them. The Mac version is in a package, the pc is in a folder with an externals folder, the slpashstack and the real stack. I need to keep the audio in the stacks to make it easier for students to transport their work from home to school and back. Would I use the copyFolder command and save it to the same level/ folder as the original? I have them on my On-Rev Server website at www.billziegler.com . The two I'm having trouble with, when turned into standalones, are the "ReportCards MacPC" and "Just Say It". I couldn't find anything in the archives. If there is an old post or a tutorial in detail I could start with that. Thanks in advanced bill From runrev260805 at m-r-d.de Wed Mar 10 04:41:24 2010 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Wed, 10 Mar 2010 09:41:24 +0000 Subject: OT: Mac Heist Bundle Message-ID: <000011FA.4B977753@matthias.is-a-guru.com> Hi, maybe someone missed that. So i thought to mention it here. MacHeist is offering a new bundle for 19.95$ (only 1 day left). It includes Rapidweaver, which costs 79,95$ normally. Regards, Matthias From viktoras at ekoinf.net Wed Mar 10 05:04:18 2010 From: viktoras at ekoinf.net (viktoras d.) Date: Wed, 10 Mar 2010 10:04:18 +0000 Subject: Language comparisons: "Lua" - simpler and faster than RevTalk? In-Reply-To: <4B96C759.5050704@hrz.uni-kassel.de> References: <4B96C759.5050704@hrz.uni-kassel.de> Message-ID: <4B976EA2.1000302@ekoinf.net> the sad fact is that many languages out there have a simpler mechanism (implemented via libraries) to access and manipulate image pixels. RevTalk does not have such a library and manipulation of image pixels is therefore unfortunately very slow and awkward :-( A year ago I put a suggestion for an enhancement in the QC for "more efficient pixel access in images" #7636. However its status is still unconfirmed. Maybe I have to change severity from enhancement to critical to make this report more noticeable :-) Viktoras Wilhelm Sanke wrote: > A quote from a website: "An increasing number of software developers > are making use of the simplicity and power behind employing a Lua > script interface". > > I came across "Lua" when searching for image-filter algorithms on the > web. > > "Lua" is being described for example as "an extensible extension > language (especially for C-languages)" and is written in C itself - > similar here to the Rev engine which is written in C++. Generally - > judging on the basis of my limited experience with Lua - I do not > think that Lua is simpler than RevTalk, but when it comes to image > processing a few features stand out as even more "higher-level", and > in that sense "simpler", than RevTalk. > > As Lua remains nearer to C, I assume that the execution of Lua scripts > will be faster than such written in RevTalk. I do not know whether Lua > scripts are compiled at runtime or build time. > > A number of image tools integrate Lua in the form of flter plug-ins or > for other tasks: > > - "Adobe Photoshop Lightroom" uses Lua for its user interface and to > create plugins (see the "Lightroom SDK Guide"). > > - "Gimp", the open-source and cross-platform Photoshop competitor uses > "Gluas", a Lua environment plug-in - ("Gluas is a GIMP plug-in > providing an environment for testing algorithms for image processing, > using the Lua interpreter. The environment contains a simple editor > for entering the algorithms.") > > - "DogLua" is based on a 'gluas' plugin spec developed initially for > GIMP. > > Other programs in this category are > > - "Dogwaffle", "Artweaver", "Anim Studio", "TwistedBrush", "TexGen > 0.61" ("is designed to meet all your needs of creating textures"), and > also a new "Lua Image Processor".-- > > I want to address here only three aspects of Lua: > > 1. Coordinates of pixel positions and its RGB elements > > A typical skeleton script in Lua looks like this: > > "for y=0, height-1 do > for x=0, width-1 do > r,g,b = get_rgb(x,y) > > -- do your stuff here, in this case > -- process the rgb values > > set_rgb (x,y,r,g,b) > end > progress(y/height) > end" > > A near equivalent to this in RevTalk would be: > > "repeat with i = 0 to theight -1 > repeat with j = 0 to twidth -1 > put chartonum(char i * twidth * 4 + j * 4 + 2 of idata) into R > put chartonum(char i * twidth * 4 + j * 4 + 3 of idata) into G > put chartonum(char i * twidth * 4 + j * 4 + 4 of idata) into B > > -- manipulate the RGB values here > > put numtochar(R) into char i * twidth * 4 + j * 4 + 2 of idata > put numtochar(G) into char i * twidth * 4 + j * 4 + 3 of idata > put numtochar(B) into char i * twidth * 4 + j * 4 + 4 of idata > end repeat > end repeat" > > To speed up this Rev skeleton script the computations could of course > be condensed and placed also outside the inner loop, at least partially: > > "put twidth * 4 into trow > repeat with i = 0 to theight -1 > put i * trow into ti > repeat with j = 0 to twidth -1 > put ti + j * 4 into tij > put chartonum(char tij + 2 of idata) into R > put chartonum(char tij + 3 of idata) into G > put chartonum(char tij + 4 of idata) into B > > -- manipulate the RGB values here > > put numtochar(R) into char tij + 2 of idata > put numtochar(G) into char tij + 3 of idata > put numtochar(B) into char tij + 4 of idata > > end repeat > end repeat". > > It is obvious that Lua needs only the two plain x,y coordinates to > determine the position of a pixel and its RGB components. The more > complex computations necessary in the Rev script are running > internally "under the hood" of Lua - predefined in C, meaning that in > this case Lua is using syntax elements of a higher level than Rev. --- From luis at anachreon.co.uk Wed Mar 10 06:10:16 2010 From: luis at anachreon.co.uk (Luis) Date: Wed, 10 Mar 2010 11:10:16 +0000 Subject: Application graphics In-Reply-To: References: Message-ID: Hiya, www.DryIcons.com has 3 licensing options: Free, Commercial and Extended. The Commercial license is $12.95. They, and a myriad other sites, also offer a Custom Icon Service. Cheers, Luis. On 9 Mar 2010, at 12:53, Marcio Alexandroni wrote: > Thanks for all your answers, now I know the way is the PNG. > > Do you know any PNG library we can have access or purchase with > great icons, > backgrounds, etc? Or perhaps some designer who offers something > like this? > > I must confess I can build any kind of application in any platform or > language but I can't design to save my life! > > Thanks. > > Marcio Alexandroni > www.cialogica.com.br > ( (11) 9989-8316 > marcioalexandroni > -- > > > >> From: Richard Gaskin >> Reply-To: How to use Revolution >> Date: Tue, 09 Mar 2010 04:39:15 -0800 >> To: How to use Revolution >> Subject: Re: Application graphics >> >> Richmond Mathewson wrote: >>> I was not advocating animated GIFs over the other method: >>> animated GIFs are >>> fairly awful! What I was doing was being anti showing sequences >>> of images >>> as it seems rather resource hungry. >> >> What is an animation but a sequence of images shown in succession? >> >> A multi-frame GIF will usually offer better compression than the >> equivalent images in a series of PNGs, because most animated GIF >> generators offer options to store only the deltas of subsequent >> frames. >> But this comes at the cost of antialiasing, so the tradeoff may be >> quite acceptable for many uses. >> >> While swapping icon images may seem "HyperCardy", it works. >> >> -- >> Richard Gaskin >> Fourth World >> Rev training and consulting: http://www.fourthworld.com >> Webzine for Rev developers: http://www.revjournal.com >> revJournal blog: http://revjournal.com/blog.irv >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mazzapaoloitaly at gmail.com Wed Mar 10 06:11:01 2010 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Wed, 10 Mar 2010 12:11:01 +0100 Subject: Open HTML code with Revbrowser In-Reply-To: References: <4365fca01003082337y40d70856vbcc63daa45f63df5@mail.gmail.com> Message-ID: <4365fca01003100311h30f561cbx870377dddfe65251@mail.gmail.com> Thank you Sarah really helpfull. On Tue, Mar 9, 2010 at 9:02 AM, Sarah Reichelt wrote: > On Tue, Mar 9, 2010 at 5:37 PM, paolo mazza > wrote: > > How can I open the Html code with revRrowser ? > > I mean, I have the Html > > > > Using... revBrowserOpen(tWinID,"http://www.google.com") I can open a > Web > > page using an URL. > > > > What about opening a web page providing the Html code from the program? > > > Open a browser with no URL. > Then use revBrowserSet to fill it in with your html, > e.g. > revBrowserSet tBrowserID, "htmlText", MYHTMLCODE > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mazzapaoloitaly at gmail.com Wed Mar 10 06:30:27 2010 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Wed, 10 Mar 2010 12:30:27 +0100 Subject: Regular expression Message-ID: <4365fca01003100330n40ae1ad9n2a5f1e1dc8d22359@mail.gmail.com> To me regular expressions are tricky! I need to extract the string HTTPWEB from the string "xxxxxx src='HTTPWEB' width='3845' height='334' xxxxx" If I use the regular expression (src='.*') and the matchChunk command, I get this string : "src='HTTPWEB' width='3845' height='334'" (see the following RevTalk script) Which is the regular expression to get just the argument of the src variable ( HTTPWEB in this example)? Thanks a lot Paolo Mazza SAMPLE CODE on mouseUp local TESTO,STRINGA,VAR1,VAR2 put "xxxxxx src='HTTPWEB' width='3845' height='334' xxxxx" into TESTO put "(src='.*')" into STRINGA put matchText(TESTO,STRINGA) & return into message if matchChunk(TESTO,STRINGA,VAR1,VAR2) then PUT char VAR1 to VAR2 of TESTO into message else put "not found!" into message end if end mouseUp From m.schonewille at economy-x-talk.com Wed Mar 10 06:42:03 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 10 Mar 2010 12:42:03 +0100 Subject: Regular expression In-Reply-To: <4365fca01003100330n40ae1ad9n2a5f1e1dc8d22359@mail.gmail.com> References: <4365fca01003100330n40ae1ad9n2a5f1e1dc8d22359@mail.gmail.com> Message-ID: Hi Paolo, This works: put empty into mySource put empty into myStart put empty into myEnd put matchText("xxxxxx src='HTTPWEB' width='3845' height='334' xxxxx","src='([a-zA-Z0-9 ]+)'",mySource) put matchChunk("xxxxxx src='HTTPWEB' width='3845' height='334' xxxxx","src='([a-zA-Z0-9 ]+)'",myStart,myEnd) put mySource & cr & myStart & comma & myEnd Best, Mark -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 10 mrt 2010, om 12:30 heeft paolo mazza het volgende geschreven: > To me regular expressions are tricky! > > I need to extract the string HTTPWEB from the string "xxxxxx > src='HTTPWEB' > width='3845' height='334' xxxxx" > > If I use the regular expression (src='.*') and the matchChunk command, > > I get this string : "src='HTTPWEB' width='3845' > height='334'" (see the > following RevTalk script) > > > Which is the regular expression to get just the argument of the src > variable ( HTTPWEB in this example)? > > Thanks a lot > > Paolo Mazza > > SAMPLE CODE > > on mouseUp > local TESTO,STRINGA,VAR1,VAR2 > > put "xxxxxx src='HTTPWEB' width='3845' height='334' xxxxx" into > TESTO > > put "(src='.*')" into STRINGA > > put matchText(TESTO,STRINGA) & return into message > > if matchChunk(TESTO,STRINGA,VAR1,VAR2) then > PUT char VAR1 to VAR2 of TESTO into message > else > put "not found!" into message > end if > > end mouseUp From mazzapaoloitaly at gmail.com Wed Mar 10 06:50:33 2010 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Wed, 10 Mar 2010 12:50:33 +0100 Subject: Regular expression In-Reply-To: References: <4365fca01003100330n40ae1ad9n2a5f1e1dc8d22359@mail.gmail.com> Message-ID: <4365fca01003100350x1d59e353kbe043fd014977470@mail.gmail.com> Thank you Mark That's perfect! On Wed, Mar 10, 2010 at 12:42 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Paolo, > > This works: > > put empty into mySource > put empty into myStart > put empty into myEnd > put matchText("xxxxxx src='HTTPWEB' width='3845' height='334' > xxxxx","src='([a-zA-Z0-9 ]+)'",mySource) > put matchChunk("xxxxxx src='HTTPWEB' width='3845' height='334' > xxxxx","src='([a-zA-Z0-9 ]+)'",myStart,myEnd) > put mySource & cr & myStart & comma & myEnd > > Best, > > Mark > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Economy-x-Talk is always looking for new software development projects. > Feel free to contact me for a quote. > > Op 10 mrt 2010, om 12:30 heeft paolo mazza het volgende geschreven: > > > To me regular expressions are tricky! >> >> I need to extract the string HTTPWEB from the string "xxxxxx src='HTTPWEB' >> width='3845' height='334' xxxxx" >> >> If I use the regular expression (src='.*') and the matchChunk command, >> >> I get this string : "src='HTTPWEB' width='3845' height='334'" (see >> the >> following RevTalk script) >> >> >> Which is the regular expression to get just the argument of the src >> variable ( HTTPWEB in this example)? >> >> Thanks a lot >> >> Paolo Mazza >> >> SAMPLE CODE >> >> on mouseUp >> local TESTO,STRINGA,VAR1,VAR2 >> >> put "xxxxxx src='HTTPWEB' width='3845' height='334' xxxxx" into TESTO >> >> put "(src='.*')" into STRINGA >> >> put matchText(TESTO,STRINGA) & return into message >> >> if matchChunk(TESTO,STRINGA,VAR1,VAR2) then >> PUT char VAR1 to VAR2 of TESTO into message >> else >> put "not found!" into message >> end if >> >> end mouseUp >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jim at visitrieve.com Wed Mar 10 07:51:17 2010 From: jim at visitrieve.com (Jim Bufalini) Date: Wed, 10 Mar 2010 02:51:17 -1000 Subject: Help with save as or new using standalones In-Reply-To: References: Message-ID: <005601cac050$607caaa0$2175ffe0$@com> Bill Ziegler wrote: > I've created some programs for students with disabilities. At first I > circulated them with the the Mac and Pc players. It was easy to script > a 'New' that copied the stack and cleared all text and audioClips. The > 'Save as' made a copied of the stack. Both renamed the new stack. > Schools with pc's need them to run from the startup menu since the > students can't drag them onto the player. I made them standalones but > now I don't know the proper way or logic or even an intelligent way to > ask the question of duplicating them. The Mac version is in a package, > the pc is in a folder with an externals folder, the slpashstack and > the real stack. I need to keep the audio in the stacks to make it > easier for students to transport their work from home to school and > back. Would I use the copyFolder command and save it to the same level/ > folder as the original? I have them on my On-Rev Server website at > www.billziegler.com > . The two I'm having trouble with, when turned into standalones, are > the "ReportCards MacPC" and "Just Say It". > > I couldn't find anything in the archives. If there is an old post or a > tutorial in detail I could start with that. > > Thanks in advanced I am not sure I clearly understand the issue and I am sure I do not know the environment of your students or how you normally distribute your software (Do teachers just download the zips you have on your site? What do they do with these zips? Do they know how to unzip? Etc.). However, assuming that the issue involves running on PCs and further assuming you are looking for a single click way to launch your programs, there are a few things you can do: 1. The normal way to distribute a program to PCs is build a standalone in Rev and then you use a third party "installer" to install on other PCs. An installer is itself an EXE that contains your standalone EXE, as well as any other directories and files your standalone EXE needs to run. The installer EXE is downloaded by the end user and, when run, it places your standalone EXE, along with its directories and files, into the Program Files directory of the PC and creates a shortcut to your program in the Startup Menu, and optionally on the desktop and/or Taskbar. If you look up *PC installer* in the mail archives you will find a LOT of information on different installers people use and how to use them. Other things you can do: 2. First. Take the spaces out of your program names! I downloaded your *Just My Type MacPc beta1b.zip* and unzipped it. Using this as an example, please rename *Just My Type MacPc beta v1c.rev* to something like * Just_My_Type_MacPc_beta_v1c.rev* or *JustMyTypeMacPcBetav1c.rev*. Now, you seem to imply that your teachers/students already have *Revolution Player.exe* and are able to launch this but that the problem is that they cannot "drag" your rev program into the player. If this is the case, then you can simply have them place your *JustMyTypeMacPcBetav1c.rev* into the same folder as the player. Now you create a shortcut to *Revolution Player.exe* Rename this shortcut to *Just My Type MacPc beta v1c* (yes, you can leave the spaces in the name of the shortcut). Edit the properties of the shortcut and in the General tab where it says Target: "C:\...Revolution Player.exe" add a space after the last quote and *JustMyTypeMacPcBetav1c.rev* (without the asterisks, of course, and no quotes). This shortcut can now be placed on the desktop or the Start Menu folder and clicking on it will launch the player and the player will automatically load and launch your rev stack (provided it has no spaces in the stack file name). If the players are all located in the same directory on all machines, you can pre-build this shortcut and distribute it with your zip. 3. Lastly (and this may be the easiest for you and so I saved it for last;-), there are some free programs that will "install" a zip file on a PC. One is called ZipInstaller and available from http://www.nirsoft.net/utils/zipinst.html. In this case, you can create a standalone EXE with Rev and place the directories and files exactly like you want them and just zip it. Then tell your users to download this zip and also the zipinst.exe, which you can put on your site and make available for free download. They run zipinst and point it at your zip, that they just downloaded, and this program will unzip your zip and install your standalone EXE in the Program Files directory of a PC, create shortcuts to your program in the Start Programs folder, and optionally on the desktop and taskbar, and even creates an uninstall program to remove your program from the PC, should the user so desire. Once installed, they can now just click on your program name from the Start Menu and optionally desktop or Taskbar. I hope this all helps. Aloha from Hawaii, Jim Bufalini From mikekann at yahoo.com Wed Mar 10 07:56:49 2010 From: mikekann at yahoo.com (Michael Kann) Date: Wed, 10 Mar 2010 04:56:49 -0800 (PST) Subject: Regular expression In-Reply-To: <4365fca01003100330n40ae1ad9n2a5f1e1dc8d22359@mail.gmail.com> Message-ID: <726292.87090.qm@web56702.mail.re3.yahoo.com> put "xxxxxx src='HTTPWEB' width='3845' height='334' xxxxx" into v set the itemDelimiter to "'" put item 2 of v --- On Wed, 3/10/10, paolo mazza wrote: > From: paolo mazza > Subject: Regular expression > To: "How to use Revolution" > Date: Wednesday, March 10, 2010, 5:30 AM > To me regular expressions are > tricky! > > I need to extract the string HTTPWEB from the string > "xxxxxx src='HTTPWEB' > width='3845' height='334' xxxxx" > > If I use the regular expression (src='.*') and the > matchChunk command, > > I get this string :???"src='HTTPWEB' > width='3845' height='334'"? ? (see the > following RevTalk script) > > > Which is the regular expression to get just? the > argument of the src > variable ( HTTPWEB in this example)? > > Thanks a lot > > Paolo Mazza > > SAMPLE CODE > > on mouseUp > ???local TESTO,STRINGA,VAR1,VAR2 > > ???put "xxxxxx src='HTTPWEB' width='3845' > height='334' xxxxx" into TESTO > > ???put "(src='.*')" into STRINGA > > ???put matchText(TESTO,STRINGA) & > return? into message > > ???if matchChunk(TESTO,STRINGA,VAR1,VAR2) > then > ? ? ? PUT char VAR1 to? VAR2 of TESTO > into message > ???else > ? ? ? put "not found!" into message > ???end if > > end mouseUp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rjb at robelko.com Wed Mar 10 08:08:58 2010 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 10 Mar 2010 14:08:58 +0100 Subject: preopenstack handler interrupt? Message-ID: Ron wrote: > Thanks Jim and Bob, > Jim, this is what I thought but I am experiencing sudden death of the > application that seems to be related to setting the menubar based on > data in the pref stack. Based on the sequence of > preopenstack of main stack runs until command to open the pref stack > then > preopenstack of pref stack runs > openstack of pref stack runs > preopenstack of main stack finishes > openstack of main stack runs > > I'll keep working on the problem. > While your sequence appears correct, I wonder whether the logic is optimal. Instead of crisscrossing two stacks launching, may be you could use send in time to deal with the prefs stack as soon as the main stack is properly open. Unless your mainstack does really time consuming chores when opening (and that could be chained after dealing with prefs), users shouldn't see a real difference and things may work smoother with programming. Robert From davidocoker at gmail.com Wed Mar 10 08:46:42 2010 From: davidocoker at gmail.com (David Coker) Date: Wed, 10 Mar 2010 07:46:42 -0600 Subject: RevBrowser.... help needed In-Reply-To: References: Message-ID: > Check out the docs for revBrowserSet. This should work: > > ? revBrowserSet tBrowserID, "visible", false > > Cheers, > Sarah Heh.. I did make an attempt at setting the visible property to false, but I don't think it looked a lot like your version Sarah. I always try to make things more difficult than they are, it seems. I ended up trashing my test stack, but will rebuild it and give your solution a try here in a bit. Thank you very much, Sarah! David C. From barryb at libero.it Wed Mar 10 09:11:39 2010 From: barryb at libero.it (barryb at libero.it) Date: Wed, 10 Mar 2010 15:11:39 +0100 (CET) Subject: Color cursors in RunRev 4.5? Message-ID: <2847166.3158701268230299083.JavaMail.defaultUser@defaultHost> Date: Tue, 9 Mar 2010 11:58:57 -0800 Stephen Barncard wrote: >this is NDA stuff, guys, not for the how-to list. ------------ Recently RunRev have been sending me repeated publicity containing the following sentence. "Color cursors will be displayed on all platforms where supported by the OS." I don't see that Zryp giving a bit more definition would let any cats out of the bag. Barry Barber From richmondmathewson at gmail.com Wed Mar 10 09:33:50 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 10 Mar 2010 16:33:50 +0200 Subject: Color cursors in RunRev 4.5? In-Reply-To: <2847166.3158701268230299083.JavaMail.defaultUser@defaultHost> References: <2847166.3158701268230299083.JavaMail.defaultUser@defaultHost> Message-ID: <4B97ADCE.8000605@gmail.com> On 10/03/2010 16:11, barryb at libero.it wrote: > Date: Tue, 9 Mar 2010 11:58:57 -0800 > Stephen Barncard wrote: > >> this is NDA stuff, guys, not for the how-to list. > ------------ > Recently RunRev have been sending me repeated publicity containing the > following sentence. > > "Color cursors will be displayed on all platforms where supported by the OS." > > I don't see that Zryp giving a bit more definition would let any cats out of > the bag. Aaaah . . . so it's to do with cats . . . :) Miaow! When I went to the Edinburgh conference last year I was required to sign a NDA at one 'closed' session I attended. Nothing at that meeting struck me as "deadly secret"; notwithstanding that, having signed the NDA, I have kept my mouth tight shut about what went on there - not because it struck me as deadly secret, or that I would be wrecking RunRev's future plans, but because I signed the document, and in good clean conscience I couldn't break my word. Watch out, Barry, you may get scratched by a cat! From rjb at robelko.com Wed Mar 10 09:55:14 2010 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 10 Mar 2010 15:55:14 +0100 Subject: Stacks and Standalones In-Reply-To: <1268156534198-1586349.post@n4.nabble.com> References: <1268154040436-1586282.post@n4.nabble.com> <423B5E0D-FE5B-4592-B6D2-BBBFAA97135D@byu.edu> <1268156534198-1586349.post@n4.nabble.com> Message-ID: Andrew, As others said, your problem is probably with paths, which IDE handles more automatically for you. Check out the startUp message. It is sent when your standalone application starts and allows you to accommodate the runtime differences between IDE and standalone. Robert From massung at gmail.com Wed Mar 10 10:09:44 2010 From: massung at gmail.com (Jeffrey Massung) Date: Wed, 10 Mar 2010 09:09:44 -0600 Subject: Regular expression In-Reply-To: <4365fca01003100330n40ae1ad9n2a5f1e1dc8d22359@mail.gmail.com> References: <4365fca01003100330n40ae1ad9n2a5f1e1dc8d22359@mail.gmail.com> Message-ID: <61BD7375-52FC-4CE1-9AD2-56FD42C428EE@gmail.com> regex should be if matchText(tInputString, "src='([^']*)'", tSourceMatched) is true then put tSourceMatched end if Of course, many of the other suggestions posed by others w/o using regex are fine, too. Just letting you know how to do this with regex as well. Jeff M. On Mar 10, 2010, at 5:30 AM, paolo mazza wrote: > To me regular expressions are tricky! > > I need to extract the string HTTPWEB from the string "xxxxxx src='HTTPWEB' > width='3845' height='334' xxxxx" > > If I use the regular expression (src='.*') and the matchChunk command, > > I get this string : "src='HTTPWEB' width='3845' height='334'" (see the > following RevTalk script) > > > Which is the regular expression to get just the argument of the src > variable ( HTTPWEB in this example)? > > Thanks a lot > > Paolo Mazza > > SAMPLE CODE > > on mouseUp > local TESTO,STRINGA,VAR1,VAR2 > > put "xxxxxx src='HTTPWEB' width='3845' height='334' xxxxx" into TESTO > > put "(src='.*')" into STRINGA > > put matchText(TESTO,STRINGA) & return into message > > if matchChunk(TESTO,STRINGA,VAR1,VAR2) then > PUT char VAR1 to VAR2 of TESTO into message > else > put "not found!" into message > end if > > end mouseUp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Wed Mar 10 11:36:08 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 10 Mar 2010 08:36:08 -0800 Subject: Application graphics In-Reply-To: References: Message-ID: <35768096000.20100310083608@ahsoftware.net> Marcio- Tuesday, March 9, 2010, 4:53:41 AM, you wrote: > Thanks for all your answers, now I know the way is the PNG. > Do you know any PNG library we can have access or purchase with great icons, > backgrounds, etc? Or perhaps some designer who offers something like this? Here are some freely-usable png images I've used: http://www.webappers.com/category/design/icons/ http://www.pinvoke.com http://wefunction.com http://www.famfamfam.com/lab/icons/silk -- -Mark Wieder mwieder at ahsoftware.net From marcio at cialogica.com.br Wed Mar 10 11:40:00 2010 From: marcio at cialogica.com.br (Marcio Alexandroni) Date: Wed, 10 Mar 2010 13:40:00 -0300 Subject: Application graphics In-Reply-To: <35768096000.20100310083608@ahsoftware.net> Message-ID: Thanks Mark! Marcio Alexandroni www.cialogica.com.br ( (11) 9989-8316 marcioalexandroni -- > From: Mark Wieder > Organization: Ah, Software > Reply-To: How to use Revolution > Date: Wed, 10 Mar 2010 08:36:08 -0800 > To: How to use Revolution > Subject: Re: Application graphics > > Marcio- > > Tuesday, March 9, 2010, 4:53:41 AM, you wrote: > >> Thanks for all your answers, now I know the way is the PNG. > >> Do you know any PNG library we can have access or purchase with great icons, >> backgrounds, etc? Or perhaps some designer who offers something like this? > > Here are some freely-usable png images I've used: > > http://www.webappers.com/category/design/icons/ > http://www.pinvoke.com > http://wefunction.com > http://www.famfamfam.com/lab/icons/silk > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Wed Mar 10 11:58:31 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 10 Mar 2010 08:58:31 -0800 Subject: preopenstack handler interrupt? In-Reply-To: <002f01cabff1$9a65d930$cf318b90$@com> References: <7c87a2a11003030555p468e2469yb9d6e5c155ae8438@mail.gmail.com> <7c87a2a11003030657n6914185evd15473b2ce1a8ab4@mail.gmail.com> <7c87a2a11003030709g50f31603tdb290eb95371f19f@mail.gmail.com> <7c87a2a11003030727s3c76e1e0j8ad8681dc26471ed@mail.gmail.com> <3C0ADBB7-2C4D-45AD-A587-FE3473CBDC93@dimensionB.de> <7c87a2a11003030805icaf333p3726873b23b34008@mail.gmail.com> <43169522859.20100303101957@ahsoftware.net> <002f01cabff1$9a65d930$cf318b90$@com> Message-ID: <14BD0F46-3638-4B1C-BE93-330677D32ECD@twft.com> Huh. Didn't catch that part. Bob On Mar 9, 2010, at 5:32 PM, Jim Bufalini wrote: > This is because you are calling for the opening of the preferences stack > from inside of the preOpenStack handler of the mainstack From kray at sonsothunder.com Wed Mar 10 12:38:04 2010 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 10 Mar 2010 11:38:04 -0600 Subject: Regular expression In-Reply-To: <61BD7375-52FC-4CE1-9AD2-56FD42C428EE@gmail.com> Message-ID: Actually, Paolo, you *almost* had it right... if you change ".*" to ".*?" you are telling the regEx to limit it to the first match. So this would work: if matchText(tString,"src='(.*?)'",tVal) then put tVal -- puts "HTTPWEB" end if Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ On 3/10/10 9:09 AM, "Jeffrey Massung" wrote: > regex should be > > if matchText(tInputString, "src='([^']*)'", tSourceMatched) is true then > put tSourceMatched > end if > > Of course, many of the other suggestions posed by others w/o using regex are > fine, too. Just letting you know how to do this with regex as well. > > Jeff M. > > > On Mar 10, 2010, at 5:30 AM, paolo mazza wrote: > >> To me regular expressions are tricky! >> >> I need to extract the string HTTPWEB from the string "xxxxxx src='HTTPWEB' >> width='3845' height='334' xxxxx" >> >> If I use the regular expression (src='.*') and the matchChunk command, >> >> I get this string : "src='HTTPWEB' width='3845' height='334'" (see the >> following RevTalk script) >> >> >> Which is the regular expression to get just the argument of the src >> variable ( HTTPWEB in this example)? >> >> Thanks a lot >> >> Paolo Mazza >> >> SAMPLE CODE >> >> on mouseUp >> local TESTO,STRINGA,VAR1,VAR2 >> >> put "xxxxxx src='HTTPWEB' width='3845' height='334' xxxxx" into TESTO >> >> put "(src='.*')" into STRINGA >> >> put matchText(TESTO,STRINGA) & return into message >> >> if matchChunk(TESTO,STRINGA,VAR1,VAR2) then >> PUT char VAR1 to VAR2 of TESTO into message >> else >> put "not found!" into message >> end if >> >> end mouseUp >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lfredricks at proactive-intl.com Wed Mar 10 13:04:45 2010 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed, 10 Mar 2010 10:04:45 -0800 Subject: Application graphics In-Reply-To: References: Message-ID: <7AEBCE94D23941EA8CAA57B8DB7D5DB8@GATEWAY> > They, and a myriad other sites, also offer a Custom Icon Service. http://www.runrev.com/products/related-software/iconpeople-icon-sets I could be wrong, but I think these were in the megabundle, too. Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) http://www.proactive-intl.com From jerry.daniels at me.com Wed Mar 10 13:27:49 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Wed, 10 Mar 2010 12:27:49 -0600 Subject: [ANN] tRev build 301 released! Message-ID: <5EBA7F7F-787A-4553-81CF-5A8BF0DE6D0C@me.com> tRevors, Feature Friday came late and for good reason. I have rebuilt the update and installation mechanism for tRev so that updates and such are faster, easier, fool-proof, asynchronous and offer less interference with other processes such as Rev IDE doing its accessing to its site during its startup. There is also a built-in menu item under Help that facilitates sending questions to me (which also reinforces the need to read the docs first). Stay tuned for this coming Feature Friday. Little game-changing goin' on. Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/background-tabs-open-a-tab-without-going-ther From gregory.lypny at videotron.ca Wed Mar 10 13:49:52 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 10 Mar 2010 13:49:52 -0500 Subject: Comma-delimited values In-Reply-To: <20100310040727.BF96C28824B@mail.runrev.com> References: <20100310040727.BF96C28824B@mail.runrev.com> Message-ID: <04743BE8-A70F-4E33-8EA2-2428803D9D9C@videotron.ca> Thanks everyone for your thoughtful comments on the comma-delimiter issue. I have a couple of solutions in the works that are in the spirit of some of what has been posted. For me the presence of quotation marks around some chunks or even within them (a literal quotation) adds to the challenge. Regards, Gregory From zryip.theslug at gmail.com Wed Mar 10 14:31:51 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 10 Mar 2010 20:31:51 +0100 Subject: Color cursors in RunRev 4.5? In-Reply-To: References: <64bda6471003091125u2949b7fapd4a30e00c075e6bb@mail.gmail.com> <4B96A820.7020606@gmail.com> Message-ID: <64bda6471003101131o8a32225ifb4ef9d21a4b9e3c@mail.gmail.com> 2010/3/9 stephen barncard : > this is NDA stuff, guys, not for the how-to list. Ooops! In fact I don't know. Maybe there will be cursors or not. And even if, there will be very small, shaped cat and they only work on oil platforms. If you've read my previous post, forget it. Anyway, I'm a slug and I plan to return to my garden in a flying saucer. -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From stephenREVOLUTION2 at barncard.com Wed Mar 10 14:33:32 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 10 Mar 2010 11:33:32 -0800 Subject: Color cursors in RunRev 4.5? In-Reply-To: <64bda6471003101131o8a32225ifb4ef9d21a4b9e3c@mail.gmail.com> References: <64bda6471003091125u2949b7fapd4a30e00c075e6bb@mail.gmail.com> <4B96A820.7020606@gmail.com> <64bda6471003101131o8a32225ifb4ef9d21a4b9e3c@mail.gmail.com> Message-ID: Right, and you have a robot named Klaatu. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev On 10 March 2010 11:31, zryip theSlug wrote: > 2010/3/9 stephen barncard : > > this is NDA stuff, guys, not for the how-to list. > > Ooops! > > In fact I don't know. > Maybe there will be cursors or not. And even if, there will be very > small, shaped cat and they only work on oil platforms. > > If you've read my previous post, forget it. Anyway, I'm a slug and I > plan to return to my garden in a flying saucer. > > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From zryip.theslug at gmail.com Wed Mar 10 14:50:21 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 10 Mar 2010 20:50:21 +0100 Subject: Color cursors in RunRev 4.5? In-Reply-To: References: <64bda6471003091125u2949b7fapd4a30e00c075e6bb@mail.gmail.com> <4B96A820.7020606@gmail.com> <64bda6471003101131o8a32225ifb4ef9d21a4b9e3c@mail.gmail.com> Message-ID: <64bda6471003101150w4514e758wf3eed691b890ef8c@mail.gmail.com> 2010/3/10 stephen barncard : > Right, and you have a robot named Klaatu. that's it. If you were not sitting on my right in the cockpit I would say you were spying on me! -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From scott at tactilemedia.com Wed Mar 10 15:34:54 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 10 Mar 2010 12:34:54 -0800 Subject: Application graphics In-Reply-To: Message-ID: Recently, Malte Pfaff-Brill wrote: > I benchmarked setting the text of an image versus using the Icon of a button a > while back and it turned out that setting the icon was a multitude faster. Yet another good argument to vote for enhancement #6375: Extend Icon/Image References to Include Binary Data in Custom Properties Having to keep images around in a stack for reference by other controls is messy. Enabling buttons to reference image data stored in a custom property is cleaner and more portable. Regards, Scott Rossi Creative Director Tactile Media, UX Design From stephenREVOLUTION2 at barncard.com Wed Mar 10 15:40:35 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 10 Mar 2010 12:40:35 -0800 Subject: Application graphics In-Reply-To: References: Message-ID: beyond icon/image - same goes for audio files - It would be useful to be able to play (at least a short ) sound from a variable (loaded from a CP) rather than deal with temp files. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev On 10 March 2010 12:34, Scott Rossi wrote: > Recently, Malte Pfaff-Brill wrote: > > > I benchmarked setting the text of an image versus using the Icon of a > button a > > while back and it turned out that setting the icon was a multitude > faster. > > Yet another good argument to vote for enhancement #6375: > Extend Icon/Image References to Include Binary Data in Custom Properties > > Having to keep images around in a stack for reference by other controls is > messy. Enabling buttons to reference image data stored in a custom > property > is cleaner and more portable. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From m.schonewille at economy-x-talk.com Wed Mar 10 16:10:01 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 10 Mar 2010 22:10:01 +0100 Subject: [ANN] tRev build 301 released! In-Reply-To: <5EBA7F7F-787A-4553-81CF-5A8BF0DE6D0C@me.com> References: <5EBA7F7F-787A-4553-81CF-5A8BF0DE6D0C@me.com> Message-ID: Hi Jerry, I noticed that tRev doesn't close tabs when stacks are closed or objects deleted by means of script, while messages are locked. Would it be possible to check whether objects still exist, when tabs come to the front? In one instance, I closed the tab of an button that no longer existed and found back the button script in the tab for the stack script. I tried to contact you directly, but you or your ISP seem to have blocked e-mails that come from my server or local network. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 10 mrt 2010, om 19:27 heeft Jerry Daniels het volgende geschreven: > tRevors, > > Feature Friday came late and for good reason. I have rebuilt the > update and installation mechanism for tRev so that updates and such > are faster, easier, fool-proof, asynchronous and offer less > interference with other processes such as Rev IDE doing its > accessing to its site during its startup. > > There is also a built-in menu item under Help that facilitates > sending questions to me (which also reinforces the need to read the > docs first). > > Stay tuned for this coming Feature Friday. Little game-changing > goin' on. > > Best, > > Jerry Daniels > > The latest Rev Editor Video: > http://reveditor.com/background-tabs-open-a-tab-without-going-ther From m.schonewille at economy-x-talk.com Wed Mar 10 16:23:31 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 10 Mar 2010 22:23:31 +0100 Subject: [ANN] tRev build 301 released! In-Reply-To: References: <5EBA7F7F-787A-4553-81CF-5A8BF0DE6D0C@me.com> Message-ID: <10B3703C-EEB1-4A3A-BF72-C01EFEF0CB11@economy-x-talk.com> Hi Jerry, In addition to my previous e-mail... Right after sending the previous e-mail, I found another problem. If I quit Revolution first and subsequently close the tRev window, intending to quit tRev, but that started Revolution again. That's a bit confusing and not very pleasant when you're in a hurry. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 10 mrt 2010, om 19:27 heeft Jerry Daniels het volgende geschreven: > tRevors, > > Feature Friday came late and for good reason. I have rebuilt the > update and installation mechanism for tRev so that updates and such > are faster, easier, fool-proof, asynchronous and offer less > interference with other processes such as Rev IDE doing its > accessing to its site during its startup. > > There is also a built-in menu item under Help that facilitates > sending questions to me (which also reinforces the need to read the > docs first). > > Stay tuned for this coming Feature Friday. Little game-changing > goin' on. > > Best, > > Jerry Daniels > > The latest Rev Editor Video: > http://reveditor.com/background-tabs-open-a-tab-without-going-ther From jerry.daniels at me.com Wed Mar 10 16:33:08 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Wed, 10 Mar 2010 15:33:08 -0600 Subject: [ANN] tRev build 301 released! In-Reply-To: References: <5EBA7F7F-787A-4553-81CF-5A8BF0DE6D0C@me.com> Message-ID: <2815C8E0-62FB-4E6B-8398-F1CADDBE0E83@me.com> Mark, Auto closing tabs of deleted objects while messages locked...always tricky. I like your work-around tho. Lemme think about it some as regards implementation. I have several email addresses. If one doesn't work try another. Also we have retired the daniels-mara.com domain in favor of danielsmara.com. jerry at revmentor.com jerry at danielsmara.com jerry at reveditor.com Also, I was having trouble getting my mail from one of those accounts over the last week, so it might have been a server snafu that bit you. Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/trev-build-301-is-here On Mar 10, 2010, at 3:10 PM, Mark Schonewille wrote: > Hi Jerry, > > I noticed that tRev doesn't close tabs when stacks are closed or > objects deleted by means of script, while messages are locked. Would > it be possible to check whether objects still exist, when tabs come > to the front? In one instance, I closed the tab of an button that no > longer existed and found back the button script in the tab for the > stack script. > > I tried to contact you directly, but you or your ISP seem to have > blocked e-mails that come from my server or local network. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Economy-x-Talk is always looking for new software development > projects. Feel free to contact me for a quote. > > Op 10 mrt 2010, om 19:27 heeft Jerry Daniels het volgende geschreven: > >> tRevors, >> >> Feature Friday came late and for good reason. I have rebuilt the >> update and installation mechanism for tRev so that updates and such >> are faster, easier, fool-proof, asynchronous and offer less >> interference with other processes such as Rev IDE doing its >> accessing to its site during its startup. >> >> There is also a built-in menu item under Help that facilitates >> sending questions to me (which also reinforces the need to read the >> docs first). >> >> Stay tuned for this coming Feature Friday. Little game-changing >> goin' on. >> >> Best, >> >> Jerry Daniels >> >> The latest Rev Editor Video: >> http://reveditor.com/background-tabs-open-a-tab-without-going-ther > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jerry.daniels at me.com Wed Mar 10 16:36:34 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Wed, 10 Mar 2010 15:36:34 -0600 Subject: [ANN] tRev build 301 released! In-Reply-To: <10B3703C-EEB1-4A3A-BF72-C01EFEF0CB11@economy-x-talk.com> References: <5EBA7F7F-787A-4553-81CF-5A8BF0DE6D0C@me.com> <10B3703C-EEB1-4A3A-BF72-C01EFEF0CB11@economy-x-talk.com> Message-ID: Mark, As you now know, quitting Rev will always close down tRev. If you jump over to tRev to close it while Rev is shutting down, it's not easy for tRev to tell if Rev is still running or not. You caught tRev with his Rev down. Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/background-tabs-open-a-tab-without-going-ther On Mar 10, 2010, at 3:23 PM, Mark Schonewille wrote: > Hi Jerry, > > In addition to my previous e-mail... > > Right after sending the previous e-mail, I found another problem. If > I quit Revolution first and subsequently close the tRev window, > intending to quit tRev, but that started Revolution again. That's a > bit confusing and not very pleasant when you're in a hurry. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Economy-x-Talk is always looking for new software development > projects. Feel free to contact me for a quote. > > Op 10 mrt 2010, om 19:27 heeft Jerry Daniels het volgende geschreven: > >> tRevors, >> >> Feature Friday came late and for good reason. I have rebuilt the >> update and installation mechanism for tRev so that updates and such >> are faster, easier, fool-proof, asynchronous and offer less >> interference with other processes such as Rev IDE doing its >> accessing to its site during its startup. >> >> There is also a built-in menu item under Help that facilitates >> sending questions to me (which also reinforces the need to read the >> docs first). >> >> Stay tuned for this coming Feature Friday. Little game-changing >> goin' on. >> >> Best, >> >> Jerry Daniels >> >> The latest Rev Editor Video: >> http://reveditor.com/background-tabs-open-a-tab-without-going-ther > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From francois.chaplais at mines-paristech.fr Wed Mar 10 16:41:43 2010 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Wed, 10 Mar 2010 22:41:43 +0100 Subject: Language comparisons: "Lua" - simpler and faster than RevTalk? In-Reply-To: <4B976EA2.1000302@ekoinf.net> References: <4B96C759.5050704@hrz.uni-kassel.de> <4B976EA2.1000302@ekoinf.net> Message-ID: <9ED0738B-9B01-4AD5-989E-82092D9CDDE5@mines-paristech.fr> Le 10 mars 2010 ? 11:04, viktoras d. a ?crit : > the sad fact is that many languages out there have a simpler mechanism (implemented via libraries) to access and manipulate image pixels. RevTalk does not have such a library and manipulation of image pixels is therefore unfortunately very slow and awkward :-( > > A year ago I put a suggestion for an enhancement in the QC for "more efficient pixel access in images" #7636. > However its status is still unconfirmed. Maybe I have to change severity from enhancement to critical to make this report more noticeable :-) > > Viktoras > I have looked at your report, and honestly, it should be backed up by a request for typed data. In the case of images, this means arrays of 8 bit unsigned integers (assuming you have access to each RGB/alpha channel), with appropriate operators (as far as I am concerned, convolution would be fine). A related report at qacenter has number 2783. cheers, Fran?ois P.S.: i have several conversations with a student at my "grande ?cole" who wished to do some online video correction to ease the effort on the human view system, and she was screaming for integer computations, because double float computations were way too slow. And transcript's untyped variables are probably even worse. So, IMHO, if you're in for image processing, integer typed arrays are a definitive bonus. From bobs at twft.com Wed Mar 10 17:03:55 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 10 Mar 2010 14:03:55 -0800 Subject: [ANN] tRev build 301 released! In-Reply-To: References: <5EBA7F7F-787A-4553-81CF-5A8BF0DE6D0C@me.com> <10B3703C-EEB1-4A3A-BF72-C01EFEF0CB11@economy-x-talk.com> Message-ID: <1064A153-E2FC-4B37-A49F-E6F6D6A4F107@twft.com> Har! On Mar 10, 2010, at 1:36 PM, Jerry Daniels wrote: > You caught tRev with his Rev down. From jerry.daniels at me.com Wed Mar 10 17:12:40 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Wed, 10 Mar 2010 16:12:40 -0600 Subject: [ANN] tRev build 301 released! In-Reply-To: <1064A153-E2FC-4B37-A49F-E6F6D6A4F107@twft.com> References: <5EBA7F7F-787A-4553-81CF-5A8BF0DE6D0C@me.com> <10B3703C-EEB1-4A3A-BF72-C01EFEF0CB11@economy-x-talk.com> <1064A153-E2FC-4B37-A49F-E6F6D6A4F107@twft.com> Message-ID: <7B6119F2-B7A6-48AA-B490-1900339D7B4C@me.com> Somebody is as corny as me. Midwest blood is my excuse. On Mar 10, 2010, at 4:03 PM, Bob Sneidar wrote: > Har! > > On Mar 10, 2010, at 1:36 PM, Jerry Daniels wrote: > >> You caught tRev with his Rev down. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Wed Mar 10 17:16:33 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 10 Mar 2010 23:16:33 +0100 Subject: [ANN] tRev build 301 released! In-Reply-To: References: <5EBA7F7F-787A-4553-81CF-5A8BF0DE6D0C@me.com> <10B3703C-EEB1-4A3A-BF72-C01EFEF0CB11@economy-x-talk.com> Message-ID: Hi Jerry, No, that didn't happen, although it is possible that my scripts closed one of the tRev stacks that are needed for communication with tRev. It would be nice if you could solve this problem too, because closing stacks with messages locked is the main reason why Rev's script editor locks up. Of course, I usually make sure not to close IDE stacks, but when I receive stacks from clients, they may very well cause tRev's stacks to close. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 10 mrt 2010, om 22:36 heeft Jerry Daniels het volgende geschreven: > Mark, > > As you now know, quitting Rev will always close down tRev. If you > jump over to tRev to close it while Rev is shutting down, it's not > easy for tRev to tell if Rev is still running or not. You caught > tRev with his Rev down. > > Best, > > Jerry Daniels > > The latest Rev Editor Video: > http://reveditor.com/background-tabs-open-a-tab-without-going-ther From DunbarX at aol.com Wed Mar 10 18:37:07 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 10 Mar 2010 18:37:07 EST Subject: Can't Select Message-ID: <1b027.72d75b6f.38c98723@aol.com> I meant cantSelect. Wonderful property if you need it, and I do. But the docs say, and more importantly fully imply, that when the pointer tool is active, an object with its "cantSelect" property set to "true" sees the pointer as a browse tool. It sort of does, but not mostly. I sent the following as a note to the dictionary under "cantSelect": With cantSelect set to "true", clicking an object with the pointer tool invokes certain actions, but most messages are not sent. For example, "mouseUp" is not sent, though "mouseEnter" is. So, for example, in a list field with its cantSelect set to "true", it is possible to hilite a line by clicking on it, but not possible to trap, say, a "mouseDown" event. The message "cRevUpdate" is always sent. From rabit at dimensionB.de Wed Mar 10 19:00:20 2010 From: rabit at dimensionB.de (Ralf Bitter) Date: Thu, 11 Mar 2010 01:00:20 +0100 Subject: [ANN] revIgniter and iRev TextMate bundles Message-ID: TextMate Bundles and Theme (v. 1.0 beta) These bundles will help reduce time spent in building revIgniter web sites considerably. Of course even if you don't use revIgniter and build your sites from scratch, the bundles serve you too. Although not tested, for those, who develop on Windows the bundles can be used with E-TextEditor, which supports TextMate bundles. Features: - Collapsing Text Blocks (Foldings) - Handler Pop-up - Code Completion - Snippets with Tab Stops and Placeholders (revIgniter and iRev) - Drag and Drop for Images (Revolution standalone engine must be installed in System root) - Indentation - Paired Characters - Templates/Snippets (for views , controllers, models, functions and commands with or without comment section) revIgniterBundles content: - iRev.tmbundle - revIgniter_1_2_1.tmbundle - revIgniter.tmTheme Installation: - Double-click the files one by one to install them. - To enable Drag and Drop for images place a rev standalone engine (version < 4) in system root. Note: The assetHelper is needed with dropped images. As a start choose iRev from the language pop-up, type "ricont" (revIgniter controller) and hit tab consecutively. Best Ralf From rabit at dimensionB.de Wed Mar 10 19:08:03 2010 From: rabit at dimensionB.de (Ralf Bitter) Date: Thu, 11 Mar 2010 01:08:03 +0100 Subject: [ANN] revIgniter and iRev TextMate bundles In-Reply-To: References: Message-ID: Sorry seems, that I am somewhat forgetful, here is the URL: http://www.revigniter.com/accessory Cheers Ralf From ludovic.thebault at laposte.net Thu Mar 11 01:35:23 2010 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Thu, 11 Mar 2010 07:35:23 +0100 Subject: Customize headers in a datagrid Message-ID: <9D3759F9-0944-4DD9-B008-2E3DB9738E63@laposte.net> Hello. It's possible to add a little icon before the label of a column ? Thanks. From jackwolf at gmail.com Thu Mar 11 04:42:58 2010 From: jackwolf at gmail.com (Jacopo Lupi) Date: Thu, 11 Mar 2010 10:42:58 +0100 Subject: [ANN] tRev build 301 released! In-Reply-To: <5EBA7F7F-787A-4553-81CF-5A8BF0DE6D0C@me.com> References: <5EBA7F7F-787A-4553-81CF-5A8BF0DE6D0C@me.com> Message-ID: <3CE7EC30-20BF-4B9D-AB56-618FD77058C1@gmail.com> Hi Jerry, thank you for this big release. I mean... i love your software, some of the features of tRev are really useful and at the end of the work i feel i have to thank you. I write just to make you noticed that the annoying bug with the absence of an internet connection is still there. If i'm not connected to internet (i.e. while in train 3 hrs per day) i'm not able to use the save, compile or even to open scripts via the browser. It happened only if i use the dictionary while offline an then i turn back to trev to continue work. I sent you, a couple of weeks ago, a report to replicate the bug. The worst thing then is that i must copy the script from trev to the internal editor. Because as trev loses the connection all the changes are not been written to the script. Can you fix this connection dependent issue? Or maybe alert the user when trev is unable to write on the real script underlaying in runrev? Thank You very much for all your work. Best Jacopo On 10/mar/2010, at 19.27, Jerry Daniels wrote: > tRevors, > > Feature Friday came late and for good reason. I have rebuilt the update and installation mechanism for tRev so that updates and such are faster, easier, fool-proof, asynchronous and offer less interference with other processes such as Rev IDE doing its accessing to its site during its startup. > > There is also a built-in menu item under Help that facilitates sending questions to me (which also reinforces the need to read the docs first). > > Stay tuned for this coming Feature Friday. Little game-changing goin' on. > > Best, > > Jerry Daniels From ambassador at fourthworld.com Thu Mar 11 08:23:57 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 11 Mar 2010 05:23:57 -0800 Subject: lubURL nuances Message-ID: <4B98EEED.30105@fourthworld.com> While working with Dan Friedman to diagnose some FTP issues, he came up with some questions I couldn't answer so I'm bringing them to y'all to see what we can find: 1. Is "put url..." a blocking command? I believe it's supposed to be, but find I can sometime do other things while it's running, including submitting subsequent "put url..." commands. 2. In such a circumstance, the second attempt to "put url..." meets with an error, "Previous request not completed." I've found that once that error hits the original request sometimes runs into trouble, requiring me to use libUrlResetAll and try again. Is there a more graceful way to handle that error? 3. libUrlResetAll comes with a warning not to use it. :) But I've found it the simplest, most reliable way to cancel all socket activity and start fresh. If that's your goal, to reset all socket stuff and start fresh, is there some downside to using libUrlResetAll that I've overlooked? TIA - -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From andre at andregarzia.com Thu Mar 11 09:01:24 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 11 Mar 2010 11:01:24 -0300 Subject: lubURL nuances In-Reply-To: <4B98EEED.30105@fourthworld.com> References: <4B98EEED.30105@fourthworld.com> Message-ID: <7c87a2a11003110601x32b8e2a2o66950fd7c1a8c761@mail.gmail.com> Richard, I will mix my answers with your questions, please, be aware that my answers are not the ultimate truth but products of all my million failed connections during the last few years. > > 1. Is "put url..." a blocking command? > I believe it's supposed to be, but find I can sometime do other > things while it's running, including submitting subsequent > "put url..." commands. > many libURL commands will try to queue multiple calls to the same host, here it usually does not work. > > 2. In such a circumstance, the second attempt to "put url..." > meets with an error, "Previous request not completed." I've > found that once that error hits the original request sometimes > runs into trouble, requiring me to use libUrlResetAll and > try again. Is there a more graceful way to handle that error? > The only way I know to handle liburl stuff such as "previous request not completed" is to use the reset all command. You may be able to query the opensockets and close just the socket that you want. > 3. libUrlResetAll comes with a warning not to use it. :) But I've > found it the simplest, most reliable way to cancel all socket > activity and start fresh. If that's your goal, to reset all > socket stuff and start fresh, is there some downside to using > libUrlResetAll that I've overlooked? > The only downside that people might not be aware is that this will probably close your database connections as well. I am not sure and I am not sure if RevDB will try to reopen them on their own in case they break, but I believe that if you resetall, they break. This is not tested, it is just an opinion and since RevDB revamping, I think it is running on another thread or something similar so its own socket connections might not be affected by the resetall command. > > TIA - > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From massung at gmail.com Thu Mar 11 09:32:31 2010 From: massung at gmail.com (Jeffrey Massung) Date: Thu, 11 Mar 2010 08:32:31 -0600 Subject: lubURL nuances In-Reply-To: <4B98EEED.30105@fourthworld.com> References: <4B98EEED.30105@fourthworld.com> Message-ID: <97C2485D-C9E4-4EB1-AE8E-75F62A02B1DE@gmail.com> Richard, I've spent quite a bit of time figuring out #1 and #2 of your question list. I have a couple... URL intensive apps, and I used to get the "previous request" error all the time. Here's what I've learned through experimentation. 1. Blocking... The PUT URL command is only blocking _within the context of the current handler_. You can think of it as if it was written like so in code: get url "http://..." WITH MESSAGES Meaning that the current handler stops what it's doing waiting for the HTTP fetch to complete, but you can still resize the window, watch GIFs animate, and even click buttons. 2. Previous request errors... You'll get these because of the behavior that PUT URL has (the fact that it allows messages to keep being processed). This behavior is actually a good thing, but means you need to be careful. For example, if you have a button that does a PUT URL on mouseUp, you can click that button many times really fast, and all of them will execute and yield in their handlers once they get to the PUT URL command. The first one will be in the process of fetching the URL when the second one hits the same line of code and trip the "previous request" error. --- Now on to solutions... I've found 2 solutions to this problem that appear to work best. 1. Use LOAD URL exclusively whenever you can. Sadly, this approach fails if you have to do any POST commands, because you can't perform a POST with a callback; it always acts like a PUT URL. This means the POST can fail. But, when it does fail, it fails instantly, you know it failed, and you can try again immediately. 2. Don't trust the LOAD URL message queue that Rev comes with built-in. Sadly, while their message queue for loading URLs is just fine, it doesn't let you inspect it (you can't tell if a URL is currently being loaded, what it is, or what the status of it is). Instead, roll your own. This also has the nice ability of being able to debug easily: global gHttpCmdQ on postHttpCmd pAction, pURL, pTarget, pCallback get gHttpCmdQ is empty ## insert the command onto the queue to be processed later put pAction & tab & pURL & tab & pTarget & tab & pCallback & cr after gHttpCmdQ ## if there were no commands on the queue, process this new one now if it is true then processHttpCmds end if end postHttpCmd on processHttpCmds local tAction local tURL local tTarget local tCallback get the first line of gHttpCmdQ if it is empty then exit processHttpCmds end if ## pop the command off the queue delete the first line of gHttpCmdQ set the itemDelimiter to tab put item 1 of it into tAction put item 2 of it into tURL put item 3 of it into tTarget put item 5 of it into tCallback switch tAction case "GET" get URL tURL break case "POST" post ... break ## more command types here end switch if the result is not empty then dispatch tCallback to tTarget with "error" , the result else dispatch tCallback to tTarget with "cached" , it end if ## continue processing messages from the queue send "processHttpCmds" to me in 0 seconds end processHttpCmds --- Anyway, I use something very similar in my apps and I have yet to run into any problems. YMMV, though. HTH, Jeff M. On Mar 11, 2010, at 7:23 AM, Richard Gaskin wrote: > While working with Dan Friedman to diagnose some FTP issues, he came up with some questions I couldn't answer so I'm bringing them to y'all to see what we can find: > > 1. Is "put url..." a blocking command? > I believe it's supposed to be, but find I can sometime do other > things while it's running, including submitting subsequent > "put url..." commands. > > 2. In such a circumstance, the second attempt to "put url..." > meets with an error, "Previous request not completed." I've > found that once that error hits the original request sometimes > runs into trouble, requiring me to use libUrlResetAll and > try again. Is there a more graceful way to handle that error? From mazzapaoloitaly at gmail.com Thu Mar 11 10:02:05 2010 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Thu, 11 Mar 2010 16:02:05 +0100 Subject: Regular expression In-Reply-To: <61BD7375-52FC-4CE1-9AD2-56FD42C428EE@gmail.com> References: <4365fca01003100330n40ae1ad9n2a5f1e1dc8d22359@mail.gmail.com> <61BD7375-52FC-4CE1-9AD2-56FD42C428EE@gmail.com> Message-ID: <4365fca01003110702x6fd5ddcatc6300193054c5b82@mail.gmail.com> Thank you all. Talking about Regular Expressions, one more question. If I have more than one string matching the Regex I expect the command matchChunk returns more than a couple of numbers, Consider this script: on mouseUp local mySource,myStart,myEnd,TESTO,myStart2,myEnd2 put "xxxxxx src='HTTPWEB' width='3845' height='334' src='HTTPWEB' xxxxx" into TESTO put empty into mySource put empty into myStart put empty into myEnd put matchChunk(TESTO,"src='([^']*)'",myStart,myEnd,myStart2,myEnd2) put myStart & comma & myEnd & comma & myStart2 & comma & myEnd2 end mouseUp This script returns "13,19,," . I exprected something like "13,19,57,63" , because now I have two strings matching "src='([^']*)'" . All the best Paolo From lists at mangomultimedia.com Thu Mar 11 10:24:05 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 11 Mar 2010 10:24:05 -0500 Subject: Customize headers in a datagrid In-Reply-To: <9D3759F9-0944-4DD9-B008-2E3DB9738E63@laposte.net> References: <9D3759F9-0944-4DD9-B008-2E3DB9738E63@laposte.net> Message-ID: On Mar 11, 2010, at 1:35 AM, Ludovic Th?bault wrote: > It's possible to add a little icon before the label of a column ? You are wandering into undocumented territory but now seems like a good time to start documenting it. Here is some information that should help you out. Let's see if we can accomplish what you are trying to do and then I can move the relevant information into the manual. YOUR OPTIONS There are two ways you can manipulate how a column header behaves: 1) You can override the default behavior for column headers by setting the "default header behavior" property: set the dgProp["default header behavior"] of group "DataGrid" to the long id of button "MyCustomBehavior" The default behavior is stored in button "Default Header" of stack "revDataGridLibrary". You can create your custom behavior using that button script as a starting point. 2) You can create a custom column header template. You can specify a custom template for a column header by adding a control to the data grid template group named: COLUMN_NAME [Header] The Data Grid will use that control when drawing the column header. ONE APPROACH A simple solution for adding an icon would be to update to the column header behavior script to work with the HTMLText rather than the text. In the "Default Header" script is a dgLabel setProp: setprop dgLabel pValue set the text of field 1 of me to pValue end dgLabel You could create your own behavior script that did this: setprop dgLabel pValue set the htmltext of field 1 of me to pValue end dgLabel You can could then assign htmltext to the column label using to specify the image id you want to display: set the dgColumnLabel[ COLUMN_NAME ] of group "DataGrid" to " My Label" Let me know how it goes. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From andrew at rjdfarm.com Thu Mar 11 10:57:20 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Thu, 11 Mar 2010 07:57:20 -0800 (PST) Subject: Formating numbers in fields Message-ID: <1268323040867-1589177.post@n4.nabble.com> I have been over alot of the other formatting threads on the list and can't exactly find what I am looking for. Basically, I have a field that is supposed to have the number format "#.##" in it. I want to set it up so that you can enter as many numbers as you want before the decimal but after the decimal it only shows and allows you to enter two numbers. I have tried doing this several ways and just cannot come up with one that works as it should. This should be simple for the code guerrillas on this list. the logic I have pinned down so far. on keydown if "." is in the field and if "." key is being pressed don't pass keydown if "." is in the field then check to see if "." is in char -3 if "." is not in char -3 then ? end keydown Serious brainfart. halp? Andrew Kluthe -- View this message in context: http://n4.nabble.com/Formating-numbers-in-fields-tp1589177p1589177.html Sent from the Revolution - User mailing list archive at Nabble.com. From andre at andregarzia.com Thu Mar 11 10:59:18 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 11 Mar 2010 12:59:18 -0300 Subject: lubURL nuances In-Reply-To: <97C2485D-C9E4-4EB1-AE8E-75F62A02B1DE@gmail.com> References: <4B98EEED.30105@fourthworld.com> <97C2485D-C9E4-4EB1-AE8E-75F62A02B1DE@gmail.com> Message-ID: <7c87a2a11003110759n343497ffpa52331092bce2968@mail.gmail.com> Jeffrey, while I don't trust load url either, you can inspect information thru the combination of callbacks like: libURLSetStatusCallback "downloadstatusbroadcaster", the long ID of stack "program" load URL tURL with message "DownloadQueueCallback" The callback called "downloadstatusbroadcaster" will trigger whenever revolution updates the url status, the other callback "DownloadQueueCallback" will trigger when it finishes its job may it be because the file is complete or due to error. So by using them both you get a good picture of what is happening. What I do for my network heavy app is roll my own queue so that I only start one load call after the previous one is complete may it be due to error or success and I inspect and track the current load call with those callbacks on top. works quite well, this is from production app with lots of users. Cheers andre On Thu, Mar 11, 2010 at 11:32 AM, Jeffrey Massung wrote: > Richard, > > I've spent quite a bit of time figuring out #1 and #2 of your question > list. I have a couple... URL intensive apps, and I used to get the "previous > request" error all the time. Here's what I've learned through > experimentation. > > 1. Blocking... > > The PUT URL command is only blocking _within the context of the current > handler_. You can think of it as if it was written like so in code: > > get url "http://..." WITH MESSAGES > > Meaning that the current handler stops what it's doing waiting for the HTTP > fetch to complete, but you can still resize the window, watch GIFs animate, > and even click buttons. > > 2. Previous request errors... > > You'll get these because of the behavior that PUT URL has (the fact that it > allows messages to keep being processed). This behavior is actually a good > thing, but means you need to be careful. > > For example, if you have a button that does a PUT URL on mouseUp, you can > click that button many times really fast, and all of them will execute and > yield in their handlers once they get to the PUT URL command. The first one > will be in the process of fetching the URL when the second one hits the same > line of code and trip the "previous request" error. > > --- > > Now on to solutions... > > I've found 2 solutions to this problem that appear to work best. > > 1. Use LOAD URL exclusively whenever you can. Sadly, this approach fails if > you have to do any POST commands, because you can't perform a POST with a > callback; it always acts like a PUT URL. This means the POST can fail. But, > when it does fail, it fails instantly, you know it failed, and you can try > again immediately. > > 2. Don't trust the LOAD URL message queue that Rev comes with built-in. > Sadly, while their message queue for loading URLs is just fine, it doesn't > let you inspect it (you can't tell if a URL is currently being loaded, what > it is, or what the status of it is). Instead, roll your own. This also has > the nice ability of being able to debug easily: > > global gHttpCmdQ > > on postHttpCmd pAction, pURL, pTarget, pCallback > get gHttpCmdQ is empty > > ## insert the command onto the queue to be processed later > put pAction & tab & pURL & tab & pTarget & tab & pCallback & cr > after gHttpCmdQ > > ## if there were no commands on the queue, process this new one now > if it is true then > processHttpCmds > end if > end postHttpCmd > > on processHttpCmds > local tAction > local tURL > local tTarget > local tCallback > > get the first line of gHttpCmdQ > > if it is empty then > exit processHttpCmds > end if > > ## pop the command off the queue > delete the first line of gHttpCmdQ > > set the itemDelimiter to tab > > put item 1 of it into tAction > put item 2 of it into tURL > put item 3 of it into tTarget > put item 5 of it into tCallback > > switch tAction > case "GET" > get URL tURL > break > case "POST" > post ... > break > ## more command types here > end switch > > if the result is not empty then > dispatch tCallback to tTarget with "error" , the result > else > dispatch tCallback to tTarget with "cached" , it > end if > > ## continue processing messages from the queue > send "processHttpCmds" to me in 0 seconds > end processHttpCmds > > --- > > Anyway, I use something very similar in my apps and I have yet to run into > any problems. YMMV, though. > > HTH, > > Jeff M. > > > On Mar 11, 2010, at 7:23 AM, Richard Gaskin wrote: > > > While working with Dan Friedman to diagnose some FTP issues, he came up > with some questions I couldn't answer so I'm bringing them to y'all to see > what we can find: > > > > 1. Is "put url..." a blocking command? > > I believe it's supposed to be, but find I can sometime do other > > things while it's running, including submitting subsequent > > "put url..." commands. > > > > 2. In such a circumstance, the second attempt to "put url..." > > meets with an error, "Previous request not completed." I've > > found that once that error hits the original request sometimes > > runs into trouble, requiring me to use libUrlResetAll and > > try again. Is there a more graceful way to handle that error? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From richmondmathewson at gmail.com Thu Mar 11 11:10:12 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 11 Mar 2010 18:10:12 +0200 Subject: Formating numbers in fields In-Reply-To: <1268323040867-1589177.post@n4.nabble.com> References: <1268323040867-1589177.post@n4.nabble.com> Message-ID: <4B9915E4.1020004@gmail.com> On 11/03/2010 17:57, Andrew Kluthe wrote: > I have been over alot of the other formatting threads on the list and can't > exactly find what I am looking for. > > Basically, I have a field that is supposed to have the number format "#.##" > in it. I want to set it up so that you can enter as many numbers as you want > before the decimal but after the decimal it only shows and allows you to > enter two numbers. I have tried doing this several ways and just cannot come > up with one that works as it should. This should be simple for the code > guerrillas on this list. > > the logic I have pinned down so far. > > on keydown > if "." is in the field and if "." key is being pressed don't pass keydown > if "." is in the field then check to see if "." is in char -3 > if "." is not in char -3 then ? > end keydown > > > Serious brainfart. halp? > > Andrew Kluthe > > I'm only a code gorilla . . . :) numberFormat Love, Richmond. From andrew at rjdfarm.com Thu Mar 11 11:16:44 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Thu, 11 Mar 2010 08:16:44 -0800 (PST) Subject: Formating numbers in fields In-Reply-To: <4B9915E4.1020004@gmail.com> References: <1268323040867-1589177.post@n4.nabble.com> <4B9915E4.1020004@gmail.com> Message-ID: <1268324204911-1589213.post@n4.nabble.com> I tried setting that property and I must not know how to use it properly because I could not figure it or the documentation on it out. Do I set this as a property of the field and it handles all that for me? or? >From the dictionary: Examples: set the numberFormat to "#.00" -- dollar format set the numberFormat of scrollbar "Progress" to "0.0" so "set the numberFormat of fld "fLeasePaymentDollars tp "#.##"" doesn't work. How do I use this thing? -- View this message in context: http://n4.nabble.com/Formating-numbers-in-fields-tp1589177p1589213.html Sent from the Revolution - User mailing list archive at Nabble.com. From gregory.lypny at videotron.ca Thu Mar 11 11:27:03 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 11 Mar 2010 11:27:03 -0500 Subject: Update to 4.5.0-dp-2 Message-ID: <385A3A1A-8FD2-4600-B4D3-D3355DBD6CFE@videotron.ca> Hello everyone, I'm using the enterprise version 4.0.0-gm-1 and I keep getting a reminder window inviting me to update to 4.5.0-dp-2. Does this new version work well or is it one of those where we're expected to play around and identify the bugs as it is being finalized? Just a little concerned about ongoing projects being mucked up. Regards, Gregory From bvg at mac.com Thu Mar 11 11:29:57 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 11 Mar 2010 17:29:57 +0100 Subject: Update to 4.5.0-dp-2 In-Reply-To: <385A3A1A-8FD2-4600-B4D3-D3355DBD6CFE@videotron.ca> References: <385A3A1A-8FD2-4600-B4D3-D3355DBD6CFE@videotron.ca> Message-ID: dp is always "developer preview", where gm means "golden master" (which in turn means "final product"). If you are working on a project, and therefore are concerned about stability, stay away from developer previews. If you want to test new features, or verify bugs, then use them for that. On 11 Mar 2010, at 17:27, Gregory Lypny wrote: > Hello everyone, > > I'm using the enterprise version 4.0.0-gm-1 and I keep getting a reminder window inviting me to update to 4.5.0-dp-2. Does this new version work well or is it one of those where we're expected to play around and identify the bugs as it is being finalized? Just a little concerned about ongoing projects being mucked up. -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From bvg at mac.com Thu Mar 11 11:33:15 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 11 Mar 2010 17:33:15 +0100 Subject: Formating numbers in fields In-Reply-To: <1268324204911-1589213.post@n4.nabble.com> References: <1268323040867-1589177.post@n4.nabble.com> <4B9915E4.1020004@gmail.com> <1268324204911-1589213.post@n4.nabble.com> Message-ID: no, you cannot set the numberformat of a field. what you can do is (for example) this: on KeyUp --after someone entered something into the field set the numberformat to "#.00" put the selectedChunk of me into theTempSelection --retain selection add 0 to me --force numberformat select char (word 2 of theTempSelection) to (word 4 of theTempSelection) of me end KeyUp Note that this is a rather evil approach, mostly because there's no way to enter the right hand parts without using arrow navigation or mouse selection. Also, the code throws an error when a point or any non-number char is entered. Maybe it's more advantageous to use two fields, or only check on exitField and closeField, because there it's not as intrusive to interpret and remove wrong chars or double dots etc. but that of course depends on what you've actually planned. Finally, these messages might also need to be handled: on pasteKey on cutKey on closeField On 11 Mar 2010, at 17:16, Andrew Kluthe wrote: > > I tried setting that property and I must not know how to use it properly > because I could not figure it or the documentation on it out. > > Do I set this as a property of the field and it handles all that for me? or? > >> From the dictionary: > > Examples: > set the numberFormat to "#.00" -- dollar format > set the numberFormat of scrollbar "Progress" to "0.0" > > > so "set the numberFormat of fld "fLeasePaymentDollars tp "#.##"" doesn't > work. How do I use this thing? > -- > View this message in context: http://n4.nabble.com/Formating-numbers-in-fields-tp1589177p1589213.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From richmondmathewson at gmail.com Thu Mar 11 11:43:00 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 11 Mar 2010 18:43:00 +0200 Subject: Formating numbers in fields In-Reply-To: <1268324204911-1589213.post@n4.nabble.com> References: <1268323040867-1589177.post@n4.nabble.com> <4B9915E4.1020004@gmail.com> <1268324204911-1589213.post@n4.nabble.com> Message-ID: <4B991D94.3000107@gmail.com> On 11/03/2010 18:16, Andrew Kluthe wrote: > I tried setting that property and I must not know how to use it properly > because I could not figure it or the documentation on it out. > > Do I set this as a property of the field and it handles all that for me? or? > > > From the dictionary: > > Examples: > set the numberFormat to "#.00" -- dollar format > set the numberFormat of scrollbar "Progress" to "0.0" > > > so "set the numberFormat of fld "fLeasePaymentDollars tp "#.##"" doesn't > work. How do I use this thing? Probably because you are making a mess with your quotes . . . :) Try this: http://andregarzia.on-rev.com/richmond/STUFF/CRUNCH.rev.zip works perfectly! From robinsongroup at verizon.net Thu Mar 11 12:10:24 2010 From: robinsongroup at verizon.net (Michael Robinson) Date: Thu, 11 Mar 2010 09:10:24 -0800 Subject: Update to 4.5.0-dp-2 In-Reply-To: <385A3A1A-8FD2-4600-B4D3-D3355DBD6CFE@videotron.ca> References: <385A3A1A-8FD2-4600-B4D3-D3355DBD6CFE@videotron.ca> Message-ID: <4BA571DB-9A16-4EEA-8D76-23F0009CACB5@verizon.net> Gregory, I tried to update, but after downloading installing ect. I get the "Failed to Update" Try again? Mike On Mar 11, 2010, at 8:27 AM, Gregory Lypny wrote: > Hello everyone, > > I'm using the enterprise version 4.0.0-gm-1 and I keep getting a > reminder window inviting me to update to 4.5.0-dp-2. Does this new > version work well or is it one of those where we're expected to play > around and identify the bugs as it is being finalized? Just a > little concerned about ongoing projects being mucked up. > > Regards, > > Gregory > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From andrew at rjdfarm.com Thu Mar 11 12:11:19 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Thu, 11 Mar 2010 09:11:19 -0800 (PST) Subject: Formating numbers in fields In-Reply-To: References: <1268323040867-1589177.post@n4.nabble.com> <4B9915E4.1020004@gmail.com> <1268324204911-1589213.post@n4.nabble.com> Message-ID: <1268327479993-1589316.post@n4.nabble.com> Pefect BvG (is it ok if I call you BvG?)! This is exactly what I was looking for and tried to do but couldn't get to work right on keydown. The closeField handler makes it do EXACTLY what I want. Thanks a mill. Andrew K -- View this message in context: http://n4.nabble.com/Formating-numbers-in-fields-tp1589177p1589316.html Sent from the Revolution - User mailing list archive at Nabble.com. From dave.cragg at lacscentre.co.uk Thu Mar 11 12:14:25 2010 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 11 Mar 2010 17:14:25 +0000 Subject: lubURL nuances In-Reply-To: <4B98EEED.30105@fourthworld.com> References: <4B98EEED.30105@fourthworld.com> Message-ID: <7938DC6C-0B33-44A7-8F64-5EC8D4631218@lacscentre.co.uk> On 11 Mar 2010, at 13:23, Richard Gaskin wrote: > While working with Dan Friedman to diagnose some FTP issues, he came up with some questions I couldn't answer so I'm bringing them to y'all to see what we can find: > > 1. Is "put url..." a blocking command? > I believe it's supposed to be, but find I can sometime do other > things while it's running, including submitting subsequent > "put url..." commands. Jeffrey's post answers this. > > 2. In such a circumstance, the second attempt to "put url..." > meets with an error, "Previous request not completed." I've > found that once that error hits the original request sometimes > runs into trouble, requiring me to use libUrlResetAll and > try again. Is there a more graceful way to handle that error? While the error message is correct, I don't know why it should affect the previous request. The only possible cause I can see is the way the error is returned from libUrl. It uses some unusual syntax which is only available to libUrl. ( return "error Previous request not completed" with empty) The engine handles these return statements, and depending what follows the "with", it may do some clean-up. (deleting script variables to avoid the script having to copy the variables before returning). So perhaps something goes wrong at times and it deletes when it shouldn't. (This is pure speculation.) But if you're using "get url" or other "blocking" calls, I'd suggest you try to prevent users (or your script) from making subsequent calls until the get has returned. Disable the user interface, etc. > > 3. libUrlResetAll comes with a warning not to use it. :) But I've > found it the simplest, most reliable way to cancel all socket > activity and start fresh. If that's your goal, to reset all > socket stuff and start fresh, is there some downside to using > libUrlResetAll that I've overlooked? It will reliably close *all* sockets and delete all script variables in libUrl. The consequences of closing all sockets is clear enough. The deleting of script variables is less clear. I haven't tested this in recent engine builds, but it used to be that those variables weren't always immediately deleted. I'm guessing the engine waited for an idle to do the deletion. So if you had something like the following within a handler: 1. get url someUrl 2. libUrlResetAll 3. get url someOtherUrl line 3 might start the url call but fail when its script variables were suddenly removed in the middle of its activity. So if you're going to use it in your scripts, be sure there's a pause of some kind before making subsequent url calls. Cheers Dave From Andre.Bisseret at inria.fr Thu Mar 11 12:15:45 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Thu, 11 Mar 2010 18:15:45 +0100 Subject: Formating numbers in fields In-Reply-To: <1268323040867-1589177.post@n4.nabble.com> References: <1268323040867-1589177.post@n4.nabble.com> Message-ID: Le 11 mars 10 ? 16:57, Andrew Kluthe a ?crit : > > I have been over alot of the other formatting threads on the list > and can't > exactly find what I am looking for. > > Basically, I have a field that is supposed to have the number format > "#.##" > in it. I want to set it up so that you can enter as many numbers as > you want > before the decimal but after the decimal it only shows and allows > you to > enter two numbers. I have tried doing this several ways and just > cannot come > up with one that works as it should. This should be simple for the > code > guerrillas on this list. > > the logic I have pinned down so far. > > on keydown > if "." is in the field and if "." key is being pressed don't pass > keydown > if "." is in the field then check to see if "." is in char -3 > if "." is not in char -3 then ? > end keydown > > > Serious brainfart. halp? > Bonjour, You might want to have a look at the tutorial from ?ric Chatonet "#020 How to master users data in entry boxes" at So Smart Software: http://www.sosmartsoftware.com/?r=revolution_didacticiels&l=en I just tried the following (following one your idea: - make a field "entryBox" - and a field "allData" In the script of the field "entryBox": ------------ on keydown pKey if pKey is an integer or pKey is "." then pass keydown -- allow numbers only on rawKeyUp local decimal, ----- if fld "entryBox" contains "." and char -3 of fld "entryBox" is "." then put fld "entryBox" & cr after fld "allData" put empty into fld "entryBox" end if end rawKeyUp --------------- HTH Best regards from Grenoble Andr? From francois.chaplais at mines-paristech.fr Thu Mar 11 12:55:22 2010 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Thu, 11 Mar 2010 18:55:22 +0100 Subject: Update to 4.5.0-dp-2 In-Reply-To: <4BA571DB-9A16-4EEA-8D76-23F0009CACB5@verizon.net> References: <385A3A1A-8FD2-4600-B4D3-D3355DBD6CFE@videotron.ca> <4BA571DB-9A16-4EEA-8D76-23F0009CACB5@verizon.net> Message-ID: are you doing this under a non admin account? Le 11 mars 2010 ? 18:10, Michael Robinson a ?crit : > Gregory, > I tried to update, but after downloading installing ect. I get the "Failed to Update" Try again? > > Mike > From jerry.daniels at me.com Thu Mar 11 13:33:40 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Thu, 11 Mar 2010 12:33:40 -0600 Subject: [ANN] tRev build 301 released! In-Reply-To: <3CE7EC30-20BF-4B9D-AB56-618FD77058C1@gmail.com> References: <5EBA7F7F-787A-4553-81CF-5A8BF0DE6D0C@me.com> <3CE7EC30-20BF-4B9D-AB56-618FD77058C1@gmail.com> Message-ID: <56E8EE5B-FDEF-4115-978F-B862602C912E@me.com> Jacopo, Download tRev.app again right now from the site. I think your problem is solved. Let me know what you find via email? jerry at reveditor.com Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/background-tabs-open-a-tab-without-going-ther On Mar 11, 2010, at 3:42 AM, Jacopo Lupi wrote: > Hi Jerry, > > thank you for this big release. > > I mean... i love your software, some of the features of tRev are > really useful and at the end of the work i feel i have to thank you. > > I write just to make you noticed that the annoying bug with the > absence of an internet connection is still there. > If i'm not connected to internet (i.e. while in train 3 hrs per day) > i'm not able to use the save, compile or even to open scripts via > the browser. > > It happened only if i use the dictionary while offline an then i > turn back to trev to continue work. I sent you, a couple of weeks > ago, a report to replicate the bug. > The worst thing then is that i must copy the script from trev to the > internal editor. Because as trev loses the connection all the > changes are not been written to the script. > > Can you fix this connection dependent issue? Or maybe alert the user > when trev is unable to write on the real script underlaying in runrev? > > Thank You very much for all your work. > > Best > Jacopo > > On 10/mar/2010, at 19.27, Jerry Daniels wrote: > >> tRevors, >> >> Feature Friday came late and for good reason. I have rebuilt the >> update and installation mechanism for tRev so that updates and such >> are faster, easier, fool-proof, asynchronous and offer less >> interference with other processes such as Rev IDE doing its >> accessing to its site during its startup. >> >> There is also a built-in menu item under Help that facilitates >> sending questions to me (which also reinforces the need to read the >> docs first). >> >> Stay tuned for this coming Feature Friday. Little game-changing >> goin' on. >> >> Best, >> >> Jerry Daniels > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From andrew at rjdfarm.com Thu Mar 11 14:01:45 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Thu, 11 Mar 2010 11:01:45 -0800 (PST) Subject: Answer dialog Problems Message-ID: <1268334105914-1589563.post@n4.nabble.com> I have a stack that opens as modal. When this stack's answer dialog pops up, it will not allow me to click ok. I can still interact with the modal stack though. When I exit the modal stack I can hit ok on the answer dialog. When this stack is in toplevel it performs normally. Can I not use answer on modals? Also, the answer in question has HTML Formating in it. It works fine. answer "You have some problems that need fixed before you can add this record: " & cr & sFlags & "

-Payment details not saved.
-Click Edit to Fix the invalid entries and try again." But almost the same answer on another similar stack, does not. answer "You have some problems that need fixed before you can add this record:" & cr & sFlags & "

-Payment not added.
-Fix the invalid entries and try again." The html is the same and aside from a few words the answer statements are the same. What gives? -- View this message in context: http://n4.nabble.com/Answer-dialog-Problems-tp1589563p1589563.html Sent from the Revolution - User mailing list archive at Nabble.com. From andrew at rjdfarm.com Thu Mar 11 14:05:41 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Thu, 11 Mar 2010 11:05:41 -0800 (PST) Subject: Answer dialog Problems In-Reply-To: <1268334105914-1589563.post@n4.nabble.com> References: <1268334105914-1589563.post@n4.nabble.com> Message-ID: <1268334341034-1589572.post@n4.nabble.com> A script was stealing focus of the modal, but still no explanation for the HTML problem. -- View this message in context: http://n4.nabble.com/Answer-dialog-Problems-tp1589563p1589572.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Thu Mar 11 14:16:03 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 11 Mar 2010 20:16:03 +0100 Subject: Answer dialog Problems In-Reply-To: <1268334105914-1589563.post@n4.nabble.com> References: <1268334105914-1589563.post@n4.nabble.com> Message-ID: <60039FE8-F755-4604-AB47-AADF4BBEDE70@economy-x-talk.com> Andrew, I am not sure why one sentence works and the other doesn't, but HTML text for the answer dialog should be surrounded by

and

. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 11 mrt 2010, om 20:01 heeft Andrew Kluthe het volgende geschreven: > > I have a stack that opens as modal. When this stack's answer dialog > pops up, > it will not allow me to click ok. I can still interact with the > modal stack > though. When I exit the modal stack I can hit ok on the answer dialog. > > When this stack is in toplevel it performs normally. > > Can I not use answer on modals? > > > Also, the answer in question has HTML Formating in it. It works fine. > > answer "You have some problems that need fixed before you can add this > record: " & cr & sFlags & "

-Payment details not saved.
- > Click > Edit to Fix the invalid entries and try again." > > But almost the same answer on another similar stack, does not. > > answer "You have some problems that need fixed before you can add this > record:" & cr & sFlags & "

-Payment not added.
-Fix the > invalid > entries and try again." > > The html is the same and aside from a few words the answer > statements are > the same. What gives? From andrew at rjdfarm.com Thu Mar 11 14:23:14 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Thu, 11 Mar 2010 11:23:14 -0800 (PST) Subject: Answer dialog Problems In-Reply-To: <60039FE8-F755-4604-AB47-AADF4BBEDE70@economy-x-talk.com> References: <1268334105914-1589563.post@n4.nabble.com> <60039FE8-F755-4604-AB47-AADF4BBEDE70@economy-x-talk.com> Message-ID: <1268335394758-1589601.post@n4.nabble.com> Ah, thanks. I'll try that. I read on here that it looks for a

tag to interpret html but my first statement didn't have a

tag so I assumed it was something else. -- View this message in context: http://n4.nabble.com/Answer-dialog-Problems-tp1589563p1589601.html Sent from the Revolution - User mailing list archive at Nabble.com. From gregory.lypny at videotron.ca Thu Mar 11 14:28:12 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 11 Mar 2010 14:28:12 -0500 Subject: Update to 4.5.0-dp-2 In-Reply-To: <20100311180004.43761288415@mail.runrev.com> References: <20100311180004.43761288415@mail.runrev.com> Message-ID: <9606F1E9-75EF-4AD3-85F3-4191D5379E12@videotron.ca> Thanks for the heads-up Bj?rnke and Michael, I think I'll pass on the update for now. Gregory From dan at clearvisiontech.com Thu Mar 11 14:54:27 2010 From: dan at clearvisiontech.com (Dan Friedman) Date: Thu, 11 Mar 2010 11:54:27 -0800 Subject: error message format In-Reply-To: <20100311180004.6731528843F@mail.runrev.com> References: <20100311180004.6731528843F@mail.runrev.com> Message-ID: <0C411723-1025-410F-A62A-5522B8C430FB@clearvisiontech.com> Ola... I am reading a stack from a website in a standalone application. 99.99% of my clients are fine. However, every now and then, they report this error (which is "the result"): socket timeout ###.###.###.##:80|6924 Now, I get everything ([IP]:[port]) except, what does the 6924 refer to? Hope I'm not being to stupid! Thanks in advance... -Dan From m.schonewille at economy-x-talk.com Thu Mar 11 14:57:03 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 11 Mar 2010 20:57:03 +0100 Subject: error message format In-Reply-To: <0C411723-1025-410F-A62A-5522B8C430FB@clearvisiontech.com> References: <20100311180004.6731528843F@mail.runrev.com> <0C411723-1025-410F-A62A-5522B8C430FB@clearvisiontech.com> Message-ID: <5151C791-6ADF-4702-8661-F5E70AE9698C@economy-x-talk.com> Dan, The number 6924 is the ID of the connection. It allows mutliple computers with the same global IP address to connect to your server and it allows one computer to open multiple connections. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 11 mrt 2010, om 20:54 heeft Dan Friedman het volgende geschreven: > Ola... > > I am reading a stack from a website in a standalone application. > 99.99% of my clients are fine. However, every now and then, they > report this error (which is "the result"): > > socket timeout ###.###.###.##:80|6924 > > Now, I get everything ([IP]:[port]) except, what does the 6924 refer > to? > > Hope I'm not being to stupid! Thanks in advance... > > -Dan From josh at dvcreators.net Thu Mar 11 16:19:05 2010 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 11 Mar 2010 13:19:05 -0800 Subject: lubURL nuances In-Reply-To: <4B98EEED.30105@fourthworld.com> References: <4B98EEED.30105@fourthworld.com> Message-ID: <1619CE1C-49BD-4220-A359-F1A738B83A1E@dvcreators.net> FWIW, we have mostly migrating from libURL to using cURL for downloads and uploads. The nice thing about cURL is that if there is a disconnect 90% of the way through transferring a large file, cURL will resume from where it left off. Also it seems rock solid and reliable. On Mar 11, 2010, at 5:23 AM, Richard Gaskin wrote: > While working with Dan Friedman to diagnose some FTP issues, he came up with some questions I couldn't answer so I'm bringing them to y'all to see what we can find: > > 1. Is "put url..." a blocking command? > I believe it's supposed to be, but find I can sometime do other > things while it's running, including submitting subsequent > "put url..." commands. > > 2. In such a circumstance, the second attempt to "put url..." > meets with an error, "Previous request not completed." I've > found that once that error hits the original request sometimes > runs into trouble, requiring me to use libUrlResetAll and > try again. Is there a more graceful way to handle that error? > > 3. libUrlResetAll comes with a warning not to use it. :) But I've > found it the simplest, most reliable way to cancel all socket > activity and start fresh. If that's your goal, to reset all > socket stuff and start fresh, is there some downside to using > libUrlResetAll that I've overlooked? > > TIA - > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jrosat at mac.com Thu Mar 11 16:29:34 2010 From: jrosat at mac.com (=?iso-8859-1?Q?J=E9r=F4me_Rosat?=) Date: Thu, 11 Mar 2010 22:29:34 +0100 Subject: Data Matrix Message-ID: <3D2E2B55-3D65-499D-8B2D-AA021B783D33@mac.com> I am looking for a library for creating a data matrix in Revolution. I did not find an example with Revolution. I found libdmtx, an open source software for reading and writing Data Matrix 2D barcodes on Linux, Unix, OS X, Windows, and mobile devices. But I found only binary for command line tools for windows and I am not qualified to compile the code to create command line tools Mac OS. Have you already created a data matrix with Revolution ? Is there a volunteer to create an external/library ? Thank you in advance for your help. Jerome From sarah.reichelt at gmail.com Thu Mar 11 16:48:44 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 12 Mar 2010 07:48:44 +1000 Subject: lubURL nuances In-Reply-To: <1619CE1C-49BD-4220-A359-F1A738B83A1E@dvcreators.net> References: <4B98EEED.30105@fourthworld.com> <1619CE1C-49BD-4220-A359-F1A738B83A1E@dvcreators.net> Message-ID: On Fri, Mar 12, 2010 at 7:19 AM, Josh Mellicker wrote: > FWIW, we have mostly migrating from libURL to using cURL for downloads and uploads. The nice thing about cURL is that if there is a disconnect 90% of the way through transferring a large file, cURL will resume from where it left off. Also it seems rock solid and reliable. Is this a cross-platform solution Josh? I know Mac OS X has curl pre-installed, and I assume Linux has, but what about the various versions of Windows? Cheers, Sarah From andre at andregarzia.com Thu Mar 11 16:51:42 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 11 Mar 2010 18:51:42 -0300 Subject: lubURL nuances In-Reply-To: References: <4B98EEED.30105@fourthworld.com> <1619CE1C-49BD-4220-A359-F1A738B83A1E@dvcreators.net> Message-ID: <7c87a2a11003111351y6c896aecx3b6592ac21c854aa@mail.gmail.com> Sarah, You can bundle it inside your standalone and pipe it out when you launch the application. cURL is free (as in really free). Cheers andre On Thu, Mar 11, 2010 at 6:48 PM, Sarah Reichelt wrote: > On Fri, Mar 12, 2010 at 7:19 AM, Josh Mellicker > wrote: > > FWIW, we have mostly migrating from libURL to using cURL for downloads > and uploads. The nice thing about cURL is that if there is a disconnect 90% > of the way through transferring a large file, cURL will resume from where it > left off. Also it seems rock solid and reliable. > > > Is this a cross-platform solution Josh? I know Mac OS X has curl > pre-installed, and I assume Linux has, but what about the various > versions of Windows? > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From DunbarX at aol.com Thu Mar 11 17:28:25 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 11 Mar 2010 17:28:25 EST Subject: cantSelect Message-ID: <62d1f.56aa8517.38cac889@aol.com> Back with this. I am irked by the fact that when an object's "cantSelect" property is "true", messages like "mouseUp" are not sent when clicking with the pointer tool. I know I expect a lot in editing mode already, but the docs say it should be so. "mouseEnter" and "mouseLeave" are sent, but no other ordinary ones. The message watcher shows certain ubiquitous messages being sent in this condition, like "cRevGetsUpdate", but I cannot trap it (though I suspect I will be told not to play with fire). Isn't there a list of these top secret messages somewhere, and how to get to them? Thanks, Craig Newman From mwieder at ahsoftware.net Thu Mar 11 17:58:19 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 11 Mar 2010 14:58:19 -0800 Subject: cantSelect In-Reply-To: <62d1f.56aa8517.38cac889@aol.com> References: <62d1f.56aa8517.38cac889@aol.com> Message-ID: <52877430046.20100311145819@ahsoftware.net> Craig- Thursday, March 11, 2010, 2:28:25 PM, you wrote: > The message watcher shows certain ubiquitous messages being sent in this > condition, like "cRevGetsUpdate", but I cannot trap it (though I suspect I > will be told not to play with fire). Isn't there a list of these top secret > messages somewhere, and how to get to them? That sounds more like a setprop handler firing. Are you sure that was a message? If it turns out to be a setprop event you might be able to trap it with your own setprop handler, although if it's a builtin property you're out of luck. -- -Mark Wieder mwieder at ahsoftware.net From DunbarX at aol.com Thu Mar 11 18:18:51 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 11 Mar 2010 18:18:51 EST Subject: cantSelect Message-ID: <66786.46ed7d5.38cad45b@aol.com> Mark. If I suppress setProps in the message watcher it still comes up. It has to be a system message. Craig In a message dated 3/11/10 5:58:27 PM, mwieder at ahsoftware.net writes: > That sounds more like a setprop handler firing. Are you sure that was > a message? If it turns out to be a setprop event you might be able to > trap it with your own setprop handler, although if it's a builtin > property you're out of luck. > From nealk3nc at gmail.com Thu Mar 11 18:22:30 2010 From: nealk3nc at gmail.com (Neal Campbell) Date: Thu, 11 Mar 2010 18:22:30 -0500 Subject: lubURL nuances In-Reply-To: References: <4B98EEED.30105@fourthworld.com> <1619CE1C-49BD-4220-A359-F1A738B83A1E@dvcreators.net> Message-ID: <325413301003111522y68f2eafgbddde721435e98c6@mail.gmail.com> I am sure its cross-platform because I have a Realbasic plugin that uses it on all three platforms. Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com (540) 645 5394 NEW PHONE NUMBER Amateur Radio: K3NC Blog: http://www.abrohamnealsoftware.com/blog/ DXBase bug reports: email to cases at dxbase.fogbugz.com Abroham Neal forums: http:/www.abrohamnealsoftware.com/community/ On Thu, Mar 11, 2010 at 4:48 PM, Sarah Reichelt wrote: > On Fri, Mar 12, 2010 at 7:19 AM, Josh Mellicker > wrote: > > FWIW, we have mostly migrating from libURL to using cURL for downloads > and uploads. The nice thing about cURL is that if there is a disconnect 90% > of the way through transferring a large file, cURL will resume from where it > left off. Also it seems rock solid and reliable. > > > Is this a cross-platform solution Josh? I know Mac OS X has curl > pre-installed, and I assume Linux has, but what about the various > versions of Windows? > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Thu Mar 11 20:00:33 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 11 Mar 2010 17:00:33 -0800 Subject: cantSelect In-Reply-To: <66786.46ed7d5.38cad45b@aol.com> References: <66786.46ed7d5.38cad45b@aol.com> Message-ID: <5884763390.20100311170033@ahsoftware.net> Craig- Thursday, March 11, 2010, 3:18:51 PM, you wrote: > If I suppress setProps in the message watcher it still comes up. It has to > be a system message. >From the messagebox type revVerboseDebug true then run your test and set it back to false. Look for a file called verboseLog.txt (should be where the Revolution Launcher is). That'll give you a log file that might give you more hints. -- -Mark Wieder mwieder at ahsoftware.net From katir at hindu.org Thu Mar 11 20:14:20 2010 From: katir at hindu.org (Sivakatirswami) Date: Thu, 11 Mar 2010 15:14:20 -1000 Subject: OT: Best Option for Web Delivered Voice Overs Message-ID: <4B99956C.1090608@hindu.org> Looking forward to future slideshows either distributed as revlets or as javascripted/jQuery enhanced web slideshows which are produced by a RunRev desktop client toolbox (Almost everything I do on our web sites is facilitated with some kind of in-house production widgets... as I am sure is the case with most old-time RunRevolutionaries) I am looking any input from experienced sound producers in our field for the following. Some of this may be fairly obvious, but everytime I pose a query like this to this list I always get some nugget of useful info that I did not know or think of before: 1) MP3 Settings: for voice over narration: what would be the best MP3 (lowest you think is reasonable) settings for files that woudl be played along with a slide. 2) Optimum format for Voice Over: Is MP3 the best format for voice over? Will it play "out of the box" in a hidden QT player object on both Mac and Windows? 3) Embedded Clips: Has any one embedded sound clips into a revlet? AIFF and WAV seem horribly "expensive" in terms of bytes added to the stack vs streaming short mp3's from the web server. But perhas AU is small and OK for voice... comments? 4) Text to Speech: How is text to speech working these days on Windows? is this a viable option for revlets... some kinds of "kids stuff" will do just fine with a computer voice reading the English. 5) Production Work Flow Strategies: Any other insights will be appreciated. you can get a Samson USB mic these days really cheap on Amazon.dot and the quality is excellent. It would be marvelous to build a stack, show slides, record on the fly, save and deploy, but I don't think it's going to be that easy... Especially if MP3 is the optimum format, it means stepping out of revolution into Audacity.. Processing clips and going back to set up the QT player to the external file. Or assuming you were really, really good with narration and required no edits: Switch to batch process all the narrations at once after saving as aiff --> process out to .mp3 ... 15 short VO's at average 2-8 secs each will be fast. Goal: production-work flow that gets from 15 photos with voice capture to a slideshow with VO on the web in under 45min. (assumes of course your narration is either ad lib or pre-scripted...) Thanks for your patience with my "mine the list" queries Sivakatirswami From josh at dvcreators.net Thu Mar 11 21:53:43 2010 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 11 Mar 2010 18:53:43 -0800 Subject: lubURL nuances In-Reply-To: References: <4B98EEED.30105@fourthworld.com> <1619CE1C-49BD-4220-A359-F1A738B83A1E@dvcreators.net> Message-ID: On Mar 11, 2010, at 1:48 PM, Sarah Reichelt wrote: > On Fri, Mar 12, 2010 at 7:19 AM, Josh Mellicker wrote: >> FWIW, we have mostly migrating from libURL to using cURL for downloads and uploads. The nice thing about cURL is that if there is a disconnect 90% of the way through transferring a large file, cURL will resume from where it left off. Also it seems rock solid and reliable. > > > Is this a cross-platform solution Josh? I know Mac OS X has curl > pre-installed, and I assume Linux has, but what about the various > versions of Windows? We've had great luck with XP/Vista/Windows 7. Only change in the process command from OS X is the addition of ".exe" (and the path). We have thousands of Windows users, almost no problems. There is a couple to few seconds lag time in read from process... in other words, a file finishes downloading, and our progress bar is still moving for a few seconds, then reports that it's done. No big deal, but I wonder, would an external eliminate some of this delay? From ambassador at fourthworld.com Fri Mar 12 01:21:59 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 11 Mar 2010 22:21:59 -0800 Subject: cantSelect Message-ID: <4B99DD87.5090901@fourthworld.com> DunbarX wrote: > I am irked by the fact that when an object's "cantSelect" property is > "true", messages like "mouseUp" are not sent when clicking with the pointer tool. > I know I expect a lot in editing mode already, but the docs say it should > be so. > > "mouseEnter" and "mouseLeave" are sent, but no other ordinary ones. > > The message watcher shows certain ubiquitous messages being sent in this > condition, like "cRevGetsUpdate", but I cannot trap it (though I suspect I > will be told not to play with fire). Isn't there a list of these top secret > messages somewhere, and how to get to them? It's trapped by the IDE whenever the pointer tool is active in order to prevent layout operations from triggering mouseUp handlers designed for browse tool use. I submitted a request in 2006 to have this noted in the docs: 'Dictionary entries should note when message behavior is altered by the IDE' If you can describe a bit more about what you're looking to do, Imay be able to help find a solution for your circumstance. I've spent a lot of time working around this in both Rev and MC, and working around the workaround in a standalone where this isn't an issue (but other pointer tool things are). I much prefer the way SC handles the pointer tool, splitting messages so there's a separate suite for when the pointer tool is active: 'Add pointerDown, pointerUp, pointerDoubleUp, etc. for when pointer tool is active' Many such circumstances could be avoided altogether if we had the ability to limit the scope of a tool mode to a group: 'tool property for groups/creating objects in groups interactively' -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From revolution at derbrill.de Fri Mar 12 03:06:57 2010 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Fri, 12 Mar 2010 09:06:57 +0100 Subject: Data Matrix In-Reply-To: <20100208144306.ACDE72881BA@mail.runrev.com> References: <20100208144306.ACDE72881BA@mail.runrev.com> Message-ID: <4A4B33F6-137E-4DA3-A478-5A0C9BE29144@derbrill.de> Hi J?r?me, maybe this one helps: All the best, Malte From sarah.reichelt at gmail.com Fri Mar 12 04:12:52 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 12 Mar 2010 19:12:52 +1000 Subject: Data Matrix In-Reply-To: <3D2E2B55-3D65-499D-8B2D-AA021B783D33@mac.com> References: <3D2E2B55-3D65-499D-8B2D-AA021B783D33@mac.com> Message-ID: On Fri, Mar 12, 2010 at 7:29 AM, J?r?me Rosat wrote: > I am looking for a library for creating a data matrix in Revolution. I did not find an example with Revolution. I found libdmtx, an open source software for reading and writing Data Matrix 2D barcodes on Linux, Unix, OS X, Windows, and mobile devices. But I found only binary for command line tools for windows and I am not qualified to compile the code to create command line tools Mac OS. > > Have you already created a data matrix with Revolution ? Is there a volunteer to create an external/library ? If you can rely on a web link, you can use Google's API directly. Here is a script to generate a QR code as an image. on mouseUp put fld "Text" into tPlain put 300 into tWidthHeight put "http://chart.apis.google.com/chart?cht=qr&chs=" & tWidthHeight & "x" & tWidthHeight & "&chl=" & tPlain into tURL put URL tURL into img "QR" end mouseUp HTH, Sarah From DunbarX at aol.com Fri Mar 12 09:20:21 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 12 Mar 2010 09:20:21 EST Subject: cantSelect Message-ID: <88e94.6b2630c6.38cba7a5@aol.com> Richard. Thanks for the info. I worked around it. The dictionary entry for "cantSelect" says: "When the user clicks the control with the Pointer tool, Revolution acts as though it has been clicked with the Browse tool." This is what started me on this. No biggie. But I do agree that the SC commands are plain and simple. Craig From massung at gmail.com Fri Mar 12 09:40:15 2010 From: massung at gmail.com (Jeffrey Massung) Date: Fri, 12 Mar 2010 08:40:15 -0600 Subject: Data grids don't refresh/redraw when disabled? Message-ID: <45F93C68-2BE1-48E1-B1D5-C6115D247534@gmail.com> Just wondering if this was intentional behavior for a reason or not? Often times I find myself disabling a DG while doing a large operation (like downloading a webpage) and then re-enabling it afterwards. If I disable it, though, any resizes won't redraw the DG. Currently my only choice is to overlay a large rectangle on top of the DG that the user can't click through and not just disable it. Anyone have any other suggestions? Jeff M. From nealk3nc at gmail.com Fri Mar 12 09:56:03 2010 From: nealk3nc at gmail.com (Neal Campbell) Date: Fri, 12 Mar 2010 09:56:03 -0500 Subject: Data grids don't refresh/redraw when disabled? In-Reply-To: <45F93C68-2BE1-48E1-B1D5-C6115D247534@gmail.com> References: <45F93C68-2BE1-48E1-B1D5-C6115D247534@gmail.com> Message-ID: <325413301003120656k5a225ec4jfa6af9524cb8d4e8@mail.gmail.com> Could you set a flag when doing your download and which you check in the mouseUp or mouseDown handler and just toss the event away? Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com (540) 645 5394 NEW PHONE NUMBER Amateur Radio: K3NC Blog: http://www.abrohamnealsoftware.com/blog/ DXBase bug reports: email to cases at dxbase.fogbugz.com Abroham Neal forums: http:/www.abrohamnealsoftware.com/community/ On Fri, Mar 12, 2010 at 9:40 AM, Jeffrey Massung wrote: > Just wondering if this was intentional behavior for a reason or not? > > Often times I find myself disabling a DG while doing a large operation > (like downloading a webpage) and then re-enabling it afterwards. If I > disable it, though, any resizes won't redraw the DG. > > Currently my only choice is to overlay a large rectangle on top of the DG > that the user can't click through and not just disable it. > > Anyone have any other suggestions? > > Jeff M._______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Fri Mar 12 10:44:02 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 12 Mar 2010 07:44:02 -0800 Subject: cantSelect In-Reply-To: <4B99DD87.5090901@fourthworld.com> References: <4B99DD87.5090901@fourthworld.com> Message-ID: <168937772468.20100312074402@ahsoftware.net> Richard- Thursday, March 11, 2010, 10:21:59 PM, you wrote: > I much prefer the way SC handles the pointer tool, splitting messages so > there's a separate suite for when the pointer tool is active: > 'Add pointerDown, pointerUp, pointerDoubleUp, etc. for when pointer tool > is active' > I read #2606, and it seems to be about catching mouseUp, etc. when you click on a card in pointer mode. When I've needed to do this I put a graphic or image at the back of the card and catch mouseUp events there. Wouldn't that do the trick for you without having to add a new message to the engine? -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Fri Mar 12 11:35:48 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 12 Mar 2010 08:35:48 -0800 Subject: cantSelect Message-ID: <4B9A6D64.1020000@fourthworld.com> Mark Wieder wrote: > Richard- > > Thursday, March 11, 2010, 10:21:59 PM, you wrote: > >> I much prefer the way SC handles the pointer tool, splitting messages so >> there's a separate suite for when the pointer tool is active: > >> 'Add pointerDown, pointerUp, pointerDoubleUp, etc. for when pointer tool >> is active' >> > > I read #2606, and it seems to be about catching mouseUp, etc. when you > click on a card in pointer mode. When I've needed to do this I put a > graphic or image at the back of the card and catch mouseUp events > there. Wouldn't that do the trick for you without having to add a new > message to the engine? Yes, but it won't work out as you might want: If you're making a drawing app, you'll want to be able to allow the user to drag a marquee around objects to select them. If you add another object in back, that object will be selected instead. If you turn on that object's cantSelect property, you won't get the marquee selection. Same with responding to drops in your drawing region, and other mouse actions in groups. If you have time on your hands you can write several hundred lines of code to emulate the pointer tool using the browse tool. But hand-crafting selection handles and the like is not merely tedious but very difficult to do well, and seems a substantial waste of programmer hours given that the pointer tool already provides more than 95% of what's needed automatically. If you haven't worked in SuperCard, it may be difficult to fully appreciate how simple it can be to make a drawing app. Sometimes I miss it. With Rev's new options for making custom controls (behaviors + the selectGroupedControls group property - beautiful stuff) the opportunity for making some mind-blowingly cool custom drawing environments is wide open, far beyond what we used to do in SC. But to fully exploit this currently requires a rare level of expertise with Rev's messaging, a willingness to experiment, and a lot of hard work. A valuable complement for such work would be to implement tool modes as a group-specific property: http://quality.runrev.com/qacenter/show_bug.cgi?id=623 SC has window-specific tool modes which is nice, but with Rev's more flexible groups it would make more sense, and be far more useful, to have tool modes specific to the group level. That would allow us to have some nice single-window UIs with a toolbar, tools panel, and scrollable drawing region. You can kinda do that now with careful use of cantSelect, but it's really a lot of work and not without complication. And regardless of the scope of tool modes, we still need mouse messages to be sent to the card when the pointer tool is selected as they are when the browse tool is selected. If the backward-compatibility issues for doing so with mouseDown, mouseUp, etc. are too much then pointerDown, pointerUp, etc. can be considered. But whatever the means, messages are the lifeblood of interaction. When we don't get them the blood stops flowing. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From bvg at mac.com Fri Mar 12 12:26:41 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 12 Mar 2010 18:26:41 +0100 Subject: cantSelect In-Reply-To: <4B9A6D64.1020000@fourthworld.com> References: <4B9A6D64.1020000@fourthworld.com> Message-ID: I agree with Richard in spirit. But my pet peeve is the lack of mouse messages and properties that are sent or set when the mouse is down (like for example mouseLoc). especially for games, educational apps and graphing, this would be similarly important. On 12 Mar 2010, at 17:35, Richard Gaskin wrote: > If you have time on your hands you can write several hundred lines of code to emulate the pointer tool using the browse tool. But hand-crafting selection handles and the like is not merely tedious but very difficult to do well, and seems a substantial waste of programmer hours given that the pointer tool already provides more than 95% of what's needed automatically. -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From len-morgan at crcom.net Fri Mar 12 12:41:42 2010 From: len-morgan at crcom.net (Len Morgan) Date: Fri, 12 Mar 2010 11:41:42 -0600 Subject: Substacks Editing and Visibility Message-ID: <4B9A7CD6.4090007@crcom.net> I was trying to update a stack I wrote a couple of years ago (in my revAdolescence stage) and moved what had been several separate stacks into substacks of the main stack. One of those stacks was a debug stack that I can use to send logging information as the program runs. It is marked as visible but ever since moving it into the mainstack, I can't see it anymore. It is "there" because using tRev, I can get a snapshot of the stack and it indeed has the information I've been writing to it there. So my first question is: Can you have a separate "window" composed of a substack of the main window/stack, or are will I have to pull this out as a separate stack file in order to see it? The location looks ok and as I said, the visible property is true. My second question has to do with editing substacks. CAN I edit a substack or do I have to pull it out, edit it, and then put it back as a substack of the main stack? What I'm after in the end is a single (or as close as I can get to it) stack for updating. Thanks, len morgan From bobs at twft.com Fri Mar 12 12:43:38 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 12 Mar 2010 09:43:38 -0800 Subject: Data grids don't refresh/redraw when disabled? In-Reply-To: <45F93C68-2BE1-48E1-B1D5-C6115D247534@gmail.com> References: <45F93C68-2BE1-48E1-B1D5-C6115D247534@gmail.com> Message-ID: <331242ED-3B6B-4286-8BD9-46A19CB875C9@twft.com> Isn't there a command to refresh the data grid? Seems like you could just call that when you are finished doing whatever you are doing. Bob On Mar 12, 2010, at 6:40 AM, Jeffrey Massung wrote: > Just wondering if this was intentional behavior for a reason or not? > > Often times I find myself disabling a DG while doing a large operation (like downloading a webpage) and then re-enabling it afterwards. If I disable it, though, any resizes won't redraw the DG. > > Currently my only choice is to overlay a large rectangle on top of the DG that the user can't click through and not just disable it. > > Anyone have any other suggestions? > > Jeff M._______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Fri Mar 12 12:50:35 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 12 Mar 2010 09:50:35 -0800 Subject: Substacks Editing and Visibility In-Reply-To: <4B9A7CD6.4090007@crcom.net> References: <4B9A7CD6.4090007@crcom.net> Message-ID: <135945365406.20100312095035@ahsoftware.net> Len- Friday, March 12, 2010, 9:41:42 AM, you wrote: > So my first question is: Can you have a separate "window" composed of a > substack of the main window/stack, or are will I have to pull this out > as a separate stack file in order to see it? The location looks ok and > as I said, the visible property is true. go stack should do the trick, if I understand the problem correctly. > My second question has to do with editing substacks. CAN I edit a > substack or do I have to pull it out, edit it, and then put it back as a > substack of the main stack? Editing substacks shouldn't be a problem. Are you saying you're unable to do this or haven't you tried it yet? -- -Mark Wieder mwieder at ahsoftware.net From len-morgan at crcom.net Fri Mar 12 13:01:08 2010 From: len-morgan at crcom.net (Len Morgan) Date: Fri, 12 Mar 2010 12:01:08 -0600 Subject: Substacks Editing and Visibility In-Reply-To: <135945365406.20100312095035@ahsoftware.net> References: <4B9A7CD6.4090007@crcom.net> <135945365406.20100312095035@ahsoftware.net> Message-ID: <4B9A8164.4040907@crcom.net> On 3/12/2010 11:50 AM, Mark Wieder wrote: > Len- > > Friday, March 12, 2010, 9:41:42 AM, you wrote: > > >> So my first question is: Can you have a separate "window" composed of a >> substack of the main window/stack, or are will I have to pull this out >> as a separate stack file in order to see it? The location looks ok and >> as I said, the visible property is true. >> > go stack should do the trick, if I understand the > problem correctly. > > That worked but I don't understand why. I'd like to have that stack just lurking around or minimized so I can bring it up when I want to look at it. Clicking back on my original stack seems to leave both there and operational. I'm just curious what "go stack xxx" does that makes it pop up when I've already "start(ed) using stack xxx" >> My second question has to do with editing substacks. CAN I edit a >> substack or do I have to pull it out, edit it, and then put it back as a >> substack of the main stack? >> > Editing substacks shouldn't be a problem. Are you saying you're unable > to do this or haven't you tried it yet? > > I haven't tried yet but I remember something on the list about editing substacks. It could have been that someone had both a substack and a "real" stack by the same name in the same folder and they we'ren't seeing the changes in the substack because they were editing the "real" stack. I'm sure this will probably work though. len From mwieder at ahsoftware.net Fri Mar 12 13:18:14 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 12 Mar 2010 10:18:14 -0800 Subject: Substacks Editing and Visibility In-Reply-To: <4B9A8164.4040907@crcom.net> References: <4B9A7CD6.4090007@crcom.net> <135945365406.20100312095035@ahsoftware.net> <4B9A8164.4040907@crcom.net> Message-ID: <61947024406.20100312101814@ahsoftware.net> Len- Friday, March 12, 2010, 10:01:08 AM, you wrote: > That worked but I don't understand why. I'd like to have that stack > just lurking around or minimized so I can bring it up when I want to > look at it. Clicking back on my original stack seems to leave both > there and operational. I'm just curious what "go stack xxx" does that > makes it pop up when I've already "start(ed) using stack xxx" "Start using" adds the script to the existing library stacks in memory. "Go" makes the target stack the default stack and shows it on the screen (assuming it's visible). You've got a few options for opening it in lurk mode: you could "go invisible" and just show the stack when you want to; you could set the loc of the substack to somewhere off-screen and bring it back when you wanted to show it, you could just "go" to it when you wanted it on screen (no need to go at any time before that), etc. -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Fri Mar 12 13:29:28 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 12 Mar 2010 20:29:28 +0200 Subject: Substacks Editing and Visibility In-Reply-To: <4B9A8164.4040907@crcom.net> References: <4B9A7CD6.4090007@crcom.net> <135945365406.20100312095035@ahsoftware.net> <4B9A8164.4040907@crcom.net> Message-ID: <4B9A8808.9080503@gmail.com> >I haven't tried yet but I remember something on the list about editing substacks. It could have been that >someone had both a substack and a "real" stack by the same name in the same folder and they we'ren't seeing >the changes in the substack because they were editing the "real" stack. I'm sure this will probably work though. It is fairly daft to have a substack with the same name as the mainstack: things are bound to get confused sooner rather than later. If it is important that the mainstack and the substack have the same thing written in their title bars then give them different names but make sure their titles are the same. After all if one has 2 stacks with the same name (whether 2 mainstacks, 2 substacks or ... ), for instance called "SAMENAME", and you execute something like this: set the backgroundColor of stack "SAMENAME" to pink all sorts of things could ensue . . . :) From randall at randallreetz.com Fri Mar 12 13:57:53 2010 From: randall at randallreetz.com (Randall Lee Reetz) Date: Fri, 12 Mar 2010 10:57:53 -0800 Subject: Rosetta (system performance hit?) Message-ID: Is there one? Just having it installed? Randall From massung at gmail.com Fri Mar 12 14:09:01 2010 From: massung at gmail.com (Jeff Massung) Date: Fri, 12 Mar 2010 13:09:01 -0600 Subject: Rosetta (system performance hit?) In-Reply-To: References: Message-ID: <963c86eb1003121109i53a9c52xdb21ab58c2fc0b5c@mail.gmail.com> My understanding is that Rosetta is just a PPC (and OS 9) emulator... and a very good one, too. Having it installed (and no OS 9 apps running) is no more a performance hit than having Parallels or VMware Fusion installed and not running. Jeff M. On Fri, Mar 12, 2010 at 12:57 PM, Randall Lee Reetz < randall at randallreetz.com> wrote: > Is there one? Just having it installed? > > Randall > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From andre at andregarzia.com Fri Mar 12 14:16:32 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 12 Mar 2010 16:16:32 -0300 Subject: cloning a stack without it poping on screen Message-ID: <7c87a2a11003121116k1ccabfaaj2a1629bd50d7ddca@mail.gmail.com> Hello Folks, Do anyone here knows if there's a way to use a command to clone a stack without making it appear on screen. It appears that the clone command makes it appears at the screenloc. I've moved the parent/source stack off screen and tried cloning but no luck, it still poped in the middle of the screen. The fact is that I want to clone a stack, add some controls to it, position it and then, show it, right now what happens is that the clone command put an empty stack on the screen and then all of a sudden it moves to it's new place with its controls added. any clue? Cheers andre -- http://www.andregarzia.com All We Do Is Code. From alex at a2technology.com Fri Mar 12 14:24:04 2010 From: alex at a2technology.com (Alex Adams) Date: Fri, 12 Mar 2010 11:24:04 -0800 Subject: Row count in datagrid Message-ID: Simple question. How do I determine the row count in a datagrid? I?ve searched through the manual, but I can?t find it. Thanks, -- Alex Adams hawkVision ? tools for solving Wicked Problems (a)2 Technology Partners, Inc. 831-726-8013 alex at a2tecnology.com hawkVisionInfo.wordpress.com universalConnector.wordpress.com From zryip.theslug at gmail.com Fri Mar 12 14:28:33 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 12 Mar 2010 20:28:33 +0100 Subject: cloning a stack without it poping on screen In-Reply-To: <7c87a2a11003121116k1ccabfaaj2a1629bd50d7ddca@mail.gmail.com> References: <7c87a2a11003121116k1ccabfaaj2a1629bd50d7ddca@mail.gmail.com> Message-ID: <64bda6471003121128ofb0a401x42e5e4d1d8c73049@mail.gmail.com> 2010/3/12 Andre Garzia : > Hello Folks, > > Do anyone here knows if there's a way to use a command to clone a stack > without making it appear on screen. It appears that the clone command makes > it appears at the screenloc. I've moved the parent/source stack off screen > and tried cloning but no luck, it still poped in the middle of the screen. > The fact is that I want to clone a stack, add some controls to it, position > it and then, show it, right now what happens is that the clone command put > an empty stack on the screen and then all of a sudden it moves to it's new > place with its controls added. > > any clue? > > Cheers > andre > Hello Andre, Have you try to clone your stack with the: clone invisible stack myStack form ? Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From zryip.theslug at gmail.com Fri Mar 12 14:37:21 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 12 Mar 2010 20:37:21 +0100 Subject: Row count in datagrid In-Reply-To: References: Message-ID: <64bda6471003121137j1fd9acf0h58e951a415799838@mail.gmail.com> 2010/3/12 Alex Adams : > Simple question. ?How do I determine the row count in a datagrid? ?I?ve > searched through the manual, but I can?t find it. > > Thanks, > -- > Alex Adams Hi Alex, Have you tried : put the number of lines of the dgProp["columns"] of group "myDataGrid" Note : The columns property return a line delimited list of columns in your grid. HTH, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From scott at tactilemedia.com Fri Mar 12 14:38:27 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 12 Mar 2010 11:38:27 -0800 Subject: Keyboard Menu Control Blocked? Message-ID: Any thoughts on how I can track down what is preventing my menu buttons from firing when triggered from the keyboard? I've been trying to workaround the issue of how menus are drawn when the menu buttons that display menus are colorized. I tried adding some proxy buttons to trigger the menu buttons which sort of works, but somewhere along the way I lost keyboard triggering of the original menu buttons. Possibly related: I created a new test stack and used the Menu Builder to add a standard menubar. I noticed that the buttons in the default menu display their keyboard control equivalents, whereas the buttons in my stack do not. I can't remember, is there a property/setting that enables this? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX Design From zryip.theslug at gmail.com Fri Mar 12 14:53:49 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 12 Mar 2010 20:53:49 +0100 Subject: Row count in datagrid In-Reply-To: <64bda6471003121137j1fd9acf0h58e951a415799838@mail.gmail.com> References: <64bda6471003121137j1fd9acf0h58e951a415799838@mail.gmail.com> Message-ID: <64bda6471003121153q6a6c8e10q3907529054d0c7ab@mail.gmail.com> 2010/3/12 zryip theSlug : > 2010/3/12 Alex Adams : >> Simple question. ?How do I determine the row count in a datagrid? ?I?ve >> searched through the manual, but I can?t find it. >> >> Thanks, >> -- >> Alex Adams > > > Hi Alex, > > Have you tried : > > put the number of lines of the dgProp["columns"] of group "myDataGrid" > > Note : The columns property return a line delimited list of columns in > your grid. Why I have read columns ?? For row, have you tried the dgNumberOfLines property? Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From alex at a2technology.com Fri Mar 12 15:18:01 2010 From: alex at a2technology.com (Alex Adams) Date: Fri, 12 Mar 2010 12:18:01 -0800 Subject: Row count in datagrid In-Reply-To: <64bda6471003121153q6a6c8e10q3907529054d0c7ab@mail.gmail.com> Message-ID: put the dgNumberOfLines of group "dgConnectedList" of card "crdConnectedList" of stack "stkConnections" into rowCount Always equates to 0 What am I doing wrong? -- Alex Adams hawkVision ? tools for solving Wicked Problems (a)2 Technology Partners, Inc. 831-726-8013 alex at a2tecnology.com hawkVisionInfo.wordpress.com universalConnector.wordpress.com > From: zryip theSlug > Reply-To: How to use Revolution > Date: Fri, 12 Mar 2010 20:53:49 +0100 > To: How to use Revolution > Subject: Re: Row count in datagrid > > 2010/3/12 zryip theSlug : >> 2010/3/12 Alex Adams : >>> Simple question. ?How do I determine the row count in a datagrid? ?I?ve >>> searched through the manual, but I can?t find it. >>> >>> Thanks, >>> -- >>> Alex Adams >> >> >> Hi Alex, >> >> Have you tried : >> >> put the number of lines of the dgProp["columns"] of group "myDataGrid" >> >> Note : The columns property return a line delimited list of columns in >> your grid. > > Why I have read columns ?? > > For row, have you tried the dgNumberOfLines property? > > > Regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From alex at a2technology.com Fri Mar 12 15:23:52 2010 From: alex at a2technology.com (Alex Adams) Date: Fri, 12 Mar 2010 12:23:52 -0800 Subject: Row count in datagrid In-Reply-To: Message-ID: My mistake. Once I rebuilt the list, it worked fine. Thanks, -- Alex Adams hawkVision ? tools for solving Wicked Problems (a)2 Technology Partners, Inc. 831-726-8013 alex at a2tecnology.com hawkVisionInfo.wordpress.com universalConnector.wordpress.com > From: Alex Adams > Reply-To: How to use Revolution > Date: Fri, 12 Mar 2010 12:18:01 -0800 > To: How to use Revolution > Subject: Re: Row count in datagrid > > put the dgNumberOfLines of group "dgConnectedList" of card > "crdConnectedList" of stack "stkConnections" into rowCount > Always equates to 0 > > What am I doing wrong? > -- > Alex Adams > > hawkVision ? tools for solving Wicked Problems > > (a)2 Technology Partners, Inc. > 831-726-8013 > alex at a2tecnology.com > hawkVisionInfo.wordpress.com > universalConnector.wordpress.com > > >> From: zryip theSlug >> Reply-To: How to use Revolution >> Date: Fri, 12 Mar 2010 20:53:49 +0100 >> To: How to use Revolution >> Subject: Re: Row count in datagrid >> >> 2010/3/12 zryip theSlug : >>> 2010/3/12 Alex Adams : >>>> Simple question. ?How do I determine the row count in a datagrid? ?I?ve >>>> searched through the manual, but I can?t find it. >>>> >>>> Thanks, >>>> -- >>>> Alex Adams >>> >>> >>> Hi Alex, >>> >>> Have you tried : >>> >>> put the number of lines of the dgProp["columns"] of group "myDataGrid" >>> >>> Note : The columns property return a line delimited list of columns in >>> your grid. >> >> Why I have read columns ?? >> >> For row, have you tried the dgNumberOfLines property? >> >> >> Regards, >> -- >> -Zryip TheSlug- wish you the best! 8) >> http://www.aslugontheroad.co.cc >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From andre at andregarzia.com Fri Mar 12 15:40:39 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 12 Mar 2010 17:40:39 -0300 Subject: cloning a stack without it poping on screen In-Reply-To: <64bda6471003121128ofb0a401x42e5e4d1d8c73049@mail.gmail.com> References: <7c87a2a11003121116k1ccabfaaj2a1629bd50d7ddca@mail.gmail.com> <64bda6471003121128ofb0a401x42e5e4d1d8c73049@mail.gmail.com> Message-ID: <7c87a2a11003121240qd495950k16e59dc88f2ca794@mail.gmail.com> :-O does that exist??? :-O it is not on the docs... actually there's a user comment saying that... wonderful!!! Thanks! On Fri, Mar 12, 2010 at 4:28 PM, zryip theSlug wrote: > 2010/3/12 Andre Garzia : > > Hello Folks, > > > > Do anyone here knows if there's a way to use a command to clone a stack > > without making it appear on screen. It appears that the clone command > makes > > it appears at the screenloc. I've moved the parent/source stack off > screen > > and tried cloning but no luck, it still poped in the middle of the > screen. > > The fact is that I want to clone a stack, add some controls to it, > position > > it and then, show it, right now what happens is that the clone command > put > > an empty stack on the screen and then all of a sudden it moves to it's > new > > place with its controls added. > > > > any clue? > > > > Cheers > > andre > > > > Hello Andre, > > Have you try to clone your stack with the: > > clone invisible stack myStack > > form ? > > > > Regards, > > > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From jrosat at mac.com Fri Mar 12 16:15:23 2010 From: jrosat at mac.com (=?iso-8859-1?Q?J=E9r=F4me_Rosat?=) Date: Fri, 12 Mar 2010 22:15:23 +0100 Subject: Data Matrix In-Reply-To: <4A4B33F6-137E-4DA3-A478-5A0C9BE29144@derbrill.de> References: <20100208144306.ACDE72881BA@mail.runrev.com> <4A4B33F6-137E-4DA3-A478-5A0C9BE29144@derbrill.de> Message-ID: Hi Malte, Thank you for the link. It is not a data matrix but it helps. Jerome Le 12 mars 2010 ? 09:06, Malte Pfaff-Brill a ?crit : > Hi J?r?me, > > maybe this one helps: > > > All the best, > > Malte > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jrosat at mac.com Fri Mar 12 16:17:56 2010 From: jrosat at mac.com (=?iso-8859-1?Q?J=E9r=F4me_Rosat?=) Date: Fri, 12 Mar 2010 22:17:56 +0100 Subject: Data Matrix In-Reply-To: References: <3D2E2B55-3D65-499D-8B2D-AA021B783D33@mac.com> Message-ID: <504CD5F6-4191-4F97-8EBD-BB61412640B8@mac.com> Hi Sarah, Thank you for the script. I did not know the Google's API. I will try to use QR code instead of data matrix in my project. Jerome Le 12 mars 2010 ? 10:12, Sarah Reichelt a ?crit : > On Fri, Mar 12, 2010 at 7:29 AM, J?r?me Rosat wrote: >> I am looking for a library for creating a data matrix in Revolution. I did not find an example with Revolution. I found libdmtx, an open source software for reading and writing Data Matrix 2D barcodes on Linux, Unix, OS X, Windows, and mobile devices. But I found only binary for command line tools for windows and I am not qualified to compile the code to create command line tools Mac OS. >> >> Have you already created a data matrix with Revolution ? Is there a volunteer to create an external/library ? > > > If you can rely on a web link, you can use Google's API directly. > Here is a script to generate a QR code as an image. > > on mouseUp > put fld "Text" into tPlain > put 300 into tWidthHeight > put "http://chart.apis.google.com/chart?cht=qr&chs=" & > tWidthHeight & "x" & tWidthHeight & "&chl=" & tPlain into tURL > put URL tURL into img "QR" > end mouseUp > > HTH, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From alex at a2technology.com Fri Mar 12 17:33:42 2010 From: alex at a2technology.com (Alex Adams) Date: Fri, 12 Mar 2010 14:33:42 -0800 Subject: Quartam Reports Image Path Message-ID: I am including an icon in each Quartam report that I am building. The image path stored in the report files are literal. How do I store a relative path? Thanks, -- Alex Adams hawkVision ? tools for solving Wicked Problems (a)2 Technology Partners, Inc. 831-726-8013 alex at a2tecnology.com hawkVisionInfo.wordpress.com universalConnector.wordpress.com From josh at dvcreators.net Fri Mar 12 20:20:05 2010 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 12 Mar 2010 17:20:05 -0800 Subject: Was: how to preserve character set encoding when creating a text file? Is: Czechmate: [OT] need to hire Rev programmer In-Reply-To: <464449E9-ACC2-4444-9981-0A0C36D9F159@dvcreators.net> References: <464449E9-ACC2-4444-9981-0A0C36D9F159@dvcreators.net> Message-ID: <08E23DA4-802E-4AC4-BD85-05771B015937@dvcreators.net> We need to hire a Rev programmer who is expert at international character set encoding, has a Windows XP system, and who can solve the following problem: > In Czechoslovakia, the "Application Data" folder on Windows XP is called "Data aplikac?". So, when we get specialfolderpath("26") on Windows, the path looks something like this: > > C:/Documents and Settings/Username/Data aplikac?/OurFolder/ > > In Rev, all works fine. > > But when we create a (regular or binary) text file from a Windows standalone: > > put tBatchCommands into URL ("binfile:" & theBatchFileLoc()) > > the Czech character in the text file is transformed into this: > > C:/Documents and Settings/Username/Data aplikac?/OurFolder/ > > (You can see the last character in "Data aplikac?" has changed) > > When telling cURL to execute this batch file, obviously it cannot find the path and an error results. > > This has only been a problem for Czechoslovakian customers, I think because in most other countries, the translation of "Application Data" doesn't contain any double-byte characters, and mostly with Windows XP (since in Vista, the folder is called "AppData" in Czech and English). > > Obviously we are messing up the character encoding when we write the text file and the character is changed. > > Again, just to be clear: This is NOT a problem WITHIN Revolution, ONLY when writing a text file using the command above. If you know how to write a text file on Windows that preserves international character sets, and are available and interested, please reply off-list. Thanks! From jacque at hyperactivesw.com Fri Mar 12 20:38:00 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 12 Mar 2010 19:38:00 -0600 Subject: Keyboard Menu Control Blocked? In-Reply-To: References: Message-ID: <4B9AEC78.3000105@hyperactivesw.com> Scott Rossi wrote: > Any thoughts on how I can track down what is preventing my menu buttons from > firing when triggered from the keyboard? > > I've been trying to workaround the issue of how menus are drawn when the > menu buttons that display menus are colorized. I tried adding some proxy > buttons to trigger the menu buttons which sort of works, but somewhere along > the way I lost keyboard triggering of the original menu buttons. > > Possibly related: I created a new test stack and used the Menu Builder to > add a standard menubar. I noticed that the buttons in the default menu > display their keyboard control equivalents, whereas the buttons in my stack > do not. I can't remember, is there a property/setting that enables this? There's accelKey and accelMods. Menu buttons have some specific properties that have to be set too, so compare yours with the ones created by the menu builder. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From josh at dvcreators.net Fri Mar 12 20:43:31 2010 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 12 Mar 2010 17:43:31 -0800 Subject: Czechmate: [OT] need to hire Rev programmer Was: how to preserve character set encoding when creating a text file? In-Reply-To: <08E23DA4-802E-4AC4-BD85-05771B015937@dvcreators.net> References: <464449E9-ACC2-4444-9981-0A0C36D9F159@dvcreators.net> <08E23DA4-802E-4AC4-BD85-05771B015937@dvcreators.net> Message-ID: <8F67BBA8-C19A-41DA-B333-400DED769415@dvcreators.net> Sorry for the repeated post, my subject line was backwards before. We need to hire a Rev programmer who is expert at international character set encoding, has a Windows XP system, and who can solve the following problem: > In Czechoslovakia, the "Application Data" folder on Windows XP is called "Data aplikac?". So, when we get specialfolderpath("26") on Windows, the path looks something like this: > > C:/Documents and Settings/Username/Data aplikac?/OurFolder/ > > In Rev, all works fine. > > But when we create a (regular or binary) text file from a Windows standalone: > > put tBatchCommands into URL ("binfile:" & theBatchFileLoc()) > > the Czech character in the text file is transformed into this: > > C:/Documents and Settings/Username/Data aplikac?/OurFolder/ > > (You can see the last character in "Data aplikac?" has changed) > > When telling cURL to execute this batch file, obviously it cannot find the path and an error results. > > This has only been a problem for Czechoslovakian customers, I think because in most other countries, the translation of "Application Data" doesn't contain any double-byte characters, though it has been a problem with some user accounts with accented characters > > Obviously we are messing up the character encoding when we write the text file and the character is changed. > > Again, just to be clear: This is NOT a problem WITHIN Revolution, ONLY when writing a text file using the command above. If you know how to write a text file on Windows that preserves international character sets, and are available and interested, please reply off-list. Thanks! From jacque at hyperactivesw.com Fri Mar 12 20:56:13 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 12 Mar 2010 19:56:13 -0600 Subject: Keyboard Menu Control Blocked? In-Reply-To: <4B9AEC78.3000105@hyperactivesw.com> References: <4B9AEC78.3000105@hyperactivesw.com> Message-ID: <4B9AF0BD.8050607@hyperactivesw.com> J. Landman Gay wrote: > Scott Rossi wrote: >> Any thoughts on how I can track down what is preventing my menu >> buttons from >> firing when triggered from the keyboard? >> >> I've been trying to workaround the issue of how menus are drawn when the >> menu buttons that display menus are colorized. I tried adding some proxy >> buttons to trigger the menu buttons which sort of works, but somewhere >> along >> the way I lost keyboard triggering of the original menu buttons. >> >> Possibly related: I created a new test stack and used the Menu >> Builder to >> add a standard menubar. I noticed that the buttons in the default menu >> display their keyboard control equivalents, whereas the buttons in my >> stack >> do not. I can't remember, is there a property/setting that enables this? > > There's accelKey and accelMods. Menu buttons have some specific > properties that have to be set too, so compare yours with the ones > created by the menu builder. > I should have added that you don't actually need to use these commands most of the time. You can indicate the keyboard shortcuts by adding symbols to the button contents on each line that requires one. As of 4.0 you can find the updated syntax in the engine change log that lets you add keyboard shortcuts comprised of more than one modifier key. If you only need one modifer per menu item, you can just use the old way: put a slash and a letter after the menu item. For example, if you want the Copy item to use Cmd-C, its line in the button contents would be: Copy/C Adding an ampersand after one of the letters will cause it to draw with an underline on Windows menus, so Copy would look like this if you want both the old-style underline and the command key shortcut: C&opy/C The menu builder can add accelerators and modifiers via its interface checkboxes. If you do that and then look at the button contents, it's easy to see how it works. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Fri Mar 12 21:05:58 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 12 Mar 2010 18:05:58 -0800 Subject: Keyboard Menu Control Blocked? In-Reply-To: <4B9AEC78.3000105@hyperactivesw.com> Message-ID: Recently, Jacque Landman Gay wrote: >> Possibly related: I created a new test stack and used the Menu Builder to >> add a standard menubar. I noticed that the buttons in the default menu >> display their keyboard control equivalents, whereas the buttons in my stack >> do not. I can't remember, is there a property/setting that enables this? > > There's accelKey and accelMods. Menu buttons have some specific > properties that have to be set too, so compare yours with the ones > created by the menu builder. Thanks. I've been comparing for th last hour and can't see what's different. I've tried the above on the simple default menu created by the Menu Builder tool -- select the menubutton and in the message box "put the accelKey of the selObj" -- and I get nothing. Same with accelMods. Shouldn't I get a value in the message box? Regards, Scott Rossi Creative Director Tactile Media, UX Design From scott at tactilemedia.com Fri Mar 12 21:12:56 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 12 Mar 2010 18:12:56 -0800 Subject: Keyboard Menu Control Blocked? In-Reply-To: <4B9AF0BD.8050607@hyperactivesw.com> Message-ID: Recently, Jacque Landman Gay wrote: > You can indicate the keyboard shortcuts by adding > symbols to the button contents on each line that requires one. As of 4.0 > you can find the updated syntax in the engine change log that lets you > add keyboard shortcuts comprised of more than one modifier key. If you > only need one modifer per menu item, you can just use the old way: put a > slash and a letter after the menu item. For example, if you want the > Copy item to use Cmd-C, its line in the button contents would be: > > Copy/C > > Adding an ampersand after one of the letters will cause it to draw with > an underline on Windows menus, so Copy would look like this if you want > both the old-style underline and the command key shortcut: > > C&opy/C > > The menu builder can add accelerators and modifiers via its interface > checkboxes. If you do that and then look at the button contents, it's > easy to see how it works. Thanks, I have all this, but the menus aren't triggering, that's what's so frustrating. In the test stack, the menus trigger from the keyboard shortcuts as expected. In my working stack, the menubuttons refuse to trigger. Here's another symptom... When the test stack is suspended (my working stack is the top stack) the keyboard shortcuts continue to trigger the menus in the test stack. My working stack has a custom windowShape -- could that be an issue? It hasn't been up until my messing around with the menu buttons, but this test with menus firing in the suspended stack makes me suspicious. Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX Design From scott at tactilemedia.com Fri Mar 12 21:21:52 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 12 Mar 2010 18:21:52 -0800 Subject: Keyboard Menu Control Blocked? In-Reply-To: <4B9AEC78.3000105@hyperactivesw.com> Message-ID: Recently, I wrote: >> Any thoughts on how I can track down what is preventing my menu buttons from >> firing when triggered from the keyboard? On windows... I just discovered that the menubar property of my working stack was somehow set to empty, even though the menu was present and set up right. I'm thinking maybe this was the problem. Thanks for your responses Jacque -- you helped me consider other issues to track down. Regards, Scott Rossi Creative Director Tactile Media, UX Design From mstrayer1 at comcast.net Fri Mar 12 21:22:03 2010 From: mstrayer1 at comcast.net (mstrayer1 at comcast.net) Date: Sat, 13 Mar 2010 02:22:03 +0000 (UTC) Subject: Revolution Standalone + Norton Internet Security In-Reply-To: <1799653985.332931268446890681.JavaMail.root@sz0009a.emeryville.ca.mail.comcast.net> Message-ID: <1343329819.333011268446923413.JavaMail.root@sz0009a.emeryville.ca.mail.comcast.net> Hello all, I'm new to revolution and have run into a problem. I've made a simple little standalone application (4 text fields, 1 label, 1 button). Right now all that it does it that when the button is pressed it place the contents of one of the fields into the label. The system that this is being run on is Windows7 64bit + Norton Internet Security, both with latest updates. The first time I tried run the standalone I was rewarded with multiple messages for NIS stating that the application was behaving suspiciously . I told NIS to allow the application to continue running and everything works fine. Of course this presents major heartburn for any distribution of the find product since most end users won't be thrilled by a bunch of NIS warnings, I know I wouldn't. So, the question is, has anyone else run into this and what can I do to stop it. Thanks Mike Strayer From jacque at hyperactivesw.com Fri Mar 12 23:02:39 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 12 Mar 2010 22:02:39 -0600 Subject: Keyboard Menu Control Blocked? In-Reply-To: References: Message-ID: <4B9B0E5F.1000707@hyperactivesw.com> Scott Rossi wrote: > Recently, I wrote: > >>> Any thoughts on how I can track down what is preventing my menu buttons from >>> firing when triggered from the keyboard? > > On windows... I just discovered that the menubar property of my working > stack was somehow set to empty, even though the menu was present and set up > right. I'm thinking maybe this was the problem. Thanks for your responses > Jacque -- you helped me consider other issues to track down. Yeah, that would do it. Re-reading the docs about accelKey and accelMods, it looks like that's only for regular card buttons, not menu buttons. I've never used those settings because they didn't used to work cross-platform, but now I see the docs say they do. If so, that's another change I didn't notice. I'm still recovering from the "lock screen" business. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From massung at gmail.com Fri Mar 12 23:13:55 2010 From: massung at gmail.com (Jeffrey Massung) Date: Fri, 12 Mar 2010 22:13:55 -0600 Subject: Revolution Standalone + Norton Internet Security In-Reply-To: <1343329819.333011268446923413.JavaMail.root@sz0009a.emeryville.ca.mail.comcast.net> References: <1343329819.333011268446923413.JavaMail.root@sz0009a.emeryville.ca.mail.comcast.net> Message-ID: <23BA9700-4945-4716-9469-45E46CA6B7E8@gmail.com> Just noting that 2 of my apps are running on Windows XP & Vista machines without this issue at all (this includes machines with either Norton or McAfee). That said, if you figure out what's causing it and how to stop it, I'd very much like to know so I can watch for it with my future releases. Jeff M. On Mar 12, 2010, at 8:22 PM, mstrayer1 at comcast.net wrote: > > The first time I tried run the standalone I was rewarded > with multiple messages for NIS stating that the application > was behaving suspiciously . I told NIS to allow the application > to continue running and everything works fine. From lists at mangomultimedia.com Fri Mar 12 23:15:04 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 12 Mar 2010 23:15:04 -0500 Subject: Data grids don't refresh/redraw when disabled? In-Reply-To: <45F93C68-2BE1-48E1-B1D5-C6115D247534@gmail.com> References: <45F93C68-2BE1-48E1-B1D5-C6115D247534@gmail.com> Message-ID: On Mar 12, 2010, at 9:40 AM, Jeffrey Massung wrote: > Just wondering if this was intentional behavior for a reason or not? > > Often times I find myself disabling a DG while doing a large > operation (like downloading a webpage) and then re-enabling it > afterwards. If I disable it, though, any resizes won't redraw the DG. I did a quick test and it appears that the Rev engine does not send the resizeControl message to the data grid when it is disabled. I'm asking around to see if this is intentional or not (I don't think it is correct behavior) but the workaround is to do the following after resizing the data grid if your data grid is disabled: dispatch "resizeControl" to group "DataGrid" -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From massung at gmail.com Fri Mar 12 23:21:00 2010 From: massung at gmail.com (Jeffrey Massung) Date: Fri, 12 Mar 2010 22:21:00 -0600 Subject: DataGrid AddData issue Message-ID: <0F6EAEA8-6A44-4619-85DB-796B68F235F1@gmail.com> So, I'm not quite sure the best way around this problem, hoping Trevor or someone here can help... It looks like AddData doesn't instantly add the data to a DG form (haven't tried a table). So, for example, if I were to do the following: ## inside the DG group control on doSomething -- .. construct some data .. addData tData get the dgNumberOfLines of me get the dgDataControlOfIndex[it] of me -- .. do something with the data control .. The problem here is that the data control I get back is not of the row I just added, but rather the row previous to it. This is really problematic as I'd like to call a handler on that control, but only when it's created. I also can't wait a little bit of time because several rows may be added in between. My best work-around thought for now is to have a flag in tData that is set to true so that FillInData can check it and call the appropriate handler and set it to false, but that's pretty hacky and I'd prefer being able to do it some other way. Any other ideas appreciated. Jeff M. From jacque at hyperactivesw.com Fri Mar 12 23:20:57 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 12 Mar 2010 22:20:57 -0600 Subject: Revolution Standalone + Norton Internet Security In-Reply-To: <1343329819.333011268446923413.JavaMail.root@sz0009a.emeryville.ca.mail.comcast.net> References: <1343329819.333011268446923413.JavaMail.root@sz0009a.emeryville.ca.mail.comcast.net> Message-ID: <4B9B12A9.6080907@hyperactivesw.com> mstrayer1 at comcast.net wrote: > Hello all, > I'm new to revolution and have run into a problem. > I've made a simple little standalone application > (4 text fields, 1 label, 1 button). Right now all that > it does it that when the button is pressed it place the > contents of one of the fields into the label. The > system that this is being run on is Windows7 64bit > + Norton Internet Security, both with latest updates. > > > The first time I tried run the standalone I was rewarded > with multiple messages for NIS stating that the application > was behaving suspiciously . I told NIS to allow the application > to continue running and everything works fine. > > > Of course this presents major heartburn for any distribution > of the find product since most end users won't be thrilled by > a bunch of NIS warnings, I know I wouldn't. > > > So, the question is, has anyone else run into this and what > can I do to stop it. Oh yes. One of my clients had all kinds of problems with their app because Norton's kept flagging it. There may be a way to get Norton's to whitelist your app if you contact them. In our case, we had to omit a feature that used an external, which solved it. But your app doesn't use an external and is pretty self-contained, so it sounds like Norton's has upped the ante lately. Norton's may honor a manifest if it is built into your app, but I'm not sure. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bvlahos at mac.com Sat Mar 13 00:14:44 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Fri, 12 Mar 2010 21:14:44 -0800 Subject: Revolution Standalone + Norton Internet Security In-Reply-To: <1343329819.333011268446923413.JavaMail.root@sz0009a.emeryville.ca.mail.comcast.net> References: <1343329819.333011268446923413.JavaMail.root@sz0009a.emeryville.ca.mail.comcast.net> Message-ID: <4E3C91C3-D10F-46B8-97F9-50A55A96D386@mac.com> I just ran into this today with Vista. However, it was even worse than what you describe. Norton flagged it "as behaving suspiciously" and DELETED the standalone! No option to even allow it. Bill Vlahos On Mar 12, 2010, at 6:22 PM, mstrayer1 at comcast.net wrote: > Hello all, > I'm new to revolution and have run into a problem. > I've made a simple little standalone application > (4 text fields, 1 label, 1 button). Right now all that > it does it that when the button is pressed it place the > contents of one of the fields into the label. The > system that this is being run on is Windows7 64bit > + Norton Internet Security, both with latest updates. > > > The first time I tried run the standalone I was rewarded > with multiple messages for NIS stating that the application > was behaving suspiciously . I told NIS to allow the application > to continue running and everything works fine. > > > Of course this presents major heartburn for any distribution > of the find product since most end users won't be thrilled by > a bunch of NIS warnings, I know I wouldn't. > > > So, the question is, has anyone else run into this and what > can I do to stop it. > > > Thanks > Mike Strayer > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From pepetoo at cox.net Sat Mar 13 00:35:10 2010 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Fri, 12 Mar 2010 21:35:10 -0800 Subject: Revolution Standalone + Norton Internet Security In-Reply-To: <4E3C91C3-D10F-46B8-97F9-50A55A96D386@mac.com> References: <1343329819.333011268446923413.JavaMail.root@sz0009a.emeryville.ca.mail.comcast.net> <4E3C91C3-D10F-46B8-97F9-50A55A96D386@mac.com> Message-ID: I'm sure glad I don't use Norton; haven't since it slowed my Mac to a crawl some 20 years ago. Joe Lewis Wilkins On Mar 12, 2010, at 9:14 PM, Bill Vlahos wrote: > I just ran into this today with Vista. > > However, it was even worse than what you describe. Norton flagged it "as behaving suspiciously" and DELETED the standalone! > > No option to even allow it. > > Bill Vlahos > > > > On Mar 12, 2010, at 6:22 PM, mstrayer1 at comcast.net wrote: > >> Hello all, >> I'm new to revolution and have run into a problem. >> I've made a simple little standalone application >> (4 text fields, 1 label, 1 button). Right now all that >> it does it that when the button is pressed it place the >> contents of one of the fields into the label. The >> system that this is being run on is Windows7 64bit >> + Norton Internet Security, both with latest updates. >> >> >> The first time I tried run the standalone I was rewarded >> with multiple messages for NIS stating that the application >> was behaving suspiciously . I told NIS to allow the application >> to continue running and everything works fine. >> >> >> Of course this presents major heartburn for any distribution >> of the find product since most end users won't be thrilled by >> a bunch of NIS warnings, I know I wouldn't. >> >> >> So, the question is, has anyone else run into this and what >> can I do to stop it. >> >> >> Thanks >> Mike Strayer >> From mdswindell at cruzio.com Sat Mar 13 01:00:36 2010 From: mdswindell at cruzio.com (Mark Swindell) Date: Fri, 12 Mar 2010 22:00:36 -0800 Subject: Revolution Standalone + Norton Internet Security In-Reply-To: <4E3C91C3-D10F-46B8-97F9-50A55A96D386@mac.com> References: <1343329819.333011268446923413.JavaMail.root@sz0009a.emeryville.ca.mail.comcast.net> <4E3C91C3-D10F-46B8-97F9-50A55A96D386@mac.com> Message-ID: Das ist creepy. Mark On Mar 12, 2010, at 9:14 PM, Bill Vlahos wrote: > I just ran into this today with Vista. > > However, it was even worse than what you describe. Norton flagged it "as behaving suspiciously" and DELETED the standalone! > > No option to even allow it. > > Bill Vlahos > > > > On Mar 12, 2010, at 6:22 PM, mstrayer1 at comcast.net wrote: > >> Hello all, >> I'm new to revolution and have run into a problem. >> I've made a simple little standalone application >> (4 text fields, 1 label, 1 button). Right now all that >> it does it that when the button is pressed it place the >> contents of one of the fields into the label. The >> system that this is being run on is Windows7 64bit >> + Norton Internet Security, both with latest updates. >> >> >> The first time I tried run the standalone I was rewarded >> with multiple messages for NIS stating that the application >> was behaving suspiciously . I told NIS to allow the application >> to continue running and everything works fine. >> >> >> Of course this presents major heartburn for any distribution >> of the find product since most end users won't be thrilled by >> a bunch of NIS warnings, I know I wouldn't. >> >> >> So, the question is, has anyone else run into this and what >> can I do to stop it. >> >> >> Thanks >> Mike Strayer >> >> >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From randall at randallreetz.com Sat Mar 13 01:43:33 2010 From: randall at randallreetz.com (Randall Reetz) Date: Fri, 12 Mar 2010 22:43:33 -0800 Subject: Rosetta (system performance hit?) Message-ID: <20100313064338.ZZQ29164.atlmtaow01.cingularme.com@Inbox> Does anyone know the answer to this system performance hit (running rosetta)? From jacque at hyperactivesw.com Sat Mar 13 01:56:11 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 13 Mar 2010 00:56:11 -0600 Subject: Revolution Standalone + Norton Internet Security In-Reply-To: <4E3C91C3-D10F-46B8-97F9-50A55A96D386@mac.com> References: <1343329819.333011268446923413.JavaMail.root@sz0009a.emeryville.ca.mail.comcast.net> <4E3C91C3-D10F-46B8-97F9-50A55A96D386@mac.com> Message-ID: <4B9B370B.9010102@hyperactivesw.com> Bill Vlahos wrote: > I just ran into this today with Vista. > > However, it was even worse than what you describe. Norton flagged it "as > behaving suspiciously" and DELETED the standalone! > > No option to even allow it. It didn't quarantine it somewhere? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Sat Mar 13 02:01:55 2010 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 13 Mar 2010 01:01:55 -0600 Subject: Regular expression In-Reply-To: <4365fca01003110702x6fd5ddcatc6300193054c5b82@mail.gmail.com> Message-ID: > on mouseUp > local mySource,myStart,myEnd,TESTO,myStart2,myEnd2 > put "xxxxxx src='HTTPWEB' width='3845' height='334' src='HTTPWEB' xxxxx" > into TESTO > put empty into mySource > put empty into myStart > put empty into myEnd > put matchChunk(TESTO,"src='([^']*)'",myStart,myEnd,myStart2,myEnd2) > put myStart & comma & myEnd & comma & myStart2 & comma & myEnd2 > end mouseUp > > This script returns "13,19,," . > I exprected something like "13,19,57,63" , because now I have two strings > matching "src='([^']*)'" . Sorry, Paolo, that's not how matchChunk works. You only get a single match on a given "capture" region (what's inside the parentheses). Normally this match is "greedy" - that is, it will give you the *largest* match it can in the string you're evaluating. You can modify that by providing the "?" and turn it "non-greedy", which will give you the *shortest* match. So with a string of: The hot dog in the hotel was hotter than usual. get matchText(tString,"(h.*t)",tMatch) put tMatch --> he hot dog in the hotel was hotter t get matchText(tString,"(h.*?t)",tMatch) put tMatch --> he hot get matchChunk(tString,"(hot)",tStart,tEnd) put tStart,tEnd --> 5,7 Of course, you can provide multiple capture regions if you know how many regions there will be in the string, but note that the "greediness" applies here too, so watch when you use ? and when you don't: get matchChunk(tString,"(hot).*(hot)",tStart,tEnd,tStart2,tEnd2) put tStart,tEnd,tStart2,tEnd2 --> 5,7,30,32 -- matched first "hot", and "hot" in "hotter" get matchChunk(tString,"(hot).*?(hot)",tStart,tEnd,tStart2,tEnd2) put tStart,tEnd,tStart2,tEnd2 --> 5,7,20,22 -- matched first "hot", and "hot" in "hotel" If you don't know the number of possible capture regions, you'll have to use a repeat loop and limit the string by deleting up to what has matched the last time for each iteration: on mouseUp put "The hot dog in the hotel was hotter than usual." into tString put "" into tMatches put 0 into tAdder repeat if matchChunk(tString,"(hot)",tStart,tEnd) then put (tStart + tAdder) & "," & (tEnd + tAdder) & cr after tMatches add tEnd to tAdder delete char 1 to tEnd of tString else exit repeat end if end repeat put tMatches end mouseUp --> 5,7 20,22 30,32 Anyway, you get the idea... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Sat Mar 13 02:06:44 2010 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 13 Mar 2010 01:06:44 -0600 Subject: Keyboard Menu Control Blocked? In-Reply-To: <4B9B0E5F.1000707@hyperactivesw.com> Message-ID: > Any thoughts on how I can track down what is preventing my menu buttons > from firing when triggered from the keyboard? One thing that Richard told me that I didn't know was that "the defaultMenuBar" actually works on Windows... not the same as on Mac, but it solved a similar problem I had: my app had a toplevel stack and a palette - the user would click on the palette to change a property and then the next time they hit a keystroke to trigger a menu in the menubar on my toplevel stack, it didn't trigger. As it turns out, if you set the defaultMenuBar to the menubar of your topStack, it will be the recipient of all menu key accelerators, regardless of whether someone clicks on a non-toplevel stack or not. So my suggestion would be to check if the defaultMenubar is being set, and if not, to try setting it... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From scott at tactilemedia.com Sat Mar 13 02:10:54 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 12 Mar 2010 23:10:54 -0800 Subject: Sticky Popup? -- SOLVED In-Reply-To: Message-ID: Recently, I wrote: > Is there any way to make the action of popping up a menu "sticky"? Background: I was trying to get a menubar with a custom appearance (black menubar, white button text) to work on Windows Vista and XP. The problem was, colorizing the menu buttons on XP winds up colorizing the text of the menu (white text on a white background is fairly difficult to read), while on Vista I found it virtually impossible to change the appearance of the menu at all (it takes on the default appearance of the OS). I tried using proxy buttons to display the menus of the real buttons, but in doing so pulldown menus are no longer sticky, and when menus are popped, their command-key equivalents are not displayed. Setting the menubar of the stack to empty allowed customizing of the menubar itself, but then the menubar lost its standard behavior and refused to respond to keyboard shortcuts. The solution I found was to set the ink of the default menubar to "noop" and place a dummy menubar of my design *behind* the real menubar. Even though the real menubar is invisible, it responds to clicks and its pulldown menus display properly, with their "stickiness" intact, so one gets the illusion of clicking on the custom menubar. Not sure if this is the best way to pull off custom menus, but it seems to work fine here (and maybe this will save someone some hairpulling). Regards, Scott Rossi Creative Director Tactile Media, UX Design From scott at tactilemedia.com Sat Mar 13 02:15:13 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 12 Mar 2010 23:15:13 -0800 Subject: Keyboard Menu Control Blocked? In-Reply-To: Message-ID: Recently, Ken Ray wrote: > As it turns out, if you set the defaultMenuBar to the menubar of your > topStack, it will be the recipient of all menu key accelerators, regardless > of whether someone clicks on a non-toplevel stack or not. Good to know Ken. It turns out this wasn't the issue in my case, but still useful to know. I have some toplevel/palette stack arrangements that this will probably affect. Best Regards, Scott Rossi Creative Director Tactile Media, UX Design From rene.micout at numericable.com Sat Mar 13 02:38:24 2010 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sat, 13 Mar 2010 08:38:24 +0100 Subject: Rosetta (system performance hit?) In-Reply-To: <20100313064338.ZZQ29164.atlmtaow01.cingularme.com@Inbox> References: <20100313064338.ZZQ29164.atlmtaow01.cingularme.com@Inbox> Message-ID: Hello, In french : http://www.apple.com/fr/rosetta/ In English : http://www.apple.com/rosetta/ : Here are all the instructions you?ll need: double-click the application icon. Behind the scenes, Rosetta dynamically translates most of your PowerPC-based applications to work with your Intel-based Mac. There?s no emulation. No second-class status. It looks and feels just like it did before. On a Mac, you?d expect nothing less. Bons souvenirs de Paris Ren? Le 13 mars 2010 ? 07:43, Randall Reetz a ?crit : > Does anyone know the answer to this system performance hit (running rosetta)? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bvlahos at mac.com Sat Mar 13 02:39:23 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Fri, 12 Mar 2010 23:39:23 -0800 Subject: Revolution Standalone + Norton Internet Security In-Reply-To: <4B9B370B.9010102@hyperactivesw.com> References: <1343329819.333011268446923413.JavaMail.root@sz0009a.emeryville.ca.mail.comcast.net> <4E3C91C3-D10F-46B8-97F9-50A55A96D386@mac.com> <4B9B370B.9010102@hyperactivesw.com> Message-ID: It didn't say it would and I didn't get any message about quarantine. It certainly removed it from the file structure where is was. I opened a ticket at Norton and requested they whitelist my app and look into why Revolution programs are getting flagged. Unfortunately they say it will take 4 to 6 weeks to resolve. Bill On Mar 12, 2010, at 10:56 PM, J. Landman Gay wrote: > Bill Vlahos wrote: >> I just ran into this today with Vista. >> However, it was even worse than what you describe. Norton flagged >> it "as behaving suspiciously" and DELETED the standalone! >> No option to even allow it. > > It didn't quarantine it somewhere? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From rene.micout at numericable.com Sat Mar 13 04:34:37 2010 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sat, 13 Mar 2010 10:34:37 +0100 Subject: Paris Message-ID: Just for the fun, no relation with RunRev : http://www.paris-26-gigapixels.com/HDView/index-fr.php Ren? From zryip.theslug at gmail.com Sat Mar 13 08:48:08 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sat, 13 Mar 2010 14:48:08 +0100 Subject: DataGrid AddData issue In-Reply-To: <0F6EAEA8-6A44-4619-85DB-796B68F235F1@gmail.com> References: <0F6EAEA8-6A44-4619-85DB-796B68F235F1@gmail.com> Message-ID: <64bda6471003130548p29614a33yce262cf93b6833ee@mail.gmail.com> 2010/3/13 Jeffrey Massung : > So, I'm not quite sure the best way around this problem, hoping Trevor or someone here can help... > > It looks like AddData doesn't instantly add the data to a DG form (haven't tried a table). So, for example, if I were to do the following: > > ## inside the DG group control > > on doSomething > ? ? ? ?-- .. construct some data .. > > ? ? ? ?addData tData > > ? ? ? ?get the dgNumberOfLines of me > ? ? ? ?get the dgDataControlOfIndex[it] of me > > ? ? ? ?-- .. do something with the data control .. > > > The problem here is that the data control I get back is not of the row I just added, but rather the row previous to it. This is really problematic as I'd like to call a handler on that control, but only when it's created. I also can't wait a little bit of time because several rows may be added in between. > > My best work-around thought for now is to have a flag in tData that is set to true so that FillInData can check it and call the appropriate handler and set it to false, but that's pretty hacky and I'd prefer being able to do it some other way. Hello Jeffrey, Have you tried to refresh the data with the "RefreshList" command after the addData instruction? Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From massung at gmail.com Sat Mar 13 08:51:37 2010 From: massung at gmail.com (Jeffrey Massung) Date: Sat, 13 Mar 2010 07:51:37 -0600 Subject: DataGrid AddData issue In-Reply-To: <64bda6471003130548p29614a33yce262cf93b6833ee@mail.gmail.com> References: <0F6EAEA8-6A44-4619-85DB-796B68F235F1@gmail.com> <64bda6471003130548p29614a33yce262cf93b6833ee@mail.gmail.com> Message-ID: <65AFC989-DA86-400F-BEC1-F984D0C53F25@gmail.com> On Mar 13, 2010, at 7:48 AM, zryip theSlug wrote: > 2010/3/13 Jeffrey Massung : >> So, I'm not quite sure the best way around this problem, hoping Trevor or someone here can help... >> >> It looks like AddData doesn't instantly add the data to a DG form (haven't tried a table). So, for example, if I were to do the following: >> >> ## inside the DG group control >> >> on doSomething >> -- .. construct some data .. >> >> addData tData >> >> get the dgNumberOfLines of me >> get the dgDataControlOfIndex[it] of me >> >> -- .. do something with the data control .. >> >> >> The problem here is that the data control I get back is not of the row I just added, but rather the row previous to it. This is really problematic as I'd like to call a handler on that control, but only when it's created. I also can't wait a little bit of time because several rows may be added in between. >> >> My best work-around thought for now is to have a flag in tData that is set to true so that FillInData can check it and call the appropriate handler and set it to false, but that's pretty hacky and I'd prefer being able to do it some other way. > > Hello Jeffrey, > > Have you tried to refresh the data with the "RefreshList" command > after the addData instruction? Yes. No change. It just refreshes the controls that are already there. Either that or it's just queuing up a refresh to happen at a later time (understandable, if so). Jeff M. From tereza at califex.com Sat Mar 13 09:16:49 2010 From: tereza at califex.com (Tereza Snyder) Date: Sat, 13 Mar 2010 08:16:49 -0600 Subject: Sticky Popup? -- SOLVED In-Reply-To: References: Message-ID: <8D2A4EBD-80FF-4E01-B442-809FA5E32B05@califex.com> On Mar 13, 2010, at 1:10 AM, Scott Rossi wrote: > Recently, I wrote: > >> Is there any way to make the action of popping up a menu "sticky"? > ... > The solution I found was to set the ink of the default menubar to "noop" and > place a dummy menubar of my design *behind* the real menubar. Even though > the real menubar is invisible, it responds to clicks and its pulldown menus > display properly, with their "stickiness" intact, so one gets the illusion > of clicking on the custom menubar. > > Not sure if this is the best way to pull off custom menus, but it seems to > work fine here (and maybe this will save someone some hairpulling). My few hairs are now reserved for other projects! "noop" saves the day! t -- Tereza Snyder Califex Software, Inc. From JRARICK at hpsk12.net Sat Mar 13 10:03:13 2010 From: JRARICK at hpsk12.net (JACK RARICK) Date: Sat, 13 Mar 2010 10:03:13 -0500 Subject: FTP Help Please Message-ID: I have searched the archives - but obviously not well enough - for a stack or help in using FTP from a stack. Does anyone know of a stack out there that I could tear apart (which is how I learn best) and learn the following: How to connect to an FTP server. (I have one on driveHQ) How to upload a text file or image to that server. How to download a different text file or image from that server. Many, many thanks in advance. Jack Rarick Holt Public Schools From richmondmathewson at gmail.com Sat Mar 13 10:14:23 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 13 Mar 2010 17:14:23 +0200 Subject: FTP Help Please In-Reply-To: References: Message-ID: <4B9BABCF.60700@gmail.com> On 13/03/2010 17:03, JACK RARICK wrote: > I have searched the archives - but obviously not well enough - for a stack or help in using FTP from a stack. > > Does anyone know of a stack out there that I could tear apart (which is how I learn best) and learn the following: > > How to connect to an FTP server. (I have one on driveHQ) > How to upload a text file or image to that server. > How to download a different text file or image from that server. > > Many, many thanks in advance. > > Jack Rarick > Holt Public Schools_______________________________________________ http://economy-x-talk.com/ecxftp.html From ambassador at fourthworld.com Sat Mar 13 11:15:53 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 13 Mar 2010 08:15:53 -0800 Subject: FTP Help Please Message-ID: <4B9BBA39.6020900@fourthworld.com> JACK RARICK wrote: > I have searched the archives - but obviously not well enough > - for a stack or help in using FTP from a stack. > > Does anyone know of a stack out there that I could tear apart > (which is how I learn best) and learn the following: > > How to connect to an FTP server. (I have one on driveHQ) You're about to have a very good time. :) Explicit connection isn't needed - libURL handles that for you whenever you use one of its file transfer commands. > How to upload a text file or image to that server. put url ("file:"& tMyLocalFile) into url tMyServerUrl Where tMyServerUrl is in the standard format for including protocol, login, and password, e.g: ftp://user:password at ftp.domain.com/folder/filename.txt > How to download a different text file or image from that server. Same thing but in reverse: put url tMyServerUrl into url ("file:"& tMyLocalFile) Yep, thanks to Dave Cragg and the others who've worked on Rev's libURL, it's that easy. :) There's a lot more libURL can do too, including providing callbacks to let you know when a file is done transferring so you can take further action, or providing status updates during the transfer so you can use a progress bar. But for small text files you probably won't need a progress bar because they'll transfer so fast. Just check "the result" after each libURL call to see if anything went wrong, and take appropriate action from there: put url tMyServerUrl into url ("file:"& tMyLocalFile) if the result is not empty then answer "An error occurred while downloading: "& the result exit to top end if Complete docs and other helpful notes on libURL are in the RevTalk Dictionary and here: -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From len-morgan at crcom.net Sat Mar 13 11:18:38 2010 From: len-morgan at crcom.net (Len Morgan) Date: Sat, 13 Mar 2010 10:18:38 -0600 Subject: Data Grid Column Header Alignment Changes after column resize Message-ID: <4B9BBADE.50908@crcom.net> I'm trying to use my first Data Grid (table) in a stack and I need to set the column Header alignment for a few of the columns. Following the instructions in the DG manual, I entered the alignments using the message box and it looked fine. But then I resized one of the columns and all of the alignments changed, some of them even aligning themselves such that only half of the text showed in the column. Do I need to set the alignments every time the grid is displayed? If so, where can I do that? len morgan From JRARICK at hpsk12.net Sat Mar 13 11:18:54 2010 From: JRARICK at hpsk12.net (JACK RARICK) Date: Sat, 13 Mar 2010 11:18:54 -0500 Subject: FTP Help Please In-Reply-To: <4B9BBA39.6020900@fourthworld.com> References: <4B9BBA39.6020900@fourthworld.com> Message-ID: Wow! Incredible responses from both Richard and Richmond! Thank you both! And yes ... did the trick! Thanks again! Jack Rarick Holt Public Schools Holt MI 48842 ________________________________________ From: use-revolution-bounces at lists.runrev.com [use-revolution-bounces at lists.runrev.com] On Behalf Of Richard Gaskin [ambassador at fourthworld.com] Sent: Saturday, March 13, 2010 11:15 AM To: How to use Revolution Subject: Re: FTP Help Please JACK RARICK wrote: > I have searched the archives - but obviously not well enough > - for a stack or help in using FTP from a stack. > > Does anyone know of a stack out there that I could tear apart > (which is how I learn best) and learn the following: > > How to connect to an FTP server. (I have one on driveHQ) You're about to have a very good time. :) Explicit connection isn't needed - libURL handles that for you whenever you use one of its file transfer commands. > How to upload a text file or image to that server. put url ("file:"& tMyLocalFile) into url tMyServerUrl Where tMyServerUrl is in the standard format for including protocol, login, and password, e.g: ftp://user:password at ftp.domain.com/folder/filename.txt > How to download a different text file or image from that server. Same thing but in reverse: put url tMyServerUrl into url ("file:"& tMyLocalFile) Yep, thanks to Dave Cragg and the others who've worked on Rev's libURL, it's that easy. :) There's a lot more libURL can do too, including providing callbacks to let you know when a file is done transferring so you can take further action, or providing status updates during the transfer so you can use a progress bar. But for small text files you probably won't need a progress bar because they'll transfer so fast. Just check "the result" after each libURL call to see if anything went wrong, and take appropriate action from there: put url tMyServerUrl into url ("file:"& tMyLocalFile) if the result is not empty then answer "An error occurred while downloading: "& the result exit to top end if Complete docs and other helpful notes on libURL are in the RevTalk Dictionary and here: -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- This email was Anti Virus checked by Astaro Security Gateway. http://www.astaro.com From userev at canelasoftware.com Sat Mar 13 11:37:07 2010 From: userev at canelasoftware.com (Mark Talluto) Date: Sat, 13 Mar 2010 08:37:07 -0800 Subject: FTP Help Please In-Reply-To: References: Message-ID: <0BE596EE-FD84-417F-BEAB-D484686AC0AA@canelasoftware.com> Hi Jack, http://www.canelasoftware.com/pub/rev/FTP.rev.gz You can also get it from RevNet (CS FTP) which is managed by Richard Gaskin. There you will find a bunch of other helpful stacks. -Mark On Mar 13, 2010, at 7:03 AM, JACK RARICK wrote: > I have searched the archives - but obviously not well enough - for a > stack or help in using FTP from a stack. > > Does anyone know of a stack out there that I could tear apart (which > is how I learn best) and learn the following: > > How to connect to an FTP server. (I have one on driveHQ) > How to upload a text file or image to that server. > How to download a different text file or image from that server. > > Many, many thanks in advance. > > Jack Rarick > Holt Public Schools_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jrarick at hpsk12.net Sat Mar 13 12:05:50 2010 From: jrarick at hpsk12.net (jrarick at hpsk12.net) Date: Sat, 13 Mar 2010 17:05:50 +0000 Subject: FTP Help Please In-Reply-To: <0BE596EE-FD84-417F-BEAB-D484686AC0AA@canelasoftware.com> References: <0BE596EE-FD84-417F-BEAB-D484686AC0AA@canelasoftware.com> Message-ID: <1248524063-1268499729-cardhu_decombobulator_blackberry.rim.net-380208269-@bda787.bisx.prod.on.blackberry> Mark! Thank you ... That is a VERY cool and helpful stack! Jack Sent from my Verizon Wireless BlackBerry -----Original Message----- From: Mark Talluto Date: Sat, 13 Mar 2010 11:37:07 To: How to use Revolution Subject: Re: FTP Help Please Hi Jack, http://www.canelasoftware.com/pub/rev/FTP.rev.gz You can also get it from RevNet (CS FTP) which is managed by Richard Gaskin. There you will find a bunch of other helpful stacks. -Mark On Mar 13, 2010, at 7:03 AM, JACK RARICK wrote: > I have searched the archives - but obviously not well enough - for a > stack or help in using FTP from a stack. > > Does anyone know of a stack out there that I could tear apart (which > is how I learn best) and learn the following: > > How to connect to an FTP server. (I have one on driveHQ) > How to upload a text file or image to that server. > How to download a different text file or image from that server. > > Many, many thanks in advance. > > Jack Rarick > Holt Public Schools_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From janschenkel at yahoo.com Sat Mar 13 12:26:06 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat, 13 Mar 2010 09:26:06 -0800 (PST) Subject: Quartam Reports Image Path In-Reply-To: Message-ID: <436613.37735.qm@web65404.mail.ac4.yahoo.com> --- On Fri, 3/12/10, Alex Adams wrote: > I am including an icon in each > Quartam report that I am building.? The image > path stored in the report files are literal.? How do I > store a relative > path? > > Thanks, > -- > Alex Adams > Hi Alex, You're not per se limited to absolute paths - if you specify a relative path in the filename field, the revEngine will look for your image in a few places. Check out the 'defaultFolder' property in the docs. HTH, Jan Schenkel ===== Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From Andre.Bisseret at inria.fr Sat Mar 13 13:42:24 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Sat, 13 Mar 2010 19:42:24 +0100 Subject: Data Grid Column Header Alignment Changes after column resize In-Reply-To: <4B9BBADE.50908@crcom.net> References: <4B9BBADE.50908@crcom.net> Message-ID: Le 13 mars 10 ? 17:18, Len Morgan a ?crit : > I'm trying to use my first Data Grid (table) in a stack and I need > to set the column Header alignment for a few of the columns. > Following the instructions in the DG manual, I entered the > alignments using the message box and it looked fine. But then I > resized one of the columns and all of the alignments changed, some > of them even aligning themselves such that only half of the text > showed in the column. > > Do I need to set the alignments every time the grid is displayed? > If so, where can I do that? > Bonjour Len, I had a similar problem. I assumed that your are centering the headers? Anyway, could be that your resized column is not wide enough; at the right side of each header, a space is kept for the arrow icon which shows the sorting direction. If the header is centered, then the column must take this space into account otherwise the header is not entirely visible (seems like shifted to the left) Widening a bit your column should allow you to see the whole text of the header. If this does not solve your problem, could be that a script in the revdatagridlibrary has to be completed (It was the case for my problem) but I prefer that Trevor helps you if such a modification is necessary ;-)) Best regards from Grenoble Andr? From len-morgan at crcom.net Sat Mar 13 13:46:59 2010 From: len-morgan at crcom.net (Len Morgan) Date: Sat, 13 Mar 2010 12:46:59 -0600 Subject: Data Grid Column Header Alignment Changes after column resize In-Reply-To: References: <4B9BBADE.50908@crcom.net> Message-ID: <4B9BDDA3.4040804@crcom.net> Thank you, Andr? On more question if I may, where exactly would I put a handler that would set the color of each row according to the value of one of the columns? For example, if column (database field actually) "status" is 'I' then I want the row to be green. If it's 'R' then I want it to be pink, etc. I don't mind that the selection will turn the current row blue, but I need a way to set it back again and of course, to set the colors when the data is loaded originally. Thanks! len morgan On 3/13/2010 12:42 PM, Andre.Bisseret wrote: > > Le 13 mars 10 ? 17:18, Len Morgan a ?crit : > >> I'm trying to use my first Data Grid (table) in a stack and I need to >> set the column Header alignment for a few of the columns. Following >> the instructions in the DG manual, I entered the alignments using the >> message box and it looked fine. But then I resized one of the >> columns and all of the alignments changed, some of them even aligning >> themselves such that only half of the text showed in the column. >> >> Do I need to set the alignments every time the grid is displayed? If >> so, where can I do that? >> > Bonjour Len, > > I had a similar problem. > I assumed that your are centering the headers? > Anyway, could be that your resized column is not wide enough; at the > right side of each header, a space is kept for the arrow icon which > shows the sorting direction. > If the header is centered, then the column must take this space into > account otherwise the header is not entirely visible (seems like > shifted to the left) > Widening a bit your column should allow you to see the whole text of > the header. > > If this does not solve your problem, could be that a script in the > revdatagridlibrary has to be completed (It was the case for my > problem) but I prefer that Trevor helps you if such a modification is > necessary ;-)) > > Best regards from Grenoble > > Andr? > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From bvlahos at mac.com Sat Mar 13 14:17:34 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Sat, 13 Mar 2010 11:17:34 -0800 Subject: Add file to Custom Property Message-ID: I want to add a file from disk to a custom property, encrypt it, and save it. Then I want to be able to extract the file from the custom property and open it in the appropriate application. The first step is to put the file into the custom property but my code below only puts the path to the file. on mouseUp answer file "Please select a file..." put it into lFileToRead -- Read the binary contents of a file into a variable open file lFileToRead for binary read read from file lFileToRead until end put base64Encode(lFileToRead) into lBinaryFile -- not sure if this is needed close file lFileToRead set the uFileStore of me to lBinaryFile end mouseUp What am I missing? Bill Vlahos From massung at gmail.com Sat Mar 13 14:25:31 2010 From: massung at gmail.com (Jeffrey Massung) Date: Sat, 13 Mar 2010 13:25:31 -0600 Subject: Add file to Custom Property In-Reply-To: References: Message-ID: <2591780E-9833-480C-B1C3-E9CD64226AF5@gmail.com> On Mar 13, 2010, at 1:17 PM, Bill Vlahos wrote: > I want to add a file from disk to a custom property, encrypt it, and save it. Then I want to be able to extract the file from the custom property and open it in the appropriate application. > > > read from file lFileToRead until end > put base64Encode(lFileToRead) into lBinaryFile -- not sure if this is needed lFileToRead is the name of the file, not the data that was read from the file. Use 'it' to access the data that was read from lFileToRead. And, as a side note given the first sentence of your email... base64 encoding is not a form of encryption, nor is it a type of compression. Base64 encoding is a means of taking binary data and turning it into something that can be sent via email, posted to a website, etc (read: no spaces, line feeds, nulls, etc). If you want to actually encrypt the data, you should do that first before base64 encoding it (with the encrypt command). But, you should be aware that the encrypt command requires a password/key, which will also be needed to decrypt the data. While you may be able to encrypt it with the message box or via some other means, you'll need the password/key in a script somewhere to decrypt it... thereby nullifying any hope of secrecy for whatever the data happens to contain. Jeff M. From jimaultwins at yahoo.com Sat Mar 13 15:16:14 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Sat, 13 Mar 2010 12:16:14 -0800 Subject: Add file to Custom Property In-Reply-To: References: Message-ID: <2A15C81C-A2E5-4C23-A4B7-6A1930C83F3F@yahoo.com> --First you should do something to allow the user to cancel, such as if it is empty then exit to top -- now put it into pathAndFilenameToRead -- not just the file name --either put url ("binary:" & pathAndFilenameToRead) into binFileInVariable set the uFileStore of me to binFileInVariable --or one step and no memory variable is created --so it becomes 3 lines and user friendly + memory friendly > on mouseUp > answer file "Please select a file..." if IT is empty then exit to top set the uFileStore of me to url ("binary:" & IT) > end mouseUp On Mar 13, 2010, at 11:17 AM, Bill Vlahos wrote: > I want to add a file from disk to a custom property, encrypt it, and > save it. Then I want to be able to extract the file from the custom > property and open it in the appropriate application. > > The first step is to put the file into the custom property but my > code below only puts the path to the file. > on mouseUp > answer file "Please select a file..." > put it into lFileToRead > -- Read the binary contents of a file into a variable > open file lFileToRead for binary read > read from file lFileToRead until end > put base64Encode(lFileToRead) into lBinaryFile -- not sure if this > is needed > close file lFileToRead > set the uFileStore of me to lBinaryFile > end mouseUp > > What am I missing? Jim Ault Las Vegas From jimaultwins at yahoo.com Sat Mar 13 15:23:28 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Sat, 13 Mar 2010 12:23:28 -0800 Subject: Add file to Custom Property In-Reply-To: References: Message-ID: <4A1FA9E0-7BB8-4BC2-8746-C3AF530407E8@yahoo.com> Now for the encryption... base64 is not encryption. It is conversion to another character representation, which is easily transparent to most word processors, such as BBEdit, TextEdit, etc. You need to decide what level of security is required. Read up, (especially if medical data is involved) On Mar 13, 2010, at 11:17 AM, Bill Vlahos wrote: > I want to add a file from disk to a custom property, encrypt it, and > save it. Then I want to be able to extract the file from the custom > property and open it in the appropriate application. > > The first step is to put the file into the custom property but my > code below only puts the path to the file. > on mouseUp > answer file "Please select a file..." > put it into lFileToRead > -- Read the binary contents of a file into a variable > open file lFileToRead for binary read > read from file lFileToRead until end > put base64Encode(lFileToRead) into lBinaryFile -- not sure if this > is needed > close file lFileToRead > set the uFileStore of me to lBinaryFile > end mouseUp > > What am I missing? > > Bill Vlahos Jim Ault Las Vegas From bvlahos at mac.com Sat Mar 13 15:23:49 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Sat, 13 Mar 2010 12:23:49 -0800 Subject: Add file to Custom Property In-Reply-To: <2591780E-9833-480C-B1C3-E9CD64226AF5@gmail.com> References: <2591780E-9833-480C-B1C3-E9CD64226AF5@gmail.com> Message-ID: Jeff, Thanks. That seems to do it. on mouseUp answer file "Please select a file..." put it into lFileToRead -- Read the binary contents of a file into a variable open file lFileToRead for binary read read from file lFileToRead until end close file lFileToRead set the uFileStore of me to it end mouseUp I don't think I need to do the Base64 encoding. You are correct I didn't have any code for encrypting but I know how to do that. Next is how do I open the file saved? I don't really want to write it to disk for security reasons unless I need to. This statement doesn't work. open (URL "binfile:" & uFileStore of button "Save File") Bill Vlahos On Mar 13, 2010, at 11:25 AM, Jeffrey Massung wrote: > lFileToRead is the name of the file, not the data that was read from the file. Use 'it' to access the data that was read from lFileToRead. > > And, as a side note given the first sentence of your email... base64 encoding is not a form of encryption, nor is it a type of compression. Base64 encoding is a means of taking binary data and turning it into something that can be sent via email, posted to a website, etc (read: no spaces, line feeds, nulls, etc). From randall at randallreetz.com Sat Mar 13 16:33:58 2010 From: randall at randallreetz.com (Randall Reetz) Date: Sat, 13 Mar 2010 13:33:58 -0800 Subject: Rosetta (system performance hit?) Message-ID: <20100313213359.JXXK29164.atlmtaow01.cingularme.com@Inbox> Ok, that is the hype. I have no reason to believe it isn't a good translator. What I am asking is its impact on the performance of the OS? From m.schonewille at economy-x-talk.com Sat Mar 13 16:40:24 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 13 Mar 2010 22:40:24 +0100 Subject: Rosetta (system performance hit?) In-Reply-To: <20100313213359.JXXK29164.atlmtaow01.cingularme.com@Inbox> References: <20100313213359.JXXK29164.atlmtaow01.cingularme.com@Inbox> Message-ID: Hi Randall, Contrary to the older Classic environment, which allows for running Mac OS 9, Rosetta doesn't affect the performance of the operating system as a whole. It only slows down PowerPC applications, if you'd compare them with native Intel versions of the same applications. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 13 mrt 2010, om 22:33 heeft Randall Reetz het volgende geschreven: > Ok, that is the hype. I have no reason to believe it isn't a good > translator. What I am asking is its impact on the performance of > the OS? From sarah.reichelt at gmail.com Sat Mar 13 18:03:39 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 14 Mar 2010 09:03:39 +1000 Subject: Add file to Custom Property In-Reply-To: References: <2591780E-9833-480C-B1C3-E9CD64226AF5@gmail.com> Message-ID: > Next is how do I open the file saved? I don't really want to write it to disk for security reasons unless I need to. > > This statement doesn't work. > ? open (URL "binfile:" & uFileStore of button "Save File") If you use: put the uFileStore of button "Save File" into tMyData that is exactly the same as reading the original file into a variable. What you do with it then depends on what sort of data it is. If it's a text file, you can just "put" the data into a field. If it's a picture file, you can "put" it into an image. HTH, Sarah From zryip.theslug at gmail.com Sat Mar 13 18:38:53 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sun, 14 Mar 2010 00:38:53 +0100 Subject: Add file to Custom Property In-Reply-To: References: <2591780E-9833-480C-B1C3-E9CD64226AF5@gmail.com> Message-ID: <64bda6471003131538y60f61747u9fc4ce4d14657b6c@mail.gmail.com> 2010/3/14 Sarah Reichelt : >> Next is how do I open the file saved? I don't really want to write it to disk for security reasons unless I need to. >> >> This statement doesn't work. >> ? open (URL "binfile:" & uFileStore of button "Save File") > > If you use: > ? put the uFileStore of button "Save File" into tMyData > > that is exactly the same as reading the original file into a variable. > What you do with it then depends on what sort of data it is. > > If it's a text file, you can just "put" the data into a field. > If it's a picture file, you can "put" it into an image. > > HTH, > Sarah And for more complex file, if you need to restore the file in the same integrity than you store it, you need to encode it in base64. Especially if you want to store app in the custom property. It's the same principle than storing a file in a blob (if needed, have a look to the Experiment 004 : Store a file in a database blob and restore the file on the disk in my website) Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From bvlahos at mac.com Sat Mar 13 20:35:29 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Sat, 13 Mar 2010 17:35:29 -0800 Subject: Add file to Custom Property In-Reply-To: <64bda6471003131538y60f61747u9fc4ce4d14657b6c@mail.gmail.com> References: <2591780E-9833-480C-B1C3-E9CD64226AF5@gmail.com> <64bda6471003131538y60f61747u9fc4ce4d14657b6c@mail.gmail.com> Message-ID: <8755C1DF-CCA8-477B-9083-E996347E50C8@mac.com> The goal is to allow the user to save a file of any format, encrypted, and password protected. Therefore Rev can't be counted on being able to display it. I know I could save the file to disk and then issue an open command but that would leave a copy on the disk. Is it possible to present the file from Rev so that the program (Word, etc.) would be able to open it directly without saving it to disk first? The following example writes the file from the custom property to disk and then launches it: on mouseUp put the uFileStore of button "Save File" into URL "binfile:ScreenShot.png" set the filetype to "" launch document "ScreenShot.png" end mouseUp Is there a way to skip the writing to disk part and just open it directly? Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Mar 13, 2010, at 3:38 PM, zryip theSlug wrote: > 2010/3/14 Sarah Reichelt : >>> Next is how do I open the file saved? I don't really want to write it to disk for security reasons unless I need to. >>> >>> This statement doesn't work. >>> open (URL "binfile:" & uFileStore of button "Save File") >> >> If you use: >> put the uFileStore of button "Save File" into tMyData >> >> that is exactly the same as reading the original file into a variable. >> What you do with it then depends on what sort of data it is. >> >> If it's a text file, you can just "put" the data into a field. >> If it's a picture file, you can "put" it into an image. >> >> HTH, >> Sarah > > And for more complex file, if you need to restore the file in the same > integrity than you store it, you need to encode it in base64. > Especially if you want to store app in the custom property. > > It's the same principle than storing a file in a blob (if needed, have > a look to the Experiment 004 : Store a file in a database blob and > restore the file on the disk in my website) > > > Regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Sat Mar 13 21:08:07 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 13 Mar 2010 20:08:07 -0600 Subject: Add file to Custom Property In-Reply-To: <8755C1DF-CCA8-477B-9083-E996347E50C8@mac.com> References: <2591780E-9833-480C-B1C3-E9CD64226AF5@gmail.com> <64bda6471003131538y60f61747u9fc4ce4d14657b6c@mail.gmail.com> <8755C1DF-CCA8-477B-9083-E996347E50C8@mac.com> Message-ID: <4B9C4507.3090201@hyperactivesw.com> Bill Vlahos wrote: > The goal is to allow the user to save a file of any format, encrypted, and password protected. Therefore Rev can't be counted on being able to display it. > > I know I could save the file to disk and then issue an open command but that would leave a copy on the disk. Is it possible to present the file from Rev so that the program (Word, etc.) would be able to open it directly without saving it to disk first? > > The following example writes the file from the custom property to disk and then launches it: > on mouseUp > put the uFileStore of button "Save File" into URL "binfile:ScreenShot.png" > set the filetype to "" > launch document "ScreenShot.png" > end mouseUp > > Is there a way to skip the writing to disk part and just open it directly? If it is another stack, then Rev can open it from memory. Otherwise, no. The usual solution is to write to the temp directory, with an obscure name if you want, and then delete the file later when you're done with it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From massung at gmail.com Sat Mar 13 21:21:15 2010 From: massung at gmail.com (Jeffrey Massung) Date: Sat, 13 Mar 2010 20:21:15 -0600 Subject: Add file to Custom Property In-Reply-To: <4B9C4507.3090201@hyperactivesw.com> References: <2591780E-9833-480C-B1C3-E9CD64226AF5@gmail.com> <64bda6471003131538y60f61747u9fc4ce4d14657b6c@mail.gmail.com> <8755C1DF-CCA8-477B-9083-E996347E50C8@mac.com> <4B9C4507.3090201@hyperactivesw.com> Message-ID: <107DF35B-2235-40B2-BFFC-E2089F2D9323@gmail.com> On Mar 13, 2010, at 8:08 PM, J. Landman Gay wrote: > Bill Vlahos wrote: >> >> Is there a way to skip the writing to disk part and just open it directly? > > If it is another stack, then Rev can open it from memory. Otherwise, no. The usual solution is to write to the temp directory, with an obscure name if you want, and then delete the file later when you're done with it. I just feel it important to note that (depending upon your needs) this is very far from secure. First, the temporary file can be intercepted mid-operation by a secondary process that's monitoring yours and watching the OS for new open file handles (all easily doable). Second, you'd have to blast the disk sectors where the temporary file happened to be written to with random data (perhaps several times over) to ensure that you eradicated the once you were done with it. Sorry if that's way over-the-top, but when someone mentions encryption, network security, copy protection, etc, I just want to make sure someone doesn't leave thinking something is a great solution when it possibly isn't (again, given your needs, this may be more than adequate). Jeff M. From jacque at hyperactivesw.com Sat Mar 13 21:25:43 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 13 Mar 2010 20:25:43 -0600 Subject: Add file to Custom Property In-Reply-To: <107DF35B-2235-40B2-BFFC-E2089F2D9323@gmail.com> References: <2591780E-9833-480C-B1C3-E9CD64226AF5@gmail.com> <64bda6471003131538y60f61747u9fc4ce4d14657b6c@mail.gmail.com> <8755C1DF-CCA8-477B-9083-E996347E50C8@mac.com> <4B9C4507.3090201@hyperactivesw.com> <107DF35B-2235-40B2-BFFC-E2089F2D9323@gmail.com> Message-ID: <4B9C4927.4030207@hyperactivesw.com> Jeffrey Massung wrote: > On Mar 13, 2010, at 8:08 PM, J. Landman Gay wrote: > >> Bill Vlahos wrote: >>> Is there a way to skip the writing to disk part and just open it >>> directly? >> If it is another stack, then Rev can open it from memory. >> Otherwise, no. The usual solution is to write to the temp >> directory, with an obscure name if you want, and then delete the >> file later when you're done with it. > > I just feel it important to note that (depending upon your needs) > this is very far from secure. > > First, the temporary file can be intercepted mid-operation by a > secondary process that's monitoring yours and watching the OS for new > open file handles (all easily doable). > > Second, you'd have to blast the disk sectors where the temporary file > happened to be written to with random data (perhaps several times > over) to ensure that you eradicated the once you were done with it. > > Sorry if that's way over-the-top, but when someone mentions > encryption, network security, copy protection, etc, I just want to > make sure someone doesn't leave thinking something is a great > solution when it possibly isn't (again, given your needs, this may be > more than adequate). Not at all, you're quite right. I wish there was a better way to do it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bvlahos at mac.com Sat Mar 13 21:35:07 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Sat, 13 Mar 2010 18:35:07 -0800 Subject: Add file to Custom Property In-Reply-To: <4B9C4507.3090201@hyperactivesw.com> References: <2591780E-9833-480C-B1C3-E9CD64226AF5@gmail.com> <64bda6471003131538y60f61747u9fc4ce4d14657b6c@mail.gmail.com> <8755C1DF-CCA8-477B-9083-E996347E50C8@mac.com> <4B9C4507.3090201@hyperactivesw.com> Message-ID: The data will be stored in a different stack. How does that make it different? Bill Vlahos Sent from my iPhone On Mar 13, 2010, at 6:08 PM, "J. Landman Gay" wrote: > Bill Vlahos wrote: >> The goal is to allow the user to save a file of any format, >> encrypted, and password protected. Therefore Rev can't be counted >> on being able to display it. >> I know I could save the file to disk and then issue an open command >> but that would leave a copy on the disk. Is it possible to present >> the file from Rev so that the program (Word, etc.) would be able to >> open it directly without saving it to disk first? >> The following example writes the file from the custom property to >> disk and then launches it: >> on mouseUp >> put the uFileStore of button "Save File" into URL >> "binfile:ScreenShot.png" >> set the filetype to "" >> launch document "ScreenShot.png" >> end mouseUp >> Is there a way to skip the writing to disk part and just open it >> directly? > > If it is another stack, then Rev can open it from memory. Otherwise, > no. The usual solution is to write to the temp directory, with an > obscure name if you want, and then delete the file later when you're > done with it. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From alex at a2technology.com Sun Mar 14 01:03:24 2010 From: alex at a2technology.com (Alex Adams) Date: Sat, 13 Mar 2010 22:03:24 -0800 Subject: Quartam Reports Image Path In-Reply-To: <436613.37735.qm@web65404.mail.ac4.yahoo.com> Message-ID: Jan, I tried setting the defaultFolder to that in which the report file and the image are located. I did this at the beginning of the mouseUp handler in the data broker button. I then just put the name of the image file into to source property of the image in the report file. I also tried putting ./and the image file name. Neither worked. Any ideas? -- Alex Adams hawkVision ? tools for solving Wicked Problems (a)2 Technology Partners, Inc. 831-726-8013 alex at a2tecnology.com hawkVisionInfo.wordpress.com universalConnector.wordpress.com > From: Jan Schenkel > Reply-To: How to use Revolution > Date: Sat, 13 Mar 2010 09:26:06 -0800 (PST) > To: How to use Revolution > Subject: Re: Quartam Reports Image Path > > --- On Fri, 3/12/10, Alex Adams wrote: >> I am including an icon in each >> Quartam report that I am building.? The image >> path stored in the report files are literal.? How do I >> store a relative >> path? >> >> Thanks, >> -- >> Alex Adams >> > > Hi Alex, > > You're not per se limited to absolute paths - if you specify a relative path > in the filename field, the revEngine will look for your image in a few places. > Check out the 'defaultFolder' property in the docs. > > HTH, > > Jan Schenkel > ===== > Quartam Reports & PDF Library for Revolution > > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La > Rochefoucauld) > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From richmondmathewson at gmail.com Sun Mar 14 07:12:49 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 14 Mar 2010 13:12:49 +0200 Subject: Devawriter Message-ID: <4B9CC4B1.8020503@gmail.com> I am pleased to announce that I have released Devawriter 1.0.9: http://andregarzia.on-rev.com/richmond/dwriter.html beyond minor maintenance upgrades that is probably as far as I will go with the FREE version. For all you unicode fans out there (????); Devawriter leverages a non-standard unicode Devanagari font both for text input and for a floating help palette. Anybody who is particularly interested in my underlying code can drop me a line (off-list) and I can send the source stack as an attachment and/or point to an FTP respository where it is backed up so that it can be pulled apart and played with. sincerely, Richmond Mathewson. From lan.kc.macmail at gmail.com Sun Mar 14 09:19:26 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 14 Mar 2010 21:19:26 +0800 Subject: Rosetta (system performance hit?) In-Reply-To: <20100313213359.JXXK29164.atlmtaow01.cingularme.com@Inbox> References: <20100313213359.JXXK29164.atlmtaow01.cingularme.com@Inbox> Message-ID: About the same as running GraphicConverter. On Sun, Mar 14, 2010 at 5:33 AM, Randall Reetz wrote: > Ok, that is the hype. ?I have no reason to believe it isn't a good translator. ?What I am asking is its impact on the performance of the OS? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From Andre.Bisseret at inria.fr Sun Mar 14 12:24:00 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Sun, 14 Mar 2010 17:24:00 +0100 Subject: Data Grid Column Header Alignment Changes after column resize In-Reply-To: <4B9BDDA3.4040804@crcom.net> References: <4B9BBADE.50908@crcom.net> <4B9BDDA3.4040804@crcom.net> Message-ID: <057B37C5-DB5E-4CA9-AF8E-7B5C80B29096@inria.fr> Bonjour Len Le 13 mars 10 ? 19:46, Len Morgan a ?crit : > Thank you, Andr? > > On more question if I may, Of course, never hesitate to ask any question on this list :-))) > where exactly would I put a handler that would set the color of each > row according to the value of one of the columns? For example, if > column (database field actually) "status" is 'I' then I want the row > to be green. If it's 'R' then I want it to be pink, etc. I don't > mind that the selection will turn the current row blue, but I need a > way to set it back again and of course, to set the colors when the > data is loaded originally. But I can't help you much on this one, I am afraid; I have never tried to set the color of row in a data grid up to now! You might want to read the lesson "How Can I Colorize Individual Lines in a Table?" in the doc from Trevor. Also, there was a discussion on this list on a similar topic; you can find it using the "Revolution search engine" (with the words "data grid code (color)" which was the subject of this discussion. Or in the Archives looking at the subjects in April 2009 and Mai 2009 I must confess that the solution seems not immediately obvious to me ;-))) Sorry, Anyway, sure that Trevor will help you soon on that :-) Best regards from Grenoble Andr? > Thanks! > > len morgan > > On 3/13/2010 12:42 PM, Andre.Bisseret wrote: >> >> Le 13 mars 10 ? 17:18, Len Morgan a ?crit : >> >>> I'm trying to use my first Data Grid (table) in a stack and I need >>> to set the column Header alignment for a few of the columns. >>> Following the instructions in the DG manual, I entered the >>> alignments using the message box and it looked fine. But then I >>> resized one of the columns and all of the alignments changed, some >>> of them even aligning themselves such that only half of the text >>> showed in the column. >>> >>> Do I need to set the alignments every time the grid is displayed? >>> If so, where can I do that? >>> >> Bonjour Len, >> >> I had a similar problem. >> I assumed that your are centering the headers? >> Anyway, could be that your resized column is not wide enough; at >> the right side of each header, a space is kept for the arrow icon >> which shows the sorting direction. >> If the header is centered, then the column must take this space >> into account otherwise the header is not entirely visible (seems >> like shifted to the left) >> Widening a bit your column should allow you to see the whole text >> of the header. >> >> If this does not solve your problem, could be that a script in the >> revdatagridlibrary has to be completed (It was the case for my >> problem) but I prefer that Trevor helps you if such a modification >> is necessary ;-)) >> >> Best regards from Grenoble >> >> Andr? >> >> >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From yvescoppe at skynet.be Sun Mar 14 13:29:02 2010 From: yvescoppe at skynet.be (Yves COPPE) Date: Sun, 14 Mar 2010 18:29:02 +0100 Subject: strange color behavior in datagrid form Message-ID: <98AC9D5E-9EEC-46D5-B4E8-19F12A7D7E23@skynet.be> Hi list, I have a grid (form type) one fld of the grip is named "check" in the FillInData handler I have this script if fld "check" of me contains "OK" then set the foregroundColor of fld "check" of me to red end if ok, the command is executed, I can see that on the screen of the mac but ... if I scroll the group "datagrid" (because I have more rows in the datagrid than what's seen on the screen), all the flds "check" have the text in red !!! the selection made with the if/then status doesn't appear anymore ! what happens ? Thank you for your answers. Greetings. Yves COPPE yvescoppe at skynet.be From mcgrath3 at mac.com Sun Mar 14 14:01:56 2010 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 14 Mar 2010 14:01:56 -0400 Subject: Devawriter In-Reply-To: <4B9CC4B1.8020503@gmail.com> References: <4B9CC4B1.8020503@gmail.com> Message-ID: <8910F52A-9CEB-4D95-B2A8-5CB08A04DDAC@mac.com> Congratulations Richmond, It looks great but I'm a little confused as to how/where the font is. I looked at the page and only found two other apps to download but no font. Tom McGrath III Lazy River Software 3mcgrath at comcast.net DeMoted - Have you DeMoted Someone today? http://demoted.lazyriver.on-rev.com On the iTune App Store http://itunes.apple.com/us/app/demoted/id355925236?mt=8 On Mar 14, 2010, at 7:12 AM, Richmond Mathewson wrote: > I am pleased to announce that I have released Devawriter 1.0.9: > > http://andregarzia.on-rev.com/richmond/dwriter.html > > beyond minor maintenance upgrades that is probably as far as I will go with > the FREE version. > > For all you unicode fans out there (????); Devawriter leverages a non-standard unicode > Devanagari font both for text input and for a floating help palette. > > Anybody who is particularly interested in my underlying code can drop > me a line (off-list) and I can send the source stack as an attachment and/or point > to an FTP respository where it is backed up so that it can be pulled apart and > played with. > > sincerely, Richmond Mathewson. > _______________________________________________ From jacque at hyperactivesw.com Sun Mar 14 14:06:47 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 14 Mar 2010 13:06:47 -0500 Subject: Add file to Custom Property In-Reply-To: References: <2591780E-9833-480C-B1C3-E9CD64226AF5@gmail.com> <64bda6471003131538y60f61747u9fc4ce4d14657b6c@mail.gmail.com> <8755C1DF-CCA8-477B-9083-E996347E50C8@mac.com> <4B9C4507.3090201@hyperactivesw.com> Message-ID: <4B9D25B7.8030102@hyperactivesw.com> Bill Vlahos wrote: > The data will be stored in a different stack. How does that make it > different? Where the file is stored doesn't matter. The issue occurs after extraction; you have content in a variable at that point, and almost no apps will open content that is in memory (outside of pasting from the clipboard in some cases.) If you are using the "launch" command then the file absolutely needs to be on disk. In some cases, if you know what file type the content is and you know which app needs to open it, and if the user has that app on disk, and if that app is scriptable, you can use AppleScript to transfer the content in RAM over to a new document. You may also be able to do the same with a VB script on Windows (but I don't know much about VB, so I'm not sure.) But this approach depends on knowing a lot about the file content itself and the content of the user's drive, and won't always be dependable. Rev has the ability to open stacks from RAM. So the one exception to the above would be if the stored content is actually a stack file. In that case, you can extract it, use the "go stack" command, and Rev will open it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sun Mar 14 14:52:17 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 14 Mar 2010 20:52:17 +0200 Subject: Devawriter In-Reply-To: <8910F52A-9CEB-4D95-B2A8-5CB08A04DDAC@mac.com> References: <4B9CC4B1.8020503@gmail.com> <8910F52A-9CEB-4D95-B2A8-5CB08A04DDAC@mac.com> Message-ID: <4B9D3061.4010403@gmail.com> On 14/03/2010 20:01, Thomas McGrath III wrote: > Congratulations Richmond, It looks great but I'm a little confused as to how/where the font is. I looked at the page and only found two other apps to download but no font. > > Each download: MacOSPPC, MacOSIntel, MacOSUniversal, Windows is a ZIP file with both the standalone and the Sanskrit2003 font included. From katir at hindu.org Sun Mar 14 15:15:31 2010 From: katir at hindu.org (Web Admin Himalayan Academy) Date: Sun, 14 Mar 2010 09:15:31 -1000 Subject: OT: Best Option for Web Delivered Voice Overs In-Reply-To: <1CD841FA-D11D-41D3-A9CE-2FCE7CCED062@mac.com> References: <4B99956C.1090608@hindu.org> <4B9A3C14.2090902@crcom.net> <1CD841FA-D11D-41D3-A9CE-2FCE7CCED062@mac.com> Message-ID: <4B9D35D3.8030700@hindu.org> OK, well no one responded to my actual requirements: fastest audio work flow and as small as possible, I should have added: native RunRev platform... as much as possible... So I went ahead and did my experiments using Revolution as my recorder. Samson COIU USB Stude condensor USB mic (love it... inexpensive too. on sale now...) I had to learn about the answer record dialog and all the different settings. One opaque point is that if you choose a recording format that does not support the codec you select from the available codec supplied by QT then it usesa default codec and you can't really know what that is so logging exact scenarios/tests is difficult if settings are changing under the hood by QT. At any rate, I tested many, many combinations. Len's basic point was manifestly confirmed big time. There was really nothing to be gained by using any low compresssion initially. well not exactly. avoid raw... You could record a slide caption VO -- 8 seconds long using uLaw save to .au and you get an apparently smaller file at about 400k. Quality quite poor. Record 8 seconds at 64bit floating 44kh sample size 16 to WAV or aiff and you get a big 636K good quality file; but when you run these both thru Switch to MP3, joint, 48 bps you end up with a ~44K file either way... with the result from au being really bad, but the 44k.mp3 that that started out as a big wave file is surprisingly high quality for that size. So old axiom proved again, garbage in --> garbage out; big diamond in and the little gem that comes out is still a diamond. So then, and this is the really interesting part: If I take that 44 K.mp3 file and convert to au with Skitch: codec PCM 8bit; sample rate 6000 channels: mono... I get a 44K.au file that still has great quality that can be imported back into Revolution. Streaming 44K caption VO's should not be a problem even for fairly low bandwidth users. And if we wanted to do this as a revlet and let the stack contain the audio we can do that also. OM shanti Sivakatirswami On 3/12/10 4:41 PM, Joe F. wrote: > Len's point about noise is key. > You want to set up a small area that's quiet, muffled if possible. > Blankets or drapes on walls and windows for zero reflected sound. > Use compression/limiting to record a high level (above the noise > floor) signal. > If it's quiet when nobody's talking and the level is good it will > sound "professional". > If it sounds too "dry" add a touch of reverb, season to taste. > > If I were doing it I'd use basic Mac tools: QuickTime Pro, iMovie, > Garageband. Simple, quick, compatible, and integrated. > The best quality for me at the moment is h.240 with AAC audio. Highest > quality, smallest file. > You see it a lot in Flash movies lately so it's generally supported on > the users computer. > You can fiddle with settings endlessly but it's mainly the data rate > that will affect the size/quality ratio. > You should be able to get very good quality 640x480 (that looks good > full screen) at less than 5 MB/minute. > Also AAC has a "voice only" optimized setting for the audio. > > Script everything and if possible add the script as a text track to > your working master. > First- without a script event the simplest narration has to be done > more times than with. > Second- The text track has multiple uses, primary being subtitles. > > Speech is still not too great on Windows from the little experimenting > I've done. > Even on the Mac it depends on matching a good voice with the text to > be spoken. > Sometimes you'll be lucky and the pronunciations of every word will be > perfect; other times you will need to experiment with phonetic > spellings to get it right. > The text track can be used for that, and if one day text-to-speech is > perfect on all platforms... > > If the videos have computer screen content, another way to go is a > screen recorder like Screenium. > You can record anything playing on the screen and add a voiceover to > it. Then it has all these little extras. > > Joe F. > > On Mar 12, 2010, at 8:05 AM, Len Morgan wrote: > >> If it were me, I'd do my "development" using wave files. The format >> is well documented and allows fairly easy editing in rev. When you >> are FINISHED, convert to mp3 or whatever format you want. As the >> owner of a recording studio, I always try to stay with the highest >> quality and (unfortunately) the format with the most data to work >> with. Every time you convert the data (for example wav->mp3) you are >> going to introduce noise and loose some of the original information. >> >> len >> >> >> On 3/11/2010 7:14 PM, Sivakatirswami wrote: >>> >>> 5) Production Work Flow Strategies: Any other insights will be >>> appreciated. you can get a Samson USB mic these days really cheap on >>> Amazon.dot and the quality is excellent. It would be marvelous to >>> build a stack, show slides, record on the fly, save and deploy, but >>> I don't think it's going to be that easy... Especially if MP3 is the >>> optimum format, it means stepping out of revolution into Audacity.. >>> Processing clips and going back to set up the QT player to the >>> external file. Or assuming you were really, really good with >>> narration and required no edits: Switch to batch process all the >>> narrations at once after saving as aiff --> process out to .mp3 ... >>> 15 short VO's at average 2-8 secs each will be fast. >> >>> Sivakatirswami >>> >> >> _______________________________________________ >> improve-revolution mailing list >> improve-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/improve-revolution > > _______________________________________________ > improve-revolution mailing list > improve-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/improve-revolution > From joef1 at mac.com Sun Mar 14 16:35:54 2010 From: joef1 at mac.com (Joe F.) Date: Sun, 14 Mar 2010 16:35:54 -0400 Subject: OT: Best Option for Web Delivered Voice Overs In-Reply-To: <4B9D35D3.8030700@hindu.org> References: <4B99956C.1090608@hindu.org> <4B9A3C14.2090902@crcom.net> <1CD841FA-D11D-41D3-A9CE-2FCE7CCED062@mac.com> <4B9D35D3.8030700@hindu.org> Message-ID: <73077000-9FB6-441E-BCB5-92E61B40EF52@mac.com> I was referring to audio compression/limiting. An audio codec provides compression/decompression for the file, much the same as zip or stuffit compresses files. Audio compression/limiting works on the level of the audio signal, either ahead of recording or on playback. If your mic is plugged into a hardware compressor, or a software compressor is in the signal path, the dynamic range can be manipulated to make the minimum and maximum levels fall within a limited range. This is what gives you that smooth, professional sound. It also makes voices easier to understand and can be used to prevent excessive levels that cause distortion. You want your original "master" recording to be a large file. Especially if it's something that needs to be "future-proof". "Encoding" as mp3 or AAC, or whatever, is compression for file size. It doesn't make sense to compress an already compressed file like an mp3. You'd want to always be converting from the original "full resolution" file for optimal results. As far as "work flow": it's not clear, but it sounds like you want to do the recording within your stack. If the point is simply to get playback in the stack (recording not needed) then it would be far more efficient to use dedicated tools to create the recordings, then reference the audio from within your project. If you must record within your stack then you'll have to live with some serious limitations. On Mar 14, 2010, at 3:15 PM, Web Admin Himalayan Academy wrote: > OK, well no one responded to my actual requirements: fastest audio > work flow and as small as possible, I should have added: native > RunRev platform... as much as possible... > > So I went ahead and did my experiments using Revolution as my > recorder. Samson COIU USB Stude condensor USB mic (love it... > inexpensive too. on sale now...) I had to learn about the answer > record dialog and all the different settings. One opaque point is > that if you choose a recording format that does not support the > codec you select from the available codec supplied by QT then it > usesa default codec and you can't really know what that is so > logging exact scenarios/tests is difficult if settings are changing > under the hood by QT. > > At any rate, I tested many, many combinations. Len's basic point was > manifestly confirmed big time. There was really nothing to be gained > by using any low compresssion initially. well not exactly. avoid > raw... You could record a slide caption VO -- 8 seconds long using > uLaw save to .au and you get an apparently smaller file at about > 400k. Quality quite poor. Record 8 seconds at 64bit floating 44kh > sample size 16 to WAV or aiff and you get a big 636K good quality > file; but when you run these both thru Switch to MP3, joint, 48 bps > you end up with a ~44K file either way... with the result from au > being really bad, but the 44k.mp3 that that started out as a big > wave file is surprisingly high quality for that size. > > So old axiom proved again, garbage in --> garbage out; big diamond > in and the little gem that comes out is still a diamond. > > So then, and this is the really interesting part: > > If I take that 44 K.mp3 file and convert to au with Skitch: codec > PCM 8bit; sample rate 6000 channels: mono... I get a 44K.au file > that still has great quality that can be imported back into > Revolution. Streaming 44K caption VO's should not be a problem even > for fairly low bandwidth users. And if we wanted to do this as a > revlet and let the stack contain the audio we can do that also. > > OM shanti > Sivakatirswami > > From jalfrezi at me.com Sun Mar 14 19:35:37 2010 From: jalfrezi at me.com (Simon Parker) Date: Sun, 14 Mar 2010 23:35:37 +0000 Subject: Fwd: Cross platform design tool References: <19195606-13EB-4DFE-A466-AF22056F7758@me.com> Message-ID: <3F1132FE-81AC-427A-9741-3F0F8D78E2E0@me.com> Sent from my iPhone Begin forwarded message: > From: Simon Parker > Date: 14 March 2010 23:31:52 GMT > To: "use-revolution at lists.runrev.com" revolution at lists.runrev.com> > Subject: Cross platform design tool > > > I'm looking to build a cross platform design tool. The tool will > need design canvases with tool palettes from which one will drag and > position controls. Is such an application possible/straightforward > with Revolution? > > Sent from my iPhone From katir at hindu.org Sun Mar 14 22:03:23 2010 From: katir at hindu.org (Sivakatirswami) Date: Sun, 14 Mar 2010 16:03:23 -1000 Subject: OT: Best Option for Web Delivered Voice Overs In-Reply-To: <73077000-9FB6-441E-BCB5-92E61B40EF52@mac.com> References: <4B99956C.1090608@hindu.org> <4B9A3C14.2090902@crcom.net> <1CD841FA-D11D-41D3-A9CE-2FCE7CCED062@mac.com> <4B9D35D3.8030700@hindu.org> <73077000-9FB6-441E-BCB5-92E61B40EF52@mac.com> Message-ID: <4B9D956B.3000507@hindu.org> On 3/14/10 10:35 AM, Joe F. wrote: > You want your original "master" recording to be a large file. > Especially if it's something that needs to be "future-proof". > "Encoding" as mp3 or AAC, or whatever, is compression for file size. > It doesn't make sense to compress an already compressed file like an mp3. > You'd want to always be converting from the original "full resolution" > file for optimal results. Depends what you mean by "optimal" in my case file size is the key variable, download time. full resolution WAV to mp3 --> 56k Full resolution WAV to AU --> 114k 56k mp3 (same audio) to AU --> 56k (assumes want to import rev audio clip) difference in quality between the 114 K au file converted from full resolution file and the same audio.au converted from the mp3 -- practically indiscernible to my ear. but < 1/2 the size. So, this breaks the rule but does make some kind of sense... 20 VO captions at 56k - 1MB+ 20VO captions at 116K @ = 2MB download.... > > As far as "work flow": it's not clear, but it sounds like you want to > do the recording within your stack. exactly... benefits: 1) auto scripted naming of the caption VO files to match filenames of slides 2) on board teleprompter either by simply viewing the slides and then ad lib the audio (for Q and D productions), or set up caption fields, script/practice the captions in advance for more careful delivery... 3) apples scripted 'drivers' for external processing etc. never switch to another program... (set up Switch in the background to handle files in a watch folder... ) > If the point is simply to get playback in the stack (recording not > needed) then it would be far more efficient to use dedicated tools to > create the recordings, then reference the audio from within your project. > If you must record within your stack then you'll have to live with > some serious limitations. I recorded some simple audio using Apple's Sound Track Pro using our super hi-end Newman BCM104 broadcaster's microphone (incredible quality!) vs Quick and Dirty recording in RunRev saving to WAV using the Samson USB mic. processed both files (to MP3 using Switch) all the way down to 56K mp3 and compare: OK, yes, the Newman gives a bit more "rounded" quality, but the RunRev --> WAV -- mp3 was certainly OK for our needs. From gbojsza at gmail.com Mon Mar 15 00:00:02 2010 From: gbojsza at gmail.com (Glen Bojsza) Date: Sun, 14 Mar 2010 22:00:02 -0600 Subject: Looking for old Revolution Eternal -RevClips Message-ID: <3d8af4151003142100o1419aa04q6cd27ba9479bb9ce@mail.gmail.com> Hi, I was wondering if anyone still has the external Alex Rice did some time ago for CLIPS. It was called revClips (I think). thanks From tsj at unimelb.edu.au Mon Mar 15 00:16:01 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Mon, 15 Mar 2010 15:16:01 +1100 Subject: Looking for old Revolution Eternal -RevClips In-Reply-To: <3d8af4151003142100o1419aa04q6cd27ba9479bb9ce@mail.gmail.com> Message-ID: Hi Glen - I've got a copy of the Mac bundle but not the Win DLL. Is that any use? Terry... On 15/03/10 3:00 PM, "Glen Bojsza" wrote: > Hi, > > I was wondering if anyone still has the external Alex Rice did some time ago > for CLIPS. > > It was called revClips (I think). > > thanks > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From gbojsza at gmail.com Mon Mar 15 00:29:12 2010 From: gbojsza at gmail.com (Glen Bojsza) Date: Sun, 14 Mar 2010 22:29:12 -0600 Subject: Looking for old Revolution Eternal -RevClips In-Reply-To: References: <3d8af4151003142100o1419aa04q6cd27ba9479bb9ce@mail.gmail.com> Message-ID: <3d8af4151003142129y1f004abh1407a3231edcc826@mail.gmail.com> Hi Terry, That would be helpful. Would you be able to email it to me. thanks, Glen On Sun, Mar 14, 2010 at 10:16 PM, Terry Judd wrote: > Hi Glen - I've got a copy of the Mac bundle but not the Win DLL. Is that > any > use? > > Terry... > > > On 15/03/10 3:00 PM, "Glen Bojsza" wrote: > > > Hi, > > > > I was wondering if anyone still has the external Alex Rice did some time > ago > > for CLIPS. > > > > It was called revClips (I think). > > > > thanks > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From randall at randallreetz.com Mon Mar 15 00:54:15 2010 From: randall at randallreetz.com (Randall Reetz) Date: Sun, 14 Mar 2010 21:54:15 -0700 Subject: Fwd: Cross platform design tool Message-ID: <20100315045416.JMLA23332.atlmtaow03.cingularme.com@Inbox> I don't want to say yes or no. What I will say is that rev is a great environment for building a tool menu of most types. But the drawing and painting primitives available are a bit 1980s (at least as compared with java and flash). Can't for the life of me figure out why xtalk environments haven't kept pace with graphic engines and protocols. From stephenREVOLUTION2 at barncard.com Mon Mar 15 01:00:52 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 15 Mar 2010 00:00:52 -0500 Subject: Card Name space conflicts in the Rev IDE Message-ID: Hi gang, At first I thought this was a tRev issue, but now I don't think so.... I've started to work more with substacks, but I'm running into a major snag. Will someone tell me why I can't name, edit or even see the second card? 1. Create a mainstack, name it stack1 2 create a substack of #1 above, name it stack2 3. set the name of card 1 of stack 1 to stack1card 4. try and set the name of card 1 of stack2 to anything. on creation, both stacks have card ID 1002 as the first card, but for the life of me, I can't find a way to use the Inspector to see or change the name of card 1 of stack 2 using the message box: set the name of card 1 of stack "stack2" to "anything" doesn't do anything. The only thing that works is to create a new card on stack2, and delete the first one so the IDs aren't the same. this is a big hassle. what's going on here?? this is happening in 4.0 and the dps macbook pro, 10.5.8 ------------------------- Stephen Barncard Fairhope AL. From scott at tactilemedia.com Mon Mar 15 02:09:40 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 14 Mar 2010 22:09:40 -0800 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: Message-ID: Recently, stephen barncard wrote: > At first I thought this was a tRev issue, but now I don't think so.... > > I've started to work more with substacks, but I'm running into a major snag. > Will someone tell me why I can't name, edit or even see the second card? > > 1. Create a mainstack, name it stack1 > 2 create a substack of #1 above, name it stack2 > 3. set the name of card 1 of stack 1 to stack1card > 4. try and set the name of card 1 of stack2 to anything. Stephen, are you referring specifically to tRev? Because just using the Rev IDE, I have no problems creating/naming cards. Using the Inspector palette, message box, and Application Browser all work fine here (v4). Regards, Scott Rossi Creative Director Tactile Media, UX Design From tsj at unimelb.edu.au Mon Mar 15 01:13:07 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Mon, 15 Mar 2010 16:13:07 +1100 Subject: Cross platform design tool In-Reply-To: <20100315045416.JMLA23332.atlmtaow03.cingularme.com@Inbox> Message-ID: On 15/03/10 3:54 PM, "Randall Reetz" wrote: > I don't want to say yes or no. What I will say is that rev is a great > environment for building a tool menu of most types. But the drawing and > painting primitives available are a bit 1980s (at least as compared with java > and flash). Can't for the life of me figure out why xtalk environments > haven't kept pace with graphic engines and protocols. They may not be quite on a par with Flash but they've actually improved quite a bit over the last couple of versions. I was recently asked to add a drawing tool to an electronic health record system we're developing for medical students and I wasn't at all keen on the idea. However, a day or so later I had something that looked and functioned much better than I could have hoped for. Terry... > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION2 at barncard.com Mon Mar 15 01:15:02 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 15 Mar 2010 00:15:02 -0500 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: References: Message-ID: Scott - before you declared 'everything's working' did you try my recipe?? It's not the creating/ naming a single stack - it's the IDs that are assigned to cards - and the fact that when you create a substack, there is ANOTHER first card with the ID of 1002. The IDE gets confused and refuses to let me work on that second card in the substack. ------------------------- Stephen Barncard On 15 March 2010 01:09, Scott Rossi wrote: > Recently, stephen barncard wrote: > > > At first I thought this was a tRev issue, but now I don't think so.... > > > > I've started to work more with substacks, but I'm running into a major > snag. > > Will someone tell me why I can't name, edit or even see the second card? > > > > 1. Create a mainstack, name it stack1 > > 2 create a substack of #1 above, name it stack2 > > 3. set the name of card 1 of stack 1 to stack1card > > 4. try and set the name of card 1 of stack2 to anything. > > Stephen, are you referring specifically to tRev? Because just using the > Rev > IDE, I have no problems creating/naming cards. Using the Inspector > palette, > message box, and Application Browser all work fine here (v4). > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From stephenREVOLUTION2 at barncard.com Mon Mar 15 01:15:46 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 15 Mar 2010 00:15:46 -0500 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: References: Message-ID: and this is NOT using tREV ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev On 15 March 2010 00:15, stephen barncard wrote: > Scott - before you declared 'everything's working' did you try my recipe?? > > It's not the creating/ naming a single stack - it's the IDs that are > assigned to cards - and the fact that when you create a substack, there is > ANOTHER first card with the ID of 1002. The IDE gets confused and refuses to > let me work on that second card in the substack. > > ------------------------- > Stephen Barncard > > > > On 15 March 2010 01:09, Scott Rossi wrote: > >> Recently, stephen barncard wrote: >> >> > At first I thought this was a tRev issue, but now I don't think so.... >> > >> > I've started to work more with substacks, but I'm running into a major >> snag. >> > Will someone tell me why I can't name, edit or even see the second card? >> > >> > 1. Create a mainstack, name it stack1 >> > 2 create a substack of #1 above, name it stack2 >> > 3. set the name of card 1 of stack 1 to stack1card >> > 4. try and set the name of card 1 of stack2 to anything. >> >> Stephen, are you referring specifically to tRev? Because just using the >> Rev >> IDE, I have no problems creating/naming cards. Using the Inspector >> palette, >> message box, and Application Browser all work fine here (v4). >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > From mwieder at ahsoftware.net Mon Mar 15 01:23:51 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 14 Mar 2010 22:23:51 -0700 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: References: Message-ID: <1595316671.20100314222351@ahsoftware.net> Stephen- Not much help, I know, but I followed your recipe and it works fine here. -- -Mark Wieder mwieder at ahsoftware.net From scott at tactilemedia.com Mon Mar 15 02:26:11 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 14 Mar 2010 22:26:11 -0800 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: Message-ID: Recently, stephen barncard wrote: > Scott - before you declared 'everything's working' did you try my recipe?? > > It's not the creating/ naming a single stack - it's the IDs that are > assigned to cards - and the fact that when you create a substack, there is > ANOTHER first card with the ID of 1002. The IDE gets confused and refuses to > let me work on that second card in the substack. Yes, I did. And I'm not following your concern about IDs. When initially created, the cards in (main) stack1 have IDs of 1002, 1004. The cards in (substack) stack2 have the same IDs. This shouldn't be a problem as they're in different stacks. And over here I can flip between them and name them (using the message box) at will. How are you creating new cards? How are you determining that you can't "see" the newly created cards? Regards, Scott Rossi Creative Director Tactile Media, UX Design From stephenREVOLUTION2 at barncard.com Mon Mar 15 01:49:13 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 15 Mar 2010 00:49:13 -0500 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: References: Message-ID: Thanks for the help guys. It's not about creating new cards. It's what happens when one creates a new substack, and the automatic ID assignment of the first card in the new stack. I had been using the inspector to try to get there. That triangle below the lock that can reveal objects. click on stack2 use the inspector to see the first card. but it's the name that I called the first card in the first stack, I never can reveal "card id 1002" of stack2 It's like the that function (the popup under lock) is looking at card IDs and not names for reference. I just tried navigation via the Application Browser, I now can see the names in the application browser and actually do the navigation there. And I have had this problem lately in tRev. But the navigation seems to be broken in the popup in the Inspector with regards to recognizing cards with the same ID. Should this be posted as a bug? ------------------------- Stephen Barncard currently in Fairhope AL > How are you creating new cards? How are you determining that you can't > "see" the newly created cards? > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > From Andre.Bisseret at inria.fr Mon Mar 15 03:30:27 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Mon, 15 Mar 2010 08:30:27 +0100 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: References: Message-ID: Bonjour Stephen, Le 15 mars 10 ? 06:49, stephen barncard a ?crit : > Thanks for the help guys. > > It's not about creating new cards. It's what happens when one > creates a new > substack, and the automatic ID assignment of the first card in the new > stack. > > I had been using the inspector to try to get there. That triangle > below the > lock that can reveal objects. I followed your recipe here on Mac OSX 10.5.8, Rev 4.0 All is working well. With name of card 1 of stack1 = stack1Card and name of card 1 of stack2 = stack2Card: Clicking alternatively on the two stacks and using the triangle below the lock, with the menuItem "Card", I get the right name for the two cards 1 (stack1Card or stack2Card) as expected. Best regards from Grenoble Andr? > > > click on stack2 > use the inspector to see the first card. > but it's the name that I called the first card in the first stack, > I never > can reveal "card id 1002" of stack2 > > It's like the that function (the popup under lock) is looking at > card IDs > and not names for reference. > > I just tried navigation via the Application Browser, > > I now can see the names in the application browser and actually do the > navigation there. And I have had this problem lately in tRev. > > But the navigation seems to be broken in the popup in the Inspector > with > regards to recognizing cards with the same ID. Should this be > posted as > a bug? > > > ------------------------- > Stephen Barncard > currently in Fairhope AL > > > > >> How are you creating new cards? How are you determining that you >> can't >> "see" the newly created cards? >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From toolbook at kestner.de Mon Mar 15 04:38:09 2010 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 15 Mar 2010 09:38:09 +0100 Subject: ask file different behavior on Win7 Message-ID: <003101cac41a$d83646f0$88a2d4d0$@de> Hello, when using: ask file "foo" with tFile tFile may be: "C:\foo\foo.txt" Win XP opens the file dialog, showing as location the folder of the given tFile (C:\foo\) and prompting for the filename as in tFile (foo.txt) Win 7 opens the file dialog, showing as location my standalone folder (C:\program files\blabla\mystandalone.exe) and prompting for the filename with the full path and filename (C:\foo\foo.txt) This behavior is very irritating, because you see another folder, as the file is located. I use it for writing a file afterwards. It works because of the full file path , but you don't get what you see. Is this change Win 7 standard or is it a Rev thing or do I oversee anything? Thanks for any hints Tiemo From m.schonewille at economy-x-talk.com Mon Mar 15 04:51:26 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 15 Mar 2010 09:51:26 +0100 Subject: ask file different behavior on Win7 In-Reply-To: <003101cac41a$d83646f0$88a2d4d0$@de> References: <003101cac41a$d83646f0$88a2d4d0$@de> Message-ID: <65576525-8D9A-4C9A-A95B-7CC6D12DF40C@economy-x-talk.com> Hi Tiemo, That's clearly a bug. It shouldn't be like this. Have you tried changing the backslashes in the file path to slashes? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 15 mrt 2010, om 09:38 heeft Tiemo Hollmann TB het volgende geschreven: > Hello, > > > > when using: ask file "foo" with tFile > > tFile may be: "C:\foo\foo.txt" > > Win XP opens the file dialog, showing as location the folder of the > given > tFile (C:\foo\) and prompting for the filename as in tFile (foo.txt) > > Win 7 opens the file dialog, showing as location my standalone folder > (C:\program files\blabla\mystandalone.exe) and prompting for the > filename > with the full path and filename (C:\foo\foo.txt) This behavior is very > irritating, because you see another folder, as the file is located. > I use it > for writing a file afterwards. It works because of the full file > path , but > you don't get what you see. > > > > Is this change Win 7 standard or is it a Rev thing or do I oversee > anything? > > Thanks for any hints > > Tiemo From toolbook at kestner.de Mon Mar 15 05:15:53 2010 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 15 Mar 2010 10:15:53 +0100 Subject: AW: ask file different behavior on Win7 In-Reply-To: <65576525-8D9A-4C9A-A95B-7CC6D12DF40C@economy-x-talk.com> References: <003101cac41a$d83646f0$88a2d4d0$@de> <65576525-8D9A-4C9A-A95B-7CC6D12DF40C@economy-x-talk.com> Message-ID: <003601cac420$1dac7740$590565c0$@de> Hi Mark, yep, that does the trick. That?s strange, using on Windows the Unix-Slashes instead of the Windows backslashes. So I'll report it in the QCC as a bug Thanks for your idea Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Mark Schonewille > Gesendet: Montag, 15. M?rz 2010 09:51 > An: How to use Revolution > Betreff: Re: ask file different behavior on Win7 > > Hi Tiemo, > > That's clearly a bug. It shouldn't be like this. Have you tried > changing the backslashes in the file path to slashes? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Economy-x-Talk is always looking for new software development > projects. Feel free to contact me for a quote. > > Op 15 mrt 2010, om 09:38 heeft Tiemo Hollmann TB het volgende > geschreven: > > > Hello, > > > > > > > > when using: ask file "foo" with tFile > > > > tFile may be: "C:\foo\foo.txt" > > > > Win XP opens the file dialog, showing as location the folder of the > > given > > tFile (C:\foo\) and prompting for the filename as in tFile (foo.txt) > > > > Win 7 opens the file dialog, showing as location my standalone folder > > (C:\program files\blabla\mystandalone.exe) and prompting for the > > filename > > with the full path and filename (C:\foo\foo.txt) This behavior is > very > > irritating, because you see another folder, as the file is located. > > I use it > > for writing a file afterwards. It works because of the full file > > path , but > > you don't get what you see. > > > > > > > > Is this change Win 7 standard or is it a Rev thing or do I oversee > > anything? > > > > Thanks for any hints > > > > Tiemo > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revlist at azurevision.co.uk Mon Mar 15 06:09:05 2010 From: revlist at azurevision.co.uk (Ian Wood) Date: Mon, 15 Mar 2010 10:09:05 +0000 Subject: AW: ask file different behavior on Win7 In-Reply-To: <003601cac420$1dac7740$590565c0$@de> References: <003101cac41a$d83646f0$88a2d4d0$@de> <65576525-8D9A-4C9A-A95B-7CC6D12DF40C@economy-x-talk.com> <003601cac420$1dac7740$590565c0$@de> Message-ID: On 15 Mar 2010, at 09:15, Tiemo Hollmann TB wrote: > That?s strange, using on Windows the Unix-Slashes instead of the > Windows > backslashes. Rev always uses forward-slashes internally. I wasn't even aware that you could pass through a backslash-delimited path on Windows and have Rev understand it! Definitely post a bug if it works on other versions of Windows, though. Ian From toolbook at kestner.de Mon Mar 15 07:12:37 2010 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 15 Mar 2010 12:12:37 +0100 Subject: AW: AW: ask file different behavior on Win7 In-Reply-To: References: <003101cac41a$d83646f0$88a2d4d0$@de> <65576525-8D9A-4C9A-A95B-7CC6D12DF40C@economy-x-talk.com> <003601cac420$1dac7740$590565c0$@de> Message-ID: <001401cac430$6cb5ab80$46210280$@de> Hi Ian, actually in most cases I switch slashes and backslashes, depending on the platform, because if the users gets any error messages, the path looks familiar to him. And that worked up to now in all cases. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Ian Wood > Gesendet: Montag, 15. M?rz 2010 11:09 > An: How to use Revolution > Betreff: Re: AW: ask file different behavior on Win7 > > > On 15 Mar 2010, at 09:15, Tiemo Hollmann TB wrote: > > > That?s strange, using on Windows the Unix-Slashes instead of the > > Windows > > backslashes. > > Rev always uses forward-slashes internally. I wasn't even aware that > you could pass through a backslash-delimited path on Windows and have > Rev understand it! > > Definitely post a bug if it works on other versions of Windows, though. > > Ian_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From Andre.Bisseret at inria.fr Mon Mar 15 08:28:28 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Mon, 15 Mar 2010 13:28:28 +0100 Subject: how to set the textStyle of word 1 of the selection? Message-ID: <6E277984-6542-46BC-B2C9-EA552712CF13@inria.fr> Bonjour, In a text field (lock text set to true) I select a couple of words Then, put word 1 of the selection -- returns the first selected word in the message box as expected But, set the textStyle of word 1 of the selection to "link" --(or bold etc) does not work. I got errors: "can't find object" -- !!? "can't set object property" set the textStyle of the selection to "link" works well, but I would like to set the textStyle of a part of the selection only What am I missing? Any help much appreciated Best regards from Grenoble Andr? From richmondmathewson at gmail.com Mon Mar 15 08:42:09 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 15 Mar 2010 14:42:09 +0200 Subject: how to set the textStyle of word 1 of the selection? In-Reply-To: <6E277984-6542-46BC-B2C9-EA552712CF13@inria.fr> References: <6E277984-6542-46BC-B2C9-EA552712CF13@inria.fr> Message-ID: <4B9E2B21.8040007@gmail.com> On 15/03/2010 14:28, Andre.Bisseret wrote: > Bonjour, > > In a text field (lock text set to true) I select a couple of words > > Then, > > put word 1 of the selection -- returns the first selected word in the > message box as expected > > But, > set the textStyle of word 1 of the selection to "link" --(or bold etc) > does not work. > I got errors: > "can't find object" -- !!? > "can't set object property" > > set the textStyle of the selection to "link" > works well, but I would like to set the textStyle of a part of the > selection only > > What am I missing? > > Any help much appreciated > set the textStyle of the first word to "link" Love, Richmond. From toolbook at kestner.de Mon Mar 15 08:52:43 2010 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 15 Mar 2010 13:52:43 +0100 Subject: can rev supply image editing features? Message-ID: <003401cac43e$6841a730$38c4f590$@de> Hello, I am not that familiar with the image manipulating capabilities of rev. I have a batch of images with a person in front of a blue background. What I would like to do is to change the blue background against a white background, so that a printed image has a better contrast. Up to now I thought that this is a photoshop job, but I am always again surprised what people do with rev (blending, masking, etc.). Or any externals for Mac and Win? I don't know if at all it would be possible, to find and select automatically the "background" (e.g. select always the topleft corner) and select all of the blue, like photoshops wizard selecting tool with some tolerance of 10 or 20%, because the RGB isn't that plain over the whole background. So I wonder, if there are any ideas on this list, how to do this job Thanks Tiemo From Andre.Bisseret at inria.fr Mon Mar 15 09:03:16 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Mon, 15 Mar 2010 14:03:16 +0100 Subject: how to set the textStyle of word 1 of the selection? In-Reply-To: <4B9E2B21.8040007@gmail.com> References: <6E277984-6542-46BC-B2C9-EA552712CF13@inria.fr> <4B9E2B21.8040007@gmail.com> Message-ID: Thank you Richmond for your prompt answer. But with "the first word" instead of "word 1" I get the same errors. Does not work Any other idea? Andr? Le 15 mars 10 ? 13:42, Richmond Mathewson a ?crit : > On 15/03/2010 14:28, Andre.Bisseret wrote: >> Bonjour, >> >> In a text field (lock text set to true) I select a couple of words >> >> Then, >> >> put word 1 of the selection -- returns the first selected word in >> the message box as expected >> >> But, >> set the textStyle of word 1 of the selection to "link" --(or bold >> etc) >> does not work. >> I got errors: >> "can't find object" -- !!? >> "can't set object property" >> >> set the textStyle of the selection to "link" >> works well, but I would like to set the textStyle of a part of the >> selection only >> >> What am I missing? >> >> Any help much appreciated >> > set the textStyle of the first word to "link" > > Love, Richmond. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major.on-rev.com Mon Mar 15 09:26:21 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 15 Mar 2010 14:26:21 +0100 Subject: how to set the textStyle of word 1 of the selection? In-Reply-To: References: <6E277984-6542-46BC-B2C9-EA552712CF13@inria.fr> <4B9E2B21.8040007@gmail.com> Message-ID: <50ACBCDE-396E-471A-B702-F87179E59D7B@major.on-rev.com> Bonjour Andre, > Thank you Richmond for your prompt answer. > But with "the first word" instead of "word 1" I get the same errors. Does not work > Any other idea? "the selection" returns the selected text and NOT a chunk describing the selection! So you may need to check "the selectedchunk" or something to get to know what to format the way you want to. > Andr? Best Klais -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From niggemann at uni-wh.de Mon Mar 15 09:43:53 2010 From: niggemann at uni-wh.de (BNig) Date: Mon, 15 Mar 2010 05:43:53 -0800 (PST) Subject: how to set the textStyle of word 1 of the selection? In-Reply-To: References: <6E277984-6542-46BC-B2C9-EA552712CF13@inria.fr> <4B9E2B21.8040007@gmail.com> Message-ID: <1268660633895-1593371.post@n4.nabble.com> Andr?, this works most of the time, since a user can select into spaces, returns and tabs etc. This assumes that a real word starts with an ASCII value below 48. So many of the interpunctation is in that range, but not all. -------------------------------- on mouseUp put the selectedChunk into tSelect put field 1 into tData -- no selection made of just a click into the field if tSelect is "" or word 4 of tSelect < word 2 of tSelect then exit mouseUp put word 2 of tSelect into tStartChar put word 4 of tSelect into tEndChar put tStartChar into tBeginOfWord -- selection can start with space, return or other non-letters -- the test for number of words later on would return -- the word before the intended word repeat with i = tStartChar to tEndchar if chartoNum (char i of tData) > 47 then exit repeat else add 1 to tBeginOfWord end if end repeat -- if tBeginOfWord <= tEndchar then set the textstyle of word (the number of words of char 1 to tBeginOfWord of tData) of field 1 to "link" else -- optional answer "please include at least part of a word in the selection" end if end mouseUp ----------------------- may be there is a smarter way. regards Bernd -- View this message in context: http://n4.nabble.com/how-to-set-the-textStyle-of-word-1-of-the-selection-tp1593292p1593371.html Sent from the Revolution - User mailing list archive at Nabble.com. From stephenREVOLUTION2 at barncard.com Mon Mar 15 10:01:21 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 15 Mar 2010 09:01:21 -0500 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: References: Message-ID: But you didn't follow my recipe!! You renamed the cards in the application browser before looking. Look everyone, I know I look like a fool here, and now I know that it's possible with the App browser but I know what I am seeing and I think there is a bug here. I had been trying to use the Inspection panel exclusively without using the application browser at all. I was assuming that they would be working the same way. once again start with a clean IDE create new stack create substack *using only the inspector panel*, try to navigate and rename both first cards of the mainstack and substack respectively. you will find it is not possible. could someone please confirm this so I can report it. sqb On 15 March 2010 02:30, Andre.Bisseret wrote: > Bonjour Stephen, > > > Le 15 mars 10 ? 06:49, stephen barncard a ?crit : > > > Thanks for the help guys. >> >> It's not about creating new cards. It's what happens when one creates a >> new >> substack, and the automatic ID assignment of the first card in the new >> stack. >> >> I had been using the inspector to try to get there. That triangle below >> the >> lock that can reveal objects. >> > I followed your recipe here on Mac OSX 10.5.8, Rev 4.0 > All is working well. > > With name of card 1 of stack1 = stack1Card > and name of card 1 of stack2 = stack2Card: > > Clicking alternatively on the two stacks and using the triangle below the > lock, with the menuItem "Card", I get the right name for the two cards 1 > (stack1Card or stack2Card) as expected. > > Best regards from Grenoble > > Andr? From stephenREVOLUTION2 at barncard.com Mon Mar 15 10:05:43 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 15 Mar 2010 09:05:43 -0500 Subject: can rev supply image editing features? In-Reply-To: <003401cac43e$6841a730$38c4f590$@de> References: <003401cac43e$6841a730$38c4f590$@de> Message-ID: you mean you want a "magic wand" or "replace color" tool? I don't think rev can do that natively. Adobe may even have a patent on it. On 15 March 2010 07:52, Tiemo Hollmann TB wrote: > Hello, > > I am not that familiar with the image manipulating capabilities of rev. I > have a batch of images with a person in front of a blue background. > > What I would like to do is to change the blue background against a white > background, so that a printed image has a better contrast. Up to now I > thought that this is a photoshop job, but I am always again surprised what > people do with rev (blending, masking, etc.). Or any externals for Mac and > Win? I don't know if at all it would be possible, to find and select > automatically the "background" (e.g. select always the topleft corner) and > select all of the blue, like photoshops wizard selecting tool with some > tolerance of 10 or 20%, because the RGB isn't that plain over the whole > background. > > So I wonder, if there are any ideas on this list, how to do this job > > Thanks > > Tiemo > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From marcio at cialogica.com.br Mon Mar 15 10:05:46 2010 From: marcio at cialogica.com.br (Marcio Alexandroni) Date: Mon, 15 Mar 2010 11:05:46 -0300 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: Message-ID: Hi, Well, the inspector shows the cards for the open stack, so you won't be able to see the cards from both stacks, you have to navigate to the other stack so you can see its cards on Inspector. Marcio Alexandroni www.cialogica.com.br ( (11) 9989-8316 marcioalexandroni -- > From: stephen barncard > Reply-To: How to use Revolution > Date: Mon, 15 Mar 2010 09:01:21 -0500 > To: How to use Revolution > Subject: Re: Card Name space conflicts in the Rev IDE > > But you didn't follow my recipe!! You renamed the cards in the application > browser before looking. > > Look everyone, I know I look like a fool here, and now I know that it's > possible with the App browser but I know what I am seeing and I think there > is a bug here. I had been trying to use the Inspection panel exclusively > without using the application browser at all. I was assuming that they would > be working the same way. > > once again > > start with a clean IDE > > create new stack > create substack > *using only the inspector panel*, try to navigate and rename both first > cards of the mainstack and substack respectively. > > you will find it is not possible. > > could someone please confirm this so I can report it. > > sqb > > On 15 March 2010 02:30, Andre.Bisseret wrote: > >> Bonjour Stephen, >> >> >> Le 15 mars 10 ? 06:49, stephen barncard a ?crit : >> >> >> Thanks for the help guys. >>> >>> It's not about creating new cards. It's what happens when one creates a >>> new >>> substack, and the automatic ID assignment of the first card in the new >>> stack. >>> >>> I had been using the inspector to try to get there. That triangle below >>> the >>> lock that can reveal objects. >>> >> I followed your recipe here on Mac OSX 10.5.8, Rev 4.0 >> All is working well. >> >> With name of card 1 of stack1 = stack1Card >> and name of card 1 of stack2 = stack2Card: >> >> Clicking alternatively on the two stacks and using the triangle below the >> lock, with the menuItem "Card", I get the right name for the two cards 1 >> (stack1Card or stack2Card) as expected. >> >> Best regards from Grenoble >> >> Andr? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JRARICK at hpsk12.net Mon Mar 15 10:09:02 2010 From: JRARICK at hpsk12.net (JACK RARICK) Date: Mon, 15 Mar 2010 10:09:02 -0400 Subject: FTP behind a Firewall Message-ID: First - I'd like to thank again everyone who had pointed me in the right direction to learn more about FTP. Everything works great from my office. But I am having trouble from a school setting sitting behind our network's firewall - the initial FTP request times out. Any ideas? Thanks again! Jack Rarick Holt Public Schools From Andre.Bisseret at inria.fr Mon Mar 15 10:16:38 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Mon, 15 Mar 2010 15:16:38 +0100 Subject: how to set the textStyle of word 1 of the selection? In-Reply-To: <50ACBCDE-396E-471A-B702-F87179E59D7B@major.on-rev.com> References: <6E277984-6542-46BC-B2C9-EA552712CF13@inria.fr> <4B9E2B21.8040007@gmail.com> <50ACBCDE-396E-471A-B702-F87179E59D7B@major.on-rev.com> Message-ID: Le 15 mars 10 ? 14:26, Klaus on-rev a ?crit : > Bonjour Andre, > >> Thank you Richmond for your prompt answer. >> But with "the first word" instead of "word 1" I get the same >> errors. Does not work >> Any other idea? > > "the selection" returns the selected text and NOT a chunk describing > the selection! > > So you may need to check "the selectedchunk" or something to get to > know what to > format the way you want to. > Guten tag Klaus, Ah! OK ! I wrote that : --------------------- on mouseUp local firstCharNum,firstWordLength,lastChar,lastCharNum, ---------- put the number of chars of word 1 of the selection into firstWordLength put word 2 of the selectedChunk into firstCharNum put firstCharNum + firstWordLength - 1 into lastCharNum set the textStyle of char firstCharNum to lastCharNum of fld 1 to "link" end mouseUp not really straightforward ;-)) but that works! Danke sehr! Andr? From marcio at cialogica.com.br Mon Mar 15 10:24:56 2010 From: marcio at cialogica.com.br (Marcio Alexandroni) Date: Mon, 15 Mar 2010 11:24:56 -0300 Subject: FTP behind a Firewall In-Reply-To: Message-ID: Hi, If your FTP server is behind a firewall, it's likely that you can't connect to the server using passive mode. The passive mode tries to open a second connection in a random port given by the server and perhaps your firewall is blocking it. Turn passive mode off makes the server to open the connection back to the client on port 20, but it may also be a problem if your machine does not accept it. Regards, Marcio Alexandroni www.cialogica.com.br ( (11) 9989-8316 marcioalexandroni -- > From: JACK RARICK > Reply-To: How to use Revolution > Date: Mon, 15 Mar 2010 10:09:02 -0400 > To: How to use Revolution > Subject: FTP behind a Firewall > > First - I'd like to thank again everyone who had pointed me in the right > direction to learn more about FTP. > > Everything works great from my office. > > But I am having trouble from a school setting sitting behind our network's > firewall - the initial FTP request times out. > > Any ideas? Thanks again! > > Jack Rarick > Holt Public Schools_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION2 at barncard.com Mon Mar 15 10:30:18 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 15 Mar 2010 09:30:18 -0500 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: References: Message-ID: Did you then navigate to the other stack *in the inspecto*r and try to access the card of the substack??? It can't be done in the inspector! Should I just ignore it and just say it's "one of those things" or report it? On 15 March 2010 09:05, Marcio Alexandroni wrote: > Hi, > > Well, the inspector shows the cards for the open stack, so you won't be > able > to see the cards from both stacks, you have to navigate to the other stack > so you can see its cards on Inspector. > > Marcio Alexandroni > www.cialogica.com.br > ( (11) 9989-8316 > marcioalexandroni > -- > > > > > From: stephen barncard > > Reply-To: How to use Revolution > > Date: Mon, 15 Mar 2010 09:01:21 -0500 > > To: How to use Revolution > > Subject: Re: Card Name space conflicts in the Rev IDE > > > > But you didn't follow my recipe!! You renamed the cards in the > application > > browser before looking. > > > > Look everyone, I know I look like a fool here, and now I know that it's > > possible with the App browser but I know what I am seeing and I think > there > > is a bug here. I had been trying to use the Inspection panel exclusively > > without using the application browser at all. I was assuming that they > would > > be working the same way. > > > > once again > > > > start with a clean IDE > > > > create new stack > > create substack > > *using only the inspector panel*, try to navigate and rename both first > > cards of the mainstack and substack respectively. > > > > you will find it is not possible. > > > > could someone please confirm this so I can report it. > > > > sqb > > > > On 15 March 2010 02:30, Andre.Bisseret wrote: > > > >> Bonjour Stephen, > >> > >> > >> Le 15 mars 10 ? 06:49, stephen barncard a ?crit : > >> > >> > >> Thanks for the help guys. > >>> > >>> It's not about creating new cards. It's what happens when one creates a > >>> new > >>> substack, and the automatic ID assignment of the first card in the new > >>> stack. > >>> > >>> I had been using the inspector to try to get there. That triangle below > >>> the > >>> lock that can reveal objects. > >>> > >> I followed your recipe here on Mac OSX 10.5.8, Rev 4.0 > >> All is working well. > >> > >> With name of card 1 of stack1 = stack1Card > >> and name of card 1 of stack2 = stack2Card: > >> > >> Clicking alternatively on the two stacks and using the triangle below > the > >> lock, with the menuItem "Card", I get the right name for the two cards > 1 > >> (stack1Card or stack2Card) as expected. > >> > >> Best regards from Grenoble > >> > >> Andr? > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From bill at bluewatermaritime.com Mon Mar 15 10:37:50 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Mon, 15 Mar 2010 10:37:50 -0400 Subject: Paris In-Reply-To: References: Message-ID: <459b22a91003150737n6b47d6b4l86edcbc3b3f62524@mail.gmail.com> Hey - that's something which will not run on Mac OS. You should include a warning - danger "Window's only website", On Sat, Mar 13, 2010 at 5:34 AM, Ren? Micout wrote: > Just for the fun, no relation with RunRev : > http://www.paris-26-gigapixels.com/HDView/index-fr.php > Ren?_______________________________________________ > use-revolution mailing list > use-revolution 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 stephenREVOLUTION2 at barncard.com Mon Mar 15 10:42:01 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 15 Mar 2010 09:42:01 -0500 Subject: Paris In-Reply-To: <459b22a91003150737n6b47d6b4l86edcbc3b3f62524@mail.gmail.com> References: <459b22a91003150737n6b47d6b4l86edcbc3b3f62524@mail.gmail.com> Message-ID: No, it requires Microsoft's Silverlight plugin, cross platform. It's another browser plugin and is about 22mb!!! On 15 March 2010 09:37, william humphrey wrote: > Hey - that's something which will not run on Mac OS. You should include a > warning - danger "Window's only website", > > On Sat, Mar 13, 2010 at 5:34 AM, Ren? Micout >wrote: > > > Just for the fun, no relation with RunRev : > > http://www.paris-26-gigapixels.com/HDView/index-fr.php > > Ren?_______________________________________________ > > use-revolution mailing list > > use-revolution 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-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From stephenREVOLUTION2 at barncard.com Mon Mar 15 10:43:45 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 15 Mar 2010 09:43:45 -0500 Subject: Paris In-Reply-To: References: <459b22a91003150737n6b47d6b4l86edcbc3b3f62524@mail.gmail.com> Message-ID: never mind, it still doesn't seem to work. On 15 March 2010 09:42, stephen barncard wrote: > No, it requires Microsoft's Silverlight plugin, cross platform. It's > another browser plugin and is about 22mb!!! > > > On 15 March 2010 09:37, william humphrey wrote: > >> Hey - that's something which will not run on Mac OS. You should include a >> warning - danger "Window's only website", >> >> On Sat, Mar 13, 2010 at 5:34 AM, Ren? Micout > >wrote: >> >> > Just for the fun, no relation with RunRev : >> > http://www.paris-26-gigapixels.com/HDView/index-fr.php >> > Ren?_______________________________________________ >> > use-revolution mailing list >> > use-revolution 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-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > ------------------------- > Stephen Barncard > currently in Fairhope AL > > -- ------------------------- Stephen Barncard currently in Fairhope AL From Andre.Bisseret at inria.fr Mon Mar 15 10:48:04 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Mon, 15 Mar 2010 15:48:04 +0100 Subject: how to set the textStyle of word 1 of the selection? In-Reply-To: <1268660633895-1593371.post@n4.nabble.com> References: <6E277984-6542-46BC-B2C9-EA552712CF13@inria.fr> <4B9E2B21.8040007@gmail.com> <1268660633895-1593371.post@n4.nabble.com> Message-ID: <98F31983-07B3-40B2-95DC-30F4064139F3@inria.fr> Guten tag Bernd, Le 15 mars 10 ? 14:43, BNig a ?crit : > > Andr?, > > this works most of the time, since a user can select into spaces, > returns > and tabs etc. > This assumes that a real word starts with an ASCII value below 48. > So many > of the interpunctation is in that range, but not all. Yesss! you are right: doing some trials I had just included a space in my selection ;-)) I am going to improve my script to take your suggestion into account. Actually, I have spaces, tabs and carriage returns in the field; otherwise there are only numbers (it is a field where the day numbers are displayed in an annual calendar (one line for each month) and where the user can select periods). Vielen dank Andr? > -------------------------------- > on mouseUp > put the selectedChunk into tSelect > put field 1 into tData > -- no selection made of just a click into the field > if tSelect is "" or word 4 of tSelect < word 2 of tSelect then exit > mouseUp > > put word 2 of tSelect into tStartChar > put word 4 of tSelect into tEndChar > > put tStartChar into tBeginOfWord > > -- selection can start with space, return or other non-letters > -- the test for number of words later on would return > -- the word before the intended word > repeat with i = tStartChar to tEndchar > if chartoNum (char i of tData) > 47 then > exit repeat > else > add 1 to tBeginOfWord > end if > end repeat > > -- > if tBeginOfWord <= tEndchar then > set the textstyle of word (the number of words of char 1 to > tBeginOfWord of tData) of field 1 to "link" > else > -- optional > answer "please include at least part of a word in the selection" > end if > > end mouseUp > ----------------------- > may be there is a smarter way. > regards > Bernd > -- > View this message in context: http://n4.nabble.com/how-to-set-the-textStyle-of-word-1-of-the-selection-tp1593292p1593371.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Mon Mar 15 12:03:49 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 15 Mar 2010 08:03:49 -0800 Subject: Paris In-Reply-To: <459b22a91003150737n6b47d6b4l86edcbc3b3f62524@mail.gmail.com> Message-ID: Recently, william humphrey wrote: > that's something which will not run on Mac OS. You should include a > warning - danger "Window's only website", > >> http://www.paris-26-gigapixels.com/HDView/index-fr.php Runs fine here in Firefox and Safari, OS X. Regards, Scott Rossi Creative Director Tactile Media, UX Design From psahores at free.fr Mon Mar 15 11:08:31 2010 From: psahores at free.fr (Pierre Sahores) Date: Mon, 15 Mar 2010 16:08:31 +0100 Subject: Paris In-Reply-To: References: Message-ID: <0AB6FFDE-C1AB-4C94-9087-308DED562B80@free.fr> And here too (OSX 10.5.8, Intel, Safari, Firefox) P. Le 15 mars 10 ? 17:03, Scott Rossi a ?crit : > Recently, william humphrey wrote: > >> that's something which will not run on Mac OS. You should include a >> warning - danger "Window's only website", >> >>> http://www.paris-26-gigapixels.com/HDView/index-fr.php > > Runs fine here in Firefox and Safari, OS X. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From ambassador at fourthworld.com Mon Mar 15 10:47:26 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 15 Mar 2010 07:47:26 -0700 Subject: Card Name space conflicts in the Rev IDE Message-ID: <4B9E487E.8020601@fourthworld.com> FWIW, I was unable to reproduce this using this recipe - note that all actions were done only in the Inspector, without the App Browser even open: 1. Booted Rev 2. Created a new stack 3. Create a substack 4. Brought the mainstack forward, used the Stack Inspector to set its name to "stack1" 5. Brought the substack forward, used the Stack Inspector to set its name to "stack2" 6. Brought the mainstack forward, used the Card Inspector to set its named to "stack1card" 7. Brought the substack forward, used the Card Inspector to set its name to "stack2card". As far as I can tell all object names are as I entered them. What steps am I missing in this recipe? -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From nealk3nc at gmail.com Mon Mar 15 11:14:49 2010 From: nealk3nc at gmail.com (Neal Campbell) Date: Mon, 15 Mar 2010 11:14:49 -0400 Subject: Paris In-Reply-To: <0AB6FFDE-C1AB-4C94-9087-308DED562B80@free.fr> References: <0AB6FFDE-C1AB-4C94-9087-308DED562B80@free.fr> Message-ID: <325413301003150814j3f434ecex6c0f423a70887a9f@mail.gmail.com> I think thats pictures taken from the Eiffel tower. Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com (540) 645 5394 NEW PHONE NUMBER Amateur Radio: K3NC Blog: http://www.abrohamnealsoftware.com/blog/ DXBase bug reports: email to cases at dxbase.fogbugz.com Abroham Neal forums: http:/www.abrohamnealsoftware.com/community/ On Mon, Mar 15, 2010 at 11:08 AM, Pierre Sahores wrote: > And here too (OSX 10.5.8, Intel, Safari, Firefox) > > P. > > Le 15 mars 10 ? 17:03, Scott Rossi a ?crit : > > > Recently, william humphrey wrote: >> >> that's something which will not run on Mac OS. You should include a >>> warning - danger "Window's only website", >>> >>> http://www.paris-26-gigapixels.com/HDView/index-fr.php >>>> >>> >> Runs fine here in Firefox and Safari, OS X. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > -- > Pierre Sahores > mobile : (33) 6 03 95 77 70 > > www.woooooooords.com > www.sahores-conseil.com > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Mon Mar 15 11:16:08 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 15 Mar 2010 08:16:08 -0700 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: References: Message-ID: <199130854078.20100315081608@ahsoftware.net> Stephen- Monday, March 15, 2010, 7:30:18 AM, you wrote: > Did you then navigate to the other stack *in the inspecto*r and try to > access the card of the substack??? It can't be done in the inspector! It's a bit of a wonky interface, but it *does* work. I didn't realize before that you were using the disclosure triangle for this. Using the triangle, select the substack. Then using the triangle again, select the card ("card 1002[1]") and give it a name. You can then select the main stack again, and then the card selections will be from the main stack. But I'd rather use tRev. -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Mon Mar 15 11:19:30 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 15 Mar 2010 17:19:30 +0200 Subject: Paris In-Reply-To: References: <459b22a91003150737n6b47d6b4l86edcbc3b3f62524@mail.gmail.com> Message-ID: <4B9E5002.9060603@gmail.com> On 15/03/2010 16:42, stephen barncard wrote: > No, it requires Microsoft's Silverlight plugin, cross platform. It's another > browser plugin and is about 22mb!!! Aye; which disnae run on Mac PPC or Linux. > On 15 March 2010 09:37, william humphrey wrote: > >> Hey - that's something which will not run on Mac OS. You should include a >> warning - danger "Window's only website", >> >> On Sat, Mar 13, 2010 at 5:34 AM, Ren? Micout>> wrote: >>> Just for the fun, no relation with RunRev : >>> http://www.paris-26-gigapixels.com/HDView/index-fr.php >>> Ren?_______________________________________________ >>> use-revolution mailing list >>> use-revolution 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-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > From nealk3nc at gmail.com Mon Mar 15 11:25:09 2010 From: nealk3nc at gmail.com (Neal Campbell) Date: Mon, 15 Mar 2010 11:25:09 -0400 Subject: Paris In-Reply-To: <4B9E5002.9060603@gmail.com> References: <459b22a91003150737n6b47d6b4l86edcbc3b3f62524@mail.gmail.com> <4B9E5002.9060603@gmail.com> Message-ID: <325413301003150825n339da643u22f380eeb88c97cc@mail.gmail.com> Try clicking on the flash tab at the far right. Its amazing how much clearer it is, at least on my Macbook Pro running win7BC. Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com (540) 645 5394 NEW PHONE NUMBER Amateur Radio: K3NC Blog: http://www.abrohamnealsoftware.com/blog/ DXBase bug reports: email to cases at dxbase.fogbugz.com Abroham Neal forums: http:/www.abrohamnealsoftware.com/community/ On Mon, Mar 15, 2010 at 11:19 AM, Richmond Mathewson < richmondmathewson at gmail.com> wrote: > On 15/03/2010 16:42, stephen barncard wrote: > >> No, it requires Microsoft's Silverlight plugin, cross platform. It's >> another >> browser plugin and is about 22mb!!! >> > > Aye; which disnae run on Mac PPC or Linux. > > > On 15 March 2010 09:37, william humphrey >> wrote: >> >> Hey - that's something which will not run on Mac OS. You should include a >>> warning - danger "Window's only website", >>> >>> On Sat, Mar 13, 2010 at 5:34 AM, Ren? Micout>> >>>> wrote: >>>> Just for the fun, no relation with RunRev : >>>> http://www.paris-26-gigapixels.com/HDView/index-fr.php >>>> Ren?_______________________________________________ >>>> use-revolution mailing list >>>> use-revolution 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-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From gregory.lypny at videotron.ca Mon Mar 15 11:29:05 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Mon, 15 Mar 2010 11:29:05 -0400 Subject: Getting a Label Field to Scroll with Another Field Message-ID: <106DC2C9-CDFC-4A55-A56B-60DE6F30CD77@videotron.ca> Hello Everyone, I have a list field called Table A. It has a horizontal scrollbar, a vertical grid and tab stops set to 80. The contents are tab delimited, and the formatted width of many of the items in a line, particularly the last item, is much greater than 80. I also have a label field called Titles A directly above Table A. It has column titles in it, and so it has the same vertical grid and tab stops as Table A. I'd like those column titles in Titles A to be synchronized with the horizontal scrolling of Table A. As a start, I tried the following. on scrollBarDrag set the hScroll of fld "Titles A" to the hScroll of fld "Table A" end scrollBarDrag It didn't work. The titles scrolled only a little. I figure that is because the content of the lines of Table A is much wider than that of Titles A. I tried inserting some blank titles at the end Titles A but that didn't help either. The content of Table A will be changing, so I'd like the synchronized scrolling to handle that. Any tips would be most appreciated. Regards, Gregory From stephenREVOLUTION2 at barncard.com Mon Mar 15 11:40:53 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 15 Mar 2010 10:40:53 -0500 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: <4B9E487E.8020601@fourthworld.com> References: <4B9E487E.8020601@fourthworld.com> Message-ID: Richard, did you then go back to the first card of the first stack and see if it had been renamed to "stack2card" ?? this is what I am seeing. On 15 March 2010 09:47, Richard Gaskin wrote: > FWIW, I was unable to reproduce this using this recipe - note that all > actions were done only in the Inspector, without the App Browser even open: > > 1. Booted Rev > > 2. Created a new stack > > 3. Create a substack > > 4. Brought the mainstack forward, used the Stack Inspector > to set its name to "stack1" > > 5. Brought the substack forward, used the Stack Inspector > to set its name to "stack2" > > 6. Brought the mainstack forward, used the Card Inspector > to set its named to "stack1card" > > 7. Brought the substack forward, used the Card Inspector > to set its name to "stack2card". > > As far as I can tell all object names are as I entered them. > > What steps am I missing in this recipe? > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From jacque at hyperactivesw.com Mon Mar 15 11:40:43 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 15 Mar 2010 10:40:43 -0500 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: References: Message-ID: <4B9E54FB.3050903@hyperactivesw.com> stephen barncard wrote: > > Look everyone, I know I look like a fool here, and now I know that it's > possible with the App browser but I know what I am seeing and I think there > is a bug here. I had been trying to use the Inspection panel exclusively > without using the application browser at all. I was assuming that they would > be working the same way. I've never had any problem with this. What are the actual names of your two stacks? The symptoms sound like what happens if two stacks have the same name. I'm sure you aren't doing that, but wondering if your problem is related somehow. BTW, you don't look like a fool; you've just stumbled on some kind of exception that the rest of us haven't encountered yet. Before you report it, we should try to figure out the cause. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Andre.Bisseret at inria.fr Mon Mar 15 11:46:52 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Mon, 15 Mar 2010 16:46:52 +0100 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: References: Message-ID: <90BBFF5B-448C-47D9-A631-7CC22382DCA1@inria.fr> Le 15 mars 10 ? 15:01, stephen barncard a ?crit : > But you didn't follow my recipe!! You renamed the cards in the > application > browser before looking. > > Look everyone, I know I look like a fool here, and now I know that > it's > possible with the App browser but I know what I am seeing and I > think there > is a bug here. I had been trying to use the Inspection panel > exclusively > without using the application browser at all. I was assuming that > they would > be working the same way. > > once again > > start with a clean IDE > > create new stack > create substack > *using only the inspector panel*, try to navigate and rename both > first > cards of the mainstack and substack respectively. > > you will find it is not possible. > > could someone please confirm this so I can report it. > Stephen, I just created a main stack : I kept its name : Untitled 1 Then a substack of it also keeping its name : Untitled 2 Then using only the Inspector (never clicked elsewhere) 1 - In the menu "Inspect / stack" I checked "Untitled 1" Then in the menu "Inspect / Card" I check "card ID 1002" In the inspector I got the pane for "Card id 1002" I changed this name for "cardOfUntitled1" (note that, just after writing the name in the field, as an habit, I always click somewhere on the pane (in the grey part: I noticed that it is often necessary in order the change to be taken into account) 2 - In the menu "Inspect / stack" I checked "Untitled 2" Then in the menu "Inspect / Card" I check "card ID 1002" In the inspector I got the pane for "Card id 1002" I changed this name for "cardOfUntitled2" Now the name of the card of main stack "Untitiled 1" is "CardOfUntitled1" and the name of the card of substack "Untitled 2" is "CardOfUntitled2" so, provided that this was the recipe you were expecting, seems possible to me Andr? From stephenREVOLUTION2 at barncard.com Mon Mar 15 11:48:07 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 15 Mar 2010 10:48:07 -0500 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: <4B9E54FB.3050903@hyperactivesw.com> References: <4B9E54FB.3050903@hyperactivesw.com> Message-ID: In my last attempt, the names of the two *stacks* are the default ones upon creation. I then attempt to name the first card of the substack. I can click on the substack, and I'll see one card in the inspector nav, select it, rename the card, and then bring the main stack to the front, and use the inspector to see the first card of the mainstack - and it has the name I gave the substack card. On 15 March 2010 10:40, J. Landman Gay wrote: > stephen barncard wrote: > >> >> Look everyone, I know I look like a fool here, and now I know that it's >> possible with the App browser but I know what I am seeing and I think >> there >> is a bug here. I had been trying to use the Inspection panel exclusively >> without using the application browser at all. I was assuming that they >> would >> be working the same way. >> > > I've never had any problem with this. What are the actual names of your two > stacks? The symptoms sound like what happens if two stacks have the same > name. I'm sure you aren't doing that, but wondering if your problem is > related somehow. > > BTW, you don't look like a fool; you've just stumbled on some kind of > exception that the rest of us haven't encountered yet. Before you report it, > we should try to figure out the cause. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From nealk3nc at gmail.com Mon Mar 15 11:53:44 2010 From: nealk3nc at gmail.com (Neal Campbell) Date: Mon, 15 Mar 2010 11:53:44 -0400 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: References: <4B9E54FB.3050903@hyperactivesw.com> Message-ID: <325413301003150853l6637695dk3e4068bf0204cc42@mail.gmail.com> It works properly under Win7. Maybe something in your plugins folder is interfering? Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com (540) 645 5394 NEW PHONE NUMBER Amateur Radio: K3NC Blog: http://www.abrohamnealsoftware.com/blog/ DXBase bug reports: email to cases at dxbase.fogbugz.com Abroham Neal forums: http:/www.abrohamnealsoftware.com/community/ On Mon, Mar 15, 2010 at 11:48 AM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > In my last attempt, the names of the two *stacks* are the default ones upon > creation. I then attempt to name the first card of the substack. I can > click on the substack, and I'll see one card in the inspector nav, select > it, rename the card, and then bring the main stack to the front, and use > the > inspector to see the first card of the mainstack - and it has the name I > gave the substack card. > > On 15 March 2010 10:40, J. Landman Gay wrote: > > > stephen barncard wrote: > > > >> > >> Look everyone, I know I look like a fool here, and now I know that it's > >> possible with the App browser but I know what I am seeing and I think > >> there > >> is a bug here. I had been trying to use the Inspection panel exclusively > >> without using the application browser at all. I was assuming that they > >> would > >> be working the same way. > >> > > > > I've never had any problem with this. What are the actual names of your > two > > stacks? The symptoms sound like what happens if two stacks have the same > > name. I'm sure you aren't doing that, but wondering if your problem is > > related somehow. > > > > BTW, you don't look like a fool; you've just stumbled on some kind of > > exception that the rest of us haven't encountered yet. Before you report > it, > > we should try to figure out the cause. > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > ------------------------- > Stephen Barncard > currently in Fairhope AL > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From stephenREVOLUTION2 at barncard.com Mon Mar 15 11:58:29 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 15 Mar 2010 10:58:29 -0500 Subject: Paris In-Reply-To: <325413301003150814j3f434ecex6c0f423a70887a9f@mail.gmail.com> References: <0AB6FFDE-C1AB-4C94-9087-308DED562B80@free.fr> <325413301003150814j3f434ecex6c0f423a70887a9f@mail.gmail.com> Message-ID: After installing Silverlight 2 - one must re-start the browser!! Nope, the camera location is far east of the Eiffel - you can see it in the upper right of the full frame. The tall buildings on the horizon are in the La Defense area, looking west. You can see part of the big arch if you zoom in all the way. What allows this incredible zooming capacity? I really like Paris... (sigh) sqb On 15 March 2010 10:14, Neal Campbell wrote: > I think thats pictures taken from the Eiffel tower. > > > Neal Campbell > Abroham Neal Software > www.abrohamnealsoftware.com > (540) 645 5394 NEW PHONE NUMBER > > Amateur Radio: K3NC > Blog: http://www.abrohamnealsoftware.com/blog/ > DXBase bug reports: email to cases at dxbase.fogbugz.com > Abroham Neal forums: http:/www.abrohamnealsoftware.com/community/ > > > > > > On Mon, Mar 15, 2010 at 11:08 AM, Pierre Sahores wrote: > > > And here too (OSX 10.5.8, Intel, Safari, Firefox) > > > > P. > > > > Le 15 mars 10 ? 17:03, Scott Rossi a ?crit : > > > > > > Recently, william humphrey wrote: > >> > >> that's something which will not run on Mac OS. You should include a > >>> warning - danger "Window's only website", > >>> > >>> http://www.paris-26-gigapixels.com/HDView/index-fr.php > >>>> > >>> > >> Runs fine here in Firefox and Safari, OS X. > >> > >> Regards, > >> > >> Scott Rossi > >> Creative Director > >> Tactile Media, UX Design > >> > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > >> > > -- > > Pierre Sahores > > mobile : (33) 6 03 95 77 70 > > > > www.woooooooords.com > > www.sahores-conseil.com > > > > > > > > > > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From jiml at netrin.com Mon Mar 15 11:59:29 2010 From: jiml at netrin.com (Jim Lambert) Date: Mon, 15 Mar 2010 08:59:29 -0700 Subject: Getting a Label Field to Scroll with Another Field In-Reply-To: <20100315154809.848772881C9@mail.runrev.com> References: <20100315154809.848772881C9@mail.runrev.com> Message-ID: <70105B2F-E392-44D5-9B3E-588E65D255D1@netrin.com> > > I'd like those column titles in Titles A to be synchronized with the horizontal scrolling of Table A. Make sure the tabstops and left & right margins of the title field are the same as your table field's. JimL From lists at mangomultimedia.com Mon Mar 15 12:05:17 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 15 Mar 2010 12:05:17 -0400 Subject: DataGrid AddData issue In-Reply-To: <0F6EAEA8-6A44-4619-85DB-796B68F235F1@gmail.com> References: <0F6EAEA8-6A44-4619-85DB-796B68F235F1@gmail.com> Message-ID: <15FBD44B-EFDC-4BDB-A019-C6174562A4FC@mangomultimedia.com> On Mar 12, 2010, at 11:21 PM, Jeffrey Massung wrote: > It looks like AddData doesn't instantly add the data to a DG form > (haven't tried a table). AddData does add the data to the form immediately. > So, for example, if I were to do the following: > > ## inside the DG group control > > on doSomething > -- .. construct some data .. > > addData tData > > get the dgNumberOfLines of me > get the dgDataControlOfIndex[it] of me You are getting the line count but then passing the line count to a property that requires an index. After calling addData the result will contain the new index (see example: http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7314-How-Do-I-Add-A-Row-Of-Data-To-An-Existing-Data-Grid-) . AddData tData put the result into theNewIndex get the dgDataControlOfIndex[theNewIndex] of me Try that and see if it works for you. -- 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 Mon Mar 15 12:08:40 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 15 Mar 2010 12:08:40 -0400 Subject: Data Grid Column Header Alignment Changes after column resize In-Reply-To: <4B9BBADE.50908@crcom.net> References: <4B9BBADE.50908@crcom.net> Message-ID: <46CDDD63-AD89-4D62-B864-D921447A69E3@mangomultimedia.com> On Mar 13, 2010, at 11:18 AM, Len Morgan wrote: > I'm trying to use my first Data Grid (table) in a stack and I need > to set the column Header alignment for a few of the columns. > Following the instructions in the DG manual, I entered the > alignments using the message box and it looked fine. But then I > resized one of the columns and all of the alignments changed, some > of them even aligning themselves such that only half of the text > showed in the column. > > Do I need to set the alignments every time the grid is displayed? > If so, where can I do that? There is a bug in the version of the library shipping with 4.0 with regards to column header alignment. It has been fixed for 4.5 though. Try setting the column alignment by script when your stack opens. Here is a lesson - http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7324-How-Do-I-Change-Column-Alignment- If that doesn't work then let me know and I can get you updated library. -- 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 Mon Mar 15 12:12:30 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 15 Mar 2010 12:12:30 -0400 Subject: Data Grid Column Header Alignment Changes after column resize In-Reply-To: <4B9BDDA3.4040804@crcom.net> References: <4B9BBADE.50908@crcom.net> <4B9BDDA3.4040804@crcom.net> Message-ID: <4BBA332D-2B90-4913-BDCB-5498103BA3C2@mangomultimedia.com> On Mar 13, 2010, at 1:46 PM, Len Morgan wrote: > On more question if I may, where exactly would I put a handler that > would set the color of each row according to the value of one of the > columns? For example, if column (database field actually) "status" > is 'I' then I want the row to be green. If it's 'R' then I want it > to be pink, etc. I don't mind that the selection will turn the > current row blue, but I need a way to set it back again and of > course, to set the colors when the data is loaded originally. Two lessons discuss techniques for this. The first one colors the text of a row that has a certain value and shows how to keep the color even after the row is hilited: http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7332-How-Can-I-Colorize-Individual-Lines-in-a-Table- The end of this lesson on behaviors shows how to color individual cells as well. It might be worth reviewing. http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7327-How-Do-I-Override-the-Default-Behavior-For-Rendering-Data-to-a-Cell- Let me know if those help. -- 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 Mon Mar 15 12:13:28 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 15 Mar 2010 12:13:28 -0400 Subject: strange color behavior in datagrid form In-Reply-To: <98AC9D5E-9EEC-46D5-B4E8-19F12A7D7E23@skynet.be> References: <98AC9D5E-9EEC-46D5-B4E8-19F12A7D7E23@skynet.be> Message-ID: On Mar 14, 2010, at 1:29 PM, Yves COPPE wrote: > I have a grid (form type) > one fld of the grip is named "check" > > in the FillInData handler I have this script > > if fld "check" of me contains "OK" then > set the foregroundColor of fld "check" of me to red > end if You don't have an else statement to set the foregroundColor to empty if the field doesn't contain "OK". -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From alex at a2technology.com Mon Mar 15 12:19:25 2010 From: alex at a2technology.com (Alex Adams) Date: Mon, 15 Mar 2010 09:19:25 -0700 Subject: InetBrowser and sound Message-ID: When I go to a page in the InetBrowser that has sound it starts playing fine, but when I close the InetBrowser window or load another page the sound does not stop playing. In fact, if I go to a series of pages with sound, the sound tracks from all the pages play simultaneously. Tacky... Any ideas? -- Alex Adams hawkVision ? tools for solving Wicked Problems (a)2 Technology Partners, Inc. 831-726-8013 alex at a2tecnology.com hawkVisionInfo.wordpress.com universalConnector.wordpress.com From yvescoppe at skynet.be Mon Mar 15 12:22:41 2010 From: yvescoppe at skynet.be (Yves COPPE) Date: Mon, 15 Mar 2010 17:22:41 +0100 Subject: strange color behavior in datagrid form In-Reply-To: References: <98AC9D5E-9EEC-46D5-B4E8-19F12A7D7E23@skynet.be> Message-ID: <319812D7-2ADB-4596-8BC7-96DCA339F8C9@skynet.be> Le 15 mars 10 ? 17:13, Trevor DeVore a ?crit : > On Mar 14, 2010, at 1:29 PM, Yves COPPE wrote: > >> I have a grid (form type) >> one fld of the grip is named "check" >> >> in the FillInData handler I have this script >> >> if fld "check" of me contains "OK" then >> set the foregroundColor of fld "check" of me to red >> end if > > You don't have an else statement to set the foregroundColor to empty > if the field doesn't contain "OK". > re, no I will try and lety you know thanks Greetings. Yves COPPE yvescoppe at skynet.be From m.schonewille at economy-x-talk.com Mon Mar 15 12:23:15 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 15 Mar 2010 17:23:15 +0100 Subject: InetBrowser and sound In-Reply-To: References: Message-ID: <0232DA5B-764E-4103-9935-A369A1D7C484@economy-x-talk.com> Alex, Are you positive that you are loading a new page in the same browser instance, rather than creating a new instance for each page? Could you post your script? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 15 mrt 2010, om 17:19 heeft Alex Adams het volgende geschreven: > When I go to a page in the InetBrowser that has sound it starts > playing > fine, but when I close the InetBrowser window or load another page > the sound > does not stop playing. In fact, if I go to a series of pages with > sound, > the sound tracks from all the pages play simultaneously. > > Tacky... > > Any ideas? > -- > Alex Adams From massung at gmail.com Mon Mar 15 12:25:44 2010 From: massung at gmail.com (Jeffrey Massung) Date: Mon, 15 Mar 2010 11:25:44 -0500 Subject: DataGrid AddData issue In-Reply-To: <15FBD44B-EFDC-4BDB-A019-C6174562A4FC@mangomultimedia.com> References: <0F6EAEA8-6A44-4619-85DB-796B68F235F1@gmail.com> <15FBD44B-EFDC-4BDB-A019-C6174562A4FC@mangomultimedia.com> Message-ID: <20D39289-A0D7-4E87-815A-EB6C50C80E02@gmail.com> Thanks, Trevor. Just curious, though.. for a form data grid, what's the difference between lines and indices? Jeff M. From lists at mangomultimedia.com Mon Mar 15 12:29:49 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 15 Mar 2010 12:29:49 -0400 Subject: DataGrid AddData issue In-Reply-To: <20D39289-A0D7-4E87-815A-EB6C50C80E02@gmail.com> References: <0F6EAEA8-6A44-4619-85DB-796B68F235F1@gmail.com> <15FBD44B-EFDC-4BDB-A019-C6174562A4FC@mangomultimedia.com> <20D39289-A0D7-4E87-815A-EB6C50C80E02@gmail.com> Message-ID: <40CA9D19-88BE-4A57-8D06-0C60D3FBF061@mangomultimedia.com> On Mar 15, 2010, at 12:25 PM, Jeffrey Massung wrote: > Just curious, though.. for a form data grid, what's the difference > between lines and indices? Indexes don't change for the data it points to. The line number can change as you add data to, remove data from or reorder data in the Data Grid. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From alex at a2technology.com Mon Mar 15 12:30:05 2010 From: alex at a2technology.com (Alex Adams) Date: Mon, 15 Mar 2010 09:30:05 -0700 Subject: InetBrowser and sound In-Reply-To: <0232DA5B-764E-4103-9935-A369A1D7C484@economy-x-talk.com> Message-ID: The brower stack is a companion to a stack that manages URL records. When a URL record is loaded, the browser is first closed if open, then reopened and the new URL put in the address of the browser stack. I'm not sure what code I should be posting. I am not aware of any multiple instantiation going on. -- Alex Adams hawkVision ? tools for solving Wicked Problems (a)2 Technology Partners, Inc. 831-726-8013 alex at a2tecnology.com hawkVisionInfo.wordpress.com universalConnector.wordpress.com > From: Mark Schonewille > Reply-To: How to use Revolution > Date: Mon, 15 Mar 2010 17:23:15 +0100 > To: How to use Revolution > Subject: Re: InetBrowser and sound > > Alex, > > Are you positive that you are loading a new page in the same browser > instance, rather than creating a new instance for each page? > > Could you post your script? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Economy-x-Talk is always looking for new software development > projects. Feel free to contact me for a quote. > > Op 15 mrt 2010, om 17:19 heeft Alex Adams het volgende geschreven: > >> When I go to a page in the InetBrowser that has sound it starts >> playing >> fine, but when I close the InetBrowser window or load another page >> the sound >> does not stop playing. In fact, if I go to a series of pages with >> sound, >> the sound tracks from all the pages play simultaneously. >> >> Tacky... >> >> Any ideas? >> -- >> Alex Adams > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From Andre.Bisseret at inria.fr Mon Mar 15 12:34:03 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Mon, 15 Mar 2010 17:34:03 +0100 Subject: Getting a Label Field to Scroll with Another Field In-Reply-To: <106DC2C9-CDFC-4A55-A56B-60DE6F30CD77@videotron.ca> References: <106DC2C9-CDFC-4A55-A56B-60DE6F30CD77@videotron.ca> Message-ID: <2F6E3FF3-FEC7-47D1-9852-AD5AD0A20802@inria.fr> Le 15 mars 10 ? 16:29, Gregory Lypny a ?crit : > Hello Everyone, > > I have a list field called Table A. It has a horizontal scrollbar, > a vertical grid and tab stops set to 80. The contents are tab > delimited, and the formatted width of many of the items in a line, > particularly the last item, is much greater than 80. I also have a > label field called Titles A directly above Table A. It has column > titles in it, and so it has the same vertical grid and tab stops as > Table A. > > I'd like those column titles in Titles A to be synchronized with the > horizontal scrolling of Table A. As a start, I tried the following. > > on scrollBarDrag > set the hScroll of fld "Titles A" to the hScroll of fld "Table A" > end scrollBarDrag > > It didn't work. The titles scrolled only a little. I figure that > is because the content of the lines of Table A is much wider than > that of Titles A. I tried inserting some blank titles at the end > Titles A but that didn't help either. The content of Table A will > be changing, so I'd like the synchronized scrolling to handle that. Bonjour Gregory, You might try to set your label field "right aligned" (pane Text formatting of the inspector). (By default, a label field is "left aligned"). Not sure that a label field be optimum if you need it scrolling. If the change "right align" does not fix your problem, then try a normal text field instead for you columns headers, I am pretty sure that your "on scrollBarDrag" would works well. Best regards from Grenoble Andr? From rene.micout at numericable.com Mon Mar 15 13:09:22 2010 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Mon, 15 Mar 2010 18:09:22 +0100 Subject: Paris In-Reply-To: <325413301003150814j3f434ecex6c0f423a70887a9f@mail.gmail.com> References: <0AB6FFDE-C1AB-4C94-9087-308DED562B80@free.fr> <325413301003150814j3f434ecex6c0f423a70887a9f@mail.gmail.com> Message-ID: No ! From Eglise Saint Sulpice (Da Vinci Code !!!) Bons souvenirs de Paris Ren? Le 15 mars 2010 ? 16:14, Neal Campbell a ?crit : > I think thats pictures taken from the Eiffel tower. > > > Neal Campbell > Abroham Neal Software > www.abrohamnealsoftware.com > (540) 645 5394 NEW PHONE NUMBER > > Amateur Radio: K3NC > Blog: http://www.abrohamnealsoftware.com/blog/ > DXBase bug reports: email to cases at dxbase.fogbugz.com > Abroham Neal forums: http:/www.abrohamnealsoftware.com/community/ > > > > > > On Mon, Mar 15, 2010 at 11:08 AM, Pierre Sahores wrote: > >> And here too (OSX 10.5.8, Intel, Safari, Firefox) >> >> P. >> >> Le 15 mars 10 ? 17:03, Scott Rossi a ?crit : >> >> >> Recently, william humphrey wrote: >>> >>> that's something which will not run on Mac OS. You should include a >>>> warning - danger "Window's only website", >>>> >>>> http://www.paris-26-gigapixels.com/HDView/index-fr.php >>>>> >>>> >>> Runs fine here in Firefox and Safari, OS X. >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX Design >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> -- >> Pierre Sahores >> mobile : (33) 6 03 95 77 70 >> >> www.woooooooords.com >> www.sahores-conseil.com >> >> >> >> >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From nealk3nc at gmail.com Mon Mar 15 13:12:41 2010 From: nealk3nc at gmail.com (Neal Campbell) Date: Mon, 15 Mar 2010 13:12:41 -0400 Subject: Paris In-Reply-To: References: <0AB6FFDE-C1AB-4C94-9087-308DED562B80@free.fr> <325413301003150814j3f434ecex6c0f423a70887a9f@mail.gmail.com> Message-ID: <325413301003151012y683c165bu267ef0c1453b6bec@mail.gmail.com> It takes a native to know these things! My mistake and apologies (most beautiful city in the world during the Spring!) Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com (540) 645 5394 NEW PHONE NUMBER Amateur Radio: K3NC Blog: http://www.abrohamnealsoftware.com/blog/ DXBase bug reports: email to cases at dxbase.fogbugz.com Abroham Neal forums: http:/www.abrohamnealsoftware.com/community/ On Mon, Mar 15, 2010 at 1:09 PM, Ren? Micout wrote: > No ! From Eglise Saint Sulpice (Da Vinci Code !!!) > Bons souvenirs de Paris > Ren? > > Le 15 mars 2010 ? 16:14, Neal Campbell a ?crit : > > > I think thats pictures taken from the Eiffel tower. > > > > > > Neal Campbell > > Abroham Neal Software > > www.abrohamnealsoftware.com > > (540) 645 5394 NEW PHONE NUMBER > > > > Amateur Radio: K3NC > > Blog: http://www.abrohamnealsoftware.com/blog/ > > DXBase bug reports: email to cases at dxbase.fogbugz.com > > Abroham Neal forums: http:/www.abrohamnealsoftware.com/community/ > > > > > > > > > > > > On Mon, Mar 15, 2010 at 11:08 AM, Pierre Sahores > wrote: > > > >> And here too (OSX 10.5.8, Intel, Safari, Firefox) > >> > >> P. > >> > >> Le 15 mars 10 ? 17:03, Scott Rossi a ?crit : > >> > >> > >> Recently, william humphrey wrote: > >>> > >>> that's something which will not run on Mac OS. You should include a > >>>> warning - danger "Window's only website", > >>>> > >>>> http://www.paris-26-gigapixels.com/HDView/index-fr.php > >>>>> > >>>> > >>> Runs fine here in Firefox and Safari, OS X. > >>> > >>> Regards, > >>> > >>> Scott Rossi > >>> Creative Director > >>> Tactile Media, UX Design > >>> > >>> > >>> _______________________________________________ > >>> use-revolution mailing list > >>> use-revolution at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-revolution > >>> > >>> > >> -- > >> Pierre Sahores > >> mobile : (33) 6 03 95 77 70 > >> > >> www.woooooooords.com > >> www.sahores-conseil.com > >> > >> > >> > >> > >> > >> > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From andre at andregarzia.com Mon Mar 15 13:14:57 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 15 Mar 2010 14:14:57 -0300 Subject: ANN: old HTTP & FTP servers in RevTalk Message-ID: <7c87a2a11003151014x3d5964cax860e79f432f82a28@mail.gmail.com> Folks, I just found some code I made in 2004 that I thought I'd share. By that year I was heavily experimenting with CGIs and RevTalk based servers and implemented many different Web and FTP servers. Just for the kicks, I am running it on my linux machines, take a look at: http://home.soapdog.org:8080/ It is also running an FTP server at port 8021 but it appears you can't connect to it due to some firewall misfiring. As I dig cool stuff from yore, I will share it with this list. I just home someone has some use for this. By the way, checkout the url mappings that work similar to revIgniter where a url goes like someStack/someCard/someMessage or someStack/someMessage allowing a sane way to create user friendly urls and developer friendly code. by the way, my connection is slow and this server has some field drawing for each request that slows things down, so do not complain about speed. :D Cheers andre -- http://www.andregarzia.com All We Do Is Code. From rene.micout at numericable.com Mon Mar 15 13:16:42 2010 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Mon, 15 Mar 2010 18:16:42 +0100 Subject: Paris In-Reply-To: References: <0AB6FFDE-C1AB-4C94-9087-308DED562B80@free.fr> <325413301003150814j3f434ecex6c0f423a70887a9f@mail.gmail.com> Message-ID: <71D5B6BB-936F-4FA2-B924-A59F6133D4CA@numericable.com> From Flash English version of the web page : Welcome to Paris! Paris 26 Gigapixels is a stitching of 2346 single photos showing a very high-resolution panoramic view of the French capital (354159x75570 px). Dive into the image and visit Paris like never before! Le 15 mars 2010 ? 16:58, stephen barncard a ?crit : > After installing Silverlight 2 - one must re-start the browser!! > > Nope, the camera location is far east of the Eiffel - you can see it in the > upper right of the full frame. The tall buildings on the horizon are in the > La Defense area, looking west. You can see part of the big arch if you zoom > in all the way. > > What allows this incredible zooming capacity? > > I really like Paris... (sigh) > > sqb > > On 15 March 2010 10:14, Neal Campbell wrote: > >> I think thats pictures taken from the Eiffel tower. >> >> >> Neal Campbell >> Abroham Neal Software >> www.abrohamnealsoftware.com >> (540) 645 5394 NEW PHONE NUMBER >> >> Amateur Radio: K3NC >> Blog: http://www.abrohamnealsoftware.com/blog/ >> DXBase bug reports: email to cases at dxbase.fogbugz.com >> Abroham Neal forums: http:/www.abrohamnealsoftware.com/community/ >> >> >> >> >> >> On Mon, Mar 15, 2010 at 11:08 AM, Pierre Sahores wrote: >> >>> And here too (OSX 10.5.8, Intel, Safari, Firefox) >>> >>> P. >>> >>> Le 15 mars 10 ? 17:03, Scott Rossi a ?crit : >>> >>> >>> Recently, william humphrey wrote: >>>> >>>> that's something which will not run on Mac OS. You should include a >>>>> warning - danger "Window's only website", >>>>> >>>>> http://www.paris-26-gigapixels.com/HDView/index-fr.php >>>>>> >>>>> >>>> Runs fine here in Firefox and Safari, OS X. >>>> >>>> Regards, >>>> >>>> Scott Rossi >>>> Creative Director >>>> Tactile Media, UX Design >>>> >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>>> >>> -- >>> Pierre Sahores >>> mobile : (33) 6 03 95 77 70 >>> >>> www.woooooooords.com >>> www.sahores-conseil.com >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > ------------------------- > Stephen Barncard > currently in Fairhope AL > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From andre at andregarzia.com Mon Mar 15 13:19:00 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 15 Mar 2010 14:19:00 -0300 Subject: ANN: old HTTP & FTP servers in RevTalk In-Reply-To: <7c87a2a11003151014x3d5964cax860e79f432f82a28@mail.gmail.com> References: <7c87a2a11003151014x3d5964cax860e79f432f82a28@mail.gmail.com> Message-ID: <7c87a2a11003151019r65cc5494n1d378b53368a6b5@mail.gmail.com> ho ho ho... I see people hitting the server... :D On Mon, Mar 15, 2010 at 2:14 PM, Andre Garzia wrote: > Folks, > > I just found some code I made in 2004 that I thought I'd share. By that > year I was heavily experimenting with CGIs and RevTalk based servers and > implemented many different Web and FTP servers. > > Just for the kicks, I am running it on my linux machines, take a look at: > > http://home.soapdog.org:8080/ > > It is also running an FTP server at port 8021 but it appears you can't > connect to it due to some firewall misfiring. > > As I dig cool stuff from yore, I will share it with this list. I just home > someone has some use for this. By the way, checkout the url mappings that > work similar to revIgniter where a url goes like > someStack/someCard/someMessage or someStack/someMessage allowing a sane way > to create user friendly urls and developer friendly code. > > by the way, my connection is slow and this server has some field drawing > for each request that slows things down, so do not complain about speed. :D > > Cheers > andre > > -- > http://www.andregarzia.com All We Do Is Code. > -- http://www.andregarzia.com All We Do Is Code. From revlist at azurevision.co.uk Mon Mar 15 13:20:37 2010 From: revlist at azurevision.co.uk (Ian Wood) Date: Mon, 15 Mar 2010 17:20:37 +0000 Subject: Paris In-Reply-To: References: <0AB6FFDE-C1AB-4C94-9087-308DED562B80@free.fr> <325413301003150814j3f434ecex6c0f423a70887a9f@mail.gmail.com> Message-ID: <17370769-BB07-469B-9D9A-15F03CE5A432@azurevision.co.uk> On 15 Mar 2010, at 15:58, stephen barncard wrote: > What allows this incredible zooming capacity? Huge numbers of photos, and then being displayed via an image pyramid - the image is rescaled several times and then each size is split into tiles - as you navigate around the image, only the relevant tiles for the that zoom level are downloaded. It's pretty standard stuff for viewing hi-res images, quite similar to Google Earth/Maps etc. Ian From randall at randallreetz.com Mon Mar 15 13:33:06 2010 From: randall at randallreetz.com (Randall Reetz) Date: Mon, 15 Mar 2010 10:33:06 -0700 Subject: Fwd: Cross platform design tool Message-ID: <20100315173308.YIGD29164.atlmtaow01.cingularme.com@Inbox> What about anti-alias vector line and polygon edges? What about spline curves within a polygon? What about intersecting or other multi-object combinations into a single object? Shearing, twisting, rotatiing, perspective, pinch, fish-eye, to single and grouped objects? How about selective transparency across an object (based on a grey scale alpha channel)? If one uses a tool like rev for the invention of new paradigms of interface and interaction schemes, but one is stuck with decades old graphics primitives and script control of graphics attributes, than one is stuck faking it and going without. Frustrating. A prototyping tool needs to stay ahead of the curve (not behind it). No? From ambassador at fourthworld.com Mon Mar 15 14:02:54 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 15 Mar 2010 11:02:54 -0700 Subject: Fwd: Cross platform design tool Message-ID: <4B9E764E.7060006@fourthworld.com> Randall Reetz wrote: > What about anti-alias vector line and polygon edges? How old is your Rev license? Vector graphics have been antialiased in Rev for years. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From stephenREVOLUTION2 at barncard.com Mon Mar 15 14:18:02 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 15 Mar 2010 13:18:02 -0500 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: <325413301003150853l6637695dk3e4068bf0204cc42@mail.gmail.com> References: <4B9E54FB.3050903@hyperactivesw.com> <325413301003150853l6637695dk3e4068bf0204cc42@mail.gmail.com> Message-ID: I tried 3 versions of Rev: 4, 4.5 dp1 and dp2. It's still broken for me. I'll be committing myself to a mental health facility later this afternoon after I finish talking to my imaginary friends. Then when I'm safely stored away, I will use the app browser instead. Sorry to bother everyone with this. On 15 March 2010 10:53, Neal Campbell wrote: > It works properly under Win7. Maybe something in your plugins folder is > interfering? > > > Neal Campbell > Abroham Neal Software > www.abrohamnealsoftware.com > (540) 645 5394 NEW PHONE NUMBER > > Amateur Radio: K3NC > Blog: http://www.abrohamnealsoftware.com/blog/ > DXBase bug reports: email to cases at dxbase.fogbugz.com > Abroham Neal forums: http:/www.abrohamnealsoftware.com/community/ > > > > > > On Mon, Mar 15, 2010 at 11:48 AM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > > > In my last attempt, the names of the two *stacks* are the default ones > upon > > creation. I then attempt to name the first card of the substack. I can > > click on the substack, and I'll see one card in the inspector nav, select > > it, rename the card, and then bring the main stack to the front, and use > > the > > inspector to see the first card of the mainstack - and it has the name I > > gave the substack card. > > > > On 15 March 2010 10:40, J. Landman Gay wrote: > > > > > stephen barncard wrote: > > > > > >> > > >> Look everyone, I know I look like a fool here, and now I know that > it's > > >> possible with the App browser but I know what I am seeing and I think > > >> there > > >> is a bug here. I had been trying to use the Inspection panel > exclusively > > >> without using the application browser at all. I was assuming that they > > >> would > > >> be working the same way. > > >> > > > > > > I've never had any problem with this. What are the actual names of your > > two > > > stacks? The symptoms sound like what happens if two stacks have the > same > > > name. I'm sure you aren't doing that, but wondering if your problem is > > > related somehow. > > > > > > BTW, you don't look like a fool; you've just stumbled on some kind of > > > exception that the rest of us haven't encountered yet. Before you > report > > it, > > > we should try to figure out the cause. > > > > > > -- > > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > > HyperActive Software | http://www.hyperactivesw.com > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > > > > -- > > ------------------------- > > Stephen Barncard > > currently in Fairhope AL > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From Andre.Bisseret at inria.fr Mon Mar 15 14:18:21 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Mon, 15 Mar 2010 19:18:21 +0100 Subject: Getting a Label Field to Scroll with Another Field In-Reply-To: <106DC2C9-CDFC-4A55-A56B-60DE6F30CD77@videotron.ca> References: <106DC2C9-CDFC-4A55-A56B-60DE6F30CD77@videotron.ca> Message-ID: Gregory, in my previous post, I wanted to mean "changing the alignement to "LEFT aligned" for your label field"!! and actually, by default a label field is right aligned. Sorry for this mistake! Andr? Le 15 mars 10 ? 16:29, Gregory Lypny a ?crit : > Hello Everyone, > > I have a list field called Table A. It has a horizontal scrollbar, > a vertical grid and tab stops set to 80. The contents are tab > delimited, and the formatted width of many of the items in a line, > particularly the last item, is much greater than 80. I also have a > label field called Titles A directly above Table A. It has column > titles in it, and so it has the same vertical grid and tab stops as > Table A. > > I'd like those column titles in Titles A to be synchronized with the > horizontal scrolling of Table A. As a start, I tried the following. > > on scrollBarDrag > set the hScroll of fld "Titles A" to the hScroll of fld "Table A" > end scrollBarDrag > > It didn't work. The titles scrolled only a little. I figure that > is because the content of the lines of Table A is much wider than > that of Titles A. I tried inserting some blank titles at the end > Titles A but that didn't help either. The content of Table A will > be changing, so I'd like the synchronized scrolling to handle that. > > Any tips would be most appreciated. > > Regards, > > Gregory > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From userev at canelasoftware.com Mon Mar 15 14:20:26 2010 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 15 Mar 2010 11:20:26 -0700 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: References: Message-ID: <7C7842A6-7BB7-448C-9C7A-CC55FAF8EF5C@canelasoftware.com> Hi Stephen, I gave this a try and captured my screen. If you think it would be help, watch it and see what I got. If I missed a step, just let me know and I will modify my actions to match yours better. http://www.canelasoftware.com/pub/rev/inspector.mov Best regards, Mark Talluto http://www.canelasoftware.com From richmondmathewson at gmail.com Mon Mar 15 14:29:07 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 15 Mar 2010 20:29:07 +0200 Subject: Fwd: Cross platform design tool In-Reply-To: <4B9E764E.7060006@fourthworld.com> References: <4B9E764E.7060006@fourthworld.com> Message-ID: <4B9E7C73.8050100@gmail.com> On 15/03/2010 20:02, Richard Gaskin wrote: > Randall Reetz wrote: >> What about anti-alias vector line and polygon edges? > > How old is your Rev license? Vector graphics have been antialiased in > Rev for years. > RR is "on a roll again"; and, probably, like many other things in our world, it will follow a path that has by now become fairly well-worn and predictable. Personally, I think the antialiased vector graphics in RunTime Revolution are jolly good; especially as it is, after all, not a graphics package but an IDE! -------------------------------------------------------------------------------------- It seems a bit cheap to just used RunRev's built-in graphic design capabilities to spin off a standalone that is called a Cross platform design tool. Surely those already exist: Inkscape and Illustrator to name but 2. Those are both programs that can wipe the floor in terms of vector graphics; but, of course, they are designed to do that rather than all the other, extremely clever, things that can be done with Runtime Revolution. From stephenREVOLUTION2 at barncard.com Mon Mar 15 14:31:06 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 15 Mar 2010 13:31:06 -0500 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: <7C7842A6-7BB7-448C-9C7A-CC55FAF8EF5C@canelasoftware.com> References: <7C7842A6-7BB7-448C-9C7A-CC55FAF8EF5C@canelasoftware.com> Message-ID: The only difference is that you are double-clicking the stacks. that doesn't matter. I dont' know what's going on, I've tried this 5 times in the last 2 days... just now, though by single clicking I can do it. Thanks all for the help of this apparent non-issue. On 15 March 2010 13:20, Mark Talluto wrote: > Hi Stephen, > > I gave this a try and captured my screen. If you think it would be help, > watch it and see what I got. If I missed a step, just let me know and I > will modify my actions to match yours better. > http://www.canelasoftware.com/pub/rev/inspector.mov > > Best regards, > > Mark Talluto > http://www.canelasoftware.com > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From jacque at hyperactivesw.com Mon Mar 15 14:35:15 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 15 Mar 2010 13:35:15 -0500 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: References: <4B9E54FB.3050903@hyperactivesw.com> Message-ID: <4B9E7DE3.5030309@hyperactivesw.com> stephen barncard wrote: > In my last attempt, the names of the two *stacks* are the default ones upon > creation. I then attempt to name the first card of the substack. I can > click on the substack, and I'll see one card in the inspector nav, select > it, rename the card, and then bring the main stack to the front, and use the > inspector to see the first card of the mainstack - and it has the name I > gave the substack card. Here is what I did: Create new mainstack "Untitled 1" Create new substack of mainstack, "Untitled 2" Right-click on mainstack with edit tool. Choose "card property inspector". Name card 1 of mainstack. Right-click on substack with edit tool. Choose "card property inspector". Name card 1 of substack. That works. I can also do it with the little arrow at the right side of the Inspector, but that's trickier with potential glitches. So if there is a bug, it's in that arrow somewhere, but possibly more in the interface design than in the implementation, because if you do things in exactly the right order the arrow works. But it's not as easy as just clicking on the stack. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From userev at canelasoftware.com Mon Mar 15 14:58:56 2010 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 15 Mar 2010 11:58:56 -0700 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: References: <7C7842A6-7BB7-448C-9C7A-CC55FAF8EF5C@canelasoftware.com> Message-ID: <4AED7FCF-D29F-411C-A85B-1F1C4C5A9063@canelasoftware.com> I will give it another try without double-clicking the stacks as I move between them. It is an old habit of mine to make sure it is listening to me. Otherwise I am following the recipe correctly? -Mark On Mar 15, 2010, at 11:31 AM, stephen barncard wrote: > The only difference is that you are double-clicking the stacks. that doesn't > matter. I dont' know what's going on, I've tried this 5 times in the last > 2 days... just now, though by single clicking I can do it. Thanks all for > the help of this apparent non-issue. > > On 15 March 2010 13:20, Mark Talluto wrote: > >> Hi Stephen, >> >> I gave this a try and captured my screen. If you think it would be help, >> watch it and see what I got. If I missed a step, just let me know and I >> will modify my actions to match yours better. >> http://www.canelasoftware.com/pub/rev/inspector.mov >> >> Best regards, >> >> Mark Talluto >> http://www.canelasoftware.com >> >> >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > ------------------------- > Stephen Barncard > currently in Fairhope AL > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jerry.daniels at me.com Mon Mar 15 15:00:10 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 15 Mar 2010 14:00:10 -0500 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: References: Message-ID: <01B0CC8D-5F77-456D-A45D-2F060FB1A907@me.com> Stephen, The unique card situation has I BELIEVE been fixed in the latest tRev build. Tricky stuff. JD On Mar 15, 2010, at 12:49 AM, stephen barncard wrote: > Thanks for the help guys. > > It's not about creating new cards. It's what happens when one > creates a new > substack, and the automatic ID assignment of the first card in the new > stack. > > I had been using the inspector to try to get there. That triangle > below the > lock that can reveal objects. > > > click on stack2 > use the inspector to see the first card. > but it's the name that I called the first card in the first stack, > I never > can reveal "card id 1002" of stack2 > > It's like the that function (the popup under lock) is looking at > card IDs > and not names for reference. > > I just tried navigation via the Application Browser, > > I now can see the names in the application browser and actually do the > navigation there. And I have had this problem lately in tRev. > > But the navigation seems to be broken in the popup in the Inspector > with > regards to recognizing cards with the same ID. Should this be > posted as > a bug? > > > ------------------------- > Stephen Barncard > currently in Fairhope AL > > > > >> How are you creating new cards? How are you determining that you >> can't >> "see" the newly created cards? >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION2 at barncard.com Mon Mar 15 15:00:29 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 15 Mar 2010 14:00:29 -0500 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: <4B9E7DE3.5030309@hyperactivesw.com> References: <4B9E54FB.3050903@hyperactivesw.com> <4B9E7DE3.5030309@hyperactivesw.com> Message-ID: Thanks Jacque -- yes that does it - thanks for the confirmation of the possibility of a glitch. My lesson is to use the Application Browser or the newly-fixed object browser in tRev for this situation - just tested and works fine (and definitely wasn't right a week ago.) to Mark: yes you were following the recipe. On 15 March 2010 13:35, J. Landman Gay wrote: > stephen barncard wrote: > >> In my last attempt, the names of the two *stacks* are the default ones >> upon >> creation. I then attempt to name the first card of the substack. I can >> click on the substack, and I'll see one card in the inspector nav, select >> it, rename the card, and then bring the main stack to the front, and use >> the >> inspector to see the first card of the mainstack - and it has the name I >> gave the substack card. >> > > Here is what I did: > > Create new mainstack "Untitled 1" > Create new substack of mainstack, "Untitled 2" > > Right-click on mainstack with edit tool. Choose "card property inspector". > Name card 1 of mainstack. > > Right-click on substack with edit tool. Choose "card property inspector". > Name card 1 of substack. > > That works. I can also do it with the little arrow at the right side of the > Inspector, but that's trickier with potential glitches. So if there is a > bug, it's in that arrow somewhere, but possibly more in the interface design > than in the implementation, because if you do things in exactly the right > order the arrow works. But it's not as easy as just clicking on the stack. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From palcibiades-first at yahoo.co.uk Mon Mar 15 15:03:07 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 15 Mar 2010 19:03:07 +0000 Subject: OT: Interview with Warren Woodford of Mepis Message-ID: <201003151903.07959.palcibiades-first@yahoo.co.uk> http://www.osnews.com/story/23005/First_Glance_at_SimplyMEPIS_8_5 This is a very interesting interview with an interesting guy. Of the smaller but yet fully featured end user oriented Linux distributions, there are probably three outstanding ones: Mepis (formerly Ubuntu based, now Debian), Scalix (slackware based), and PCLinux OS (Mandriva based). Along with Madriva One, Gnome Edition, any of them can be confidently recommended to end users. Peter From userev at canelasoftware.com Mon Mar 15 15:07:33 2010 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 15 Mar 2010 12:07:33 -0700 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: References: <4B9E54FB.3050903@hyperactivesw.com> <4B9E7DE3.5030309@hyperactivesw.com> Message-ID: <01B1A7BC-7C17-4DB2-821F-62D13FFBBA32@canelasoftware.com> Ok. I think I got it. You can see in my video that I paused as I realized "this is not right!" Tell me what you think. The trick was to switch stacks by clicking on their titlebar once to change focus. http://www.canelasoftware.com/pub/rev/inspector.mov Best regards, Mark Talluto http://www.canelasoftware.com From stephenREVOLUTION2 at barncard.com Mon Mar 15 15:17:45 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 15 Mar 2010 14:17:45 -0500 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: <01B1A7BC-7C17-4DB2-821F-62D13FFBBA32@canelasoftware.com> References: <4B9E54FB.3050903@hyperactivesw.com> <4B9E7DE3.5030309@hyperactivesw.com> <01B1A7BC-7C17-4DB2-821F-62D13FFBBA32@canelasoftware.com> Message-ID: Thanks. That's it. So clicking on the stack may not always change the reference but clicking the title bar should. I'm not sure this is worth reporting as a bug - what do you think? At least you captured the effect. by the way, Mark, what is that 'special' black toolbar up there ? Custom? sqb On 15 March 2010 14:07, Mark Talluto wrote: > Ok. I think I got it. You can see in my video that I paused as I realized > "this is not right!" > Tell me what you think. The trick was to switch stacks by clicking on > their titlebar once to change focus. > > http://www.canelasoftware.com/pub/rev/inspector.mov > > Best regards, > > Mark Talluto > http://www.canelasoftware.com > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From stephenREVOLUTION2 at barncard.com Mon Mar 15 15:24:04 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 15 Mar 2010 14:24:04 -0500 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: <01B0CC8D-5F77-456D-A45D-2F060FB1A907@me.com> References: <01B0CC8D-5F77-456D-A45D-2F060FB1A907@me.com> Message-ID: I just tested the same exact situation and it seems work fine in tRev... thanks again for your quick work. By the way, don't I owe you money for a renewal pretty soon??? What should I do? thanks sqb On 15 March 2010 14:00, Jerry Daniels wrote: > Stephen, > > The unique card situation has I BELIEVE been fixed in the latest tRev > build. Tricky stuff. > > JD > > > On Mar 15, 2010, at 12:49 AM, stephen barncard wrote: > > Thanks for the help guys. >> >> It's not about creating new cards. It's what happens when one creates a >> new >> substack, and the automatic ID assignment of the first card in the new >> stack. >> >> I had been using the inspector to try to get there. That triangle below >> the >> lock that can reveal objects. >> >> >> click on stack2 >> use the inspector to see the first card. >> but it's the name that I called the first card in the first stack, I >> never >> can reveal "card id 1002" of stack2 >> >> It's like the that function (the popup under lock) is looking at card IDs >> and not names for reference. >> >> I just tried navigation via the Application Browser, >> >> I now can see the names in the application browser and actually do the >> navigation there. And I have had this problem lately in tRev. >> >> But the navigation seems to be broken in the popup in the Inspector with >> regards to recognizing cards with the same ID. Should this be posted >> as >> a bug? >> >> >> ------------------------- >> Stephen Barncard >> currently in Fairhope AL >> >> >> >> >> How are you creating new cards? How are you determining that you can't >>> "see" the newly created cards? >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX Design >>> >>> >>> >>> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From userev at canelasoftware.com Mon Mar 15 15:24:35 2010 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 15 Mar 2010 12:24:35 -0700 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: References: <4B9E54FB.3050903@hyperactivesw.com> <4B9E7DE3.5030309@hyperactivesw.com> <01B1A7BC-7C17-4DB2-821F-62D13FFBBA32@canelasoftware.com> Message-ID: <284A1CDE-AC0A-4994-886A-0E70E7B12F3D@canelasoftware.com> I think it is worth reporting. Someone else is going to stumble on it eventually. I will leave the video on my server almost forever if you would like to reference it in your bugzilla report. That extra tool bar is something I put together that helps me with development. Now you know you are not crazy...or maybe with both are crazy. :) Best regards, Mark Talluto http://www.canelasoftware.com On Mar 15, 2010, at 12:17 PM, stephen barncard wrote: > Thanks. That's it. So clicking on the stack may not always change the > reference but clicking the title bar should. I'm not sure this is worth > reporting as a bug - what do you think? At least you captured the effect. > > by the way, Mark, what is that 'special' black toolbar up there ? Custom? > > sqb From psahores at free.fr Mon Mar 15 15:33:30 2010 From: psahores at free.fr (Pierre Sahores) Date: Mon, 15 Mar 2010 20:33:30 +0100 Subject: Paris In-Reply-To: <325413301003151012y683c165bu267ef0c1453b6bec@mail.gmail.com> References: <0AB6FFDE-C1AB-4C94-9087-308DED562B80@free.fr> <325413301003150814j3f434ecex6c0f423a70887a9f@mail.gmail.com> <325413301003151012y683c165bu267ef0c1453b6bec@mail.gmail.com> Message-ID: <5A7DB3BF-B760-4CB0-AFB8-2FE429469580@free.fr> Paris in Spring : the "Le Chatelet", the "Salle Gaveau, and the "Salle Pleyel" music halls season begins ... Paris in August : the time to say hello again along you walk the streets, just because as long as most of the parisiens are out of the town, human care can be back ... What else ? Alps and Pyrenees all along the winter, if black pists skiing in fresh sun and snow cares ;-) P. Le 15 mars 10 ? 18:12, Neal Campbell a ?crit : > It takes a native to know these things! My mistake and apologies (most > beautiful city in the world during the Spring!) > > > Neal Campbell > Abroham Neal Software > www.abrohamnealsoftware.com > (540) 645 5394 NEW PHONE NUMBER > > Amateur Radio: K3NC > Blog: http://www.abrohamnealsoftware.com/blog/ > DXBase bug reports: email to cases at dxbase.fogbugz.com > Abroham Neal forums: http:/www.abrohamnealsoftware.com/community/ > > > > > > On Mon, Mar 15, 2010 at 1:09 PM, Ren? Micout >wrote: > >> No ! From Eglise Saint Sulpice (Da Vinci Code !!!) >> Bons souvenirs de Paris >> Ren? >> >> Le 15 mars 2010 ? 16:14, Neal Campbell a ?crit : >> >>> I think thats pictures taken from the Eiffel tower. >>> >>> >>> Neal Campbell >>> Abroham Neal Software >>> www.abrohamnealsoftware.com >>> (540) 645 5394 NEW PHONE NUMBER >>> >>> Amateur Radio: K3NC >>> Blog: http://www.abrohamnealsoftware.com/blog/ >>> DXBase bug reports: email to cases at dxbase.fogbugz.com >>> Abroham Neal forums: http:/www.abrohamnealsoftware.com/community/ >>> >>> >>> >>> >>> >>> On Mon, Mar 15, 2010 at 11:08 AM, Pierre Sahores >> wrote: >>> >>>> And here too (OSX 10.5.8, Intel, Safari, Firefox) >>>> >>>> P. >>>> >>>> Le 15 mars 10 ? 17:03, Scott Rossi a ?crit : >>>> >>>> >>>> Recently, william humphrey wrote: >>>>> >>>>> that's something which will not run on Mac OS. You should >>>>> include a >>>>>> warning - danger "Window's only website", >>>>>> >>>>>> http://www.paris-26-gigapixels.com/HDView/index-fr.php >>>>>>> >>>>>> >>>>> Runs fine here in Firefox and Safari, OS X. >>>>> >>>>> Regards, >>>>> >>>>> Scott Rossi >>>>> Creative Director >>>>> Tactile Media, UX Design >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-revolution mailing list >>>>> use-revolution at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>>> >>>>> >>>> -- >>>> Pierre Sahores >>>> mobile : (33) 6 03 95 77 70 >>>> >>>> www.woooooooords.com >>>> www.sahores-conseil.com >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From randall at randallreetz.com Mon Mar 15 15:41:51 2010 From: randall at randallreetz.com (Randall Reetz) Date: Mon, 15 Mar 2010 12:41:51 -0700 Subject: Fwd: Cross platform design tool Message-ID: <20100315194153.DMZW23332.atlmtaow03.cingularme.com@Inbox> Sorry. Didn't know. What about the rest of my list? From Andre.Bisseret at inria.fr Mon Mar 15 15:42:27 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Mon, 15 Mar 2010 20:42:27 +0100 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: References: <7C7842A6-7BB7-448C-9C7A-CC55FAF8EF5C@canelasoftware.com> Message-ID: <6C5CB99B-EECD-4240-AF49-2731205B671E@inria.fr> Here, that works even without clicking on the stack to get it on top. It'is possible to change the name of the card even in the stack which is back (only by checking it in the arrow "inspect / stack". Best regards Andr? Le 15 mars 10 ? 19:31, stephen barncard a ?crit : > The only difference is that you are double-clicking the stacks. that > doesn't > matter. I dont' know what's going on, I've tried this 5 times in > the last > 2 days... just now, though by single clicking I can do it. Thanks > all for > the help of this apparent non-issue. > > On 15 March 2010 13:20, Mark Talluto > wrote: > >> Hi Stephen, >> >> I gave this a try and captured my screen. If you think it would be >> help, >> watch it and see what I got. If I missed a step, just let me know >> and I >> will modify my actions to match yours better. >> http://www.canelasoftware.com/pub/rev/inspector.mov >> >> Best regards, >> >> Mark Talluto >> http://www.canelasoftware.com >> >> >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > ------------------------- > Stephen Barncard > currently in Fairhope AL > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From richmondmathewson at gmail.com Mon Mar 15 15:47:32 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 15 Mar 2010 21:47:32 +0200 Subject: [OT] Haiku Message-ID: <4B9E8ED4.8050105@gmail.com> Bravo Andre and friends: http://distrowatch.com/weekly.php?issue=20100315#feature From david at architex.tv Mon Mar 15 15:51:57 2010 From: david at architex.tv (David Bovill) Date: Mon, 15 Mar 2010 19:51:57 +0000 Subject: Creating a stop frame animation app - revVideoGrabber Message-ID: I manage to get around 700 stills taken then it reliably crashes - is this a memory leak? There is a bugzilla report - http://quality.runrev.com/qacenter/show_bug.cgi?id=6409, but has anyone managed to get revVideoGrabber to work on any platform reliably - does it work in a standalone but not in the IDE etc... any help appreciated! From richmondmathewson at gmail.com Mon Mar 15 15:57:58 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 15 Mar 2010 21:57:58 +0200 Subject: Creating a stop frame animation app - revVideoGrabber In-Reply-To: References: Message-ID: <4B9E9146.3050701@gmail.com> On 15/03/2010 21:51, David Bovill wrote: > I manage to get around 700 stills taken then it reliably crashes - is this a > memory leak? > Repetitive Processor Syndrome? . . . :) From randall at randallreetz.com Mon Mar 15 15:59:53 2010 From: randall at randallreetz.com (Randall Reetz) Date: Mon, 15 Mar 2010 12:59:53 -0700 Subject: Fwd: Cross platform design tool Message-ID: <20100315195957.XFFW18181.atlmtaow02.cingularme.com@Inbox> The reason it is important to me is that I build semantic platforms that recognize pattern in shapes and do stuff to those shapes as context indicates. Drawings executed outside of xtalk almost impossible to integrate in real time... Especially the objects within them as they are being drawn. From yvescoppe at skynet.be Mon Mar 15 16:00:34 2010 From: yvescoppe at skynet.be (Yves COPPE) Date: Mon, 15 Mar 2010 21:00:34 +0100 Subject: strange color behavior in datagrid form Message-ID: <0DF012C5-A261-4D7C-A2B9-4DF6057C7B07@skynet.be> Hello Trevor, the "else" statement has completely solved the problem Thanks ! Greetings. Yves COPPE yvescoppe at skynet.be From andre at andregarzia.com Mon Mar 15 16:11:07 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 15 Mar 2010 17:11:07 -0300 Subject: [OT] Haiku In-Reply-To: <4B9E8ED4.8050105@gmail.com> References: <4B9E8ED4.8050105@gmail.com> Message-ID: <7c87a2a11003151311y49c4f942v7bff302018d7173c@mail.gmail.com> Richmond, Thanks!!! I've not been involved with Haiku in a while, but as soon as I undust my C/C++ skills I will try to code something for them. Haiku Rocks! :D On Mon, Mar 15, 2010 at 4:47 PM, Richmond Mathewson < richmondmathewson at gmail.com> wrote: > Bravo Andre and friends: > > http://distrowatch.com/weekly.php?issue=20100315#feature > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From gregory.lypny at videotron.ca Mon Mar 15 16:35:50 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Mon, 15 Mar 2010 16:35:50 -0400 Subject: Getting a Label Field to Scroll with Another Field In-Reply-To: <20100315195159.218DC288265@mail.runrev.com> References: <20100315195159.218DC288265@mail.runrev.com> Message-ID: Hi Andr?, Thanks. No problem, I knew what you meant. Unfortunately, the scrolling still does not align the two because, I believe, the title field's contents are not as wide as that of the data field. I think I need to pad the title field with spaces to get make it the same formattedWidth as the data field. Thanks again, Gregory Montreal On Mon, Mar 15, 2010, at 3:51 PM, use-revolution-request at lists.runrev.com wrote: > Gregory, in my previous post, I wanted to mean "changing the > alignement to "LEFT aligned" for your label field"!! > and actually, by default a label field is right aligned. > > Sorry for this mistake! > > Andr? From sarah.reichelt at gmail.com Mon Mar 15 17:03:16 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 16 Mar 2010 07:03:16 +1000 Subject: Getting a Label Field to Scroll with Another Field In-Reply-To: <106DC2C9-CDFC-4A55-A56B-60DE6F30CD77@videotron.ca> References: <106DC2C9-CDFC-4A55-A56B-60DE6F30CD77@videotron.ca> Message-ID: <73A139EF-1F9A-4480-AB60-1207CD6A6E01@gmail.com> I've done this but I had to make sure that the titles field content was wider than the data field's. Just add tabs to the headers until they are one column longer. Then your scrolling script should work. Cheers, Sarah Sent from my iPhone On 16/03/2010, at 1:29 AM, Gregory Lypny wrote: > Hello Everyone, > > I have a list field called Table A. It has a horizontal scrollbar, > a vertical grid and tab stops set to 80. The contents are tab > delimited, and the formatted width of many of the items in a line, > particularly the last item, is much greater than 80. I also have a > label field called Titles A directly above Table A. It has column > titles in it, and so it has the same vertical grid and tab stops as > Table A. > > I'd like those column titles in Titles A to be synchronized with the > horizontal scrolling of Table A. As a start, I tried the following. > > on scrollBarDrag > set the hScroll of fld "Titles A" to the hScroll of fld "Table A" > end scrollBarDrag > > It didn't work. The titles scrolled only a little. I figure that > is because the content of the lines of Table A is much wider than > that of Titles A. I tried inserting some blank titles at the end > Titles A but that didn't help either. The content of Table A will > be changing, so I'd like the synchronized scrolling to handle that. > > Any tips would be most appreciated. > > Regards, > > Gregory > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From andrew at rjdfarm.com Mon Mar 15 17:24:34 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Mon, 15 Mar 2010 13:24:34 -0800 (PST) Subject: Saving files to database Message-ID: <1268688274295-1594051.post@n4.nabble.com> I have a need to store image files and document files (reports) to my mySQL database. I know it is arguably unconventional to do this, but the need and requirement is there. Does anyone have any experience doing this within rev? I have seen alot of tutorials documenting this in PHP. Worst case: I use a php script to handle this process. But, I would like to do this straight from my rev program. -- View this message in context: http://n4.nabble.com/Saving-files-to-database-tp1594051p1594051.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Mon Mar 15 17:35:25 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Mar 2010 14:35:25 -0700 Subject: Saving files to database In-Reply-To: <1268688274295-1594051.post@n4.nabble.com> References: <1268688274295-1594051.post@n4.nabble.com> Message-ID: <97A064EF-9C7B-4EE8-B4D8-BD5E6BF25D19@twft.com> Seems like a base64 encode and then save to a blob column would do it. But I don't have any experience at it. You will probably need another column for the original file name so you could restore it "as is". So the pseudocode would look like: get the file name via answer file dialog bail out if user cancels open file read/write (in case someone else has it open and is updating it) if successful read into variable base64 encode data write to mySQL blob column write filename to char(50) column This will work for files that are easily contained in memory. If you have to deal with large files, that becomes problematic I would think. You would have to read the data in limited blocks, save each block to a separate SQL record, then use an SQL statement to combine all the records into one final record before deleting the temp copies. At least that is how I would attempt to do it. Bob On Mar 15, 2010, at 2:24 PM, Andrew Kluthe wrote: > > I have a need to store image files and document files (reports) to my mySQL > database. I know it is arguably unconventional to do this, but the need and > requirement is there. Does anyone have any experience doing this within rev? > I have seen alot of tutorials documenting this in PHP. > > Worst case: I use a php script to handle this process. But, I would like to > do this straight from my rev program. > -- > View this message in context: http://n4.nabble.com/Saving-files-to-database-tp1594051p1594051.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From zryip.theslug at gmail.com Mon Mar 15 17:38:43 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Mon, 15 Mar 2010 22:38:43 +0100 Subject: Saving files to database In-Reply-To: <1268688274295-1594051.post@n4.nabble.com> References: <1268688274295-1594051.post@n4.nabble.com> Message-ID: <64bda6471003151438v14492e0t549cb30003c44022@mail.gmail.com> 2010/3/15 Andrew Kluthe : > > I have a need to store image files and document files (reports) to my mySQL > database. I know it is arguably unconventional to do this, but the need and > requirement is there. Does anyone have any experience doing this within rev? > I have seen alot of tutorials documenting this in PHP. > > Worst case: I use a php script to handle this process. But, I would like to > do this straight from my rev program. Hello Andrew, It was discussed previously on the list. Have a look here: http://www.mail-archive.com/use-revolution at lists.runrev.com/msg127706.html HTH, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From andrew at rjdfarm.com Mon Mar 15 17:45:48 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Mon, 15 Mar 2010 13:45:48 -0800 (PST) Subject: Saving files to database In-Reply-To: <64bda6471003151438v14492e0t549cb30003c44022@mail.gmail.com> References: <1268688274295-1594051.post@n4.nabble.com> <64bda6471003151438v14492e0t549cb30003c44022@mail.gmail.com> Message-ID: <1268689548611-1594076.post@n4.nabble.com> Perfect. This is the post I was looking to find but couldn't. Bob, Slug, Thanks! -- View this message in context: http://n4.nabble.com/Saving-files-to-database-tp1594051p1594076.html Sent from the Revolution - User mailing list archive at Nabble.com. From devin_asay at byu.edu Mon Mar 15 17:51:30 2010 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 15 Mar 2010 15:51:30 -0600 Subject: Saving files to database In-Reply-To: <1268689548611-1594076.post@n4.nabble.com> References: <1268688274295-1594051.post@n4.nabble.com> <64bda6471003151438v14492e0t549cb30003c44022@mail.gmail.com> <1268689548611-1594076.post@n4.nabble.com> Message-ID: On Mar 15, 2010 Andrew Kluthe wrote: > > I have a need to store image files and document files (reports) to > my mySQL > database. I know it is arguably unconventional to do this, but the > need and > requirement is there. Does anyone have any experience doing this > within rev? > I have seen alot of tutorials documenting this in PHP. > > Worst case: I use a php script to handle this process. But, I would > like to > do this straight from my rev program. Bob and Slug, I've been doing this for years, but I have never used base 64 encoding and decoding. I've moved multiple gigabytes of binary data back and forth between local machine and mySql server without any trouble at all. So my question is, why use base 64 encoding if it doesn't make any difference? Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From pmbrig at gmail.com Mon Mar 15 17:52:41 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Mon, 15 Mar 2010 17:52:41 -0400 Subject: how to set the textStyle of word 1 of the selection? In-Reply-To: References: <6E277984-6542-46BC-B2C9-EA552712CF13@inria.fr> <4B9E2B21.8040007@gmail.com> <50ACBCDE-396E-471A-B702-F87179E59D7B@major.on-rev.com> Message-ID: Or this way: on mouseup put the selectedchunk into selCh if the selectedtext = empty then exit mouseup put the long id of the selectedfield into fldRef put value(fldRef) into fldText put word 2 of selCh into startChar put the number of words of char 1 to startChar \ of fldText into wordNbr set the textstyle of word wordNbr of \ fldRef to "link" end mouseup -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 15, 2010, at 10:16 AM, Andre.Bisseret wrote: > > Le 15 mars 10 ? 14:26, Klaus on-rev a ?crit : > >> Bonjour Andre, >> >>> Thank you Richmond for your prompt answer. >>> But with "the first word" instead of "word 1" I get the same >>> errors. Does not work >>> Any other idea? >> >> "the selection" returns the selected text and NOT a chunk >> describing the selection! >> >> So you may need to check "the selectedchunk" or something to get to >> know what to >> format the way you want to. >> > Guten tag Klaus, > > Ah! OK ! > I wrote that : > --------------------- > on mouseUp > local firstCharNum,firstWordLength,lastChar,lastCharNum, > ---------- > put the number of chars of word 1 of the selection into > firstWordLength > put word 2 of the selectedChunk into firstCharNum > put firstCharNum + firstWordLength - 1 into lastCharNum > set the textStyle of char firstCharNum to lastCharNum of fld 1 to > "link" > end mouseUp > > not really straightforward ;-)) but that works! > > Danke sehr! > > Andr? > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From randall at randallreetz.com Mon Mar 15 18:08:01 2010 From: randall at randallreetz.com (Randall Lee Reetz) Date: Mon, 15 Mar 2010 15:08:01 -0700 Subject: Inserting a photo into a polygon? In-Reply-To: References: <6E277984-6542-46BC-B2C9-EA552712CF13@inria.fr> <4B9E2B21.8040007@gmail.com> <50ACBCDE-396E-471A-B702-F87179E59D7B@major.on-rev.com> Message-ID: Can I insert a photo or image into a polygon? How? From scott at tactilemedia.com Mon Mar 15 19:19:41 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 15 Mar 2010 15:19:41 -0800 Subject: Inserting a photo into a polygon? In-Reply-To: Message-ID: Recently, Randall Lee Reetz wrote: > Can I insert a photo or image into a polygon? How? Nope -- this feature is needed on a number of levels. Please vote: http://quality.runrev.com/qacenter/show_bug.cgi?id=8542 Regards, Scott Rossi Creative Director Tactile Media, UX Design From ambassador at fourthworld.com Mon Mar 15 18:29:21 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 15 Mar 2010 15:29:21 -0700 Subject: Inserting a photo into a polygon? Message-ID: <4B9EB4C1.5020908@fourthworld.com> Scott Rossi wrote: > Recently, Randall Lee Reetz wrote: > >> Can I insert a photo or image into a polygon? How? > > Nope -- this feature is needed on a number of levels. Please vote: > http://quality.runrev.com/qacenter/show_bug.cgi?id=8542 I've been doing it by setting the backgroundPattern of the polygon to the ID of an imge. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From devin_asay at byu.edu Mon Mar 15 18:34:20 2010 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 15 Mar 2010 16:34:20 -0600 Subject: Inserting a photo into a polygon? In-Reply-To: References: <6E277984-6542-46BC-B2C9-EA552712CF13@inria.fr> <4B9E2B21.8040007@gmail.com> <50ACBCDE-396E-471A-B702-F87179E59D7B@major.on-rev.com> Message-ID: On Mar 15, 2010, at 4:08 PM, Randall Lee Reetz wrote: > Can I insert a photo or image into a polygon? How? Hi Randall, The only way I know of is to import an image into the stack, hide it, then set the backgroundPattern of the graphic object to the id of the image. (Make sure the graphic's opaque property is true). Small images are tiled, but a larger image will fill up the entire interior space of the graphic as long as the graphic is smaller than the image. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From mwieder at ahsoftware.net Mon Mar 15 18:39:57 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 15 Mar 2010 15:39:57 -0700 Subject: Inserting a photo into a polygon? In-Reply-To: References: Message-ID: <171157482953.20100315153957@ahsoftware.net> Scott- Monday, March 15, 2010, 4:19:41 PM, you wrote: > Recently, Randall Lee Reetz wrote: >> Can I insert a photo or image into a polygon? How? > Nope -- this feature is needed on a number of levels. Please vote: > http://quality.runrev.com/qacenter/show_bug.cgi?id=8542 If you import the photo or image you can set the backpattern of the polygon graphic to its id. -- -Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Mon Mar 15 18:45:05 2010 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Mar 2010 15:45:05 -0700 Subject: Saving files to database In-Reply-To: References: <1268688274295-1594051.post@n4.nabble.com> <64bda6471003151438v14492e0t549cb30003c44022@mail.gmail.com> <1268689548611-1594076.post@n4.nabble.com> Message-ID: <4D578F47-DF3B-4A8B-8000-D2B35D26D24F@twft.com> The thing that would concern me is if the file had a quote in it, as might be the case with a word file. If you are talking about image data, there shouldn't be a problem with that, especially since the format for modern image files are all "internet friendly". I guess it just depends on the nature of the data. Bob On Mar 15, 2010, at 2:51 PM, Devin Asay wrote: > Bob and Slug, > > I've been doing this for years, but I have never used base 64 encoding and decoding. I've moved multiple gigabytes of binary data back and forth between local machine and mySql server without any trouble at all. So my question is, why use base 64 encoding if it doesn't make any difference? > > Devin > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University From scott at tactilemedia.com Mon Mar 15 19:56:01 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 15 Mar 2010 15:56:01 -0800 Subject: Inserting a photo into a polygon? In-Reply-To: <171157482953.20100315153957@ahsoftware.net> Message-ID: Recently, Mark Wieder wrote: >> Nope -- this feature is needed on a number of levels. Please vote: >> http://quality.runrev.com/qacenter/show_bug.cgi?id=8542 > > If you import the photo or image you can set the backpattern of the > polygon graphic to its id. Good point (to all), I had forgotten that, but setting the backPattern is not the same as arbitrarily masking an image (or any other object) using the graphic -- thus the feature request. BTW, can you arbitrarily position the backpattern of a graphic? I've never found a way to do this. Regards, Scott Rossi Creative Director Tactile Media, UX Design From randall at randallreetz.com Mon Mar 15 19:03:34 2010 From: randall at randallreetz.com (Randall Reetz) Date: Mon, 15 Mar 2010 16:03:34 -0700 Subject: Inserting a photo into a polygon? Message-ID: <20100315230335.NYZY23332.atlmtaow03.cingularme.com@Inbox> Can you do all of this by script? From niggemann at uni-wh.de Mon Mar 15 19:11:30 2010 From: niggemann at uni-wh.de (BNig) Date: Mon, 15 Mar 2010 15:11:30 -0800 (PST) Subject: Getting a Label Field to Scroll with Another Field In-Reply-To: References: <106DC2C9-CDFC-4A55-A56B-60DE6F30CD77@videotron.ca> Message-ID: <1268694690349-1594162.post@n4.nabble.com> Gregory, what you could do if you don't mind the redundancy: put the text of the tablefield into line 5 of the header field. The idea is that then you have the same formatted width in the title field as in the header field. But since you probably only show one line in the title field this would be invisible to the user. Then your scroll is in sync. You would have to adjust the title field in case your table field has a vertical scrollbar, just make the title field that much smaller. And make shure the borderwidth of both fields is the same. And you dont have to show the horizontal scrollbar in the title field, you can still set the hscroll from the scrollbar of the table field. regards Bernd -- View this message in context: http://n4.nabble.com/Getting-a-Label-Field-to-Scroll-with-Another-Field-tp1593534p1594162.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Mon Mar 15 19:24:28 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 15 Mar 2010 16:24:28 -0700 Subject: Inserting a photo into a polygon? In-Reply-To: <20100315230335.NYZY23332.atlmtaow03.cingularme.com@Inbox> References: <20100315230335.NYZY23332.atlmtaow03.cingularme.com@Inbox> Message-ID: <83160154156.20100315162428@ahsoftware.net> Randall- Monday, March 15, 2010, 4:03:34 PM, you wrote: > Can you do all of this by script? Of course. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Mon Mar 15 19:25:56 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 15 Mar 2010 16:25:56 -0700 Subject: Inserting a photo into a polygon? In-Reply-To: References: Message-ID: <59160242453.20100315162556@ahsoftware.net> Scott- Monday, March 15, 2010, 4:56:01 PM, you wrote: > BTW, can you arbitrarily position the backpattern of a graphic? I've never > found a way to do this. Not as far as I know. Might be worth another feature request : set the loc of the backpattern of graphic... -- -Mark Wieder mwieder at ahsoftware.net From mike at cyber-ny.com Mon Mar 15 19:33:55 2010 From: mike at cyber-ny.com (Mike Brown) Date: Mon, 15 Mar 2010 19:33:55 -0400 Subject: Using the brush tool In-Reply-To: <4D578F47-DF3B-4A8B-8000-D2B35D26D24F@twft.com> References: <1268688274295-1594051.post@n4.nabble.com> <64bda6471003151438v14492e0t549cb30003c44022@mail.gmail.com> <1268689548611-1594076.post@n4.nabble.com> <4D578F47-DF3B-4A8B-8000-D2B35D26D24F@twft.com> Message-ID: <8CD13BC4-4CD7-4C73-B204-D42069CC0640@cyber-ny.com> Hello, I am trying to create use the brush tool (choose brush tool) to paint within an image. How do you turn the brush tool on and off so that you can select other buttons or objects in a stack? Currently, I have a row of buttons (one for each color) but once I select a color and choose the brush tool, I can paint within my image but cannot switch to a different color or select a button. The stack kind of locks up accept for painting with the single color within the image. Is there a tutorial stack for this? Thanks, Mike Mike Brown Cyber-NY Interactive 212-475-2721 Ext. 306 www.cyber-ny.com mike at cyber-ny.com Follow Us On Twitter http://www.twitter.com/cyberny From massung at gmail.com Mon Mar 15 19:44:11 2010 From: massung at gmail.com (Jeffrey Massung) Date: Mon, 15 Mar 2010 18:44:11 -0500 Subject: Using the brush tool In-Reply-To: <8CD13BC4-4CD7-4C73-B204-D42069CC0640@cyber-ny.com> References: <1268688274295-1594051.post@n4.nabble.com> <64bda6471003151438v14492e0t549cb30003c44022@mail.gmail.com> <1268689548611-1594076.post@n4.nabble.com> <4D578F47-DF3B-4A8B-8000-D2B35D26D24F@twft.com> <8CD13BC4-4CD7-4C73-B204-D42069CC0640@cyber-ny.com> Message-ID: I haven't ever tried this with Rev, but remembering way back to my high school years and ol' Hypercard, you may want to just put a rectangle object out in your card somewhere, and do a card script something like this (pseudo-code, untested): on mouseDown if the mouseLoc is within the rect of graphic "My Draw Area" then select the brush tool end if end mouseDown on mouseUp select the run tool end mouseUp on mouseRelease select the run tool end mouseRelease Jeff M. On Mar 15, 2010, at 6:33 PM, Mike Brown wrote: > Hello, > > I am trying to create use the brush tool (choose brush tool) to paint within an image. How do you turn the brush tool on and off so that you can select other buttons or objects in a stack? > > Currently, I have a row of buttons (one for each color) but once I select a color and choose the brush tool, I can paint within my image but cannot switch to a different color or select a button. The stack kind of locks up accept for painting with the single color within the image. > > Is there a tutorial stack for this? > > > Thanks, > Mike > > > Mike Brown > Cyber-NY Interactive > 212-475-2721 Ext. 306 > www.cyber-ny.com > mike at cyber-ny.com > > Follow Us On Twitter > http://www.twitter.com/cyberny > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From cszasz at mac.com Mon Mar 15 20:10:36 2010 From: cszasz at mac.com (charles61) Date: Mon, 15 Mar 2010 16:10:36 -0800 (PST) Subject: Flipping card (screen) Message-ID: <1268698236072-1594225.post@n4.nabble.com> I have been working on an app for the past eight months. I am in the process of trying to "spruce up" my opening card that has buttons for the user to choose. My question: How can I get my card to "flip" with the new side of the card showing the next card? This effect is seen in Pages when the user chooses a new file and the screen flips. -- View this message in context: http://n4.nabble.com/Flipping-card-screen-tp1594225p1594225.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Mon Mar 15 20:19:25 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 16 Mar 2010 01:19:25 +0100 Subject: Flipping card (screen) In-Reply-To: <1268698236072-1594225.post@n4.nabble.com> References: <1268698236072-1594225.post@n4.nabble.com> Message-ID: Hi Charles, Do you mean something like lock screen go next cd unlock screen with visual effect "wipe left" ? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 16 mrt 2010, om 01:10 heeft charles61 het volgende geschreven: > > I have been working on an app for the past eight months. I am in the > process > of trying to "spruce up" my opening card that has buttons for the > user to > choose. My question: How can I get my card to "flip" with the new > side of > the card showing the next card? This effect is seen in Pages when > the user > chooses a new file and the screen flips. From sarah.reichelt at gmail.com Mon Mar 15 20:24:48 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 16 Mar 2010 10:24:48 +1000 Subject: Flipping card (screen) In-Reply-To: <1268698236072-1594225.post@n4.nabble.com> References: <1268698236072-1594225.post@n4.nabble.com> Message-ID: On Tue, Mar 16, 2010 at 10:10 AM, charles61 wrote: > > I have been working on an app for the past eight months. I am in the process > of trying to "spruce up" my opening card that has buttons for the user to > choose. My question: How can I get my card to "flip" with the new side of > the card showing the next card? This effect is seen in Pages when the user > chooses a new file and the screen flips. If this is for Mac only, have a look at the Core Image effects sampler stack. It's in the Revolution application folder --> Resources --> Examples. Cheers, Sarah From tsj at unimelb.edu.au Mon Mar 15 20:25:41 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 16 Mar 2010 11:25:41 +1100 Subject: Flipping card (screen) In-Reply-To: <1268698236072-1594225.post@n4.nabble.com> Message-ID: Check the dictionary entry for 'visual effect'. There are all sorts of transitions available although none of them may give you the sort of 'flip' (page turning?) effect your looking for. Personally I don't mind the dissolve effect - the rest I can leave. Terry... On 16/03/10 11:10 AM, "charles61" wrote: > > I have been working on an app for the past eight months. I am in the process > of trying to "spruce up" my opening card that has buttons for the user to > choose. My question: How can I get my card to "flip" with the new side of > the card showing the next card? This effect is seen in Pages when the user > chooses a new file and the screen flips. From cszasz at mac.com Mon Mar 15 20:31:59 2010 From: cszasz at mac.com (charles61) Date: Mon, 15 Mar 2010 16:31:59 -0800 (PST) Subject: Flipping card (screen) In-Reply-To: References: <1268698236072-1594225.post@n4.nabble.com> Message-ID: <90F03173-6857-4CA5-A0F4-EAE034A92149@mac.com> Thanks Mark for your suggestion. I guess I should have mentioned that I wanted to do this with the built-in effects instead of using QT. On Mar 15, 2010, at 8:19 PM, Mark Schonewille-3 [via Runtime Revolution] wrote: > Hi Charles, > > Do you mean something like > > lock screen > go next cd > unlock screen with visual effect "wipe left" > > ? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Economy-x-Talk is always looking for new software development > projects. Feel free to contact me for a quote. > > Op 16 mrt 2010, om 01:10 heeft charles61 het volgende geschreven: > > > > > I have been working on an app for the past eight months. I am in the > > process > > of trying to "spruce up" my opening card that has buttons for the > > user to > > choose. My question: How can I get my card to "flip" with the new > > side of > > the card showing the next card? This effect is seen in Pages when > > the user > > chooses a new file and the screen flips. > > > _______________________________________________ > use-revolution mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > View message @ http://n4.nabble.com/Flipping-card-screen-tp1594225p1594234.html > To unsubscribe from Flipping card (screen), click here. > Charles Szasz cszasz at mac.com -- View this message in context: http://n4.nabble.com/Flipping-card-screen-tp1594225p1594251.html Sent from the Revolution - User mailing list archive at Nabble.com. From cszasz at mac.com Mon Mar 15 20:31:59 2010 From: cszasz at mac.com (charles61) Date: Mon, 15 Mar 2010 16:31:59 -0800 (PST) Subject: Flipping card (screen) In-Reply-To: References: <1268698236072-1594225.post@n4.nabble.com> Message-ID: <02C0BAA0-28B1-4008-AE09-F6D692C99B95@mac.com> Thanks Terry for your suggestion. I guess I should have mentioned that I wanted to do this with the built-in effects instead of using QT. On Mar 15, 2010, at 8:26 PM, Terry Judd [via Runtime Revolution] wrote: > Check the dictionary entry for 'visual effect'. There are all sorts of > transitions available although none of them may give you the sort of 'flip' > (page turning?) effect your looking for. Personally I don't mind the > dissolve effect - the rest I can leave. > > Terry... > > > On 16/03/10 11:10 AM, "charles61" <[hidden email]> wrote: > > > > > I have been working on an app for the past eight months. I am in the process > > of trying to "spruce up" my opening card that has buttons for the user to > > choose. My question: How can I get my card to "flip" with the new side of > > the card showing the next card? This effect is seen in Pages when the user > > chooses a new file and the screen flips. > > _______________________________________________ > use-revolution mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > View message @ http://n4.nabble.com/Flipping-card-screen-tp1594225p1594243.html > To unsubscribe from Flipping card (screen), click here. > Charles Szasz cszasz at mac.com -- View this message in context: http://n4.nabble.com/Flipping-card-screen-tp1594225p1594252.html Sent from the Revolution - User mailing list archive at Nabble.com. From cszasz at mac.com Mon Mar 15 20:33:09 2010 From: cszasz at mac.com (charles61) Date: Mon, 15 Mar 2010 16:33:09 -0800 (PST) Subject: Flipping card (screen) In-Reply-To: References: <1268698236072-1594225.post@n4.nabble.com> Message-ID: <73EE1880-5A45-459A-9820-C2667FBF06F7@mac.com> Hi Sarah! Thanks for your suggestion. I guess I should have mentioned that I wanted to do this with the built-in effects instead of using QT. By the way, I ordered an iPad last Friday! On Mar 15, 2010, at 8:24 PM, Sarah Reichelt-2 [via Runtime Revolution] wrote: > On Tue, Mar 16, 2010 at 10:10 AM, charles61 <[hidden email]> wrote: > > > > I have been working on an app for the past eight months. I am in the process > > of trying to "spruce up" my opening card that has buttons for the user to > > choose. My question: How can I get my card to "flip" with the new side of > > the card showing the next card? This effect is seen in Pages when the user > > chooses a new file and the screen flips. > > > If this is for Mac only, have a look at the Core Image effects sampler > stack. It's in the Revolution application folder --> Resources --> > Examples. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > View message @ http://n4.nabble.com/Flipping-card-screen-tp1594225p1594240.html > To unsubscribe from Flipping card (screen), click here. > Charles Szasz cszasz at mac.com -- View this message in context: http://n4.nabble.com/Flipping-card-screen-tp1594225p1594254.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Mon Mar 15 20:35:42 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 16 Mar 2010 01:35:42 +0100 Subject: Flipping card (screen) In-Reply-To: <90F03173-6857-4CA5-A0F4-EAE034A92149@mac.com> References: <1268698236072-1594225.post@n4.nabble.com> <90F03173-6857-4CA5-A0F4-EAE034A92149@mac.com> Message-ID: <17B9D30B-519C-4878-802A-E40ACA716174@economy-x-talk.com> Hi Charles, Just check in the documentation which effects are available without QT. The result may be ugly though. Perhaps you could export the current card to an image object, show the image object as part of a group, which is placed on all cards. After showing the image object, go to the next card and move the image object to the left. Not exactly what you mean, but you can probably enhance the idea. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 16 mrt 2010, om 01:31 heeft charles61 het volgende geschreven: > > Thanks Mark for your suggestion. I guess I should have mentioned > that I wanted to do this with the built-in effects instead of using > QT. From mike at cyber-ny.com Mon Mar 15 21:12:46 2010 From: mike at cyber-ny.com (Mike Brown) Date: Mon, 15 Mar 2010 21:12:46 -0400 Subject: Using the brush tool In-Reply-To: References: <1268688274295-1594051.post@n4.nabble.com> <64bda6471003151438v14492e0t549cb30003c44022@mail.gmail.com> <1268689548611-1594076.post@n4.nabble.com> <4D578F47-DF3B-4A8B-8000-D2B35D26D24F@twft.com> <8CD13BC4-4CD7-4C73-B204-D42069CC0640@cyber-ny.com> Message-ID: <6C4CEEB2-1BA9-4B02-BA5F-96E13F947E49@cyber-ny.com> Hi Jeff, Sounds like a good idea but no such luck. I'll keep messing around. Seems like there should be a command for deselecting the brush tool. Do you know what commands sets the cursor from the brush tool back to the normal behavior? THanks, Mike Mike Brown Cyber-NY Interactive 212-475-2721 Ext. 306 www.cyber-ny.com mike at cyber-ny.com Follow Us On Twitter http://www.twitter.com/cyberny On Mar 15, 2010, at 7:44 PM, Jeffrey Massung wrote: > I haven't ever tried this with Rev, but remembering way back to my > high school years and ol' Hypercard, you may want to just put a > rectangle object out in your card somewhere, and do a card script > something like this (pseudo-code, untested): > > on mouseDown > if the mouseLoc is within the rect of graphic "My Draw Area" then > select the brush tool > end if > end mouseDown > > on mouseUp > select the run tool > end mouseUp > > on mouseRelease > select the run tool > end mouseRelease > > Jeff M. > > On Mar 15, 2010, at 6:33 PM, Mike Brown wrote: > >> Hello, >> >> I am trying to create use the brush tool (choose brush tool) to >> paint within an image. How do you turn the brush tool on and off so >> that you can select other buttons or objects in a stack? >> >> Currently, I have a row of buttons (one for each color) but once I >> select a color and choose the brush tool, I can paint within my >> image but cannot switch to a different color or select a button. >> The stack kind of locks up accept for painting with the single >> color within the image. >> >> Is there a tutorial stack for this? >> >> >> Thanks, >> Mike >> >> >> Mike Brown >> Cyber-NY Interactive >> 212-475-2721 Ext. 306 >> www.cyber-ny.com >> mike at cyber-ny.com >> >> Follow Us On Twitter >> http://www.twitter.com/cyberny >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sarah.reichelt at gmail.com Mon Mar 15 21:26:25 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 16 Mar 2010 11:26:25 +1000 Subject: Using the brush tool In-Reply-To: <6C4CEEB2-1BA9-4B02-BA5F-96E13F947E49@cyber-ny.com> References: <1268688274295-1594051.post@n4.nabble.com> <64bda6471003151438v14492e0t549cb30003c44022@mail.gmail.com> <1268689548611-1594076.post@n4.nabble.com> <4D578F47-DF3B-4A8B-8000-D2B35D26D24F@twft.com> <8CD13BC4-4CD7-4C73-B204-D42069CC0640@cyber-ny.com> <6C4CEEB2-1BA9-4B02-BA5F-96E13F947E49@cyber-ny.com> Message-ID: On Tue, Mar 16, 2010 at 11:12 AM, Mike Brown wrote: > Hi Jeff, > > Sounds like a good idea but no such luck. ?I'll keep messing around. > > Seems like there should be a command for deselecting the brush tool. > > Do you know what commands sets the cursor from the brush tool back to the > normal behavior? You want the "choose" command. "choose browse tool" gets you back to normal. "choose brush tool" gives you the brush. Using this command, Jeff's idea should work fine. Cheers, Sarah From ambassador at fourthworld.com Mon Mar 15 21:33:07 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 15 Mar 2010 18:33:07 -0700 Subject: Using the brush tool Message-ID: <4B9EDFD3.1070901@fourthworld.com> Mike Brown wrote: > Do you know what commands sets the cursor from the brush tool back to > the normal behavior? The same one you use to change the tool to the brush tool, only specifying the browse tool instead: choose browse tool As for keeping some buttons in browse mode while having paint tools in use, you can try two options: - Try setting the cantSelect of the buttons you want to maintain browse-mode behavior. When that property is set they respond as though they're in browse mode even when the tool is the pointer tool - may work for the brush tool as well. - Have those buttons in a palette stack, limiting your toplevel stack to the painting canvas. For the long term, it would be really great if we could have tool modes for group controls, so you could have a tool pane running in browse mode and a group as your paint canvas, all in one window. There's a request for this, if you feel like it's something worth voting for: -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From tsj at unimelb.edu.au Mon Mar 15 21:40:49 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 16 Mar 2010 12:40:49 +1100 Subject: Using the brush tool In-Reply-To: <4B9EDFD3.1070901@fourthworld.com> Message-ID: I guess you could also set and reset the tool as you enter and leave the paint object. Your tool buttons would then only have to store the tool choice for you to set when you need it... Brush button.. on mouseUp set the cPaintTool of this cd to "brush" end mouseUp Paint object on mouseEnter do "choose "&the cPaintTool of this cd&"tool" end mouseEnter on mouseLeave choose browse tool end mouseLeave ...or something like that. Terry... On 16/03/10 12:33 PM, "Richard Gaskin" wrote: > Mike Brown wrote: >> Do you know what commands sets the cursor from the brush tool back to >> the normal behavior? > > The same one you use to change the tool to the brush tool, only > specifying the browse tool instead: > > choose browse tool > > As for keeping some buttons in browse mode while having paint tools in > use, you can try two options: > > - Try setting the cantSelect of the buttons you want to maintain > browse-mode behavior. When that property is set they respond as though > they're in browse mode even when the tool is the pointer tool - may work > for the brush tool as well. > > - Have those buttons in a palette stack, limiting your toplevel stack to > the painting canvas. > > For the long term, it would be really great if we could have tool modes > for group controls, so you could have a tool pane running in browse mode > and a group as your paint canvas, all in one window. > > There's a request for this, if you feel like it's something worth voting > for: > > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mike at cyber-ny.com Mon Mar 15 22:17:16 2010 From: mike at cyber-ny.com (Mike Brown) Date: Mon, 15 Mar 2010 22:17:16 -0400 Subject: Using the brush tool In-Reply-To: References: Message-ID: That did the trick. Using the "do" command and the "browse tool" works... thanks! - Mike Mike Brown Cyber-NY Interactive 212-475-2721 Ext. 306 www.cyber-ny.com mike at cyber-ny.com Follow Us On Twitter http://www.twitter.com/cyberny On Mar 15, 2010, at 9:40 PM, Terry Judd wrote: > I guess you could also set and reset the tool as you enter and leave > the > paint object. Your tool buttons would then only have to store the tool > choice for you to set when you need it... > > Brush button.. > on mouseUp > set the cPaintTool of this cd to "brush" > end mouseUp > > Paint object > on mouseEnter > do "choose "&the cPaintTool of this cd&"tool" > end mouseEnter > > on mouseLeave > choose browse tool > end mouseLeave > > ...or something like that. > > Terry... > > > On 16/03/10 12:33 PM, "Richard Gaskin" > wrote: > >> Mike Brown wrote: >>> Do you know what commands sets the cursor from the brush tool back >>> to >>> the normal behavior? >> >> The same one you use to change the tool to the brush tool, only >> specifying the browse tool instead: >> >> choose browse tool >> >> As for keeping some buttons in browse mode while having paint tools >> in >> use, you can try two options: >> >> - Try setting the cantSelect of the buttons you want to maintain >> browse-mode behavior. When that property is set they respond as >> though >> they're in browse mode even when the tool is the pointer tool - may >> work >> for the brush tool as well. >> >> - Have those buttons in a palette stack, limiting your toplevel >> stack to >> the painting canvas. >> >> For the long term, it would be really great if we could have tool >> modes >> for group controls, so you could have a tool pane running in browse >> mode >> and a group as your paint canvas, all in one window. >> >> There's a request for this, if you feel like it's something worth >> voting >> for: >> >> >> -- >> Richard Gaskin >> Fourth World >> Rev training and consulting: http://www.fourthworld.com >> Webzine for Rev developers: http://www.revjournal.com >> revJournal blog: http://revjournal.com/blog.irv >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION2 at barncard.com Mon Mar 15 22:48:18 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 15 Mar 2010 21:48:18 -0500 Subject: Saving files to database In-Reply-To: <4D578F47-DF3B-4A8B-8000-D2B35D26D24F@twft.com> References: <1268688274295-1594051.post@n4.nabble.com> <64bda6471003151438v14492e0t549cb30003c44022@mail.gmail.com> <1268689548611-1594076.post@n4.nabble.com> <4D578F47-DF3B-4A8B-8000-D2B35D26D24F@twft.com> Message-ID: I don't think BLOBs have any problem with quotes - it's just another binary byte. ------------------------- Stephen Barncard currently in Fairhope AL From niconiko at gmail.com Mon Mar 15 22:48:59 2010 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 16 Mar 2010 11:48:59 +0900 Subject: downladed stack is not being actually saved Message-ID: <1e91b2b71003151948s5558ccdbp9c17c386f14cf2b1@mail.gmail.com> Hello, Well, I've given up and now humbly ask the list for help. I'm scripting an automated stack-update function. Problem is, the downloaded stack only seems to overwrite the local stack. I mean, I can "see" the download progress, and afterwards the "new" stack's Windows modification-date changes, but the customprop in which its version number is stored remains the same. Here in essence are the two main parts of my script. First, the "check for update" part: on setUp start using stack "MyMainstack" put "stack1,stack1.rev" & cr & "stack2,stack2.rev" into tStackFiles set the stackFiles of "MyMainstack" to tStackFiles put "stack1" into tStackToCheckForUpdate put the cpVersionNumber of stack tStackToCheckForUpdate into tStacksVersionNumber put into tLatestVersionNumber if tStacksVersionNumber <> tLatestVersionNumber then ## Download latest stack. put tStackToCheckForUpdate into gStackToUpdate modal "stack update MyMainstack" end if open stack tStackToCheckForUpdate hide stack "MyMainStack" end setUp Second, the "stack download and save" part: on downloadRoutine put URLStatus(pUrl) into tStatus switch tStatus case word 1 of tStatus = "cached" ## Save the downloaded stack. put gSaveStackDirectory & gStackToUpdate & ".rev" into tSaveasPath set the lockMessages to true go invisible URL pUrl set the visible of stack gStackToUpdate to true save stack gStackToUpdate as tSaveasPath close stack gStackToUpdate set the lockMessages to false unload URL pUrl break end switch end downloadRoutine Once the modal stack closes, the "setUp" script above continues and opens up the supposedly newer stack. The only thing I could think of is that because I'm using "set the stackFiles", and because the local and downloaded stacks have the same name, the "save stack" command is re-saving the local stack. So, I relocated that part of "on setUp" to after the "modal stack" call. No luck, though. What have I overlooked here? Thank you. -- Nicolas Cueto From mwieder at ahsoftware.net Mon Mar 15 22:54:19 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 15 Mar 2010 19:54:19 -0700 Subject: downladed stack is not being actually saved In-Reply-To: <1e91b2b71003151948s5558ccdbp9c17c386f14cf2b1@mail.gmail.com> References: <1e91b2b71003151948s5558ccdbp9c17c386f14cf2b1@mail.gmail.com> Message-ID: <87172744687.20100315195419@ahsoftware.net> Nicolas- Monday, March 15, 2010, 7:48:59 PM, you wrote: > What have I overlooked here? Revert the stack after saving. That'll load the saved image into memory. -- -Mark Wieder mwieder at ahsoftware.net From niconiko at gmail.com Mon Mar 15 23:05:07 2010 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 16 Mar 2010 12:05:07 +0900 Subject: downladed stack is not being actually saved In-Reply-To: <87172744687.20100315195419@ahsoftware.net> References: <1e91b2b71003151948s5558ccdbp9c17c386f14cf2b1@mail.gmail.com> <87172744687.20100315195419@ahsoftware.net> Message-ID: <1e91b2b71003152005n184f64c6xce2ac2552c407090@mail.gmail.com> Thank you, Mark, but I did not know about "revert" until just now when I looked it up, and so have no idea where in the script to place this unfamiliar command. Off to experiment while I wait for suggestions... -- Nicolas From mwieder at ahsoftware.net Mon Mar 15 23:21:03 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 15 Mar 2010 20:21:03 -0700 Subject: downladed stack is not being actually saved In-Reply-To: <1e91b2b71003152005n184f64c6xce2ac2552c407090@mail.gmail.com> References: <1e91b2b71003151948s5558ccdbp9c17c386f14cf2b1@mail.gmail.com> <87172744687.20100315195419@ahsoftware.net> <1e91b2b71003152005n184f64c6xce2ac2552c407090@mail.gmail.com> Message-ID: <42174349421.20100315202103@ahsoftware.net> Nicolas- Monday, March 15, 2010, 8:05:07 PM, you wrote: > Thank you, Mark, but I did not know about "revert" until just now when > I looked it up, and so have no idea where in the script to place this > unfamiliar command. Here's part of my update routine: --save the image to disk put tUpdate into url tDownloadLocation try set the style of this stack to "topLevel" -- load the saved image from disk revert catch e answer e end try -- -Mark Wieder mwieder at ahsoftware.net From len-morgan at crcom.net Tue Mar 16 00:15:34 2010 From: len-morgan at crcom.net (Len Morgan) Date: Mon, 15 Mar 2010 23:15:34 -0500 Subject: More Data Grid Difficulties - Making it request data Message-ID: <4B9F05E6.8040402@crcom.net> I found the manual pages for coloring lines in a data grid table but it's not working. I'm pretty sure that the reason is because I'm settting the dgText to the array I create from the database records and that is bypassing the FillInData routine. I guess what I need to do is only fill in the records when asked for by the data grid. How exactly would I do that? I need to keep the records in the order they come in from the database but once they are in the table, they could be changed as long as I could get back to the correct line number in my variable. I do NOT need to edit any of the data in the grid. It's only purpose is to display a list of people that are returned from a query (made up on the spot based on the fields the user types in). They need to be able to scroll the list (could be as many as 300 names) and they need to be able to double click on a line to select that person. As long as I can get the data from the first column, I can manage the rest (in fact, that part is working fine right now. I read the entire query result in rather than using a cursor so the examples in the data grid manual I don't think are going to help. Is there a way I can: 1) Do the query 2) Convert the results into a tab/return delimited list of "records" 3) Tell the data grid to start filling in the data and "request" the line numbers from me I have 1 and 2 done. All I need is a way to tell the data grid to start requesting the visible rows and (hopefully) pass me the line number it wants (which will match up with my line numbers). After that, I think the colorization routines will fire and do their thing. Thanks! len morgan From niconiko at gmail.com Tue Mar 16 00:41:46 2010 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 16 Mar 2010 13:41:46 +0900 Subject: downladed stack is not being actually saved In-Reply-To: <42174349421.20100315202103@ahsoftware.net> References: <1e91b2b71003151948s5558ccdbp9c17c386f14cf2b1@mail.gmail.com> <87172744687.20100315195419@ahsoftware.net> <1e91b2b71003152005n184f64c6xce2ac2552c407090@mail.gmail.com> <42174349421.20100315202103@ahsoftware.net> Message-ID: <1e91b2b71003152141r48dac1d6ge4055b96f3ec12e4@mail.gmail.com> Thanks again to Mark. The solution was to use "put ... into url" instead of "go URL". And didn't need "revert". -- Nicolas Cueto From niconiko at gmail.com Tue Mar 16 01:35:11 2010 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 16 Mar 2010 14:35:11 +0900 Subject: adjusting speed of set arcangle of graphic Message-ID: <1e91b2b71003152235i31358914occf0c6d46e0cc480@mail.gmail.com> Hello, I use this script for a visual effect/illusion: put 5 into gArcAngleDelay repeat with i = 18 to 360 step 18 set the arcAngle of graphic ID tID to i wait gArcAngleDelay milliseconds with messages end repeat set the arcAngle of graphic ID tID to 360 On the Win PC I develop on, the arcangle draw speed was just right; but on my client machines, noticeably slower. I guess the cause is the older CPU or insufficient memory of the client machines. If so, is there a way of coming up with a measurement that'll adjust the variable gArcAngleDelay relative to the processing speed of a PC machine? Thank you. -- Nicolas Cueto From mwieder at ahsoftware.net Tue Mar 16 02:20:36 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 15 Mar 2010 23:20:36 -0700 Subject: downladed stack is not being actually saved In-Reply-To: <1e91b2b71003152141r48dac1d6ge4055b96f3ec12e4@mail.gmail.com> References: <1e91b2b71003151948s5558ccdbp9c17c386f14cf2b1@mail.gmail.com> <87172744687.20100315195419@ahsoftware.net> <1e91b2b71003152005n184f64c6xce2ac2552c407090@mail.gmail.com> <42174349421.20100315202103@ahsoftware.net> <1e91b2b71003152141r48dac1d6ge4055b96f3ec12e4@mail.gmail.com> Message-ID: <13185121968.20100315232036@ahsoftware.net> Nicolas- Monday, March 15, 2010, 9:41:46 PM, you wrote: > The solution was to use "put ... into url" instead of "go URL". And > didn't need "revert". Revert should give you a "live" update instead of having to wait until the next launch of the stack. -- -Mark Wieder mwieder at ahsoftware.net From toolbook at kestner.de Tue Mar 16 03:29:40 2010 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 16 Mar 2010 08:29:40 +0100 Subject: AW: can rev supply image editing features? In-Reply-To: References: <003401cac43e$6841a730$38c4f590$@de> Message-ID: <000701cac4da$715e98e0$541bcaa0$@de> Hi Stephen, yes, that's what I would like to have. I know that this originally is a feature of image editing programs, though I think it is not a patent of Adobe. But sometimes there are so unexpected approaches with rev, I even didn't thought about that you could do it with rev or an external. That?s why I just asked here. Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von stephen barncard > Gesendet: Montag, 15. M?rz 2010 15:06 > An: How to use Revolution > Betreff: Re: can rev supply image editing features? > > you mean you want a "magic wand" or "replace color" tool? I don't think > rev > can do that natively. Adobe may even have a patent on it. > > On 15 March 2010 07:52, Tiemo Hollmann TB wrote: > > > Hello, > > > > I am not that familiar with the image manipulating capabilities of > rev. I > > have a batch of images with a person in front of a blue background. > > > > What I would like to do is to change the blue background against a > white > > background, so that a printed image has a better contrast. Up to now > I > > thought that this is a photoshop job, but I am always again surprised > what > > people do with rev (blending, masking, etc.). Or any externals for > Mac and > > Win? I don't know if at all it would be possible, to find and select > > automatically the "background" (e.g. select always the topleft > corner) and > > select all of the blue, like photoshops wizard selecting tool with > some > > tolerance of 10 or 20%, because the RGB isn't that plain over the > whole > > background. > > > > So I wonder, if there are any ideas on this list, how to do this job > > > > Thanks > > > > Tiemo > > > > > > > > > > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > ------------------------- > Stephen Barncard > currently in Fairhope AL > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revolution at derbrill.de Tue Mar 16 04:33:33 2010 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Tue, 16 Mar 2010 09:33:33 +0100 Subject: Inserting a photo into a polygon? In-Reply-To: <20100209025801.55B012882C0@mail.runrev.com> References: <20100209025801.55B012882C0@mail.runrev.com> Message-ID: Late to the party, sorry. :-) If you design your stackcleverly, you can play with blending and to some sort fake it. on a stack with a white background create a graphic set opaque to true set the backcolor to black import image group graphic and image move image on top of graphic set the ink of image to srcOr make sure other controls layer on top of the group, otherwise they will bleed through. Obviously this will not work if the card background is colored or if there are other controls layered underneath that group, so this is either just an unpractical experiment or a design challenge. :-) Not very usable, but at least the image can be shifted inside the poly. Cheers, Malte From Andre.Bisseret at inria.fr Tue Mar 16 04:51:44 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Tue, 16 Mar 2010 09:51:44 +0100 Subject: Getting a Label Field to Scroll with Another Field In-Reply-To: References: <20100315195159.218DC288265@mail.runrev.com> Message-ID: <9DFA5135-08C8-468B-91F6-C5993648E214@inria.fr> Bonjour, Gregory, I have several several layouts like yours (one Titles field on top of one Table). My titles fields are a text fields, not label fields. I don't think it'is a matter of different formattedWidth of the contents of the columns. I have columns where the formattedWidth of titles and data is very different (titles longer than data or vice versa). set the hScroll of fld "titles to the hScroll of fld ""table" works well. But actually, what Sarah said is important (as usual ;-))). I missed to pinpoint that. You need to get one tab more in the title fields than in the data field (the longest data field line in fact). I Never used label fields before for showing a line of several headers. I just tried it and seems OK, but only if the text is left aligned. Learning something each day ;-)) Best regards from Grenoble Andr? Le 15 mars 10 ? 21:35, Gregory Lypny a ?crit : > Hi Andr?, > > Thanks. No problem, I knew what you meant. Unfortunately, the > scrolling still does not align the two because, I believe, the title > field's contents are not as wide as that of the data field. I think > I need to pad the title field with spaces to get make it the same > formattedWidth as the data field. > > Thanks again, > > > Gregory > > Montreal > > On Mon, Mar 15, 2010, at 3:51 PM, use-revolution-request at lists.runrev.com > wrote: > >> Gregory, in my previous post, I wanted to mean "changing the >> alignement to "LEFT aligned" for your label field"!! >> and actually, by default a label field is right aligned. >> >> Sorry for this mistake! >> >> Andr? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revolution at derbrill.de Tue Mar 16 04:58:15 2010 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Tue, 16 Mar 2010 09:58:15 +0100 Subject: adjusting speed of set arcangle of graphic In-Reply-To: <20100209025801.55B012882C0@mail.runrev.com> References: <20100209025801.55B012882C0@mail.runrev.com> Message-ID: Hi Nicolas, what you would need to do to make it accurate on all machines is calculate the value for the arcangle as it *should* be at the current time stamp. that way it might look a bit jerky on slower machines, though I doubt that would be noticeable. I am afraid I?ll need to blow my own horn here, so *toot* *toot* You can do this with a timer using AEs easing functions. The following script will always last 1800 millisecs (+- 40 millisecs, but those are neglectible) on mouseUp local tDuration put 1800 into tDuration setArcAngle the milliseconds,tDuration end mouseUp on setArcAngle pSecs,pDuration local tElapsed,tAngle lock screen put the millisecs - pSecs into tElapsed put aeEaseIn(0,360,pDuration,tElapsed,1) into tAngle set the arcAngle of grc "circle" to round(tAngle) unlock screen if tAngle<360 then if "setArcAngle" is not in the pendingmessages then send "setArcAngle"&&pSecs,pDuration to me in 40 millisecs end if else set the arcAngle of grc "circle" to 360 end if end setArcAngle All the best, Malte From viktoras at ekoinf.net Tue Mar 16 05:22:14 2010 From: viktoras at ekoinf.net (viktoras d.) Date: Tue, 16 Mar 2010 09:22:14 +0000 Subject: Fwd: Cross platform design tool In-Reply-To: <20100315194153.DMZW23332.atlmtaow03.cingularme.com@Inbox> References: <20100315194153.DMZW23332.atlmtaow03.cingularme.com@Inbox> Message-ID: <4B9F4DC6.30605@ekoinf.net> Hi Randal, many issues in your list can be solved by using ImageMagick (www.imagemagick.org). It has already solved many of image manipulation issues for Perl, PHP and other languages alike. However from revTalk you can only shell out commands to it. It would be *very cool* to get this tool integrated with revTalk. One more alternative is to use netpbm (http://netpbm.sourceforge.net/). Again, you will need to shell out all your communications with it. Best regards Vitoras Randall Reetz wrote: > Sorry. Didn't know. What about the rest of my list? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From Andre.Bisseret at inria.fr Tue Mar 16 06:19:17 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Tue, 16 Mar 2010 11:19:17 +0100 Subject: how to set the textStyle of word 1 of the selection? In-Reply-To: References: <6E277984-6542-46BC-B2C9-EA552712CF13@inria.fr> <4B9E2B21.8040007@gmail.com> <50ACBCDE-396E-471A-B702-F87179E59D7B@major.on-rev.com> Message-ID: <8ACBA938-E5A7-4B2F-8C73-BFD07D37F541@inria.fr> Bonjour Peter, Ouaah! very clever :-))) No problem with tabs, spaces, cr etc. adopted :-) Thanks a lot Best regards from Grenoble Andr? Le 15 mars 10 ? 22:52, Peter Brigham MD a ?crit : > Or this way: > > on mouseup > put the selectedchunk into selCh > if the selectedtext = empty then exit mouseup > put the long id of the selectedfield into fldRef > put value(fldRef) into fldText > put word 2 of selCh into startChar > put the number of words of char 1 to startChar \ > of fldText into wordNbr > set the textstyle of word wordNbr of \ > fldRef to "link" > end mouseup > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > On Mar 15, 2010, at 10:16 AM, Andre.Bisseret wrote: > >> >> Le 15 mars 10 ? 14:26, Klaus on-rev a ?crit : >> >>> Bonjour Andre, >>> >>>> Thank you Richmond for your prompt answer. >>>> But with "the first word" instead of "word 1" I get the same >>>> errors. Does not work >>>> Any other idea? >>> >>> "the selection" returns the selected text and NOT a chunk >>> describing the selection! >>> >>> So you may need to check "the selectedchunk" or something to get >>> to know what to >>> format the way you want to. >>> >> Guten tag Klaus, >> >> Ah! OK ! >> I wrote that : >> --------------------- >> on mouseUp >> local firstCharNum,firstWordLength,lastChar,lastCharNum, >> ---------- >> put the number of chars of word 1 of the selection into >> firstWordLength >> put word 2 of the selectedChunk into firstCharNum >> put firstCharNum + firstWordLength - 1 into lastCharNum >> set the textStyle of char firstCharNum to lastCharNum of fld 1 to >> "link" >> end mouseUp >> >> not really straightforward ;-)) but that works! >> >> Danke sehr! >> >> Andr? >> >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From toolbook at kestner.de Tue Mar 16 06:22:02 2010 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 16 Mar 2010 11:22:02 +0100 Subject: AW: Fwd: Cross platform design tool In-Reply-To: <4B9F4DC6.30605@ekoinf.net> References: <20100315194153.DMZW23332.atlmtaow03.cingularme.com@Inbox> <4B9F4DC6.30605@ekoinf.net> Message-ID: <003c01cac4f2$85585990$90090cb0$@de> Labas Vitoras, do you think I could change colors as in my "can rev supply image editing features" post described with imagemagick? I know, how to do this job by hand in photoshop, but I can't think of it is possible to automize such a job by a shell tool? Especially the selecting of the "background color" Do you have any experiences? Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von viktoras d. > Gesendet: Dienstag, 16. M?rz 2010 10:22 > An: How to use Revolution > Betreff: Re: Fwd: Cross platform design tool > > Hi Randal, > many issues in your list can be solved by using ImageMagick > (www.imagemagick.org). It has already solved many of image manipulation > issues for Perl, PHP and other languages alike. However from revTalk > you > can only shell out commands to it. It would be *very cool* to get this > tool integrated with revTalk. > > One more alternative is to use netpbm (http://netpbm.sourceforge.net/). > Again, you will need to shell out all your communications with it. > > Best regards > Vitoras > > Randall Reetz wrote: > > Sorry. Didn't know. What about the rest of my list? > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From niggemann at uni-wh.de Tue Mar 16 06:40:52 2010 From: niggemann at uni-wh.de (BNig) Date: Tue, 16 Mar 2010 02:40:52 -0800 (PST) Subject: how to set the textStyle of word 1 of the selection? In-Reply-To: <8ACBA938-E5A7-4B2F-8C73-BFD07D37F541@inria.fr> References: <6E277984-6542-46BC-B2C9-EA552712CF13@inria.fr> <4B9E2B21.8040007@gmail.com> <50ACBCDE-396E-471A-B702-F87179E59D7B@major.on-rev.com> <8ACBA938-E5A7-4B2F-8C73-BFD07D37F541@inria.fr> Message-ID: <1268736052045-1594668.post@n4.nabble.com> Andr?, I would test Peters solution a little more. If you start your selection with a space the word before the space will be the one that is targeted for your textstyle. The same with return and tab. regards Bernd -- View this message in context: http://n4.nabble.com/how-to-set-the-textStyle-of-word-1-of-the-selection-tp1593292p1594668.html Sent from the Revolution - User mailing list archive at Nabble.com. From viktoras at ekoinf.net Tue Mar 16 06:43:52 2010 From: viktoras at ekoinf.net (viktoras d.) Date: Tue, 16 Mar 2010 10:43:52 +0000 Subject: AW: Fwd: Cross platform design tool In-Reply-To: <003c01cac4f2$85585990$90090cb0$@de> References: <20100315194153.DMZW23332.atlmtaow03.cingularme.com@Inbox> <4B9F4DC6.30605@ekoinf.net> <003c01cac4f2$85585990$90090cb0$@de> Message-ID: <4B9F60E8.7020804@ekoinf.net> Hallo Tiemo :-) something like this: http://www.fmwconcepts.com/imagemagick/magicwand/index.php Viktoras Tiemo Hollmann TB wrote: > Labas Vitoras, > do you think I could change colors as in my "can rev supply image editing > features" post described with imagemagick? > I know, how to do this job by hand in photoshop, but I can't think of it is > possible to automize such a job by a shell tool? Especially the selecting of > the "background color" Do you have any experiences? > Tiemo > > >> -----Urspr?ngliche Nachricht----- >> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- >> bounces at lists.runrev.com] Im Auftrag von viktoras d. >> Gesendet: Dienstag, 16. M?rz 2010 10:22 >> An: How to use Revolution >> Betreff: Re: Fwd: Cross platform design tool >> >> Hi Randal, >> many issues in your list can be solved by using ImageMagick >> (www.imagemagick.org). It has already solved many of image manipulation >> issues for Perl, PHP and other languages alike. However from revTalk >> you >> can only shell out commands to it. It would be *very cool* to get this >> tool integrated with revTalk. >> >> One more alternative is to use netpbm (http://netpbm.sourceforge.net/). >> Again, you will need to shell out all your communications with it. >> >> Best regards >> Vitoras >> >> Randall Reetz wrote: >> >>> Sorry. Didn't know. What about the rest of my list? >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> >> subscription preferences: >> >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >>> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From gregory.lypny at videotron.ca Tue Mar 16 07:53:04 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 16 Mar 2010 07:53:04 -0400 Subject: Getting a Label Field to Scroll with Another Field In-Reply-To: <20100316011249.B7D432882D9@mail.runrev.com> References: <20100316011249.B7D432882D9@mail.runrev.com> Message-ID: <8C7FDD34-E87E-43F6-8E91-925C86179671@videotron.ca> Thank you, Sarah and Bernd, Padding on the right is the trick then, perhaps even with spaces. And I like your idea, Bernd, of padding a line other then the first. That way, if the title line is copied as headers of an export file, you're getting only the original titles and not the padding. Thanks again, Gregory From lists at mangomultimedia.com Tue Mar 16 07:57:42 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 16 Mar 2010 07:57:42 -0400 Subject: More Data Grid Difficulties - Making it request data In-Reply-To: <4B9F05E6.8040402@crcom.net> References: <4B9F05E6.8040402@crcom.net> Message-ID: <0F8F13C1-5B88-4815-A31A-E22AA7C4E2F3@mangomultimedia.com> On Mar 16, 2010, at 12:15 AM, Len Morgan wrote: > I found the manual pages for coloring lines in a data grid table but > it's not working. I'm pretty sure that the reason is because I'm > settting the dgText to the array I create from the database records > and that is bypassing the FillInData routine. Setting the dgText does not bypass FillInData. You can't actually display any data in the Data Grid without FillInData being called. What makes you think it is being bypassed? What columns have you defined in your data grid table and how are you assigning in the dgText? -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From len-morgan at crcom.net Tue Mar 16 08:10:20 2010 From: len-morgan at crcom.net (Len Morgan) Date: Tue, 16 Mar 2010 07:10:20 -0500 Subject: More Data Grid Difficulties - Making it request data In-Reply-To: <0F8F13C1-5B88-4815-A31A-E22AA7C4E2F3@mangomultimedia.com> References: <4B9F05E6.8040402@crcom.net> <0F8F13C1-5B88-4815-A31A-E22AA7C4E2F3@mangomultimedia.com> Message-ID: <4B9F752C.4000401@crcom.net> On 3/16/2010 6:57 AM, Trevor DeVore wrote: > On Mar 16, 2010, at 12:15 AM, Len Morgan wrote: > >> I found the manual pages for coloring lines in a data grid table but >> it's not working. I'm pretty sure that the reason is because I'm >> settting the dgText to the array I create from the database records >> and that is bypassing the FillInData routine. > > Setting the dgText does not bypass FillInData. You can't actually > display any data in the Data Grid without FillInData being called. > > What makes you think it is being bypassed? > > What columns have you defined in your data grid table and how are you > assigning in the dgText? > To answer your first question, the lines aren't getting colored and I have a message that's supposed to print to the message box as it goes by. I went so far as to put a 500 ms delay in this routine (so EVERY column would wait 1/2 a second just in case the message got overwritten by a later message. I'm not sure what you mean exactly by "what columns have you defined". They are all text fields, (e.g., no icons, images, buttons, etc). I create the data array by going though the returned data a line at a time and creating a tab (col) delimited, cr (row) delimited variable then use: set the dgText of group "searchResults" to theDataA To clarify your first comment, if I set the entire data array using dgText, does it call FillInData for every line possible or only the visible ones? The reason I ask is that one of the things I want to do with FillInData is to get three more fields that don't come out of the original query. I have two dates that come out of another table and have not been able to come up with any SQL query that would return these fields in the original query. What I want to do is when FillIndata gets to the first field (key field), I can call another query for that one record only. As each row is processed, I can get these two dates. This will not be a processing burden IF I only fill the data that is on the screen at the time. The last "field" I need isn't really a field but rather, based on the value of this field, I need to set the row color. This field I DO have at the time theDataA array is created. len From lists at mangomultimedia.com Tue Mar 16 08:28:36 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 16 Mar 2010 08:28:36 -0400 Subject: More Data Grid Difficulties - Making it request data In-Reply-To: <4B9F752C.4000401@crcom.net> References: <4B9F05E6.8040402@crcom.net> <0F8F13C1-5B88-4815-A31A-E22AA7C4E2F3@mangomultimedia.com> <4B9F752C.4000401@crcom.net> Message-ID: <591D3780-0C4D-4A70-8917-94E38D2D14CD@mangomultimedia.com> On Mar 16, 2010, at 8:10 AM, Len Morgan wrote: > To answer your first question, the lines aren't getting colored and > I have a message that's supposed to print to the message box as it > goes by. I went so far as to put a 500 ms delay in this routine (so > EVERY column would wait 1/2 a second just in case the message got > overwritten by a later message. I think I need some more information about how you have set up your data grid. Where have you defined FillInData? Have you created a custom column behavior for your table as described in this lesson? http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7327-How-Do-I-Override-the-Default-Behavior-For-Rendering-Data-to-a-Cell- > I'm not sure what you mean exactly by "what columns have you > defined". They are all text fields, (e.g., no icons, images, > buttons, etc). I create the data array by going though the returned > data a line at a time and creating a tab (col) delimited, cr (row) > delimited variable then use: On the Columns tab of the data grid object inspector you define the columns in your data grid. This affects which columns appear in your data grid table. > To clarify your first comment, if I set the entire data array using > dgText, does it call FillInData for every line possible or only the > visible ones? Only the visible ones. A data grid will only ask for data on an as- needed basis UNLESS you set the "cache controls" property to true. But that only works with forms so it won't apply in your case. > The reason I ask is that one of the things I want to do with > FillInData is to get three more fields that don't come out of the > original query. I have two dates that come out of another table and > have not been able to come up with any SQL query that would return > these fields in the original query. In situations like this I have run the necessary queries, joined the results and then assigned the resulting data to the data grid. > What I want to do is when FillIndata gets to the first field (key > field), I can call another query for that one record only. As each > row is processed, I can get these two dates. This will not be a > processing burden IF I only fill the data that is on the screen at > the time. If you want to go this route you could modify your FillInData routine to look something like this: on FillInData pData ## Note: Not very efficient as FillInData is called for every column of every row ## Check if date column has been fill in yet. if GetDataOfIndex(the dgIndex of me, "Date 1") is empty then ## Query db and get date values... ## Assign to row in Data Grid SetDataOfIndex the dgIndex of me, "Date 1", theDateValue end if set the text of me to pData end FillInData > The last "field" I need isn't really a field but rather, based on > the value of this field, I need to set the row color. This field I > DO have at the time theDataA array is created. The instructions for colorizing a line described in the lesson should work then. Let me know about whether or not you set up the custom column behavior and we can go from there. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From toolbook at kestner.de Tue Mar 16 08:35:38 2010 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 16 Mar 2010 13:35:38 +0100 Subject: AW: AW: Fwd: Cross platform design tool In-Reply-To: <4B9F60E8.7020804@ekoinf.net> References: <20100315194153.DMZW23332.atlmtaow03.cingularme.com@Inbox> <4B9F4DC6.30605@ekoinf.net> <003c01cac4f2$85585990$90090cb0$@de> <4B9F60E8.7020804@ekoinf.net> Message-ID: <005601cac505$2f753800$8e5fa800$@de> Wow, I knew there are real specialists on this list. That hint sounds interesting, I'll go into that. Next time I will ask you in German if you speak fluently German ;) Dekui! Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von viktoras d. > Gesendet: Dienstag, 16. M?rz 2010 11:44 > An: How to use Revolution > Betreff: Re: AW: Fwd: Cross platform design tool > > Hallo Tiemo :-) > > something like this: > http://www.fmwconcepts.com/imagemagick/magicwand/index.php > > Viktoras > > Tiemo Hollmann TB wrote: > > Labas Vitoras, > > do you think I could change colors as in my "can rev supply image > editing > > features" post described with imagemagick? > > I know, how to do this job by hand in photoshop, but I can't think of > it is > > possible to automize such a job by a shell tool? Especially the > selecting of > > the "background color" Do you have any experiences? > > Tiemo > > > > > >> -----Urspr?ngliche Nachricht----- > >> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > >> bounces at lists.runrev.com] Im Auftrag von viktoras d. > >> Gesendet: Dienstag, 16. M?rz 2010 10:22 > >> An: How to use Revolution > >> Betreff: Re: Fwd: Cross platform design tool > >> > >> Hi Randal, > >> many issues in your list can be solved by using ImageMagick > >> (www.imagemagick.org). It has already solved many of image > manipulation > >> issues for Perl, PHP and other languages alike. However from revTalk > >> you > >> can only shell out commands to it. It would be *very cool* to get > this > >> tool integrated with revTalk. > >> > >> One more alternative is to use netpbm > (http://netpbm.sourceforge.net/). > >> Again, you will need to shell out all your communications with it. > >> > >> Best regards > >> Vitoras > >> > >> Randall Reetz wrote: > >> > >>> Sorry. Didn't know. What about the rest of my list? > >>> _______________________________________________ > >>> use-revolution mailing list > >>> use-revolution at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> > >> subscription preferences: > >> > >>> http://lists.runrev.com/mailman/listinfo/use-revolution > >>> > >>> > >>> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dan at clearvisiontech.com Tue Mar 16 10:55:25 2010 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 16 Mar 2010 07:55:25 -0700 Subject: Confusing Errors In-Reply-To: <20100316011249.DD86D2882DA@mail.runrev.com> References: <20100316011249.DD86D2882DA@mail.runrev.com> Message-ID: <8DAD1EFE-87BD-42A1-8A68-6A3EC0BAF702@clearvisiontech.com> Greetings, My standalone is is throwing some errors that I can't seem to figure out. The errors are being thrown because I included the "Bug Reports" option when I generated the standalone. Here is the error: ----------------------------------------------------------------------------------------- Executing at 12:10:02 AM on Tuesday, March 16, 2010 Type: Handler: error in source expression Object: button 'Save' of card 'card id 1002' of stack 'EditComment' Line: if the hilite of btn 'Lang1' of stack 'reportWindow' = true then Line Num: 0 Hint: field id 1106932 of group id 1106552 of card id 1002 of stack 'ReportWindow' Comments: ----------------------------------------------------------------------------------------- Why would the "Line Num" be zero? The "if" is valid so I don't understand why there would be an "error is source expression". Here is another one: ----------------------------------------------------------------------------------------- Executing at 5:44:49 PM on Monday, March 15, 2010 Type: Object: does not have this property Object: button 'Save' of card 'card id 1002' of stack 'EditComment' Line: put the IDNumber of currentTarget into fPane Line Num: 0 Hint: field id 1104880 of group id 1104445 of card id 1002 of stack 'ReportWindow' ----------------------------------------------------------------------------------------- Object does not have this property? It's a custom property. In my experience, if a custom property doesn't exist, the value is empty. So, why an error? Notice that "Line Num" is zero again. ANY thoughts would be appreciated. Thanks in advance, Dan From pmbrig at gmail.com Tue Mar 16 10:59:30 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Tue, 16 Mar 2010 10:59:30 -0400 Subject: how to set the textStyle of word 1 of the selection? In-Reply-To: <1268736052045-1594668.post@n4.nabble.com> References: <6E277984-6542-46BC-B2C9-EA552712CF13@inria.fr> <4B9E2B21.8040007@gmail.com> <50ACBCDE-396E-471A-B702-F87179E59D7B@major.on-rev.com> <8ACBA938-E5A7-4B2F-8C73-BFD07D37F541@inria.fr> <1268736052045-1594668.post@n4.nabble.com> Message-ID: <068F3B46-DDB7-4F4E-A671-A96272BEF633@gmail.com> On Mar 16, 2010, at 6:40 AM, BNig wrote: > Andr?, > I would test Peters solution a little more. If you start your > selection with > a space the word before the space will be the one that is targeted > for your > textstyle. The same with return and tab. > regards > Bernd True. I was assuming that the beginning of the selection would be a character and not white space. Here's a function that tells you if the character in a field is white space or not: function isWhiteSpace charNbr,fldRef put value(fldRef) into fldText put the number of words of char 1 to charNbr of fldText \ into firstPartCount put the number of words of char charNbr to -1 of fldText \ into secondPartCount return firstPartCount + secondPartCount = \ the number of words of fldText end isWhiteSpace So incorporating that into the handler would give: on mouseup put the selectedchunk into selCh if the selectedtext = empty then exit mouseup put the long id of the selectedfield into fldRef put value(fldRef) into fldText put word 2 of selCh into startChar put the number of words of char 1 to startChar \ of fldText into wordNbr if isWhiteSpace(startChar,fldRef) then add 1 to wordNbr set the textstyle of word wordNbr of \ fldRef to "link" end mouseup On a different note, I'm confused about the behavior of full control references, eg, fldRef in the above example, which contains a long id of a field. The last line of the mouseup handler works, because the engine evaluates the variable fldRef before executing the command, but if instead of "set the textstyle of word wordNbr of fldRef" you do this: put word wordNbr of fldRef you get the corresponding word of "field id 3521 of card id 1009 of stack..." -- ie, the unevaluated string contained in the variable fldRef. So under what circumstances does Rev evaluate a full control reference? It's clearly not in all contexts. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From m.schonewille at economy-x-talk.com Tue Mar 16 11:15:08 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 16 Mar 2010 16:15:08 +0100 Subject: Confusing Errors In-Reply-To: <8DAD1EFE-87BD-42A1-8A68-6A3EC0BAF702@clearvisiontech.com> References: <20100316011249.DD86D2882DA@mail.runrev.com> <8DAD1EFE-87BD-42A1-8A68-6A3EC0BAF702@clearvisiontech.com> Message-ID: <36E35DE1-9C47-409D-9481-F265AE7C3E53@economy-x-talk.com> Hi Dan, The Line Num may be zero because your stack is protected by a password. Sometimes the debugging tools just don't work properly and can't find the offending line. It also happens that the actual error occurs in a Revolution script library, which the debugger can't figure out. Looking at the error message, I wonder whether you really put single quotes about stack names. If so, this is probably a cause of errors. Something might be wrong with the variable currentTarget. Perhaps, you need to include something like: if there is a currentTarget then -- your script else beep answer error "Error: can't find" && currentTarget with "OK" end if It might help if you posted your script. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 16 mrt 2010, om 15:55 heeft Dan Friedman het volgende geschreven: > Greetings, > > My standalone is is throwing some errors that I can't seem to figure > out. The errors are being thrown because I included the "Bug > Reports" option when I generated the standalone. Here is the error: > > ----------------------------------------------------------------------------------------- > > Executing at 12:10:02 AM on Tuesday, March 16, 2010 > Type: Handler: error in source expression > Object: button 'Save' of card 'card id 1002' of stack 'EditComment' > Line: if the hilite of btn 'Lang1' of stack 'reportWindow' = true then > Line Num: 0 > Hint: field id 1106932 of group id 1106552 of card id 1002 of stack > 'ReportWindow' > > Comments: > > ----------------------------------------------------------------------------------------- > > Why would the "Line Num" be zero? The "if" is valid so I don't > understand why there would be an "error is source expression". > > Here is another one: > > ----------------------------------------------------------------------------------------- > > Executing at 5:44:49 PM on Monday, March 15, 2010 > Type: Object: does not have this property > Object: button 'Save' of card 'card id 1002' of stack 'EditComment' > Line: put the IDNumber of currentTarget into fPane > Line Num: 0 > Hint: field id 1104880 of group id 1104445 of card id 1002 of stack > 'ReportWindow' > > ----------------------------------------------------------------------------------------- > > Object does not have this property? It's a custom property. In my > experience, if a custom property doesn't exist, the value is empty. > So, why an error? Notice that "Line Num" is zero again. > > > ANY thoughts would be appreciated. > > Thanks in advance, > Dan From ambassador at fourthworld.com Tue Mar 16 11:16:22 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 16 Mar 2010 08:16:22 -0700 Subject: Confusing Errors Message-ID: <4B9FA0C6.5030801@fourthworld.com> Dan Friedman wrote: ... ----------------------------------------------------------------------------------------- > > Executing at 5:44:49 PM on Monday, March 15, 2010 > Type: Object: does not have this property > Object: button 'Save' of card 'card id 1002' of stack 'EditComment' > Line: put the IDNumber of currentTarget into fPane > Line Num: 0 > Hint: field id 1104880 of group id 1104445 of card id 1002 of stack > 'ReportWindow' > ----------------------------------------------------------------------------------------- > > Object does not have this property? It's a custom property. In > my experience, if a custom property doesn't exist, the value is > empty. So, why an error? Notice that "Line Num" is zero again. I don't know about the first report, but errors dealing with "does not have this property" are related to built-in properties, such as trying to set the vScroll of a button or the htmlText of a stack. Not sure why the line number is reported as zero. I see those sometimes, but very rarely. Because the error reporting is using the same engine that encountered the error, sometimes getting error info in Rev is like doing watch repair where the only tool you have is another watch. ;) -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From mwieder at ahsoftware.net Tue Mar 16 11:29:25 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 16 Mar 2010 08:29:25 -0700 Subject: Confusing Errors In-Reply-To: <4B9FA0C6.5030801@fourthworld.com> References: <4B9FA0C6.5030801@fourthworld.com> Message-ID: <177218051328.20100316082925@ahsoftware.net> Richard- Tuesday, March 16, 2010, 8:16:22 AM, you wrote: > Because the error reporting is using the same engine that encountered > the error, sometimes getting error info in Rev is like doing watch > repair where the only tool you have is another watch. ;) ...and that one's broken, too... -- -Mark Wieder mwieder at ahsoftware.net From dan at clearvisiontech.com Tue Mar 16 11:39:04 2010 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 16 Mar 2010 08:39:04 -0700 Subject: Confusing Errors In-Reply-To: <20100316011249.DD86D2882DA@mail.runrev.com> References: <20100316011249.DD86D2882DA@mail.runrev.com> Message-ID: <98D60AEF-0F06-4226-9625-1F7F74F2FEE8@clearvisiontech.com> Mark (and others), Thanks for the info. Here's some more... The stack is not password protected. I did use normal quotes (it wouldn't compile if I hadn't), the debugger presents quotes as single-quotes in it's errors. And, currentTarget is a valid pointer to a field. The stack wouldn't have opened if it wasn't. Here is the snippet: on mouseUp global activeRCMStudentIDNum global currentReportIDNum global currentTarget global GlobalModeOption global gStudentXML global pMode set cursor to watch lock screen put the IDNumber of currentTarget into fPane --this is where it's tripping . . . As you can see, it's the first [evaluated] line in the script. If it matters, this is a modal dialog. Also noteworthy, is that I can't repeat this error. These reports are coming from users. Also, they are coming from <1% of my users. So for more than 99% of my clients, this isn't failing! Are you as confused as me yet? :) -Dan > Hi Dan, > > The Line Num may be zero because your stack is protected by a > password. Sometimes the debugging tools just don't work properly and > can't find the offending line. It also happens that the actual error > occurs in a Revolution script library, which the debugger can't figure > out. > > Looking at the error message, I wonder whether you really put single > quotes about stack names. If so, this is probably a cause of errors. > > Something might be wrong with the variable currentTarget. Perhaps, you > need to include something like: > > if there is a currentTarget then > -- your script > else > beep > answer error "Error: can't find" && currentTarget with "OK" > end if > > It might help if you posted your script. > > -- > Best regards, > > Mark Schonewille > > ----------------------------------------------------------------------------------------- > > > > Executing at 5:44:49 PM on Monday, March 15, 2010 > > Type: Object: does not have this property > > Object: button 'Save' of card 'card id 1002' of stack 'EditComment' > > Line: put the IDNumber of currentTarget into fPane > > Line Num: 0 > > Hint: field id 1104880 of group id 1104445 of card id 1002 of stack > > 'ReportWindow' > > > ----------------------------------------------------------------------------------------- From Andre.Bisseret at inria.fr Tue Mar 16 11:40:03 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Tue, 16 Mar 2010 16:40:03 +0100 Subject: how to set the textStyle of word 1 of the selection? In-Reply-To: <1268736052045-1594668.post@n4.nabble.com> References: <6E277984-6542-46BC-B2C9-EA552712CF13@inria.fr> <4B9E2B21.8040007@gmail.com> <50ACBCDE-396E-471A-B702-F87179E59D7B@major.on-rev.com> <8ACBA938-E5A7-4B2F-8C73-BFD07D37F541@inria.fr> <1268736052045-1594668.post@n4.nabble.com> Message-ID: <1E50E1B2-C79F-4B64-9060-46280C7ECC6B@inria.fr> Le 16 mars 10 ? 11:40, BNig a ?crit : > > Andr?, > I would test Peters solution a little more. If you start your > selection with > a space the word before the space will be the one that is targeted > for your > textstyle. The same with return and tab. > regards > Bernd Bernd, you are absolutely right! It is a pity! it was so nice ;-))) Thank you much for this remark. Then, I am looking for a solution. I will try to control the selection made by the user and to edit it. Something like the following (just tested for space at the moment :-)) on mouseUp local selText, ------ put the selectedText into selText repeat if char 1 of selText is space then put empty into char 1 of selText else find whole selText in fld "tText" if the result is "not found" then exit mouseUp select the foundChunk find empty linkWord1 exit mouseUp end if end repeat end mouseUp on linkWord1 local selCh,fldRef,fldText,StartChar,wordNbr,selText put the selectedChunk into selCh put selCh if the selectedText = empty then exit linkWord1 put the long ID of the selectedField into fldRef put value(fldRef) into fldText put word 2 of selCh into startChar put the number of words of char 1 to startChar \ of fldText into wordNbr set the textStyle of word wordNbr of \ fldRef to "link" end linkWord1 Danke sehr Bernd Andr? From runrev260805 at m-r-d.de Tue Mar 16 11:55:28 2010 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Tue, 16 Mar 2010 15:55:28 +0000 Subject: How to use 'put URL "ftp://..." if username contains @ Message-ID: <000013EE.4B9FB7FF@matthias.is-a-guru.com> Hi, how can i use the comand put URL FTP://username:password at ... if the username already contains a @. I tried to put the username into a var, but that does not the trick. Is it even possible? Regards, Matthias From andre at rombauts.be Tue Mar 16 12:00:00 2010 From: andre at rombauts.be (Andre Rombauts) Date: Tue, 16 Mar 2010 17:00:00 +0100 Subject: How to use 'put URL "ftp://..." if username contains @ In-Reply-To: <000013EE.4B9FB7FF@matthias.is-a-guru.com> References: <000013EE.4B9FB7FF@matthias.is-a-guru.com> Message-ID: <20100316160000.1728661088@mail.rombauts.be> >how can i use the comand >put URL FTP://username:password at ... >if the username already contains a @. >I tried to put the username into a var, but that does not the trick. Strange to me that a name including a '@' is accepted as a valit FTP username. But perhaps you mean the username contains also the domain, as in 'username at domain.tld'. If so, try using only the part in front of the '@'. Or do you mean the user name is 'dummy at username@domain.tld'? -- Andr? Rombauts, andre at rombauts.be Envoy? par Powermail 6.0.3 Build 4609 From bvg at mac.com Tue Mar 16 12:02:52 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 16 Mar 2010 17:02:52 +0100 Subject: How to use 'put URL "ftp://..." if username contains @ In-Reply-To: <000013EE.4B9FB7FF@matthias.is-a-guru.com> References: <000013EE.4B9FB7FF@matthias.is-a-guru.com> Message-ID: It's possible that the parts after the @ in the user name can be omitted. If not, try to urlencode the name, and/or the password before putting them into the url query string. On 16 Mar 2010, at 16:55, runrev260805 at m-r-d.de wrote: > Hi, > > how can i use the comand > put URL FTP://username:password at ... > if the username already contains a @. > I tried to put the username into a var, but that does not the trick. > > Is it even possible? > > Regards, > > Matthias > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Tue Mar 16 12:06:04 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 16 Mar 2010 17:06:04 +0100 Subject: How to use 'put URL "ftp://..." if username contains @ In-Reply-To: <000013EE.4B9FB7FF@matthias.is-a-guru.com> References: <000013EE.4B9FB7FF@matthias.is-a-guru.com> Message-ID: <9CC843BB-64FB-4B1D-A32D-0246F535A47B@economy-x-talk.com> Hi Matthias, Yes, this is possible and happens quite often. However, almost equally often you can replace @ with % or +. Try ftp://username+domain.com:password at ftp.domain.com . -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 16 mrt 2010, om 16:55 heeft runrev260805 at m-r-d.de het volgende geschreven: > Hi, > > how can i use the comand > put URL FTP://username:password at ... > if the username already contains a @. > I tried to put the username into a var, but that does not the trick. > > Is it even possible? > > Regards, > > Matthias From bill.marcy at gmail.com Tue Mar 16 12:08:30 2010 From: bill.marcy at gmail.com (Bill Marcy) Date: Tue, 16 Mar 2010 12:08:30 -0400 Subject: How to use 'put URL "ftp://..." if username contains @ In-Reply-To: References: <000013EE.4B9FB7FF@matthias.is-a-guru.com> Message-ID: There isn't a way to escape out a character? 2010/3/16 Bj?rnke von Gierke > It's possible that the parts after the @ in the user name can be omitted. > If not, try to urlencode the name, and/or the password before putting them > into the url query string. > > On 16 Mar 2010, at 16:55, runrev260805 at m-r-d.de wrote: > > > Hi, > > > > how can i use the comand > > put URL FTP://username:password at ... > > if the username already contains a @. > > I tried to put the username into a var, but that does not the trick. > > > > Is it even possible? > > > > Regards, > > > > Matthias > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ?uo?d? ?? ?o?? ?u?s From andre at andregarzia.com Tue Mar 16 12:13:32 2010 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 16 Mar 2010 13:13:32 -0300 Subject: How to use 'put URL "ftp://..." if username contains @ In-Reply-To: <000013EE.4B9FB7FF@matthias.is-a-guru.com> References: <000013EE.4B9FB7FF@matthias.is-a-guru.com> Message-ID: <7c87a2a11003160913o3eb06104gb29fa9785837a2e@mail.gmail.com> replace @ with %40 :D On Tue, Mar 16, 2010 at 12:55 PM, wrote: > Hi, > > how can i use the comand > put URL FTP://username:password at ... > if the username already contains a @. > I tried to put the username into a var, but that does not the trick. > > Is it even possible? > > Regards, > > Matthias > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From swartart at iafrica.com Tue Mar 16 12:50:14 2010 From: swartart at iafrica.com (Ryno Swart) Date: Tue, 16 Mar 2010 18:50:14 +0200 Subject: Paris In-Reply-To: <20100315170004.CC48D2881FA@mail.runrev.com> References: <20100315170004.CC48D2881FA@mail.runrev.com> Message-ID: I get (iBook OS x 10.4.11) this message: "Sorry the HD View Beta is not supported on this platform. Must be Internet Explorer, Firefox, Flock, Netscape, or Safari on Windows XP, Server 2003, or Vista." Ryno. http://artistvision.org/ Still all alone in Africa : ) From rene.micout at numericable.com Tue Mar 16 12:59:29 2010 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Tue, 16 Mar 2010 17:59:29 +0100 Subject: Paris In-Reply-To: References: <20100315170004.CC48D2881FA@mail.runrev.com> Message-ID: <33A1E294-15AE-4135-BCEF-F09C3BBCBBBC@numericable.com> It is good with Mac OS X 10.6.2 for HD and Flash Try Flash version... Ren? Le 16 mars 2010 ? 17:50, Ryno Swart a ?crit : > > I get (iBook OS x 10.4.11) this message: > > "Sorry the HD View Beta is not supported on this platform. Must be Internet Explorer, Firefox, Flock, Netscape, or Safari on Windows XP, Server 2003, or Vista." > > Ryno. > http://artistvision.org/ > Still all alone in Africa : ) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From capellan2000 at gmail.com Tue Mar 16 12:55:15 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 16 Mar 2010 12:55:15 -0400 Subject: Inserting a photo into a polygon? Message-ID: <3bbe202f1003160955l4446453et1a8cb2002af02b00@mail.gmail.com> Hi, When i need to show an image within a polygon, i use the palette Mask Bitmap 02: http://andregarzia.on-rev.com/alejandro/stacks/mask_bitmap02.zip http://capellan2000.000space.com/mask_bitmap02.zip This palette creates a mask for bitmaps using vector graphics as templates. This script uses a screenshot to create the bitmap mask, but more experienced users, (like Wilhem Sanke) could create this mask using scripts only. ;-) Many thanks to Andre and Sean for providing space in their servers for this webpage. :-D Alejandro From Andre.Bisseret at inria.fr Tue Mar 16 13:01:23 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Tue, 16 Mar 2010 18:01:23 +0100 Subject: how to set the textStyle of word 1 of the selection? In-Reply-To: <068F3B46-DDB7-4F4E-A671-A96272BEF633@gmail.com> References: <6E277984-6542-46BC-B2C9-EA552712CF13@inria.fr> <4B9E2B21.8040007@gmail.com> <50ACBCDE-396E-471A-B702-F87179E59D7B@major.on-rev.com> <8ACBA938-E5A7-4B2F-8C73-BFD07D37F541@inria.fr> <1268736052045-1594668.post@n4.nabble.com> <068F3B46-DDB7-4F4E-A671-A96272BEF633@gmail.com> Message-ID: <0B63A27F-3958-4991-B09A-5726A08CDCA0@inria.fr> Peter, Thank you a lot for your attention to my problem. I am impressed by the way you think about a problem. Very nice solutions really; works well :-)) Meanwhile, I am trying to edit the selection made by the user, using a repeat loop to delete the possible spaces (and/or tab) before the selection, for several spaces might be selected before a word. In fact, my field does not include text. It is populated by the day numbers of the twelve months (one line for each month). Generally two numbers are separated by one space (weeks are separated by tab). But before the first of a month there can be several spaces (when the month don't begin on the first day of a week.). Not likely the user' selection would included much spaces, but 2 or 3 could be possible! Thank you again Peter Best regards Andr? Le 16 mars 10 ? 15:59, Peter Brigham MD a ?crit : > On Mar 16, 2010, at 6:40 AM, BNig wrote: > >> Andr?, >> I would test Peters solution a little more. If you start your >> selection with >> a space the word before the space will be the one that is targeted >> for your >> textstyle. The same with return and tab. >> regards >> Bernd > > > True. I was assuming that the beginning of the selection would be a > character and not white space. Here's a function that tells you if > the character in a field is white space or not: > > function isWhiteSpace charNbr,fldRef > put value(fldRef) into fldText > put the number of words of char 1 to charNbr of fldText \ > into firstPartCount > put the number of words of char charNbr to -1 of fldText \ > into secondPartCount > return firstPartCount + secondPartCount = \ > the number of words of fldText > end isWhiteSpace > > So incorporating that into the handler would give: > > on mouseup > put the selectedchunk into selCh > if the selectedtext = empty then exit mouseup > put the long id of the selectedfield into fldRef > put value(fldRef) into fldText > put word 2 of selCh into startChar > put the number of words of char 1 to startChar \ > of fldText into wordNbr > if isWhiteSpace(startChar,fldRef) then add 1 to wordNbr > set the textstyle of word wordNbr of \ > fldRef to "link" > end mouseup > > On a different note, I'm confused about the behavior of full control > references, eg, fldRef in the above example, which contains a long > id of a field. The last line of the mouseup handler works, because > the engine evaluates the variable fldRef before executing the > command, but if instead of "set the textstyle of word wordNbr of > fldRef" you do this: > put word wordNbr of fldRef > you get the corresponding word of "field id 3521 of card id 1009 of > stack..." -- ie, the unevaluated string contained in the variable > fldRef. > > So under what circumstances does Rev evaluate a full control > reference? It's clearly not in all contexts. > > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From pmbrig at gmail.com Tue Mar 16 13:13:03 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Tue, 16 Mar 2010 13:13:03 -0400 Subject: how to set the textStyle of word 1 of the selection? In-Reply-To: <1E50E1B2-C79F-4B64-9060-46280C7ECC6B@inria.fr> References: <6E277984-6542-46BC-B2C9-EA552712CF13@inria.fr> <4B9E2B21.8040007@gmail.com> <50ACBCDE-396E-471A-B702-F87179E59D7B@major.on-rev.com> <8ACBA938-E5A7-4B2F-8C73-BFD07D37F541@inria.fr> <1268736052045-1594668.post@n4.nabble.com> <1E50E1B2-C79F-4B64-9060-46280C7ECC6B@inria.fr> Message-ID: <9C869F40-3B3E-4642-9DC9-0199A7746542@gmail.com> Not sure if this got through the first time, if so, sorry for any duplication... On Mar 16, 2010, at 6:40 AM, BNig wrote: > Andr?, > I would test Peters solution a little more. If you start your > selection with > a space the word before the space will be the one that is targeted > for your > textstyle. The same with return and tab. > regards > Bernd True. I was assuming that the beginning of the selection would be a character and not white space. Here's a function that tells you if the character in a field is white space or not: function isWhiteSpace charNbr,fldRef put value(fldRef) into fldText put the number of words of char 1 to charNbr of fldText \ into firstPartCount put the number of words of char charNbr to -1 of fldText \ into secondPartCount return firstPartCount + secondPartCount = \ the number of words of fldText end isWhiteSpace So incorporating that into the handler would give: on mouseup put the selectedchunk into selCh if the selectedtext = empty then exit mouseup put the long id of the selectedfield into fldRef put value(fldRef) into fldText put word 2 of selCh into startChar put the number of words of char 1 to startChar \ of fldText into wordNbr if isWhiteSpace(startChar,fldRef) then add 1 to wordNbr set the textstyle of word wordNbr of \ fldRef to "link" end mouseup On a different note, I'm confused about the behavior of full control references, eg, fldRef in the above example, which contains a long id of a field. The last line of the mouseup handler works, because the engine evaluates the variable fldRef before executing the command, but if instead of "set the textstyle of word wordNbr of fldRef" you do this: put word wordNbr of fldRef you get the corresponding word of "field id 3521 of card id 1009 of stack..." -- ie, the unevaluated string contained in the variable fldRef -- and not the word in the field referred to. So under what circumstances does Rev evaluate a full control reference? It's clearly not in all contexts. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From runrev260805 at m-r-d.de Tue Mar 16 13:28:40 2010 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Tue, 16 Mar 2010 18:28:40 +0100 Subject: How to use 'put URL "ftp://..." if username contains @ In-Reply-To: <7c87a2a11003160913o3eb06104gb29fa9785837a2e@mail.gmail.com> References: <000013EE.4B9FB7FF@matthias.is-a-guru.com> <7c87a2a11003160913o3eb06104gb29fa9785837a2e@mail.gmail.com> Message-ID: Thanks to all who replied. In my case the username has to be username at domain.tld. A + or a % as a replacement are not accepted. But urlencode and of course Andre?s suggestion to use %40 did the trick. Regards, Matthias Am 16.03.2010 um 17:13 schrieb Andre Garzia: > replace @ with %40 > > :D > > On Tue, Mar 16, 2010 at 12:55 PM, wrote: > >> Hi, >> >> how can i use the comand >> put URL FTP://username:password at ... >> if the username already contains a @. >> I tried to put the username into a var, but that does not the trick. >> >> Is it even possible? >> >> Regards, >> >> Matthias >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From shani.runrev at gmail.com Tue Mar 16 13:47:13 2010 From: shani.runrev at gmail.com (zeeshan aamir) Date: Tue, 16 Mar 2010 18:47:13 +0100 Subject: Communication between JADE and Runrev Message-ID: Hi, i need examples of Communication between JADE and Runrev through sockets. Kindly send me complete procedure how to communicate between them. Is there is any video tutorial available for this. on youtube or any other? One Stck is in stack RunRev (*vending* machineis placed on 5 different position, their or many custommer who come through street and buy newspaper) Other coading of each agents in JADE (All programming how machine behave etc) how to communicate? From capellan2000 at gmail.com Tue Mar 16 13:47:27 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 16 Mar 2010 09:47:27 -0800 (PST) Subject: ANN: old HTTP & FTP servers in RevTalk In-Reply-To: <7c87a2a11003151014x3d5964cax860e79f432f82a28@mail.gmail.com> References: <7c87a2a11003151014x3d5964cax860e79f432f82a28@mail.gmail.com> Message-ID: <1268761647375-1595285.post@n4.nabble.com> Hi Andre, This web server stack works great, after i copied all modules to the same folder where simple server.rev resides. Noticed that you included a wiki.rev stack, but at least in my side, throws an error. Andre, How could we use this server to search, create and display wikipedia webpages inside a browser? (using a custom index and their xml database compressed as gzip) Thanks in advance! Alejandro -- View this message in context: http://n4.nabble.com/ANN-old-HTTP-FTP-servers-in-RevTalk-tp1593701p1595285.html Sent from the Revolution - User mailing list archive at Nabble.com. From Andre.Bisseret at inria.fr Tue Mar 16 14:49:53 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Tue, 16 Mar 2010 19:49:53 +0100 Subject: how to set the textStyle of word 1 of the selection? In-Reply-To: <9C869F40-3B3E-4642-9DC9-0199A7746542@gmail.com> References: <6E277984-6542-46BC-B2C9-EA552712CF13@inria.fr> <4B9E2B21.8040007@gmail.com> <50ACBCDE-396E-471A-B702-F87179E59D7B@major.on-rev.com> <8ACBA938-E5A7-4B2F-8C73-BFD07D37F541@inria.fr> <1268736052045-1594668.post@n4.nabble.com> <1E50E1B2-C79F-4B64-9060-46280C7ECC6B@inria.fr> <9C869F40-3B3E-4642-9DC9-0199A7746542@gmail.com> Message-ID: <41D0D8A9-1011-4953-A0BE-F0416FE702CC@inria.fr> Le 16 mars 10 ? 18:13, Peter Brigham MD a ?crit : > Not sure if this got through the first time, if so, sorry for any > duplication... Yes I received it and replied > > > On a different note, I'm confused about the behavior of full control > references, eg, fldRef in the above example, which contains a long > id of a field. The last line of the mouseup handler works, because > the engine evaluates the variable fldRef before executing the > command, but if instead of "set the textstyle of word wordNbr of > fldRef" you do this: > put word wordNbr of fldRef > you get the corresponding word of "field id 3521 of card id 1009 of > stack..." -- ie, the unevaluated string contained in the variable > fldRef -- and not the word in the field referred to. I tried replacing " set the textstyle of word wordNbr of fldRef to "link" with put word wordNbr of fldRef Curiously I got nothing in the message box!? Andr? > > So under what circumstances does Rev evaluate a full control > reference? It's clearly not in all contexts. > From psahores at free.fr Tue Mar 16 14:51:43 2010 From: psahores at free.fr (Pierre Sahores) Date: Tue, 16 Mar 2010 19:51:43 +0100 Subject: Communication between JADE and Runrev In-Reply-To: References: Message-ID: <4BA51711-EC02-4054-BD1F-AD41AF25AC4C@free.fr> Hi, Are asking this about JADE as the Java Agent DEvelopment Framework or as the Java-based web Application's DEvelopment Framework ? P. Le 16 mars 10 ? 18:47, zeeshan aamir a ?crit : > Hi, > i need examples of Communication between JADE and Runrev through > sockets. > > Kindly send me complete procedure how to communicate between them. > > Is there is any video tutorial available for this. on youtube or any > other? > > One Stck is in stack RunRev (*vending* > machine >is > placed on 5 different position, their or many custommer who come > through > street and buy newspaper) > Other coading of each agents in JADE (All programming how machine > behave > etc) > > how to communicate? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From m.schonewille at economy-x-talk.com Tue Mar 16 14:56:50 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 16 Mar 2010 19:56:50 +0100 Subject: Communication between JADE and Runrev In-Reply-To: <4BA51711-EC02-4054-BD1F-AD41AF25AC4C@free.fr> References: <4BA51711-EC02-4054-BD1F-AD41AF25AC4C@free.fr> Message-ID: <2367BA11-2340-416E-AE61-8A3D5648768F@economy-x-talk.com> Pierre, from the URL, it looks like Zeeshan wants to communicate with the Jade vending machine. I'm not sure that this is possible. Zeeshan, if you really want to communicate with Jade vending machines, you need to ask the Jade company whether this is possible and allowed. If you really want to communicate with the Java Agent DEvelopment Framework, you'll just have to create a server or client that communicates through sockets. Is your question actually how sockets work? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 16 mrt 2010, om 19:51 heeft Pierre Sahores het volgende geschreven: > Hi, > > Are asking this about JADE as the Java Agent DEvelopment Framework > or as the Java-based web Application's DEvelopment Framework ? > > P. > > Le 16 mars 10 ? 18:47, zeeshan aamir a ?crit : > >> Hi, >> i need examples of Communication between JADE and Runrev through >> sockets. >> >> Kindly send me complete procedure how to communicate between them. >> >> Is there is any video tutorial available for this. on youtube or >> any other? >> >> One Stck is in stack RunRev (*vending* >> machine> >is >> placed on 5 different position, their or many custommer who come >> through >> street and buy newspaper) >> Other coading of each agents in JADE (All programming how machine >> behave >> etc) >> >> how to communicate? > -- > Pierre Sahores > mobile : (33) 6 03 95 77 70 > > www.woooooooords.com > www.sahores-conseil.com > From jerry.daniels at me.com Tue Mar 16 15:10:13 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Tue, 16 Mar 2010 14:10:13 -0500 Subject: Card Name space conflicts in the Rev IDE In-Reply-To: References: <01B0CC8D-5F77-456D-A45D-2F060FB1A907@me.com> Message-ID: <7C7228B7-71A2-42AB-A8F8-9DF5236D166D@me.com> Stephen, Your tRev license to get updates is good until July. You will see a notice at bottom left of tRev window telling you when your renewal date gets 60 days or less. You'll also get a link to initiate the renewal process. Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/background-tabs-open-a-tab-without-going-ther On Mar 15, 2010, at 2:24 PM, stephen barncard wrote: > I just tested the same exact situation and it seems work fine in > tRev... > thanks again for your quick work. > > By the way, don't I owe you money for a renewal pretty soon??? What > should I > do? > > thanks > > sqb > > > On 15 March 2010 14:00, Jerry Daniels wrote: > >> Stephen, >> >> The unique card situation has I BELIEVE been fixed in the latest tRev >> build. Tricky stuff. >> >> JD >> >> >> On Mar 15, 2010, at 12:49 AM, stephen barncard wrote: >> >> Thanks for the help guys. >>> >>> It's not about creating new cards. It's what happens when one >>> creates a >>> new >>> substack, and the automatic ID assignment of the first card in the >>> new >>> stack. >>> >>> I had been using the inspector to try to get there. That triangle >>> below >>> the >>> lock that can reveal objects. >>> >>> >>> click on stack2 >>> use the inspector to see the first card. >>> but it's the name that I called the first card in the first >>> stack, I >>> never >>> can reveal "card id 1002" of stack2 >>> >>> It's like the that function (the popup under lock) is looking at >>> card IDs >>> and not names for reference. >>> >>> I just tried navigation via the Application Browser, >>> >>> I now can see the names in the application browser and actually do >>> the >>> navigation there. And I have had this problem lately in tRev. >>> >>> But the navigation seems to be broken in the popup in the >>> Inspector with >>> regards to recognizing cards with the same ID. Should this be >>> posted >>> as >>> a bug? >>> >>> >>> ------------------------- >>> Stephen Barncard >>> currently in Fairhope AL >>> >>> >>> >>> >>> How are you creating new cards? How are you determining that you >>> can't >>>> "see" the newly created cards? >>>> >>>> Regards, >>>> >>>> Scott Rossi >>>> Creative Director >>>> Tactile Media, UX Design >>>> >>>> >>>> >>>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > ------------------------- > Stephen Barncard > currently in Fairhope AL > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sanke at hrz.uni-kassel.de Tue Mar 16 15:10:57 2010 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Tue, 16 Mar 2010 20:10:57 +0100 Subject: Replace colors (was: can rev supply image editing features?) Message-ID: <4B9FD7C1.3020701@hrz.uni-kassel.de> On March 15, 2010, Tiemo Hollmann TB toolbook at kestner.de wrote: > I am not that familiar with the image manipulating capabilities of rev. I > have a batch of images with a person in front of a blue background. > > What I would like to do is to change the blue background against a white > background, so that a printed image has a better contrast. Up to now I > thought that this is a photoshop job, but I am always again surprised what > people do with rev (blending, masking, etc.). Or any externals for Mac and > Win? I don't know if at all it would be possible, to find and select > automatically the "background" (e.g. select always the topleft corner) and > select all of the blue, like photoshops wizard selecting tool with some > tolerance of 10 or 20%, because the RGB isn't that plain over the whole > background. and stephen barncard stephenREVOLUTION2 at barncard.com answered: > you mean you want a "magic wand" or "replace color" tool? I don't > think rev > can do that natively. Adobe may even have a patent on it. I think "to replace a color in an image" is one of the simpler tasks feasable with Rev (see farther below for the recipes). There are some on this list that have explored possibilities of image editing with Rev - and from which I have learned much when I started myself to experiment with such things. Some of the results and related image-manipulating tools can be inspected on my website . The two "Imagedata Toolkits" from 2006 and 2007 contain more than hundred filters and other tools to manipulate images. A number of newer stacks are still in the process of being prepared for public release. The basic problem with using Rev for image processing is that with big-sized images the processing speed can be very, very slow. Another problem are a number of bugs in Rev that led to rather frequent crashes when I was working on a set of other tools ("Photo Patchworks", "Gradientology", "Kaleidoscope Tool"), which has substantially delayed their release - along with the fact that Rev is no longer in the center of my interests as it has been before. I have addressed the speed and crash problems on various occasions and also in my last post to this list of March 9: "Language comparisons: "Lua" - simpler and faster than RevTalk?" (which you can also get from here: ) and in which I announced two other stacks "Exploring Hues" and "Lua Filters". Both stacks contain "replace" tools, one that I ported from Lua and others that I had developed earlier on my own. Concerning Tiemo's question: I replaced (a range of) colors colors in two images in two different ways: 1. Replacing a color range with a "plain" replace color 2. Replacing a color range while preserving "structures" in the color area being replaced, for examples the clouds on the blue sky that now look red like the replaced color of the sky, but remain discernible inside the new red background. Two examples for each approach: and You find the necessary scripts here: The procedures to replace the colors in this case are like here (many other approaches are of course possible). - select a color-to-be-replaced by clicking on the image and getting the "mousecolor" using a script in the image - define a "range" for that color via an ask dialog - get the replace color from somewhere; in my case I used a color field whose background colors I set with RGB sliders - as in the "Color Chooser" stack. - finally press the replace button (and repeat that process if necessary to refine color selection and range). I also use a movable graphic on top of the image to restrict such "replace color" (or any other) effects to a specific area of the image. Kind regards, Wilhelm Sanke From jimaultwins at yahoo.com Tue Mar 16 15:44:29 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Tue, 16 Mar 2010 12:44:29 -0700 Subject: How to use 'put URL "ftp://..." if username contains @ In-Reply-To: References: <000013EE.4B9FB7FF@matthias.is-a-guru.com> Message-ID: When using a server/host that handles multiple domains, many systems require the [user's account name @ the domain ] in order to validate the login, thus donaldduck at domainDisneyLand.com:MickeyMouse at domainDisneyLand.com donaldduck at domainDisneyWorld.com:MickeyMouse at domainDisneyWorld.com The server should be able to parse this correctly. It is expecting this format as a possibility. This works fine on my hosted sites. I wouldtry Andre's URL encode %40 On Mar 16, 2010, at 9:08 AM, Bill Marcy wrote: > There isn't a way to escape out a character? > > 2010/3/16 Bj?rnke von Gierke > >> It's possible that the parts after the @ in the user name can be >> omitted. >> If not, try to urlencode the name, and/or the password before >> putting them >> into the url query string. >> >> On 16 Mar 2010, at 16:55, runrev260805 at m-r-d.de wrote: >> >>> Hi, >>> >>> how can i use the comand >>> put URL FTP://username:password at ... >>> if the username already contains a @. >>> I tried to put the username into a var, but that does not the trick. >>> >>> Is it even possible? >>> >>> Regards, >>> >>> Matthias Jim Ault Las Vegas From jacque at hyperactivesw.com Tue Mar 16 16:43:54 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 16 Mar 2010 15:43:54 -0500 Subject: how to set the textStyle of word 1 of the selection? In-Reply-To: <1E50E1B2-C79F-4B64-9060-46280C7ECC6B@inria.fr> References: <6E277984-6542-46BC-B2C9-EA552712CF13@inria.fr> <4B9E2B21.8040007@gmail.com> <50ACBCDE-396E-471A-B702-F87179E59D7B@major.on-rev.com> <8ACBA938-E5A7-4B2F-8C73-BFD07D37F541@inria.fr> <1268736052045-1594668.post@n4.nabble.com> <1E50E1B2-C79F-4B64-9060-46280C7ECC6B@inria.fr> Message-ID: <4B9FED8A.6060306@hyperactivesw.com> Andre.Bisseret wrote: > Then, I am looking for a solution. I will try to control the selection > made by the user and to edit it. Does this work? on mouseUp get the selection put word 1 of it into tWord if tWord = "" then exit mouseUp put (word 2 of the selectedchunk)-1 into tStart set the textstyle of char (offset(tWord,it))+tStart to \ len(tWord)+tStart of fld 1 to "link" end mouseUp -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Mar 16 16:53:21 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 16 Mar 2010 15:53:21 -0500 Subject: how to set the textStyle of word 1 of the selection? In-Reply-To: <4B9FED8A.6060306@hyperactivesw.com> References: <6E277984-6542-46BC-B2C9-EA552712CF13@inria.fr> <4B9E2B21.8040007@gmail.com> <50ACBCDE-396E-471A-B702-F87179E59D7B@major.on-rev.com> <8ACBA938-E5A7-4B2F-8C73-BFD07D37F541@inria.fr> <1268736052045-1594668.post@n4.nabble.com> <1E50E1B2-C79F-4B64-9060-46280C7ECC6B@inria.fr> <4B9FED8A.6060306@hyperactivesw.com> Message-ID: <4B9FEFC1.80707@hyperactivesw.com> J. Landman Gay wrote: > Andre.Bisseret wrote: > >> Then, I am looking for a solution. I will try to control the selection >> made by the user and to edit it. > > Does this work? > > on mouseUp > get the selection > put word 1 of it into tWord > if tWord = "" then exit mouseUp > put (word 2 of the selectedchunk)-1 into tStart > set the textstyle of char (offset(tWord,it))+tStart to \ > len(tWord)+tStart of fld 1 to "link" > end mouseUp > Answering my own question: no, it doesn't. Not in all cases. Only in some. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Tue Mar 16 17:16:34 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 16 Mar 2010 23:16:34 +0200 Subject: [OT] Poor man's Photoshop Message-ID: <4B9FF532.6030108@gmail.com> Those of you who: Cannot afford Photoshop, and Cannot cope with GIMP could do far worse than this: http://www.sumopaint.com/app/ It blew me away. From dave.cragg at lacscentre.co.uk Tue Mar 16 17:29:23 2010 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 16 Mar 2010 21:29:23 +0000 Subject: How to use 'put URL "ftp://..." if username contains @ In-Reply-To: References: <000013EE.4B9FB7FF@matthias.is-a-guru.com> <7c87a2a11003160913o3eb06104gb29fa9785837a2e@mail.gmail.com> Message-ID: <835AA533-A2C0-463B-8523-AB497E4C6372@lacscentre.co.uk> On 16 Mar 2010, at 17:28, Matthias Rebbe wrote: > Thanks to all who replied. In my case the username has to be > username at domain.tld. A + or a % as a replacement are not accepted. > > But urlencode and of course Andre?s suggestion to use %40 did the trick. > Just to confirm. libUrl always urlDecodes any username and password in URLs. So it's always safe to urlEncode these before adding them to the URL, and advisable if they contain any "strange" characters. Cheers Dave From sarah.reichelt at gmail.com Tue Mar 16 17:55:20 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 17 Mar 2010 07:55:20 +1000 Subject: Paris In-Reply-To: References: <20100315170004.CC48D2881FA@mail.runrev.com> Message-ID: > Ryno. > http://artistvision.org/ > Still all alone in Africa : ) Not quite alone.... I added a neat Flash globe to my web site which plots visitors . I would assume most visitors are after Rev material and there are a few dots scattered over Africa. Cheers, Sarah From stephenREVOLUTION2 at barncard.com Tue Mar 16 18:07:12 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 16 Mar 2010 17:07:12 -0500 Subject: [OT] Poor man's Photoshop In-Reply-To: <4B9FF532.6030108@gmail.com> References: <4B9FF532.6030108@gmail.com> Message-ID: you are totally right - this is an amazing web app! It just feels more like a 'desktop app'. I'll be surprised if Google doesn't try to buy it and add it to their office suite. On 16 March 2010 16:16, Richmond Mathewson wrote: > Those of you who: > > Cannot afford Photoshop, and > > Cannot cope with GIMP > > could do far worse than this: > > http://www.sumopaint.com/app/ > > It blew me away. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From sarah.reichelt at gmail.com Tue Mar 16 18:22:09 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 17 Mar 2010 08:22:09 +1000 Subject: Confusing Errors In-Reply-To: <98D60AEF-0F06-4226-9625-1F7F74F2FEE8@clearvisiontech.com> References: <20100316011249.DD86D2882DA@mail.runrev.com> <98D60AEF-0F06-4226-9625-1F7F74F2FEE8@clearvisiontech.com> Message-ID: > on mouseUp > ?global activeRCMStudentIDNum > ?global currentReportIDNum > ?global currentTarget > ?global GlobalModeOption > ?global gStudentXML > ?global pMode > > ?set cursor to watch > ?lock screen > > ?put the IDNumber of currentTarget into fPane ?--this is where it's tripping I would guess that currentTarget is not set when this gets called. Can you add some logging to see what it is set to when this routine runs? Cheers, Sarah From zryip.theslug at gmail.com Tue Mar 16 18:56:21 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 16 Mar 2010 23:56:21 +0100 Subject: Saving files to database In-Reply-To: References: <1268688274295-1594051.post@n4.nabble.com> <64bda6471003151438v14492e0t549cb30003c44022@mail.gmail.com> <1268689548611-1594076.post@n4.nabble.com> Message-ID: <64bda6471003161556i60bcd3d4x13e6daa47a59a46b@mail.gmail.com> 2010/3/15 Devin Asay : > On Mar 15, 2010 Andrew Kluthe wrote: >> >> I have a need to store image files and document files (reports) to my >> mySQL >> database. I know it is arguably unconventional to do this, but the need >> and >> requirement is there. Does anyone have any experience doing this within >> rev? >> I have seen alot of tutorials documenting this in PHP. >> >> Worst case: I use a php script to handle this process. But, I would like >> to >> do this straight from my rev program. > > > Bob and Slug, > > I've been doing this for years, but I have never used base 64 encoding and > decoding. I've moved multiple gigabytes of binary data back and forth > between local machine and mySql server without any trouble at all. So my > question is, why use base 64 encoding if it doesn't make any difference? > > Devin > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University Devin, Interesting remark. Well, when I tried to restore my blob without base64 encoding/decoding, I encounter corruption problems with a pdf and an application. With the encoding all was OK. I conclude that base64 was necessary to preserve the original state of a file. My experiment was the transposition of what I could habitually doing with other language. I'm using blob - to store printing or export templates - transfer documents from a server to clients without mount network drive (ie to store bills in pdf format in a server disk) - store help documentation or application in hybrid networks (mac and pc) - store printers preset - and a couple of various other things difficult to explain because specific to the language In this language, blob are special objects and the database structure don't require encoding excepts if we need to send the blob as attachment to an email. -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From niconiko at gmail.com Tue Mar 16 21:00:32 2010 From: niconiko at gmail.com (Nicolas Cueto) Date: Wed, 17 Mar 2010 10:00:32 +0900 Subject: adjusting speed of set arcangle of graphic In-Reply-To: References: <20100209025801.55B012882C0@mail.runrev.com> Message-ID: <1e91b2b71003161800l579217f3x4edcab1e777a239a@mail.gmail.com> Malte, thank you... and a further AE question! (Apologies to the list.) Instead of the arcangle increasing, how could I use AE to make it decrease? So that the circle disappears. I tried reversing the aeEaseIn function's start/end values and setting a negative exponent value, but the only think I could come up that worked was to change: set the arcAngle of grc "circle" to round(tAngle) to set the arcAngle of grc "circle" to round(360 - tAngle) Is there a better AE way? -- Nicolas Cueto From sarah.reichelt at gmail.com Tue Mar 16 21:28:13 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 17 Mar 2010 11:28:13 +1000 Subject: adjusting speed of set arcangle of graphic In-Reply-To: <1e91b2b71003161800l579217f3x4edcab1e777a239a@mail.gmail.com> References: <20100209025801.55B012882C0@mail.runrev.com> <1e91b2b71003161800l579217f3x4edcab1e777a239a@mail.gmail.com> Message-ID: On Wed, Mar 17, 2010 at 11:00 AM, Nicolas Cueto wrote: > Malte, thank you... and a further AE question! (Apologies to the list.) No apology needed, at least as far as I am concerned. AE is a Rev development tool and so this is a perfect place for a discussion of it's abilities. Cheers, Sarah From lan.kc.macmail at gmail.com Tue Mar 16 22:14:47 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 17 Mar 2010 10:14:47 +0800 Subject: Confusing Errors In-Reply-To: <98D60AEF-0F06-4226-9625-1F7F74F2FEE8@clearvisiontech.com> References: <20100316011249.DD86D2882DA@mail.runrev.com> <98D60AEF-0F06-4226-9625-1F7F74F2FEE8@clearvisiontech.com> Message-ID: On Tue, Mar 16, 2010 at 11:39 PM, Dan Friedman wrote: > > As you can see, it's the first [evaluated] line in the script. ?If it matters, this is a modal dialog. ?Also noteworthy, is that I can't repeat this error. ?These reports are coming from users. ?Also, they are coming from <1% of my users. ?So for more than 99% of my clients, this isn't failing! > What Platform and OS are 99% of your users on, what Platform and OS are <1% of your users on and what Platform and OS did you develop and build your application on? Are there any other possible distinctions between the 99 & 1, ie are the 99% all sole 'administrative' users of their computers whilst the 1% are in a shared multi-user environment? If your code works then it tends to imply that it's something about the individual set-up. From jacque at hyperactivesw.com Tue Mar 16 22:24:27 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 16 Mar 2010 21:24:27 -0500 Subject: how to set the textStyle of word 1 of the selection? In-Reply-To: <4B9FEFC1.80707@hyperactivesw.com> References: <6E277984-6542-46BC-B2C9-EA552712CF13@inria.fr> <4B9E2B21.8040007@gmail.com> <50ACBCDE-396E-471A-B702-F87179E59D7B@major.on-rev.com> <8ACBA938-E5A7-4B2F-8C73-BFD07D37F541@inria.fr> <1268736052045-1594668.post@n4.nabble.com> <1E50E1B2-C79F-4B64-9060-46280C7ECC6B@inria.fr> <4B9FED8A.6060306@hyperactivesw.com> <4B9FEFC1.80707@hyperactivesw.com> Message-ID: <4BA03D5B.1060807@hyperactivesw.com> J. Landman Gay wrote: > J. Landman Gay wrote: >> Andre.Bisseret wrote: >> >>> Then, I am looking for a solution. I will try to control the >>> selection made by the user and to edit it. >> >> Does this work? >> >> on mouseUp >> get the selection >> put word 1 of it into tWord >> if tWord = "" then exit mouseUp >> put (word 2 of the selectedchunk)-1 into tStart >> set the textstyle of char (offset(tWord,it))+tStart to \ >> len(tWord)+tStart of fld 1 to "link" >> end mouseUp >> > > Answering my own question: no, it doesn't. Not in all cases. Only in some. > So I'm being really stupid today. This should have been pretty obvious: on mouseUp select word 1 of the selection if the number of words in the selection = 0 then exit mouseUp set the textstyle of the selectedChunk to "link" end mouseup Like, duh. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From toolbook at kestner.de Wed Mar 17 05:13:49 2010 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 17 Mar 2010 10:13:49 +0100 Subject: AW: [OT] Poor man's Photoshop In-Reply-To: <4B9FF532.6030108@gmail.com> References: <4B9FF532.6030108@gmail.com> Message-ID: <002901cac5b2$289b5700$79d20500$@de> Amazing, thats real cloud computing! Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Richmond Mathewson > Gesendet: Dienstag, 16. M?rz 2010 22:17 > An: How to use Revolution > Betreff: [OT] Poor man's Photoshop > > Those of you who: > > Cannot afford Photoshop, and > > Cannot cope with GIMP > > could do far worse than this: > > http://www.sumopaint.com/app/ > > It blew me away. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revolution at derbrill.de Wed Mar 17 05:12:55 2010 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Wed, 17 Mar 2010 10:12:55 +0100 Subject: adjusting speed of set arcangle of graphic In-Reply-To: <20100210025926.3A9882887DA@mail.runrev.com> References: <20100210025926.3A9882887DA@mail.runrev.com> Message-ID: Hi Nicolas, > Instead of the arcangle increasing, how could I use AE to make it > decrease? So that the circle disappears. The good part about the easing functions is that they are agnostic towards order of values. They always calculate the correct value at the given elapsed time. A few minor changes to the original script will make the circle disappear. The most important change: put aeEaseIn(0,360,pDuration,tElapsed,1) into tAngle to put aeEaseIn(360,0,pDuration,tElapsed,1) into tAngle Values will decrease from 360 to 0 instead of increasing from 0 to 360. This will in return first draw the full circle and then make it disappear I have revised the script a bit. Gave setArcangle a third parameter (pEffect). This will allow you to make the circle appear or vanish as you wish with one command call. Hope that helps, Malte on mouseUp local tDuration put 1800 into tDuration setArcAngle the milliseconds,tDuration,"vanish" end mouseUp on setArcAngle pSecs,pDuration,pEffect local tElapsed,tAngle lock screen put the millisecs - pSecs into tElapsed switch pEffect case "vanish" put aeEaseIn(360,0,pDuration,tElapsed,1) into tAngle break case "appear" put aeEaseIn(0,360,pDuration,tElapsed,1) into tAngle break case "bounceVanish" put aeBounceEaseOut(360,0,pDuration,tElapsed) into tAngle break case "bounceAppear" put aeBounceEaseOut(0,360,pDuration,tElapsed) into tAngle break end switch set the arcAngle of grc "circle" to round(tAngle) unlock screen if pDuration>tElapsed then if "setArcAngle" is not in the pendingmessages then send "setArcAngle"&&pSecs,pDuration,pEffect to me in 40 millisecs end if else if "vanish" is in pEffect then set the arcAngle of grc "circle" to 0 else set the arcAngle of grc "circle" to 360 end if end if end setArcAngle From Andre.Bisseret at inria.fr Wed Mar 17 06:33:36 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Wed, 17 Mar 2010 11:33:36 +0100 Subject: how to set the textStyle of word 1 of the selection? In-Reply-To: <4BA03D5B.1060807@hyperactivesw.com> References: <6E277984-6542-46BC-B2C9-EA552712CF13@inria.fr> <4B9E2B21.8040007@gmail.com> <50ACBCDE-396E-471A-B702-F87179E59D7B@major.on-rev.com> <8ACBA938-E5A7-4B2F-8C73-BFD07D37F541@inria.fr> <1268736052045-1594668.post@n4.nabble.com> <1E50E1B2-C79F-4B64-9060-46280C7ECC6B@inria.fr> <4B9FED8A.6060306@hyperactivesw.com> <4B9FEFC1.80707@hyperactivesw.com> <4BA03D5B.1060807@hyperactivesw.com> Message-ID: <3AFEB5F6-3162-452C-9BE8-9BDAB99C678E@inria.fr> Le 17 mars 10 ? 03:24, J. Landman Gay a ?crit : > J. Landman Gay wrote: >> J. Landman Gay wrote: >>> Andre.Bisseret wrote: >>> >>>> Then, I am looking for a solution. I will try to control the >>>> selection made by the user and to edit it. >>> >>> Does this work? >>> >>> on mouseUp >>> get the selection >>> put word 1 of it into tWord >>> if tWord = "" then exit mouseUp >>> put (word 2 of the selectedchunk)-1 into tStart >>> set the textstyle of char (offset(tWord,it))+tStart to \ >>> len(tWord)+tStart of fld 1 to "link" >>> end mouseUp >>> >> Answering my own question: no, it doesn't. Not in all cases. Only >> in some. Bonjour Jacque, Done masterfully ;-)) > > So I'm being really stupid today. This should have been pretty > obvious: Yes this should have been so? Conclusion : "I" am stupid ;-O)))) Actually I think I would not have had this idea of selecting a part of a selection! > > on mouseUp > select word 1 of the selection > if the number of words in the selection = 0 then exit mouseUp > set the textstyle of the selectedChunk to "link" > end mouseup > > Like, duh. Only 3 lines and forgotten any problem of spaces, tabs, crs, etc ... Magnifique ! This thread was a bit like a slalom! You are clearly the golden medal winner :-)) Thank you a lot Jacque Best regards from Grenoble Andr? P.S. I still play "JQ Boggle" a lot. But got a conflict with the other game I am addicted to: "tRev", where "command + R" shifts from Rev to tRev and vice versa. So that I have to quit tRev to be able to rescore in JQ Boggle. Might be I should report that to the RQCC ;-O)))))) From niggemann at uni-wh.de Wed Mar 17 08:36:38 2010 From: niggemann at uni-wh.de (BNig) Date: Wed, 17 Mar 2010 04:36:38 -0800 (PST) Subject: how to set the textStyle of word 1 of the selection? In-Reply-To: <4BA03D5B.1060807@hyperactivesw.com> References: <50ACBCDE-396E-471A-B702-F87179E59D7B@major.on-rev.com> <8ACBA938-E5A7-4B2F-8C73-BFD07D37F541@inria.fr> <1268736052045-1594668.post@n4.nabble.com> <1E50E1B2-C79F-4B64-9060-46280C7ECC6B@inria.fr> <4B9FED8A.6060306@hyperactivesw.com> <4B9FEFC1.80707@hyperactivesw.com> <4BA03D5B.1060807@hyperactivesw.com> Message-ID: <1268829398387-1596331.post@n4.nabble.com> Jaque, I like your solution a lot. I modified it a bit in case a word is not fully selected in the first place. It would only set the textstyle to the selected part of the word. ------------------------- on mouseUp select word 1 of the selection if the number of words in the selection = 0 then exit mouseUp put word -1 of the selectedChunk into tFieldNbr put the number of words of char 1 to (word 2 of the selectedChunk) of field tFieldNbr into tWordNbr select word tWordNbr of field tFieldNbr set the textstyle of the selectedChunk to "link" end mouseup ------------------------- This way a user will have the textstyle of the word changed even if he did not include the last letter or two in the selection. Selecting text with a mouse can easily be one off for a lot of users. regards Bernd -- View this message in context: http://n4.nabble.com/how-to-set-the-textStyle-of-word-1-of-the-selection-tp1593292p1596331.html Sent from the Revolution - User mailing list archive at Nabble.com. From kee at kagi.com Wed Mar 17 09:23:24 2010 From: kee at kagi.com (Kee Nethery) Date: Wed, 17 Mar 2010 06:23:24 -0700 Subject: View scripts of my standalone? In-Reply-To: References: <20100316011249.DD86D2882DA@mail.runrev.com> <98D60AEF-0F06-4226-9625-1F7F74F2FEE8@clearvisiontech.com> Message-ID: <09FD2406-5FD4-4989-9AD6-0C9B85EDDC7A@kagi.com> I have one stack that I deploy as a standalone. Most stacks I deploy using the updater so the actual thing going out to users is the stack with the .rev suffix removed. In this case, it's the stack saved as a standalone. I'd like to see what I did in a previous version and I've just realized that unlike Hypercard where the app and stack get merged together and you can still go in and read the scripts ... RunRev seems to not use that mechanism. I don't seem to be able to open and view my stack in RunRev or even in a text editor now that it's in a standalone. It's not encrypted or anything. It's just a small stack converted to standalone. Is there a way to view the scripts in the standalone or does runrev purposefully make that difficult? I can recreate the solution that was in a previous version but I'd rather just re-use code that seemed adequate for the task that is no longer in my current version. Thanks, Kee Nethery From stephenREVOLUTION2 at barncard.com Wed Mar 17 09:31:24 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 17 Mar 2010 08:31:24 -0500 Subject: View scripts of my standalone? In-Reply-To: <09FD2406-5FD4-4989-9AD6-0C9B85EDDC7A@kagi.com> References: <20100316011249.DD86D2882DA@mail.runrev.com> <98D60AEF-0F06-4226-9625-1F7F74F2FEE8@clearvisiontech.com> <09FD2406-5FD4-4989-9AD6-0C9B85EDDC7A@kagi.com> Message-ID: Use the splash screen method and don't password protect the stacks. the first stack gets compiled into the app package with the standalone engine. The other stacks are editable. The making of splash screen apps has been covered previously. On 17 March 2010 08:23, Kee Nethery wrote: > I have one stack that I deploy as a standalone. Most stacks I deploy using > the updater so the actual thing going out to users is the stack with the > .rev suffix removed. In this case, it's the stack saved as a standalone. > > I'd like to see what I did in a previous version and I've just realized > that unlike Hypercard where the app and stack get merged together and you > can still go in and read the scripts ... RunRev seems to not use that > mechanism. I don't seem to be able to open and view my stack in RunRev or > even in a text editor now that it's in a standalone. It's not encrypted or > anything. It's just a small stack converted to standalone. > > Is there a way to view the scripts in the standalone or does runrev > purposefully make that difficult? > > I can recreate the solution that was in a previous version but I'd rather > just re-use code that seemed adequate for the task that is no longer in my > current version. > > Thanks, > Kee Nethery > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From richmondmathewson at gmail.com Wed Mar 17 09:31:35 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 17 Mar 2010 15:31:35 +0200 Subject: View scripts of my standalone? In-Reply-To: <09FD2406-5FD4-4989-9AD6-0C9B85EDDC7A@kagi.com> References: <20100316011249.DD86D2882DA@mail.runrev.com> <98D60AEF-0F06-4226-9625-1F7F74F2FEE8@clearvisiontech.com> <09FD2406-5FD4-4989-9AD6-0C9B85EDDC7A@kagi.com> Message-ID: <4BA0D9B7.70909@gmail.com> On 17/03/2010 15:23, Kee Nethery wrote: > I have one stack that I deploy as a standalone. Most stacks I deploy using the updater so the actual thing going out to users is the stack with the .rev suffix removed. In this case, it's the stack saved as a standalone. > > I'd like to see what I did in a previous version and I've just realized that unlike Hypercard where the app and stack get merged together and you can still go in and read the scripts ... RunRev seems to not use that mechanism. I don't seem to be able to open and view my stack in RunRev or even in a text editor now that it's in a standalone. It's not encrypted or anything. It's just a small stack converted to standalone. > > Is there a way to view the scripts in the standalone or does runrev purposefully make that difficult? Not that I'm aware of; I've just spent a few minutes mucking around inside a Mac OS standalone package, getting nowhere. That is why, for my Devawriter application, I have about a gigabyte of previous version stacks in zip files taking up space. > I can recreate the solution that was in a previous version but I'd rather just re-use code that seemed adequate for the task that is no longer in my current version. > > Thanks, > Kee Nethery > > What you could do, if you deleted the source stack recently, is do run an 'undelete' program to see if the stack is still lurking, invisibly on your hard disks . . . From richmondmathewson at gmail.com Wed Mar 17 09:33:26 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 17 Mar 2010 15:33:26 +0200 Subject: View scripts of my standalone? In-Reply-To: References: <20100316011249.DD86D2882DA@mail.runrev.com> <98D60AEF-0F06-4226-9625-1F7F74F2FEE8@clearvisiontech.com> <09FD2406-5FD4-4989-9AD6-0C9B85EDDC7A@kagi.com> Message-ID: <4BA0DA26.7060405@gmail.com> On 17/03/2010 15:31, stephen barncard wrote: > Use the splash screen method and don't password protect the stacks. the > first stack gets compiled into the app package with the standalone engine. > The other stacks are editable. > > The making of splash screen apps has been covered previously. Umm . . . jolly helpful advice for the future; the problem, if I read things right, is that Kee neither did that or made a backup of the original stack. From stephenREVOLUTION2 at barncard.com Wed Mar 17 09:34:27 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 17 Mar 2010 08:34:27 -0500 Subject: View scripts of my standalone? In-Reply-To: References: <20100316011249.DD86D2882DA@mail.runrev.com> <98D60AEF-0F06-4226-9625-1F7F74F2FEE8@clearvisiontech.com> <09FD2406-5FD4-4989-9AD6-0C9B85EDDC7A@kagi.com> Message-ID: you can gain access to a mac package by option-clicking on the icon, select "Show Package Contents" On 17 March 2010 08:31, stephen barncard wrote: > Use the splash screen method and don't password protect the stacks. the > first stack gets compiled into the app package with the standalone engine. > The other stacks are editable. > > The making of splash screen apps has been covered previously. > > > On 17 March 2010 08:23, Kee Nethery wrote: > >> I have one stack that I deploy as a standalone. Most stacks I deploy using >> the updater so the actual thing going out to users is the stack with the >> .rev suffix removed. In this case, it's the stack saved as a standalone. >> >> I'd like to see what I did in a previous version and I've just realized >> that unlike Hypercard where the app and stack get merged together and you >> can still go in and read the scripts ... RunRev seems to not use that >> mechanism. I don't seem to be able to open and view my stack in RunRev or >> even in a text editor now that it's in a standalone. It's not encrypted or >> anything. It's just a small stack converted to standalone. >> >> Is there a way to view the scripts in the standalone or does runrev >> purposefully make that difficult? >> >> I can recreate the solution that was in a previous version but I'd rather >> just re-use code that seemed adequate for the task that is no longer in my >> current version. >> >> Thanks, >> Kee Nethery >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > ------------------------- > Stephen Barncard > currently in Fairhope AL > > -- ------------------------- Stephen Barncard currently in Fairhope AL From andre at andregarzia.com Wed Mar 17 09:36:59 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 17 Mar 2010 10:36:59 -0300 Subject: View scripts of my standalone? In-Reply-To: <4BA0DA26.7060405@gmail.com> References: <20100316011249.DD86D2882DA@mail.runrev.com> <98D60AEF-0F06-4226-9625-1F7F74F2FEE8@clearvisiontech.com> <09FD2406-5FD4-4989-9AD6-0C9B85EDDC7A@kagi.com> <4BA0DA26.7060405@gmail.com> Message-ID: <7c87a2a11003170636yda8f51cv1b354c63f62cf34c@mail.gmail.com> I did not really understand if Kee want to be able to poke inside a standalone script or if he is not trying to. Case A: Kee wants to pick his code from a standalone which was not protected with password: If the standalone is built with a engine before 4.0 then you can pick the scripts back using an HEX editor. If it is built with the newer engines, then I don't know. Case B: Kee wants to make sure people don't see his source code: Use modern engine and protect stacks with password. On Wed, Mar 17, 2010 at 10:33 AM, Richmond Mathewson < richmondmathewson at gmail.com> wrote: > On 17/03/2010 15:31, stephen barncard wrote: > >> Use the splash screen method and don't password protect the stacks. the >> first stack gets compiled into the app package with the standalone engine. >> The other stacks are editable. >> >> The making of splash screen apps has been covered previously. >> > > Umm . . . jolly helpful advice for the future; the problem, if I read > things right, is that Kee > neither did that or made a backup of the original stack. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From lyn.teyla at gmail.com Wed Mar 17 09:59:31 2010 From: lyn.teyla at gmail.com (Lyn Teyla) Date: Wed, 17 Mar 2010 14:59:31 +0100 Subject: View scripts of my standalone? - Major Security Issue In-Reply-To: <09FD2406-5FD4-4989-9AD6-0C9B85EDDC7A@kagi.com> References: <20100316011249.DD86D2882DA@mail.runrev.com> <98D60AEF-0F06-4226-9625-1F7F74F2FEE8@clearvisiontech.com> <09FD2406-5FD4-4989-9AD6-0C9B85EDDC7A@kagi.com> Message-ID: If I remember correctly, there is a long-standing security issue where anyone can view the stack scripts of ANY Rev standalone by doing a "memory dump" WHILE the app is running. This works EVEN if all stacks are completely password protected (and therefore encrypted)! Apparently this is caused by the RunRev engine decrypting and reading the scripts into memory and keeping them there in clear text for as long as the app/stacks are open. I have no idea how to do a memory dump, but I'm sure many do, and this security issue has kept us away from deploying major apps using Rev. By the way, this could also mean that the same security issue plagues the browser plugin, if the same method of running stacks is used. This can be a major problem especially if the scripts contain sensitive details such as database logins and so forth. Can anyone from RunRev confirm if this major security issue has been resolved? Also, can anyone who knows how to do a memory dump provide details on how this is done, so we can verify if this is still happening for standalones built using the latest version of Rev, and so that Kee can extract the needed scripts? Kee Nethery wrote: > Is there a way to view the scripts in the standalone or does runrev purposefully make that difficult? From ambassador at fourthworld.com Wed Mar 17 10:04:04 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 17 Mar 2010 07:04:04 -0700 Subject: View scripts of my standalone? Message-ID: <4BA0E154.5060501@fourthworld.com> Kee Nethery wrote: > I have one stack that I deploy as a standalone. Most stacks I deploy > using the updater so the actual thing going out to users is the stack > with the .rev suffix removed. In this case, it's the stack saved as a > standalone. > > I'd like to see what I did in a previous version and I've just > realized that unlike Hypercard where the app and stack get merged > together and you can still go in and read the scripts ... RunRev > seems to not use that mechanism. I don't seem to be able to open > and view my stack in RunRev or even in a text editor now that it's > in a standalone. It's not encrypted or anything. It's just a small > stack converted to standalone. Correct, as of v4.0 and later. In earlier version you could drop the executable within the OS X bundle onto TextEdit to read the scripts of a non-password-protected standalone, but with v4.0 the way standalones are built has changed - this is from the Engine Change Log included with the Rev install: --------------------------------------------- New features added in 4.0 ~~~~~~~~~~~~~~~~~~~~~~~~~ Standalone Building ~~~~~~~~~~~~~~~~~~~ The method by which standalone building is done has changed in this release. Standalones are now built in such a way that they behave much better as executable files on all three platforms. ... The new method of standalone building also improves on the previous method by implicitly compressing and masking the main stackfile that is being built. This reduces standalone size, and also makes it harder for individuals to attempt to reverse-engineer a built standalone. --------------------------------------------- So with v4.0 and later, with or without a password you'll need to keep a copy of the original source file in order to read scripts. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From richmondmathewson at gmail.com Wed Mar 17 10:14:48 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 17 Mar 2010 16:14:48 +0200 Subject: View scripts of my standalone? In-Reply-To: <4BA0E154.5060501@fourthworld.com> References: <4BA0E154.5060501@fourthworld.com> Message-ID: <4BA0E3D8.8070203@gmail.com> On 17/03/2010 16:04, Richard Gaskin wrote: > Kee Nethery wrote: > > > I have one stack that I deploy as a standalone. Most stacks I deploy > > using the updater so the actual thing going out to users is the stack > > with the .rev suffix removed. In this case, it's the stack saved as a > > standalone. > > > > I'd like to see what I did in a previous version and I've just > > realized that unlike Hypercard where the app and stack get merged > > together and you can still go in and read the scripts ... RunRev > > seems to not use that mechanism. I don't seem to be able to open > > and view my stack in RunRev or even in a text editor now that it's > > in a standalone. It's not encrypted or anything. It's just a small > > stack converted to standalone. > > Correct, as of v4.0 and later. In earlier version you could drop the > executable within the OS X bundle onto TextEdit to read the scripts of > a non-password-protected standalone, but with v4.0 the way standalones > are built has changed - this is from the Engine Change Log included > with the Rev install: > > --------------------------------------------- > > > New features added in 4.0 > ~~~~~~~~~~~~~~~~~~~~~~~~~ > > Standalone Building > ~~~~~~~~~~~~~~~~~~~ > > The method by which standalone building is done has changed in this > release. Standalones are now built in such a way that they behave much > better as executable files on all three platforms. > ... > The new method of standalone building also improves on the previous > method by implicitly compressing and masking the main stackfile that > is being built. This reduces standalone size, and also makes it harder > for individuals to attempt to reverse-engineer a built standalone. Yup: just tried to open what sits inside the MacOS folder inside one of my Devawriter standalones with HexEdit - no joy: well, from a selfish point of view this makes me rather happy - no nosey-parkers getting very far with bits of my stuff I wish to keep private . . . :) > > --------------------------------------------- > > So with v4.0 and later, with or without a password you'll need to keep > a copy of the original source file in order to read scripts. > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lyn.teyla at gmail.com Wed Mar 17 10:19:21 2010 From: lyn.teyla at gmail.com (Lyn Teyla) Date: Wed, 17 Mar 2010 15:19:21 +0100 Subject: View scripts of my standalone? - Major Security Issue In-Reply-To: <4BA0E3D8.8070203@gmail.com> References: <4BA0E154.5060501@fourthworld.com> <4BA0E3D8.8070203@gmail.com> Message-ID: Richmond Mathewson wrote: > Yup: just tried to open what sits inside the MacOS folder inside one of my Devawriter standalones > with HexEdit - no joy: well, from a selfish point of view this makes me rather happy - no nosey-parkers > getting very far with bits of my stuff I wish to keep private . . . :) UNLESS they do a "memory dump" - whatever that is. :( From sanke at hrz.uni-kassel.de Wed Mar 17 10:21:21 2010 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Wed, 17 Mar 2010 15:21:21 +0100 Subject: Cut off from receiving mails for four days Message-ID: <4BA0E561.60509@hrz.uni-kassel.de> I was cut off from receiving any emails from March 12 to today - March 17, 9 AM. Happily I could still send mails and read the revolution archives. The reason was that the IT-Center of our university installed a new and improved email system, but with problems in the beginning. After a longer telephone conversation with the IT-center the problem now seems to have been fixed. A test mail from the IT-Center finally arrived here at 9 AM. Should anybody from the list have tried to contact me offlist, please re-send your posts, as all mails during the cut-off were lost. Regards, Wilhelm Sanke From richmondmathewson at gmail.com Wed Mar 17 10:23:15 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 17 Mar 2010 16:23:15 +0200 Subject: View scripts of my standalone? - Major Security Issue In-Reply-To: References: <4BA0E154.5060501@fourthworld.com> <4BA0E3D8.8070203@gmail.com> Message-ID: <4BA0E5D3.3090209@gmail.com> On 17/03/2010 16:19, Lyn Teyla wrote: > Richmond Mathewson wrote: > >> Yup: just tried to open what sits inside the MacOS folder inside one of my Devawriter standalones >> with HexEdit - no joy: well, from a selfish point of view this makes me rather happy - no nosey-parkers >> getting very far with bits of my stuff I wish to keep private . . . :) > UNLESS they do a "memory dump" - whatever that is. :(_______________________________________________ Well, a Goooooogle search yields all sorts of stuff on how to analyse memory dumps, but nothing on how to precipitate one. From andre at andregarzia.com Wed Mar 17 10:27:34 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 17 Mar 2010 11:27:34 -0300 Subject: View scripts of my standalone? In-Reply-To: <4BA0E3D8.8070203@gmail.com> References: <4BA0E154.5060501@fourthworld.com> <4BA0E3D8.8070203@gmail.com> Message-ID: <7c87a2a11003170727s6dcf6b83x3b4d5d91c8255d4@mail.gmail.com> Hey Richmond, DevaWriter is on Apple Home Page: http://www.apple.com/downloads/macosx/home_learning/devawriter.html Cool! :D On Wed, Mar 17, 2010 at 11:14 AM, Richmond Mathewson < richmondmathewson at gmail.com> wrote: > On 17/03/2010 16:04, Richard Gaskin wrote: > >> Kee Nethery wrote: >> >> > I have one stack that I deploy as a standalone. Most stacks I deploy >> > using the updater so the actual thing going out to users is the stack >> > with the .rev suffix removed. In this case, it's the stack saved as a >> > standalone. >> > >> > I'd like to see what I did in a previous version and I've just >> > realized that unlike Hypercard where the app and stack get merged >> > together and you can still go in and read the scripts ... RunRev >> > seems to not use that mechanism. I don't seem to be able to open >> > and view my stack in RunRev or even in a text editor now that it's >> > in a standalone. It's not encrypted or anything. It's just a small >> > stack converted to standalone. >> >> Correct, as of v4.0 and later. In earlier version you could drop the >> executable within the OS X bundle onto TextEdit to read the scripts of a >> non-password-protected standalone, but with v4.0 the way standalones are >> built has changed - this is from the Engine Change Log included with the Rev >> install: >> >> --------------------------------------------- >> >> >> New features added in 4.0 >> ~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> Standalone Building >> ~~~~~~~~~~~~~~~~~~~ >> >> The method by which standalone building is done has changed in this >> release. Standalones are now built in such a way that they behave much >> better as executable files on all three platforms. >> ... >> The new method of standalone building also improves on the previous method >> by implicitly compressing and masking the main stackfile that is being >> built. This reduces standalone size, and also makes it harder for >> individuals to attempt to reverse-engineer a built standalone. >> > > Yup: just tried to open what sits inside the MacOS folder inside one of my > Devawriter standalones > with HexEdit - no joy: well, from a selfish point of view this makes me > rather happy - no nosey-parkers > getting very far with bits of my stuff I wish to keep private . . . :) > > > >> --------------------------------------------- >> >> So with v4.0 and later, with or without a password you'll need to keep a >> copy of the original source file in order to read scripts. >> >> -- >> Richard Gaskin >> Fourth World >> Rev training and consulting: http://www.fourthworld.com >> Webzine for Rev developers: http://www.revjournal.com >> revJournal blog: http://revjournal.com/blog.irv >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From ambassador at fourthworld.com Wed Mar 17 10:33:11 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 17 Mar 2010 07:33:11 -0700 Subject: View scripts of my standalone? - Major Security Issue Message-ID: <4BA0E827.9050004@fourthworld.com> Lyn Teyla wrote: > If I remember correctly, there is a long-standing security > issue where anyone can view the stack scripts of ANY Rev > standalone by doing a "memory dump" WHILE the app is running. > > This works EVEN if all stacks are completely password > protected (and therefore encrypted)! > > Apparently this is caused by the RunRev engine decrypting > and reading the scripts into memory and keeping them there > in clear text for as long as the app/stacks are open. That appears to remain the case with the latest version in testing. This line describes the scope of the problem: > I have no idea how to do a memory dump ;) Those for whom dumping memory is second-nature are probably familiar with disassemblers as well. Like trying to protect images on web pages, the only way to deploy an app is to expose its algorithms to anyone with sufficiently interest in discovering them. Sure, RevTalk is easier to read than Assembly, but copyrighted code will only be stolen by those with an intent to do harm. Those seeking to profit from such theft are probably well equipped regardless of the language you're using. Nothing shared is ever safe - see Jeff Massung's notes on algorithm obfuscation at: That said, I wouldn't mind seeing this changed myself. While I feel the material risk is minimal, risk is still risk. If you submit a request for this please share the RQCC number here. One solution for this may have other, bigger benefits: an option for true machine-code compilation. All desktop platforms are now using the Intel instruction set, so while this might have been prohibitively onerous before it might be doable today. Such compilation may also open the door to language options which would let us communicate with the OS API directly from within RevTalk, as Toolbook has provided for years. I would imagine that an option for machine-code compilation would carry some limitations, but for those who could use it it may be well worth working with those limitations. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From richmondmathewson at gmail.com Wed Mar 17 10:48:56 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 17 Mar 2010 16:48:56 +0200 Subject: View scripts of my standalone? In-Reply-To: <7c87a2a11003170727s6dcf6b83x3b4d5d91c8255d4@mail.gmail.com> References: <4BA0E154.5060501@fourthworld.com> <4BA0E3D8.8070203@gmail.com> <7c87a2a11003170727s6dcf6b83x3b4d5d91c8255d4@mail.gmail.com> Message-ID: <4BA0EBD8.8020108@gmail.com> On 17/03/2010 16:27, Andre Garzia wrote: > Hey Richmond, > > DevaWriter is on Apple Home Page: > http://www.apple.com/downloads/macosx/home_learning/devawriter.html > > Cool! :D > Thanks for pointing that out. From lyn.teyla at gmail.com Wed Mar 17 10:53:35 2010 From: lyn.teyla at gmail.com (Lyn Teyla) Date: Wed, 17 Mar 2010 15:53:35 +0100 Subject: View scripts of my standalone? - Major Security Issue In-Reply-To: <4BA0E827.9050004@fourthworld.com> References: <4BA0E827.9050004@fourthworld.com> Message-ID: <35326BC4-E757-4996-9E91-5395CE3AB7BD@gmail.com> Richard Gaskin wrote: > That said, I wouldn't mind seeing this changed myself. While I feel the material risk is minimal, risk is still risk. If you submit a request for this please share the RQCC number here. Just submitted a request via the RQCC: http://quality.runrev.com/qacenter/show_bug.cgi?id=8672 From richmondmathewson at gmail.com Wed Mar 17 10:57:28 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 17 Mar 2010 16:57:28 +0200 Subject: View scripts of my standalone? - Major Security Issue In-Reply-To: <4BA0E827.9050004@fourthworld.com> References: <4BA0E827.9050004@fourthworld.com> Message-ID: <4BA0EDD8.9010202@gmail.com> On 17/03/2010 16:33, Richard Gaskin wrote: > Lyn Teyla wrote: >> If I remember correctly, there is a long-standing security >> issue where anyone can view the stack scripts of ANY Rev >> standalone by doing a "memory dump" WHILE the app is running. >> >> This works EVEN if all stacks are completely password >> protected (and therefore encrypted)! >> >> Apparently this is caused by the RunRev engine decrypting >> and reading the scripts into memory and keeping them there >> in clear text for as long as the app/stacks are open. > > That appears to remain the case with the latest version in testing. > > This line describes the scope of the problem: > >> I have no idea how to do a memory dump > > ;) > > Those for whom dumping memory is second-nature are probably familiar > with disassemblers as well. Like trying to protect images on web > pages, the only way to deploy an app is to expose its algorithms to > anyone with sufficiently interest in discovering them. > > Sure, RevTalk is easier to read than Assembly, but copyrighted code > will only be stolen by those with an intent to do harm. Those seeking > to profit from such theft are probably well equipped regardless of the > language you're using. Nothing shared is ever safe - see Jeff > Massung's notes on algorithm obfuscation at: > > > That said, I wouldn't mind seeing this changed myself. While I feel > the material risk is minimal, risk is still risk. If you submit a > request for this please share the RQCC number here. > > One solution for this may have other, bigger benefits: an option for > true machine-code compilation. All desktop platforms are now using > the Intel instruction set, Really? http://www.riscos.com/ http://www.arm.com/ http://www.iyonix.com/ http://www.cjemicros.co.uk/micros/products/a9home.shtml > so while this might have been prohibitively onerous before it might be > doable today. > > Such compilation may also open the door to language options which > would let us communicate with the OS API directly from within RevTalk, > as Toolbook has provided for years. > > I would imagine that an option for machine-code compilation would > carry some limitations, but for those who could use it it may be well > worth working with those limitations. > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Wed Mar 17 11:05:36 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 17 Mar 2010 08:05:36 -0700 Subject: View scripts of my standalone? - Major Security Issue Message-ID: <4BA0EFC0.9010203@fourthworld.com> Richmond Mathewson wrote: > On 17/03/2010 16:33, Richard Gaskin wrote: ... >> All desktop platforms are now using the Intel instruction set, > > Really? > > http://www.riscos.com/ > http://www.arm.com/ > http://www.iyonix.com/ > http://www.cjemicros.co.uk/micros/products/a9home.shtml There are many others too. I should have written: "All desktop platforms relevant to Rev deployment are now using the Intel instruction set," -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From ambassador at fourthworld.com Wed Mar 17 11:07:07 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 17 Mar 2010 08:07:07 -0700 Subject: View scripts of my standalone? - Major Security Issue Message-ID: <4BA0F01B.4080403@fourthworld.com> Lyn Teyla wrote: > Just submitted a request via the RQCC: > http://quality.runrev.com/qacenter/show_bug.cgi?id=8672 Excellent. Thanks for submitting that. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From bvg at mac.com Wed Mar 17 11:31:56 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 17 Mar 2010 16:31:56 +0100 Subject: View scripts of my standalone? - Major Security Issue In-Reply-To: References: <4BA0E154.5060501@fourthworld.com> <4BA0E3D8.8070203@gmail.com> Message-ID: <48C93740-9008-4EB7-BAA2-1776B3FFEE0F@mac.com> To do a memory, or core dump on os x you'd need to launch the rev app yourself, instead of letting the os handle it (eg. via "launchctl", using the "limit" subcommand). Alternatively, you'd need to enable core dumping (disabled by default) by some other means. You then terminate the rev process, most likely using "kill" by supplying a fault, like "SIGSEGV". Finally you'd need to find, decipher and interpret the dumped data. So basically it's diving down deep into the unix shell bowels and muck around there. I cobbled these ideas together based on the following links, and haven't tried anything myself: http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man5/core.5.html http://developer.apple.com/Mac/library/documentation/Darwin/Reference/ManPages/man1/launchctl.1.html http://en.wikipedia.org/wiki/Signal_(computing) On 17 Mar 2010, at 15:19, Lyn Teyla wrote: > Richmond Mathewson wrote: > >> Yup: just tried to open what sits inside the MacOS folder inside one of my Devawriter standalones >> with HexEdit - no joy: well, from a selfish point of view this makes me rather happy - no nosey-parkers >> getting very far with bits of my stuff I wish to keep private . . . :) > > UNLESS they do a "memory dump" - whatever that is. :( -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From rjb at robelko.com Wed Mar 17 11:48:18 2010 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 17 Mar 2010 16:48:18 +0100 Subject: Confusing Errors In-Reply-To: <98D60AEF-0F06-4226-9625-1F7F74F2FEE8@clearvisiontech.com> References: <20100316011249.DD86D2882DA@mail.runrev.com> <98D60AEF-0F06-4226-9625-1F7F74F2FEE8@clearvisiontech.com> Message-ID: On 16.03.10 at 08:39 -0700 Dan Friedman apparently wrote: >Mark (and others), > >Thanks for the info. Here's some more... > > global currentTarget > global GlobalModeOption > global gStudentXML > global pMode > > set cursor to watch > lock screen > > put the IDNumber of currentTarget into fPane --this is where it's tripping Is it possible that at the runtime the currentTarget is not properly recognized as an object reference? I presume its content is the same or similar to what 'target' returns. Using 'do' in such cases helps. Like do "put the IDNumber of" && currentTarget && "into fPane" Robert From ambassador at fourthworld.com Wed Mar 17 12:17:43 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 17 Mar 2010 09:17:43 -0700 Subject: How to generate a runnable Mac standalone from Windows Message-ID: <4BA100A7.2070606@fourthworld.com> I'm writing an installer and would like to give our customers the option of installing both Mac and Win versions on a portable drive, such as a USB flash drive. I can store the app bundle parts in custom props and spit them back out as needed, no prob. The issue is that the Mac executable within the bundle needs to have its Unix permissions set to executable, something that AFAIK can't be done from within Windows. As a workaround based on an earlier related discussion here, I'm considering storing a zipped copy of the Mac app bundle, and spitting that zip file out with an instruction for the user to unzip it on OS X before running it there. But that's a lot of hassle for them and many users will just get confused. It'd be much nicer to be able to spit out a working Mac app bundle - but how can I do that from Windows? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From lyn.teyla at gmail.com Wed Mar 17 13:00:31 2010 From: lyn.teyla at gmail.com (Lyn Teyla) Date: Wed, 17 Mar 2010 18:00:31 +0100 Subject: How to generate a runnable Mac standalone from Windows In-Reply-To: <4BA100A7.2070606@fourthworld.com> References: <4BA100A7.2070606@fourthworld.com> Message-ID: <1F826624-3590-4045-8E68-35399B25DE2B@gmail.com> Richard Gaskin wrote: > I'm writing an installer and would like to give our customers the option of installing both Mac and Win versions on a portable drive, such as a USB flash drive. > > I can store the app bundle parts in custom props and spit them back out as needed, no prob. The issue is that the Mac executable within the bundle needs to have its Unix permissions set to executable, something that AFAIK can't be done from within Windows. What about spitting out a .dmg file that Mac users can double-click? They could then run the app stored on the disk image. From richmondmathewson at gmail.com Wed Mar 17 13:20:49 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 17 Mar 2010 19:20:49 +0200 Subject: View scripts of my standalone? - Major Security Issue In-Reply-To: <4BA0EFC0.9010203@fourthworld.com> References: <4BA0EFC0.9010203@fourthworld.com> Message-ID: <4BA10F71.8080607@gmail.com> On 17/03/2010 17:05, Richard Gaskin wrote: > Richmond Mathewson wrote: >> On 17/03/2010 16:33, Richard Gaskin wrote: > ... >>> All desktop platforms are now using the Intel instruction set, >> >> Really? >> >> http://www.riscos.com/ >> http://www.arm.com/ >> http://www.iyonix.com/ >> http://www.cjemicros.co.uk/micros/products/a9home.shtml > > There are many others too. > > I should have written: > > "All desktop platforms relevant to Rev deployment are now using the > Intel instruction set," Just a gentle tease . . . :) > > -- > Richard Gaskin > From jacque at hyperactivesw.com Wed Mar 17 13:25:04 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 17 Mar 2010 12:25:04 -0500 Subject: how to set the textStyle of word 1 of the selection? In-Reply-To: <3AFEB5F6-3162-452C-9BE8-9BDAB99C678E@inria.fr> References: <6E277984-6542-46BC-B2C9-EA552712CF13@inria.fr> <4B9E2B21.8040007@gmail.com> <50ACBCDE-396E-471A-B702-F87179E59D7B@major.on-rev.com> <8ACBA938-E5A7-4B2F-8C73-BFD07D37F541@inria.fr> <1268736052045-1594668.post@n4.nabble.com> <1E50E1B2-C79F-4B64-9060-46280C7ECC6B@inria.fr> <4B9FED8A.6060306@hyperactivesw.com> <4B9FEFC1.80707@hyperactivesw.com> <4BA03D5B.1060807@hyperactivesw.com> <3AFEB5F6-3162-452C-9BE8-9BDAB99C678E@inria.fr> Message-ID: <4BA11070.8080008@hyperactivesw.com> Andre.Bisseret wrote: > P.S. I still play "JQ Boggle" a lot. But got a conflict with the other > game I am addicted to: "tRev", where "command + R" shifts from Rev to > tRev and vice versa. So that I have to quit tRev to be able to rescore > in JQ Boggle. Might be I should report that to the RQCC ;-O)))))) Andre, you can click with the mouse where the score appears and it will rescore. That way you don't need to quit tRev. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Wed Mar 17 14:39:52 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 17 Mar 2010 10:39:52 -0800 Subject: How to generate a runnable Mac standalone from Windows In-Reply-To: <4BA100A7.2070606@fourthworld.com> Message-ID: Recently, Richard Gaskin wrote: > ... > As a workaround based on an earlier related discussion here, I'm > considering storing a zipped copy of the Mac app bundle, and spitting > that zip file out with an instruction for the user to unzip it on OS X > before running it there. > > But that's a lot of hassle for them and many users will just get confused. > > It'd be much nicer to be able to spit out a working Mac app bundle - but > how can I do that from Windows? DMG ? Regards, Scott Rossi Creative Director Tactile Media, UX Design From Andre.Bisseret at inria.fr Wed Mar 17 14:00:49 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Wed, 17 Mar 2010 19:00:49 +0100 Subject: how to set the textStyle of word 1 of the selection? In-Reply-To: <1268829398387-1596331.post@n4.nabble.com> References: <50ACBCDE-396E-471A-B702-F87179E59D7B@major.on-rev.com> <8ACBA938-E5A7-4B2F-8C73-BFD07D37F541@inria.fr> <1268736052045-1594668.post@n4.nabble.com> <1E50E1B2-C79F-4B64-9060-46280C7ECC6B@inria.fr> <4B9FED8A.6060306@hyperactivesw.com> <4B9FEFC1.80707@hyperactivesw.com> <4BA03D5B.1060807@hyperactivesw.com> <1268829398387-1596331.post@n4.nabble.com> Message-ID: Le 17 mars 10 ? 13:36, BNig a ?crit : > > Jaque, > I like your solution a lot. I modified it a bit in case a word is > not fully > selected in the first place. It would only set the textstyle to the > selected > part of the word. > ------------------------- > on mouseUp > select word 1 of the selection > if the number of words in the selection = 0 then exit mouseUp > put word -1 of the selectedChunk into tFieldNbr > put the number of words of char 1 to (word 2 of the selectedChunk) > of > field tFieldNbr into tWordNbr > select word tWordNbr of field tFieldNbr > set the textstyle of the selectedChunk to "link" > end mouseup > ------------------------- > This way a user will have the textstyle of the word changed even if > he did > not include the last letter or two in the selection. Selecting text > with a > mouse can easily be one off for a lot of users. > regards > Bernd > -- Indeed, you are right Bernd. Thank you for scirpting such a wise precaution Best regards Andr? From jacque at hyperactivesw.com Wed Mar 17 14:06:34 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 17 Mar 2010 13:06:34 -0500 Subject: how to set the textStyle of word 1 of the selection? In-Reply-To: <1268829398387-1596331.post@n4.nabble.com> References: <50ACBCDE-396E-471A-B702-F87179E59D7B@major.on-rev.com> <8ACBA938-E5A7-4B2F-8C73-BFD07D37F541@inria.fr> <1268736052045-1594668.post@n4.nabble.com> <1E50E1B2-C79F-4B64-9060-46280C7ECC6B@inria.fr> <4B9FED8A.6060306@hyperactivesw.com> <4B9FEFC1.80707@hyperactivesw.com> <4BA03D5B.1060807@hyperactivesw.com> <1268829398387-1596331.post@n4.nabble.com> Message-ID: <4BA11A2A.9050907@hyperactivesw.com> BNig wrote: > Jaque, > I like your solution a lot. I modified it a bit in case a word is not fully > selected in the first place. It would only set the textstyle to the selected > part of the word. > ------------------------- > on mouseUp > select word 1 of the selection > if the number of words in the selection = 0 then exit mouseUp > put word -1 of the selectedChunk into tFieldNbr > put the number of words of char 1 to (word 2 of the selectedChunk) of > field tFieldNbr into tWordNbr > select word tWordNbr of field tFieldNbr > set the textstyle of the selectedChunk to "link" > end mouseup > ------------------------- > This way a user will have the textstyle of the word changed even if he did > not include the last letter or two in the selection. Selecting text with a > mouse can easily be one off for a lot of users. > regards > Bernd Good point, you're right. But I think it needs to use word 4 of the selectedchunk, or else it fails if the first selected character is a space. We also don't need the first selection any more. on mouseUp if the number of words in the selection = 0 then exit mouseUp get the selectedchunk select word (the number of words of char 1 to (word 4 of it) of fld \ (word -1 of it)) of fld (word -1 of it) set the textstyle of the selectedChunk to "link" end mouseup I wanted to keep it to 3 lines again but it got too hard to read. It isn't all that easy even now... Love these little brainstorming list things. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Andre.Bisseret at inria.fr Wed Mar 17 14:08:17 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Wed, 17 Mar 2010 19:08:17 +0100 Subject: how to set the textStyle of word 1 of the selection? In-Reply-To: <4BA11070.8080008@hyperactivesw.com> References: <6E277984-6542-46BC-B2C9-EA552712CF13@inria.fr> <4B9E2B21.8040007@gmail.com> <50ACBCDE-396E-471A-B702-F87179E59D7B@major.on-rev.com> <8ACBA938-E5A7-4B2F-8C73-BFD07D37F541@inria.fr> <1268736052045-1594668.post@n4.nabble.com> <1E50E1B2-C79F-4B64-9060-46280C7ECC6B@inria.fr> <4B9FED8A.6060306@hyperactivesw.com> <4B9FEFC1.80707@hyperactivesw.com> <4BA03D5B.1060807@hyperactivesw.com> <3AFEB5F6-3162-452C-9BE8-9BDAB99C678E@inria.fr> <4BA11070.8080008@hyperactivesw.com> Message-ID: <488959C5-DD27-4FD6-A7F4-5D906B2C5722@inria.fr> Le 17 mars 10 ? 18:25, J. Landman Gay a ?crit : > Andre.Bisseret wrote: > >> P.S. I still play "JQ Boggle" a lot. But got a conflict with the >> other game I am addicted to: "tRev", where "command + R" shifts >> from Rev to tRev and vice versa. So that I have to quit tRev to be >> able to rescore in JQ Boggle. Might be I should report that to the >> RQCC ;-O)))))) > > Andre, you can click with the mouse where the score appears and it > will rescore. That way you don't need to quit tRev. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Ah! OK! super ;-)) thank you for this information Andr? From mwieder at ahsoftware.net Wed Mar 17 14:08:26 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 17 Mar 2010 11:08:26 -0700 Subject: View scripts of my standalone? In-Reply-To: <7c87a2a11003170727s6dcf6b83x3b4d5d91c8255d4@mail.gmail.com> References: <4BA0E154.5060501@fourthworld.com> <4BA0E3D8.8070203@gmail.com> <7c87a2a11003170727s6dcf6b83x3b4d5d91c8255d4@mail.gmail.com> Message-ID: <86313992656.20100317110826@ahsoftware.net> Andre- Wednesday, March 17, 2010, 7:27:34 AM, you wrote: > DevaWriter is on Apple Home Page: > http://www.apple.com/downloads/macosx/home_learning/devawriter.html > Cool! :D Very cool! Congrats, Richmond. -- -Mark Wieder mwieder at ahsoftware.net From kee at kagi.com Wed Mar 17 15:07:32 2010 From: kee at kagi.com (Kee Nethery) Date: Wed, 17 Mar 2010 12:07:32 -0700 Subject: View scripts of my standalone? In-Reply-To: <4BA0D9B7.70909@gmail.com> References: <20100316011249.DD86D2882DA@mail.runrev.com> <98D60AEF-0F06-4226-9625-1F7F74F2FEE8@clearvisiontech.com> <09FD2406-5FD4-4989-9AD6-0C9B85EDDC7A@kagi.com> <4BA0D9B7.70909@gmail.com> Message-ID: On Mar 17, 2010, at 6:31 AM, Richmond Mathewson wrote: > That is why, for my Devawriter application, I have about a gigabyte of previous version stacks in zip files > taking up space. Imagine me hitting myself on the head with a big dead fish. I use Time Machine on my Mac for backups and it was trivial to "go back in time" and grab the old source file. I knew there was a reason for doing backups :-) Thanks everyone, Kee Nethery PS: Obviously this simple little project needs better (read any at all would be good) source control. From ambassador at fourthworld.com Wed Mar 17 15:15:41 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 17 Mar 2010 12:15:41 -0700 Subject: How to generate a runnable Mac standalone from Windows Message-ID: <4BA12A5D.4000000@fourthworld.com> Scott Rossi wrote: > Recently, Richard Gaskin wrote: >> ... >> As a workaround based on an earlier related discussion here, I'm >> considering storing a zipped copy of the Mac app bundle, and spitting >> that zip file out with an instruction for the user to unzip it on OS X >> before running it there. >> >> But that's a lot of hassle for them and many users will just get confused. >> >> It'd be much nicer to be able to spit out a working Mac app bundle - but >> how can I do that from Windows? > > DMG ? Thank you Scott and Lyn for the suggestion, but for our needs that still requires some intermediate file as with our Zip workaround. The upside to Zip is that it makes a decompressed copy in the same folder on the USB drive, runnable in place and we can then delete the Zip when our app runs. With a DMG the user has to figure out why they have a new volume on their Mac desktop (you'd be surprised by how many users find DMGs confusing (see the links at the bottom of ). For now we'll go with a Zip, but it says a lot about the Mac-centric Rev community that not being able to make runnable Mac apps from Windows isn't a big issue (yet). Given the Mac's Unix requirement of setting the executable bit I don't think there's a way around it. It's just hard to imagine that every RevStudio for Windows user logs into terminal on their Mac and chmods their Mac standalones to make them runnable; maybe there just aren't that many Rev folks with a Windows license deploying to Mac OS. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From ludovic.thebault at laposte.net Wed Mar 17 15:19:27 2010 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Wed, 17 Mar 2010 20:19:27 +0100 Subject: Customize headers in a datagrid In-Reply-To: References: <9D3759F9-0944-4DD9-B008-2E3DB9738E63@laposte.net> Message-ID: <35049580-DC1A-47F9-A7CA-37AB867F534A@laposte.net> Le 11 mars 2010 ? 16:24, Trevor DeVore a ?crit : > > On Mar 11, 2010, at 1:35 AM, Ludovic Th?bault wrote: > >> It's possible to add a little icon before the label of a column ? > > You are wandering into undocumented territory but now seems like a good time to start documenting it. Here is some information that should help you out. Let's see if we can accomplish what you are trying to do and then I can move the relevant information into the manual. > > YOUR OPTIONS > > There are two ways you can manipulate how a column header behaves: > > 1) You can override the default behavior for column headers by setting the "default header behavior" property: > > set the dgProp["default header behavior"] of group "DataGrid" to the long id of button "MyCustomBehavior" > > The default behavior is stored in button "Default Header" of stack "revDataGridLibrary". You can create your custom behavior using that button script as a starting point. > > 2) You can create a custom column header template. You can specify a custom template for a column header by adding a control to the data grid template group named: > > COLUMN_NAME [Header] > > The Data Grid will use that control when drawing the column header. > > > ONE APPROACH > > A simple solution for adding an icon would be to update to the column header behavior script to work with the HTMLText rather than the text. In the "Default Header" script is a dgLabel setProp: > > setprop dgLabel pValue > set the text of field 1 of me to pValue > end dgLabel > > You could create your own behavior script that did this: > > setprop dgLabel pValue > set the htmltext of field 1 of me to pValue > end dgLabel > > You can could then assign htmltext to the column label using to specify the image id you want to display: > > set the dgColumnLabel[ COLUMN_NAME ] of group "DataGrid" to " My Label" > > Let me know how it goes. It's work, but only if i change the script in the library. If i create a button in my stack, paste the script of button "Default Header" of stack "revDataGridLibrary" in it, change the script, and set the dgProp of the dataGrid to this button, the htmltext doesn't work : in the label of a column is see "my label" and my image and the label. Then, i want to use my own "international" sort (but i saw there is a lesson about this). The built-in international sort forgot "?, ?, ?...." i hope rev 4.5 come with a real international sorting ! From Andre.Bisseret at inria.fr Wed Mar 17 15:28:13 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Wed, 17 Mar 2010 20:28:13 +0100 Subject: how to set the textStyle of word 1 of the selection? In-Reply-To: <4BA11A2A.9050907@hyperactivesw.com> References: <50ACBCDE-396E-471A-B702-F87179E59D7B@major.on-rev.com> <8ACBA938-E5A7-4B2F-8C73-BFD07D37F541@inria.fr> <1268736052045-1594668.post@n4.nabble.com> <1E50E1B2-C79F-4B64-9060-46280C7ECC6B@inria.fr> <4B9FED8A.6060306@hyperactivesw.com> <4B9FEFC1.80707@hyperactivesw.com> <4BA03D5B.1060807@hyperactivesw.com> <1268829398387-1596331.post@n4.nabble.com> <4BA11A2A.9050907@hyperactivesw.com> Message-ID: Le 17 mars 10 ? 19:06, J. Landman Gay a ?crit : > BNig wrote: >> Jaque, >> I like your solution a lot. I modified it a bit in case a word is >> not fully >> selected in the first place. It would only set the textstyle to the >> selected >> part of the word. >> ------------------------- >> on mouseUp >> select word 1 of the selection >> if the number of words in the selection = 0 then exit mouseUp >> put word -1 of the selectedChunk into tFieldNbr >> put the number of words of char 1 to (word 2 of the >> selectedChunk) of >> field tFieldNbr into tWordNbr >> select word tWordNbr of field tFieldNbr >> set the textstyle of the selectedChunk to "link" >> end mouseup >> ------------------------- >> This way a user will have the textstyle of the word changed even if >> he did >> not include the last letter or two in the selection. Selecting text >> with a >> mouse can easily be one off for a lot of users. >> regards >> Bernd > > Good point, you're right. But I think it needs to use word 4 of the > selectedchunk, > or else it fails if the first selected character is a space. No, works even if there are several spaces as first characters of the selection > We also don't need the first selection any more. > > on mouseUp > if the number of words in the selection = 0 then exit mouseUp > get the selectedchunk > select word (the number of words of char 1 to (word 4 of it) of fld \ > (word -1 of it)) of fld (word -1 of it) > set the textstyle of the selectedChunk to "link" > end mouseup > > I wanted to keep it to 3 lines again but it got too hard to read. It > isn't all that easy even now... But this one sets the textStyle of the last word of the selection, not the first one ;-) Andr? > > Love these little brainstorming list things. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > From richmondmathewson at gmail.com Wed Mar 17 15:34:15 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 17 Mar 2010 21:34:15 +0200 Subject: View scripts of my standalone? In-Reply-To: References: <20100316011249.DD86D2882DA@mail.runrev.com> <98D60AEF-0F06-4226-9625-1F7F74F2FEE8@clearvisiontech.com> <09FD2406-5FD4-4989-9AD6-0C9B85EDDC7A@kagi.com> <4BA0D9B7.70909@gmail.com> Message-ID: <4BA12EB7.2060608@gmail.com> On 17/03/2010 21:07, Kee Nethery wrote: > On Mar 17, 2010, at 6:31 AM, Richmond Mathewson wrote: > >> That is why, for my Devawriter application, I have about a gigabyte of previous version stacks in zip files >> taking up space. > Imagine me hitting myself on the head with a big dead fish. I use Time Machine on my Mac for backups and it was trivial to "go back in time" and grab the old source file. I knew there was a reason for doing backups :-) > > Thanks everyone, > Kee Nethery > > PS: Obviously this simple little project needs better (read any at all would be good) source control. _______________________________________________ Personally, I have always liked sauce on my fish . . . :) I am so happy that everything has been sorted out so simply. From richmondmathewson at gmail.com Wed Mar 17 15:51:26 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 17 Mar 2010 21:51:26 +0200 Subject: Fit Content Message-ID: <4BA132BE.4050702@gmail.com> In the preference palette of a field there are buttons allowing one to 'FIT CONTENT'; to 'fit' the width and the height of the field to accommodate any text it contains. Does anyone know how to script this? From DunbarX at aol.com Wed Mar 17 16:06:51 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 17 Mar 2010 16:06:51 EDT Subject: Fit Content Message-ID: <59340.4c1463f7.38d2905b@aol.com> Richard. The formattedWidth gives you an entry to this... Craig Newman From lists at mangomultimedia.com Wed Mar 17 16:42:34 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 17 Mar 2010 16:42:34 -0400 Subject: Customize headers in a datagrid In-Reply-To: <35049580-DC1A-47F9-A7CA-37AB867F534A@laposte.net> References: <9D3759F9-0944-4DD9-B008-2E3DB9738E63@laposte.net> <35049580-DC1A-47F9-A7CA-37AB867F534A@laposte.net> Message-ID: <8A34E7F4-B9C0-4A50-BC02-EF6C8DA4D7A6@mangomultimedia.com> On Mar 17, 2010, at 3:19 PM, Ludovic Th?bault wrote: > It's work, but only if i change the script in the library. > If i create a button in my stack, paste the script of button > "Default Header" of stack "revDataGridLibrary" in it, change the > script, and set the dgProp of the dataGrid to this button, the > htmltext doesn't work : in the label of a column is see " src=200656>my label" and my image and the label. Hmm, I just went through the steps and was able to get images appearing in the header. Here is what I did. 1) Dragged Data Grid onto card. 2) Dragged button onto card. 3) Named button MyCustomBehavior. 4) Set button script: set script of button "MyCustomBehavior" to script of button "Default Header" of stack "revDataGridLibrary" 5) Update button script by changing : setprop dgLabel pValue set the text of field 1 of me to pValue end dgLabel to: setprop dgLabel pValue set the htmltext of field 1 of me to pValue end dgLabel 6) Updated Data Grid property: set the dgProp["default header behavior"] of group "DataGrid 1" to the long id of button "MyCustomBehavior" 7) Imported an image. ID of image was 1029. 8) Opened object inspector and opened Columns pane. 9) Created two columns. 10) Set the label of column "Col 2" to: Col2 The image appeared in the header. Can you try those steps and see if it works for you? -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From bill at fmpsolutions.com Wed Mar 17 17:10:40 2010 From: bill at fmpsolutions.com (William Roger Moseid) Date: Wed, 17 Mar 2010 14:10:40 -0700 Subject: Custom Properties Message-ID: <69046BC144414859B4FB21ED6AC4AA10@BillPC> Hi All, I'm looking for a lesson, where I can load or import files such as swf, css, js and html into Rev. I believe that one must set the Custom Properties to handle these files, but have not found a way to do such. Once I have them in Rev, I can use the SpecialFolders path to push them out to a temporary folder. I've been playing with the Special Folders Utility.rev and browser_sampler.rev and am able to load these files into the revBrowser, after having manualy put them into a Special Folder like: C:/Users/William/AppData/Local/Temp/10.4/ Best, William William Roger Moseid bill at fmpsolutions.com __________ Information from ESET Smart Security, version of virus signature database 4953 (20100317) __________ The message was checked by ESET Smart Security. http://www.eset.com From mwieder at ahsoftware.net Wed Mar 17 17:38:18 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 17 Mar 2010 14:38:18 -0700 Subject: Custom Properties In-Reply-To: <69046BC144414859B4FB21ED6AC4AA10@BillPC> References: <69046BC144414859B4FB21ED6AC4AA10@BillPC> Message-ID: <175326586953.20100317143818@ahsoftware.net> William- answer file "wo ist du?" if it is not empty then set the uSavedFile of this stack to url ("file:" & it) end if -- -Mark Wieder mwieder at ahsoftware.net From andrew at rjdfarm.com Wed Mar 17 18:16:34 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Wed, 17 Mar 2010 14:16:34 -0800 (PST) Subject: Docking Redux Message-ID: <1268864194452-1597272.post@n4.nabble.com> Ok, my docking scripts work pretty good but I need a way of telling the menu stacks what stack to dock to. I.E. If a user opens the LeaseStack from the sideMenu stack, then I need to set the docking stack to LeaseStack. If the user opens a NamesSetup stack from the sideMenu, then I need to change the docking stack to "NamesSetup" Currently: When you open "LeaseStack" or "NamesSetup" from the sideMenu, it stores the name of the stack in a custom property of a button. I have two custom properties: the stack currently being docked to, and the stack that was docked before the current one. I need the previous docked stack to be in a property, because I have a stack that opens as modal when it is toggled to be visible. This is like a message flag window (if a payment is overdue, etc) and is to be the first stack besides menus that open with the program. At any time the user needs to be able to toggle this message flag window as visible and dockable and automatically untoggle what was visible and docked. When pushing the toggle button again, it needs to switch back to whatever the user was working on prior to the toggle. I just seem to be mucking up my attempts to do this gracefully. Can anyone recommend some logic that might accomplish what I need? Am I barking up the wrong trees with custom properties? -- View this message in context: http://n4.nabble.com/Docking-Redux-tp1597272p1597272.html Sent from the Revolution - User mailing list archive at Nabble.com. From andrew at rjdfarm.com Wed Mar 17 18:50:03 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Wed, 17 Mar 2010 14:50:03 -0800 (PST) Subject: Customize headers in a datagrid In-Reply-To: <8A34E7F4-B9C0-4A50-BC02-EF6C8DA4D7A6@mangomultimedia.com> References: <9D3759F9-0944-4DD9-B008-2E3DB9738E63@laposte.net> <35049580-DC1A-47F9-A7CA-37AB867F534A@laposte.net> <8A34E7F4-B9C0-4A50-BC02-EF6C8DA4D7A6@mangomultimedia.com> Message-ID: <1268866203493-1597323.post@n4.nabble.com> Very Clever! I am bookmarking this one. -- View this message in context: http://n4.nabble.com/Customize-headers-in-a-datagrid-tp1588489p1597323.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Wed Mar 17 18:56:18 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 17 Mar 2010 17:56:18 -0500 Subject: how to set the textStyle of word 1 of the selection? In-Reply-To: References: <50ACBCDE-396E-471A-B702-F87179E59D7B@major.on-rev.com> <8ACBA938-E5A7-4B2F-8C73-BFD07D37F541@inria.fr> <1268736052045-1594668.post@n4.nabble.com> <1E50E1B2-C79F-4B64-9060-46280C7ECC6B@inria.fr> <4B9FED8A.6060306@hyperactivesw.com> <4B9FEFC1.80707@hyperactivesw.com> <4BA03D5B.1060807@hyperactivesw.com> <1268829398387-1596331.post@n4.nabble.com> <4BA11A2A.9050907@hyperactivesw.com> Message-ID: <4BA15E12.7080501@hyperactivesw.com> Andre.Bisseret wrote: > No, works even if there are several spaces as first characters of the > selection You're right. I got stupid again. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sarah.reichelt at gmail.com Wed Mar 17 21:22:06 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 18 Mar 2010 11:22:06 +1000 Subject: Windows shortcuts Message-ID: Hi All, I'm not able to access a Windows computer at the moment so could someone help me please. What are the shortcut keys for Select All and Undo in a standard Windows Edit menu? TIA, Sarah From niconiko at gmail.com Wed Mar 17 21:25:08 2010 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 18 Mar 2010 10:25:08 +0900 Subject: Windows shortcuts In-Reply-To: References: Message-ID: <1e91b2b71003171825v107c7ab9v25f20f5e8183017a@mail.gmail.com> Select All = Ctrl + a Undo = Ctrl + z -- Nicolas Cueto On Thu, Mar 18, 2010 at 10:22 AM, Sarah Reichelt wrote: > Hi All, > > I'm not able to access a Windows computer at the moment so could > someone help me please. > What are the shortcut keys for Select All and Undo in a standard > Windows Edit menu? > > TIA, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From capellan2000 at gmail.com Wed Mar 17 21:26:18 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 17 Mar 2010 17:26:18 -0800 (PST) Subject: Cut off from receiving mails for four days In-Reply-To: <4BA0E561.60509@hrz.uni-kassel.de> References: <4BA0E561.60509@hrz.uni-kassel.de> Message-ID: <1268875578140-1597442.post@n4.nabble.com> Hi Wilhem, Today, I resend again my message to your email. Thanks for posting this. Alejandro -- View this message in context: http://n4.nabble.com/Cut-off-from-receiving-mails-for-four-days-tp1596465p1597442.html Sent from the Revolution - User mailing list archive at Nabble.com. From sarah.reichelt at gmail.com Wed Mar 17 21:34:29 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 18 Mar 2010 11:34:29 +1000 Subject: Windows shortcuts In-Reply-To: <1e91b2b71003171825v107c7ab9v25f20f5e8183017a@mail.gmail.com> References: <1e91b2b71003171825v107c7ab9v25f20f5e8183017a@mail.gmail.com> Message-ID: Thanks Nicholas. So what do I set for the mnemonic in the menu builder? I can select A for Select All, but I can only select U, n, d or o for the Undo menu item. Cheers, Sarah On Thu, Mar 18, 2010 at 11:25 AM, Nicolas Cueto wrote: > Select All = Ctrl + a > Undo = Ctrl + z > > -- > Nicolas Cueto > > On Thu, Mar 18, 2010 at 10:22 AM, Sarah Reichelt > wrote: >> Hi All, >> >> I'm not able to access a Windows computer at the moment so could >> someone help me please. >> What are the shortcut keys for Select All and Undo in a standard >> Windows Edit menu? >> >> TIA, >> Sarah >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From capellan2000 at gmail.com Wed Mar 17 22:22:19 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 17 Mar 2010 18:22:19 -0800 (PST) Subject: [OT] Poor man's Photoshop In-Reply-To: <4B9FF532.6030108@gmail.com> References: <4B9FF532.6030108@gmail.com> Message-ID: <1268878939680-1597473.post@n4.nabble.com> Hi Richmond, This is a great find! Thanks for sharing. Just notice that in my first trial of this webapp, i found an annoying bug, related to filters and undo. Later, with more time in my hands, will try to repeat the bug and i will report it. Alejandro -- View this message in context: http://n4.nabble.com/OT-Poor-man-s-Photoshop-tp1595585p1597473.html Sent from the Revolution - User mailing list archive at Nabble.com. From bvlahos at mac.com Thu Mar 18 00:10:40 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 17 Mar 2010 21:10:40 -0700 Subject: Revolution Standalone + Norton Internet Security In-Reply-To: References: <1343329819.333011268446923413.JavaMail.root@sz0009a.emeryville.ca.mail.comcast.net> <4E3C91C3-D10F-46B8-97F9-50A55A96D386@mac.com> <4B9B370B.9010102@hyperactivesw.com> Message-ID: <45D496AC-AAD0-4ADC-9548-E6CFAB15D9F3@mac.com> Upon further investigation I discovered it did quarantine the exe but it didn't say it would. I had to go looking for it when I wanted to whitelist it. Still not good. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Mar 12, 2010, at 11:39 PM, Bill Vlahos wrote: > It didn't say it would and I didn't get any message about quarantine. It certainly removed it from the file structure where is was. > > I opened a ticket at Norton and requested they whitelist my app and look into why Revolution programs are getting flagged. Unfortunately they say it will take 4 to 6 weeks to resolve. > > Bill > > On Mar 12, 2010, at 10:56 PM, J. Landman Gay wrote: > >> Bill Vlahos wrote: >>> I just ran into this today with Vista. >>> However, it was even worse than what you describe. Norton flagged it "as behaving suspiciously" and DELETED the standalone! >>> No option to even allow it. >> >> It didn't quarantine it somewhere? >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION2 at barncard.com Thu Mar 18 00:34:20 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 17 Mar 2010 23:34:20 -0500 Subject: Custom Dialog Anomaly Message-ID: Hello from Fairhope, I've always had problems with this for all my custom dialogs... Everything with the modal dialogs works fine, except after accepting the data an closing the stack, I have to click a couple of times to 'wake up' the stack that called the dialog. I am using dialogData (as an array) to pass the data back and forth to the dialog. I also have to set the cursor manually back to arrow. Data for the dialog is in the array and works. set the dialogData to tArrayA if tArrayA["assheet"] is 1 then sheet stack "listdialog" else modal stack "listdialog" end if get the dialogData put it["return"] into fld "LD_field_results" of card "launchcard" of stack "listDialogLauncher" set the cursor to arrow I'd really like to have clicks respond immediately after closing the dialog without clicking twice. Do others have a cure for this? Really annoying. thanks -- sqb ------------------------- Stephen Barncard currently in Fairhope AL From niconiko at gmail.com Thu Mar 18 00:59:11 2010 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 18 Mar 2010 13:59:11 +0900 Subject: adjusting speed of set arcangle of graphic In-Reply-To: References: <20100210025926.3A9882887DA@mail.runrev.com> Message-ID: <1e91b2b71003172159j7e2ccd2dvff5d6a0e63ca7a61@mail.gmail.com> Malte, Your second script solution is brilliant! Many thanks. -- Nicolas Cueto From mfstuart at cox.net Thu Mar 18 01:12:16 2010 From: mfstuart at cox.net (Mark Stuart) Date: Wed, 17 Mar 2010 21:12:16 -0800 (PST) Subject: Windows shortcuts In-Reply-To: References: <1e91b2b71003171825v107c7ab9v25f20f5e8183017a@mail.gmail.com> Message-ID: <1268889136282-1597553.post@n4.nabble.com> Hi Sarah, Checking MS Word 2002, the following is the case: Undo Typing = Ctrl+Z / mnemonic = U Select All = Ctrl+A / mnemonic = l (as in el) HTH, Mark Stuart -- View this message in context: http://n4.nabble.com/Windows-shortcuts-tp1597435p1597553.html Sent from the Revolution - User mailing list archive at Nabble.com. From ludovic.thebault at laposte.net Thu Mar 18 01:17:09 2010 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Thu, 18 Mar 2010 06:17:09 +0100 Subject: Customize headers in a datagrid In-Reply-To: <8A34E7F4-B9C0-4A50-BC02-EF6C8DA4D7A6@mangomultimedia.com> References: <9D3759F9-0944-4DD9-B008-2E3DB9738E63@laposte.net> <35049580-DC1A-47F9-A7CA-37AB867F534A@laposte.net> <8A34E7F4-B9C0-4A50-BC02-EF6C8DA4D7A6@mangomultimedia.com> Message-ID: Le 17 mars 2010 ? 21:42, Trevor DeVore a ?crit : > The image appeared in the header. > > Can you try those steps and see if it works for you? It's works, thanks. From sarah.reichelt at gmail.com Thu Mar 18 01:36:23 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 18 Mar 2010 15:36:23 +1000 Subject: Windows shortcuts In-Reply-To: <1268889136282-1597553.post@n4.nabble.com> References: <1e91b2b71003171825v107c7ab9v25f20f5e8183017a@mail.gmail.com> <1268889136282-1597553.post@n4.nabble.com> Message-ID: On Thu, Mar 18, 2010 at 3:12 PM, Mark Stuart wrote: > > Hi Sarah, > Checking MS Word 2002, the following is the case: > ?Undo Typing = Ctrl+Z / mnemonic = U > ?Select All = Ctrl+A / mnemonic = l (as in el) Thanks Mark, that's exactly the info I needed. Cheers, Sarah From sarah.reichelt at gmail.com Thu Mar 18 02:07:19 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 18 Mar 2010 16:07:19 +1000 Subject: Font menu button problems Message-ID: Hi All, I want to have a menu button in a preferences stack that allow font selection. I always prefer the look of option menus, so that's what I started with. I populate the menu on mouseDown and find the current font setting. So far, so good. Now I want to do 2 things: add a check mark to the selected font, and set the scroll so that the menu pops up with the current choice already under the mouse pointer. Here's what happens with the various types of menu button: option menu: no check mark, just !c before the relevant line, but it does scroll to the right line. cascade: check mark, but no scroll, and it looks weird. combo box: no check mark, no scroll popup: check mark, no scroll pulldown: check mark, no scroll So is there any way to get both the things I need? I am setting the scroll using the menuHistory, but maybe there is another method. Or does anyone know how to get a check mark into an option menu? This check mark problem in option menus was bugzilla'd by Richard Gaskin in 2007, with a comment from Mark Waddingham in 2008 saying that this feature should be added. I went to vote and found that it already had 5 votes from me, so I have obviously been down this road before :-( Cheers, Sarah From richmondmathewson at gmail.com Thu Mar 18 02:16:41 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 18 Mar 2010 08:16:41 +0200 Subject: Fit Content In-Reply-To: <59340.4c1463f7.38d2905b@aol.com> References: <59340.4c1463f7.38d2905b@aol.com> Message-ID: <4BA1C549.4010304@gmail.com> On 17/03/2010 22:06, DunbarX at aol.com wrote: > Richard. > > The formattedWidth gives you an entry to this... > > Craig Newman Thanks. Who is Richard? From josh at dvcreators.net Thu Mar 18 02:47:40 2010 From: josh at dvcreators.net (Josh Mellicker) Date: Wed, 17 Mar 2010 23:47:40 -0700 Subject: How to generate a runnable Mac standalone from Windows In-Reply-To: <4BA100A7.2070606@fourthworld.com> References: <4BA100A7.2070606@fourthworld.com> Message-ID: Does this work? get "chmod u+x" && tPathToYourFile get shell(it) Cheers, Josh On Mar 17, 2010, at 9:17 AM, Richard Gaskin wrote: > I'm writing an installer and would like to give our customers the > option of installing both Mac and Win versions on a portable drive, > such as a USB flash drive. > > I can store the app bundle parts in custom props and spit them back > out as needed, no prob. The issue is that the Mac executable within > the bundle needs to have its Unix permissions set to executable, > something that AFAIK can't be done from within Windows. > > As a workaround based on an earlier related discussion here, I'm > considering storing a zipped copy of the Mac app bundle, and > spitting that zip file out with an instruction for the user to unzip > it on OS X before running it there. > > But that's a lot of hassle for them and many users will just get > confused. > > It'd be much nicer to be able to spit out a working Mac app bundle - > but how can I do that from Windows? > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Thu Mar 18 03:16:30 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 18 Mar 2010 00:16:30 -0700 Subject: Font menu button problems In-Reply-To: Message-ID: Recently, Sarah Reichelt wrote: > Now I want to do 2 things: add a check mark to the selected font, and > set the scroll so that the menu pops up with the current choice > already under the mouse pointer. > ... > So is there any way to get both the things I need? > I am setting the scroll using the menuHistory, but maybe there is > another method. > Or does anyone know how to get a check mark into an option menu? Hey Sarah, I recently fought some battles with menus myself, so I share your pain. Sorry I don't have an immediate solution for you, but when I was looking through the docs I came across the 'option' and 'pulldown' commands to treat stacks a menus (I knew about 'popup' but never knew about the other two). Perhaps a substack with a font list triggered by one of the above commands could work for you? Regards, Scott Rossi Creative Director Tactile Media, UX Design From toolbook at kestner.de Thu Mar 18 04:01:53 2010 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 18 Mar 2010 09:01:53 +0100 Subject: AW: How to generate a runnable Mac standalone from Windows In-Reply-To: <4BA12A5D.4000000@fourthworld.com> References: <4BA12A5D.4000000@fourthworld.com> Message-ID: <002701cac671$4663cc30$d32b6490$@de> Hi Richard, beeing for a long time only a windows user and developer I totally agree to your arcticle that DMGs can be very confusing. Since I had no experience with Mac, when I started to develop my latest product also for Mac, I asked here on this list how to make an installer for Mac, and everybody taught me, that I don't need an installer, Mac users are used to use DMGs and that?s so easy. So I followed the advice and thought, hmm, ok probably it's my old fashioned and not state of the art windows thinking, that I (and some of my customers too) still feel confused and not intuitively guided to my App. But just the intuitive operating should be the strength of the Mac, shouldn't it be? I would like to have an easy installer on Mac, like InnoSetup on Win. My 2 Win cents Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Richard Gaskin > Gesendet: Mittwoch, 17. M?rz 2010 20:16 > An: How to use Revolution > Betreff: Re: How to generate a runnable Mac standalone from Windows > > Scott Rossi wrote: > > Recently, Richard Gaskin wrote: > >> ... > >> As a workaround based on an earlier related discussion here, I'm > >> considering storing a zipped copy of the Mac app bundle, and > spitting > >> that zip file out with an instruction for the user to unzip it on OS > X > >> before running it there. > >> > >> But that's a lot of hassle for them and many users will just get > confused. > >> > >> It'd be much nicer to be able to spit out a working Mac app bundle - > but > >> how can I do that from Windows? > > > > DMG ? > > Thank you Scott and Lyn for the suggestion, but for our needs that > still > requires some intermediate file as with our Zip workaround. The upside > to Zip is that it makes a decompressed copy in the same folder on the > USB drive, runnable in place and we can then delete the Zip when our > app > runs. > > With a DMG the user has to figure out why they have a new volume on > their Mac desktop (you'd be surprised by how many users find DMGs > confusing (see the links at the bottom of > ). > > For now we'll go with a Zip, but it says a lot about the Mac-centric > Rev > community that not being able to make runnable Mac apps from Windows > isn't a big issue (yet). > > Given the Mac's Unix requirement of setting the executable bit I don't > think there's a way around it. It's just hard to imagine that every > RevStudio for Windows user logs into terminal on their Mac and chmods > their Mac standalones to make them runnable; maybe there just aren't > that many Rev folks with a Windows license deploying to Mac OS. > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Thu Mar 18 07:09:38 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 18 Mar 2010 04:09:38 -0700 Subject: How to generate a runnable Mac standalone from Windows Message-ID: <4BA209F2.8070309@fourthworld.com> How do you run chmod from Windows? -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com Josh Mellicker wrote: > Does this work? > > get "chmod u+x" && tPathToYourFile > get shell(it) > > Cheers, > > Josh > > On Mar 17, 2010, at 9:17 AM, Richard Gaskin > wrote: > >> I'm writing an installer and would like to give our customers the >> option of installing both Mac and Win versions on a portable drive, >> such as a USB flash drive. >> >> I can store the app bundle parts in custom props and spit them back >> out as needed, no prob. The issue is that the Mac executable within >> the bundle needs to have its Unix permissions set to executable, >> something that AFAIK can't be done from within Windows. >> >> As a workaround based on an earlier related discussion here, I'm >> considering storing a zipped copy of the Mac app bundle, and >> spitting that zip file out with an instruction for the user to unzip >> it on OS X before running it there. >> >> But that's a lot of hassle for them and many users will just get >> confused. >> >> It'd be much nicer to be able to spit out a working Mac app bundle - >> but how can I do that from Windows? >> >> -- >> Richard Gaskin >> Fourth World Media Corporation >> ___________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Thu Mar 18 07:38:55 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 18 Mar 2010 13:38:55 +0200 Subject: Font menu button problems In-Reply-To: References: Message-ID: <4BA210CF.1030302@gmail.com> On 18/03/2010 08:07, Sarah Reichelt wrote: > Hi All, > > I want to have a menu button in a preferences stack that allow font selection. > I always prefer the look of option menus, so that's what I started with. > I populate the menu on mouseDown and find the current font setting. > So far, so good. > > Now I want to do 2 things: add a check mark to the selected font, and > set the scroll so that the menu pops up with the current choice > already under the mouse pointer. > > Here's what happens with the various types of menu button: > > option menu: no check mark, just !c before the relevant line, but it > does scroll to the right line. > cascade: check mark, but no scroll, and it looks weird. > combo box: no check mark, no scroll > popup: check mark, no scroll > pulldown: check mark, no scroll > > So is there any way to get both the things I need? > I am setting the scroll using the menuHistory, but maybe there is > another method. > Or does anyone know how to get a check mark into an option menu? > > This check mark problem in option menus was bugzilla'd by Richard > Gaskin in 2007, with a comment from Mark Waddingham in 2008 saying > that this feature should be added. > I went to vote > and found that it already had 5 votes from me, so I have obviously > been down this road before :-( > > Cheers, > Sarah Ugh! I have been getting extremely cheesed-off for the better part of my lunch break with this one (well, at least it will help me get some of those extra pounds off my tum . . . ) as put the obvious script in a drop-down menu already populated with fontNames: on menuPick PICKT put "# " & PICKT into PHONT end menuPick now, cannot for the life of me put PHONT back into place in the menu button must be bl**dy silly really. From ambassador at fourthworld.com Thu Mar 18 09:14:52 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 18 Mar 2010 06:14:52 -0700 Subject: AW: How to generate a runnable Mac standalone from Windows Message-ID: <4BA2274C.3040105@fourthworld.com> Tiemo Hollmann wrote: >> > Richard Gaskin wrote: >> With a DMG the user has to figure out why they have a new volume on >> their Mac desktop (you'd be surprised by how many users find DMGs >> confusing (see the links at the bottom of >> ). > > Hi Richard, > beeing for a long time only a windows user and developer I totally > agree to your arcticle that DMGs can be very confusing. Since I had > no experience with Mac, when I started to develop my latest product > also for Mac, I asked here on this list how to make an installer for > Mac, and everybody taught me, that I don't need an installer, Mac > users are used to use DMGs and that?s so easy. So I followed the > advice and thought, hmm, ok probably it's my old fashioned and not > state of the art windows thinking, that I (and some of my customers > too) still feel confused and not intuitively guided to my App. But > just the intuitive operating should be the strength of the Mac, > shouldn't it be? DMGs are great for many things, but I think for installs they've become as overused as XML is for so many tasks it isn't the best choice for. A lot of these things are driven by fashion, the "cool factor" that people see and say, "Hey, I want to do that too!". Apple's been telling us to "Think Different" for so long that we no longer notice that the phrase itself is grammatically incorrect. ;) While I haven't yet come across any formal usability studies on using disk images as installers (if anyone here finds one please pass it along), my own anecdotal evidence suggests that they're a good fit mainly for more experienced Mac users, but for the reasons noted in the links at that blog entry tend to confuse many others. > I would like to have an easy installer on Mac, like InnoSetup on Win. > My 2 Win cents With 80+% of the market, 2 Win cents = a Mac dollar. :) Have you tried Monte Goulding's install tool?: http://www.sweattechnologies.com/InstallGadget/ -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From DunbarX at aol.com Thu Mar 18 09:26:51 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 18 Mar 2010 09:26:51 EDT Subject: Fit Content Message-ID: <578ec.466e6401.38d3841b@aol.com> Richmond. I have done this before, I think. It is a problem with my brain. Craig In a message dated 3/18/10 2:16:52 AM, richmondmathewson at gmail.com writes: > Who is Richard? > From mikeythek at gmail.com Thu Mar 18 09:36:05 2010 From: mikeythek at gmail.com (Mikey) Date: Thu, 18 Mar 2010 09:36:05 -0400 Subject: Revolution Standalone + Norton Internet Security In-Reply-To: <45D496AC-AAD0-4ADC-9548-E6CFAB15D9F3@mac.com> References: <1343329819.333011268446923413.JavaMail.root@sz0009a.emeryville.ca.mail.comcast.net> <4E3C91C3-D10F-46B8-97F9-50A55A96D386@mac.com> <4B9B370B.9010102@hyperactivesw.com> <45D496AC-AAD0-4ADC-9548-E6CFAB15D9F3@mac.com> Message-ID: <9b408d8e1003180636r27256f77n2898c175a15b60aa@mail.gmail.com> Sorry, but I'm not in Vista at the moment, I'm in Ubuntu so I can't walk you through this exactly, but Norton has a whitelist feature built right into the clients. We use it for a variety of third-party applications that we run. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From DunbarX at aol.com Thu Mar 18 09:57:16 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 18 Mar 2010 09:57:16 EDT Subject: Font menu button problems Message-ID: <59a73.71b4bd20.38d38b3c@aol.com> Sarah. This seems like a Rube Goldberg tinkering mess, but: on menuPick put the menuHistory of me into tLine replace "?" with empty in me put "?" before line tLine of me lock messages select line tLine of me end menuPick I used "?" because I like it. Craig Newman From josh at dvcreators.net Thu Mar 18 10:46:38 2010 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 18 Mar 2010 07:46:38 -0700 Subject: How to generate a runnable Mac standalone from Windows In-Reply-To: <4BA209F2.8070309@fourthworld.com> References: <4BA209F2.8070309@fourthworld.com> Message-ID: I didn't check to see if DOS had a chmod command, if it doesn't, the code I posted won't work. On Mar 18, 2010, at 4:09 AM, Richard Gaskin wrote: > How do you run chmod from Windows? > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > > > Josh Mellicker wrote: > >> Does this work? >> >> get "chmod u+x" && tPathToYourFile >> get shell(it) >> >> Cheers, >> >> Josh >> >> On Mar 17, 2010, at 9:17 AM, Richard Gaskin >> wrote: >> >>> I'm writing an installer and would like to give our customers the >>> option of installing both Mac and Win versions on a portable drive, >>> such as a USB flash drive. >>> >>> I can store the app bundle parts in custom props and spit them back >>> out as needed, no prob. The issue is that the Mac executable within >>> the bundle needs to have its Unix permissions set to executable, >>> something that AFAIK can't be done from within Windows. >>> >>> As a workaround based on an earlier related discussion here, I'm >>> considering storing a zipped copy of the Mac app bundle, and >>> spitting that zip file out with an instruction for the user to unzip >>> it on OS X before running it there. >>> >>> But that's a lot of hassle for them and many users will just get >>> confused. >>> >>> It'd be much nicer to be able to spit out a working Mac app bundle - >>> but how can I do that from Windows? >>> >>> -- >>> Richard Gaskin >>> Fourth World Media Corporation >>> ___________________________________________________________ >>> Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Thu Mar 18 11:03:31 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 18 Mar 2010 08:03:31 -0700 Subject: How to generate a runnable Mac standalone from Windows Message-ID: <4BA240C3.7030000@fourthworld.com> Josh Mellicker wrote: > I didn't check to see if DOS had a chmod command, if it doesn't, the > code I posted won't work. I don't think it does because neither FAT16 nor NTFS support have any conception of a file mode other than read-only, so there's no "mod" to "ch". In my fantasy world MS would recognize that they're the last major holdout in a world of Unix-based OSes, and provide some sort of glue for compatibly writing to non-NTFS drives. But in that fantasy world MS doesn't hold a majority marketshare either, which in the real world provides them the momentary luxury of assuming they don't need to play nice with the standards that drive the rest of the world. :) -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv > On Mar 18, 2010, at 4:09 AM, Richard Gaskin > wrote: > >> How do you run chmod from Windows? >> >> Josh Mellicker wrote: >> >>> Does this work? >>> >>> get "chmod u+x" && tPathToYourFile >>> get shell(it) >>> >>> Cheers, >>> >>> Josh >>> >>> On Mar 17, 2010, at 9:17 AM, Richard Gaskin >>> wrote: >>> >>>> I'm writing an installer and would like to give our customers the >>>> option of installing both Mac and Win versions on a portable drive, >>>> such as a USB flash drive. >>>> >>>> I can store the app bundle parts in custom props and spit them back >>>> out as needed, no prob. The issue is that the Mac executable within >>>> the bundle needs to have its Unix permissions set to executable, >>>> something that AFAIK can't be done from within Windows. >>>> >>>> As a workaround based on an earlier related discussion here, I'm >>>> considering storing a zipped copy of the Mac app bundle, and >>>> spitting that zip file out with an instruction for the user to unzip >>>> it on OS X before running it there. >>>> >>>> But that's a lot of hassle for them and many users will just get >>>> confused. >>>> >>>> It'd be much nicer to be able to spit out a working Mac app bundle - >>>> but how can I do that from Windows? >>>> >>>> -- >>>> Richard Gaskin >>>> Fourth World Media Corporation >>>> ___________________________________________________________ >>>> Ambassador at FourthWorld.com http://www.FourthWorld.com From bvlahos at mac.com Thu Mar 18 11:24:53 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 18 Mar 2010 08:24:53 -0700 Subject: AW: How to generate a runnable Mac standalone from Windows In-Reply-To: <4BA2274C.3040105@fourthworld.com> References: <4BA2274C.3040105@fourthworld.com> Message-ID: I use Monte's InstallGadget for the initial InfoWallet installer on both Mac and Windows. The Windows version is fantastic but the Mac version is very basic. I still use the Windows version but have switched to DMG Canvas (http://www.araelium.com/dmgcanvas/) for my current Mac installer. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Mar 18, 2010, at 6:14 AM, Richard Gaskin wrote: > Have you tried Monte Goulding's install tool?: > http://www.sweattechnologies.com/InstallGadget/ From toolbook at kestner.de Thu Mar 18 11:32:21 2010 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 18 Mar 2010 16:32:21 +0100 Subject: AW: How to generate a runnable Mac standalone from Windows In-Reply-To: <4BA2274C.3040105@fourthworld.com> References: <4BA2274C.3040105@fourthworld.com> Message-ID: <004901cac6b0$33faf930$9bf0eb90$@de> Thanks for the link, didn't knew that yet Tiemo > > Have you tried Monte Goulding's install tool?: > http://www.sweattechnologies.com/InstallGadget/ > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv From richmondmathewson at gmail.com Thu Mar 18 11:32:26 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 18 Mar 2010 17:32:26 +0200 Subject: Fit Content In-Reply-To: <578ec.466e6401.38d3841b@aol.com> References: <578ec.466e6401.38d3841b@aol.com> Message-ID: <4BA2478A.4060608@gmail.com> On 18/03/2010 15:26, DunbarX at aol.com wrote: > Richmond. > > I have done this before, I think. It is a problem with my brain. > > Craig > > In a message dated 3/18/10 2:16:52 AM, richmondmathewson at gmail.com writes: > > >> Who is Richard? >> > _______________________________________________ 'Crag', we all have problems with our brains, and, when it comes down to it being called 'Richard', 'Fishface' or something else is less important that ending up with a load of dud code . . . :) Love, Fishface. From toolbook at kestner.de Thu Mar 18 11:35:07 2010 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 18 Mar 2010 16:35:07 +0100 Subject: AW: AW: How to generate a runnable Mac standalone from Windows In-Reply-To: References: <4BA2274C.3040105@fourthworld.com> Message-ID: <004d01cac6b0$972b1fd0$c5815f70$@de> Hi Bill, but DMG Canvas is a DMG maker, not an installer - right? Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Bill Vlahos > Gesendet: Donnerstag, 18. M?rz 2010 16:25 > An: How to use Revolution > Betreff: Re: AW: How to generate a runnable Mac standalone from Windows > > I use Monte's InstallGadget for the initial InfoWallet installer on > both Mac and Windows. The Windows version is fantastic but the Mac > version is very basic. I still use the Windows version but have > switched to DMG Canvas (http://www.araelium.com/dmgcanvas/) for my > current Mac installer. > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important > life information with you, accessible, and secure. > > On Mar 18, 2010, at 6:14 AM, Richard Gaskin wrote: > > > Have you tried Monte Goulding's install tool?: > > http://www.sweattechnologies.com/InstallGadget/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From richmondmathewson at gmail.com Thu Mar 18 12:12:07 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 18 Mar 2010 18:12:07 +0200 Subject: [OT] SVG Message-ID: <4BA250D7.1050509@gmail.com> http://longsonr.wordpress.com/2010/03/18/well-done-microsoft-for-joining-the-svg-party/ From bvlahos at mac.com Thu Mar 18 12:18:12 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 18 Mar 2010 09:18:12 -0700 Subject: AW: AW: How to generate a runnable Mac standalone from Windows In-Reply-To: <004d01cac6b0$972b1fd0$c5815f70$@de> References: <4BA2274C.3040105@fourthworld.com> <004d01cac6b0$972b1fd0$c5815f70$@de> Message-ID: <077097EF-D843-43FD-9070-2F0B74FEE1AC@mac.com> Technically yes. But the install for most Mac applications is simply to drag copy the application itself or a folder to the desired location. This is usually the Applications folder but my program can run from a USB drive, the desktop, or any other area the user wants. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Mar 18, 2010, at 8:35 AM, Tiemo Hollmann TB wrote: > Hi Bill, > but DMG Canvas is a DMG maker, not an installer - right? > Tiemo > >> -----Urspr?ngliche Nachricht----- >> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- >> bounces at lists.runrev.com] Im Auftrag von Bill Vlahos >> Gesendet: Donnerstag, 18. M?rz 2010 16:25 >> An: How to use Revolution >> Betreff: Re: AW: How to generate a runnable Mac standalone from Windows >> >> I use Monte's InstallGadget for the initial InfoWallet installer on >> both Mac and Windows. The Windows version is fantastic but the Mac >> version is very basic. I still use the Windows version but have >> switched to DMG Canvas (http://www.araelium.com/dmgcanvas/) for my >> current Mac installer. >> >> Bill Vlahos >> _________________ >> InfoWallet (http://www.infowallet.com) is about keeping your important >> life information with you, accessible, and secure. >> >> On Mar 18, 2010, at 6:14 AM, Richard Gaskin wrote: >> >>> Have you tried Monte Goulding's install tool?: >>> http://www.sweattechnologies.com/InstallGadget/ >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From pderocco at ix.netcom.com Thu Mar 18 12:28:56 2010 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Thu, 18 Mar 2010 09:28:56 -0700 Subject: How to generate a runnable Mac standalone from Windows In-Reply-To: Message-ID: > From: Josh Mellicker > > I didn't check to see if DOS had a chmod command, if it doesn't, the > code I posted won't work. There is no execution permission bit in Windows that needs to be set, so skip that line if the platform is "Win32". -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From richmondmathewson at gmail.com Thu Mar 18 12:38:16 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 18 Mar 2010 18:38:16 +0200 Subject: AW: AW: How to generate a runnable Mac standalone from Windows In-Reply-To: <077097EF-D843-43FD-9070-2F0B74FEE1AC@mac.com> References: <4BA2274C.3040105@fourthworld.com> <004d01cac6b0$972b1fd0$c5815f70$@de> <077097EF-D843-43FD-9070-2F0B74FEE1AC@mac.com> Message-ID: <4BA256F8.8030001@gmail.com> On 18/03/2010 18:18, Bill Vlahos wrote: > Technically yes. But the install for most Mac applications is simply to drag copy the application itself or a folder to the desired location. This is usually the Applications folder but my program can run from a USB drive, the desktop, or any other area the user wants. > My Devawriter (Windows and Macintosh versions alike) can work from wherever they are unzipped or dragged - doesn't really matter. So far I have tried them on the desktops, on a USB drive, on a USB external hard drive, and (for Mac) on a Firewire external hard drive; have also run the Windows version on my headless Windows XP box while the program was sitting on an HFS+ volume on the PPC Mac! This was NOT crafty programming on my part; this is just the way RunRev 4 rolled up the stacks into standalones. So . . . this whole discussion seems a bit unnecessary . . . :) From bvlahos at mac.com Thu Mar 18 12:45:59 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 18 Mar 2010 09:45:59 -0700 Subject: AW: AW: How to generate a runnable Mac standalone from Windows In-Reply-To: <4BA256F8.8030001@gmail.com> References: <4BA2274C.3040105@fourthworld.com> <004d01cac6b0$972b1fd0$c5815f70$@de> <077097EF-D843-43FD-9070-2F0B74FEE1AC@mac.com> <4BA256F8.8030001@gmail.com> Message-ID: <45EF856C-68DA-4B19-B980-6270792216AA@mac.com> I've found that most Windows users not only expect to use an installer they are lost without one. The blank stares you get from a Windows user when you say, "Just copy the file and open it" are precious. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Mar 18, 2010, at 9:38 AM, Richmond Mathewson wrote: > On 18/03/2010 18:18, Bill Vlahos wrote: >> Technically yes. But the install for most Mac applications is simply to drag copy the application itself or a folder to the desired location. This is usually the Applications folder but my program can run from a USB drive, the desktop, or any other area the user wants. >> > My Devawriter (Windows and Macintosh versions alike) can work from wherever they are unzipped or > dragged - doesn't really matter. So far I have tried them on the desktops, on a USB drive, on a USB external > hard drive, and (for Mac) on a Firewire external hard drive; have also run the Windows version on my > headless Windows XP box while the program was sitting on an HFS+ volume on the PPC Mac! > > This was NOT crafty programming on my part; this is just the way RunRev 4 rolled up the stacks into > standalones. > > So . . . this whole discussion seems a bit unnecessary . . . :) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Thu Mar 18 13:06:10 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Mar 2010 12:06:10 -0500 Subject: Fit Content In-Reply-To: <578ec.466e6401.38d3841b@aol.com> References: <578ec.466e6401.38d3841b@aol.com> Message-ID: <4BA25D82.7060008@hyperactivesw.com> DunbarX at aol.com wrote: > Richmond. > > I have done this before, I think. It is a problem with my brain. I've been dying for a chance to quote this tagline I saw recently: "I can't brain today, I've got the dumb." -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From massung at gmail.com Thu Mar 18 13:14:07 2010 From: massung at gmail.com (Jeffrey Massung) Date: Thu, 18 Mar 2010 12:14:07 -0500 Subject: Popup location and direction Message-ID: Is there any way to force a popup to go in a certain direction? For example, if I have a popup button at the bottom of a stack, I'd like it to always appear above the popup button. Jeff M. From stephenREVOLUTION2 at barncard.com Thu Mar 18 13:27:15 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 18 Mar 2010 12:27:15 -0500 Subject: Popup location and direction In-Reply-To: References: Message-ID: >From the docs: * popup {stack | button} [at location]* On 18 March 2010 12:14, Jeffrey Massung wrote: > Is there any way to force a popup to go in a certain direction? For > example, if I have a popup button at the bottom of a stack, I'd like it to > always appear above the popup button. > > Jeff M._______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From massung at gmail.com Thu Mar 18 15:05:04 2010 From: massung at gmail.com (Jeffrey Massung) Date: Thu, 18 Mar 2010 14:05:04 -0500 Subject: Popup location and direction In-Reply-To: References: Message-ID: On Mar 18, 2010, at 12:27 PM, stephen barncard wrote: >> From the docs: > > * popup {stack | button} [at location]* Yes, I know. But that only deals with location, not direction as well. I'd like the popup to only "grow" in the up direction or down direction (based on context) and only extend beyond the Y coordinate in the provided location assuming the popup was too big for the screen. Jeff M. From DunbarX at aol.com Thu Mar 18 15:30:50 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 18 Mar 2010 15:30:50 EDT Subject: Popup location and direction Message-ID: <71e94.74380b05.38d3d96a@aol.com> There is a constraint when the edge of the screen is nearby. A menu currently with a menuHistory of 1 will still open upward if the popup would otherwise drop below the screenrect. But I think you might have to roll your own; I do not see any property that deals with the direction of travel. I was surprised; in Rev, everything imaginable is already there somewhere. Craig Newman From mfstuart at cox.net Thu Mar 18 16:13:30 2010 From: mfstuart at cox.net (Mark Stuart) Date: Thu, 18 Mar 2010 12:13:30 -0800 (PST) Subject: Font menu button problems In-Reply-To: References: Message-ID: <1268943210033-1598554.post@n4.nabble.com> Hi all, I believe on MacOS the line select is not an issue - it works (?). The issue is on Windows OS, where the previously selected option is not selected. I reported this in BZ some time ago, and a fix has been applied to v4.50 dp3, based on the report here: http://quality.runrev.com/qacenter/show_bug.cgi?id=8559 HTH, Mark Stuart -- View this message in context: http://n4.nabble.com/Font-menu-button-problems-tp1597572p1598554.html Sent from the Revolution - User mailing list archive at Nabble.com. From andrew at rjdfarm.com Thu Mar 18 16:46:37 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Thu, 18 Mar 2010 12:46:37 -0800 (PST) Subject: Win7 Close stack Message-ID: <1268945197554-1598597.post@n4.nabble.com> I noticed that in windows 7 you can close stacks that have the close control removed from the titlebar. Windows 7 groups the items on your task bar together and lets you get little previews of the items in the group on mouseover. It also provides a close button so you can close windows straight from the task bar. Even with the close button taken off or disabled on the title bar, it still allows you to close it this way. If someone closes one of the menu palletes and I didn't have it set to kill the program on the close of one of these, the user would not be able to reopen that menu pallete. Is this a bug in rev or just a feature of win7 (Is there a difference, lol)? This isn't really a problem for me at the moment for my program, but I am attempting to document this behavior for someone who might struggle with it in the future. -- View this message in context: http://n4.nabble.com/Win7-Close-stack-tp1598597p1598597.html Sent from the Revolution - User mailing list archive at Nabble.com. From sarah.reichelt at gmail.com Thu Mar 18 17:00:37 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 19 Mar 2010 07:00:37 +1000 Subject: Font menu button problems In-Reply-To: <59a73.71b4bd20.38d38b3c@aol.com> References: <59a73.71b4bd20.38d38b3c@aol.com> Message-ID: On Thu, Mar 18, 2010 at 11:57 PM, wrote: > Sarah. > > This seems like a Rube Goldberg tinkering mess, but: > > on menuPick > ? ?put the menuHistory of me into tLine > ? ?replace "?" with empty in me > ? ?put "?" before line tLine of me > ? ?lock messages > ? ?select line tLine of me > end menuPick > > I used "?" because I like it. Thanks Craig. I tried a similar solution, actually using a check mark (option V on a Mac keyboard), but the problem is that on a normal menu, the check mark is out-dented (is that a word) so that it is much more prominent. But it might still be the best option. Cheers, Sarah From bvlahos at mac.com Thu Mar 18 17:04:21 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 18 Mar 2010 14:04:21 -0700 Subject: Add file to Custom Property In-Reply-To: <8755C1DF-CCA8-477B-9083-E996347E50C8@mac.com> References: <2591780E-9833-480C-B1C3-E9CD64226AF5@gmail.com> <64bda6471003131538y60f61747u9fc4ce4d14657b6c@mail.gmail.com> <8755C1DF-CCA8-477B-9083-E996347E50C8@mac.com> Message-ID: So I'm getting close on this. The "Save file" button script seems to work fine. The custom property looks to be encrypted. Button "Save File" on mouseUp answer file "Please select a file..." put it into lFileToRead set the itemDelimiter to "/" answer the last item of lFileToRead -- Read the binary contents of a file into a variable open file lFileToRead for binary read read from file lFileToRead until end close file lFileToRead put it into vFile encrypt it using "blowfish" with "biff" at "128" bit set the uFileStore of me to it set the uFileName of me to the last item of lFileToRead end mouseUp The following script doesn't actually save the file but I'm not sure why. Button "Save and open file" on mouseUp ask file "Save file to;" with the uFileName of button "Save File" put the uFileStore of button "Save File" into vEncryptedFile decrypt vEncryptedFile using "blowfish" with "biff" at "128" bit put vEncryptedFile into URL ("binfile:" & it) set the filetype to "" launch document it end mouseUp Bill Vlahos From DunbarX at aol.com Thu Mar 18 17:13:14 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 18 Mar 2010 17:13:14 EDT Subject: Font menu button problems Message-ID: <7978c.4088c2d3.38d3f16a@aol.com> Sarah. Tinkering is why I love these things. But when I substitute a checkmark I get a very nice checked menuItem. I don't see how you could find fault with it. Is it that you wanted a much more prominent checkmark? I would challenge outDented in scrabble. Craig In a message dated 3/18/10 5:00:49 PM, sarah.reichelt at gmail.com writes: > Thanks Craig. I tried a similar solution, actually using a check mark > (option V on a Mac keyboard), but the problem is that on a normal > menu, the check mark is out-dented (is that a word) so that it is much > more prominent. > But it might still be the best option. > > From mwieder at ahsoftware.net Thu Mar 18 17:15:14 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 18 Mar 2010 14:15:14 -0700 Subject: Add file to Custom Property In-Reply-To: References: <2591780E-9833-480C-B1C3-E9CD64226AF5@gmail.com> <64bda6471003131538y60f61747u9fc4ce4d14657b6c@mail.gmail.com> <8755C1DF-CCA8-477B-9083-E996347E50C8@mac.com> Message-ID: <111411602578.20100318141514@ahsoftware.net> Bill- Thursday, March 18, 2010, 2:04:21 PM, you wrote: > So I'm getting close on this. The "Save file" button script seems > to work fine. The custom property looks to be encrypted. > Button "Save File" > on mouseUp > answer file "Please select a file..." > put it into lFileToRead > set the itemDelimiter to "/" > answer the last item of lFileToRead > -- Read the binary contents of a file into a variable > open file lFileToRead for binary read > read from file lFileToRead until end > close file lFileToRead > put it into vFile > encrypt it using "blowfish" with "biff" at "128" bit > set the uFileStore of me to it > set the uFileName of me to the last item of lFileToRead > end mouseUp > The following script doesn't actually save the file but I'm not sure why. > Button "Save and open file" > on mouseUp > ask file "Save file to;" with the uFileName of button "Save File" > put the uFileStore of button "Save File" into vEncryptedFile > decrypt vEncryptedFile using "blowfish" with "biff" at "128" bit > put vEncryptedFile into URL ("binfile:" & it) > set the filetype to "" > launch document it > end mouseUp I don't trust the "it" variable enough to do what you're trying to do. The decrypt command is documented as placing the decrypted data into the it variable, so your file specifier is probably getting destroyed in the process. I'd do ask file... if it is not empty then put it into tFilePath end if -- and then put vEncryptedFile into url ("binfile:" & tFilePath) ... launch document tFilePath -- -Mark Wieder mwieder at ahsoftware.net From dam-pro.girard at laposte.net Thu Mar 18 17:35:58 2010 From: dam-pro.girard at laposte.net (Damien Girard) Date: Thu, 18 Mar 2010 22:35:58 +0100 Subject: Decode try/catch error return Message-ID: <000001cac6e2$ffc157d0$ff440770$@girard@laposte.net> Hi all, I have seen few times ago that somebody developed a stack that was able to translate Revolution error code to an human understandable message. (like the Rev debugger do), but I am not able to find it anymore, somebody can point me to it? Because "356,0,0,402,-23,477, 90,759,20 449,759,7,402,-23,477, 535,759,1,402,-23,477," is not really understandable :D Kind Regards, Damien Girard Dam-pro, France. From m.schonewille at economy-x-talk.com Thu Mar 18 17:37:16 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 18 Mar 2010 22:37:16 +0100 Subject: Decode try/catch error return In-Reply-To: <000001cac6e2$ffc157d0$ff440770$@girard@laposte.net> References: <000001cac6e2$ffc157d0$ff440770$@girard@laposte.net> Message-ID: <231FD4BE-43F7-45AC-B350-7D528621DB56@economy-x-talk.com> Damien, http://www.runrev.info/error.html -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 18 mrt 2010, om 22:35 heeft Damien Girard het volgende geschreven: > > Hi all, > > I have seen few times ago that somebody developed a stack that was > able to > translate Revolution error code to an human understandable message. > (like > the Rev debugger do), but I am not able to find it anymore, somebody > can > point me to it? > > Because > "356,0,0,402,-23,477, > 90,759,20 > 449,759,7,402,-23,477, > 535,759,1,402,-23,477," is not really understandable :D > > Kind Regards, > > Damien Girard > Dam-pro, France. > From massung at gmail.com Thu Mar 18 18:17:55 2010 From: massung at gmail.com (Jeffrey Massung) Date: Thu, 18 Mar 2010 17:17:55 -0500 Subject: Win7 Close stack In-Reply-To: <1268945197554-1598597.post@n4.nabble.com> References: <1268945197554-1598597.post@n4.nabble.com> Message-ID: On Mar 18, 2010, at 3:46 PM, Andrew Kluthe wrote: > > If someone closes one of the menu palletes and I didn't have it set to kill > the program on the close of one of these, the user would not be able to > reopen that menu pallete. > > Is this a bug in rev or just a feature of win7 (Is there a difference, lol)? In my opinion, this is a UI bug in your app (not a Rev or Win7 issue). Win7 just brought this issue to light. A palette window usually indicates an optional window that can be open or closed. For example, the tools or inspector palette in the Rev IDE. You can close them, but can always get them back easily. Of course, the above assumes you aren't using a palette window for something else, like a download progress window that is meant to prevent the user from doing anything while the download is in progress. If that's the case, I would use the on cloneStack handler in the palette window to perform an implicit cancel or similar operation (assuming it isn't done yet). Jeff M. From massung at gmail.com Thu Mar 18 18:39:41 2010 From: massung at gmail.com (Jeffrey Massung) Date: Thu, 18 Mar 2010 17:39:41 -0500 Subject: Cursor questions Message-ID: First, I have a splitter bar I've created that works fine, except in a standalone, the cursor I use (image ID 65) doesn't exist and therefore the app just uses the standard arrow cursor. Any way for me to ensure this cursor ends up in the standalone? Second, is it possible for me to detect that the mouse is over a link and change the cursor to something else (i.e. the hand icon/cursor)? I know there's changes coming w/ 4.5 that look promising. I haven't bothered to download the developer preview as I really don't want to risk is, but if some of these concerns go away with 4.5 and someone can just email me them (instead of breaking NDA on the list), that'd be fine, too. (massung at gmail.com). Thanks! Jeff M. From sarah.reichelt at gmail.com Thu Mar 18 18:49:17 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 19 Mar 2010 08:49:17 +1000 Subject: Font menu button problems In-Reply-To: <7978c.4088c2d3.38d3f16a@aol.com> References: <7978c.4088c2d3.38d3f16a@aol.com> Message-ID: > Tinkering is why I love these things. I think that's why we are all here - programmers have to be tinkerers at heart :-) > But when I substitute a checkmark I get a very nice checked menuItem. I > don't see how you could find fault with it. Is it that you wanted a much more > prominent checkmark? Have a look at to see what I mean. The width of the menu has the space at the left of the text to fit a check mark, so why doesn't it display? it just seems so obvious that it should. > I would challenge outDented in scrabble. Yes, me too... but when you look at the pic, you will see that the check mark really is out-dented. Any alternative description gratefully received. Cheers, Sarah From sarah.reichelt at gmail.com Thu Mar 18 18:56:24 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 19 Mar 2010 08:56:24 +1000 Subject: Cursor questions In-Reply-To: References: Message-ID: On Fri, Mar 19, 2010 at 8:39 AM, Jeffrey Massung wrote: > First, I have a splitter bar I've created that works fine, except in a standalone, the cursor I use (image ID 65) doesn't exist and therefore the app just uses the standard arrow cursor. Any way for me to ensure this cursor ends up in the standalone? In the Standalone settings, you can check the box that says to include the cursors. But I prefer to import the cursor myself and reference it directly rather than relying in RunRev not changing the cursor ID or anything else. If you go to the Image library in the Development menu, you can select Cursors and get the ones you need. > Second, is it possible for me to detect that the mouse is over a link and change the cursor to something else (i.e. the hand icon/cursor)? I know there's changes coming w/ 4.5 that look promising. I haven't bothered to download the developer preview as I really don't want to risk is, but if some of these concerns go away with 4.5 and someone can just email me them (instead of breaking NDA on the list), that'd be fine, too. (massung at gmail.com). This doesn't require 4.5, so no NDA conflict here. I put this in a card script and it seems to work fine: on mouseMove if word 1 of the target = "field" then if the textStyle of the mouseText contains "link" then lock cursor set the cursor to hand else unlock cursor end if end if pass mouseMove end mouseMove Cheers, Sarah From massung at gmail.com Thu Mar 18 19:03:50 2010 From: massung at gmail.com (Jeffrey Massung) Date: Thu, 18 Mar 2010 18:03:50 -0500 Subject: Cursor questions In-Reply-To: References: Message-ID: <022F7AED-59B9-4B0D-A748-5DD3D64F650E@gmail.com> That took about 5 seconds to implement. Thanks, Sarah. Jeff M. From bobs at twft.com Thu Mar 18 20:00:06 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 18 Mar 2010 17:00:06 -0700 Subject: Font menu button problems In-Reply-To: References: <7978c.4088c2d3.38d3f16a@aol.com> Message-ID: <8484728D-B419-4AEA-8BA1-66E4B018359E@twft.com> Just throwing this out there, I wonder if you can use HTML text in the menu, and then have a tab before every option? Then use a check+tab to mark it. Bob On Mar 18, 2010, at 3:49 PM, Sarah Reichelt wrote: >> Tinkering is why I love these things. > > I think that's why we are all here - programmers have to be tinkerers > at heart :-) > > >> But when I substitute a checkmark I get a very nice checked menuItem. I >> don't see how you could find fault with it. Is it that you wanted a much more >> prominent checkmark? > > Have a look at to see what I mean. > The width of the menu has the space at the left of the text to fit a > check mark, so why doesn't it display? > it just seems so obvious that it should. > > >> I would challenge outDented in scrabble. > > Yes, me too... but when you look at the pic, you will see that the > check mark really is out-dented. > Any alternative description gratefully received. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Thu Mar 18 20:02:17 2010 From: bobs at twft.com (Bob Sneidar) Date: Thu, 18 Mar 2010 17:02:17 -0700 Subject: Font menu button problems In-Reply-To: References: <7978c.4088c2d3.38d3f16a@aol.com> Message-ID: <5A2D6F81-D47D-42AA-B96C-D1019F15A4E0@twft.com> On Mar 18, 2010, at 3:49 PM, Sarah Reichelt wrote: >> Tinkering is why I love these things. > > I think that's why we are all here - programmers have to be tinkerers > at heart :-) > > >> But when I substitute a checkmark I get a very nice checked menuItem. I >> don't see how you could find fault with it. Is it that you wanted a much more >> prominent checkmark? > > Have a look at to see what I mean. > The width of the menu has the space at the left of the text to fit a > check mark, so why doesn't it display? > it just seems so obvious that it should. > > >> I would challenge outDented in scrabble. > > Yes, me too... but when you look at the pic, you will see that the > check mark really is out-dented. > Any alternative description gratefully received. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lan.kc.macmail at gmail.com Thu Mar 18 21:02:49 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 19 Mar 2010 09:02:49 +0800 Subject: Font menu button problems In-Reply-To: References: <59a73.71b4bd20.38d38b3c@aol.com> Message-ID: On Fri, Mar 19, 2010 at 5:00 AM, Sarah Reichelt > > > Thanks Craig. I tried a similar solution, actually using a check mark > (option V on a Mac keyboard), but the problem is that on a normal > menu, the check mark is out-dented (is that a word) so that it is much > more prominent. > But it might still be the best option. > Create your list of Fonts with two space characters at the beginning of each line then add your check mark to char 1 of the applicable line. Unfortunately, unless you are using mono-spaced fonts in your option menu text then you are not going to get that nice perfect inline out-denting. You could look at placing a tab before each line and then just place your check mark 'before line n of btn 'option btn', but in this case, again depending on the font used, your out-denting is way-out-denting, but it is in perfect alignment. HTH From mwieder at ahsoftware.net Thu Mar 18 21:26:19 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 18 Mar 2010 18:26:19 -0700 Subject: Font menu button problems In-Reply-To: <7978c.4088c2d3.38d3f16a@aol.com> References: <7978c.4088c2d3.38d3f16a@aol.com> Message-ID: <143426667937.20100318182619@ahsoftware.net> Craig- Thursday, March 18, 2010, 2:13:14 PM, you wrote: > I would challenge outDented in scrabble. Well, my third edition Scrabble dictionary doesn't have it, but it's quite last-century, as it's copright 1996. It would, however, fit in nicely between outcurve and outdance, both of which I would have challenged. http://en.wiktionary.org/wiki/outdent -- -Mark Wieder mwieder at ahsoftware.net From lan.kc.macmail at gmail.com Thu Mar 18 21:31:53 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 19 Mar 2010 09:31:53 +0800 Subject: View scripts of my standalone? In-Reply-To: References: <20100316011249.DD86D2882DA@mail.runrev.com> <98D60AEF-0F06-4226-9625-1F7F74F2FEE8@clearvisiontech.com> <09FD2406-5FD4-4989-9AD6-0C9B85EDDC7A@kagi.com> <4BA0D9B7.70909@gmail.com> Message-ID: On Thu, Mar 18, 2010 at 3:07 AM, Kee Nethery wrote: > > Imagine me hitting myself on the head with a big dead fish. I use Time Machine on my Mac for backups and it was trivial to "go back in time" and grab the old source file. I knew there was a reason for doing backups :-) > ROTFL... in pain;-)) Now imagine a nagging wife.... why are you always buying computer gadgets, why did you need to buy are 1TB TimeCapsule, why did you buy another HD, way are there so many HD Icons on my desktop, have you been on my computer again, why have you been messing with my computer, why.... Or when I buy Mac OS X The Missing Manual and suggest she read up on the new features... No I haven't got time, or to make it even easier, if I download the propaganda .mov from Apple and say, you should check out the new features... I'm not in the mood. And then..... AAAArrrgghhhhhh!!!!! A calendar she'd be working with, the most important of half a dozen calendars, for some reason she inexplicably deleted, at that was it, it was gone! She looked high and low, but it was gone. She was almost in tears when she told me what happened. So I pointed out the clock icon with the anti-clockwise arrow around and the Enter Time Machine menu item.... and 5 min later we had her calendar back. How imagine the polar opposite of being hit on the head with a big fish;-) BTMF (Big TimeMachine Fan) PS My wife really doesn't nag, she's great. From lan.kc.macmail at gmail.com Thu Mar 18 21:39:16 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 19 Mar 2010 09:39:16 +0800 Subject: Docking Redux In-Reply-To: <1268864194452-1597272.post@n4.nabble.com> References: <1268864194452-1597272.post@n4.nabble.com> Message-ID: Hi Andrew, I don't know exactly what you are trying to do, but have you checked out the getProp and setProp control statements in the Dictionary. These allow you to do things based on custom properties being manipulated. HTH On Thu, Mar 18, 2010 at 6:16 AM, Andrew Kluthe wrote: > > Ok, my docking scripts work pretty good but I need a way of telling the menu > stacks what stack to dock to. > > I.E. > > If a user opens the LeaseStack from the sideMenu stack, then I need to set > the docking stack to LeaseStack. > > If the user opens a NamesSetup stack from the sideMenu, then I need to > change the docking stack to "NamesSetup" > > Currently: When you open "LeaseStack" or "NamesSetup" from the sideMenu, it > stores the name of the stack in a custom property of a button. > > I have two custom properties: the stack currently being docked to, and the > stack that was docked before the current one. > > I need the previous docked stack to be in a property, because I have a stack > that opens as modal when it is toggled to be visible. > > This is like a message flag window (if a payment is overdue, etc) and is to > be the first stack besides menus that open with the program. > > At any time the user needs to be able to toggle this message flag window as > visible and dockable and automatically untoggle what was visible and docked. > When pushing the toggle button again, it needs to switch back to whatever > the user was working on prior to the toggle. > > I just seem to be mucking up my attempts to do this gracefully. Can anyone > recommend some logic that might accomplish what I need? Am I barking up the > wrong trees with custom properties? > -- > View this message in context: http://n4.nabble.com/Docking-Redux-tp1597272p1597272.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From massung at gmail.com Thu Mar 18 23:05:15 2010 From: massung at gmail.com (Jeffrey Massung) Date: Thu, 18 Mar 2010 22:05:15 -0500 Subject: Possible virus warning Message-ID: <80F6AE42-E7B8-44B8-8CA8-63ABD0144B62@gmail.com> Just got the following email sent directly to me: From: zeeshan aamir Subject: Communication between JADE (NetBeans) and Runrev Date: March 18, 2010 9:57:58 PM CDT To: shani.runrev at gmail.com Has a nice attachment, which I obviously didn't open. Anyway, just believe this is likely phishing or some other kind of wonderful infection attempt by someone just hitting everyone in the list. If that isn't the case, my apologies to Mr. Aamir. But everyone should take care Jeff M. From mwieder at ahsoftware.net Thu Mar 18 23:19:59 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 18 Mar 2010 20:19:59 -0700 Subject: forum down Message-ID: <70433487375.20100318201959@ahsoftware.net> All- Anyone else noticing that the forums seem to have gotten borked? I'm getting "Too many connections[1040]", so I'm guessing it may be a DoS attack on the server. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Mar 18 23:21:36 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 18 Mar 2010 20:21:36 -0700 Subject: Possible virus warning In-Reply-To: <80F6AE42-E7B8-44B8-8CA8-63ABD0144B62@gmail.com> References: <80F6AE42-E7B8-44B8-8CA8-63ABD0144B62@gmail.com> Message-ID: <103433584734.20100318202136@ahsoftware.net> Jeffrey- It passed my antivirus software's check, but I'm not foolish enough to open an unrequested binary attachment... -- -Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION2 at barncard.com Thu Mar 18 23:56:47 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 18 Mar 2010 22:56:47 -0500 Subject: forum down In-Reply-To: <70433487375.20100318201959@ahsoftware.net> References: <70433487375.20100318201959@ahsoftware.net> Message-ID: yes and I just got a message that was intended for the list with ATTACHMENTS. And the mail list address is nowhere to be found except deep in the raw email. How is this possible? here are the headers: from zeeshan aamir sender time Sent at 21:57 (GMT+01:00). Current time there: 04:52. ? to shani.runrev at gmail.com date 18 March 2010 21:57 subject Communication between JADE (NetBeans) and Runrev Signed by gmail.com ------------------------------------------ hide details 21:57 (54 minutes ago) On 18 March 2010 22:19, Mark Wieder wrote: > All- > > Anyone else noticing that the forums seem to have gotten borked? I'm > getting "Too many connections[1040]", so I'm guessing it may be a DoS > attack on the server. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From stephenREVOLUTION2 at barncard.com Thu Mar 18 23:57:56 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 18 Mar 2010 22:57:56 -0500 Subject: Possible virus warning In-Reply-To: <103433584734.20100318202136@ahsoftware.net> References: <80F6AE42-E7B8-44B8-8CA8-63ABD0144B62@gmail.com> <103433584734.20100318202136@ahsoftware.net> Message-ID: Google didn't choke on this guy and they appear to be binary... images...... sqb On 18 March 2010 22:21, Mark Wieder wrote: > Jeffrey- > > It passed my antivirus software's check, but I'm not foolish enough to > open an unrequested binary attachment... > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From lan.kc.macmail at gmail.com Fri Mar 19 00:08:43 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 19 Mar 2010 12:08:43 +0800 Subject: How to generate a runnable Mac standalone from Windows In-Reply-To: <4BA2274C.3040105@fourthworld.com> References: <4BA2274C.3040105@fourthworld.com> Message-ID: On Thu, Mar 18, 2010 at 9:14 PM, Richard Gaskin wrote: > > While I haven't yet come across any formal usability studies on using disk > images as installers (if anyone here finds one please pass it along), my own > anecdotal evidence suggests that they're a good fit mainly for more > experienced Mac users, but for the reasons noted in the links at that blog > entry tend to confuse many others. > > Sorry, taking your thread off topic here, this probably should be directed to your blog, but I see this simply as how experienced do you want to make your users. Yes I am an experienced Mac user so I'm thoroughly happy with DMGs, I like to be involved in where I put things on my Mac, and IMO, I think newbies should become involved as well. Yes, a little confusing to start with, but not too difficult to master. To take this way OT, let me liken it to Toyota's stuck on full throttle. Some people think the deaths cause by these incidents were the result of faulty engineering. I know the deaths were caused by poor driver training. You see, far too many people put their car in Drive and then their mind in Neutral. Not one of these accidents would have occurred if the person was driving a Manual car. A manual driver would have engaged the clutch and/or selected Neutral, and instinctive manoeuver. Automatic drivers seem to forget that they have a means to disconnect the engine from the wheels. Also, both have the ability to turn the ignition off, but neither are likely to think of this as they haven't been taught it - hazardous as you need to remember the steering lock and only do it on straight roads. So, to me, Installers are like Automatics, loved by masses but inevitably create an 'mind in Neutral' situation where the vast majority of users really haven't got a clue. Is the rampant spread of viruses, spam and phishing the result of vastly intelligent instigators or the Pavlov's automatic response of a Users who's mind is in Neutral? IMO, computers are far more important to us than the car. Computers are more and more intricately entwined into almost all aspects of our lives. It's a fine line, because they are so entwined, they need to be easy, intuitive, productive, not frustrating. But because the are so entwined I feel we need to be somewhat involved in the process. If you can't figure out how to open a DMG and drag an App to the folder or your desire, how are you ever going to get your head around running back-up and archive software and actually restoring a single corrupted file? DMG is the Mac standard, and whilst it might not be the best solution, if everyone does the same thing, it shouldn't take long to catch the drift. On the other hand, I'm highly skeptical of files that don't install the DMG way or use the Mac Installer. I've Trashed Apps straight off the bat that have installed themselves. Or, to put it another way, if the Automatic starts misbehaving, I treat it like a Manual and force it into the gear I want. If a person really can't grasp the concept of opening a DMG, and dragging the file to a folder after 3 or 4 attempts, then I guess I wouldn't be surprised if they send a large sum money to an Nigerian Bank account after receiving an important email because it was all in CAPITALS. (I just note that Jeffery posted to the list a possible bogus email doing the rounds. Obviously doesn't open emails with his brain in Neutral and I bet he knows how to work a DMG) Just my Mac Dollars worth :-) PS Should Toyota's be better engineered - Yes PPS Should drivers be better trained - Absolutely PPPS Strange how there can only be one Neutral, your Brain or the Transmission, but never both. PPPPS In my Fantasy World all drivers would be trained and tested on bringing a car to a halt after suffering a brake failure at 55 mph. From mwieder at ahsoftware.net Fri Mar 19 00:08:51 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 18 Mar 2010 21:08:51 -0700 Subject: Possible virus warning In-Reply-To: References: <80F6AE42-E7B8-44B8-8CA8-63ABD0144B62@gmail.com> <103433584734.20100318202136@ahsoftware.net> Message-ID: <93436419343.20100318210851@ahsoftware.net> stephen- Thursday, March 18, 2010, 8:57:56 PM, you wrote: > Google didn't choke on this guy and they appear to be binary... images...... Most of them. Then there's the "Test.rar" archive... -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Fri Mar 19 00:15:06 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 18 Mar 2010 21:15:06 -0700 Subject: Possible virus warning Message-ID: <4BA2FA4A.3040005@fourthworld.com> stephen barncard wrote: > Google didn't choke on this guy and they appear to be binary... images...... I moved the attachment over to a machine I keep quarantined for such explorations, and un-rarred it. In addition to the images there are also some very small Java source files and a Rev stack. I don't have Rev on my quarantine machine so I wasn't able to run it, but looking at the raw data for the stack file it appears to be a runnable stack with a fairly innocuous script. Either someone went to a lot of work to make a very convincing Trojan horse targeted specifically at the Rev community which uses some obscure and tiny data-embedded hack that eludes most normal means of reviewing the file contents, or this was sent out to the use-rev list members by some weird tech glitch that I can't figure out. Either way, since I got my copy of that potential-Trojan-horse just minutes after the Rev forum was taken offline from an apparent DoS attack, it's hard not to imagine there may be some connection between the two. Whether the email is part of the culprit's work or just another victim like all of us who shouldn't have rec'd that unsolicited email remains to be seen. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From stephenREVOLUTION2 at barncard.com Fri Mar 19 00:17:01 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 18 Mar 2010 23:17:01 -0500 Subject: Possible virus warning In-Reply-To: <93436419343.20100318210851@ahsoftware.net> References: <80F6AE42-E7B8-44B8-8CA8-63ABD0144B62@gmail.com> <103433584734.20100318202136@ahsoftware.net> <93436419343.20100318210851@ahsoftware.net> Message-ID: Right. Definitely not right - the only way that could get to me is that the server got hijacked or out email address. Deleted. This guy isn't real. sqb On 18 March 2010 23:08, Mark Wieder wrote: > stephen- > > Thursday, March 18, 2010, 8:57:56 PM, you wrote: > > > Google didn't choke on this guy and they appear to be binary... > images...... > > Most of them. Then there's the "Test.rar" archive... > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From mwieder at ahsoftware.net Fri Mar 19 00:37:43 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 18 Mar 2010 21:37:43 -0700 Subject: Possible virus warning In-Reply-To: <4BA2FA4A.3040005@fourthworld.com> References: <4BA2FA4A.3040005@fourthworld.com> Message-ID: <111438151500.20100318213743@ahsoftware.net> Richard- Thursday, March 18, 2010, 9:15:06 PM, you wrote: > Whether the email is part of the culprit's work or just another victim > like all of us who shouldn't have rec'd that unsolicited email remains > to be seen. Here's my best-case scenario: the rev team was attempting to reinstate private messaging on the forum boards, and in the process someone tried to post a topic. Since things were in flux, due to a database glitch the attempted topic post got instead emailed out to everyone registered on the board. The database glitch also is preventing any further user logins, and will probably have to be recreated from backups. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Fri Mar 19 00:45:05 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 18 Mar 2010 21:45:05 -0700 Subject: Possible virus warning Message-ID: <4BA30151.9070003@fourthworld.com> Mark Wieder wrote: > Richard- > > Thursday, March 18, 2010, 9:15:06 PM, you wrote: > >> Whether the email is part of the culprit's work or just another victim >> like all of us who shouldn't have rec'd that unsolicited email remains >> to be seen. > > Here's my best-case scenario: the rev team was attempting to reinstate > private messaging on the forum boards, and in the process someone > tried to post a topic. Since things were in flux, due to a database > glitch the attempted topic post got instead emailed out to everyone > registered on the board. The database glitch also is preventing any > further user logins, and will probably have to be recreated from > backups. That seems plausible enough, but far less entertaining than my hypothesis of corporate espionage from some nefarious organization who feels threatened by RevMobile. As logical as your scenario is, I'm sticking with mine. :) -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From stephenREVOLUTION2 at barncard.com Fri Mar 19 00:55:19 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 18 Mar 2010 23:55:19 -0500 Subject: Possible virus warning In-Reply-To: <4BA30151.9070003@fourthworld.com> References: <4BA30151.9070003@fourthworld.com> Message-ID: Whatever. It creeped me out nonetheless. On 18 March 2010 23:45, Richard Gaskin wrote: > Mark Wieder wrote: > > Richard- >> >> Thursday, March 18, 2010, 9:15:06 PM, you wrote: >> >> Whether the email is part of the culprit's work or just another victim >>> like all of us who shouldn't have rec'd that unsolicited email remains >>> to be seen. >>> >> >> Here's my best-case scenario: the rev team was attempting to reinstate >> private messaging on the forum boards, and in the process someone >> tried to post a topic. Since things were in flux, due to a database >> glitch the attempted topic post got instead emailed out to everyone >> registered on the board. The database glitch also is preventing any >> further user logins, and will probably have to be recreated from >> backups. >> > > That seems plausible enough, but far less entertaining than my hypothesis > of corporate espionage from some nefarious organization who feels threatened > by RevMobile. > > As logical as your scenario is, I'm sticking with mine. :) > > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From scott at tactilemedia.com Fri Mar 19 01:38:13 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 18 Mar 2010 22:38:13 -0700 Subject: Possible virus warning In-Reply-To: Message-ID: Recently, stephen barncard wrote: > Whatever. It creeped me out nonetheless. Dudes, come on. The guy wrote the list on 3/16 looking for help with Rev and JADE. He probably tried to send along files he was working on by mistake. As fun as it would be to uncover, there's no conspiracy here. Now world governments covering up the existence of of extra terrestrial life, THAT'S a conspiracy I can get behind... Regards, Scott Rossi Creative Director Tactile Media, UX Design From mwieder at ahsoftware.net Fri Mar 19 01:50:15 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 18 Mar 2010 22:50:15 -0700 Subject: Possible virus warning In-Reply-To: References: Message-ID: <12442503656.20100318225015@ahsoftware.net> Scott- Thursday, March 18, 2010, 10:38:13 PM, you wrote: > Dudes, come on. The guy wrote the list on 3/16 looking for help with Rev > and JADE. He probably tried to send along files he was working on by > mistake. As fun as it would be to uncover, there's no conspiracy here. The message did *not* go to the list. OK - if I go back a couple of days I see the original query about JADE, but I don't know how to send an offlist message to everyone on the list personally. There's still something else at play here. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Fri Mar 19 02:03:01 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Mar 2010 01:03:01 -0500 Subject: Possible virus warning In-Reply-To: <111438151500.20100318213743@ahsoftware.net> References: <4BA2FA4A.3040005@fourthworld.com> <111438151500.20100318213743@ahsoftware.net> Message-ID: <4BA31395.1040504@hyperactivesw.com> Mark Wieder wrote: > Richard- > > Thursday, March 18, 2010, 9:15:06 PM, you wrote: > >> Whether the email is part of the culprit's work or just another victim >> like all of us who shouldn't have rec'd that unsolicited email remains >> to be seen. > > Here's my best-case scenario: the rev team was attempting to reinstate > private messaging on the forum boards, and in the process someone > tried to post a topic. Since things were in flux, due to a database > glitch the attempted topic post got instead emailed out to everyone > registered on the board. The database glitch also is preventing any > further user logins, and will probably have to be recreated from > backups. > I feel so neglected. I didn't get a copy. :( But just for the record, this person wrote to the tech queue, is a user who is investigating Rev for possible purchase, and asked about JADE communications. I told him I wasn't familiar enough to answer but that we had some experts on the list and the forums and suggested he post there. He did, on both. That's as much as I know. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Mar 19 02:04:55 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Mar 2010 01:04:55 -0500 Subject: Possible virus warning In-Reply-To: <12442503656.20100318225015@ahsoftware.net> References: <12442503656.20100318225015@ahsoftware.net> Message-ID: <4BA31407.6090309@hyperactivesw.com> Mark Wieder wrote: > Scott- > > Thursday, March 18, 2010, 10:38:13 PM, you wrote: > >> Dudes, come on. The guy wrote the list on 3/16 looking for help with Rev >> and JADE. He probably tried to send along files he was working on by >> mistake. As fun as it would be to uncover, there's no conspiracy here. > > The message did *not* go to the list. OK - if I go back a couple of > days I see the original query about JADE, but I don't know how to send > an offlist message to everyone on the list personally. There's still > something else at play here. > It's possible he just copied some email addresses from the list. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lan.kc.macmail at gmail.com Fri Mar 19 03:35:01 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 19 Mar 2010 15:35:01 +0800 Subject: Possible virus warning In-Reply-To: <4BA31407.6090309@hyperactivesw.com> References: <12442503656.20100318225015@ahsoftware.net> <4BA31407.6090309@hyperactivesw.com> Message-ID: I think this all runs full circle to some comments I made on another thread about DMGs for Mac distribution. We find ourselves talking about alien conspiracies only because we know what is normal on this List. A newbie could have easily opened the email and it's attachment, as they'd open any other email and attachment. Why can't you post attachments to the List, all other emails can have attachments, it would be so handy - but that's not important, the List standard is no attachments. In truth, Zeeshan Aamir may simply have tried to be helpful by posting his stack to individuals and thereby overcome the List limitation. DMGs (and the Mac Installer) are the standard way Macs distribute software. Yes you could try some other methods, and that might be easier for newbies, but those in the know will be thinking, not normal, therefore alien conspiracy;-) This unsolicited attachment could be benign or malicious, so it highlights the importance of standards, even if their not the best or the most convenient, and by consistently following standards people will eventually learn what is normal, and what isn't, and that's a good thing. A better Mac installer might simply be better documentation of the standard process. A READ ME, which I accept no-one reads, with step-by-step instructions plus images of your .dmg file, and then the disk itself, and then the drag process, can't be too hard to create, and hopefully not too difficult to follow along. Another Mac $ worth ;-) On Fri, Mar 19, 2010 at 2:04 PM, J. Landman Gay wrote: > Mark Wieder wrote: >> >> Scott- >> >> Thursday, March 18, 2010, 10:38:13 PM, you wrote: >> >>> Dudes, come on. ?The guy wrote the list on 3/16 looking for help with Rev >>> and JADE. ?He probably tried to send along files he was working on by >>> mistake. ?As fun as it would be to uncover, there's no conspiracy here. >> >> The message did *not* go to the list. OK - if I go back a couple of >> days I see the original query about JADE, but I don't know how to send >> an offlist message to everyone on the list personally. There's still >> something else at play here. >> > > It's possible he just copied some email addresses from the list. > > -- > Jacqueline Landman Gay ? ? ? ? | ? ? jacque at hyperactivesw.com > HyperActive Software ? ? ? ? ? | ? ? http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From david at dvglasgow.wanadoo.co.uk Fri Mar 19 04:46:09 2010 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Fri, 19 Mar 2010 08:46:09 +0000 Subject: Sweet Richmond.... In-Reply-To: <20100318170004.487922897A2@mail.runrev.com> References: <20100318170004.487922897A2@mail.runrev.com> Message-ID: <435882F8-0AFA-4413-969C-BAF4716B1574@dvglasgow.wanadoo.co.uk> > From: Richmond Mathewson > Date: 18 March 2010 6:16:41 am GMT > To: How to use Revolution > Subject: Re: Fit Content > Reply-To: How to use Revolution > > > On 17/03/2010 22:06, DunbarX at aol.com wrote: >> Richard. >> >> The formattedWidth gives you an entry to this... >> >> Craig Newman > Thanks. > > Who is Richard? I know the Sweet Lass of Richard Hill :-D From richmondmathewson at gmail.com Fri Mar 19 06:25:38 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 19 Mar 2010 12:25:38 +0200 Subject: Sweet Richmond.... In-Reply-To: <435882F8-0AFA-4413-969C-BAF4716B1574@dvglasgow.wanadoo.co.uk> References: <20100318170004.487922897A2@mail.runrev.com> <435882F8-0AFA-4413-969C-BAF4716B1574@dvglasgow.wanadoo.co.uk> Message-ID: <4BA35122.304@gmail.com> On 19/03/2010 10:46, David Glasgow wrote: > > > On 17/03/2010 22:06, DunbarX at aol.com wrote: >>> Richard. >>> >>> The formattedWidth gives you an entry to this... >>> >>> Craig Newman >> Thanks. >> >> Who is Richard? > I know the Sweet Lass of Richard Hill > That's funny, I thought Richard Hill was gay . . . :) From richmondmathewson at gmail.com Fri Mar 19 06:50:33 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 19 Mar 2010 12:50:33 +0200 Subject: [OT] Richmond Hill In-Reply-To: <435882F8-0AFA-4413-969C-BAF4716B1574@dvglasgow.wanadoo.co.uk> References: <20100318170004.487922897A2@mail.runrev.com> <435882F8-0AFA-4413-969C-BAF4716B1574@dvglasgow.wanadoo.co.uk> Message-ID: <4BA356F9.4080300@gmail.com> On 19/03/2010 10:46, David Glasgow wrote: > >> From: Richmond Mathewson >> Date: 18 March 2010 6:16:41 am GMT >> To: How to use Revolution >> Subject: Re: Fit Content >> Reply-To: How to use Revolution >> >> >> On 17/03/2010 22:06, DunbarX at aol.com wrote: >>> Richard. >>> >>> The formattedWidth gives you an entry to this... >>> >>> Craig Newman >> Thanks. >> >> Who is Richard? > I know the Sweet Lass of Richard Hill > > Obviously Richmond Hill is much more famous than Craig's "Richard"; because Henry Purcell managed "On the brow of Richmond Hill" (1692), some Australians (well, the Grundy family at least) liked him: http://en.wikipedia.org/wiki/Richmond_Hill_(TV_series) , and one can listen to "The sweet lass of Richmond Hill" here: http://www.ukmagic.co.uk/song_english/music/richmond.mid Richmond Hill is the only view 'legally' protected by an Act of the so-called 'UK' parliament: http://en.wikipedia.org/wiki/Richmond_Hill,_London From rjb at robelko.com Fri Mar 19 07:27:39 2010 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 19 Mar 2010 12:27:39 +0100 Subject: Possible virus warning In-Reply-To: References: <12442503656.20100318225015@ahsoftware.net> <4BA31407.6090309@hyperactivesw.com> Message-ID: On 19.03.10 at 15:35 +0800 Kay C Lan apparently wrote: >DMGs (and the Mac Installer) are the standard way Macs distribute >software. Yes you could try some other methods, and that might be >easier for newbies, but those in the know will be thinking, not >normal, therefore alien conspiracy;-) Indeed, DMG as means of installing on Macs has been around for ever, relatively speaking. DMG is a newer version of what Classic Mac users knew as IMG. A wave of people switching from Windows to OSX created a wave of complaints about installing by copying, due to their Windows-based habits. Apple's PKG installer (and its earlier variants) have been around also for ever as well as commercial installers like InstallerVise. Most programs don't need installers, so why bother? Mac users know how to drag to copy. Ex-Windows users have to learn. If somebody needs an installer, the developer can use one. As others mentioned, there is even one native to RunRev. Everyone needs to judge what their user base needs. There is no one-fits-all solution. I find the comparisons of installing on Mac and Windows, like in the links from Richard, sadly funny. Multiple steps for Mac listed vs only 3 steps for Windows conviniently ignore the fact that there are usually several steps within the windows installer. Silly. Robert From richmondmathewson at gmail.com Fri Mar 19 08:02:25 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 19 Mar 2010 14:02:25 +0200 Subject: Possible virus warning In-Reply-To: References: <12442503656.20100318225015@ahsoftware.net> <4BA31407.6090309@hyperactivesw.com> Message-ID: <4BA367D1.3050605@gmail.com> On 19/03/2010 13:27, Robert Brenstein wrote: > On 19.03.10 at 15:35 +0800 Kay C Lan apparently wrote: >> DMGs (and the Mac Installer) are the standard way Macs distribute >> software. Yes you could try some other methods, and that might be >> easier for newbies, but those in the know will be thinking, not >> normal, therefore alien conspiracy;-) > > Indeed, DMG as means of installing on Macs has been around for ever, > relatively speaking. DMG is a newer version of what Classic Mac users > knew as IMG. A wave of people switching from Windows to OSX created a > wave of complaints about installing by copying, due to their > Windows-based habits. Apple's PKG installer (and its earlier variants) > have been around also for ever as well as commercial installers like > InstallerVise. Most programs don't need installers, so why bother? Mac > users know how to drag to copy. Ex-Windows users have to learn. If > somebody needs an installer, the developer can use one. As others > mentioned, there is even one native to RunRev. Everyone needs to judge > what their user base needs. There is no one-fits-all solution. > > I find the comparisons of installing on Mac and Windows, like in the > links from Richard, sadly funny. Multiple steps for Mac listed vs only > 3 steps for Windows conviniently ignore the fact that there are > usually several steps within the windows installer. Silly. All those lists comparing Windows with Mac, and then slagging one or the other off are silly, because they don't address real computer issues. I use Ubuntu Linux in my EFL school for the following reasons: 1. tatty-old PIII PCs run faster with Ubuntu 5.10 than with Windows XP and don't crash. 2. I couldn't afford licences for Windows XP for all my PCs The first reason is a real computer reason; the second one is only related to my bank account; the 2 types of reasons should not be confused or used to back up each other. > > Robert > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarah.reichelt at gmail.com Fri Mar 19 08:53:31 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 19 Mar 2010 22:53:31 +1000 Subject: "there is a folder" not case sensitive Message-ID: Hi All, Does anyone know a way to make "there is a folder" case sensitive? I have tried setting the caseSensitive to true but that doesn't help. In this case, I have a list of folders from a case sensitive web site and there are two folders with the same name but one has an upper case letter. While this is not an ideal situation, it's not something I can dictate, but I have to be able to work with it. At the moment, it looks like I have to write my own "there is a folder" routine, unless anyone knows how to make it case-sensitive. Cheers, Sarah From rolf.kocherhans at id.uzh.ch Fri Mar 19 09:02:50 2010 From: rolf.kocherhans at id.uzh.ch (Rolf Kocherhans) Date: Fri, 19 Mar 2010 14:02:50 +0100 Subject: [ANN] My first (iPhone) revlet is out in the cloud... Message-ID: <775DA1EB-9918-49AB-8E95-EC57283A4DE5@id.uzh.ch> I am pleased to announce that I have just released my first test revlet into the open :-). http://mobile.kangaroo.on-rev.com/ Several weeks ago I started programming for the iPhone, like many I was waiting for the alpha of revMobile to arrive, which now has :-). I thought I would make a revlet to test stuff I wanted to do, because I guessed, if it works on the web, it would hopefully work on the iPhone as well. Also, if I get ready now with all the graphics etc. I will be much faster when revMobile is ready for prime time :-). The revlet I made accesses the phonebook directory from the University where I work: http://www.phonebook.uzh.ch/ I just parse the html returned from a query and display the info in a nicer way. PLEASE NOTE !!!!! - The revlet is only optimised for MacOSX (Fonts) it will work on Windows, but does NOT look very nice ! - Everything is in German ! - The search routine starts after the 4th letter you enter. - On the person?s card, you can click onto the words "Bau or Raum" (Working place) which then downloads a picture of the location where the person works. - Alternatively you can click onto the address which lets Google Maps search for the location. - Nifty is the last feature, which lets you export the contact info directly INTO YOUR LOCAL Address Book !!! This is my first revlet for the public .... Do you like it ? Cheers Rolf From heather at runrev.com Fri Mar 19 09:08:32 2010 From: heather at runrev.com (Heather Nagey) Date: Fri, 19 Mar 2010 13:08:32 +0000 Subject: iPhone pre-alpha update Message-ID: Dear List Folks, We're excited to let you all know that we have churned out another update to the iPhone pre-alpha. We're rather proud of it, as we have added the following features and fixes: - The orientation of the device can now be determined, and an application is notified when the orientation changes. - An application can change its interface orientation at will. - Basic support is present for core location - an application can request updates to the location of the device. - An application can prompt the user to send an email, using the standard iPhone mail composer interface. - Support has been added for 'specialFolderPath()' to allow easy fetching of 'standard' folders. - A bug with file path 'root' problems has been fixed. All paths are now reported relative to the filesystem root, rather than the home directory. - A bug with the mouseLoc returning an incorrect y-coord has been fixed. - A bug with animated gifs not displaying correctly has been fixed. - Disabled controls are no longer considered when working out the target of touch messages (just as it is for mouse messages) - The answer command now returns the chosen button in the 'it' variable as it should This is still designated a pre-alpha since the UI has not yet been added and you still can't build for the App store, but nonetheless, judging from the feedback we're getting from early purchasers, we think you'll find these features interesting, useful and fun! Don't forget to check out our lessons area, which now has a dedicated revMobile section: http://lessons.runrev.com/spaces/lessons/buckets/1004 If you've already purchased, you should now have an email from us letting you know how to get this update. If you haven't, and you want to know more, you can read all about revMobile here: https://secure.runrev.com/store/browse/?product=RVSLMBLE Remember you only have until the end of March now to purchase the special pre-order plus conference Simulcast/DVDs, these benefits will not be part of the package come April 1st. As always if you have any questions about purchasing, email us at support at runrev.com . Warm Regards, Heather Heather Nagey Customer Services Manager http://www.runrev.com/ RunRev - Software construction for everyone From m.schonewille at economy-x-talk.com Fri Mar 19 09:14:59 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 19 Mar 2010 14:14:59 +0100 Subject: [ANN] My first (iPhone) revlet is out in the cloud... In-Reply-To: <775DA1EB-9918-49AB-8E95-EC57283A4DE5@id.uzh.ch> References: <775DA1EB-9918-49AB-8E95-EC57283A4DE5@id.uzh.ch> Message-ID: <0BB69F1D-280F-456F-B6A1-173CC7D4B029@economy-x-talk.com> Hi Hans, I like your idea, but there are a few problems. I entered your name and saw a list of names during a fraction of a second. After that, I could still enter text, but no names appeared. I even reloaded the revlet, but that didn't help. If I press return or enter, the return character is added to the search field. The flash animation on the website is very Mac-unfriendly. Funny that we had more or less the same idea: http://economy-x-talk.com/iphonenc/ (Just a proof of concept, it isn't meant serious) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 19 mrt 2010, om 14:02 heeft Rolf Kocherhans het volgende geschreven: > I am pleased to announce that I have just released my first test > revlet into the open :-). > > > http://mobile.kangaroo.on-rev.com/ > > > Several weeks ago I started programming for the iPhone, like many I > was waiting for the alpha of revMobile to arrive, which now has :-). > > I thought I would make a revlet to test stuff I wanted to do, > because I > guessed, if it works on the web, it would hopefully work on the > iPhone as well. > > Also, if I get ready now with all the graphics etc. I will > be much faster when revMobile is ready for prime time :-). > > > The revlet I made accesses the phonebook directory from the > University where I work: > > http://www.phonebook.uzh.ch/ > > > I just parse the html returned from a query and display the info in > a nicer way. > > > PLEASE NOTE !!!!! > > - The revlet is only optimised for MacOSX (Fonts) it will work on > Windows, but does NOT look very nice ! > > - Everything is in German ! > > - The search routine starts after the 4th letter you enter. > > - On the person?s card, you can click onto the words "Bau or > Raum" (Working place) which then > downloads a picture of the location where the person works. > > - Alternatively you can click onto the address which lets Google > Maps search for the location. > > - Nifty is the last feature, which lets you export the contact info > directly INTO YOUR LOCAL Address Book !!! > > > > > This is my first revlet for the public .... > > > Do you like it ? > > > Cheers > Rolf From m.schonewille at economy-x-talk.com Fri Mar 19 09:21:46 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 19 Mar 2010 14:21:46 +0100 Subject: [ANN] My first (iPhone) revlet is out in the cloud... In-Reply-To: <0BB69F1D-280F-456F-B6A1-173CC7D4B029@economy-x-talk.com> References: <775DA1EB-9918-49AB-8E95-EC57283A4DE5@id.uzh.ch> <0BB69F1D-280F-456F-B6A1-173CC7D4B029@economy-x-talk.com> Message-ID: Hans, Just a quick note: a few minutes later now and it works again. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. > > Op 19 mrt 2010, om 14:02 heeft Rolf Kocherhans het volgende > geschreven: > >> I am pleased to announce that I have just released my first test >> revlet into the open :-). >> >> >> http://mobile.kangaroo.on-rev.com/ >> >> >> Several weeks ago I started programming for the iPhone, like many I >> was waiting for the alpha of revMobile to arrive, which now has :-). >> >> I thought I would make a revlet to test stuff I wanted to do, >> because I >> guessed, if it works on the web, it would hopefully work on the >> iPhone as well. From stephenREVOLUTION2 at barncard.com Fri Mar 19 09:51:30 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 19 Mar 2010 08:51:30 -0500 Subject: Possible virus warning In-Reply-To: <4BA31407.6090309@hyperactivesw.com> References: <12442503656.20100318225015@ahsoftware.net> <4BA31407.6090309@hyperactivesw.com> Message-ID: Look, what really creeped me out was 1. The messages had 4 ATTACHMENTS. That is not allowed here. Suddenly the message appears with them. 2. There were no normal headers indicating WHERE the email came from. 3. The name was unknown to me and it appeared as PERSONAL message to me. Scott, I think you diminish the possible seriousness of the situation. It turned out to be nothing. But how did it happen?? On 19 March 2010 01:04, J. Landman Gay wrote: > Mark Wieder wrote: > >> Scott- >> >> Thursday, March 18, 2010, 10:38:13 PM, you wrote: >> >> Dudes, come on. The guy wrote the list on 3/16 looking for help with Rev >>> and JADE. He probably tried to send along files he was working on by >>> mistake. As fun as it would be to uncover, there's no conspiracy here. >>> >> >> The message did *not* go to the list. OK - if I go back a couple of >> days I see the original query about JADE, but I don't know how to send >> an offlist message to everyone on the list personally. There's still >> something else at play here. >> >> > It's possible he just copied some email addresses from the list. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From pmbrig at gmail.com Fri Mar 19 08:15:37 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Fri, 19 Mar 2010 08:15:37 -0400 Subject: Cursor questions In-Reply-To: References: Message-ID: <22737BDB-1C6D-4711-89A9-9792A89E91D2@gmail.com> On Mar 18, 2010, at 6:56 PM, Sarah Reichelt wrote: >> Second, is it possible for me to detect that the mouse is over a >> link and change the cursor to something else (i.e. the hand icon/ >> cursor)? I know there's changes coming w/ 4.5 that look promising. >> I haven't bothered to download the developer preview as I really >> don't want to risk is, but if some of these concerns go away with >> 4.5 and someone can just email me them (instead of breaking NDA on >> the list), that'd be fine, too. (massung at gmail.com). > > This doesn't require 4.5, so no NDA conflict here. > > I put this in a card script and it seems to work fine: > > on mouseMove > if word 1 of the target = "field" then > if the textStyle of the mouseText contains "link" then > lock cursor > set the cursor to hand > else > unlock cursor > end if > end if > > pass mouseMove > end mouseMove I prefer to set the defaultcursor to hand or to empty instead of locking and setting the cursor. Whenever I've tried to use lock cursor I've ended up having intermittent frozen cursor problems. Also, you might want to put in a "if the locktext of the target then..." test, or you'll get the cursor changing over links in unlocked fields, and when the cursor changes to hand the user will think the link is clickable -- but it won't be. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pmbrig at gmail.com Fri Mar 19 08:29:30 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Fri, 19 Mar 2010 08:29:30 -0400 Subject: View scripts of my standalone? In-Reply-To: References: <20100316011249.DD86D2882DA@mail.runrev.com> <98D60AEF-0F06-4226-9625-1F7F74F2FEE8@clearvisiontech.com> <09FD2406-5FD4-4989-9AD6-0C9B85EDDC7A@kagi.com> <4BA0D9B7.70909@gmail.com> Message-ID: <69F998B4-B155-48BD-9B1D-CAF4A94400C1@gmail.com> On Mar 18, 2010, at 9:31 PM, Kay C Lan wrote: > And then..... AAAArrrgghhhhhh!!!!! A calendar she'd be working with, > the most important of half a dozen calendars, for some reason she > inexplicably deleted, at that was it, it was gone! She looked high and > low, but it was gone. She was almost in tears when she told me what > happened. So I pointed out the clock icon with the anti-clockwise > arrow around and the Enter Time Machine menu item.... and 5 min later > we had her calendar back. Time Machine has saved my sorry ass on several occasions. I have finally learned the hard way to back up obsessively. I LOOOOOVE Time Machine! (Or should that be "I LERRRRRRVE Time Machine"?) (Apologies to Woody Allen) -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From mfstuart at cox.net Fri Mar 19 11:17:18 2010 From: mfstuart at cox.net (Mark Stuart) Date: Fri, 19 Mar 2010 07:17:18 -0800 (PST) Subject: DataGrid - headerTextFont does not clear previous selection Message-ID: <1269011838536-1599511.post@n4.nabble.com> Hi all, OS: WinXP RunRev: 4.0 Build gm1 Anyone know why the DataGrid headerTextFont will not reset when BOTH the font names are cleared to empty? In my stack I allow the user to select the font name and size for the DataGrid. Currently it is set ABIGAIL (the first in the list of font names), and I'm trying to reset it to the default - whatever it is. I changed to to another font, which it changed to, but then when I cleared the selection, it went back to the ABIGAIL font. And how do I clear this font to a default? The stack font is Verdana 11. I know one option and that is to delete the DataGrid and add a new one - maybe. Regards, Mark Stuart -- View this message in context: http://n4.nabble.com/DataGrid-headerTextFont-does-not-clear-previous-selection-tp1599511p1599511.html Sent from the Revolution - User mailing list archive at Nabble.com. From massung at gmail.com Fri Mar 19 11:54:46 2010 From: massung at gmail.com (Jeffrey Massung) Date: Fri, 19 Mar 2010 10:54:46 -0500 Subject: Cursor questions In-Reply-To: <22737BDB-1C6D-4711-89A9-9792A89E91D2@gmail.com> References: <22737BDB-1C6D-4711-89A9-9792A89E91D2@gmail.com> Message-ID: <3BE3C33D-AA42-49B3-BF31-E2C8B5121928@gmail.com> After taking this to the next level and using my own image as a cursor... my cursor (a 16x16 imported PNG image) is turning into 100% white when I set the cursor to it. The shape is correct, but just all the colors are white. I can't find anything in the documentation about this. Any hints as to what I'm doing wrong? Jeff M. From Andre.Bisseret at inria.fr Fri Mar 19 12:03:09 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Fri, 19 Mar 2010 17:03:09 +0100 Subject: Cursor questions In-Reply-To: <22737BDB-1C6D-4711-89A9-9792A89E91D2@gmail.com> References: <22737BDB-1C6D-4711-89A9-9792A89E91D2@gmail.com> Message-ID: <8A8E29CB-C43F-423C-8741-44597CD78370@inria.fr> Bonjour, Le 19 mars 10 ? 13:15, Peter Brigham MD a ?crit : > > On Mar 18, 2010, at 6:56 PM, Sarah Reichelt wrote: > >>> Second, is it possible for me to detect that the mouse is over a >>> link and change the cursor to something else (i.e. the hand icon/ >>> cursor)? I know there's changes coming w/ 4.5 that look promising. >>> I haven't bothered to download the developer preview as I really >>> don't want to risk is, but if some of these concerns go away with >>> 4.5 and someone can just email me them (instead of breaking NDA on >>> the list), that'd be fine, too. (massung at gmail.com). >> >> This doesn't require 4.5, so no NDA conflict here. >> >> I put this in a card script and it seems to work fine: >> >> on mouseMove >> if word 1 of the target = "field" then >> if the textStyle of the mouseText contains "link" then >> lock cursor >> set the cursor to hand >> else >> unlock cursor >> end if >> end if >> >> pass mouseMove >> end mouseMove With browse tool choosen the handler above works perfectly, but not if pointer tool is choosen: in this case one gets errors (for the second "if" line). To avoid that,, seems that is necessary to include the case where the mouseText is empty. Something like the following: on mouseMove if word 1 of the target = "field" then if the mouseText = empty then unlock cursor else if the textStyle of the mouseText contains "link" then lock cursor set the cursor to hand else unlock cursor end if end if end if pass mouseMove end mouseMove By the way, generally I am using the following (thanks to the help of ?ric Chatonet) which include the case of buttons and which works well local tCode, --------------------- on mouseMove switch case "button" is in the target ShowHandCursor # break case the mouseText = empty --mouseText = empty -- important! unlock cursor break case "link" is in the textStyle of the mouseChunk ShowHandCursor # break default ResetCursor # end switch end mouseMove ------------------------------ on mouseLeave ResetCursor # end mouseLeave ------------------------------ on ShowHandCursor set the cursor to hand lock cursor end ShowHandCursor ------------------------------ on ResetCursor unlock cursor end ResetCursor > > I prefer to set the defaultcursor to hand or to empty instead of > locking and setting the cursor. Whenever I've tried to use lock > cursor I've ended up having intermittent frozen cursor problems. did not notice such issue, but well, I am going to pay attention to this > Also, you might want to put in a "if the locktext of the target > then..." test, or you'll get the cursor changing over links in > unlocked fields, and when the cursor changes to hand the user will > think the link is clickable -- but it won't be. > > -- Peter > Thank you Peter for this goog suggestion. I will keep it in mind if I have links in unlocked fields You seem very and rightly "user-orented" ;-)) Best regards from Grenoble Andr? From lists at mangomultimedia.com Fri Mar 19 12:03:24 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 19 Mar 2010 12:03:24 -0400 Subject: Cursor questions In-Reply-To: <3BE3C33D-AA42-49B3-BF31-E2C8B5121928@gmail.com> References: <22737BDB-1C6D-4711-89A9-9792A89E91D2@gmail.com> <3BE3C33D-AA42-49B3-BF31-E2C8B5121928@gmail.com> Message-ID: On Mar 19, 2010, at 11:54 AM, Jeffrey Massung wrote: > After taking this to the next level and using my own image as a > cursor... my cursor (a 16x16 imported PNG image) is turning into > 100% white when I set the cursor to it. The shape is correct, but > just all the colors are white. I can't find anything in the > documentation about this. > > Any hints as to what I'm doing wrong? http://lessons.runrev.com/spaces/lessons/buckets/784/lessons/6349-How-To-Create-a-Custom-Cursor -- 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 Fri Mar 19 12:05:18 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 19 Mar 2010 09:05:18 -0700 Subject: "there is a folder" not case sensitive In-Reply-To: References: Message-ID: <784EB3EC-9389-453A-A59E-799E257F6517@twft.com> I think the partition has to be formatted case sensitive. HFS+ has this option, as well as some UNIX formats if I am not mistaken. I have never seen a case sensitive Windows partition. Bob On Mar 19, 2010, at 5:53 AM, Sarah Reichelt wrote: > Hi All, > > Does anyone know a way to make "there is a folder" case sensitive? > I have tried setting the caseSensitive to true but that doesn't help. > > In this case, I have a list of folders from a case sensitive web site > and there are two folders with the same name but one has an upper case > letter. > While this is not an ideal situation, it's not something I can > dictate, but I have to be able to work with it. > At the moment, it looks like I have to write my own "there is a > folder" routine, unless anyone knows how to make it case-sensitive. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Fri Mar 19 12:11:50 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 19 Mar 2010 09:11:50 -0700 Subject: Possible virus warning In-Reply-To: References: Message-ID: That's common knowledge. What perhaps you didn't know is that they are THEM! You didn't hear that from me. Bob On Mar 18, 2010, at 10:38 PM, Scott Rossi wrote: > Now world governments covering up the existence of of extra terrestrial > life, THAT'S a conspiracy I can get behind... From bobs at twft.com Fri Mar 19 12:16:01 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 19 Mar 2010 09:16:01 -0700 Subject: View scripts of my standalone? In-Reply-To: References: <20100316011249.DD86D2882DA@mail.runrev.com> <98D60AEF-0F06-4226-9625-1F7F74F2FEE8@clearvisiontech.com> <09FD2406-5FD4-4989-9AD6-0C9B85EDDC7A@kagi.com> <4BA0D9B7.70909@gmail.com> Message-ID: <3D49DA99-D9C8-43C9-89E4-7593C9248C6D@twft.com> riiight. (wink wink) Bob On Mar 18, 2010, at 6:31 PM, Kay C Lan wrote: > PS My wife really doesn't nag, she's great. From bobs at twft.com Fri Mar 19 12:25:08 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 19 Mar 2010 09:25:08 -0700 Subject: View scripts of my standalone? In-Reply-To: <69F998B4-B155-48BD-9B1D-CAF4A94400C1@gmail.com> References: <20100316011249.DD86D2882DA@mail.runrev.com> <98D60AEF-0F06-4226-9625-1F7F74F2FEE8@clearvisiontech.com> <09FD2406-5FD4-4989-9AD6-0C9B85EDDC7A@kagi.com> <4BA0D9B7.70909@gmail.com> <69F998B4-B155-48BD-9B1D-CAF4A94400C1@gmail.com> Message-ID: <11D1B470-3C5E-428C-B13E-EDA44B4E1F3D@twft.com> I have used time machine to recover older versions of rev stacks where I had made a mistake and unknowingly deleted an object with a lot of scripting in it. Very nice feature to have. I will caution this however. When doing a FULL restore from a time machine backup, keep in mind it doesn't do everything. I had a local SQL server running and it totally missed that. Apparently there are certain directories it ignores by default. The one that the SQL data files resided in was apparently one of them. For full drive backup and restore may I suggest ChronoSync? Best dam backup program period IMHE. And only $40. Bob On Mar 19, 2010, at 5:29 AM, Peter Brigham MD wrote: > On Mar 18, 2010, at 9:31 PM, Kay C Lan wrote: > >> And then..... AAAArrrgghhhhhh!!!!! A calendar she'd be working with, >> the most important of half a dozen calendars, for some reason she >> inexplicably deleted, at that was it, it was gone! She looked high and >> low, but it was gone. She was almost in tears when she told me what >> happened. So I pointed out the clock icon with the anti-clockwise >> arrow around and the Enter Time Machine menu item.... and 5 min later >> we had her calendar back. > > Time Machine has saved my sorry ass on several occasions. I have finally learned the hard way to back up obsessively. I LOOOOOVE Time Machine! (Or should that be "I LERRRRRRVE Time Machine"?) (Apologies to Woody Allen) > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Fri Mar 19 12:35:48 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 19 Mar 2010 09:35:48 -0700 Subject: Possible virus warning In-Reply-To: <4BA31395.1040504@hyperactivesw.com> References: <4BA2FA4A.3040005@fourthworld.com> <111438151500.20100318213743@ahsoftware.net> <4BA31395.1040504@hyperactivesw.com> Message-ID: <151481236265.20100319093548@ahsoftware.net> Jacque- Thursday, March 18, 2010, 11:03:01 PM, you wrote: > I feel so neglected. I didn't get a copy. :( But just for the record, > this person wrote to the tech queue, is a user who is investigating Rev > for possible purchase, and asked about JADE communications. I told him I > wasn't familiar enough to answer but that we had some experts on the > list and the forums and suggested he post there. He did, on both. Let me point out again that the message did *not* go to this list. Looking at the email headers, it appears that I received it via bcc. It's possible that the listserv software couldn't handle that and bounced it to everyone, but that wouldn't explain why you *didn't* get a copy. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Fri Mar 19 12:41:36 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 19 Mar 2010 09:41:36 -0700 Subject: Possible virus warning Message-ID: <4BA3A940.2010103@fourthworld.com> Scott Rossi wrote: > Dudes, come on. The guy wrote the list on 3/16 looking for help with Rev > and JADE. I searched for "zeeshan" in the archives and came up empty. How did you find that post? > He probably tried to send along files he was working on by > mistake. I'm curious how that happened, of whether that's what happened. Apparently Jacque didn't get the email, so perhaps he sent it to a number of hand-picked addresses, and just forgot to explain that in his email. > As fun as it would be to uncover, there's no conspiracy here. > > Now world governments covering up the existence of of extra terrestrial > life, THAT'S a conspiracy I can get behind... Scott, I think you underestimate the scope of the RevMobile technology and its implications for interstellar migration. Not only are competing vendors of other high-level development tools threatened by this, but there's evidence from callers to AM Coast to Coast that some governments on this planet and elsewhere in the galaxy are concerned about the long-term effects of liberating so many people from ObjectiveC. ObjectiveC = OC = Operation Control, an intergalactic initiative to control the minds of sentient beings through mind-numbing bit-counting tasks like low-level programming languages. Don't you see it?!?!?! Connect the dots!!! ObjectiveC is people!! It's a cook book!!! Yes, the monsters are due on Maple Street.... :) -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From jimaultwins at yahoo.com Fri Mar 19 13:04:40 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 19 Mar 2010 10:04:40 -0700 Subject: "there is a folder" not case sensitive In-Reply-To: References: Message-ID: On Mar 19, 2010, at 5:53 AM, Sarah Reichelt wrote: > > Does anyone know a way to make "there is a folder" case sensitive? > I have tried setting the caseSensitive to true but that doesn't help. > > In this case, I have a list of folders from a case sensitive web site > and there are two folders with the same name but one has an upper case > letter. > While this is not an ideal situation, it's not something I can > dictate, but I have to be able to work with it. > At the moment, it looks like I have to write my own "there is a > folder" routine, unless anyone knows how to make it case-sensitive. I think that 'there is a folder' is a query to the operating system, thus not explicitly a Rev-controlled function. If the operating system sees "folderX" and "folderx" as the same, then 'there is a folder' will return true. My solution would be to get a list, then use "is among the lines", or "lineoffset" with caseSensitive as true. Jim Ault Las Vegas From jacque at hyperactivesw.com Fri Mar 19 13:57:27 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Mar 2010 12:57:27 -0500 Subject: Possible virus warning In-Reply-To: <151481236265.20100319093548@ahsoftware.net> References: <4BA2FA4A.3040005@fourthworld.com> <111438151500.20100318213743@ahsoftware.net> <4BA31395.1040504@hyperactivesw.com> <151481236265.20100319093548@ahsoftware.net> Message-ID: <4BA3BB07.2050104@hyperactivesw.com> Mark Wieder wrote: > > Let me point out again that the message did *not* go to this list. > Looking at the email headers, it appears that I received it via bcc. > It's possible that the listserv software couldn't handle that and > bounced it to everyone, but that wouldn't explain why you *didn't* get > a copy. > If you try to include an attachment to the list, the text part is sent to list members and the attachment is dropped silently. So it seems more likely that he picked a few people to send it to. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Mar 19 13:58:47 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Mar 2010 12:58:47 -0500 Subject: Possible virus warning In-Reply-To: <4BA3A940.2010103@fourthworld.com> References: <4BA3A940.2010103@fourthworld.com> Message-ID: <4BA3BB57.1080000@hyperactivesw.com> Richard Gaskin wrote: > > Don't you see it?!?!?! Connect the dots!!! ObjectiveC is people!! It's > a cook book!!! > > Yes, the monsters are due on Maple Street.... In that case we just send them out to the corn field. Problem solved. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andrew at rjdfarm.com Fri Mar 19 14:07:37 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Fri, 19 Mar 2010 10:07:37 -0800 (PST) Subject: Docking Redux In-Reply-To: References: <1268864194452-1597272.post@n4.nabble.com> Message-ID: <1269022057716-1599784.post@n4.nabble.com> I figured out a pretty decent way of doing it. I might revise it to include the get/setProp method, as this seems rather elegant compared to custom properties and a button full of handlers. Thank you. -- View this message in context: http://n4.nabble.com/Docking-Redux-tp1597272p1599784.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Fri Mar 19 14:06:59 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Mar 2010 13:06:59 -0500 Subject: [OT] Backing up (was: View scripts of my standalone?) In-Reply-To: <69F998B4-B155-48BD-9B1D-CAF4A94400C1@gmail.com> References: <20100316011249.DD86D2882DA@mail.runrev.com> <98D60AEF-0F06-4226-9625-1F7F74F2FEE8@clearvisiontech.com> <09FD2406-5FD4-4989-9AD6-0C9B85EDDC7A@kagi.com> <4BA0D9B7.70909@gmail.com> <69F998B4-B155-48BD-9B1D-CAF4A94400C1@gmail.com> Message-ID: <4BA3BD43.7050604@hyperactivesw.com> Peter Brigham MD wrote: > On Mar 18, 2010, at 9:31 PM, Kay C Lan wrote: > >> And then..... AAAArrrgghhhhhh!!!!! A calendar she'd be working with, >> the most important of half a dozen calendars, for some reason she >> inexplicably deleted, at that was it, it was gone! She looked high and >> low, but it was gone. She was almost in tears when she told me what >> happened. So I pointed out the clock icon with the anti-clockwise >> arrow around and the Enter Time Machine menu item.... and 5 min later >> we had her calendar back. > > Time Machine has saved my sorry ass on several occasions. I have finally > learned the hard way to back up obsessively. I LOOOOOVE Time Machine! I got an email from a client last week who was frantic because he'd tried a web-based backup system and it mangled his stacks. His data was hosed. He had trusted the system, so didn't have a separate backup, and he wanted to know if I could unmangle the data. As it turned out, the stacks weren't really bad, they only needed to be tweaked a little, so all was well. Then I mentioned that if he had Leopard and Time Machine, he should turn it on, it would save his butt. He wrote back and said that he had told me the same thing over a year ago, before I'd upgraded, and he'd recommended I get Leopard just for its backup features. We both blinked at each other across virtual space for a moment as we realized that he had his stacks all along. We'd both forgotten. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andrew at rjdfarm.com Fri Mar 19 14:09:36 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Fri, 19 Mar 2010 10:09:36 -0800 (PST) Subject: Win7 Close stack In-Reply-To: References: <1268945197554-1598597.post@n4.nabble.com> Message-ID: <1269022176539-1599789.post@n4.nabble.com> I will have to determine if I can truly get them back. I included the ability to toggle hiding/showing of menu palettes but I am not sure if I can bring them back after I have closed them completely with it. -- View this message in context: http://n4.nabble.com/Win7-Close-stack-tp1598597p1599789.html Sent from the Revolution - User mailing list archive at Nabble.com. From andrew at rjdfarm.com Fri Mar 19 14:38:18 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Fri, 19 Mar 2010 10:38:18 -0800 (PST) Subject: Possible virus warning In-Reply-To: <4BA3A940.2010103@fourthworld.com> References: <80F6AE42-E7B8-44B8-8CA8-63ABD0144B62@gmail.com> <4BA3A940.2010103@fourthworld.com> Message-ID: <1269023898033-1599827.post@n4.nabble.com> /me fetches tin foil hat oh noes! -- View this message in context: http://n4.nabble.com/Possible-virus-warning-tp1598918p1599827.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Fri Mar 19 14:44:34 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 19 Mar 2010 11:44:34 -0700 Subject: Possible virus warning Message-ID: <4BA3C612.3090907@fourthworld.com> Andrew Kluthe wrote: > /me fetches tin foil hat > > oh noes! Be careful: researchers at MIT performed a study on the effectiveness of tin foil hats, and concluded that they may be part of the conspiracy: On the Effectiveness of Aluminium Foil Helmets: An Empirical Study :) -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From mwieder at ahsoftware.net Fri Mar 19 15:38:50 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 19 Mar 2010 12:38:50 -0700 Subject: Possible virus warning In-Reply-To: <4BA3C612.3090907@fourthworld.com> References: <4BA3C612.3090907@fourthworld.com> Message-ID: <90492218718.20100319123850@ahsoftware.net> Richard- Friday, March 19, 2010, 11:44:34 AM, you wrote: > On the Effectiveness of Aluminium Foil Helmets: > An Empirical Study > Thanks - I saw that on boingboing a while back and had completely forgotten about it -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Fri Mar 19 15:53:24 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 19 Mar 2010 21:53:24 +0200 Subject: Possible virus warning In-Reply-To: <90492218718.20100319123850@ahsoftware.net> References: <4BA3C612.3090907@fourthworld.com> <90492218718.20100319123850@ahsoftware.net> Message-ID: <4BA3D634.2000107@gmail.com> On 19/03/2010 21:38, Mark Wieder wrote: > Richard- > > Friday, March 19, 2010, 11:44:34 AM, you wrote: > >> On the Effectiveness of Aluminium Foil Helmets: >> An Empirical Study >> > Thanks - I saw that on boingboing a while back and had completely > forgotten about it > Smug b*ggers like me check the RunRev Use-list via a Mac or a Linux box so any viruses out there will just lie around on one's hard drive and do nothing either interesting or harmful. As Linux costs nothing and one can get hold of a second-hand PC for next to nothing (street prices in Bulgaria currently running at: P3 = EUR25, 17" VDU = EUR25) it behooves everyone (gosh; I've been longing for an excuse to use that awkward verb for ages) to "rush out and buy one" for 2 very good reasons: 1. One can check one's e-mail without getting twitched to the eyeballs about viruses. 2. One prevents an old PC ending in a landfill and transmitting filthy pollution into the atmosphere. Probably a better bet than Aluminium Foil: mind you; one of these might be a good idea: http://prettyfrank.wordpress.com/2008/04/10/my-official-devo-energy-dome/ especially if you are suddenly hit with the urge to devolve into a potato . . . ) From richmondmathewson at gmail.com Fri Mar 19 15:56:02 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 19 Mar 2010 21:56:02 +0200 Subject: Possible virus warning In-Reply-To: <4BA3A940.2010103@fourthworld.com> References: <4BA3A940.2010103@fourthworld.com> Message-ID: <4BA3D6D2.4000506@gmail.com> On 19/03/2010 18:41, Richard Gaskin wrote: > > Scott, I think you underestimate the scope of the RevMobile technology > and its implications for interstellar migration. Some people seem to know all about that already: http://www.himalayanacademy.com/resources/books/ls/ From bobs at twft.com Fri Mar 19 16:07:54 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 19 Mar 2010 13:07:54 -0700 Subject: Possible virus warning In-Reply-To: <4BA3D634.2000107@gmail.com> References: <4BA3C612.3090907@fourthworld.com> <90492218718.20100319123850@ahsoftware.net> <4BA3D634.2000107@gmail.com> Message-ID: <28D826BD-03C2-4F9C-89D6-BD10F85D5D9D@twft.com> Aye, but no one to date has found an efficient way to put an old PC on one's head and have it stay there for long. Every solution has it's limitations. Bob On Mar 19, 2010, at 12:53 PM, Richmond Mathewson wrote: > As Linux costs nothing and one can get hold of a second-hand PC for next to nothing > (street prices in Bulgaria currently running at: P3 = EUR25, 17" VDU = EUR25) it behooves > everyone (gosh; I've been longing for an excuse to use that awkward verb for ages) > to "rush out and buy one" for 2 very good reasons: > > 1. One can check one's e-mail without getting twitched to the eyeballs about viruses. > > 2. One prevents an old PC ending in a landfill and transmitting filthy pollution into the > atmosphere. > > Probably a better bet than Aluminium Foil: mind you; one of these might be a good idea: From richmondmathewson at gmail.com Fri Mar 19 16:21:48 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 19 Mar 2010 22:21:48 +0200 Subject: Possible virus warning In-Reply-To: <28D826BD-03C2-4F9C-89D6-BD10F85D5D9D@twft.com> References: <4BA3C612.3090907@fourthworld.com> <90492218718.20100319123850@ahsoftware.net> <4BA3D634.2000107@gmail.com> <28D826BD-03C2-4F9C-89D6-BD10F85D5D9D@twft.com> Message-ID: <4BA3DCDC.6090809@gmail.com> On 19/03/2010 22:07, Bob Sneidar wrote: > Aye, but no one to date has found an efficient way to put an old PC on one's head and have it stay there for long. Every solution has it's limitations. At least one chap has tried it: http://web.archive.org/web/20070928072657/jef.raskincenter.org/home/index.html and; joking apart: an A9 Home is little bigger than a packet of cigarettes (and probably better for your lungs): http://www.bapfish.org.uk/acorn/a9home.html there are some pretty small (admittedly not second-hand) PCs around. > Bob > > > On Mar 19, 2010, at 12:53 PM, Richmond Mathewson wrote: > >> As Linux costs nothing and one can get hold of a second-hand PC for next to nothing >> (street prices in Bulgaria currently running at: P3 = EUR25, 17" VDU = EUR25) it behooves >> everyone (gosh; I've been longing for an excuse to use that awkward verb for ages) >> to "rush out and buy one" for 2 very good reasons: >> >> 1. One can check one's e-mail without getting twitched to the eyeballs about viruses. >> >> 2. One prevents an old PC ending in a landfill and transmitting filthy pollution into the >> atmosphere. >> >> Probably a better bet than Aluminium Foil: mind you; one of these might be a good idea: > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jerry.daniels at me.com Fri Mar 19 16:38:10 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Fri, 19 Mar 2010 15:38:10 -0500 Subject: [ANN] tRev fetches object names during transparent inspection! Message-ID: <7F53BE50-6FA0-4B2A-B26F-F71E4E62D27B@me.com> Fellow Revolutionistas, We have a new video posted on our site, and a new version of tRev available for download today. Check it out: http://reveditor.com/fetch-object-name-during-transparent-inspecti Here's an overview of today's new features: - Transparent Inspection will now fetch an object name * Control+space will fetch long name of object * Shift+control+space will fetch short name * If source code field is visible, fetched object name is insertedinto code * If no code showing, then fetched object name is saved to clipboard - tRev immune to socket closure by Rev IDE and plugins (even resetAll) - tRev works offline; even after opening the Rev dictionary - Decoder variable data with long strings no longer overwrites lines - Decoder var data now limited in length only by available memory - Hit escape really fast to close tabs. No problem. You can now download and use tRev for seven days without a reg code. Download links in the video post references above. Best, Jerry Daniels http://danielsmara.com From niggemann at uni-wh.de Fri Mar 19 17:00:24 2010 From: niggemann at uni-wh.de (BNig) Date: Fri, 19 Mar 2010 13:00:24 -0800 (PST) Subject: Possible virus warning In-Reply-To: <4BA3DCDC.6090809@gmail.com> References: <80F6AE42-E7B8-44B8-8CA8-63ABD0144B62@gmail.com> <4BA3C612.3090907@fourthworld.com> <90492218718.20100319123850@ahsoftware.net> <4BA3D634.2000107@gmail.com> <28D826BD-03C2-4F9C-89D6-BD10F85D5D9D@twft.com> <4BA3DCDC.6090809@gmail.com> Message-ID: <1269032424815-1610395.post@n4.nabble.com> I just had a look at: http://www.nabble.com/-td2294.html#a2297 the nabble version of the list. That looks very unusual regards Bernd -- View this message in context: http://n4.nabble.com/Possible-virus-warning-tp1598918p1610395.html Sent from the Revolution - User mailing list archive at Nabble.com. From niggemann at uni-wh.de Fri Mar 19 17:04:43 2010 From: niggemann at uni-wh.de (BNig) Date: Fri, 19 Mar 2010 13:04:43 -0800 (PST) Subject: Possible virus warning In-Reply-To: <1269032424815-1610395.post@n4.nabble.com> References: <80F6AE42-E7B8-44B8-8CA8-63ABD0144B62@gmail.com> <4BA3C612.3090907@fourthworld.com> <90492218718.20100319123850@ahsoftware.net> <4BA3D634.2000107@gmail.com> <28D826BD-03C2-4F9C-89D6-BD10F85D5D9D@twft.com> <4BA3DCDC.6090809@gmail.com> <1269032424815-1610395.post@n4.nabble.com> Message-ID: <1269032683485-1611247.post@n4.nabble.com> Actually I was entering http://www.nabble.com/Revolution---User-f2297.html and it was automatically changed to http://www.nabble.com/-td2294.html#a2297 something fishy is going on regards Bernd -- View this message in context: http://n4.nabble.com/Possible-virus-warning-tp1598918p1611247.html Sent from the Revolution - User mailing list archive at Nabble.com. From Stgoldberg at aol.com Fri Mar 19 17:09:34 2010 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Fri, 19 Mar 2010 17:09:34 EDT Subject: Cursor questions Message-ID: <27694.243ca6c.38d5420e@aol.com> Here are the directions for producing cursors for Revolution that won't come out white: 1. Open Photoshop. Name the image, Mode being RGB color, Background Transparent, and width and height 16 pixels. 2. Change Image/Mode to Indexed Color, using the defaults for indexed color (Palette: Exact; Forced: Web; Transparency checked; Matte: none) 3. With image maximally magnified, used the pencil tool to insert black or white pixels. Enclosed areas can be filled with white or black if desired and pixels can be erased if desired. 4. Save as PNG. 5. Bring the PNG image into Revolution and note it's ID number (it may be 1003 for instance). 6. In the script to call the cursor write: on mouseUp set lockcursor to true set the cursor to 1003 -- if that's the ID number end mouseUp All cursors should show up fine on both Mac and Windows. (I used Mac OS X with Revolution 2.7 in development) It is interesting that sometimes there can be two identical pictures in Photoshop, one of which will show up cursors correctly and the other will show up only a white square or a black filled image, even though all the parameters in Photoshop seem to be the same!! I don't know why this should be the case but it implies that there is something different about the two images even if not apparent. This can be easily corrected either by creating a new Photoshop 16x16 document, carefully duplicating the pixels of the defective image, or more simply, just pasting the defective image into the new Photoshop document. The cursors should then appear fine. If you would like a group of many new cursors produced this way, let me know and I'll be glad to send them. Stephen Goldberg stgoldberg at aol.com In a message dated 3/19/10 12:05:36 PM, use-revolution-request at lists.runrev.com writes: > From: Jeffrey Massung > Subject: Re: Cursor questions > To: How to use Revolution > Message-ID: <3BE3C33D-AA42-49B3-BF31-E2C8B5121928 at gmail.com> > Content-Type: text/plain; charset=us-ascii > > After taking this to the next level and using my own image as a cursor... > my cursor (a 16x16 imported PNG image) is turning into 100% white when I > set the cursor to it. The shape is correct, but just all the colors are > white. I can't find anything in the documentation about this. > > Any hints as to what I'm doing wrong? > > From mwieder at ahsoftware.net Fri Mar 19 17:12:03 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 19 Mar 2010 14:12:03 -0700 Subject: Possible virus warning In-Reply-To: <1269032683485-1611247.post@n4.nabble.com> References: <80F6AE42-E7B8-44B8-8CA8-63ABD0144B62@gmail.com> <4BA3C612.3090907@fourthworld.com> <90492218718.20100319123850@ahsoftware.net> <4BA3D634.2000107@gmail.com> <28D826BD-03C2-4F9C-89D6-BD10F85D5D9D@twft.com> <4BA3DCDC.6090809@gmail.com> <1269032424815-1610395.post@n4.nabble.com> <1269032683485-1611247.post@n4.nabble.com> Message-ID: <3497811453.20100319141203@ahsoftware.net> Bernd- Try http://old.nabble.com/Revolution---User-f2297.html -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Fri Mar 19 17:19:11 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 19 Mar 2010 23:19:11 +0200 Subject: Possible virus warning In-Reply-To: <1269032683485-1611247.post@n4.nabble.com> References: <80F6AE42-E7B8-44B8-8CA8-63ABD0144B62@gmail.com> <4BA3C612.3090907@fourthworld.com> <90492218718.20100319123850@ahsoftware.net> <4BA3D634.2000107@gmail.com> <28D826BD-03C2-4F9C-89D6-BD10F85D5D9D@twft.com> <4BA3DCDC.6090809@gmail.com> <1269032424815-1610395.post@n4.nabble.com> <1269032683485-1611247.post@n4.nabble.com> Message-ID: <4BA3EA4F.2050002@gmail.com> On 19/03/2010 23:04, BNig wrote: > Actually I was entering > http://www.nabble.com/Revolution---User-f2297.html > and it was automatically changed to > http://www.nabble.com/-td2294.html#a2297 > something fishy is going on > regards > Bernd Russian mafia? Something about technology and Ingushetia . . . ? From niggemann at uni-wh.de Fri Mar 19 17:32:24 2010 From: niggemann at uni-wh.de (BNig) Date: Fri, 19 Mar 2010 13:32:24 -0800 (PST) Subject: Possible virus warning In-Reply-To: <3497811453.20100319141203@ahsoftware.net> References: <80F6AE42-E7B8-44B8-8CA8-63ABD0144B62@gmail.com> <4BA3C612.3090907@fourthworld.com> <90492218718.20100319123850@ahsoftware.net> <4BA3D634.2000107@gmail.com> <28D826BD-03C2-4F9C-89D6-BD10F85D5D9D@twft.com> <4BA3DCDC.6090809@gmail.com> <1269032424815-1610395.post@n4.nabble.com> <1269032683485-1611247.post@n4.nabble.com> <3497811453.20100319141203@ahsoftware.net> Message-ID: <1269034344710-1616055.post@n4.nabble.com> Mark Wieder wrote: > > Bernd- > > Try > > http://old.nabble.com/Revolution---User-f2297.html > > -- > -Mark Wieder > mwieder at ahsoftware.net > that works, thank you still something is going on... regards Bernd -- View this message in context: http://n4.nabble.com/Possible-virus-warning-tp1598918p1616055.html Sent from the Revolution - User mailing list archive at Nabble.com. From niggemann at uni-wh.de Fri Mar 19 17:37:39 2010 From: niggemann at uni-wh.de (BNig) Date: Fri, 19 Mar 2010 13:37:39 -0800 (PST) Subject: Possible virus warning In-Reply-To: <4BA3EA4F.2050002@gmail.com> References: <80F6AE42-E7B8-44B8-8CA8-63ABD0144B62@gmail.com> <4BA3C612.3090907@fourthworld.com> <90492218718.20100319123850@ahsoftware.net> <4BA3D634.2000107@gmail.com> <28D826BD-03C2-4F9C-89D6-BD10F85D5D9D@twft.com> <4BA3DCDC.6090809@gmail.com> <1269032424815-1610395.post@n4.nabble.com> <1269032683485-1611247.post@n4.nabble.com> <4BA3EA4F.2050002@gmail.com> Message-ID: <1269034659860-1616810.post@n4.nabble.com> Richmond Mathewson-2 wrote: > > On 19/03/2010 23:04, BNig wrote: >> Actually I was entering >> http://www.nabble.com/Revolution---User-f2297.html >> and it was automatically changed to >> http://www.nabble.com/-td2294.html#a2297 >> something fishy is going on >> regards >> Bernd > > Russian mafia? > > Something about technology and Ingushetia . . . ? maybe they like the name of our favorite xTalk tool ;-) regards Bernd -- View this message in context: http://n4.nabble.com/Possible-virus-warning-tp1598918p1616810.html Sent from the Revolution - User mailing list archive at Nabble.com. From shani.runrev at gmail.com Fri Mar 19 18:01:26 2010 From: shani.runrev at gmail.com (zeeshan aamir) Date: Fri, 19 Mar 2010 23:01:26 +0100 Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 Message-ID: Hay to all, I want to communicate the JADE (NetBeans IDE 6.8 (Build 200912041610) ) and RunRev (Rev Studio Build 950 Version 4.0.0) with each other through Socket Programming. *Product Version:* NetBeans IDE 6.8 (Build 200912041610) *Java:* 1.6.0_18; Java HotSpot(TM) Client VM 16.0-b13 *System:* Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) *Rev Studio* Build 950 Version 4.0.0 RunRev and JADE are installed on same computer. Kindly Guide me some links where I find the examples how they both communicate with each other. I am beginner at this time of RunRev. I have simple program in JADE ?????????????????????????????????? //Code for Server.java (JADE) package Server; import java.io.DataInputStream; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; public class Server { public static void main (String[] args) throws IOException{ ServerSocket server=new ServerSocket(6800); System.out.println("Server Started"); Socket client= server.accept(); DataInputStream in= new DataInputStream(client.getInputStream()); System.out.println("Client Syas: " + in.readUTF()); } } ................................................................................................. /7code for client Socket. (JADE) package Cleint; import java.io.DataOutputStream; import java.io.IOException; import java.net.Socket; public class Cleint { public static void main (String[] args) throws IOException { Socket client= new Socket("localhost",6800); System.out.println("Connected to server"); DataOutputStream out = new DataOutputStream(client.getOutputStream()); out.writeUTF ("AllowServer"); } } ..................................................................... *RunRev* Main function StackPath local tPath -- put the effective filename of this stack into tPath set the itemDelimiter to slash delete item -1 of tPath -- return tPath end StackPath //////////////////////////////////////////// *For Server Communication Button in Rev* on mouseUp local tDefaultFolder, tResult -- put the defaultFolder into tDefaultFolder set the defaultFolder to StackPath() -- put shell("Server 6800") into tResult -- set the defaultFolder to tDefaultFolder answer tResult end mouseUp * Clinet button coading in Rev * on mouseUp local tDefaultFolder, tProcess -- put the defaultFolder into tDefaultFolder set the defaultFolder to StackPath() -- put "Client" into tProcess open process tProcess for neither -- set the defaultFolder to tDefaultFolder end mouseUp ????????????????????????.. I am very thankful to you for this kindness in advice. Kindly reply me on your earliest. Regards, shani From shani.runrev at gmail.com Fri Mar 19 18:05:08 2010 From: shani.runrev at gmail.com (zeeshan aamir) Date: Fri, 19 Mar 2010 23:05:08 +0100 Subject: Possible virus warning In-Reply-To: <1269034659860-1616810.post@n4.nabble.com> References: <80F6AE42-E7B8-44B8-8CA8-63ABD0144B62@gmail.com> <4BA3C612.3090907@fourthworld.com> <90492218718.20100319123850@ahsoftware.net> <4BA3D634.2000107@gmail.com> <28D826BD-03C2-4F9C-89D6-BD10F85D5D9D@twft.com> <4BA3DCDC.6090809@gmail.com> <1269032424815-1610395.post@n4.nabble.com> <1269032683485-1611247.post@n4.nabble.com> <4BA3EA4F.2050002@gmail.com> <1269034659860-1616810.post@n4.nabble.com> Message-ID: Hay to all, This is not Virus, any way if you think that this is Virus then its your choice dont open. But any how this is not Virus. I am beginner or Rev and want cummunicate REV and JADE through Socket Programming so thats why i send the image which shows the detail how they cummincate each other. Regards, Aamir On Fri, Mar 19, 2010 at 10:37 PM, BNig wrote: > > > Richmond Mathewson-2 wrote: > > > > On 19/03/2010 23:04, BNig wrote: > >> Actually I was entering > >> http://www.nabble.com/Revolution---User-f2297.html > >> and it was automatically changed to > >> http://www.nabble.com/-td2294.html#a2297 > >> something fishy is going on > >> regards > >> Bernd > > > > Russian mafia? > > > > Something about technology and Ingushetia . . . ? > > maybe they like the name of our favorite xTalk tool ;-) > regards > Bernd > -- > View this message in context: > http://n4.nabble.com/Possible-virus-warning-tp1598918p1616810.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Fri Mar 19 18:37:36 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 19 Mar 2010 15:37:36 -0700 Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: References: Message-ID: <11502945031.20100319153736@ahsoftware.net> zeeshan- Friday, March 19, 2010, 3:01:26 PM, you wrote: > put shell("Server 6800") into tResult Unless you've somehow compiled "Server" as an executable binary file, you'll need to launch it as put shell("java Server") into tResult otherwise you'll end up with something in tResult like "'Server' is not recognized as an internal or external command, operable program or batch file." -- -Mark Wieder mwieder at ahsoftware.net From m.schonewille at economy-x-talk.com Fri Mar 19 18:42:47 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 19 Mar 2010 23:42:47 +0100 Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: <11502945031.20100319153736@ahsoftware.net> References: <11502945031.20100319153736@ahsoftware.net> Message-ID: <4E1F6BC0-1907-4CA6-B198-1CE8CC7DFCFD@economy-x-talk.com> Mark, It is not even clear to me whether this thing should even run on the same computer as the RunRev-based "client". I have been having some e- mail chitchat with Zeeshan, but a lot of info is still missing. The shell function might not work. If it did work, I'd think that the project doesn't need Java and could be done entirely in Rev. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 19 mrt 2010, om 23:37 heeft Mark Wieder het volgende geschreven: > zeeshan- > > Friday, March 19, 2010, 3:01:26 PM, you wrote: > >> put shell("Server 6800") into tResult > > Unless you've somehow compiled "Server" as an executable binary file, > you'll need to launch it as > > put shell("java Server") into tResult > > otherwise you'll end up with something in tResult like "'Server' is > not recognized as an internal or external command, operable program or > batch file." > > -- > -Mark Wieder > mwieder at ahsoftware.net From shani.runrev at gmail.com Fri Mar 19 18:54:59 2010 From: shani.runrev at gmail.com (zeeshan aamir) Date: Fri, 19 Mar 2010 23:54:59 +0100 Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: <11502945031.20100319153736@ahsoftware.net> References: <11502945031.20100319153736@ahsoftware.net> Message-ID: Hi Mark, Thanks, I test with this changes in command ( put shell("Server 6800") into tResult) this command will work but it gives this error. java.lang.NoClassDefFoundError: Server (wrong name: Server/Server) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) Could not find the main class: Server. Program will exit.Exception in thread "main" Is it problem that this code is in JADE(Netbeans) and not work in simple Java. //Code for Server.java (JADE) package Server; import java.io.DataInputStream; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; public class Server { public static void main (String[] args) throws IOException{ ServerSocket server=new ServerSocket(6800); System.out.println("Server Started"); Socket client= server.accept(); DataInputStream in= new DataInputStream(client.getInputStream()); System.out.println("Client Syas: " + in.readUTF()); } } ................................................................................................. /7code for client Socket. (JADE) package Cleint; import java.io.DataOutputStream; import java.io.IOException; import java.net.Socket; public class Cleint { public static void main (String[] args) throws IOException { Socket client= new Socket("localhost",6800); System.out.println("Connected to server"); DataOutputStream out = new DataOutputStream(client.getOutputStream()); out.writeUTF ("AllowServer"); } } ..................................................................... Regards, Shani On Fri, Mar 19, 2010 at 11:37 PM, Mark Wieder wrote: > zeeshan- > > Friday, March 19, 2010, 3:01:26 PM, you wrote: > > > put shell("Server 6800") into tResult > > Unless you've somehow compiled "Server" as an executable binary file, > you'll need to launch it as > > put shell("java Server") into tResult > > otherwise you'll end up with something in tResult like "'Server' is > not recognized as an internal or external command, operable program or > batch file." > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Fri Mar 19 19:01:01 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 19 Mar 2010 16:01:01 -0700 Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: <4E1F6BC0-1907-4CA6-B198-1CE8CC7DFCFD@economy-x-talk.com> References: <11502945031.20100319153736@ahsoftware.net> <4E1F6BC0-1907-4CA6-B198-1CE8CC7DFCFD@economy-x-talk.com> Message-ID: <13504349218.20100319160101@ahsoftware.net> Mark- Friday, March 19, 2010, 3:42:47 PM, you wrote: > project doesn't need Java and could be done entirely in Rev. That's certainly true, but I thought the idea was a proof of concept thing for runrev <-> java communications. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Mar 19 19:08:38 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 19 Mar 2010 16:08:38 -0700 Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: References: <11502945031.20100319153736@ahsoftware.net> Message-ID: <9504806953.20100319160838@ahsoftware.net> zeeshan- Friday, March 19, 2010, 3:54:59 PM, you wrote: Why are you trying to launch the server app from runrev? Why not just use JADE to launch the server, then have the rev app communicate with it? -- -Mark Wieder mwieder at ahsoftware.net From shani.runrev at gmail.com Fri Mar 19 19:32:31 2010 From: shani.runrev at gmail.com (zeeshan aamir) Date: Sat, 20 Mar 2010 00:32:31 +0100 Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: <9504806953.20100319160838@ahsoftware.net> References: <11502945031.20100319153736@ahsoftware.net> <9504806953.20100319160838@ahsoftware.net> Message-ID: how? can you guide me in brief, please. Regards, shani On Sat, Mar 20, 2010 at 12:08 AM, Mark Wieder wrote: > zeeshan- > > Friday, March 19, 2010, 3:54:59 PM, you wrote: > > Why are you trying to launch the server app from runrev? Why not just > use JADE to launch the server, then have the rev app communicate with > it? > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarah.reichelt at gmail.com Fri Mar 19 19:37:22 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 20 Mar 2010 09:37:22 +1000 Subject: Possible virus warning In-Reply-To: References: <80F6AE42-E7B8-44B8-8CA8-63ABD0144B62@gmail.com> <90492218718.20100319123850@ahsoftware.net> <4BA3D634.2000107@gmail.com> <28D826BD-03C2-4F9C-89D6-BD10F85D5D9D@twft.com> <4BA3DCDC.6090809@gmail.com> <1269032424815-1610395.post@n4.nabble.com> <1269032683485-1611247.post@n4.nabble.com> <4BA3EA4F.2050002@gmail.com> <1269034659860-1616810.post@n4.nabble.com> Message-ID: On Sat, Mar 20, 2010 at 8:05 AM, zeeshan aamir wrote: > Hay to all, > > This is not Virus, any way if you think that this is Virus then its your > choice dont open. > But any how this is not Virus. > I am beginner or Rev ?and want cummunicate REV and JADE through Socket > Programming so thats why i send the image which shows the detail how they > cummincate each other. The issue here is that attachments are not permitted on the list. So it appears that you picked a bunch of email addresses from the list and BCC'd your queries to them personally - myself included. While I have no problem with your screen shots, there is no way that I am ever going to open a file called test.tar unless I have been expecting it. I also don't mind getting off-list queries, but not anonymously and not with unsolicited attachments. A better way of dealing with such issues is to post your scripts directly to the list while putting screen shots online and providing a link to them in the email. On to your actual question: if you look in the Revolution Resource Center, in the Sample Projects section you will see one called Internet Chat that demonstrates the use of sockets. I know nothing about JADE but maybe this will help you. Cheers, Sarah From sarah.reichelt at gmail.com Fri Mar 19 19:39:26 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 20 Mar 2010 09:39:26 +1000 Subject: "there is a folder" not case sensitive In-Reply-To: References: Message-ID: On Sat, Mar 20, 2010 at 3:04 AM, Jim Ault wrote: > On Mar 19, 2010, at 5:53 AM, Sarah Reichelt wrote: >> >> Does anyone know a way to make "there is a folder" case sensitive? >> I have tried setting the caseSensitive to true but that doesn't help. >> >> In this case, I have a list of folders from a case sensitive web site >> and there are two folders with the same name but one has an upper case >> letter. >> While this is not an ideal situation, it's not something I can >> dictate, but I have to be able to work with it. >> At the moment, it looks like I have to write my own "there is a >> folder" routine, unless anyone knows how to make it case-sensitive. > > I think that 'there is a folder' is a query to the operating system, thus > not explicitly a Rev-controlled function. ?If the operating system sees > "folderX" and "folderx" as the same, then 'there is a folder' will return > true. The operating system sees them as different, but if I need both and only have "folderX", then checking for the existence of "folderx" will still return true. > My solution would be to get a list, then use "is among the lines", or > "lineoffset" with caseSensitive as true. Yes, I think this is the best way to go. Thanks Jim & Bob for your help. Cheers, Sarah From shani.runrev at gmail.com Fri Mar 19 19:43:21 2010 From: shani.runrev at gmail.com (zeeshan aamir) Date: Sat, 20 Mar 2010 00:43:21 +0100 Subject: Possible virus warning In-Reply-To: References: <80F6AE42-E7B8-44B8-8CA8-63ABD0144B62@gmail.com> <4BA3D634.2000107@gmail.com> <28D826BD-03C2-4F9C-89D6-BD10F85D5D9D@twft.com> <4BA3DCDC.6090809@gmail.com> <1269032424815-1610395.post@n4.nabble.com> <1269032683485-1611247.post@n4.nabble.com> <4BA3EA4F.2050002@gmail.com> <1269034659860-1616810.post@n4.nabble.com> Message-ID: thanks sara On Sat, Mar 20, 2010 at 12:37 AM, Sarah Reichelt wrote: > On Sat, Mar 20, 2010 at 8:05 AM, zeeshan aamir > wrote: > > Hay to all, > > > > This is not Virus, any way if you think that this is Virus then its your > > choice dont open. > > But any how this is not Virus. > > I am beginner or Rev and want cummunicate REV and JADE through Socket > > Programming so thats why i send the image which shows the detail how they > > cummincate each other. > > > The issue here is that attachments are not permitted on the list. So > it appears that you picked a bunch of email addresses from the list > and BCC'd your queries to them personally - myself included. > While I have no problem with your screen shots, there is no way that I > am ever going to open a file called test.tar unless I have been > expecting it. > I also don't mind getting off-list queries, but not anonymously and > not with unsolicited attachments. > > A better way of dealing with such issues is to post your scripts > directly to the list while putting screen shots online and providing a > link to them in the email. > > On to your actual question: if you look in the Revolution Resource > Center, in the Sample Projects section you will see one called > Internet Chat that demonstrates the use of sockets. I know nothing > about JADE but maybe this will help you. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From coiin at verizon.net Fri Mar 19 19:52:39 2010 From: coiin at verizon.net (Colin Holgate) Date: Fri, 19 Mar 2010 19:52:39 -0400 Subject: revmobile looking good Message-ID: <6292F579-E8FC-4C82-ACF4-46AE435007EA@verizon.net> I've been getting the builds, and testing the same stack each time (this one: http://xfiles.funnygarbage.com/~colinholgate/rev/testtrack.html ), and it hasn't been going quite right, the cars would jitter around the place instead of going around the track. I didn't look into it too much because I also wasn't able to build to my iPhone, I was getting some sort of provisioning error in XCode. Anyway, the new build runs correctly in the iPhone Simulator, and so I also figured out the provisioning issue, and have it running on my phone too. Knowing how my stack does its thing, I wonder if older builds were JPEG compressing images, and now it's RLE compressing images? That difference would explain the behavior. Meanwhile, would it be possible to include iPad in the Simulator choices? That script is password protected, so I can't go in and try adding that myself. From mwieder at ahsoftware.net Fri Mar 19 20:05:30 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 19 Mar 2010 17:05:30 -0700 Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: References: <11502945031.20100319153736@ahsoftware.net> <9504806953.20100319160838@ahsoftware.net> Message-ID: <38508219000.20100319170530@ahsoftware.net> zeeshan- Friday, March 19, 2010, 4:32:31 PM, you wrote: > how? You've already got the server code in JADE... assuming both are on the same computer and you're still using port 6800 on the server, in a runrev button put the script: on mouseUp open socket "localhost:6800" with message "socketConnected" write "hello, server" & cr to socket "localhost:6800" end mouseUp on socketConnected put "connected to server!" end socketConnected If they're on different machines then change "localhost" to "192.168.0.101" or whatever the ip address of the server is. -- -Mark Wieder mwieder at ahsoftware.net From m.schonewille at economy-x-talk.com Fri Mar 19 20:10:47 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 20 Mar 2010 01:10:47 +0100 Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: <38508219000.20100319170530@ahsoftware.net> References: <11502945031.20100319153736@ahsoftware.net> <9504806953.20100319160838@ahsoftware.net> <38508219000.20100319170530@ahsoftware.net> Message-ID: <401C6D4B-A4F0-4AFC-AC7A-8015847280A4@economy-x-talk.com> Hi, I already told him exactly the same off-list, because he asked me about it directly. Zeeshan, please reply my e-mail. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 20 mrt 2010, om 01:05 heeft Mark Wieder het volgende geschreven: > zeeshan- > > Friday, March 19, 2010, 4:32:31 PM, you wrote: > >> how? > > You've already got the server code in JADE... > > assuming both are on the same computer and you're still using port > 6800 on the server, in a runrev button put the script: > > on mouseUp > open socket "localhost:6800" with message "socketConnected" > write "hello, server" & cr to socket "localhost:6800" > end mouseUp > > on socketConnected > put "connected to server!" > end socketConnected > > If they're on different machines then change "localhost" to > "192.168.0.101" or whatever the ip address of the server is. > > -- > -Mark Wieder > mwieder at ahsoftware.net From shani.runrev at gmail.com Fri Mar 19 20:32:00 2010 From: shani.runrev at gmail.com (zeeshan aamir) Date: Sat, 20 Mar 2010 01:32:00 +0100 Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: <401C6D4B-A4F0-4AFC-AC7A-8015847280A4@economy-x-talk.com> References: <11502945031.20100319153736@ahsoftware.net> <9504806953.20100319160838@ahsoftware.net> <38508219000.20100319170530@ahsoftware.net> <401C6D4B-A4F0-4AFC-AC7A-8015847280A4@economy-x-talk.com> Message-ID: Thanks Mark Schonewille and Mark Wieder, I try Mark Wieder code in Server button code but its not work. on mouseUp open socket "localhost:6800" with message "socketConnected" write "hello, server" & cr to socket "localhost:6800" end mouseUp on socketConnected put "connected to server!" end socketConnected Regards, ZEESHAN On Sat, Mar 20, 2010 at 1:10 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi, > > I already told him exactly the same off-list, because he asked me about it > directly. Zeeshan, please reply my e-mail. > > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Economy-x-Talk is always looking for new software development projects. > Feel free to contact me for a quote. > > Op 20 mrt 2010, om 01:05 heeft Mark Wieder het volgende geschreven: > > > zeeshan- >> >> Friday, March 19, 2010, 4:32:31 PM, you wrote: >> >> how? >>> >> >> You've already got the server code in JADE... >> >> assuming both are on the same computer and you're still using port >> 6800 on the server, in a runrev button put the script: >> >> on mouseUp >> open socket "localhost:6800" with message "socketConnected" >> write "hello, server" & cr to socket "localhost:6800" >> end mouseUp >> >> on socketConnected >> put "connected to server!" >> end socketConnected >> >> If they're on different machines then change "localhost" to >> "192.168.0.101" or whatever the ip address of the server is. >> >> -- >> -Mark Wieder >> mwieder at ahsoftware.net >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Fri Mar 19 20:33:26 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 19 Mar 2010 17:33:26 -0700 Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: <401C6D4B-A4F0-4AFC-AC7A-8015847280A4@economy-x-talk.com> References: <11502945031.20100319153736@ahsoftware.net> <9504806953.20100319160838@ahsoftware.net> <38508219000.20100319170530@ahsoftware.net> <401C6D4B-A4F0-4AFC-AC7A-8015847280A4@economy-x-talk.com> Message-ID: <125509894218.20100319173326@ahsoftware.net> Mark- Friday, March 19, 2010, 5:10:47 PM, you wrote: > I already told him exactly the same off-list, because he asked me > about it directly. Zeeshan, please reply my e-mail. OK - I'm done here. -- -Mark Wieder mwieder at ahsoftware.net From m.schonewille at economy-x-talk.com Fri Mar 19 20:45:26 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 20 Mar 2010 01:45:26 +0100 Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: References: <11502945031.20100319153736@ahsoftware.net> <9504806953.20100319160838@ahsoftware.net> <38508219000.20100319170530@ahsoftware.net> <401C6D4B-A4F0-4AFC-AC7A-8015847280A4@economy-x-talk.com> Message-ID: <249CB713-CA44-4992-B235-50FEBA3C15A3@economy-x-talk.com> Zeeshan, Can you provide more info? For example, are you succesfully running the server? Can you connect to it with the original Jade client? What exactly happens when you try running Mark Wieder's code? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 20 mrt 2010, om 01:32 heeft zeeshan aamir het volgende geschreven: > Thanks Mark Schonewille and Mark Wieder, > > I try Mark Wieder code in Server button code but its not work. > > on mouseUp > open socket "localhost:6800" with message "socketConnected" > write "hello, server" & cr to socket "localhost:6800" > end mouseUp > > on socketConnected > put "connected to server!" > end socketConnected > > Regards, > ZEESHAN From shani.runrev at gmail.com Fri Mar 19 20:46:40 2010 From: shani.runrev at gmail.com (zeeshan aamir) Date: Sat, 20 Mar 2010 01:46:40 +0100 Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: <125509894218.20100319173326@ahsoftware.net> References: <11502945031.20100319153736@ahsoftware.net> <9504806953.20100319160838@ahsoftware.net> <38508219000.20100319170530@ahsoftware.net> <401C6D4B-A4F0-4AFC-AC7A-8015847280A4@economy-x-talk.com> <125509894218.20100319173326@ahsoftware.net> Message-ID: Hay, Mark Schonewille, Mark Wieder and all, Is there is any way that i use JADE (NetBeans) Directly which places in any other folder and call from their. or i must use in same folder. how to with JADE not JAVA. is their is any refernce example places on any source. (JADE communication with Rev Studio ) regards, zeeshan On Sat, Mar 20, 2010 at 1:33 AM, Mark Wieder wrote: > Mark- > > Friday, March 19, 2010, 5:10:47 PM, you wrote: > > > I already told him exactly the same off-list, because he asked me > > about it directly. Zeeshan, please reply my e-mail. > > OK - I'm done here. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From shani.runrev at gmail.com Fri Mar 19 20:54:02 2010 From: shani.runrev at gmail.com (zeeshan aamir) Date: Sat, 20 Mar 2010 01:54:02 +0100 Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: <249CB713-CA44-4992-B235-50FEBA3C15A3@economy-x-talk.com> References: <11502945031.20100319153736@ahsoftware.net> <9504806953.20100319160838@ahsoftware.net> <38508219000.20100319170530@ahsoftware.net> <401C6D4B-A4F0-4AFC-AC7A-8015847280A4@economy-x-talk.com> <249CB713-CA44-4992-B235-50FEBA3C15A3@economy-x-talk.com> Message-ID: Hay Mark Schonewille, i tested with the changes in command emailed by Mark Wieder ( put shell("Server 6800") into tResult) in server button in Rev like this *For Server Communication Button in Rev* on mouseUp local tDefaultFolder, tResult -- put the defaultFolder into tDefaultFolder set the defaultFolder to StackPath() -- put shell("java Server") into tResult -- set the defaultFolder to tDefaultFolder answer tResult end mouseUp * * this command will work but it gives this error. java.lang. NoClassDefFoundError: Server (wrong name: Server/Server) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) Could not find the main class: Server. Program will exit.Exception in thread "main" but i try it on same as in same folder where .Java and .Class file placed. Regards, ZEESHAN On Sat, Mar 20, 2010 at 1:45 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Zeeshan, > > Can you provide more info? For example, are you succesfully running the > server? Can you connect to it with the original Jade client? What exactly > happens when you try running Mark Wieder's code? > > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Economy-x-Talk is always looking for new software development projects. > Feel free to contact me for a quote. > > Op 20 mrt 2010, om 01:32 heeft zeeshan aamir het volgende geschreven: > > > Thanks Mark Schonewille and Mark Wieder, >> >> I try Mark Wieder code in Server button code but its not work. >> >> on mouseUp >> open socket "localhost:6800" with message "socketConnected" >> write "hello, server" & cr to socket "localhost:6800" >> end mouseUp >> >> on socketConnected >> put "connected to server!" >> end socketConnected >> >> Regards, >> ZEESHAN >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mfstuart at cox.net Fri Mar 19 23:32:10 2010 From: mfstuart at cox.net (Mark Stuart) Date: Fri, 19 Mar 2010 19:32:10 -0800 (PST) Subject: DataGrid - headerTextFont does not clear previous selection In-Reply-To: <1269011838536-1599511.post@n4.nabble.com> References: <1269011838536-1599511.post@n4.nabble.com> Message-ID: <1269055930804-1645446.post@n4.nabble.com> Concerning the textFont of the DataGrid... I deleted the existing DataGrid object, as I could not resolve the issue I had with resetting/clearing the textFont. I put in a new DataGrid, first copying the scripts I had in it into Notepad. Regards, Mark Stuart -- View this message in context: http://n4.nabble.com/DataGrid-headerTextFont-does-not-clear-previous-selection-tp1599511p1645446.html Sent from the Revolution - User mailing list archive at Nabble.com. From martyknapp at comcast.net Sat Mar 20 00:13:46 2010 From: martyknapp at comcast.net (Marty Knapp) Date: Fri, 19 Mar 2010 21:13:46 -0700 Subject: Registration Software (OT) In-Reply-To: References: Message-ID: <4BA44B7A.4010606@comcast.net> This is a bit off topic, but I was wondering if anyone is using a web-based, out-of-the-box software package for tracking registered users. I don't need anything too elaborate, but it would be nice if the user could update their info and you could do a simple mailing to notify people of upgrades (if they opt to receive such). I've poked around but haven't found anything that looks very appealing and I'd rather not roll my own at this point. Thanks for any input, Marty Knapp From janschenkel at yahoo.com Sat Mar 20 03:32:53 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat, 20 Mar 2010 00:32:53 -0700 (PDT) Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: Message-ID: <942463.46490.qm@web65402.mail.ac4.yahoo.com> Hi Zeeshan, My apologies if this sounds a bit blunt, but from the exchanges it seems to me that you are not only a beginner in revTalk, but not very experienced with Java either when it comes to socket programming and starting daemon processes and its classpath challenges. At RunRevLive'09 I gave a presentation on how revTalk and Java can interact in various ways. You can download the slides and example code from the downloads section of my website: Come to think of it, that's probably how you assembled those first bits of code: setting the defaultFolder to the path of the stack is a trick I used there to keep everything together in a single folder and reduce scripting complexity. Not something a newbie will find on day one ;-) For this to work, the compiled Server.class file must be in the same directory as the rev stack; if it's sitting somewhere in your NetBeans project directory, it is not going to find it. Merely repeating that something doesn't work, is not going to resolve your situation: take a step back, think through the different concepts and learn more about processes and socket programming. Jan Schenkel ===== Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) --- On Fri, 3/19/10, zeeshan aamir wrote: > Hay Mark Schonewille, > > i tested with the changes in command emailed by Mark > Wieder? ( put > shell("Server 6800") into tResult) > > in server button in Rev like this > *For Server? Communication Button in Rev* > > > on mouseUp > ???local tDefaultFolder, tResult > ???-- > ???put the defaultFolder into > tDefaultFolder > ???set the defaultFolder to StackPath() > ???-- > ???put shell("java Server") into tResult > ???-- > ???set the defaultFolder to tDefaultFolder > ???answer tResult > end mouseUp > > * > * > > > this command will work but it gives this error. > > ? ? ? ? java.lang. > NoClassDefFoundError: Server (wrong name: Server/Server) > ? ? ? ? at > java.lang.ClassLoader.defineClass1(Native Method) > ? ? ? ? at > java.lang.ClassLoader.defineClassCond(Unknown Source) > ? ? ? ? at > java.lang.ClassLoader.defineClass(Unknown Source) > ? ? ? ? at > java.security.SecureClassLoader.defineClass(Unknown Source) > ? ? ? ? at > java.net.URLClassLoader.defineClass(Unknown Source) > ? ? ? ? at > java.net.URLClassLoader.access$000(Unknown Source) > ? ? ? ? at > java.net.URLClassLoader$1.run(Unknown Source) > ? ? ? ? at > java.security.AccessController.doPrivileged(Native Method) > ? ? ? ? at > java.net.URLClassLoader.findClass(Unknown Source) > ? ? ? ? at > java.lang.ClassLoader.loadClass(Unknown Source) > ? ? ? ? at > sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > ? ? ? ? at > java.lang.ClassLoader.loadClass(Unknown Source) > Could not find the main class: Server.? Program will > exit.Exception in > thread "main" > > but i try it on same as in same folder where .Java and > .Class file placed. > > Regards, > ZEESHAN > From m.schonewille at economy-x-talk.com Sat Mar 20 07:04:18 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 20 Mar 2010 12:04:18 +0100 Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: References: <11502945031.20100319153736@ahsoftware.net> <9504806953.20100319160838@ahsoftware.net> <38508219000.20100319170530@ahsoftware.net> <401C6D4B-A4F0-4AFC-AC7A-8015847280A4@economy-x-talk.com> <249CB713-CA44-4992-B235-50FEBA3C15A3@economy-x-talk.com> Message-ID: <44CE124E-CE96-4159-BF9D-84B48AD0F60B@economy-x-talk.com> Hi Zeeshan, You wrote the same earlier already. Please answer my questions, on- list or off-list. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 20 mrt 2010, om 01:54 heeft zeeshan aamir het volgende geschreven: > Hay Mark Schonewille, > > i tested with the changes in command emailed by Mark Wieder ( put > shell("Server 6800") into tResult) > > in server button in Rev like this > *For Server Communication Button in Rev* > > > on mouseUp > local tDefaultFolder, tResult > -- > put the defaultFolder into tDefaultFolder > set the defaultFolder to StackPath() > -- > put shell("java Server") into tResult > -- > set the defaultFolder to tDefaultFolder > answer tResult > end mouseUp > > * > * > From m.schonewille at economy-x-talk.com Sat Mar 20 07:31:00 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 20 Mar 2010 12:31:00 +0100 Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: <125509894218.20100319173326@ahsoftware.net> References: <11502945031.20100319153736@ahsoftware.net> <9504806953.20100319160838@ahsoftware.net> <38508219000.20100319170530@ahsoftware.net> <401C6D4B-A4F0-4AFC-AC7A-8015847280A4@economy-x-talk.com> <125509894218.20100319173326@ahsoftware.net> Message-ID: Sorry, I didn't mean to scare you off, Mark ;-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 20 mrt 2010, om 01:33 heeft Mark Wieder het volgende geschreven: > Mark- > > OK - I'm done here. > > -- > -Mark Wieder > mwieder at ahsoftware.net From janschenkel at yahoo.com Sat Mar 20 08:36:03 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat, 20 Mar 2010 05:36:03 -0700 (PDT) Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: <942463.46490.qm@web65402.mail.ac4.yahoo.com> Message-ID: <444286.4550.qm@web65407.mail.ac4.yahoo.com> Looking back, I was perhaps being a bit harsh. The thing is: most developer communities do not react well to a vague description of something that "doesn't work as expected" without background information. We always tell kids to do their own homework, not write it for them ;-) What exactly are you trying to accomplish? What is JADE, and how does your Java code interact with it? I have quite a bit of experience getting revTalk to exchange information with Java processes - bit it all stands or falls with the intended architecture. If your Java code is a simple command-line tool for one-off jobs, you can use the 'shell' function to call it with parameters and retrieve the output. If your interaction needs to be more elaborate, topology comes into play. Assuming that the Java program runs on the same machine, you can opt for inter-process communication via standard input/output (your Java code uses the System.in object to read the data from and the System.out object to write the data back to the rev-based application that uses 'open process', 'read from process', 'write to process' and 'close process' commands to send data to your Java program and retrieve results. If the Java program runs on a different machine, your best bet is socket communication. For the Java side, I recommend you pick up the book 'TCP/IP Sockets in Java' (ISBN: 978-0-12-374255-1). On the revTalk end, you'll want to look at the 'open socket', 'read from socket', 'write to socket' and 'close socket' commands to exchange the data over the socket. What it all boils down to, is picking a method of communication, and a protocol that describes the interaction: which side takes the initiative and in what format do you send the request and receive the reply. You can dream up your own protocol, copy the HTTP client-server model, exchange the data as plain text or structured in XML. Speaking of XML, why not rely on SOAP? Your Java code could be housed in a Glassfish application server, and rely on Web Services technology to 'post' data from rev to the app server - where your POJO classes transparently offer services to any SOAP-capable client. First determine your goal, and then we can help you figure out the best way to achieve that goal. There is more than one way to skin a cat, as the saying goes... Jan Schenkel ===== Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) --- On Sat, 3/20/10, Jan Schenkel wrote: > Hi Zeeshan, > > My apologies if this sounds a bit blunt, but from the > exchanges it seems to me that you are not only a beginner in > revTalk, but not very experienced with Java either when it > comes to socket programming and starting daemon processes > and its classpath challenges. > > At RunRevLive'09 I gave a presentation on how revTalk and > Java can interact in various ways. You can download the > slides and example code from the downloads section of my > website: > > > Come to think of it, that's probably how you assembled > those first bits of code: setting the defaultFolder to the > path of the stack is a trick I used there to keep everything > together in a single folder and reduce scripting complexity. > Not something a newbie will find on day one ;-) > > For this to work, the compiled Server.class file must be in > the same directory as the rev stack; if it's sitting > somewhere in your NetBeans project directory, it is not > going to find it. > > Merely repeating that something doesn't work, is not going > to resolve your situation: take a step back, think through > the different concepts and learn more about processes and > socket programming. > > Jan Schenkel > From mike at cyber-ny.com Sat Mar 20 09:47:01 2010 From: mike at cyber-ny.com (Mike Brown) Date: Sat, 20 Mar 2010 09:47:01 -0400 Subject: Revmobile Internet Support In-Reply-To: <6292F579-E8FC-4C82-ACF4-46AE435007EA@verizon.net> References: <6292F579-E8FC-4C82-ACF4-46AE435007EA@verizon.net> Message-ID: Does anyone know if "revBrowserOpen" is supported in the RevMobile pre- alpha release? I see in the documentation that non-file URL access is limited but not much info is provided on how to get it to work. I have a stack that displays a web page using revBrowserOpen but does not work in the iPhone simulator so I am not sure if it is my "put url" method or the revBrowserOpen that is not working. I am looking for a simple method to display a web page in my iPhone app. - Mike Mike Brown Cyber-NY Interactive 212-475-2721 Ext. 306 www.cyber-ny.com mike at cyber-ny.com Follow Us On Twitter http://www.twitter.com/cyberny From zryip.theslug at gmail.com Sat Mar 20 09:56:22 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sat, 20 Mar 2010 14:56:22 +0100 Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: References: Message-ID: <64bda6471003200656u53ed9837r1e5d4418444fc9e6@mail.gmail.com> 2010/3/19 zeeshan aamir : ?????????????????????????????????? > > > > //Code for Server.java ?(JADE) > package Server; > > import java.io.DataInputStream; > import java.io.IOException; > import java.net.ServerSocket; > import java.net.Socket; > > public class Server { > public static void main (String[] args) throws IOException{ > ServerSocket server=new ServerSocket(6800); > System.out.println("Server Started"); > Socket client= server.accept(); > DataInputStream in= new DataInputStream(client.getInputStream()); > > System.out.println("Client Syas: " + in.readUTF()); > } > } > > ................................................................................................. > /7code for client Socket. (JADE) > > > package Cleint; > > import java.io.DataOutputStream; > import java.io.IOException; > import java.net.Socket; > > public class Cleint { > public static void main (String[] args) throws IOException { > Socket client= new Socket("localhost",6800); > System.out.println("Connected to server"); > DataOutputStream out = new DataOutputStream(client.getOutputStream()); > out.writeUTF ("AllowServer"); > > > } > > } > ..................................................................... > > *RunRev* Main > > function StackPath > ? local tPath > ? -- > ? put the effective filename of this stack into tPath > ? set the itemDelimiter to slash > ? delete item -1 of tPath > ? -- > ? return tPath > end StackPath > //////////////////////////////////////////// > *For Server ?Communication Button in Rev* > > > on mouseUp > ? local tDefaultFolder, tResult > ? -- > ? put the defaultFolder into tDefaultFolder > ? set the defaultFolder to StackPath() > ? -- > ? put shell("Server 6800") into tResult > ? -- > ? set the defaultFolder to tDefaultFolder > ? answer tResult > end mouseUp > > * > Clinet button coading in Rev > * > > > > on mouseUp > ? ?local tDefaultFolder, tProcess > ? -- > ? put the defaultFolder into tDefaultFolder > ? set the defaultFolder to StackPath() > ? -- > ? put "Client" into tProcess > ? open process tProcess for neither > ? -- > ? set the defaultFolder to tDefaultFolder > end mouseUp > > > > ????????????????????????.. > > > > I am very thankful to you for this kindness in advice. > > > > Kindly reply me on your earliest. > > > Regards, > > shani > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Hello Zeeshan, I'm not a specialist, but you actually listen on the 6800 port but you are not sure that your port is open. You throw the exception but not catch it. To avoid bugs, add a couple of try/catch statement like this : public class Server { public static void main (String[] args) throws IOException{ try { ServerSocket server=new ServerSocket(6800); } catch (IOException serverException) { System.out.println("Server error : Could not listen on port 6800"); System.exit(-1); } System.out.println("Server Started"); Socket client = null; try { Socket client= server.accept(); } catch (IOException serverException) { System.out.println("Server error : Accept failed on port 6800"); System.exit(-1); } DataInputStream in= new DataInputStream(client.getInputStream()); } } > put shell("Server 6800") into tResult You have no need to pass the port in the shell command, or manage the parameter in the string array of the main call. > java.lang.NoClassDefFoundError: Server (wrong name: Server/Server) It's a ClassNotFoundException. Maybe checks your class path. At this point, it seems to me that the problem comes from java and not for RR. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From andre at andregarzia.com Sat Mar 20 11:39:20 2010 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 20 Mar 2010 12:39:20 -0300 Subject: Revmobile Internet Support In-Reply-To: References: <6292F579-E8FC-4C82-ACF4-46AE435007EA@verizon.net> Message-ID: <7c87a2a11003200839p5e301342g8b88f041fc0993f1@mail.gmail.com> Mike, revBrowser is not supported on RevMobile. In the docs they say that externals are not currently supported. Cheers andre On Sat, Mar 20, 2010 at 10:47 AM, Mike Brown wrote: > Does anyone know if "revBrowserOpen" is supported in the RevMobile > pre-alpha release? I see in the documentation that non-file URL access is > limited but not much info is provided on how to get it to work. I have a > stack that displays a web page using revBrowserOpen but does not work in the > iPhone simulator so I am not sure if it is my "put url" method or the > revBrowserOpen that is not working. > > I am looking for a simple method to display a web page in my iPhone app. > > - Mike > > > Mike Brown > Cyber-NY Interactive > 212-475-2721 Ext. 306 > www.cyber-ny.com > mike at cyber-ny.com > > Follow Us On Twitter > http://www.twitter.com/cyberny > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From shani.runrev at gmail.com Sat Mar 20 12:36:22 2010 From: shani.runrev at gmail.com (zeeshan aamir) Date: Sat, 20 Mar 2010 17:36:22 +0100 Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: <942463.46490.qm@web65402.mail.ac4.yahoo.com> References: <942463.46490.qm@web65402.mail.ac4.yahoo.com> Message-ID: hay jan, thanks, i have these examples, but my Server.java is build in Netbeans JADE and when i run it in simple command like. Compile javac Server.java it makes Server.Class and it is in same folder where rev is. but when i run this through rev or directly from command promt like java Server it gives error where as it run fine in JADE and gives output. you see my proevious emails for Source code. and try it on JADE, it works on JADE but how can i done this in simple java. regards, zeeshan On Sat, Mar 20, 2010 at 8:32 AM, Jan Schenkel wrote: > Hi Zeeshan, > > My apologies if this sounds a bit blunt, but from the exchanges it seems to > me that you are not only a beginner in revTalk, but not very experienced > with Java either when it comes to socket programming and starting daemon > processes and its classpath challenges. > > At RunRevLive'09 I gave a presentation on how revTalk and Java can interact > in various ways. You can download the slides and example code from the > downloads section of my website: > > > Come to think of it, that's probably how you assembled those first bits of > code: setting the defaultFolder to the path of the stack is a trick I used > there to keep everything together in a single folder and reduce scripting > complexity. Not something a newbie will find on day one ;-) > > For this to work, the compiled Server.class file must be in the same > directory as the rev stack; if it's sitting somewhere in your NetBeans > project directory, it is not going to find it. > > Merely repeating that something doesn't work, is not going to resolve your > situation: take a step back, think through the different concepts and learn > more about processes and socket programming. > > Jan Schenkel > ===== > Quartam Reports & PDF Library for Revolution > > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." > (La Rochefoucauld) > > > --- On Fri, 3/19/10, zeeshan aamir wrote: > > Hay Mark Schonewille, > > > > i tested with the changes in command emailed by Mark > > Wieder ( put > > shell("Server 6800") into tResult) > > > > in server button in Rev like this > > *For Server Communication Button in Rev* > > > > > > on mouseUp > > local tDefaultFolder, tResult > > -- > > put the defaultFolder into > > tDefaultFolder > > set the defaultFolder to StackPath() > > -- > > put shell("java Server") into tResult > > -- > > set the defaultFolder to tDefaultFolder > > answer tResult > > end mouseUp > > > > * > > * > > > > > > this command will work but it gives this error. > > > > java.lang. > > NoClassDefFoundError: Server (wrong name: Server/Server) > > at > > java.lang.ClassLoader.defineClass1(Native Method) > > at > > java.lang.ClassLoader.defineClassCond(Unknown Source) > > at > > java.lang.ClassLoader.defineClass(Unknown Source) > > at > > java.security.SecureClassLoader.defineClass(Unknown Source) > > at > > java.net.URLClassLoader.defineClass(Unknown Source) > > at > > java.net.URLClassLoader.access$000(Unknown Source) > > at > > java.net.URLClassLoader$1.run(Unknown Source) > > at > > java.security.AccessController.doPrivileged(Native Method) > > at > > java.net.URLClassLoader.findClass(Unknown Source) > > at > > java.lang.ClassLoader.loadClass(Unknown Source) > > at > > sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > > at > > java.lang.ClassLoader.loadClass(Unknown Source) > > Could not find the main class: Server. Program will > > exit.Exception in > > thread "main" > > > > but i try it on same as in same folder where .Java and > > .Class file placed. > > > > Regards, > > ZEESHAN > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From shani.runrev at gmail.com Sat Mar 20 12:44:42 2010 From: shani.runrev at gmail.com (zeeshan aamir) Date: Sat, 20 Mar 2010 17:44:42 +0100 Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: <64bda6471003200656u53ed9837r1e5d4418444fc9e6@mail.gmail.com> References: <64bda6471003200656u53ed9837r1e5d4418444fc9e6@mail.gmail.com> Message-ID: hi Zryip, if you try this code in Netbeans then you see that it work fine. and giving the output. but the main problem is that i made this in JADE and i want to cummnicate JADE with Rev. i try the Jan Schenkel examples from http://www.quartam.com hare in this link. rmj.zip and tea.zip it work fine on JAVA and Rev, so tahts why i try JADE program. I copy from src in netbeans where netbeanss program store. and take it in same folder where it is rev file i have then i compile this to make a .class javac Server.java it makes Server.class. but i try same meathod to check the connectivity but it not works. Regards, ZEESHAN On Sat, Mar 20, 2010 at 2:56 PM, zryip theSlug wrote: > 2010/3/19 zeeshan aamir : > ?????????????????????????????????? > > > > > > > > //Code for Server.java (JADE) > > package Server; > > > > import java.io.DataInputStream; > > import java.io.IOException; > > import java.net.ServerSocket; > > import java.net.Socket; > > > > public class Server { > > public static void main (String[] args) throws IOException{ > > ServerSocket server=new ServerSocket(6800); > > System.out.println("Server Started"); > > Socket client= server.accept(); > > DataInputStream in= new DataInputStream(client.getInputStream()); > > > > System.out.println("Client Syas: " + in.readUTF()); > > } > > } > > > > > ................................................................................................. > > /7code for client Socket. (JADE) > > > > > > package Cleint; > > > > import java.io.DataOutputStream; > > import java.io.IOException; > > import java.net.Socket; > > > > public class Cleint { > > public static void main (String[] args) throws IOException { > > Socket client= new Socket("localhost",6800); > > System.out.println("Connected to server"); > > DataOutputStream out = new DataOutputStream(client.getOutputStream()); > > out.writeUTF ("AllowServer"); > > > > > > } > > > > } > > ..................................................................... > > > > *RunRev* Main > > > > function StackPath > > local tPath > > -- > > put the effective filename of this stack into tPath > > set the itemDelimiter to slash > > delete item -1 of tPath > > -- > > return tPath > > end StackPath > > //////////////////////////////////////////// > > *For Server Communication Button in Rev* > > > > > > on mouseUp > > local tDefaultFolder, tResult > > -- > > put the defaultFolder into tDefaultFolder > > set the defaultFolder to StackPath() > > -- > > put shell("Server 6800") into tResult > > -- > > set the defaultFolder to tDefaultFolder > > answer tResult > > end mouseUp > > > > * > > Clinet button coading in Rev > > * > > > > > > > > on mouseUp > > local tDefaultFolder, tProcess > > -- > > put the defaultFolder into tDefaultFolder > > set the defaultFolder to StackPath() > > -- > > put "Client" into tProcess > > open process tProcess for neither > > -- > > set the defaultFolder to tDefaultFolder > > end mouseUp > > > > > > > > ????????????????????????.. > > > > > > > > I am very thankful to you for this kindness in advice. > > > > > > > > Kindly reply me on your earliest. > > > > > > Regards, > > > > shani > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > Hello Zeeshan, > > I'm not a specialist, but you actually listen on the 6800 port but you > are not sure that your port is open. You throw the exception but not > catch it. > To avoid bugs, add a couple of try/catch statement like this : > > public class Server { > public static void main (String[] args) throws IOException{ > try { > ServerSocket server=new ServerSocket(6800); > } catch (IOException serverException) { > System.out.println("Server error : Could not listen on port 6800"); > System.exit(-1); > } > System.out.println("Server Started"); > Socket client = null; > try { > Socket client= server.accept(); > } catch (IOException serverException) { > System.out.println("Server error : Accept failed on port 6800"); > System.exit(-1); > } > DataInputStream in= new DataInputStream(client.getInputStream()); > } > } > > > put shell("Server 6800") into tResult > > You have no need to pass the port in the shell command, or manage the > parameter in the string array of the main call. > > > java.lang.NoClassDefFoundError: Server (wrong name: Server/Server) > > It's a ClassNotFoundException. Maybe checks your class path. > > > At this point, it seems to me that the problem comes from java and not for > RR. > > > Regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From userevolution at dreamscapesoftware.com Sat Mar 20 13:03:05 2010 From: userevolution at dreamscapesoftware.com (Derek Bump) Date: Sat, 20 Mar 2010 12:03:05 -0500 Subject: For Sale: Source Code and Full Rights Message-ID: <4BA4FFC9.9060404@dreamscapesoftware.com> Hello All, I am looking for anyone interested in purchasing the Source Code and Full Rights to one of Dreamscape Software's most successful programs, JPEGCompress. http://www.dreamscapesoftware.com/jpegcompress/ I'd like $1,000 (US), but please feel free to make an offer. The reason I am looking to sell the source code and full rights is because I have become part of a new venture that requires my full attention, and I am unable to continue spending time developing JPEGCompress. JPEGCompress has undergone about 10 years worth of development, which has resulted in a slew of new features that extend the functionality of the program way beyond basic compression. And with the addition of Graphic Effects in Revolution 4.0, and improvements in Image Exporting and Color Reduction in Revolution 4.5, JPEGCompress stands to receive even more new features that will help to increase it's value to the consumer. The sale would include all of the following... 1. JPEGCompress 3.0 Source Code The current version publicly available is version 2.9.6. This means you could buy the program, release the new version, and start to make your investment back immediately. See what's in version 3.0 here: http://www.dreamscapesoftware.com/jpegcompress/help/topic02.html 2. JPEGCompress Licensed Users Information You get the entire database of customers, as well as all of their contact and order information. 3. JPEGCompress Web Page, Ordering and Maintenance Scripts A lot of what JPEGCompress does is supported by numerous PHP scripts. You get them all so you can start selling and maintaining JPEGCompress immediately. 4. Full Rights to the program name and it's logo. 5. All Development Files, Backups, Graphics, Icons, etc. 6. 4 Free Support Sessions (aka: I help if you get stuck) If anyone is interested, or would like to make an offer, then please contact me off-list and I would be more than happy to discuss the offer. Thanks! Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___________________________________________________________________ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ From shani.runrev at gmail.com Sat Mar 20 13:33:48 2010 From: shani.runrev at gmail.com (zeeshan aamir) Date: Sat, 20 Mar 2010 18:33:48 +0100 Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: <444286.4550.qm@web65407.mail.ac4.yahoo.com> References: <942463.46490.qm@web65402.mail.ac4.yahoo.com> <444286.4550.qm@web65407.mail.ac4.yahoo.com> Message-ID: hay, jan thanks, i uploaded all the files. on these links kindly see it. http://www.4shared.com/file/245437167/a47bf1a6/JADE_WITH_RUNREV.html http://www.4shared.com/file/245437182/4a9228a7/SocketTestServerCleint.html http://www.4shared.com/file/245437204/696eb9c3/server.html http://www.4shared.com/file/245437244/d027cc7/Client.html http://www.4shared.com/file/245437260/3859da5c/error.html http://www.4shared.com/file/245437281/d1ddc744/JAD_AND_RUNREV.html http://www.4shared.com/file/245440617/c182954d/test_normal.html http://www.4shared.com/file/245448691/258c929f/communicate_between_JADE_and_R.html i have these commands, http://docs.runrev.com/Command/open-socket http://docs.runrev.com/Command/close-socket http://docs.runrev.com/Command/read-from-socket i see examples from http://www.quartam.com and some other link that communication between JAVA and rev but cant find any example of JADE (NetBeans) so thats why i try these examples to just test that is it possible that JADE java file communicate in the same way? Regards, ZEESHAN On Sat, Mar 20, 2010 at 1:36 PM, Jan Schenkel wrote: > Looking back, I was perhaps being a bit harsh. The thing is: most developer > communities do not react well to a vague description of something that > "doesn't work as expected" without background information. We always tell > kids to do their own homework, not write it for them ;-) > > What exactly are you trying to accomplish? What is JADE, and how does your > Java code interact with it? I have quite a bit of experience getting revTalk > to exchange information with Java processes - bit it all stands or falls > with the intended architecture. > > If your Java code is a simple command-line tool for one-off jobs, you can > use the 'shell' function to call it with parameters and retrieve the output. > If your interaction needs to be more elaborate, topology comes into play. > > Assuming that the Java program runs on the same machine, you can opt for > inter-process communication via standard input/output (your Java code uses > the System.in object to read the data from and the System.out object to > write the data back to the rev-based application that uses 'open process', > 'read from process', 'write to process' and 'close process' commands to send > data to your Java program and retrieve results. > > If the Java program runs on a different machine, your best bet is socket > communication. For the Java side, I recommend you pick up the book 'TCP/IP > Sockets in Java' (ISBN: 978-0-12-374255-1). On the revTalk end, you'll want > to look at the 'open socket', 'read from socket', 'write to socket' and > 'close socket' commands to exchange the data over the socket. > > What it all boils down to, is picking a method of communication, and a > protocol that describes the interaction: which side takes the initiative and > in what format do you send the request and receive the reply. You can dream > up your own protocol, copy the HTTP client-server model, exchange the data > as plain text or structured in XML. > > Speaking of XML, why not rely on SOAP? Your Java code could be housed in a > Glassfish application server, and rely on Web Services technology to 'post' > data from rev to the app server - where your POJO classes transparently > offer services to any SOAP-capable client. > > First determine your goal, and then we can help you figure out the best way > to achieve that goal. There is more than one way to skin a cat, as the > saying goes... > > Jan Schenkel > ===== > Quartam Reports & PDF Library for Revolution > > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." > (La Rochefoucauld) > > > --- On Sat, 3/20/10, Jan Schenkel wrote: > > Hi Zeeshan, > > > > My apologies if this sounds a bit blunt, but from the > > exchanges it seems to me that you are not only a beginner in > > revTalk, but not very experienced with Java either when it > > comes to socket programming and starting daemon processes > > and its classpath challenges. > > > > At RunRevLive'09 I gave a presentation on how revTalk and > > Java can interact in various ways. You can download the > > slides and example code from the downloads section of my > > website: > > > > > > Come to think of it, that's probably how you assembled > > those first bits of code: setting the defaultFolder to the > > path of the stack is a trick I used there to keep everything > > together in a single folder and reduce scripting complexity. > > Not something a newbie will find on day one ;-) > > > > For this to work, the compiled Server.class file must be in > > the same directory as the rev stack; if it's sitting > > somewhere in your NetBeans project directory, it is not > > going to find it. > > > > Merely repeating that something doesn't work, is not going > > to resolve your situation: take a step back, think through > > the different concepts and learn more about processes and > > socket programming. > > > > Jan Schenkel > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From shani.runrev at gmail.com Sat Mar 20 13:46:21 2010 From: shani.runrev at gmail.com (zeeshan aamir) Date: Sat, 20 Mar 2010 18:46:21 +0100 Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: References: <942463.46490.qm@web65402.mail.ac4.yahoo.com> <444286.4550.qm@web65407.mail.ac4.yahoo.com> Message-ID: Hay to all, now you can give me suggestion, initial program, sample code with your own folder in this link. http://www.4shared.com/dir/34362030/72462f27/RunRev_Suggestion.html Pass: 1234 Thanks for your all affords and corporations. Regards, ZEESHAN AAMIR From shani.runrev at gmail.com Sat Mar 20 14:40:52 2010 From: shani.runrev at gmail.com (zeeshan aamir) Date: Sat, 20 Mar 2010 19:40:52 +0100 Subject: Video Lectures of Rev Studio Message-ID: is there is on any site complete video lectures of Rev stuido is placed. Kindly send me link. From sarah.reichelt at gmail.com Sat Mar 20 19:36:34 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 21 Mar 2010 09:36:34 +1000 Subject: revmobile looking good In-Reply-To: <6292F579-E8FC-4C82-ACF4-46AE435007EA@verizon.net> References: <6292F579-E8FC-4C82-ACF4-46AE435007EA@verizon.net> Message-ID: On Sat, Mar 20, 2010 at 9:52 AM, Colin Holgate wrote: > I've been getting the builds, and testing the same stack each time (this one: http://xfiles.funnygarbage.com/~colinholgate/rev/testtrack.html ), and it hasn't been going quite right, the cars would jitter around the place instead of going around the track. I didn't look into it too much because I also wasn't able to build to my iPhone, I was getting some sort of provisioning error in XCode. > > Anyway, the new build runs correctly in the iPhone Simulator, and so I also figured out the provisioning issue, and have it running on my phone too. Yes, this version of the pre-alpha is a big improvement. I'm really enjoying playing with it all. > Meanwhile, would it be possible to include iPad in the Simulator choices? That script is password protected, so I can't go in and try adding that myself. A couple of days ago (just after the latest revMobile pre-alpha), Apple released beta 5 of the iPhone 3.2 SDK and this is the first version that allows submission of apps using 3.2 which also means the first iPad apps. I would expect that now they have a target, RunRev can link into this and give us an iPad version soon. Cheers, Sarah From coiin at verizon.net Sat Mar 20 20:07:19 2010 From: coiin at verizon.net (Colin Holgate) Date: Sat, 20 Mar 2010 20:07:19 -0400 Subject: revmobile looking good In-Reply-To: References: <6292F579-E8FC-4C82-ACF4-46AE435007EA@verizon.net> Message-ID: <3E7D6D9F-B9D8-48A8-89DD-2E9F75A4B30D@verizon.net> On Mar 20, 2010, at 7:36 PM, Sarah Reichelt wrote: > >A couple of days ago (just after the latest revMobile pre-alpha), > Apple released beta 5 of the iPhone 3.2 SDK and this is the first > version that allows submission of apps using 3.2 which also means the > first iPad apps. I wasn't so much worried about submitting yet, but if I do a test of a stack that might look nice on the iPad, and I have the iPhone Simulator running at the time and set for iPad, it still switches to iPhone when it runs the stack. My test stack by the way is somewhat demanding, and still I get a few frames per second even on my first generation iPhone. From tsj at unimelb.edu.au Sat Mar 20 23:57:12 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Sun, 21 Mar 2010 14:57:12 +1100 Subject: revmobile looking good In-Reply-To: Message-ID: >> Meanwhile, would it be possible to include iPad in the Simulator choices? >> That script is password protected, so I can't go in and try adding that >> myself. > > A couple of days ago (just after the latest revMobile pre-alpha), > Apple released beta 5 of the iPhone 3.2 SDK and this is the first > version that allows submission of apps using 3.2 which also means the > first iPad apps. > I would expect that now they have a target, RunRev can link into this > and give us an iPad version soon. It's all looking good so far - the ability to test on the iPad simulator, even with the pre-alpha would be great. What I'd like some info on is what sort of controls/interface objects are likely to included in the IDE. I've started creating some replica 'native' controls but don't want to go too far down this path if I don't have too. Terry... From richmondmathewson at gmail.com Sun Mar 21 06:19:27 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 21 Mar 2010 12:19:27 +0200 Subject: revPrintField ???? PDF Message-ID: <4BA5F2AF.4080702@gmail.com> on mouseUp revPrintField the name of fld "TTEXT" end mouseUp gives me (on Mac OS X) a standard print dialog (without the print to PDF option) the documentation (PDF) has this: "On Mac OS X systems you can also print directly to a PDF file -- even without showing the user a print dialog if choose to." which is lovely - but nowhere can I find details on how to effect this . . . nor printing to XPS on Windows. From sarah.reichelt at gmail.com Sun Mar 21 07:18:18 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 21 Mar 2010 21:18:18 +1000 Subject: revPrintField ???? PDF In-Reply-To: <4BA5F2AF.4080702@gmail.com> References: <4BA5F2AF.4080702@gmail.com> Message-ID: On Sun, Mar 21, 2010 at 8:19 PM, Richmond Mathewson wrote: > ?on mouseUp > ?revPrintField the name of fld "TTEXT" > end mouseUp > > gives me (on Mac OS X) a standard print dialog (without the print to PDF > option) If you do: on mouseUp showPrintDialog false, true revPrintField the name of fld "TTEXT" end mouseUp Then you will get the print dialog and be able to use OS X's standard print to pdf. > the documentation (PDF) has this: > > "On Mac OS X systems you can also print directly to a PDF file > -- even without showing the user a print dialog if choose to." > > which is lovely - but nowhere can I find details on how to > effect this . . . There are 2 ways to do this. If you have revEnterprise, you can use the new "open printing to pdf" command which allows lots of extras like setting author, title, keywords etc, as well as including links and anchor to allow hyper-linking within the pdf. If you don't have revEnterprise, or you don't need those features, then you can set the printerOutput before printing. If you set this to print to a file, then you will get a pdf on Mac and an XPS file on Windows. HTH, Sarah From richmondmathewson at gmail.com Sun Mar 21 07:30:20 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 21 Mar 2010 13:30:20 +0200 Subject: revPrintField ???? PDF In-Reply-To: References: <4BA5F2AF.4080702@gmail.com> Message-ID: <4BA6034C.7010804@gmail.com> On 21/03/2010 13:18, Sarah Reichelt wrote: > On Sun, Mar 21, 2010 at 8:19 PM, Richmond Mathewson > wrote: >> on mouseUp >> revPrintField the name of fld "TTEXT" >> end mouseUp >> >> gives me (on Mac OS X) a standard print dialog (without the print to PDF >> option) > If you do: > > on mouseUp > showPrintDialog false, true > revPrintField the name of fld "TTEXT" > end mouseUp > > Then you will get the print dialog and be able to use OS X's standard > print to pdf. > Lovely! Thank you so much. From richmondmathewson at gmail.com Sun Mar 21 07:44:16 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 21 Mar 2010 13:44:16 +0200 Subject: revPrintField ???? PDF In-Reply-To: References: <4BA5F2AF.4080702@gmail.com> Message-ID: <4BA60690.7040006@gmail.com> On 21/03/2010 13:18, Sarah Reichelt wrote: > > on mouseUp > showPrintDialog false, true > revPrintField the name of fld "TTEXT" > end mouseUp > one needs to change "showPrintDialog" to "revShowPrintDialog" From mike at cyber-ny.com Sun Mar 21 08:36:44 2010 From: mike at cyber-ny.com (Mike Brown) Date: Sun, 21 Mar 2010 08:36:44 -0400 Subject: Revmobile Internet Support In-Reply-To: <7c87a2a11003200839p5e301342g8b88f041fc0993f1@mail.gmail.com> References: <6292F579-E8FC-4C82-ACF4-46AE435007EA@verizon.net> <7c87a2a11003200839p5e301342g8b88f041fc0993f1@mail.gmail.com> Message-ID: Does anyone know the method for displaying the web page retrieved from the example "put url (?http://www.google.com?) into tGooglePage"? I have been searching around for a sample script or explanation but have had no luck so far. Thanks! - Mike Mike Brown Cyber-NY Interactive 212-475-2721 Ext. 306 www.cyber-ny.com mike at cyber-ny.com Follow Us On Twitter http://www.twitter.com/cyberny On Mar 20, 2010, at 11:39 AM, Andre Garzia wrote: > Mike, > > revBrowser is not supported on RevMobile. In the docs they say that > externals are not currently supported. > > Cheers > andre > > On Sat, Mar 20, 2010 at 10:47 AM, Mike Brown > wrote: > >> Does anyone know if "revBrowserOpen" is supported in the RevMobile >> pre-alpha release? I see in the documentation that non-file URL >> access is >> limited but not much info is provided on how to get it to work. I >> have a >> stack that displays a web page using revBrowserOpen but does not >> work in the >> iPhone simulator so I am not sure if it is my "put url" method or the >> revBrowserOpen that is not working. >> >> I am looking for a simple method to display a web page in my iPhone >> app. >> >> - Mike >> >> >> Mike Brown >> Cyber-NY Interactive >> 212-475-2721 Ext. 306 >> www.cyber-ny.com >> mike at cyber-ny.com >> >> Follow Us On Twitter >> http://www.twitter.com/cyberny >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From coiin at verizon.net Sun Mar 21 10:39:05 2010 From: coiin at verizon.net (Colin Holgate) Date: Sun, 21 Mar 2010 10:39:05 -0400 Subject: Revmobile Internet Support In-Reply-To: References: <6292F579-E8FC-4C82-ACF4-46AE435007EA@verizon.net> <7c87a2a11003200839p5e301342g8b88f041fc0993f1@mail.gmail.com> Message-ID: On Mar 21, 2010, at 8:36 AM, Mike Brown wrote: > Does anyone know the method for displaying the web page retrieved from the example "put url (?http://www.google.com?) into tGooglePage"? I suppose you would say: revBrowserSet id, "htmltext",tGooglePage where id would be the id of the revBrowser instance. Still wouldn't work on a phone. Here's a script that would close all existing revBrowsers, get the Google page source, and then set it to a new instance: on mouseUp put revBrowserInstances() into tInstances repeat for each item tInstance in tInstances revBrowserClose tInstance end repeat put url ("http://www.google.com/") into tGooglePage put revBrowserOpen(the windowId of this stack, "") into tBrowserId revBrowserSet tBrowserId,"rect",the rect of button "placeholder" revBrowserSet tBrowserId,"htmltext",tGooglePage end mouseUp Usually I think you would open the initial page in the first revBrowserSet line. In the above example, button "placeholder" is set to have an outer glow, which means that the web page seems to have that outer glow too. From mike at cyber-ny.com Sun Mar 21 10:55:41 2010 From: mike at cyber-ny.com (Mike Brown) Date: Sun, 21 Mar 2010 10:55:41 -0400 Subject: Revmobile Internet Support In-Reply-To: References: <6292F579-E8FC-4C82-ACF4-46AE435007EA@verizon.net> <7c87a2a11003200839p5e301342g8b88f041fc0993f1@mail.gmail.com> Message-ID: <7B28B9EB-0403-46E5-96A3-89300A350E67@cyber-ny.com> Hi Colin, Unfortunately the revBrowser external commands cannot be used for rendering HTML in the Revmobile pre-alpha. The only for mat example provided in the documentation is using the "put url" format as in this example script: "put url (?http://www.google.com?) into tGooglePage" but I can't find any info on what you do to display a web page using the page source captured in the tGooglePage container. - Mike Mike Brown Cyber-NY Interactive 212-475-2721 Ext. 306 www.cyber-ny.com mike at cyber-ny.com Follow Us On Twitter http://www.twitter.com/cyberny On Mar 21, 2010, at 10:39 AM, Colin Holgate wrote: > > On Mar 21, 2010, at 8:36 AM, Mike Brown wrote: > >> Does anyone know the method for displaying the web page retrieved >> from the example "put url (?http://www.google.com?) into >> tGooglePage"? > > > I suppose you would say: > > revBrowserSet id, "htmltext",tGooglePage > > where id would be the id of the revBrowser instance. Still wouldn't > work on a phone. > > Here's a script that would close all existing revBrowsers, get the > Google page source, and then set it to a new instance: > > on mouseUp > put revBrowserInstances() into tInstances > repeat for each item tInstance in tInstances > revBrowserClose tInstance > end repeat > > put url ("http://www.google.com/") into tGooglePage > put revBrowserOpen(the windowId of this stack, "") into tBrowserId > revBrowserSet tBrowserId,"rect",the rect of button "placeholder" > revBrowserSet tBrowserId,"htmltext",tGooglePage > end mouseUp > > > Usually I think you would open the initial page in the first > revBrowserSet line. In the above example, button "placeholder" is > set to have an outer glow, which means that the web page seems to > have that outer glow too. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From janschenkel at yahoo.com Sun Mar 21 13:28:18 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 21 Mar 2010 10:28:18 -0700 (PDT) Subject: revPrintField ???? PDF In-Reply-To: <4BA5F2AF.4080702@gmail.com> Message-ID: <843248.82634.qm@web65407.mail.ac4.yahoo.com> You can set the 'printerOutput' property to a filepath before running print commands. This will generate a PDF file on MacOSX, an XPS file on Windows, or a Postscript file on Linux. HTH, Jan Schenkel. ===== Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) --- On Sun, 3/21/10, Richmond Mathewson wrote: > From: Richmond Mathewson > Subject: revPrintField ???? PDF > To: "How to use Revolution" > Date: Sunday, March 21, 2010, 3:19 AM > on mouseUp > ? revPrintField the name of fld "TTEXT" > end mouseUp > > gives me (on Mac OS X) a standard print dialog (without the > print to PDF option) > > the documentation (PDF) has this: > > "On Mac OS X systems you can also print directly to a PDF > file > -- even without showing the user a print dialog if choose > to." > > which is lovely - but nowhere can I find details on how to > effect this . . . > > nor printing to XPS on Windows. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From richmondmathewson at gmail.com Sun Mar 21 13:51:07 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 21 Mar 2010 19:51:07 +0200 Subject: revPrintField ???? PDF In-Reply-To: <843248.82634.qm@web65407.mail.ac4.yahoo.com> References: <843248.82634.qm@web65407.mail.ac4.yahoo.com> Message-ID: <4BA65C8B.8090004@gmail.com> On 21/03/2010 19:28, Jan Schenkel wrote: > You can set the 'printerOutput' property to a filepath before running print commands. This will generate a PDF file on MacOSX, an XPS file on Windows, or a Postscript file on Linux. > Well, I must be doing something wrong as I could not get this to behave itself; it just kept pumping out a PDF file called "it" with no suffix in the RunRev folder . . . :) From janschenkel at yahoo.com Sun Mar 21 13:58:00 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 21 Mar 2010 10:58:00 -0700 (PDT) Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: Message-ID: <891651.98118.qm@web65407.mail.ac4.yahoo.com> Hi Zeeshan, Maybe my skull is especially thick today, but I'm still confused about what exactly you are trying to accomplish. In order to help you create your solution, we'll need answers to a few basic questions: - what exactly is JADE? -> a library, a framework, a development tool? --> a URL with more information would help a lot -> and how does plain Java code use it? --> do you have working Java code that uses/interacts with JADE? - what exactly do you expect from rev? -> graphical user interface as front-end? -> or something else entirely? - what is your planned architecture? -> do you want to run little Java programs that do a chunk of work? -> or will there be a separate Java process running constantly? --> and will this be started separately? --> or would your rev stack take the initiative to start this? -> is it running on the same machine or somewhere else? --> if only local, then process communication may do the trick --> if possibly remote, then socket communication is the way to go This list is about how to use revolution, members are not necessarily experts in other languages, libraries, environments or platforms. Provide us with a detailed goal and initial plan, and we will help you put the pieces of the puzzle into place. Best of luck, Jan Schenkel. ===== Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) --- On Sat, 3/20/10, zeeshan aamir wrote: > Hay to all, > > now you can give me suggestion, initial program, sample > code with your own > folder in this link. > > > http://www.4shared.com/dir/34362030/72462f27/RunRev_Suggestion.html > > Pass:? ? ? 1234 > > > Thanks for your all affords and corporations. > Regards, > ZEESHAN AAMIR > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Sun Mar 21 14:30:08 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 21 Mar 2010 11:30:08 -0700 Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: References: <942463.46490.qm@web65402.mail.ac4.yahoo.com> Message-ID: <141660896937.20100321113008@ahsoftware.net> zeeshan- Saturday, March 20, 2010, 9:36:22 AM, you wrote: > javac Server.java > it makes Server.Class > and it is in same folder where rev is. but when i run this through rev or > directly from command promt > like java Server > it gives error where as it run fine in JADE and gives output. If you get an error when you run java Server from a command prompt then you will get the same error when you try to execute this from a shell command in runrev. You will need to fix your java classpath to run the server successfully from the command line before you can procede any further. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Mar 21 14:30:52 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 21 Mar 2010 11:30:52 -0700 Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: References: <11502945031.20100319153736@ahsoftware.net> <9504806953.20100319160838@ahsoftware.net> <38508219000.20100319170530@ahsoftware.net> <401C6D4B-A4F0-4AFC-AC7A-8015847280A4@economy-x-talk.com> <125509894218.20100319173326@ahsoftware.net> Message-ID: <179660940703.20100321113052@ahsoftware.net> Mark- Saturday, March 20, 2010, 4:31:00 AM, you wrote: > Sorry, I didn't mean to scare you off, Mark ;-) Between you and Jan, I figure things are in good hands now... -- -Mark Wieder mwieder at ahsoftware.net From shani.runrev at gmail.com Sun Mar 21 17:00:23 2010 From: shani.runrev at gmail.com (zeeshan aamir) Date: Sun, 21 Mar 2010 22:00:23 +0100 Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: <179660940703.20100321113052@ahsoftware.net> References: <11502945031.20100319153736@ahsoftware.net> <9504806953.20100319160838@ahsoftware.net> <38508219000.20100319170530@ahsoftware.net> <401C6D4B-A4F0-4AFC-AC7A-8015847280A4@economy-x-talk.com> <125509894218.20100319173326@ahsoftware.net> <179660940703.20100321113052@ahsoftware.net> Message-ID: yes mark, I think the prob is in my class path. Javac command runfine but when I try Java jade.boot Its not work I set the class path for this C:\Program Files\Java\jade commons-codec-1.3.jar jade.jar jadeTools.jar iiop.jar http.jar I set these path. set path= C:\Program Files\Java\jdk \bin set *JADE_HOME*= C:\Program Files\Java\jade set CONTROLLER=127.0.0.1 set *classpath*=%*JADE_HOME*% set *classpath*=%*JADE_HOME*% ;%*JADE_HOME*%\*jade*.*jar* set *classpath*=%*JADE_HOME*% ;%*JADE_HOME*%\*jadeTools*.*jar* set *classpath*=%*JADE_HOME*% ;%*JADE_HOME*%\*iiop.jar* set *classpath*=%*JADE_HOME*% ;%*JADE_HOME*%*\http.jar* set *classpath*=%*JADE_HOME*% ;%*JADE_HOME*%\ *commons-codec-1.3* *.jar* I don?t know why it not work. May be this is the problem. Regards, ZEESHAN On Sun, Mar 21, 2010 at 7:30 PM, Mark Wieder wrote: > Mark- > > Saturday, March 20, 2010, 4:31:00 AM, you wrote: > > > Sorry, I didn't mean to scare you off, Mark ;-) > > Between you and Jan, I figure things are in good hands now... > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From gregory.lypny at videotron.ca Sun Mar 21 17:03:43 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Sun, 21 Mar 2010 17:03:43 -0400 Subject: New Version of Field Object in Version 4.5 Message-ID: <65C3266F-864A-4630-8977-E4135122F64B@videotron.ca> Hello everyone, I saw mention in RevUp that the field object was being updated for the next version. Is there anywhere I can learn more about the proposed changes? Regards, Gregory From len-morgan at crcom.net Sun Mar 21 17:05:40 2010 From: len-morgan at crcom.net (Len Morgan) Date: Sun, 21 Mar 2010 16:05:40 -0500 Subject: Still Having Data Grid Row Coloring Problems Message-ID: <4BA68A24.1030409@crcom.net> I'm still not able to set the background color of an individual row in a data grid. Well, that's not entirely true. I can make a row invisible but I can't change it to the color I want. I have followed the instructions in the lesson "How Can I Colorize Individual Lines in a Table?", and if I do what the lesson says, it does in fact work but it only changes the FOREGROUND color of the text. I need to set the BACKGROUND color of the text/column and when I do that, as soon as another line is selected, the hilite changes to that new row and the old row is blanked out completely. If I go back and select the now invisible row, all the data comes back (hilited) so the data is still there. Is "set the backgroundColor of me" to XXX the correct command to use or should I be changing the background color of some other control (like the rectangle that shows up in the column template)? len morgan From len-morgan at crcom.net Sun Mar 21 17:07:13 2010 From: len-morgan at crcom.net (Len Morgan) Date: Sun, 21 Mar 2010 16:07:13 -0500 Subject: New Version of Field Object in Version 4.5 In-Reply-To: <65C3266F-864A-4630-8977-E4135122F64B@videotron.ca> References: <65C3266F-864A-4630-8977-E4135122F64B@videotron.ca> Message-ID: <4BA68A81.7010100@crcom.net> I think Kevin Miller's "road map for 2010" a week or two ago listed at least some of the features they were shooting for. len morgan On 3/21/2010 4:03 PM, Gregory Lypny wrote: > Hello everyone, > > I saw mention in RevUp that the field object was being updated for the next version. Is there anywhere I can learn more about the proposed changes? > > Regards, > > Gregory > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From bvlahos at mac.com Sun Mar 21 17:07:28 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 21 Mar 2010 14:07:28 -0700 Subject: Can compress also password protect? Message-ID: <5BDA98E4-B841-4261-9451-7E2FA0A4C9DD@mac.com> There is no provision in the Rev dictionary for other parameters in the compress or decompress function. The RFC shows one option for compression but nothing regarding encryption or password protection. Is there a cross platform way to add encryption requiring a password in the compress statement or should I do this as two separate steps? If I encrypt first then I will lose any advantage of compression because there will be no patterns. Bill Vlahos From len-morgan at crcom.net Sun Mar 21 17:41:49 2010 From: len-morgan at crcom.net (Len Morgan) Date: Sun, 21 Mar 2010 16:41:49 -0500 Subject: Data Grid Column Header Alignment Changes after column resize In-Reply-To: <46CDDD63-AD89-4D62-B864-D921447A69E3@mangomultimedia.com> References: <4B9BBADE.50908@crcom.net> <46CDDD63-AD89-4D62-B864-D921447A69E3@mangomultimedia.com> Message-ID: <4BA6929D.2000405@crcom.net> It didn't work so I guess I need an updated datagrid library since I can't download the latest 4.5 dp-3 without error. :-( len morgan On 3/15/2010 11:08 AM, Trevor DeVore wrote: > On Mar 13, 2010, at 11:18 AM, Len Morgan wrote: > >> I'm trying to use my first Data Grid (table) in a stack and I need to >> set the column Header alignment for a few of the columns. Following >> the instructions in the DG manual, I entered the alignments using the >> message box and it looked fine. But then I resized one of the >> columns and all of the alignments changed, some of them even aligning >> themselves such that only half of the text showed in the column. >> >> Do I need to set the alignments every time the grid is displayed? If >> so, where can I do that? > > There is a bug in the version of the library shipping with 4.0 with > regards to column header alignment. It has been fixed for 4.5 though. > > Try setting the column alignment by script when your stack opens. Here > is a lesson - > http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7324-How-Do-I-Change-Column-Alignment- > > > If that doesn't work then let me know and I can get you updated library. > From jacque at hyperactivesw.com Sun Mar 21 18:02:02 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 21 Mar 2010 17:02:02 -0500 Subject: New Version of Field Object in Version 4.5 In-Reply-To: <4BA68A81.7010100@crcom.net> References: <65C3266F-864A-4630-8977-E4135122F64B@videotron.ca> <4BA68A81.7010100@crcom.net> Message-ID: <4BA6975A.5030808@hyperactivesw.com> Len Morgan wrote: > I think Kevin Miller's "road map for 2010" a week or two ago listed at > least some of the features they were shooting for. I think the road map was on the Improve list, which is only available to Enterprise customers. That info is all NDA, so anyone on the use-rev list has to wait. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sarah.reichelt at gmail.com Sun Mar 21 18:11:46 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 22 Mar 2010 08:11:46 +1000 Subject: revPrintField ???? PDF In-Reply-To: <4BA60690.7040006@gmail.com> References: <4BA5F2AF.4080702@gmail.com> <4BA60690.7040006@gmail.com> Message-ID: On Sun, Mar 21, 2010 at 9:44 PM, Richmond Mathewson wrote: > ?On 21/03/2010 13:18, Sarah Reichelt wrote: >> >> >> on mouseUp >> ? ?showPrintDialog false, true >> ? ?revPrintField the name of fld "TTEXT" >> end mouseUp >> > ?one needs to change "showPrintDialog" to "revShowPrintDialog" Doh! Yes, sorry about that. Sarah From stephenREVOLUTION2 at barncard.com Sun Mar 21 18:13:28 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 21 Mar 2010 17:13:28 -0500 Subject: Can compress also password protect? In-Reply-To: <5BDA98E4-B841-4261-9451-7E2FA0A4C9DD@mac.com> References: <5BDA98E4-B841-4261-9451-7E2FA0A4C9DD@mac.com> Message-ID: You will need two steps. These are two separate actions.. On 21 March 2010 16:07, Bill Vlahos wrote: > There is no provision in the Rev dictionary for other parameters in the > compress or decompress function. The RFC shows one option for compression > but nothing regarding encryption or password protection. > > Is there a cross platform way to add encryption requiring a password in the > compress statement or should I do this as two separate steps? If I encrypt > first then I will lose any advantage of compression because there will be no > patterns. > > Bill Vlahos > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From stephenREVOLUTION2 at barncard.com Sun Mar 21 18:18:16 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 21 Mar 2010 17:18:16 -0500 Subject: Can compress also password protect? In-Reply-To: <5BDA98E4-B841-4261-9451-7E2FA0A4C9DD@mac.com> References: <5BDA98E4-B841-4261-9451-7E2FA0A4C9DD@mac.com> Message-ID: Bill, are you planning on using ask password or using your own dialog? Ask password is encrypted. Please see the entry in the dictionary regarding this. On 21 March 2010 16:07, Bill Vlahos wrote: > There is no provision in the Rev dictionary for other parameters in the > compress or decompress function. The RFC shows one option for compression > but nothing regarding encryption or password protection. > > Is there a cross platform way to add encryption requiring a password in the > compress statement or should I do this as two separate steps? If I encrypt > first then I will lose any advantage of compression because there will be no > patterns. > > Bill Vlahos > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From bvlahos at mac.com Sun Mar 21 18:29:39 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 21 Mar 2010 15:29:39 -0700 Subject: Can compress also password protect? In-Reply-To: References: <5BDA98E4-B841-4261-9451-7E2FA0A4C9DD@mac.com> Message-ID: <358995F8-3600-4B62-A90B-D73F6209E1AF@mac.com> I already know what the password is to use. I just need to know how to do it. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Mar 21, 2010, at 3:18 PM, stephen barncard wrote: > Bill, > are you planning on using ask password or using your own dialog? Ask > password is encrypted. Please see the entry in the dictionary regarding > this. > > On 21 March 2010 16:07, Bill Vlahos wrote: > >> There is no provision in the Rev dictionary for other parameters in the >> compress or decompress function. The RFC shows one option for compression >> but nothing regarding encryption or password protection. >> >> Is there a cross platform way to add encryption requiring a password in the >> compress statement or should I do this as two separate steps? If I encrypt >> first then I will lose any advantage of compression because there will be no >> patterns. >> >> Bill Vlahos >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > ------------------------- > Stephen Barncard > currently in Fairhope AL > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION2 at barncard.com Sun Mar 21 18:32:41 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 21 Mar 2010 17:32:41 -0500 Subject: Can compress also password protect? In-Reply-To: <358995F8-3600-4B62-A90B-D73F6209E1AF@mac.com> References: <5BDA98E4-B841-4261-9451-7E2FA0A4C9DD@mac.com> <358995F8-3600-4B62-A90B-D73F6209E1AF@mac.com> Message-ID: It's in the notes: To use this command you need to have stored an encrypted password first. There is no way to match a non-encrypted passphrase. Here's a simple example. Developer decides on a password and produces the encrypted password back by entering in the message box: *answer* password; *put* it *-- encrypted password appears in message box results* Now save that encrypted password in a custom property, say, the uPassword of the stack. For the end user, you just insert the ask password command in your code and compare the encrypted result to the result you stored: *ask* password "Please enter the administrator password." *if* it is empty *then* *exit* to top *if* it = the uPassword of this stack *then* *# right password; proceed* *else* *# incorrect password* *answer* "Incorrect password. Please try again." *end* *if* On 21 March 2010 17:29, Bill Vlahos wrote: > I already know what the password is to use. I just need to know how to do > it. > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important > life information with you, accessible, and secure. > > On Mar 21, 2010, at 3:18 PM, stephen barncard wrote: > > > Bill, > > are you planning on using ask password or using your own dialog? Ask > > password is encrypted. Please see the entry in the dictionary regarding > > this. > > > > On 21 March 2010 16:07, Bill Vlahos wrote: > > > >> There is no provision in the Rev dictionary for other parameters in the > >> compress or decompress function. The RFC shows one option for > compression > >> but nothing regarding encryption or password protection. > >> > >> Is there a cross platform way to add encryption requiring a password in > the > >> compress statement or should I do this as two separate steps? If I > encrypt > >> first then I will lose any advantage of compression because there will > be no > >> patterns. > >> > >> Bill Vlahos > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > > > > > -- > > ------------------------- > > Stephen Barncard > > currently in Fairhope AL > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From bvlahos at mac.com Sun Mar 21 18:41:09 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 21 Mar 2010 15:41:09 -0700 Subject: Can compress also password protect? In-Reply-To: References: <5BDA98E4-B841-4261-9451-7E2FA0A4C9DD@mac.com> <358995F8-3600-4B62-A90B-D73F6209E1AF@mac.com> Message-ID: <1D6D21B3-36D0-4586-8381-24E1F7112423@mac.com> I think you misunderstood my question. How do I compress a file and then encrypt that file? Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Mar 21, 2010, at 3:32 PM, stephen barncard wrote: > It's in the notes: > > To use this command you need to have stored an encrypted password first. > There is no way to match a non-encrypted passphrase. Here's a simple > example. > > > Developer decides on a password and produces the encrypted password back by > entering in the message box: > > > *answer* password; *put* it > > *-- encrypted password appears in message box results* > > > Now save that encrypted password in a custom property, say, the uPassword of > the stack. > > > For the end user, you just insert the ask password command in your code and > compare the encrypted result to the result you stored: > > > *ask* password "Please enter the administrator password." > > *if* it is empty *then* *exit* to top > > *if* it = the uPassword of this stack *then* > > *# right password; proceed* > > *else* > > *# incorrect password* > > *answer* "Incorrect password. Please try again." > > *end* *if* > > > > On 21 March 2010 17:29, Bill Vlahos wrote: > >> I already know what the password is to use. I just need to know how to do >> it. >> >> Bill Vlahos >> _________________ >> InfoWallet (http://www.infowallet.com) is about keeping your important >> life information with you, accessible, and secure. >> >> On Mar 21, 2010, at 3:18 PM, stephen barncard wrote: >> >>> Bill, >>> are you planning on using ask password or using your own dialog? Ask >>> password is encrypted. Please see the entry in the dictionary regarding >>> this. >>> >>> On 21 March 2010 16:07, Bill Vlahos wrote: >>> >>>> There is no provision in the Rev dictionary for other parameters in the >>>> compress or decompress function. The RFC shows one option for >> compression >>>> but nothing regarding encryption or password protection. >>>> >>>> Is there a cross platform way to add encryption requiring a password in >> the >>>> compress statement or should I do this as two separate steps? If I >> encrypt >>>> first then I will lose any advantage of compression because there will >> be no >>>> patterns. >>>> >>>> Bill Vlahos >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>> >>> >>> >>> -- >>> ------------------------- >>> Stephen Barncard >>> currently in Fairhope AL >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > ------------------------- > Stephen Barncard > currently in Fairhope AL > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION2 at barncard.com Sun Mar 21 19:10:55 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 21 Mar 2010 18:10:55 -0500 Subject: Can compress also password protect? In-Reply-To: <1D6D21B3-36D0-4586-8381-24E1F7112423@mac.com> References: <5BDA98E4-B841-4261-9451-7E2FA0A4C9DD@mac.com> <358995F8-3600-4B62-A90B-D73F6209E1AF@mac.com> <1D6D21B3-36D0-4586-8381-24E1F7112423@mac.com> Message-ID: put compress(tdata) into tCompressed put codify(tCompressed) into tEncrypted function codify pData encrypt pData using pCipher with password pKey put the result into tR if tR is not empty then putmessage "Encode Error:" & return & tR end if return it end codify On 21 March 2010 17:41, Bill Vlahos wrote: > I think you misunderstood my question. > > How do I compress a file and then encrypt that file? > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important > life information with you, accessible, and secure. > > On Mar 21, 2010, at 3:32 PM, stephen barncard wrote: > > > It's in the notes: > > > > To use this command you need to have stored an encrypted password first. > > There is no way to match a non-encrypted passphrase. Here's a simple > > example. > > > > > > Developer decides on a password and produces the encrypted password back > by > > entering in the message box: > > > > > > *answer* password; *put* it > > > > *-- encrypted password appears in message box results* > > > > > > Now save that encrypted password in a custom property, say, the uPassword > of > > the stack. > > > > > > For the end user, you just insert the ask password command in your code > and > > compare the encrypted result to the result you stored: > > > > > > *ask* password "Please enter the administrator password." > > > > *if* it is empty *then* *exit* to top > > > > *if* it = the uPassword of this stack *then* > > > > *# right password; proceed* > > > > *else* > > > > *# incorrect password* > > > > *answer* "Incorrect password. Please try again." > > > > *end* *if* > > > > > > > > On 21 March 2010 17:29, Bill Vlahos wrote: > > > >> I already know what the password is to use. I just need to know how to > do > >> it. > >> > >> Bill Vlahos > >> _________________ > >> InfoWallet (http://www.infowallet.com) is about keeping your important > >> life information with you, accessible, and secure. > >> > >> On Mar 21, 2010, at 3:18 PM, stephen barncard wrote: > >> > >>> Bill, > >>> are you planning on using ask password or using your own dialog? Ask > >>> password is encrypted. Please see the entry in the dictionary regarding > >>> this. > >>> > >>> On 21 March 2010 16:07, Bill Vlahos wrote: > >>> > >>>> There is no provision in the Rev dictionary for other parameters in > the > >>>> compress or decompress function. The RFC shows one option for > >> compression > >>>> but nothing regarding encryption or password protection. > >>>> > >>>> Is there a cross platform way to add encryption requiring a password > in > >> the > >>>> compress statement or should I do this as two separate steps? If I > >> encrypt > >>>> first then I will lose any advantage of compression because there will > >> be no > >>>> patterns. > >>>> > >>>> Bill Vlahos > >>>> _______________________________________________ > >>>> use-revolution mailing list > >>>> use-revolution at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-revolution > >>>> > >>> > >>> > >>> > >>> -- > >>> ------------------------- > >>> Stephen Barncard > >>> currently in Fairhope AL > >>> _______________________________________________ > >>> use-revolution mailing list > >>> use-revolution at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > > > > > -- > > ------------------------- > > Stephen Barncard > > currently in Fairhope AL > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From stephenREVOLUTION2 at barncard.com Sun Mar 21 19:18:39 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 21 Mar 2010 18:18:39 -0500 Subject: Fwd: Can compress also password protect? In-Reply-To: References: <5BDA98E4-B841-4261-9451-7E2FA0A4C9DD@mac.com> <358995F8-3600-4B62-A90B-D73F6209E1AF@mac.com> <1D6D21B3-36D0-4586-8381-24E1F7112423@mac.com> Message-ID: the 15k limit squashed my previous post, put compress(tdata) into tCompressed put codify(tCompressed) into tEncrypted function codify pData encrypt pData using pCipher with password pKey put the result into tR if tR is not empty then putmessage "Encode Error:" & return & tR end if return it end codify you can use put the cipherNames into tCypherNameList to get the possible encryption methods. I used this for the client I mentioned earlier that wanted compressed and encrypted MP3 files Decrypt and decompress on the other side in that order. On 21 March 2010 17:41, Bill Vlahos wrote: > I think you misunderstood my question. > > How do I compress a file and then encrypt that file? > > Bill Vlahos > From sarah.reichelt at gmail.com Sun Mar 21 19:29:54 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 22 Mar 2010 09:29:54 +1000 Subject: revPrintField ???? PDF In-Reply-To: <4BA65C8B.8090004@gmail.com> References: <843248.82634.qm@web65407.mail.ac4.yahoo.com> <4BA65C8B.8090004@gmail.com> Message-ID: On Mon, Mar 22, 2010 at 3:51 AM, Richmond Mathewson wrote: > ?On 21/03/2010 19:28, Jan Schenkel wrote: >> >> You can set the 'printerOutput' property to a filepath before running >> print commands. This will generate a PDF file on MacOSX, an XPS file on >> Windows, or a Postscript file on Linux. >> > Well, I must be doing something wrong as I could not get this to behave > itself; it just kept > pumping out a PDF file called "it" with no suffix in the RunRev folder . . . > ? :) Try this: on mouseUp ask file "Save printout as:" with "Print.pdf" put it into tFileName if tFileName is empty then exit to top set the printerOutput to "file:" & tFileName revShowPrintDialog false, false revPrintField the long name of fld "TTEXT" end mouseUp Cheers, Sarah From sarah.reichelt at gmail.com Sun Mar 21 19:31:29 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 22 Mar 2010 09:31:29 +1000 Subject: Revmobile Internet Support In-Reply-To: References: <6292F579-E8FC-4C82-ACF4-46AE435007EA@verizon.net> <7c87a2a11003200839p5e301342g8b88f041fc0993f1@mail.gmail.com> Message-ID: On Sun, Mar 21, 2010 at 10:36 PM, Mike Brown wrote: > Does anyone know the method for displaying the web page retrieved from the > example "put url (?http://www.google.com?) into tGooglePage"? You can get a basic web page display using: put url (?http://www.google.com?) into tGooglePage set the htmltext of fld "WebPage" to tGooglePage This just uses Rev's built-in html support, which is not complete, but it gets you part of the way. Cheers, Sarah From mwieder at ahsoftware.net Sun Mar 21 19:54:47 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 21 Mar 2010 16:54:47 -0700 Subject: JADE (NetBeans IDE 6.8) and Rev Studio 4.0 In-Reply-To: References: <11502945031.20100319153736@ahsoftware.net> <9504806953.20100319160838@ahsoftware.net> <38508219000.20100319170530@ahsoftware.net> <401C6D4B-A4F0-4AFC-AC7A-8015847280A4@economy-x-talk.com> <125509894218.20100319173326@ahsoftware.net> <179660940703.20100321113052@ahsoftware.net> Message-ID: <73680375609.20100321165447@ahsoftware.net> zeeshan- If you really have embedded spaces and asterisks in your path, then yes, this is a problem. If you don't and you're just adding them for display purposes, DON"T DO THAT. It makes it impossible to figure out what's really going on. Also, it seems that you're overwriting your existing classpath several times rather than adding to it. This is getting quite a bit off-topic for members of this list - you may want to take this discussion to a java list until you can get things working from the command line. Then your runrev shell command should work. If it doesn't, then it's appropriate to bring it back here. -- -Mark Wieder mwieder at ahsoftware.net From len-morgan at crcom.net Sun Mar 21 22:20:35 2010 From: len-morgan at crcom.net (Len Morgan) Date: Sun, 21 Mar 2010 21:20:35 -0500 Subject: New Version of Field Object in Version 4.5 In-Reply-To: <4BA6975A.5030808@hyperactivesw.com> References: <65C3266F-864A-4630-8977-E4135122F64B@videotron.ca> <4BA68A81.7010100@crcom.net> <4BA6975A.5030808@hyperactivesw.com> Message-ID: <4BA6D3F3.6030309@crcom.net> Opps. Sorry. I don't think I let anything out of the bag though. I'll pay a little closer attention to which list the question comes from from now on. len On 3/21/2010 5:02 PM, J. Landman Gay wrote: > Len Morgan wrote: >> I think Kevin Miller's "road map for 2010" a week or two ago listed >> at least some of the features they were shooting for. > > I think the road map was on the Improve list, which is only available > to Enterprise customers. That info is all NDA, so anyone on the > use-rev list has to wait. > From lists at mangomultimedia.com Mon Mar 22 09:44:09 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 22 Mar 2010 09:44:09 -0400 Subject: Still Having Data Grid Row Coloring Problems In-Reply-To: <4BA68A24.1030409@crcom.net> References: <4BA68A24.1030409@crcom.net> Message-ID: <6A67E0D6-D689-4233-83A5-7BF1B67F32EE@mangomultimedia.com> On Mar 21, 2010, at 5:05 PM, Len Morgan wrote: > I'm still not able to set the background color of an individual row > in a data grid. Well, that's not entirely true. I can make a row > invisible but I can't change it to the color I want. > > I have followed the instructions in the lesson "How Can I Colorize > Individual Lines in a Table?", and if I do what the lesson says, it > does in fact work but it only changes the FOREGROUND color of the > text. I need to set the BACKGROUND color of the text/column and > when I do that, as soon as another line is selected, the hilite > changes to that new row and the old row is blanked out completely. Can you provide the script you are using to change the background color? -- 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 Mon Mar 22 09:47:45 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 22 Mar 2010 09:47:45 -0400 Subject: Data Grid Column Header Alignment Changes after column resize In-Reply-To: <4BA6929D.2000405@crcom.net> References: <4B9BBADE.50908@crcom.net> <46CDDD63-AD89-4D62-B864-D921447A69E3@mangomultimedia.com> <4BA6929D.2000405@crcom.net> Message-ID: <91696716-5A47-483E-B38D-50B1B6C5BF84@mangomultimedia.com> On Mar 21, 2010, at 5:41 PM, Len Morgan wrote: > It didn't work so I guess I need an updated datagrid library since I > can't download the latest 4.5 dp-3 without error. :-( You can download it here: http://www.bluemangolearning.com/download/revolution/tools/revdatagridlibrary.rev.zip This lessons shows how to upgrade your copy. http://revolution.screenstepslive.com/spaces/revolution/buckets/tutorials/lessons/6186-Upgrading-the-Data-Grid-Library -- 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 Mon Mar 22 10:05:38 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 22 Mar 2010 07:05:38 -0700 Subject: Finding USB volumes on Win Message-ID: <4BA77932.30100@fourthworld.com> In January with the help of Phil, Peter, and others I got some great tips for identifying removable drives on OS X and Linux. But I'm having difficulty figuring out how to do the same in Windows. I can find the registry entries to determine which devices are mounted, but they don't contain the info which will let me know which drive letter they're associated with. I've tried setting the shellCommand to "diskpart" and then using: get shell("list volume") ...but that returns "2", which means a syntax error, even though that syntax works fine from the command line. Any tips on how to identify mounted removable volumes and obtain their drive letters? Extra bonus points if I could get their names too, for those that have been named. TIA - -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From wow at together.net Mon Mar 22 11:00:39 2010 From: wow at together.net (Richard Miller) Date: Mon, 22 Mar 2010 11:00:39 -0400 Subject: Finding USB volumes on Win In-Reply-To: <4BA77932.30100@fourthworld.com> References: <4BA77932.30100@fourthworld.com> Message-ID: <4BA78617.2090103@together.net> Richard, This has been working for me: repeat with i = number of lines of the volumes down to 1 put line i of the volumes into x put getvolumesn(X) into z end repeat function GetVolumeSN pDiskLetter local volumeSerialNumber -- Supports both "C", "C:" and "C:\" styles put char 1 of pDiskLetter & ":" into pDisk set the hideConsoleWindows to true put shell("dir " & pDisk) into tDirData get matchText(tDirData,"Volume Serial Number is (.*)\n",volumeSerialNumber) if it is true then return volumeSerialNumber else return empty end if end GetVolumeSN Richard Miller On 3/22/2010 10:05 AM, Richard Gaskin wrote: > In January with the help of Phil, Peter, and others I got some great > tips for identifying removable drives on OS X and Linux. But I'm > having difficulty figuring out how to do the same in Windows. > > I can find the registry entries to determine which devices are > mounted, but they don't contain the info which will let me know which > drive letter they're associated with. > > I've tried setting the shellCommand to "diskpart" and then using: > > get shell("list volume") > > ...but that returns "2", which means a syntax error, even though that > syntax works fine from the command line. > > Any tips on how to identify mounted removable volumes and obtain their > drive letters? Extra bonus points if I could get their names too, for > those that have been named. > > TIA - > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From wow at together.net Mon Mar 22 11:01:43 2010 From: wow at together.net (Richard Miller) Date: Mon, 22 Mar 2010 11:01:43 -0400 Subject: VideoGrabber on Windows In-Reply-To: <90A0B402-D5DF-47B2-A093-793B447DBFDE@major.on-rev.com> References: <38E2347F-7711-4892-8CDD-C734479919C2@major.on-rev.com> <90A0B402-D5DF-47B2-A093-793B447DBFDE@major.on-rev.com> Message-ID: <4BA78657.8000003@together.net> Hi Klaus, Is this topic still of interest to you? I've been working a lot with the videograbber on Windows. Richard Miller On 1/6/2010 12:25 PM, Klaus Major wrote: > Hi friends, > > no other win user that work with the RevVideoGrabber > and wants to share her/his experiences? > > Oh, c'mon folks! :-) > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From wow at together.net Mon Mar 22 11:03:04 2010 From: wow at together.net (Richard Miller) Date: Mon, 22 Mar 2010 11:03:04 -0400 Subject: revmobile looking good In-Reply-To: References: Message-ID: <4BA786A8.4090700@together.net> Can anyone confirm if the (video) player object works under revMobile? Thanks. Richard Miller On 3/20/2010 11:57 PM, Terry Judd wrote: >>> Meanwhile, would it be possible to include iPad in the Simulator choices? >>> That script is password protected, so I can't go in and try adding that >>> myself. >>> >> A couple of days ago (just after the latest revMobile pre-alpha), >> Apple released beta 5 of the iPhone 3.2 SDK and this is the first >> version that allows submission of apps using 3.2 which also means the >> first iPad apps. >> I would expect that now they have a target, RunRev can link into this >> and give us an iPad version soon. >> > It's all looking good so far - the ability to test on the iPad simulator, > even with the pre-alpha would be great. > > What I'd like some info on is what sort of controls/interface objects are > likely to included in the IDE. I've started creating some replica 'native' > controls but don't want to go too far down this path if I don't have too. > > Terry... > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From ambassador at fourthworld.com Mon Mar 22 11:06:53 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 22 Mar 2010 08:06:53 -0700 Subject: Finding USB volumes on Win Message-ID: <4BA7878D.6070501@fourthworld.com> Richard Miller wrote: > On 3/22/2010 10:05 AM, Richard Gaskin wrote: >> In January with the help of Phil, Peter, and others I got some great >> tips for identifying removable drives on OS X and Linux. But I'm >> having difficulty figuring out how to do the same in Windows. >> >> I can find the registry entries to determine which devices are >> mounted, but they don't contain the info which will let me know >> which drive letter they're associated with. ... > This has been working for me: > > repeat with i = number of lines of the volumes down to 1 > put line i of the volumes into x > put getvolumesn(X) into z > end repeat > > function GetVolumeSN pDiskLetter > local volumeSerialNumber > -- Supports both "C", "C:" and "C:\" styles > put char 1 of pDiskLetter & ":" into pDisk > set the hideConsoleWindows to true > put shell("dir " & pDisk) into tDirData > get matchText(tDirData,"Volume Serial Number is > (.*)\n",volumeSerialNumber) > if it is true then > return volumeSerialNumber > else > return empty > end if > end GetVolumeSN Thank you, Richard, but I've been getting the volume IDs from the registry. The challenge I have this morning is to find which volumes are removable. Since I last wrote I discovered that the info at HKEY\Local_Machine\System\MountedDevices\ seems to have what I need. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From klaus at major.on-rev.com Mon Mar 22 11:09:13 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 22 Mar 2010 16:09:13 +0100 Subject: VideoGrabber on Windows In-Reply-To: <4BA78657.8000003@together.net> References: <38E2347F-7711-4892-8CDD-C734479919C2@major.on-rev.com> <90A0B402-D5DF-47B2-A093-793B447DBFDE@major.on-rev.com> <4BA78657.8000003@together.net> Message-ID: <72D53E83-BFAF-4CE8-98EE-3DBA012833D3@major.on-rev.com> Hi Richard, > Hi Klaus, > > Is this topic still of interest to you? I've been working a lot with the videograbber on Windows. yes, sure! We had the chance to test VideoGrabber on Win7 and there is absolutely no way to use it with QuickTime. Works with VfW but that does not support any "standard" VideoCodecs like DV*, what we need in our project. *Out of the box! > Richard Miller > > On 1/6/2010 12:25 PM, Klaus Major wrote: >> Hi friends, >> no other win user that work with the RevVideoGrabber >> and wants to share her/his experiences? >> Oh, c'mon folks! :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From stephenREVOLUTION2 at barncard.com Mon Mar 22 11:11:34 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 22 Mar 2010 10:11:34 -0500 Subject: returning from custom dialog Message-ID: I asked this earlier with no answers.... I'll try again.. I'm building a custom list dialog and using dialogdata as usual... I've got it almost perfect except for one aspect. When control returns to the calling stack after closing the dialog, I have to click multiple times (2, not double click) to get the calling stack to react to clicking on any control. I want to just click on a field or button in the calling stack and have it respond like 'ordinary' apps after using the dialog. I'm trying stuff like "push" and "pop" but it's not working. What do others do to make this work properly? -- ------------------------- Stephen Barncard currently in Fairhope AL From wow at together.net Mon Mar 22 11:20:03 2010 From: wow at together.net (Richard Miller) Date: Mon, 22 Mar 2010 11:20:03 -0400 Subject: VideoGrabber on Windows In-Reply-To: <72D53E83-BFAF-4CE8-98EE-3DBA012833D3@major.on-rev.com> References: <38E2347F-7711-4892-8CDD-C734479919C2@major.on-rev.com> <90A0B402-D5DF-47B2-A093-793B447DBFDE@major.on-rev.com> <4BA78657.8000003@together.net> <72D53E83-BFAF-4CE8-98EE-3DBA012833D3@major.on-rev.com> Message-ID: <4BA78AA3.4060003@together.net> Klaus, Initialize the videograbber with this line: revInitializeVideoGrabber short name of this stack,"DirectX",rect of image 1 Use this basic sequence to record video and audio: revSetVideoGrabSettings "myvar" revSetVideoGrabAudio true,"1","16","16000" revRecordVideo myfile Don't use the newest videograbber.dll. I've found it does not allow access to the Compression dialog box. Use an older version. I can make it available if necessary. I reported this bug some time ago, but have not received a response from the engineers. Use the new DivX (www.divx.com) codec for best results. Let me know how that goes. The above works well for me under Windows 7. Richard On 3/22/2010 11:09 AM, Klaus on-rev wrote: > Hi Richard, > > >> Hi Klaus, >> >> Is this topic still of interest to you? I've been working a lot with the videograbber on Windows. >> > yes, sure! > > We had the chance to test VideoGrabber on Win7 and there is absolutely no way to use it with QuickTime. > Works with VfW but that does not support any "standard" VideoCodecs like DV*, what we need in our project. > > *Out of the box! > > >> Richard Miller >> >> On 1/6/2010 12:25 PM, Klaus Major wrote: >> >>> Hi friends, >>> no other win user that work with the RevVideoGrabber >>> and wants to share her/his experiences? >>> Oh, c'mon folks! :-) >>> > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From klaus at major.on-rev.com Mon Mar 22 11:46:03 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 22 Mar 2010 16:46:03 +0100 Subject: VideoGrabber on Windows In-Reply-To: <4BA78AA3.4060003@together.net> References: <38E2347F-7711-4892-8CDD-C734479919C2@major.on-rev.com> <90A0B402-D5DF-47B2-A093-793B447DBFDE@major.on-rev.com> <4BA78657.8000003@together.net> <72D53E83-BFAF-4CE8-98EE-3DBA012833D3@major.on-rev.com> <4BA78AA3.4060003@together.net> Message-ID: Hi Richard, > Klaus, > > Initialize the videograbber with this line: > revInitializeVideoGrabber short name of this stack,"DirectX",rect of image 1 is this "DirectX" the same as "VfW"? > Use this basic sequence to record video and audio: > > revSetVideoGrabSettings "myvar" Getting/setting the videosettings did not work for us with "VfW" at all. The variable was always empty! > revSetVideoGrabAudio true,"1","16","16000" Does this still work? I have been searching this in the docs for at least the last three versions of Rev! :-/ > revRecordVideo myfile > Don't use the newest videograbber.dll. I've found it does not allow access to the Compression dialog box. Use an older version. I can make it available if necessary. I reported this bug some time ago, but have not received a response from the engineers. > Use the new DivX (www.divx.com) codec for best results. See below, we need QuickTime for everything, since we are developing a crossplatform tool which has to work out of the box. > Let me know how that goes. The above works well for me under Windows 7. Basically it all works for us, but we need the user let record video in DV format, so we can compress them with Trevors wonderful QT external. Thanks anyway! :-) > Richard Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From wow at together.net Mon Mar 22 11:51:19 2010 From: wow at together.net (Richard Miller) Date: Mon, 22 Mar 2010 11:51:19 -0400 Subject: VideoGrabber on Windows In-Reply-To: References: <38E2347F-7711-4892-8CDD-C734479919C2@major.on-rev.com> <90A0B402-D5DF-47B2-A093-793B447DBFDE@major.on-rev.com> <4BA78657.8000003@together.net> <72D53E83-BFAF-4CE8-98EE-3DBA012833D3@major.on-rev.com> <4BA78AA3.4060003@together.net> Message-ID: <4BA791F7.4000708@together.net> Do not use VFW. The DirectX setting is not documented. Try to follow the code I sent. Disable "use video for windows". All of my video work with Rev is QT based. Let me know. Richard On 3/22/2010 11:46 AM, Klaus on-rev wrote: > Hi Richard, > > >> Klaus, >> >> Initialize the videograbber with this line: >> revInitializeVideoGrabber short name of this stack,"DirectX",rect of image 1 >> > is this "DirectX" the same as "VfW"? > > >> Use this basic sequence to record video and audio: >> >> revSetVideoGrabSettings "myvar" >> > Getting/setting the videosettings did not work for us with "VfW" at all. > The variable was always empty! > > >> revSetVideoGrabAudio true,"1","16","16000" >> > Does this still work? > I have been searching this in the docs for at least the last three versions of Rev! :-/ > > >> revRecordVideo myfile >> Don't use the newest videograbber.dll. I've found it does not allow access to the Compression dialog box. Use an older version. I can make it available if necessary. I reported this bug some time ago, but have not received a response from the engineers. >> Use the new DivX (www.divx.com) codec for best results. >> > See below, we need QuickTime for everything, since we are developing a crossplatform tool > which has to work out of the box. > > >> Let me know how that goes. The above works well for me under Windows 7. >> > Basically it all works for us, but we need the user let record video in DV format, so we > can compress them with Trevors wonderful QT external. > > Thanks anyway! :-) > > >> Richard >> > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From ambassador at fourthworld.com Mon Mar 22 11:53:53 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 22 Mar 2010 08:53:53 -0700 Subject: Finding USB volumes on Win Message-ID: <4BA79291.60909@fourthworld.com> Another snag: The key I need is named "\DosDevices\G:", at this path: HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices So it would seem that if I escape the backslashes in the key name I'd be good: get queryRegistry("HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices\\\DosDevices\\F:") But no go. I've tried many different combinations of escapes, and no escapes at all, and no matter what I try the result says, "bad key" and the data returned is empty. Any clues? TIA - -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From Ray at LinkIt.Com Mon Mar 22 15:05:09 2010 From: Ray at LinkIt.Com (Ray Horsley) Date: Mon, 22 Mar 2010 12:05:09 -0700 Subject: Spanish Voices Message-ID: <4C42F3D4-5B85-4845-A949-37EEB2A3691F@LinkIt.Com> Anybody know how to acquire/install the Spanish voices for the RevSpeech library? I saw them years ago when I used Metacard for text- to-speech. There were just two; a male voice named Carlos and a female voice. I think they're part of QuickTime, but I don't see them using the RevSpeechVoices function. Here's what I currently get on my Mac using this function: Agnes Albert Alex Bad News Bahh Bells Boing Bruce Bubbles Cellos Deranged Fred Good News Hysterical Junior Kathy Pipe Organ Princess Ralph Trinoids Vicki Victoria Whisper Zarvox Thanks, Ray Horsley LinkIt! Software From mdswindell at cruzio.com Mon Mar 22 12:10:39 2010 From: mdswindell at cruzio.com (Mark Swindell) Date: Mon, 22 Mar 2010 09:10:39 -0700 Subject: Spanish Voices In-Reply-To: <4C42F3D4-5B85-4845-A949-37EEB2A3691F@LinkIt.Com> References: <4C42F3D4-5B85-4845-A949-37EEB2A3691F@LinkIt.Com> Message-ID: <28969E32-CC55-4631-871B-B69405D190B6@cruzio.com> I believe you may be referring to Marta. She's working for Garmin now. The Spanish language voice position at Apple remains unfilled. :) Mark On Mar 22, 2010, at 12:05 PM, Ray Horsley wrote: > Anybody know how to acquire/install the Spanish voices for the RevSpeech library? I saw them years ago when I used Metacard for text-to-speech. There were just two; a male voice named Carlos and a female voice. I think they're part of QuickTime, but I don't see them using the RevSpeechVoices function. Here's what I currently get on my Mac using this function: > > Agnes > Albert > Alex > Bad News > Bahh > Bells > Boing > Bruce > Bubbles > Cellos > Deranged > Fred > Good News > Hysterical > Junior > Kathy > Pipe Organ > Princess > Ralph > Trinoids > Vicki > Victoria > Whisper > Zarvox > > > Thanks, > > Ray Horsley > LinkIt! Software > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From runrev260805 at m-r-d.de Mon Mar 22 12:26:12 2010 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Mon, 22 Mar 2010 17:26:12 +0100 Subject: Finding USB volumes on Win In-Reply-To: <4BA79291.60909@fourthworld.com> References: <4BA79291.60909@fourthworld.com> Message-ID: Richard, you could query all mounted devices from the shell get shell("reg query HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices") This return all mounted devices. You then just have to look for the specific one. Not that what you expected, but maybe it helps. Regards, Matthias Am 22.03.2010 um 16:53 schrieb Richard Gaskin: > Another snag: > > The key I need is named "\DosDevices\G:", at this path: > > HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices > > So it would seem that if I escape the backslashes in the key name I'd be good: > > get queryRegistry("HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices\\\DosDevices\\F:") > > But no go. > > I've tried many different combinations of escapes, and no escapes at all, and no matter what I try the result says, "bad key" and the data returned is empty. > > Any clues? > > TIA - > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From johncanmail-all at yahoo.it Mon Mar 22 13:03:03 2010 From: johncanmail-all at yahoo.it (Giovanni Cannizzaro) Date: Mon, 22 Mar 2010 18:03:03 +0100 Subject: Why to ask to save every modified stack? Message-ID: <4BA7A2C7.2020408@yahoo.it> Hi. I wanna ask if there is a reason for this. I have a mainstack with a lot of substack in it. When I quit Revolution I get the "Save stack" message, and this is normal only for the first time. But for me it's not normal that I've this message for every substack I've modified. If I save a mainstack or a substack of it I save the mainstack and ALL its substacks so why continue to ask to save every modified stack? This is very annoying in an app with a lot of substack. I think this is a bug so I ask to solve it before the 4.5 release. I've this behavior in every platform I use Revolution (Windows, Mac and Linux) I've post this even in the Revolution Forum Thank u for all and bye- From richmondmathewson at gmail.com Mon Mar 22 13:08:33 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 22 Mar 2010 19:08:33 +0200 Subject: Spanish Voices In-Reply-To: <4C42F3D4-5B85-4845-A949-37EEB2A3691F@LinkIt.Com> References: <4C42F3D4-5B85-4845-A949-37EEB2A3691F@LinkIt.Com> Message-ID: <4BA7A411.1020300@gmail.com> On 22/03/2010 21:05, Ray Horsley wrote: > Anybody know how to acquire/install the Spanish voices for the > RevSpeech library? I saw them years ago when I used Metacard for > text-to-speech. There were just two; a male voice named Carlos and a > female voice. I think they're part of QuickTime, but I don't see them > using the RevSpeechVoices function. Here's what I currently get on my > Mac using this function: > There were Mexican Spanish voices available for Mac OS 8 and 9: I remember having 'infantile fun' with my kids (who were about 3 and 5 at the time) getting the Mexican voices to read English texts . . . :) However, as far as I am aware, they were dropped when Macintosh went "Exxy". From niggemann at uni-wh.de Mon Mar 22 13:10:44 2010 From: niggemann at uni-wh.de (BNig) Date: Mon, 22 Mar 2010 09:10:44 -0800 (PST) Subject: returning from custom dialog In-Reply-To: References: Message-ID: <1269277844495-1677953.post@n4.nabble.com> Stephen, in a similar situation (not exactly though) I issued a "click at 1,1" or even "click at -1,-1" after returning to the calling stack. It helped, but seems a little unprofessional. I don't know if this would help in your situation. regards Bernd Stephen Barncard-4 wrote: > > I asked this earlier with no answers.... I'll try again.. > > I'm building a custom list dialog and using dialogdata as usual... > I've got it almost perfect except for one aspect. > > When control returns to the calling stack after closing the dialog, I have > to click multiple times (2, not double click) to get the calling stack to > react to clicking on any control. > > I want to just click on a field or button in the calling stack and have it > respond like 'ordinary' apps after using the dialog. > > I'm trying stuff like "push" and "pop" but it's not working. What do > others > do to make this work properly? > > Stephen Barncard > -- View this message in context: http://n4.nabble.com/returning-from-custom-dialog-tp1677760p1677953.html Sent from the Revolution - User mailing list archive at Nabble.com. From stephenREVOLUTION2 at barncard.com Mon Mar 22 13:21:42 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 22 Mar 2010 12:21:42 -0500 Subject: returning from custom dialog In-Reply-To: <1269277844495-1677953.post@n4.nabble.com> References: <1269277844495-1677953.post@n4.nabble.com> Message-ID: That might work. I have always had this problem with the 'built-in" ask and answer dialogs as well as my custom ones. I will try it. thanks On 22 March 2010 12:10, BNig wrote: > > Stephen, > in a similar situation (not exactly though) I issued a "click at 1,1" or > even "click at -1,-1" after returning to the calling stack. It helped, but > seems a little unprofessional. > I don't know if this would help in your situation. > regards > Bernd > > > Stephen Barncard-4 wrote: > > > > I asked this earlier with no answers.... I'll try again.. > > > > I'm building a custom list dialog and using dialogdata as usual... > > I've got it almost perfect except for one aspect. > > > > When control returns to the calling stack after closing the dialog, I > have > > to click multiple times (2, not double click) to get the calling stack > to > > react to clicking on any control. > > > > I want to just click on a field or button in the calling stack and have > it > > respond like 'ordinary' apps after using the dialog. > > > > I'm trying stuff like "push" and "pop" but it's not working. What do > > others > > do to make this work properly? > > > > Stephen Barncard > > > -- > View this message in context: > http://n4.nabble.com/returning-from-custom-dialog-tp1677760p1677953.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From pete at mollysrevenge.com Mon Mar 22 13:28:07 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Mon, 22 Mar 2010 10:28:07 -0700 Subject: Card Display Management Message-ID: <271ADD49-A4D4-4D00-9930-6BB24ABD2F2C@mollysrevenge.com> In a recent post on the forum, I found out about the raiseWindows property which ensures that Rev windows don;t get interleaved with other application windows. That definitely solves the problem I was having but I'm wondering if it is possible to implement a different card display management interface with Rev. What I have in mind is a single "workspace" window for my application with any cards being displayed within that workspace instead of in separate windows. Continuing the card metaphor, I guess you could think of the workspace as a card table with the individual cards being laid down on it. I found the backdrop property which almost does what I want but it covers the whole of the screen and I really want a window that takes up just part of the screen. Got a feeling this probably isn't possible but if anyone has any ideas, I'd be interested in hearing them. I'm running on OSX. Thanks, Pete Haworth From jacque at hyperactivesw.com Mon Mar 22 13:49:00 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 22 Mar 2010 12:49:00 -0500 Subject: Why to ask to save every modified stack? In-Reply-To: <4BA7A2C7.2020408@yahoo.it> References: <4BA7A2C7.2020408@yahoo.it> Message-ID: <4BA7AD8C.70001@hyperactivesw.com> Giovanni Cannizzaro wrote: > Hi. I wanna ask if there is a reason for this. > I have a mainstack with a lot of substack in it. > When I quit Revolution I get the "Save stack" message, and this is > normal only for the first time. > But for me it's not normal that I've this message for every substack > I've modified. > If I save a mainstack or a substack of it I save the mainstack and ALL > its substacks > so why continue to ask to save every modified stack? > > This is very annoying in an app with a lot of substack. > I think this is a bug so I ask to solve it before the 4.5 release. > > I've this behavior in every platform I use Revolution (Windows, Mac and > Linux) > > I've post this even in the Revolution Forum RR won't see it if you only post to the list or the forum. You should submit a bug report in the QCC, which is the only way to make sure they know about it: . -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Mar 22 13:55:51 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 22 Mar 2010 12:55:51 -0500 Subject: returning from custom dialog In-Reply-To: References: <1269277844495-1677953.post@n4.nabble.com> Message-ID: <4BA7AF27.9010305@hyperactivesw.com> stephen barncard wrote: > That might work. I have always had this problem with the 'built-in" ask and > answer dialogs as well as my custom ones. I will try it. I've never seen the problem. Is your Rev installation different from the default shipping version? Could something else be interfering? Plugins? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From len-morgan at crcom.net Mon Mar 22 14:02:18 2010 From: len-morgan at crcom.net (Len Morgan) Date: Mon, 22 Mar 2010 13:02:18 -0500 Subject: Still Having Data Grid Row Coloring Problems In-Reply-To: <6A67E0D6-D689-4233-83A5-7BF1B67F32EE@mangomultimedia.com> References: <4BA68A24.1030409@crcom.net> <6A67E0D6-D689-4233-83A5-7BF1B67F32EE@mangomultimedia.com> Message-ID: <4BA7B0AA.6090509@crcom.net> I copied your code from the example exactly and IF I use "change the foregroundColor..." it does just that: Highlites the selected line in blue with white letters. When I select a new row, the background of all the other rows is white with red text. If I change foregroundColor to backgroundColor, as soon as the selection moves off of a line, the whole line becomes invisible (but the data is still there since if I go back to that line with the hilite, the data again becomes visible). I am changing only one word (actually just part of a word: fore to back). I'm obviously not using the right property or something but I'm at a loss as to what else I could use. I can still send you the script if you want but as I said, I started with your lesson script and just changed one word. len On 3/22/2010 8:44 AM, Trevor DeVore wrote: > On Mar 21, 2010, at 5:05 PM, Len Morgan wrote: > >> I'm still not able to set the background color of an individual row >> in a data grid. Well, that's not entirely true. I can make a row >> invisible but I can't change it to the color I want. >> >> I have followed the instructions in the lesson "How Can I Colorize >> Individual Lines in a Table?", and if I do what the lesson says, it >> does in fact work but it only changes the FOREGROUND color of the >> text. I need to set the BACKGROUND color of the text/column and when >> I do that, as soon as another line is selected, the hilite changes to >> that new row and the old row is blanked out completely. > > Can you provide the script you are using to change the background color? > From scott at tactilemedia.com Mon Mar 22 14:05:23 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 22 Mar 2010 11:05:23 -0700 Subject: Card Display Management In-Reply-To: <271ADD49-A4D4-4D00-9930-6BB24ABD2F2C@mollysrevenge.com> Message-ID: Recently, Peter Haworth wrote: > What I have in mind is a single "workspace" window for my application > with any cards being displayed within that workspace instead of in > separate windows. Continuing the card metaphor, I guess you could > think of the workspace as a card table with the individual cards being > laid down on it. I Peter: I'm not sure exactly what you're trying to achieve (I don't follow the forums very often). If you want to show cards within a "workspace", you can set the dimensions of your stack to be larger than the area needed for content, and make a background (ie desktop or tabletop) that appears on all cards, on which your card content sits. You will only be able to show one card at a time however. If you're looking to show multiple "cards" at once, this is not possible using runRev's card structure. You'd have to place your card content into separate groups -- then you could hide/show groups at will. If you have a lot of "card groups" however, this can become unwieldy. A third option could be to place your content into palette stacks, that overlay a topstack. This way you can have multiple cards within multiple windows, all sitting on top of a separate background stack, and because the cards are in palettes, they will never fall behind the background stack. You could also give the palette stack custom drag routines so they can't be dragged beyond the rect defined by the background stack. If none of these options fits what you're trying to do, you may need to explain more of what you're trying to accomplish. Regards, Scott Rossi Creative Director Tactile Media, UX Design From Ray at LinkIt.Com Mon Mar 22 17:18:23 2010 From: Ray at LinkIt.Com (Ray Horsley) Date: Mon, 22 Mar 2010 14:18:23 -0700 Subject: Spanish Voices In-Reply-To: <4BA7A411.1020300@gmail.com> References: <4C42F3D4-5B85-4845-A949-37EEB2A3691F@LinkIt.Com> <4BA7A411.1020300@gmail.com> Message-ID: Hmmmm... I wonder what kind of a job it would be to get those voices from OS 8 and 9 to work in OSX? If anybody has any ideas on how I might port those please let me know. Ray Horsley LinkIt! Software On Mar 22, 2010, at 10:08 AM, Richmond Mathewson wrote: > On 22/03/2010 21:05, Ray Horsley wrote: >> Anybody know how to acquire/install the Spanish voices for the >> RevSpeech library? I saw them years ago when I used Metacard for >> text-to-speech. There were just two; a male voice named Carlos and >> a female voice. I think they're part of QuickTime, but I don't see >> them using the RevSpeechVoices function. Here's what I currently >> get on my Mac using this function: >> > > > There were Mexican Spanish voices available for Mac OS 8 and 9: > > I remember having 'infantile fun' with my kids (who were about 3 and > 5 at the time) > getting the Mexican voices to read English texts . . . :) > > However, as far as I am aware, they were dropped when Macintosh went > "Exxy". > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From massung at gmail.com Mon Mar 22 14:26:12 2010 From: massung at gmail.com (Jeff Massung) Date: Mon, 22 Mar 2010 13:26:12 -0500 Subject: Card Display Management In-Reply-To: References: <271ADD49-A4D4-4D00-9930-6BB24ABD2F2C@mollysrevenge.com> Message-ID: <963c86eb1003221126v26a903f4t7e684a3ec8835310@mail.gmail.com> On Mon, Mar 22, 2010 at 1:05 PM, Scott Rossi wrote: > Recently, Peter Haworth wrote: > > > What I have in mind is a single "workspace" window for my application > > with any cards being displayed within that workspace instead of in > > separate windows. Continuing the card metaphor, I guess you could > > think of the workspace as a card table with the individual cards being > > laid down on it. > > I Peter: > > I'm not sure exactly what you're trying to achieve (I don't follow the > forums very often). If you want to show cards within a "workspace", you > can > set the dimensions of your stack to be larger than the area needed for > content, and make a background (ie desktop or tabletop) that appears on all > cards, on which your card content sits. You will only be able to show one > card at a time however. > I'm guessing that Peter wants to create a windows-style MDI application. For example, if you open MS Word, while each Word document is in its own window, those windows are self contained within the MS Word window. My understanding with Rev is that you might be able to simulate this behavior wish a whole lot of groups and custom code to simulate GUI windows, but it would likely be fragile and not worth the effort (if this is what you want). A better option would be to do what Scott suggests: use a background group with everything you want to stay the same between cards (like toolbars) and have each card just display a different document. Downside: you won't be able to see see multiple documents at the same time. Jeff M. From williamdesmet at gmail.com Mon Mar 22 15:23:35 2010 From: williamdesmet at gmail.com (William de Smet) Date: Mon, 22 Mar 2010 20:23:35 +0100 Subject: Slow opening of cards in .exe file Message-ID: Hello there, In a new app I am working on I am experiencing slow opening of cards in the .exe file on Windows 7 (on Mac OSX the app works fine and smootly). It seems that all of the cards are send to memory at once because after the first mouseclick and about 10 sec wait it all works fine. In the button there is just a single line of code: on mouseup go cd "xxx" end mouseup I use a 'on preopencard' script on each card but I just hide some buttons in there. Nothing to difficult either. Is there a way to speed things up or a way to improve performance? Thanks! Greetings, William From lists at mangomultimedia.com Mon Mar 22 15:53:23 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 22 Mar 2010 15:53:23 -0400 Subject: Still Having Data Grid Row Coloring Problems In-Reply-To: <4BA7B0AA.6090509@crcom.net> References: <4BA68A24.1030409@crcom.net> <6A67E0D6-D689-4233-83A5-7BF1B67F32EE@mangomultimedia.com> <4BA7B0AA.6090509@crcom.net> Message-ID: <862A7127-C458-4757-82DD-92B0CD60A7BD@mangomultimedia.com> On Mar 22, 2010, at 2:02 PM, Len Morgan wrote: > I can still send you the script if you want but as I said, I started > with your lesson script and just changed one word. I think you need to update the code in the SetForeGroundColor command. Change the two instances of textColor to backgroundColor. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From stephenREVOLUTION2 at barncard.com Mon Mar 22 16:10:28 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 22 Mar 2010 15:10:28 -0500 Subject: returning from custom dialog In-Reply-To: <4BA7AF27.9010305@hyperactivesw.com> References: <1269277844495-1677953.post@n4.nabble.com> <4BA7AF27.9010305@hyperactivesw.com> Message-ID: non - IDE dialogs have always required extra clicks (for me) with the click at 1,1 it seems to work better. Still not perfect. here's the significant code: set the dialogData to tArrayA -- modal or sheet dialog if tArrayA["assheet"] is 1 then sheet stack "listdialog" -- in stack else modal stack "listdialog" end if get the dialogData put it["return"] into fld "LD_field_results" of card "launchcard" of stack "listDialogLauncher" reset cursors set the cursor to arrow click at 1,1 ------ On 22 March 2010 12:55, J. Landman Gay wrote: > stephen barncard wrote: > >> That might work. I have always had this problem with the 'built-in" ask >> and >> answer dialogs as well as my custom ones. I will try it. >> > > I've never seen the problem. Is your Rev installation different from the > default shipping version? Could something else be interfering? Plugins? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From sarah.reichelt at gmail.com Mon Mar 22 16:44:33 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 23 Mar 2010 06:44:33 +1000 Subject: revmobile looking good In-Reply-To: <4BA786A8.4090700@together.net> References: <4BA786A8.4090700@together.net> Message-ID: On Tue, Mar 23, 2010 at 1:03 AM, Richard Miller wrote: > Can anyone confirm if the (video) player object works under revMobile? > Not in my tests. I tried storing a movie file with my project and then setting the filename of the player. It gave no error, but no movie appeared. Cheers, Sarah From francois.chaplais at mines-paristech.fr Mon Mar 22 17:17:40 2010 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Mon, 22 Mar 2010 22:17:40 +0100 Subject: shell in RevMedia Message-ID: Can someone tell me if the "shell" function is disabled in the revMedia 4? TIA Fran?ois From jacque at hyperactivesw.com Mon Mar 22 17:26:15 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 22 Mar 2010 16:26:15 -0500 Subject: revmobile looking good In-Reply-To: References: <4BA786A8.4090700@together.net> Message-ID: <4BA7E077.6020103@hyperactivesw.com> Sarah Reichelt wrote: > On Tue, Mar 23, 2010 at 1:03 AM, Richard Miller wrote: >> Can anyone confirm if the (video) player object works under revMobile? >> > > Not in my tests. I tried storing a movie file with my project and then > setting the filename of the player. It gave no error, but no movie > appeared. What if you load the video from the net? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Mar 22 17:30:50 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 22 Mar 2010 16:30:50 -0500 Subject: returning from custom dialog In-Reply-To: References: <1269277844495-1677953.post@n4.nabble.com> <4BA7AF27.9010305@hyperactivesw.com> Message-ID: <4BA7E18A.6030308@hyperactivesw.com> stephen barncard wrote: > non - IDE dialogs have always required extra clicks (for me) > with the click at 1,1 it seems to work better. Still not perfect. > > here's the significant code: Have you tried something simpler, like just passing "hi" instead of an array? Zygodact uses a custom modal stack and passes dialogdata without any problem or requiring any extra clicks. But it doesn't use arrays, just text strings. It doesn't use "as sheet" either, though I'm not sure why that would make a difference. Start simple and then add things until you see what messes it up. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Mar 22 17:35:15 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 22 Mar 2010 16:35:15 -0500 Subject: Slow opening of cards in .exe file In-Reply-To: References: Message-ID: <4BA7E293.3000502@hyperactivesw.com> William de Smet wrote: > Hello there, > > In a new app I am working on I am experiencing slow opening of cards in the > .exe file on Windows 7 (on Mac OSX the app works fine and smootly). > It seems that all of the cards are send to memory at once because after the > first mouseclick and about 10 sec wait it all works fine. Right, all stacks are loaded completely into RAM when they open, including all substacks too. Slow navigation usually means you have a lot of cards. It's odd that it would only slow down on one OS though. Does the Win 7 machine have any virus detectors that are scanning files when they open? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From marcio at cialogica.com.br Mon Mar 22 17:44:08 2010 From: marcio at cialogica.com.br (Marcio Alexandroni) Date: Mon, 22 Mar 2010 18:44:08 -0300 Subject: Valentina DB Message-ID: Hi, I'm not sure I understood how Valentina DB licensing works. Does anyone use Valentina DB? If I understood it right, if I purchase ADK+ (3 platforms: Mac, Linux, Windows), I can build applications on all platforms and distribute royalty-free applications using the DB. As they mention in the sales page, I can use 18+ platforms, includint the iPhone when RevMobile supports externals. Am I understanding it right? Anyone uses it for commercial applications? Thank you. Marcio Alexandroni www.cialogica.com.br ( (+55 11) 9989-8316 Skype: marcioalexandroni -- From lan.kc.macmail at gmail.com Mon Mar 22 18:24:23 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 23 Mar 2010 06:24:23 +0800 Subject: Finding USB volumes on Win In-Reply-To: <4BA77932.30100@fourthworld.com> References: <4BA77932.30100@fourthworld.com> Message-ID: On Mon, Mar 22, 2010 at 10:05 PM, Richard Gaskin wrote: > In January with the help of Phil, Peter, and others I got some great tips > for identifying removable drives on OS X and Linux. But I'm having > difficulty figuring out how to do the same in Windows. > Richard, back then you wrote: In the meantime, it looks like I have some parsing to do and some homework > to figure out the details of getting this info for Win Vista, Win 7, and > Linux. I'll post the result here once I get it working. > I'm hoping that offer still applies? I can see that I'm going to have to cross that bridge for a project I have planned. Thanks From len-morgan at crcom.net Mon Mar 22 18:56:49 2010 From: len-morgan at crcom.net (Len Morgan) Date: Mon, 22 Mar 2010 17:56:49 -0500 Subject: Still Having Data Grid Row Coloring Problems In-Reply-To: <862A7127-C458-4757-82DD-92B0CD60A7BD@mangomultimedia.com> References: <4BA68A24.1030409@crcom.net> <6A67E0D6-D689-4233-83A5-7BF1B67F32EE@mangomultimedia.com> <4BA7B0AA.6090509@crcom.net> <862A7127-C458-4757-82DD-92B0CD60A7BD@mangomultimedia.com> Message-ID: <4BA7F5B1.1040603@crcom.net> Where can I find the SetForeGroundColor command? len On 3/22/2010 2:53 PM, Trevor DeVore wrote: > On Mar 22, 2010, at 2:02 PM, Len Morgan wrote: > >> I can still send you the script if you want but as I said, I started >> with your lesson script and just changed one word. > > I think you need to update the code in the SetForeGroundColor command. > Change the two instances of textColor to backgroundColor. > From len-morgan at crcom.net Mon Mar 22 18:58:59 2010 From: len-morgan at crcom.net (Len Morgan) Date: Mon, 22 Mar 2010 17:58:59 -0500 Subject: Slow opening of cards in .exe file In-Reply-To: <4BA7E293.3000502@hyperactivesw.com> References: <4BA7E293.3000502@hyperactivesw.com> Message-ID: <4BA7F633.3030700@crcom.net> I have had the same problem all the way back to XP. But it is only a problem the first time I navigate away from card 1. It can pause a LONG time before it goes to the selected card (and I've only got 10 or so in the stack) but after that first "switch" it's pretty zippy. Even on Windows 7. len On 3/22/2010 4:35 PM, J. Landman Gay wrote: > William de Smet wrote: >> Hello there, >> >> In a new app I am working on I am experiencing slow opening of cards >> in the >> .exe file on Windows 7 (on Mac OSX the app works fine and smootly). >> It seems that all of the cards are send to memory at once because >> after the >> first mouseclick and about 10 sec wait it all works fine. > > Right, all stacks are loaded completely into RAM when they open, > including all substacks too. Slow navigation usually means you have a > lot of cards. It's odd that it would only slow down on one OS though. > Does the Win 7 machine have any virus detectors that are scanning > files when they open? > From lists at mangomultimedia.com Mon Mar 22 20:04:44 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 22 Mar 2010 20:04:44 -0400 Subject: Still Having Data Grid Row Coloring Problems In-Reply-To: <4BA7F5B1.1040603@crcom.net> References: <4BA68A24.1030409@crcom.net> <6A67E0D6-D689-4233-83A5-7BF1B67F32EE@mangomultimedia.com> <4BA7B0AA.6090509@crcom.net> <862A7127-C458-4757-82DD-92B0CD60A7BD@mangomultimedia.com> <4BA7F5B1.1040603@crcom.net> Message-ID: On Mar 22, 2010, at 6:56 PM, Len Morgan wrote: > Where can I find the SetForeGroundColor command? In the code you copied from the lesson example. It's under the "The Default Custom Column Behavior" step of the "How Can I Colorize Individual Lines in a Table?" lesson. http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7332-How-Can-I-Colorize-Individual-Lines-in-a-Table- -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From len-morgan at crcom.net Mon Mar 22 21:20:11 2010 From: len-morgan at crcom.net (Len Morgan) Date: Mon, 22 Mar 2010 20:20:11 -0500 Subject: Still Having Data Grid Row Coloring Problems In-Reply-To: References: <4BA68A24.1030409@crcom.net> <6A67E0D6-D689-4233-83A5-7BF1B67F32EE@mangomultimedia.com> <4BA7B0AA.6090509@crcom.net> <862A7127-C458-4757-82DD-92B0CD60A7BD@mangomultimedia.com> <4BA7F5B1.1040603@crcom.net> Message-ID: <4BA8174B.30006@crcom.net> Man, that made me feel stupid! :-( Anyway, that was the very first thing I did. It still makes the line "invisible" when the selection is moved off the line. When the data is initially filled in, the data looks fine but of course, it's black text on a white background so I'll probably need to make a change in FillInData too. Any other place I can look to see what's going on? len On 3/22/2010 7:04 PM, Trevor DeVore wrote: > On Mar 22, 2010, at 6:56 PM, Len Morgan wrote: > >> Where can I find the SetForeGroundColor command? > > In the code you copied from the lesson example. It's under the "The > Default Custom Column Behavior" step of the "How Can I Colorize > Individual Lines in a Table?" lesson. > > http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7332-How-Can-I-Colorize-Individual-Lines-in-a-Table- > > From len-morgan at crcom.net Mon Mar 22 22:52:40 2010 From: len-morgan at crcom.net (Len Morgan) Date: Mon, 22 Mar 2010 21:52:40 -0500 Subject: Still Having Data Grid Row Coloring Problems In-Reply-To: References: <4BA68A24.1030409@crcom.net> <6A67E0D6-D689-4233-83A5-7BF1B67F32EE@mangomultimedia.com> <4BA7B0AA.6090509@crcom.net> <862A7127-C458-4757-82DD-92B0CD60A7BD@mangomultimedia.com> <4BA7F5B1.1040603@crcom.net> Message-ID: <4BA82CF8.9000000@crcom.net> Trevor, What I don't see in the sample code that was copied is where the backgroundColor for the hilited line is set to blue. If that piece is somewhere else, I think that is where I need to start looking to do what I'm after. len On 3/22/2010 7:04 PM, Trevor DeVore wrote: > On Mar 22, 2010, at 6:56 PM, Len Morgan wrote: > >> Where can I find the SetForeGroundColor command? > > In the code you copied from the lesson example. It's under the "The > Default Custom Column Behavior" step of the "How Can I Colorize > Individual Lines in a Table?" lesson. > > http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7332-How-Can-I-Colorize-Individual-Lines-in-a-Table- > > From palcibiades-first at yahoo.co.uk Mon Mar 22 23:23:42 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 22 Mar 2010 19:23:42 -0800 (PST) Subject: shell in RevMedia In-Reply-To: References: Message-ID: <1269314622556-1678621.post@n4.nabble.com> It works fine in Linux. I tried put shell("ls") and it supplied a file listing of the directory. Peter -- View this message in context: http://n4.nabble.com/shell-in-RevMedia-tp1678302p1678621.html Sent from the Revolution - User mailing list archive at Nabble.com. From niconiko at gmail.com Mon Mar 22 23:14:23 2010 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 23 Mar 2010 12:14:23 +0900 Subject: socket write/read conflict? Message-ID: <1e91b2b71003222014l51b860b1q1f3c3777d144dd27@mail.gmail.com> Hello List, I've made a quiz-type game where 2-6 students on client stacks buzz in their answers to a server stack, all on a local network. The server stack, as well as sending out the questions, informs live to all the students/client-stacks about who buzzed in what. I thought I had it working until we found a problem. If two out of six students happen to buzz in an answer almost simultaneously (by clicking a button on a game controller pad), as expected five of the students will receive the server's message about who buzzed in first, but one of those two students who buzzed at the same time won't. Except for this simultaneity, all other server-to-client communications work. After trying to track this down for weeks, I'm posting here in hopes of some list magic. My guess, as the subject line reads, is that a client stack might be writing to a socket at the same time that the server is trying to write to that same socket. But, not understanding well how sockets work, the problem may lie elsewhere. I think I've eliminated the obvious types of mistakes, but... So, I am including below the essence of what my server and script stacks do. It is quite long, so apologies beforehand. As always, the list's help in this is greatly appreciated. Thank you. -- Nicolas Cueto ########################################################## S T A R T O F C L I E N T S T A C K R E L A T E D ################################ CLIENT CARD SCRIPT ################################ on opencard chatConnect end open local lChatSocket on chatConnect open socket field "host" & ":1987|" & field "clientname" with message "chatConnected" end chatConnect on chatConnected s put s into lChatSocket write field "clientname" & comma & field "studentID" & return to socket lChatSocket read from socket s with message chatReceived ## Tell server that the student is ready to play, and then ## wait for student's choice of answer (by clicking on a ## game-controller button). end chatConnected on chatReceived s,data ## "s" contains the host and port of the client, ## "data" contains the text sent by that client switch (line 1 of data) case "live choice feedback" ## A student/client on the network has buzzed in a choice/answer. ## ## The script does a long routine here, which includes ## ## << several "wait" and "wait with messages" >> ## ## Once done, the script asks server for next question. askServerForQuestion break end switch read from socket s with message chatReceived end chatReceived on askServerForQuestion chatMessage "ready for a question" end askServerForQuestion on chatMessage data ## Called by student clicking on an image/choice (script below). write data & comma & field "clientname" to socket lChatSocket end chatMessage ############################################ GAME-CONTROLLER BUTTON & IMAGE SCRIPTS ############################################ on rawKeyUp theKey switch theKey case "49" put "ImgChoice1" into tImgChoice break end switch put the filename of image tImage into tHilitedImagePath send "choiceBehavior" && tHilitedImagePath to image tImgChoice end rawKeyUp on choiceBehavior tHilitedImagePath put "choice" & the last char of tImgChoice into tChoice put "live choice feedback" & comma & tChoice into tMessage chatMessage tMessage ## Tell server this student's choice. end choiceBehavior E N D O F C L I E N T S T A C K R E L A T E D ########################################################## ########################################################## S T A R T O F S E R V E R S T A C K R E L A T E D on mouseUp accept connections on port 1987 with message clientConnected ## Wait for all students/clients to connect. end mouseUp on clientConnected s ## A student/client has connected. When all expected clients ## are connected, initiate the game. wait 50 milliseconds with messages ## Bug? Without this line, read from socket takes a long time ## and returns empty. read from socket s for 1 line put line 1 of it into tChatMessage put tChatMessage & comma & s into gAllClientIPsArray[s] add 1 to field "numberOfClientsLoggedOn" if field "numberOfClientsLoggedOn" = field "expectedNumberOfClients" then put "yes" into field "allLogged" initiateGame end if read from socket s with message chatReceived end clientConnected on chatReceived s,data ## Student/client has sent a message. ## Perhaps it's a choice/answer ... put item 1 of data into tChatType switch tChatType case "live choice feedback" choice4AndTheBuzzState data break end switch read from socket s with message chatReceived end chatReceived on choice4AndTheBuzzState theChoice put item 2 of theChoice into tKey if gChoiceFeedbackTally[tKey] = 4 then ## Lock the buzzers, i.e., prevent clients ## from sending server their choices. put "buzz," before theChoice else put "no buzz," before theChoice end if put "live choice feedback" & LF into tChatMessage put tTimerPoints & comma & theChoice after tChatMessage broadcastToAllClients tChatMessage end choice4AndTheBuzzState on broadcastToAllClients message ## Tell all the students/clients who made what choice. put keys(gAllClientIPsArray) into tChatterList repeat for each line tArrayKey in tChatterList put gAllClientIPsArray[tArrayKey] into tArrayDataLine -- the client ID, the student ID, the client IP -- eg, Blitz-1,10000,127.0.0.1:1448 put item 3 of tArrayDataLine into tSocket write message to socket tSocket end repeat end broadcastToAllClients E N D O F S E R V E R S T A C K R E L A T E D ########################################################## From len-morgan at crcom.net Tue Mar 23 00:05:09 2010 From: len-morgan at crcom.net (Len Morgan) Date: Mon, 22 Mar 2010 23:05:09 -0500 Subject: socket write/read conflict? In-Reply-To: <1e91b2b71003222014l51b860b1q1f3c3777d144dd27@mail.gmail.com> References: <1e91b2b71003222014l51b860b1q1f3c3777d144dd27@mail.gmail.com> Message-ID: <4BA83DF5.70100@crcom.net> Two things jumped out at me in your code: 1) broadcastToAllClients - you show an IP address of 127.0.0.1. If this was not just an example, you can't use that number. That is the IP of the local host and won't actually ever leave the machine. 2) You are selecting item 3 of tArrayDataLine which I assume is comma delimited (based on the example line above it). I don't set a "setItemDelimiter to comma" in that handler and I /think /the default delimiter is tab. I also believe that the itemDelimiter you set is only valid for the current handler so as soon as this handler is finished, it will revert back to tab. Hope that helps a little. len On 3/22/2010 10:14 PM, Nicolas Cueto wrote: > Hello List, > > I've made a quiz-type game where 2-6 students on client stacks buzz in > their answers to a server stack, all on a local network. The server > stack, as well as sending out the questions, informs live to all the > students/client-stacks about who buzzed in what. > > I thought I had it working until we found a problem. If two out of six > students happen to buzz in an answer almost simultaneously (by > clicking a button on a game controller pad), as expected five of the > students will receive the server's message about who buzzed in first, > but one of those two students who buzzed at the same time won't. > Except for this simultaneity, all other server-to-client > communications work. > > After trying to track this down for weeks, I'm posting here in hopes > of some list magic. > > My guess, as the subject line reads, is that a client stack might be > writing to a socket at the same time that the server is trying to > write to that same socket. But, not understanding well how sockets > work, the problem may lie elsewhere. I think I've eliminated the > obvious types of mistakes, but... > > So, I am including below the essence of what my server and script > stacks do. It is quite long, so apologies beforehand. > > As always, the list's help in this is greatly appreciated. > > Thank you. > > -- Nicolas Cueto > > From niconiko at gmail.com Tue Mar 23 00:10:56 2010 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 23 Mar 2010 13:10:56 +0900 Subject: socket write/read conflict? In-Reply-To: <4BA83DF5.70100@crcom.net> References: <1e91b2b71003222014l51b860b1q1f3c3777d144dd27@mail.gmail.com> <4BA83DF5.70100@crcom.net> Message-ID: <1e91b2b71003222110r14207c65p213fd16d68733eb9@mail.gmail.com> Thanks for replying, Len. The 127.0.0.1 ip is indeed just an example, and Rev's default itemdelim is not tab but rather comma. -- Nicolas Cueto From pete at mollysrevenge.com Tue Mar 23 01:38:31 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Mon, 22 Mar 2010 22:38:31 -0700 Subject: Card Display Management (Jeff Massung) In-Reply-To: <20100323041055.4AD9F28823E@mail.runrev.com> References: <20100323041055.4AD9F28823E@mail.runrev.com> Message-ID: Thanks for the input. Yes, the MSWord comparison is what I was thinking of. I don;t need to display multiple cards from the same stack simultaneously but I do need to display multiple substacks so this sounds like it would be a whole lot of pain to implement if even possible. Thanks, Pete Haworth From Max7 at aol.com Tue Mar 23 01:49:16 2010 From: Max7 at aol.com (Max7 at aol.com) Date: Tue, 23 Mar 2010 01:49:16 EDT Subject: socket write/read conflict? Message-ID: <7302f.6202a609.38d9b05c@aol.com> > > Nicolas Cueto I'm a fifth grade teacher. I'd love to see what you got. Max From sarah.reichelt at gmail.com Tue Mar 23 03:17:42 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 23 Mar 2010 17:17:42 +1000 Subject: revmobile looking good In-Reply-To: <4BA7E077.6020103@hyperactivesw.com> References: <4BA786A8.4090700@together.net> <4BA7E077.6020103@hyperactivesw.com> Message-ID: >>> Can anyone confirm if the (video) player object works under revMobile? >>> >> >> Not in my tests. I tried storing a movie file with my project and then >> setting the filename of the player. It gave no error, but no movie >> appeared. > > What if you load the video from the net? No, still doesn't work. Sarah From toolbook at kestner.de Tue Mar 23 03:24:33 2010 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 23 Mar 2010 08:24:33 +0100 Subject: AW: Valentina DB In-Reply-To: References: Message-ID: <000c01caca59$e3958ed0$aac0ac70$@de> Hi Marcio, I am using Valentina and your first question is correct. (I still have a license for two platforms) The 18+ platforms is a new thing, I havn't read yet, but probably it is like you understood it. Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Marcio Alexandroni > Gesendet: Montag, 22. M?rz 2010 22:44 > An: How to use Revolution > Betreff: Valentina DB > > Hi, > > I'm not sure I understood how Valentina DB licensing works. Does anyone > use > Valentina DB? > > If I understood it right, if I purchase ADK+ (3 platforms: Mac, Linux, > Windows), I can build applications on all platforms and distribute > royalty-free applications using the DB. As they mention in the sales > page, I > can use 18+ platforms, includint the iPhone when RevMobile supports > externals. > > Am I understanding it right? Anyone uses it for commercial > applications? > > Thank you. > > Marcio Alexandroni > www.cialogica.com.br > ( (+55 11) 9989-8316 > Skype: marcioalexandroni > -- > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ruslan_zasukhin at valentina-db.com Tue Mar 23 04:41:17 2010 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Tue, 23 Mar 2010 10:41:17 +0200 Subject: AW: Valentina DB In-Reply-To: <000c01caca59$e3958ed0$aac0ac70$@de> Message-ID: On 3/23/10 9:24 AM, "Tiemo Hollmann TB" wrote: Hi Marcio, >> If I understood it right, if I purchase ADK+ (3 platforms: Mac, Linux, >> Windows), I can build applications on all platforms and distribute >> royalty-free applications using the DB. Yes, right >> As they mention in the sales page, I can use 18+ platforms, includint the >> iPhone when RevMobile supports externals. Here can be confusion I think. Exists 3 OS: win, mac, linux. Often people name OS as platforms also. As 18+ platforms, Lynn means here that Valentina exists for RB, REV, Director, C++, ObjC, NET, ... All together 18+ :) Yep, I like this number 18+, why not 19 or 20 :) But in ADK+ you will choose only 3 platforms. This can be V4RE MAC + V4REV WIN + V4REV Linux. Or, if you do not want linux this can be V4RE MAC + V4REV WIN + V4CC MAC. Or if you only MAC developer you can prefer V4RE MAC + V4CC MAC + V4RB MAC I.e. In Valentina ADK+ you can self choose as OS, so IDE/Language to use. >> Am I understanding it right? Anyone uses it for commercial >> applications? >> >> Thank you. >> >> Marcio Alexandroni >> www.cialogica.com.br >> ( (+55 11) 9989-8316 >> Skype: marcioalexandroni -- 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 marcio at cialogica.com.br Tue Mar 23 05:28:22 2010 From: marcio at cialogica.com.br (Marcio Alexandroni) Date: Tue, 23 Mar 2010 06:28:22 -0300 Subject: AW: Valentina DB In-Reply-To: Message-ID: > But in ADK+ you will choose only 3 platforms. > This can be > V4RE MAC + V4REV WIN + V4REV Linux. > > Or, if you do not want linux this can be > > V4RE MAC + V4REV WIN + V4CC MAC. > > Or if you only MAC developer you can prefer > > V4RE MAC + V4CC MAC + V4RB MAC > > I.e. In Valentina ADK+ you can self choose as OS, so IDE/Language to use. Thanks for the info Ruslan. So, there will be a "RevMobile Mac" "platform" in the future that is in fact one of the platforms to choose? Marcio Alexandroni www.cialogica.com.br ( (+55 11) 9989-8316 Skype: marcioalexandroni -- > From: Ruslan Zasukhin > Reply-To: How to use Revolution > Date: Tue, 23 Mar 2010 10:41:17 +0200 > To: How to use Revolution , Valentina Site > > Subject: Re: AW: Valentina DB > > On 3/23/10 9:24 AM, "Tiemo Hollmann TB" wrote: > > Hi Marcio, > > >>> If I understood it right, if I purchase ADK+ (3 platforms: Mac, Linux, >>> Windows), I can build applications on all platforms and distribute >>> royalty-free applications using the DB. > > Yes, right > >>> As they mention in the sales page, I can use 18+ platforms, includint the >>> iPhone when RevMobile supports externals. > > Here can be confusion I think. > > Exists 3 OS: win, mac, linux. > Often people name OS as platforms also. > > As 18+ platforms, Lynn means here that Valentina exists for RB, REV, > Director, C++, ObjC, NET, ... All together 18+ :) > > Yep, I like this number 18+, why not 19 or 20 :) > > > But in ADK+ you will choose only 3 platforms. > This can be > V4RE MAC + V4REV WIN + V4REV Linux. > > Or, if you do not want linux this can be > > V4RE MAC + V4REV WIN + V4CC MAC. > > Or if you only MAC developer you can prefer > > V4RE MAC + V4CC MAC + V4RB MAC > > I.e. In Valentina ADK+ you can self choose as OS, so IDE/Language to use. > From jackwolf at gmail.com Tue Mar 23 06:30:37 2010 From: jackwolf at gmail.com (Jacopo Lupi) Date: Tue, 23 Mar 2010 11:30:37 +0100 Subject: Datagrid hiliting problem Message-ID: <2E045BFC-2557-4C33-83CF-C18402EFE91A@gmail.com> Hi all, I have a question about datagrids. I need to turn off the hiliting of lines in a datagrid with the auto hilite prop turned on when i click outside the used (or existing) lines. Litte example: I have a datagrid filled with 3 lines. I click on the second line and it becomes hilited. If I click on the empty part of the datagrid the second line remains hilited. I would like the hiliting of the second row to disappear. Has anyone solved this problem? Thanks in advance Cheers From len-morgan at crcom.net Tue Mar 23 07:33:48 2010 From: len-morgan at crcom.net (Len Morgan) Date: Tue, 23 Mar 2010 06:33:48 -0500 Subject: socket write/read conflict? In-Reply-To: <1e91b2b71003222110r14207c65p213fd16d68733eb9@mail.gmail.com> References: <1e91b2b71003222014l51b860b1q1f3c3777d144dd27@mail.gmail.com> <4BA83DF5.70100@crcom.net> <1e91b2b71003222110r14207c65p213fd16d68733eb9@mail.gmail.com> Message-ID: <4BA8A71C.1080909@crcom.net> I stand corrected on the comma. I don't know where I got the idea tab was the default. As to the sockets getting "confused", this can't really happen since socket is defined by both the server and client IPs AND server and client port numbers. Unless you've got more than one machine with the same IP, each socket would be unique even if all the clients were talking to the same server on the same port. To take a page from Jerry Daniels (of tRev fame), perhaps you can simplify this by making it a little more complicated. Unless I misread your original post, you want to know who answered first in addition to the actual answer. As each answer comes in, why not just grab "the seconds" each socket either opens or receives data until all have answered. Then you can see who had the lowest seconds (first response), and then read each answer and check for correctness. This takes the time pressure and allows you to better coordinate the response. len morgan On 3/22/2010 11:10 PM, Nicolas Cueto wrote: > Thanks for replying, Len. > > The 127.0.0.1 ip is indeed just an example, and Rev's default > itemdelim is not tab but rather comma. > > -- > Nicolas Cueto > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From ambassador at fourthworld.com Tue Mar 23 09:13:58 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 23 Mar 2010 06:13:58 -0700 Subject: Finding USB volumes on Win Message-ID: <4BA8BE96.9080905@fourthworld.com> Kay C Lan wrote: > On Mon, Mar 22, 2010 at 10:05 PM, Richard Gaskin wrote: >> In January with the help of Phil, Peter, and others I got some great tips >> for identifying removable drives on OS X and Linux. But I'm having >> difficulty figuring out how to do the same in Windows. > > Richard, > > back then you wrote: > > In the meantime, it looks like I have some parsing to do and some homework >> to figure out the details of getting this info for Win Vista, Win 7, and >> Linux. I'll post the result here once I get it working. > > I'm hoping that offer still applies? Absolutely. This has been a group effort, with valuable input from Ken Ray, Phil Davis, Peter Alcibiades, Matthias Rebbe, and others, so the least I can do is share the fruit of our collective labor. Below is a handler that handles Mac and Win, with a placeholder for Linux but I don't need that yet so I'll write it in a few weeks when I get to it. It examines the currently-mounted volumes and returns a list of those volumes which are removable, using AppleScript for the Mac side and data from the Win registry for Windows. Each line of the return value has three items separated by tabs: - Drive label/letter (I use this to display in a list) - available space (useful for my installer) - mount point or drive letter (needed for writing to the drive) I have four different removable drives I've been testing with (card reader, U3, plain USB flash drive, and camera), and the AppleScript method that was suggested here was the only one which easily recognized my card reader along with all the other more "normal" drives; relying on info from system_profiler alone did not provide the mount point, needed to write files to the drive. Note that U3 drives show up as two volumes, one writable and one not. The non-writable volume of a U3 drive has zero available space, and that's used to exclude them from the list without having to slow things down by attempting writes to each disk to test that (though also do that on the selected volume later on in a different handler just to make sure before proceeding with the install). This is a bit sloppy in some parts since it's a small part of a larger project in which there's a LOT of work do to, but it seems to get the job done well enough for now (you may need to clean up email-imposed line wraps): function RemovableDrives -- Returns a tab-delimited list of drives which are removable -- and have a file system usable by the current OS -- in which each line is: -- -- put the volumes into tVols put empty into tRemVols put the directory into tSaveDir switch the platform case "MacOS" repeat for each line tVol in tVols put "tell application ""e&"Finder""e&cr&\ "properties of disk ""e& tVol "e &cr&\ "end tell" into tAS do tAS as applescript put the result into tInfo if (", ejectable:true," is in tInfo) \ AND (", free space:0, " is not in tInfo) then put offset(", URL:""e&"file://", tInfo) into tOS delete char 1 to (tOS+13) of tInfo set the itemdel to "/" delete item 1 of tInfo put "/"&word 1 of tInfo into tMountPoint delete char -3 to -1 of tMountPoint set the directory to tMountPoint if the result is not empty then next repeat put the diskspace into tSpace put tVol &tab& tSpace &tab& tMountPoint &cr after tRemVols end if end repeat break case "Win32" set cursor to watch put the hideConsoleWindows into tSaveHCW set the hideConsoleWindows to true -- Hex for "\??\STORAGE#RemovableMedia#": put "5C003F003F005C00530054004F0052004100470045002300520065006D006F00760061006200"&\ "6C0065004D00650064006900610023" into tRemovableIdentifier repeat for each line tVol in tVols if tVol is in "A:B:C:" then next repeat -- two floppies and the main HD put "reg query HKLM\SYSTEM\MountedDevices /v \DosDevices\"& tVol into tCmd put shell(tCmd) into tmp if tRemovableIdentifier is in line -2 of tmp then set the directory to tVol if the result is empty then put "Removable Disk ("&tVol&")" &tab& the diskspace & tab& tVol &cr after tRemVols end if end if end repeat set the directory to tSaveDir set the hideConsoleWindows to tSaveHCW break case "Linux" -- add here -- http://linux.die.net/man/8/blkid -- thanks Peter! break end switch -- delete last char of tRemVols -- trailing CR return tRemVols end RemovableDrives If you find any bugs with this please let me know. I'll be putting it into testing with my own users soon, but it would of course be good to iron out as many issues as possible in advance. Thanks - -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From lists at mangomultimedia.com Tue Mar 23 10:05:44 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 23 Mar 2010 10:05:44 -0400 Subject: Still Having Data Grid Row Coloring Problems In-Reply-To: <4BA82CF8.9000000@crcom.net> References: <4BA68A24.1030409@crcom.net> <6A67E0D6-D689-4233-83A5-7BF1B67F32EE@mangomultimedia.com> <4BA7B0AA.6090509@crcom.net> <862A7127-C458-4757-82DD-92B0CD60A7BD@mangomultimedia.com> <4BA7F5B1.1040603@crcom.net> <4BA82CF8.9000000@crcom.net> Message-ID: <0D7E728A-DB56-4CF3-A190-B18C2EED49D1@mangomultimedia.com> On Mar 22, 2010, at 10:52 PM, Len Morgan wrote: > What I don't see in the sample code that was copied is where the > backgroundColor for the hilited line is set to blue. The color of the hilited line is a property of the data grid. It is not set in the behavior script. If you go to the Colors & Patterns tab of the inspector then you can change the Selection Hilites color. This maps to the dgProp["hilite color"] property of the data grid. > If that piece is somewhere else, I think that is where I need to > start looking to do what I'm after. Would changing the hilite color do what you need? I did test out setting column background colors and the missing piece was setting the opaque of to true. Here is a modified version of the example script: private command SetForeGroundColor if GetDataOfIndex(the dgIndex of me, "line has error") then set the backgroundcolor of me to red set the opaque of me to true else set the backgroundcolor of me to empty set the opaque of me to false end if end SetForeGroundColor -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From bvg at mac.com Tue Mar 23 10:08:07 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 23 Mar 2010 15:08:07 +0100 Subject: View scripts of my standalone? In-Reply-To: <11D1B470-3C5E-428C-B13E-EDA44B4E1F3D@twft.com> References: <20100316011249.DD86D2882DA@mail.runrev.com> <98D60AEF-0F06-4226-9625-1F7F74F2FEE8@clearvisiontech.com> <09FD2406-5FD4-4989-9AD6-0C9B85EDDC7A@kagi.com> <4BA0D9B7.70909@gmail.com> <69F998B4-B155-48BD-9B1D-CAF4A94400C1@gmail.com> <11D1B470-3C5E-428C-B13E-EDA44B4E1F3D@twft.com> Message-ID: <9EFB4458-E63C-448B-ADD8-134031177AB7@mac.com> I have chronoSync, and it's nice if you like to geek out and prefer to customise your backup strategies. For everyone else, I'd suggest superDuper. No configuration is often the best configuration. http://www.shirt-pocket.com/SuperDuper/ for security reasons I suggest to use several different approaches to backups, because what if your only backup software is bugged? Therefore I use backup (.mac leftover) and time machine from apple, as well as chronoSync and manual copies. My backups reside on 3 different drives, as well as a server (or as the kids call it these days: "the cloud"). Do backups, or you will eventually miss them. On 19 Mar 2010, at 17:25, Bob Sneidar wrote: > I have used time machine to recover older versions of rev stacks where I had made a mistake and unknowingly deleted an object with a lot of scripting in it. Very nice feature to have. > > I will caution this however. When doing a FULL restore from a time machine backup, keep in mind it doesn't do everything. I had a local SQL server running and it totally missed that. Apparently there are certain directories it ignores by default. The one that the SQL data files resided in was apparently one of them. > > For full drive backup and restore may I suggest ChronoSync? Best dam backup program period IMHE. And only $40. From ruslan_zasukhin at valentina-db.com Tue Mar 23 12:00:49 2010 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Tue, 23 Mar 2010 18:00:49 +0200 Subject: AW: Valentina DB In-Reply-To: Message-ID: On 3/23/10 11:28 AM, "Marcio Alexandroni" wrote: >> But in ADK+ you will choose only 3 platforms. >> This can be >> V4RE MAC + V4REV WIN + V4REV Linux. >> >> Or, if you do not want linux this can be >> >> V4RE MAC + V4REV WIN + V4CC MAC. >> >> Or if you only MAC developer you can prefer >> >> V4RE MAC + V4CC MAC + V4RB MAC >> >> I.e. In Valentina ADK+ you can self choose as OS, so IDE/Language to use. > > Thanks for the info Ruslan. So, there will be a "RevMobile Mac" "platform" > in the future that is in fact one of the platforms to choose? * Frankly saying I am not aware about RevMobile strategy yet. * please note important rule: ANY Valentina Client is FREE. This means, that when we talk about ADK+, we talk about serials for LOCAL ONLY dbs. If you have a Valentina Server license, then you can download and use any Valentina ADK ( php, c++, V4RB, V4REV, V4MD, ... V4CC, iV4CC ) So if future, we will make something for RevMobile, I think it will be client only first of all, i.e. Free for use. -- 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 richmondmathewson at gmail.com Tue Mar 23 13:15:26 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 23 Mar 2010 19:15:26 +0200 Subject: Spanish Voices In-Reply-To: <4BA7A411.1020300@gmail.com> References: <4C42F3D4-5B85-4845-A949-37EEB2A3691F@LinkIt.Com> <4BA7A411.1020300@gmail.com> Message-ID: <4BA8F72E.3010306@gmail.com> Cop a look at these: http://www.assistiveware.com/infovox_ivox.php http://www.cepstral.com/cgi-bin/demos/general and . . . the FREE . . . Open Source version . . . http://www.cucat.org/projects/espeak/ speaking (err . . . writing) as a cheapjack, I'll be playing with espeak . . . :) From lists at mangomultimedia.com Tue Mar 23 13:16:06 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 23 Mar 2010 13:16:06 -0400 Subject: Datagrid hiliting problem In-Reply-To: <2E045BFC-2557-4C33-83CF-C18402EFE91A@gmail.com> References: <2E045BFC-2557-4C33-83CF-C18402EFE91A@gmail.com> Message-ID: On Mar 23, 2010, at 6:30 AM, Jacopo Lupi wrote: > I have a question about datagrids. > > I need to turn off the hiliting of lines in a datagrid with the auto > hilite prop turned on when i click outside the used (or existing) > lines. > > Litte example: > > I have a datagrid filled with 3 lines. I click on the second line > and it becomes hilited. > > If I click on the empty part of the datagrid the second line remains > hilited. I would like the hiliting of the second row to disappear. Try adding this to the data grid group script and see if it does what you want (untested): on mouseDown pBtnNum dgMouseDown pBtnNum if pBtnNum is 1 then if the dgDataControl of the mouseControl is empty then ## didn't click on a row set the dgHilitedLines of me to empty end if end if end mouseDown -- 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 Tue Mar 23 13:26:45 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 23 Mar 2010 18:26:45 +0100 Subject: RevBrowser Crash Message-ID: <5EA66518-5356-45F0-B4B6-740C07C91D3A@economy-x-talk.com> Hello, Fot a client's project, I am using the RevBrowser external to display Google Maps. Unfortunately, the RevBrowser external crashes with any Google site, on Windows Vista and Windows 7. The external works fine with all other operating systems. There is no crash report, no dialogue, no logs, nothing. RunRev simply disappears, as if it was never running. I have no problems with other websites. I know at least one more person who experiences the same problem. I have tried it on different machines running Vista and Win 7. I have tried RunRev 2.9, 3.0, 3.5 and 4.0. Is anyone else experiencing this problem and is there a known solution for this? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. From heather at runrev.com Tue Mar 23 14:06:39 2010 From: heather at runrev.com (Heather Nagey) Date: Tue, 23 Mar 2010 18:06:39 +0000 Subject: [Ann] revMobile Competition - win an iPad Message-ID: <59F5AD9C-E857-4EAB-BC6F-996CD1E7A3F5@runrev.com> Dear list folks, Fancy winning an iPad? or even showing off your very best revMobile app to the world? We realise that quite a number of you are already hard at work producing apps with revMobile, and we thought it would be fun to give you a competition to enter them in. This is it: http://www.runrev.com/products/revmobile/competition/ To help you along, we've started work on producing a video series showing step by step how to use the features in the latest pre-alpha: http://www.runrev.com/newsletter/march/issue89/newsletter3.php Enjoy! I look forward to seeing your entries! Warm Regards, Heather Heather Nagey Customer Services Manager http://www.runrev.com/ RunRev - Software construction for everyone From andrew at rjdfarm.com Tue Mar 23 16:00:29 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 23 Mar 2010 12:00:29 -0800 (PST) Subject: Virtual properties Message-ID: <1269374429586-1679610.post@n4.nabble.com> I recently decided that my code would be cleaner and not so buggy if I used custom properties and property handlers more often instead of global arrays and the functions like Percent2Decimal, Validate, yaddayadda to manipulate them. Given that, I just don't get the real difference between virtual properties and custom properties. Here is what I do get. Virtual Properties allow you to set/handle other properties without actually storing a value? Correct? Can't you do this in custom properties too? or are they considered virtual when you start doing that? Anything else I should have an understanding of in regards to virtual properties? The above is the limit of my assumptions when it comes to the differences between custom and virtual. Thanks for the help, Andrew Kluthe -- View this message in context: http://n4.nabble.com/Virtual-properties-tp1679610p1679610.html Sent from the Revolution - User mailing list archive at Nabble.com. From alex at tweedly.net Tue Mar 23 16:08:50 2010 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 23 Mar 2010 20:08:50 +0000 Subject: socket write/read conflict? In-Reply-To: <1e91b2b71003222014l51b860b1q1f3c3777d144dd27@mail.gmail.com> References: <1e91b2b71003222014l51b860b1q1f3c3777d144dd27@mail.gmail.com> Message-ID: <4BA91FD2.1060008@tweedly.net> Nicolas Cueto wrote: > Hello List, > > I've made a quiz-type game where 2-6 students on client stacks buzz in > their answers to a server stack, all on a local network. The server > stack, as well as sending out the questions, informs live to all the > students/client-stacks about who buzzed in what. > > I thought I had it working until we found a problem. If two out of six > students happen to buzz in an answer almost simultaneously (by > clicking a button on a game controller pad), as expected five of the > students will receive the server's message about who buzzed in first, > but one of those two students who buzzed at the same time won't. > Except for this simultaneity, all other server-to-client > communications work. > > After trying to track this down for weeks, I'm posting here in hopes > of some list magic. > > My guess, as the subject line reads, is that a client stack might be > writing to a socket at the same time that the server is trying to > write to that same socket. But, not understanding well how sockets > work, the problem may lie elsewhere. I think I've eliminated the > obvious types of mistakes, but... > > So, I am including below the essence of what my server and script > stacks do. It is quite long, so apologies beforehand. > > I'm afraid I can't see anything that looks like it could cause your problem. What I'd do if it were me is : 1. add a logging capability to the 'chatreceived' handler on chatReceived s,data if gLoggingFile then put the millisecs && s && data &CR after URL gLoggingFile end if ## Student/client has sent a message. ## Perhaps it's a choice/answer ... 2. add a similar log/debug to broadcastToAllClients 3. see what you find out :-) Also, a couple of comments - some probably just artefacts of summarizing the script to send to us. 1. In chatreceived (and clientConnected), you do > read from socket s with message chatReceived which would only read one character (according to the docs). I guess you really do a "read until someChar ?? 2. In clientConnected, you do > wait 50 milliseconds with messages > ## Bug? Without this line, read from socket takes a long time > ## and returns empty. > read from socket s for 1 line > I would recommend that you NEVER do a blocking read in a server. I'd make that something like read from socket s until CR with message gotClientIdentification and put the remaining code into gotClientIdentification (or siply add it to the logic in chatreceived). And I'm pretty sure you can then remove the "wait 50 msec with messages" 3. In the array gAllClientIPsArray, it seems that the 3rd item of each entry will always match the key of the array, because of > put tChatMessage & comma & s into gAllClientIPsArray[s] That just seems like duplicate effort (and a possible source of error / confusion). Why not leave that out, and just use the key ? 4. If you do #3, then you can simplify > on broadcastToAllClients message > ## Tell all the students/clients who made what choice. > put keys(gAllClientIPsArray) into tChatterList > repeat for each line tArrayKey in tChatterList > put gAllClientIPsArray[tArrayKey] into tArrayDataLine > -- the client ID, the student ID, the client IP > -- eg, Blitz-1,10000,127.0.0.1:1448 > put item 3 of tArrayDataLine into tSocket > write message to socket tSocket > end repeat > to on broadcastToAllClients message ## Tell all the students/clients who made what choice. repeat for each key tSocket in gAllClientIPsArray write message to socket tSocket end repeat end broadcastToAllClients (Again, this may be due to summarizing, and there may be more to do here - but even then it would likely be repeat for each element tArrayDataLine in gAllClientsIPsArray -- do something to send to this client ) Hope that helps a little bit. Try the logging / debug code and see what happens (and let us know if it shows anything and we can help with analyzing it :-) -- Alex. From m.schonewille at economy-x-talk.com Tue Mar 23 16:26:00 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 23 Mar 2010 21:26:00 +0100 Subject: Virtual properties In-Reply-To: <1269374429586-1679610.post@n4.nabble.com> References: <1269374429586-1679610.post@n4.nabble.com> Message-ID: <07A04AE0-325D-4913-8B82-1149170A1F25@economy-x-talk.com> Hi Andrew, I think you're making it unnecessarily difficult. There are custom properties and handlers. A custom property is saved in a stack and contains data. A handler is a script. Such a script can set custom properties, but not necessarily. Also, if you pass a setprop message, a property will be set after the script is run. I never considered a getprop or setprop handler virtual, it is just another script. A mouseUp message that isn't passed doesn't suddenly become virtual, does it? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 23 mrt 2010, om 21:00 heeft Andrew Kluthe het volgende geschreven: > > I recently decided that my code would be cleaner and not so buggy if > I used > custom properties and property handlers more often instead of global > arrays > and the functions like Percent2Decimal, Validate, yaddayadda to > manipulate > them. > > > Given that, I just don't get the real difference between virtual > properties > and custom properties. Here is what I do get. > > Virtual Properties allow you to set/handle other properties without > actually > storing a value? Correct? > > Can't you do this in custom properties too? or are they considered > virtual > when you start doing that? > > Anything else I should have an understanding of in regards to virtual > properties? The above is the limit of my assumptions when it comes > to the > differences between custom and virtual. > > > Thanks for the help, > > Andrew Kluthe From andrew at rjdfarm.com Tue Mar 23 17:08:18 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 23 Mar 2010 13:08:18 -0800 (PST) Subject: Virtual properties In-Reply-To: <07A04AE0-325D-4913-8B82-1149170A1F25@economy-x-talk.com> References: <1269374429586-1679610.post@n4.nabble.com> <07A04AE0-325D-4913-8B82-1149170A1F25@economy-x-talk.com> Message-ID: <1269378498414-1679691.post@n4.nabble.com> I understand the differences between a script and a handler. A getProp/setProp message or trigger is a property handler. If you look at the user guide, there is a section on page 247 titled "Virtual Properties". This is what I was speaking of. The problem I am having is understanding the difference between a property handler and a virtual property handler. I.E. the way I understand it: A Custom property might be a Date for instance. I could write a setProp or getProp that reformats the date when it is set or given. set the startDate of control "blah" to the date then I could make a virtual getProp that gets the startDate property, manipulates it and returns it. put the startDateYear of control "blah" The difference is that startDateYear doesn't hold a value, just uses getProp to pull the year out of startDate and return it, but makes the code more readable and organized. instead of put year(the startDate of control "blah") Thank you for the response though. And with this clarification of what I think I understand, am I getting that right anyone? -- View this message in context: http://n4.nabble.com/Virtual-properties-tp1679610p1679691.html Sent from the Revolution - User mailing list archive at Nabble.com. From pmbrig at gmail.com Tue Mar 23 17:08:52 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Tue, 23 Mar 2010 17:08:52 -0400 Subject: Virtual properties In-Reply-To: <07A04AE0-325D-4913-8B82-1149170A1F25@economy-x-talk.com> References: <1269374429586-1679610.post@n4.nabble.com> <07A04AE0-325D-4913-8B82-1149170A1F25@economy-x-talk.com> Message-ID: <73F953A0-BE77-40A3-AC2F-F4EA27571372@gmail.com> An example of a virtual property is one that I use a fair amount: setprop writable tf if "field" is not in the target then exit writable set the locktext of the target to not tf set the traversalon of the target to tf set the autohilite of the target to tf end writable getprop writable if "field" is not in the target then return empty put the traversalon of the target into T put the autohilite of the target into A put the locktext of the target into L if T and A and not L then return true return false end writable The command: set the writable of fld "notes" to not the writable of fld "notes" is caught by the getprop and setprop handlers and results in three standard properties of the field being set so that the field is editable or not editable, in this example depending on its previous state. "Writable" is a "virtual" property because it is not actually attached to any control, it's implemented "on the fly," as it were. Ordinary custom properties are stored with the control they are properties of, and endure by being saved with the stack. Most of the time you want to use ordinary customprops for enduring attributes of the control, storing associated data, images, etc. "Virtual" properties have a more limited use but are quite handy for situations where you want to be able to retrieve some sort of synthesis of control attributes, as in a sort of "what kind of object is this" -- eg, you could have a virtual button property "userClickable" that is true if the button is visible, enabled, not hidden by another control, has a script containing "the storedImage of me," and has a non-empty customprop "storedImage." And so forth. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 23, 2010, at 4:26 PM, Mark Schonewille wrote: > Hi Andrew, > > I think you're making it unnecessarily difficult. There are custom > properties and handlers. A custom property is saved in a stack and > contains data. A handler is a script. Such a script can set custom > properties, but not necessarily. Also, if you pass a setprop > message, a property will be set after the script is run. I never > considered a getprop or setprop handler virtual, it is just another > script. A mouseUp message that isn't passed doesn't suddenly become > virtual, does it? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Economy-x-Talk is always looking for new software development > projects. Feel free to contact me for a quote. > > Op 23 mrt 2010, om 21:00 heeft Andrew Kluthe het volgende geschreven: > >> >> I recently decided that my code would be cleaner and not so buggy >> if I used >> custom properties and property handlers more often instead of >> global arrays >> and the functions like Percent2Decimal, Validate, yaddayadda to >> manipulate >> them. >> >> >> Given that, I just don't get the real difference between virtual >> properties >> and custom properties. Here is what I do get. >> >> Virtual Properties allow you to set/handle other properties without >> actually >> storing a value? Correct? >> >> Can't you do this in custom properties too? or are they considered >> virtual >> when you start doing that? >> >> Anything else I should have an understanding of in regards to virtual >> properties? The above is the limit of my assumptions when it comes >> to the >> differences between custom and virtual. >> >> >> Thanks for the help, >> >> Andrew Kluthe > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From andrew at rjdfarm.com Tue Mar 23 17:12:24 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 23 Mar 2010 13:12:24 -0800 (PST) Subject: Virtual properties In-Reply-To: <73F953A0-BE77-40A3-AC2F-F4EA27571372@gmail.com> References: <1269374429586-1679610.post@n4.nabble.com> <07A04AE0-325D-4913-8B82-1149170A1F25@economy-x-talk.com> <73F953A0-BE77-40A3-AC2F-F4EA27571372@gmail.com> Message-ID: <1269378744806-1679695.post@n4.nabble.com> Perfect peter. Great explanation. Thank you. These are what I am after, after all! -- View this message in context: http://n4.nabble.com/Virtual-properties-tp1679610p1679695.html Sent from the Revolution - User mailing list archive at Nabble.com. From len-morgan at crcom.net Tue Mar 23 20:14:42 2010 From: len-morgan at crcom.net (Len Morgan) Date: Tue, 23 Mar 2010 19:14:42 -0500 Subject: Still Having Data Grid Row Coloring Problems In-Reply-To: <0D7E728A-DB56-4CF3-A190-B18C2EED49D1@mangomultimedia.com> References: <4BA68A24.1030409@crcom.net> <6A67E0D6-D689-4233-83A5-7BF1B67F32EE@mangomultimedia.com> <4BA7B0AA.6090509@crcom.net> <862A7127-C458-4757-82DD-92B0CD60A7BD@mangomultimedia.com> <4BA7F5B1.1040603@crcom.net> <4BA82CF8.9000000@crcom.net> <0D7E728A-DB56-4CF3-A190-B18C2EED49D1@mangomultimedia.com> Message-ID: <4BA95972.7020609@crcom.net> > Would changing the hilite color do what you need? > Not exactly. What I'm trying to do is color each line depending on the contents of a field of the database. This system tracks inmates and they can be either released, in-custody, out-to-court, etc. and each one of these would have a different color so you can see without having to read a field someone's current status. I've used this color coded system for over 10 years and it's quite popular with customers because it requires them to think less. > I did test out setting column background colors and the missing piece > was setting the opaque of to true. Here is a modified version of the > example script: > > private command SetForeGroundColor > if GetDataOfIndex(the dgIndex of me, "line has error") then > set the backgroundcolor of me to red > set the opaque of me to true > else > set the backgroundcolor of me to empty > set the opaque of me to false > end if > end SetForeGroundColor > This worked just like I wanted with one exception which I may not be able to get (and I'm VERY happy with just having the colored lines). You already have a column separator line but it would be much easier to read across (this list takes almost 2/3rds of the screen width) if there were row borders too. Is there some way to get both colors AND row separator lines? I noticed that the alternating row colors kind of does this for you but it's not quite the visual effect I was after. len morgan From stephenREVOLUTION2 at barncard.com Tue Mar 23 20:34:00 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 23 Mar 2010 19:34:00 -0500 Subject: Virtual properties In-Reply-To: <07A04AE0-325D-4913-8B82-1149170A1F25@economy-x-talk.com> References: <1269374429586-1679610.post@n4.nabble.com> <07A04AE0-325D-4913-8B82-1149170A1F25@economy-x-talk.com> Message-ID: yes it's great for a property that has to be calculated first. I use it for a modified html text that adds the ability to include extra tags like "" and "". by setting the extendedHTMLtext of a field, it works just like the standard htmltext with my extra params. This method is great for multiple canned dialog messages. You can alter any field property in the htmltext. The htmltext property doesn't choke on the extra tags. >> I recently decided that my code would be cleaner and not so buggy if I >> used >> custom properties and property handlers more often instead of global >> arrays >> and the functions like Percent2Decimal, Validate, yaddayadda to manipulate >> them. >> >> >> Given that, I just don't get the real difference between virtual >> properties >> and custom properties. Here is what I do get. >> >> Virtual Properties allow you to set/handle other properties without >> actually >> storing a value? Correct? >> >> Can't you do this in custom properties too? or are they considered virtual >> when you start doing that? >> >> Anything else I should have an understanding of in regards to virtual >> properties? The above is the limit of my assumptions when it comes to the >> differences between custom and virtual. >> >> >> Thanks for the help, >> >> Andrew Kluthe >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard currently in Fairhope AL From niconiko at gmail.com Tue Mar 23 22:50:24 2010 From: niconiko at gmail.com (Nicolas Cueto) Date: Wed, 24 Mar 2010 11:50:24 +0900 Subject: socket write/read conflict? In-Reply-To: <4BA91FD2.1060008@tweedly.net> References: <1e91b2b71003222014l51b860b1q1f3c3777d144dd27@mail.gmail.com> <4BA91FD2.1060008@tweedly.net> Message-ID: <1e91b2b71003231950l607c98a4q96dfacbf52dd53b0@mail.gmail.com> A question about something Alex wrote. -- And thank you, Alex. I'll be trying out what you wrote and see what happens. As for logging the results, I'd been doing that already, by having the script put results into a field. Odd thing is, this writing to a field seemed to have solved the simultaneity problem. Which made me think that printing the results caused a few milliseconds of delay that gave the read-write chance to function as expected. But then the problem reappeared. Anyway, to my question. What character should I use when reading/writing over sockets to indicate the end of a line of trasmitted data? CR? LF? Something else completely? Thanks. -- Nicolas Cueto From mark.hausmann at jessenlenz.com Tue Mar 23 23:01:24 2010 From: mark.hausmann at jessenlenz.com (mark.hausmann at jessenlenz.com) Date: Wed, 24 Mar 2010 04:01:24 +0100 Subject: =?iso-8859-1?q?Mark_Hausmann/jl1_ist_au=DFer_Haus=2E?= Message-ID: Ich werde ab 24.03.2010 nicht im B?ro sein. Ich kehre zur?ck am 25.03.2010. Ich werde Ihre Nachricht nach meiner R?ckkehr beantworten. In dringenden F?llen wenden Sie sich bitte an meinen Kollegen Horst Strohkirch, email: horst.strohkirch at pdap.de From katir at hindu.org Wed Mar 24 00:34:26 2010 From: katir at hindu.org (Sivakatirswami) Date: Tue, 23 Mar 2010 18:34:26 -1000 Subject: Search Inside PDF's that have been OCR'd Message-ID: <4BA99652.4070605@hindu.org> Has any one tried using Revolution to search inside PDF's that have been OCR'ed? I can of course try it yself, but wondering if anyone has done it and what insights you may have. From lan.kc.macmail at gmail.com Wed Mar 24 02:56:32 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 24 Mar 2010 14:56:32 +0800 Subject: Finding USB volumes on Win In-Reply-To: <4BA8BE96.9080905@fourthworld.com> References: <4BA8BE96.9080905@fourthworld.com> Message-ID: On Tue, Mar 23, 2010 at 9:13 PM, Richard Gaskin wrote: > Absolutely. This has been a group effort, with valuable input from Ken > Ray, Phil Davis, Peter Alcibiades, Matthias Rebbe, and others, so the least > I can do is share the fruit of our collective labor. > > Awesome!! Thanks so much. Should provide an excellent stepping off point for my next next project. Was suppose to be my next project but something more interesting popped up :-) From lan.kc.macmail at gmail.com Wed Mar 24 03:56:25 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 24 Mar 2010 15:56:25 +0800 Subject: Search Inside PDF's that have been OCR'd In-Reply-To: <4BA99652.4070605@hindu.org> References: <4BA99652.4070605@hindu.org> Message-ID: Sivakatirswami, If all you are after is the text within the PDF, you can do it A LOT faster by rendering the PDF as a Text file. Note this may not work well for PDFs that have vasts amounts of images spread throughout. I know you're on OS X, so as long as you have 10.4 or later go here and get PDF2RTFDService, it's free: http://www.devon-technologies.com/products/freeware/services.html Install it in your ~/Library/Services folder You may need to log out and log back in. Then in Rev: use the launch command to force the pdf file to open with TextEdit then use 'do' to run this AppleScript: tell application "TextEdit" set tText to the text of document 1 end tell If you drag and drop the PDF onto TextEdit and it renders nicely, then the above should do OK at extracting the text word perfect. On the other hand, if TextEdit has trouble rendering a PDF with lots of images, and gets all the columns mixed up, then the above wont work for you. HTH On Wed, Mar 24, 2010 at 12:34 PM, Sivakatirswami wrote: > Has any one tried using Revolution to search inside PDF's that have been > OCR'ed? I can of course try it yself, but wondering if anyone has done it > and what insights you may have. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lan.kc.macmail at gmail.com Wed Mar 24 04:10:53 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 24 Mar 2010 16:10:53 +0800 Subject: Search Inside PDF's that have been OCR'd In-Reply-To: References: <4BA99652.4070605@hindu.org> Message-ID: Sorry Sivakatirswami, I've had this running for so long I'd forgotten two important steps: After installing PDF2RTFService log out and log back in. Set the Preferences in TextEdit so that a 'new' document will be opened as Plain Text, not RTF. Then in Rev: use the launch command to force your pdf file to open with TextEdit use do to run this AppleScript: tell application "TextEdit" set tText to the text of document 1 end tell put the result into myVariable --is now full of your pdf's text :-)))) put char 2 to -2 of myVariable into myVariable --removes AppleScript quotes you'll probably want to do another 'do' to run this AppleScript to close the document tell application "TextEdit" close document 1 --or if your finished with TextEdit quit --you will be prompted to save if there are any unsaved docs end tell Now that should work. From scott at elementarysoftware.com Wed Mar 24 04:54:25 2010 From: scott at elementarysoftware.com (Scott Morrow) Date: Wed, 24 Mar 2010 01:54:25 -0700 Subject: Finding USB volumes on Win In-Reply-To: <4BA8BE96.9080905@fourthworld.com> References: <4BA8BE96.9080905@fourthworld.com> Message-ID: Richard, Thanks for sharing this work! When testing it in OSX I needed to add a line: replace "%20" with space in tMountPoint before the line set the directory to tMountPoint Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com On Mar 23, 2010, at 6:13 AM, Richard Gaskin wrote: > Kay C Lan wrote: > >> On Mon, Mar 22, 2010 at 10:05 PM, Richard Gaskin wrote: >>> In January with the help of Phil, Peter, and others I got some great tips >>> for identifying removable drives on OS X and Linux. But I'm having >>> difficulty figuring out how to do the same in Windows. >> >> Richard, >> >> back then you wrote: >> >> In the meantime, it looks like I have some parsing to do and some homework >>> to figure out the details of getting this info for Win Vista, Win 7, and >>> Linux. I'll post the result here once I get it working. >> >> I'm hoping that offer still applies? > > Absolutely. This has been a group effort, with valuable input from Ken Ray, Phil Davis, Peter Alcibiades, Matthias Rebbe, and others, so the least I can do is share the fruit of our collective labor. > > Below is a handler that handles Mac and Win, with a placeholder for Linux but I don't need that yet so I'll write it in a few weeks when I get to it. > > It examines the currently-mounted volumes and returns a list of those volumes which are removable, using AppleScript for the Mac side and data from the Win registry for Windows. > > Each line of the return value has three items separated by tabs: > > - Drive label/letter (I use this to display in a list) > - available space (useful for my installer) > - mount point or drive letter (needed for writing to the drive) > > I have four different removable drives I've been testing with (card reader, U3, plain USB flash drive, and camera), and the AppleScript method that was suggested here was the only one which easily recognized my card reader along with all the other more "normal" drives; relying on info from system_profiler alone did not provide the mount point, needed to write files to the drive. > > Note that U3 drives show up as two volumes, one writable and one not. The non-writable volume of a U3 drive has zero available space, and that's used to exclude them from the list without having to slow things down by attempting writes to each disk to test that (though also do that on the selected volume later on in a different handler just to make sure before proceeding with the install). > > This is a bit sloppy in some parts since it's a small part of a larger project in which there's a LOT of work do to, but it seems to get the job done well enough for now (you may need to clean up email-imposed line wraps): > > > > function RemovableDrives > -- Returns a tab-delimited list of drives which are removable > -- and have a file system usable by the current OS > -- in which each line is: > -- > -- > put the volumes into tVols > put empty into tRemVols > put the directory into tSaveDir > switch the platform > case "MacOS" > repeat for each line tVol in tVols > put "tell application ""e&"Finder""e&cr&\ > "properties of disk ""e& tVol "e &cr&\ > "end tell" into tAS > do tAS as applescript > put the result into tInfo > if (", ejectable:true," is in tInfo) \ > AND (", free space:0, " is not in tInfo) then > put offset(", URL:""e&"file://", tInfo) into tOS > delete char 1 to (tOS+13) of tInfo > set the itemdel to "/" > delete item 1 of tInfo > put "/"&word 1 of tInfo into tMountPoint > delete char -3 to -1 of tMountPoint > set the directory to tMountPoint > if the result is not empty then next repeat > put the diskspace into tSpace > put tVol &tab& tSpace &tab& tMountPoint &cr after tRemVols > end if > end repeat > break > case "Win32" > set cursor to watch > put the hideConsoleWindows into tSaveHCW > set the hideConsoleWindows to true > -- Hex for "\??\STORAGE#RemovableMedia#": > put "5C003F003F005C00530054004F0052004100470045002300520065006D006F00760061006200"&\ > "6C0065004D00650064006900610023" into tRemovableIdentifier > repeat for each line tVol in tVols > if tVol is in "A:B:C:" then next repeat -- two floppies and the main HD > put "reg query HKLM\SYSTEM\MountedDevices /v \DosDevices\"& tVol into tCmd > put shell(tCmd) into tmp > if tRemovableIdentifier is in line -2 of tmp then > set the directory to tVol > if the result is empty then > put "Removable Disk ("&tVol&")" &tab& the diskspace & tab& tVol &cr after tRemVols > end if > end if > end repeat > set the directory to tSaveDir > set the hideConsoleWindows to tSaveHCW > break > case "Linux" > -- add here -- http://linux.die.net/man/8/blkid -- thanks Peter! > > break > end switch > -- > delete last char of tRemVols -- trailing CR > return tRemVols > end RemovableDrives > > > If you find any bugs with this please let me know. I'll be putting it into testing with my own users soon, but it would of course be good to iron out as many issues as possible in advance. Thanks - > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jackwolf at gmail.com Wed Mar 24 05:54:42 2010 From: jackwolf at gmail.com (Jacopo Lupi) Date: Wed, 24 Mar 2010 10:54:42 +0100 Subject: Datagrid hiliting problem In-Reply-To: References: <2E045BFC-2557-4C33-83CF-C18402EFE91A@gmail.com> Message-ID: <31593815-1813-44E2-9BC9-A5A8034F6DCA@gmail.com> Thank You Trevor, works like a charm! Best On 23/mar/2010, at 18.16, Trevor DeVore wrote: > On Mar 23, 2010, at 6:30 AM, Jacopo Lupi wrote: > >> I have a question about datagrids. >> >> I need to turn off the hiliting of lines in a datagrid with the auto hilite prop turned on when i click outside the used (or existing) lines. >> >> Litte example: >> >> I have a datagrid filled with 3 lines. I click on the second line and it becomes hilited. >> >> If I click on the empty part of the datagrid the second line remains hilited. I would like the hiliting of the second row to disappear. > > Try adding this to the data grid group script and see if it does what you want (untested): > > on mouseDown pBtnNum > dgMouseDown pBtnNum > > if pBtnNum is 1 then > if the dgDataControl of the mouseControl is empty then > ## didn't click on a row > set the dgHilitedLines of me to empty > end if > end if > end mouseDown > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Wed Mar 24 08:08:02 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Mar 2010 05:08:02 -0700 Subject: Finding USB volumes on Win Message-ID: <4BAA00A2.8040601@fourthworld.com> Kay C Lan wrote: > On Tue, Mar 23, 2010 at 9:13 PM, Richard Gaskin wrote: > >> Absolutely. This has been a group effort, with valuable input from Ken >> Ray, Phil Davis, Peter Alcibiades, Matthias Rebbe, and others, so the least >> I can do is share the fruit of our collective labor. >> >> Awesome!! Thanks so much. Should provide an excellent stepping off point > for my next next project. Was suppose to be my next project but something > more interesting popped up :-) That often happens. There's too much interesting software to write! :) Happy to help. My introduction to the programming community was through a BBS run by my local Mac user group. I posted my first question there about manipulating certain Mac resources, and one of the members patiently explained how it worked and what I needed to do to get my job done -- just two hours later. That was a magic moment for me, one repeated often enough that I began to understand the true value of the programming community: no one has to solve every problem by themselves so long as they have a modem. :) At that time I'd worked in three different industries, but from that moment on the programming community distinguished itself for me by being comprised of people who give uncommonly high value to sharing knowledge freely. I've just been paying it forward ever since. Challenges like this USB thang are good examples of this dynamic at work: about half a dozen people contributed to that handler, and now we all have something that will save us time as we move on to the next one. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From ambassador at fourthworld.com Wed Mar 24 08:10:16 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Mar 2010 05:10:16 -0700 Subject: Finding USB volumes on Win Message-ID: <4BAA0128.2080003@fourthworld.com> Scott Morrow wrote: > Richard, > > Thanks for sharing this work! When testing it in OSX I needed to add a line: > > replace "%20" with space in tMountPoint > > before the line > > set the directory to tMountPoint Good catch - thanks. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From dan at clearvisiontech.com Wed Mar 24 12:17:52 2010 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 24 Mar 2010 09:17:52 -0700 Subject: FTPeS In-Reply-To: <20100323170005.C2B9428825A@mail.runrev.com> References: <20100323170005.C2B9428825A@mail.runrev.com> Message-ID: <087CD9B0-E3AC-4A06-91BF-3AD86C533E3F@clearvisiontech.com> The server I am using that currently MANY, MANY, MANY of my users are writing to via ftp (in my standalone), changed this morning to FTPeS. I am now getting: error 421 Sorry, cleartext sessions are not accepted on this server. Can rev support FTPeS?? I am about to get a few thousand phone calls from angry clients! HELP! Thank you, Dan From stephenREVOLUTION2 at barncard.com Wed Mar 24 12:56:03 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 24 Mar 2010 09:56:03 -0700 Subject: FTPeS In-Reply-To: <087CD9B0-E3AC-4A06-91BF-3AD86C533E3F@clearvisiontech.com> References: <20100323170005.C2B9428825A@mail.runrev.com> <087CD9B0-E3AC-4A06-91BF-3AD86C533E3F@clearvisiontech.com> Message-ID: I've never heard of this protocol.. obviously some others are having this problem.. http://www.google.com/search?client=safari&rls=en&q=FTPeS&ie=UTF-8&oe=UTF-8 this is incredibly stupid and RUDE of your provider to switch like this and they should have provided an option. I know of NO FTP client that can handle this. You may have to move everyone to a different server rather than spend the time to create code to deal with this. Is the FTP address hard coded into your app or is it a pref?? On 24 March 2010 09:17, Dan Friedman wrote: > The server I am using that currently MANY, MANY, MANY of my users are > writing to via ftp (in my standalone), changed this morning to FTPeS. I am > now getting: > > error 421 Sorry, cleartext sessions are not accepted on this server. > > Can rev support FTPeS?? I am about to get a few thousand phone calls from > angry clients! > > HELP! > > Thank you, > Dan_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard Back home from Alabama From bobs at twft.com Wed Mar 24 13:01:33 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 24 Mar 2010 10:01:33 -0700 Subject: Still Having Data Grid Row Coloring Problems In-Reply-To: <4BA95972.7020609@crcom.net> References: <4BA68A24.1030409@crcom.net> <6A67E0D6-D689-4233-83A5-7BF1B67F32EE@mangomultimedia.com> <4BA7B0AA.6090509@crcom.net> <862A7127-C458-4757-82DD-92B0CD60A7BD@mangomultimedia.com> <4BA7F5B1.1040603@crcom.net> <4BA82CF8.9000000@crcom.net> <0D7E728A-DB56-4CF3-A190-B18C2EED49D1@mangomultimedia.com> <4BA95972.7020609@crcom.net> Message-ID: Why not just put a line in your row template? Bob On Mar 23, 2010, at 5:14 PM, Len Morgan wrote: > This worked just like I wanted with one exception which I may not be able to get (and I'm VERY happy with just having the colored lines). You already have a column separator line but it would be much easier to read across (this list takes almost 2/3rds of the screen width) if there were row borders too. Is there some way to get both colors AND row separator lines? I noticed that the alternating row colors kind of does this for you but it's not quite the visual effect I was after. > > len morgan From Andre.Bisseret at inria.fr Wed Mar 24 13:01:48 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Wed, 24 Mar 2010 18:01:48 +0100 Subject: data grid by hand doesn't create a data grid templates' substack Message-ID: Bonjour, When one drags a data grid from Tools one gets a data grid templates substack nnn But if one creates a datagrid with: ------ copy group "DataGrid" of group "Templates" of stack "revDataGridLibrary" to card 1 of this stack put it into theDataGridRef ------ there is not such a substack. then I suppose that the data grid will work only in the IDE? (being dependent of the revDataGridLibrary) Seems I am missing something here Could be that In the lesson, I don't well understand the following: ---------------- set the dgProp["row template"] of theDataGridRef to the long id of group "MyRowTemplate" of stack "MyStack" You should probably create this ahead of time using the IDE. For example, you could create a data grid and then delete it while leaving the row template behind (it will exist on a card in "Data Grid Templates xxx" stack). -------------- With what should I replace "MyRowTemplate"? I am not in a hurry about that but would like to better understand ;-)) Best regards from Grenoble Andr? From andre at andregarzia.com Wed Mar 24 13:22:36 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 24 Mar 2010 14:22:36 -0300 Subject: FTPeS In-Reply-To: <087CD9B0-E3AC-4A06-91BF-3AD86C533E3F@clearvisiontech.com> References: <20100323170005.C2B9428825A@mail.runrev.com> <087CD9B0-E3AC-4A06-91BF-3AD86C533E3F@clearvisiontech.com> Message-ID: <7c87a2a11003241022k6769cc33jf8b44b6bbf0d7aeb@mail.gmail.com> Dan, Rev can't handle FTPS or SFTP. If your users are on macos x you might be able to cook something to call with shell(), now if you're on windows, then I have no clue. I think cURL provides stuff for SFTP and openSSH provides stuff for FTPS. Does your provider provides WebDAV access? Can you write a special CGI to handle uploads? Cheers andre On Wed, Mar 24, 2010 at 1:17 PM, Dan Friedman wrote: > The server I am using that currently MANY, MANY, MANY of my users are > writing to via ftp (in my standalone), changed this morning to FTPeS. I am > now getting: > > error 421 Sorry, cleartext sessions are not accepted on this server. > > Can rev support FTPeS?? I am about to get a few thousand phone calls from > angry clients! > > HELP! > > Thank you, > Dan_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From stephenREVOLUTION2 at barncard.com Wed Mar 24 13:28:48 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 24 Mar 2010 10:28:48 -0700 Subject: FTPeS In-Reply-To: <7c87a2a11003241022k6769cc33jf8b44b6bbf0d7aeb@mail.gmail.com> References: <20100323170005.C2B9428825A@mail.runrev.com> <087CD9B0-E3AC-4A06-91BF-3AD86C533E3F@clearvisiontech.com> <7c87a2a11003241022k6769cc33jf8b44b6bbf0d7aeb@mail.gmail.com> Message-ID: Wikipedia says FTPES is different than FTPS or SFTP. Explicit In explicit mode (also known as *FTPES*), an FTPS client must "explicitly request" security from an FTPS server and then step-up to a mutually agreed encryption method. If a client does not request security, the FTPS server can either allow the client to continue insecure or refuse/limit the connection. On 24 March 2010 10:22, Andre Garzia wrote: > Dan, > > Rev can't handle FTPS or SFTP. If your users are on macos x you might be > able to cook something to call with shell(), now if you're on windows, then > I have no clue. > > I think cURL provides stuff for SFTP and openSSH provides stuff for FTPS. > Does your provider provides WebDAV access? Can you write a special CGI to > handle uploads? > > Cheers > andre > > On Wed, Mar 24, 2010 at 1:17 PM, Dan Friedman >wrote: > > > The server I am using that currently MANY, MANY, MANY of my users are > > writing to via ftp (in my standalone), changed this morning to FTPeS. I > am > > now getting: > > > > error 421 Sorry, cleartext sessions are not accepted on this server. > > > > Can rev support FTPeS?? I am about to get a few thousand phone calls > from > > angry clients! > > > > HELP! > > > > Thank you, > > Dan_______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard Back home from Alabama From andre at andregarzia.com Wed Mar 24 13:31:41 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 24 Mar 2010 14:31:41 -0300 Subject: FTPeS In-Reply-To: References: <20100323170005.C2B9428825A@mail.runrev.com> <087CD9B0-E3AC-4A06-91BF-3AD86C533E3F@clearvisiontech.com> <7c87a2a11003241022k6769cc33jf8b44b6bbf0d7aeb@mail.gmail.com> Message-ID: <7c87a2a11003241031p4e251787m104f9861b63764b8@mail.gmail.com> irgh!!! I thought FTPES was a typo... never heard of it. Can the poster run cgis on his server? On Wed, Mar 24, 2010 at 2:28 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > Wikipedia says FTPES is different than FTPS or SFTP. > Explicit > > In explicit mode (also known as *FTPES*), an FTPS client must "explicitly > request" security from an FTPS server and then step-up to a mutually agreed > encryption method. If a client does not request security, the FTPS server > can either allow the client to continue insecure or refuse/limit the > connection. > > On 24 March 2010 10:22, Andre Garzia wrote: > > > Dan, > > > > Rev can't handle FTPS or SFTP. If your users are on macos x you might be > > able to cook something to call with shell(), now if you're on windows, > then > > I have no clue. > > > > I think cURL provides stuff for SFTP and openSSH provides stuff for FTPS. > > Does your provider provides WebDAV access? Can you write a special CGI to > > handle uploads? > > > > Cheers > > andre > > > > On Wed, Mar 24, 2010 at 1:17 PM, Dan Friedman > >wrote: > > > > > The server I am using that currently MANY, MANY, MANY of my users are > > > writing to via ftp (in my standalone), changed this morning to FTPeS. > I > > am > > > now getting: > > > > > > error 421 Sorry, cleartext sessions are not accepted on this > server. > > > > > > Can rev support FTPeS?? I am about to get a few thousand phone calls > > from > > > angry clients! > > > > > > HELP! > > > > > > Thank you, > > > Dan_______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > > > > -- > > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > ------------------------- > Stephen Barncard > Back home from Alabama > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From stephenREVOLUTION2 at barncard.com Wed Mar 24 13:55:39 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 24 Mar 2010 10:55:39 -0700 Subject: FTPeS In-Reply-To: <7c87a2a11003241031p4e251787m104f9861b63764b8@mail.gmail.com> References: <20100323170005.C2B9428825A@mail.runrev.com> <087CD9B0-E3AC-4A06-91BF-3AD86C533E3F@clearvisiontech.com> <7c87a2a11003241022k6769cc33jf8b44b6bbf0d7aeb@mail.gmail.com> <7c87a2a11003241031p4e251787m104f9861b63764b8@mail.gmail.com> Message-ID: yeah this is clearly a provider problem.. you should not be treated like this... they should allow you a choice one way or another... like running your own server.. or MOVE. Many years ago I was booted off a donated server with no further support because the actual tech had an issue with the "donator" who didn't actually run the co-located machine. The only thing I could do was re-create the site. Fortunately, everything was domain-based and could be restored and located. If one creates an app that has to rely on a server, make sure that someone central to the system (author or client) has complete control of that server! On 24 March 2010 10:31, Andre Garzia wrote: > irgh!!! I thought FTPES was a typo... never heard of it. > > Can the poster run cgis on his server? > > On Wed, Mar 24, 2010 at 2:28 PM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > > > Wikipedia says FTPES is different than FTPS or SFTP. > > Explicit > > > > In explicit mode (also known as *FTPES*), an FTPS client must "explicitly > > request" security from an FTPS server and then step-up to a mutually > agreed > > encryption method. If a client does not request security, the FTPS server > > can either allow the client to continue insecure or refuse/limit the > > connection. > > > > On 24 March 2010 10:22, Andre Garzia wrote: > > > > > Dan, > > > > > > Rev can't handle FTPS or SFTP. If your users are on macos x you might > be > > > able to cook something to call with shell(), now if you're on windows, > > then > > > I have no clue. > > > > > > I think cURL provides stuff for SFTP and openSSH provides stuff for > FTPS. > > > Does your provider provides WebDAV access? Can you write a special CGI > to > > > handle uploads? > > > > > > Cheers > > > andre > > > > > > On Wed, Mar 24, 2010 at 1:17 PM, Dan Friedman > > >wrote: > > > > > > > The server I am using that currently MANY, MANY, MANY of my users are > > > > writing to via ftp (in my standalone), changed this morning to FTPeS. > > I > > > am > > > > now getting: > > > > > > > > error 421 Sorry, cleartext sessions are not accepted on this > > server. > > > > > > > > Can rev support FTPeS?? I am about to get a few thousand phone calls > > > from > > > > angry clients! > > > > > > > > HELP! > > > > > > > > Thank you, > > > > Dan_______________________________________________ > > > > use-revolution mailing list > > > > use-revolution at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > > > > > > > > > -- > > > http://www.andregarzia.com All We Do Is Code. > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > > > > -- > > ------------------------- > > Stephen Barncard > > Back home from Alabama > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard Back home from Alabama From lists at mangomultimedia.com Wed Mar 24 14:11:22 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 24 Mar 2010 14:11:22 -0400 Subject: data grid by hand doesn't create a data grid templates' substack In-Reply-To: References: Message-ID: On Mar 24, 2010, at 1:01 PM, Andre.Bisseret wrote: > When one drags a data grid from Tools one gets a data grid templates > substack nnn > > But if one creates a datagrid with: > ------ > copy group "DataGrid" of group "Templates" of stack > "revDataGridLibrary" to card 1 of this stack > put it into theDataGridRef > ------ > there is not such a substack. Correct. The IDE automates this part. If you are doing everything yourself then you have to create the substack yourself. > then I suppose that the data grid will work only in the IDE? (being > dependent of the revDataGridLibrary) It will work in a standalone as long as you create a stack that starts with Data Grid Templates stack. > Could be that In the lesson, I don't well understand the following: > ---------------- > set the dgProp["row template"] of theDataGridRef to the long id of > group "MyRowTemplate" of stack > "MyStack" > You should probably create this ahead of time using the IDE. For > example, you could create a data > grid and then delete it while leaving the row template behind (it > will exist on a card in "Data Grid > Templates xxx" stack). > -------------- > With what should I replace "MyRowTemplate"? The long id of the row template group you want to use. The Data Grid won't work if you don't assign a row template to it. The IDE does this for you and the row template resides on one of the cards in the Data Grid Templates stack. Unless you have a need in your program to dynamically create Data Grids I would recommend you use the Tools Palette. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From Andre.Bisseret at inria.fr Wed Mar 24 15:15:01 2010 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Wed, 24 Mar 2010 20:15:01 +0100 Subject: data grid by hand doesn't create a data grid templates' substack In-Reply-To: References: Message-ID: Le 24 mars 10 ? 19:11, Trevor DeVore a ?crit : > On Mar 24, 2010, at 1:01 PM, Andre.Bisseret wrote: > >> When one drags a data grid from Tools one gets a data grid >> templates substack nnn >> >> But if one creates a datagrid with: >> ------ >> copy group "DataGrid" of group "Templates" of stack >> "revDataGridLibrary" to card 1 of this stack >> put it into theDataGridRef >> ------ >> there is not such a substack. > > Correct. The IDE automates this part. If you are doing everything > yourself then you have to create the substack yourself. > >> then I suppose that the data grid will work only in the IDE? (being >> dependent of the revDataGridLibrary) > > It will work in a standalone as long as you create a stack that > starts with Data Grid Templates stack. > >> Could be that In the lesson, I don't well understand the following: >> ---------------- >> set the dgProp["row template"] of theDataGridRef to the long id of >> group "MyRowTemplate" of stack >> "MyStack" >> You should probably create this ahead of time using the IDE. For >> example, you could create a data >> grid and then delete it while leaving the row template behind (it >> will exist on a card in "Data Grid >> Templates xxx" stack). >> -------------- >> With what should I replace "MyRowTemplate"? > > The long id of the row template group you want to use. The Data Grid > won't work if you don't assign a row template to it. The IDE does > this for you and the row template resides on one of the cards in the > Data Grid Templates stack. > > Unless you have a need in your program to dynamically create Data > Grids I would recommend you use the Tools Palette. > No such need in fact. So I am always using the Tools Palette Was just to better understand what was going on when creating a DG by script Thank you Trevor for your explanations. Best regards from Grenoble Andr? From david at vaudevillecourt.tv Wed Mar 24 15:27:44 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Wed, 24 Mar 2010 19:27:44 +0000 Subject: sqlYoga: best way to import lots of data Message-ID: I'm working on a database for rev handlers using sql yoga. I want to import a few thousand hander references into the db. So far I've got something like: put sqlrecord_CreateObject ("handler") into theRecordA > > sqlrecord_set theRecordA, "name", "menu_CreateTable" > sqlrecord_set theRecordA, "type", "c" > sqlrecord_set theRecordA, "object", scriptObject > sqlrecord_set theRecordA, "number", 1 > > sqlrecord_create theRecordA > I'm thinking it would be better / faster to create one big numerically indexed array and then update - any ideas on the syntax for that? From lists at mangomultimedia.com Wed Mar 24 15:27:53 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 24 Mar 2010 15:27:53 -0400 Subject: Still Having Data Grid Row Coloring Problems In-Reply-To: <4BA95972.7020609@crcom.net> References: <4BA68A24.1030409@crcom.net> <6A67E0D6-D689-4233-83A5-7BF1B67F32EE@mangomultimedia.com> <4BA7B0AA.6090509@crcom.net> <862A7127-C458-4757-82DD-92B0CD60A7BD@mangomultimedia.com> <4BA7F5B1.1040603@crcom.net> <4BA82CF8.9000000@crcom.net> <0D7E728A-DB56-4CF3-A190-B18C2EED49D1@mangomultimedia.com> <4BA95972.7020609@crcom.net> Message-ID: <01383E66-1324-4A5B-95B3-15669D685DB5@mangomultimedia.com> On Mar 23, 2010, at 8:14 PM, Len Morgan wrote: > This worked just like I wanted with one exception which I may not be > able to get (and I'm VERY happy with just having the colored > lines). You already have a column separator line but it would be > much easier to read across (this list takes almost 2/3rds of the > screen width) if there were row borders too. Is there some way to > get both colors AND row separator lines? I noticed that the > alternating row colors kind of does this for you but it's not quite > the visual effect I was after. You could get this if you create a custom template for each column. The template might consist of a field and a line graphic. You would then just resize the field and line graphic in the column behavior script. Start by following the directions here: http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7311-How-Do-I-Customize-A-Table-s-Columns- After customizing one of your columns to look/act like you want using the above method you can just make duplicates of the column template group and name the duplicates after the other columns in your table. All of the duplicates will point to the same column behavior script so you just have to update your code in one place. Let me know if you need more clarification on any of the above. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From mbertoli at libero.it Wed Mar 24 15:33:43 2010 From: mbertoli at libero.it (Marcello Bertoli) Date: Wed, 24 Mar 2010 20:33:43 +0100 Subject: Datagrid edit cell question Message-ID: <43C52FB0-1DFD-4AF4-A333-56108990A8FA@libero.it> Hi all, I have some questions about editing data directly inside datagrids. The scenario is a datagrid where the user can edit only certain columns. I've accomplished this turning off the "allow text editing" of the datagrid and allowing the text editing of the column I want in the mouseDoubleUp handler. Here it is a sample code: on mouseDoubleUp pMouseBtnNum dgMouseDown pMouseBtnNum if the dgHeaderControl of the target is empty if pMouseBtnNum is 1 then put the dgColumn of the target into tColumn put the dgHilitedIndex of the target into tIndex switch tColumn case "column I don't want to edit" exit mouseDoubleUp break default EditCellOfIndex tColumn, tIndex end switch end if end if Is it the best way to manage my purpose or are there better methods? Actually if I cicle through the columns of a datagrid row with the tab key I can edit the columns I don't want to edit. I've tried to solve the problem with this code: on preOpenFieldEditor pFieldEditor switch the dgColumn of the target case "Column I dont'want to edit" send "DeleteFieldEditorAndOpenNext" to the dgControl of me in 0 seconds break [...] end switch end preOpenFieldEditor It actually works but: 1. I don't know if it is the best way to manage the problem 2. I see that the focus is sent to the "column I don't want to edit" and then the cursor jumping to the column I actually want to edit. I would like not to see this effect. I would like the cursor jumping directly to the cell of the column where the user can insert data without this unpleasant graphic effect. Is there a way to accomplish this? Thanks in advance Cheers Marcello From lists at mangomultimedia.com Wed Mar 24 15:34:06 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 24 Mar 2010 15:34:06 -0400 Subject: sqlYoga: best way to import lots of data In-Reply-To: References: Message-ID: <4463E76C-9DCB-4CE8-AB6E-E4C92A5D39A2@mangomultimedia.com> On Mar 24, 2010, at 3:27 PM, David Bovill wrote: > I'm working on a database for rev handlers using sql yoga. I want to > import > a few thousand hander references into the db. So far I've got > something > like: > > put sqlrecord_CreateObject ("handler") into theRecordA >> >> sqlrecord_set theRecordA, "name", "menu_CreateTable" >> sqlrecord_set theRecordA, "type", "c" >> sqlrecord_set theRecordA, "object", scriptObject >> sqlrecord_set theRecordA, "number", 1 >> >> sqlrecord_create theRecordA > > I'm thinking it would be better / faster to create one big numerically > indexed array and then update - any ideas on the syntax for that? sqlrecord_create will take a numerically indexed array. theRecordsA[1] = a record array theRecordsA[2] = another record array So you could update your code to stuff each record you create into an index of a theRecordsA array and then pass the theRecordsA array to sqlrecord_create. ... put sqlrecord_CreateObject ("handler") into theRecordA sqlrecord_set theRecordA, "name", "menu_CreateTable" sqlrecord_set theRecordA, "type", "c" sqlrecord_set theRecordA, "object", scriptObject sqlrecord_set theRecordA, "number", 1 put theRecordA into theRecordsA[the number of elements of theRecordsA + 1] ... sqlrecord_create theRecordsA -- 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 Mar 24 15:37:34 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 24 Mar 2010 15:37:34 -0400 Subject: Datagrid edit cell question In-Reply-To: <43C52FB0-1DFD-4AF4-A333-56108990A8FA@libero.it> References: <43C52FB0-1DFD-4AF4-A333-56108990A8FA@libero.it> Message-ID: <3AF6963D-EAAF-46AD-A444-41BB45F95828@mangomultimedia.com> On Mar 24, 2010, at 3:33 PM, Marcello Bertoli wrote: > I have some questions about editing data directly inside datagrids. > > The scenario is a datagrid where the user can edit only certain > columns. I've accomplished this turning off the "allow text editing" > of the datagrid and allowing the text editing of the column I want > in the mouseDoubleUp handler. Here it is a sample code: I think that setting the dgColumnIsEditable to false for the columns you don't want to edit should do the trick. Try that. Docs are on this page: http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7343-Data-Grid-Properties -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From andrew at rjdfarm.com Wed Mar 24 16:38:58 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Wed, 24 Mar 2010 12:38:58 -0800 (PST) Subject: passing setProp of a property set Message-ID: <1269463138590-1689638.post@n4.nabble.com> setprop OldData[TenureEndDate] pDate replace "-" with "," in pDate put item 1 of it into sYear put item 2 of it into sMonth put item 3 of it into sDay put sMonth & "-" & sDay & "-" & sYear into pDate pass OldData["TenureEndDate"] end OldData[TenureEndDate] I want to format TenureEndDate of the OldData custom property set. I am an [X] next to this line on compilation: pass OldData["TenureEndDate"] I need to pass the property to enter pDate into it right? Am i doing this correctly? -- View this message in context: http://n4.nabble.com/passing-setProp-of-a-property-set-tp1689638p1689638.html Sent from the Revolution - User mailing list archive at Nabble.com. From ruslan_zasukhin at valentina-db.com Wed Mar 24 16:59:35 2010 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Wed, 24 Mar 2010 22:59:35 +0200 Subject: sqlYoga: best way to import lots of data In-Reply-To: <4463E76C-9DCB-4CE8-AB6E-E4C92A5D39A2@mangomultimedia.com> Message-ID: On 3/24/10 9:34 PM, "Trevor DeVore" wrote: > On Mar 24, 2010, at 3:27 PM, David Bovill wrote: > >> I'm working on a database for rev handlers using sql yoga. I want to >> import >> a few thousand hander references into the db. So far I've got >> something >> like: >> >> put sqlrecord_CreateObject ("handler") into theRecordA >>> >>> sqlrecord_set theRecordA, "name", "menu_CreateTable" >>> sqlrecord_set theRecordA, "type", "c" >>> sqlrecord_set theRecordA, "object", scriptObject >>> sqlrecord_set theRecordA, "number", 1 >>> >>> sqlrecord_create theRecordA >> >> I'm thinking it would be better / faster to create one big numerically >> indexed array and then update - any ideas on the syntax for that? Actually db engines have own fast IMPORT methods. You give file, point table and done. -- 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 DunbarX at aol.com Wed Mar 24 18:20:46 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 24 Mar 2010 18:20:46 EDT Subject: Virtual properties Message-ID: <33a43.355735eb.38dbea3e@aol.com> It might be important to repeat (or at least for me it is) that if one wants to use a virtual property that never gets attached to a particular object, you simply do not ever pass the propertyName in the setprop handler. If you do, a custom property with that name will be created, just like a variable would be. Reading Peter Brigham's mail, he never encounters that issue since he never expllicitly names an object to which he is setting the virtual property, only referrng to "the target". That is nice. Is it true then, that "set" commands and commands that retrieve custom properties are always intercepted by "setprop" and "getProp"? And these will not pass to the engine unless you let them? Is this the single, or at least the most important instance where it is possible to intercept commands? Rev, unlike HC, does not normally allow this to happen to reserved words. Here, you can, and it seems appropriate. Craig Newman From zryip.theslug at gmail.com Wed Mar 24 19:24:40 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Thu, 25 Mar 2010 00:24:40 +0100 Subject: passing setProp of a property set In-Reply-To: <1269463138590-1689638.post@n4.nabble.com> References: <1269463138590-1689638.post@n4.nabble.com> Message-ID: <64bda6471003241624w258d583avac8ec54bf1ef9275@mail.gmail.com> 2010/3/24 Andrew Kluthe : > > setprop OldData[TenureEndDate] pDate > ? replace "-" with "," in pDate > ? put item 1 of it into sYear > ? put item 2 of it into sMonth > ? put item 3 of it into sDay > ? put sMonth & "-" & sDay & "-" & sYear into pDate > ? pass OldData["TenureEndDate"] > end OldData[TenureEndDate] > > I want to format TenureEndDate of the OldData custom property set. > > I am an [X] next to this line on compilation: > > pass OldData["TenureEndDate"] > > I need to pass the property to enter pDate into it right? Am i doing this > correctly? Use the pass command to send a handler to the next object in the hierarchy. For the Revolution's Native Message Path, have a look to the RIchard Gaskin's web site here : http://www.fourthworld.com/embassy/articles/revolution_message_path.html Now for using setProp and getProp... Imagine that you have an object myInvoice defined by two dates, an old date and a new date. In a process you want to set a new date to the invoice but you want to keep the old date to revert change in case of an error occurs. You could define your invoice object like this : local myInvoiceObject -- Create the object with a multidimensional array like a property tree put "theSlug" into myInvoiceObject["client"]["Name"] put "3/1/2010" into myInvoiceObject["dates"]["old"] put "3/25/2010" into myInvoiceObject["dates"]["new"] To keep the Old date you could do that : set the myInvoiceProp["old date"] to "3-12-2010" using : setprop myInvoiceProp [ptheProp] pTheValue switch ptheProp case "old date" set itemDelimiter to "-" put item 1 of it into sYear put item 2 of it into sMonth put item 3 of it into sDay checkForValidDate -- a handler to check if the date is valid. If not throws an error put sMonth & "-" & sDay & "-" & sYear into myInvoiceObject["dates"]["old"] set itemDelimiter to "," break case "new date" .... case "client" .... default answer "Error - property not exists !" pass myInvoiceProp end myInvoiceProp And now to read the old date from the object you could write a getProp like this getprop myInvoiceProp [ptheProp] switch ptheProp case "old date" return myInvoiceObject["dates"]["old"] break case "new date" ..... end myInvoiceProp To revert the date you could read the property like this: put the myInvoiceProp["old date"] into fld "invoice date" I've not test the code but I hope that the idea of how it works is here. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From andrew at rjdfarm.com Wed Mar 24 20:03:04 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Wed, 24 Mar 2010 16:03:04 -0800 (PST) Subject: passing setProp of a property set In-Reply-To: <64bda6471003241624w258d583avac8ec54bf1ef9275@mail.gmail.com> References: <1269463138590-1689638.post@n4.nabble.com> <64bda6471003241624w258d583avac8ec54bf1ef9275@mail.gmail.com> Message-ID: <1269475384319-1690007.post@n4.nabble.com> Great! Object oriented programming with the speed of globals. Why didn't I think of this before! (specifically before I spent all day re-writing an app to put my data into 2 property sets of a button!) -- View this message in context: http://n4.nabble.com/passing-setProp-of-a-property-set-tp1689638p1690007.html Sent from the Revolution - User mailing list archive at Nabble.com. From lan.kc.macmail at gmail.com Wed Mar 24 20:28:00 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 25 Mar 2010 08:28:00 +0800 Subject: Deleting Data Woefully Slow Message-ID: In the current project I'm working on I've discovered a bottle neck. Whilst investigating ways to try and speed things up I've discovered the following, which our resident Benchmark Meister is probably fully aware of but I'd thought I'd share with everyone else. In my project I have a nested repeat for each line repeat for each line where in both cases there are 1.4 million lines. I thought I was going to speed things up by deleting unnecessary lines, instead I saw a massive slow down. In summary: (test figures below) put chunk after scales well put chunk before doesn't scale well delete line -1 is woefully slow and doesn't scale delete line 1 doesn't scale well. Interestingly, 'delete line 1' is the opposite of 'put chunk before' and their performance is roughly equivalent, the same can not be said for 'delete line -1' which is the opposite of 'put chunk after'. And, in the case of 'delete line -1' it's quicker to use it in a 'repeat with x =' statement rather than the usual speedy 'repeat for each' . What I've discovered is it can be significantly faster to recreate 90% of your data than try and delete 10% of it; I'd even go as far as to suggest you're better off recreating 99% of your data than trying to delete 1%! Below are the test results I got on a MBP 2.16GHz, 2 GB RAM, OS X.6.2, Rev Studio 4.0.0 Build 950 5000 repeats **repeat for each** put after = 2 millisec delete line -1 = 287 millisec put before = 11 millisec delete line 1 = 9 millisec **repeat with x = ** put after = 137 millisec delete line -1 = 197 millisec put before = 227 millisec delete line 1 = 49 millisec Create 90% - repeat for each = 3 millisec Create 90% - repeat with x = 309 millisec Delete 10% = 383 millisec 50000 repeats **repeat for each** put after = 19 millisec delete line -1 = 35497 millisec put before = 935 millisec delete line 1 = 925 millisec **repeat with x = ** put after = 17403 millisec delete line -1 = 17632 millisec put before = 23939 millisec delete line 1 = 4580 millisec Create 90% - repeat for each = 25 millisec Create 90% - repeat with x = 32891 millisec Delete 10% = 33751 millisec The script I used: on mouseUp repeat 5000 times --change as necessary put random (9) & cr after tData end repeat --test 1 put the millisec into tStart repeat for each line tLine in tData put tLine & cr after tData1 end repeat put the millisec into tEnd put tEnd - tStart into tTotal1 --test 2 put the millisec into tStart repeat for each line tLine in tData delete line -1 of tData1 end repeat put the millisec into tEnd put tEnd - tStart into tTotal2 --test 3 put the millisec into tStart repeat for each line tLine in tData put tLine & cr before tData1 end repeat put the millisec into tEnd put tEnd - tStart into tTotal3 --test 4 put the millisec into tStart repeat for each line tLine in tData delete line 1 of tData1 end repeat put the millisec into tEnd put tEnd - tStart into tTotal4 --test 5 put the millisec into tStart repeat with tCounter = 1 to the number of lines of tData put line tCounter of tData & cr after tData1 end repeat put the millisec into tEnd put tEnd - tStart into tTotal5 --test 6 put the millisec into tStart repeat with tCounter = the number of lines of tData down to 1 put line tCounter of tData & cr after tData1 end repeat put the millisec into tEnd put tEnd - tStart into tTotal6 --test 7 put the millisec into tStart repeat with tCounter = 1 to the number of lines of tData put line tCounter of tData & cr before tData1 end repeat put the millisec into tEnd put tEnd - tStart into tTotal7 --test 8 put the millisec into tStart repeat with tCounter = 1 to the number of lines of tData delete line 1 of tData1 end repeat put the millisec into tEnd put tEnd - tStart into tTotal8 --test 9 put the millisec into tStart repeat for each line tLine in tData if NOT(tLIne contains 1) then put tLine & cr after tData1 end if end repeat put the millisec into tEnd put tEnd - tStart into tTotal9 --test 10 put the millisec into tStart repeat with tCounter = 1 to the number of lines of tData if NOT(line tCounter of tData contains 1) then put line tCounter of tData & cr after tData1 end if end repeat put the millisec into tEnd put tEnd - tStart into tTotal10 --test 11 put tData into tData1 put the millisec into tStart repeat with tCounter = the number of lines of tData down to 1 if NOT(line tCounter of tData contains 1) then delete line tCounter of tData1 end if end repeat put the millisec into tEnd put tEnd - tStart into tTotal11 put "**repeat for each**" & cr into msg put "put after = " & tTotal1 & " ms" & cr after msg put "delete line -1 = " & tTotal2 & " ms" & cr after msg put "put before = " & tTotal3 & " ms" & cr after msg put "delete line 1 = " & tTotal4 & " ms" & cr after msg put "**repeat with x = **" & cr after msg put "put after = " & tTotal5 & " ms" & cr after msg put "delete line -1 = " & tTotal6 & " ms" & cr after msg put "put before = " & tTotal7 & " ms" & cr after msg put "delete line 1 = " & tTotal8 & " ms" & cr after msg put "Create 90% - repeat for each = " & tTotal9 & " ms" & cr after msg put "Create 90% - repeat with x = " & tTotal10 & " ms" & cr after msg put "Delete 10% = " & tTotal11 & " ms" & cr after msg end mouseUp From lan.kc.macmail at gmail.com Wed Mar 24 20:52:13 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 25 Mar 2010 08:52:13 +0800 Subject: Deleting Data Woefully Slow In-Reply-To: References: Message-ID: Revised Benchmark Script below. I'd made a mistake copying and pasting, test 6 has been corrected, which further confirms that delete chunk -1 is woefully slow no matter if you use 'repeat for each' or 'repeat with x ='. Below are the test results I got on a MBP 2.16GHz, 2 GB RAM, OS X.6.2, Rev Studio 4.0.0 Build 950 5000 repeats **repeat for each** put after = 3 ms delete line -1 = 299 ms put before = 11 ms delete line 1 = 9 ms **repeat with x = ** put after = 180 ms delete line -1 = 326 ms put before = 173 ms delete line 1 = 10 ms Create 90% - repeat for each = 2 ms Create 90% - repeat with x = 372 ms Delete 10% = 340 ms 50000 repeats **repeat for each** put after = 19 ms delete line -1 = 35429 ms put before = 1011 ms delete line 1 = 925 ms **repeat with x = ** put after = 17746 ms delete line -1 = 35308 ms put before = 19343 ms delete line 1 = 930 ms Create 90% - repeat for each = 26 ms Create 90% - repeat with x = 33244 ms Delete 10% = 31719 ms The REVISED script I used: on mouseUp repeat 50000 times put random (9) & cr after tData end repeat --test 1 put the millisec into tStart repeat for each line tLine in tData put tLine & cr after tData1 end repeat put the millisec into tEnd put tEnd - tStart into tTotal1 --test 2 put the millisec into tStart repeat for each line tLine in tData delete line -1 of tData1 end repeat put the millisec into tEnd put tEnd - tStart into tTotal2 --test 3 put the millisec into tStart repeat for each line tLine in tData put tLine & cr before tData1 end repeat put the millisec into tEnd put tEnd - tStart into tTotal3 --test 4 put the millisec into tStart repeat for each line tLine in tData delete line 1 of tData1 end repeat put the millisec into tEnd put tEnd - tStart into tTotal4 --test 5 put the millisec into tStart repeat with tCounter = 1 to the number of lines of tData put line tCounter of tData & cr after tData1 end repeat put the millisec into tEnd put tEnd - tStart into tTotal5 --test 6 ***REVISED** put the millisec into tStart repeat with tCounter = 1 to the number of lines of tData delete line -1 of tData1 end repeat put the millisec into tEnd put tEnd - tStart into tTotal6 --test 7 put the millisec into tStart repeat with tCounter = 1 to the number of lines of tData put line tCounter of tData & cr before tData1 end repeat put the millisec into tEnd put tEnd - tStart into tTotal7 --test 8 put the millisec into tStart repeat with tCounter = 1 to the number of lines of tData delete line 1 of tData1 end repeat put the millisec into tEnd put tEnd - tStart into tTotal8 --test 9 put the millisec into tStart repeat for each line tLine in tData if NOT(tLIne contains 1) then put tLine & cr after tData1 end if end repeat put the millisec into tEnd put tEnd - tStart into tTotal9 --test 10 put the millisec into tStart repeat with tCounter = 1 to the number of lines of tData if NOT(line tCounter of tData contains 1) then put line tCounter of tData & cr after tData1 end if end repeat put the millisec into tEnd put tEnd - tStart into tTotal10 --test 11 put tData into tData1 put the millisec into tStart repeat with tCounter = the number of lines of tData down to 1 if NOT(line tCounter of tData contains 1) then delete line tCounter of tData1 end if end repeat put the millisec into tEnd put tEnd - tStart into tTotal11 put "**repeat for each**" & cr into msg put "put after = " & tTotal1 & " ms" & cr after msg put "delete line -1 = " & tTotal2 & " ms" & cr after msg put "put before = " & tTotal3 & " ms" & cr after msg put "delete line 1 = " & tTotal4 & " ms" & cr after msg put "**repeat with x = **" & cr after msg put "put after = " & tTotal5 & " ms" & cr after msg put "delete line -1 = " & tTotal6 & " ms" & cr after msg put "put before = " & tTotal7 & " ms" & cr after msg put "delete line 1 = " & tTotal8 & " ms" & cr after msg put "Create 90% - repeat for each = " & tTotal9 & " ms" & cr after msg put "Create 90% - repeat with x = " & tTotal10 & " ms" & cr after msg put "Delete 10% = " & tTotal11 & " ms" & cr after msg end mouseUp From mwieder at ahsoftware.net Wed Mar 24 21:10:46 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 24 Mar 2010 18:10:46 -0700 Subject: Deleting Data Woefully Slow In-Reply-To: References: Message-ID: <12241691781.20100324181046@ahsoftware.net> Kay- Wednesday, March 24, 2010, 5:52:13 PM, you wrote: > Revised Benchmark Script below. It's no surprise that "put after" is faster than "put before", since it avoids an extra copy action. I *am* surprised that it's *that* much faster, though, and I can confirm that on my systems it's roughly 20 times faster. And I'm more surprised that "delete line -1" is slower than "delete line 1" - I'd expect just the opposite. But again I can confirm here that deleting the first line of a variable is an order of magnitude faster than deleting the last line. I question whether your tests 10 and 11 really do what you think they do. Test 9 looks OK but otherwise I don't think it's a fair comparison. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Mar 24 21:12:15 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 24 Mar 2010 18:12:15 -0700 Subject: Deleting Data Woefully Slow In-Reply-To: <12241691781.20100324181046@ahsoftware.net> References: <12241691781.20100324181046@ahsoftware.net> Message-ID: <119241780656.20100324181215@ahsoftware.net> On rereading your test 9, I question that one as well. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Mar 24 21:51:28 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 24 Mar 2010 18:51:28 -0700 Subject: Deleting Data Woefully Slow In-Reply-To: <119241780656.20100324181215@ahsoftware.net> References: <12241691781.20100324181046@ahsoftware.net> <119241780656.20100324181215@ahsoftware.net> Message-ID: <130244133890.20100324185128@ahsoftware.net> And on reading the code yet another time, there's enough fuzzy stuff in there to make me discount most of it without rewriting. Nonetheless, the conclusions are fairly solid, and the fastest way to delete the last line of a variable turns out to be the surprising put empty into tData1 put 1 into x put the number of lines in tData into tHowMany repeat for each line tLine in tData put tLine & cr after tData1 add 1 to x if x is tHowMany then exit repeat end if end repeat -- -Mark Wieder mwieder at ahsoftware.net From briany at qldlearning.com Wed Mar 24 22:13:33 2010 From: briany at qldlearning.com (Brian Yennie) Date: Wed, 24 Mar 2010 19:13:33 -0700 Subject: Deleting Data Woefully Slow In-Reply-To: <130244133890.20100324185128@ahsoftware.net> References: <12241691781.20100324181046@ahsoftware.net> <119241780656.20100324181215@ahsoftware.net> <130244133890.20100324185128@ahsoftware.net> Message-ID: Mark, This seems highly data-dependent and contrary to logic to me. In my tests: put line 1 to -2 of tData into tData1 delete line -1 of tData delete last line of tData All perform about twice as fast as using "repeat for each". The first was about 10% faster than the next two, which makes sense as it would only be one seek and one copy. The in-place operations would require a seek, a copy, and resizing the original variable. Of course if you end up copying back to the original variable somewhere, it should be very close to the same. "repeat for each" is asking the engine to find every line ending in the text which would necessarily take much longer and get worse with scale, no? > And on reading the code yet another time, there's enough fuzzy stuff > in there to make me discount most of it without rewriting. > Nonetheless, the conclusions are fairly solid, and the fastest way to > delete the last line of a variable turns out to be the surprising > > put empty into tData1 > put 1 into x > put the number of lines in tData into tHowMany > repeat for each line tLine in tData > put tLine & cr after tData1 > add 1 to x > if x is tHowMany then > exit repeat > end if > end repeat > > -- > -Mark Wieder > mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Mar 24 22:36:22 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 24 Mar 2010 19:36:22 -0700 Subject: Deleting Data Woefully Slow In-Reply-To: References: <12241691781.20100324181046@ahsoftware.net> <119241780656.20100324181215@ahsoftware.net> <130244133890.20100324185128@ahsoftware.net> Message-ID: <161246827921.20100324193622@ahsoftware.net> Brian- Wednesday, March 24, 2010, 7:13:33 PM, you wrote: > "repeat for each" is asking the engine to find every line ending > in the text which would necessarily take much longer and get worse > with scale, no? Yes and no. "Repeat for each line" just needs to move to the next carriage return in the variable. I don't claim to be as smart as Scott Raney, but if I were writing the routine I'd do a seek to the next cr, then store the pointer for use in the next iteration. That way the speed shouldn't be data-dependent. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Mar 24 22:42:11 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 24 Mar 2010 19:42:11 -0700 Subject: Deleting Data Woefully Slow In-Reply-To: References: <12241691781.20100324181046@ahsoftware.net> <119241780656.20100324181215@ahsoftware.net> <130244133890.20100324185128@ahsoftware.net> Message-ID: <186247177187.20100324194211@ahsoftware.net> Brian- Wednesday, March 24, 2010, 7:13:33 PM, you wrote: > All perform about twice as fast as using "repeat for each". The > first was about 10% faster than the next two, which makes sense as > it would only be one seek and one copy. The in-place operations > would require a seek, a copy, and resizing the original variable. Of > course if you end up copying back to the original variable > somewhere, it should be very close to the same. Can you post your benchmark code? I'm currently seeing 5ms for the copy-in-place deletion function vs a bit over 100ms for "delete line -1" or "delete last line" for 5000 runs. -- -Mark Wieder mwieder at ahsoftware.net From lists at mangomultimedia.com Wed Mar 24 22:44:07 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 24 Mar 2010 22:44:07 -0400 Subject: passing setProp of a property set In-Reply-To: <1269475384319-1690007.post@n4.nabble.com> References: <1269463138590-1689638.post@n4.nabble.com> <64bda6471003241624w258d583avac8ec54bf1ef9275@mail.gmail.com> <1269475384319-1690007.post@n4.nabble.com> Message-ID: <4088A62C-D530-4E2F-8670-DEF768974783@mangomultimedia.com> On Mar 24, 2010, at 8:03 PM, Andrew Kluthe wrote: > Great! Object oriented programming with the speed of globals. Why > didn't I > think of this before! (specifically before I spent all day re- > writing an app > to put my data into 2 property sets of a button!) Just watch out when setting lockMessages to true. Your getprop/setprop handlers will not be called if lockMessages is true. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From mwieder at ahsoftware.net Wed Mar 24 22:49:17 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 24 Mar 2010 19:49:17 -0700 Subject: Deleting Data Woefully Slow In-Reply-To: <186247177187.20100324194211@ahsoftware.net> References: <12241691781.20100324181046@ahsoftware.net> <119241780656.20100324181215@ahsoftware.net> <130244133890.20100324185128@ahsoftware.net> <186247177187.20100324194211@ahsoftware.net> Message-ID: <153247603453.20100324194917@ahsoftware.net> Brian- Wednesday, March 24, 2010, 7:13:33 PM, I wrote: > Can you post your benchmark code? I'm currently seeing 5ms for the > copy-in-place deletion function vs a bit over 100ms for "delete line > -1" or "delete last line" for 5000 runs. Silly me. That's because I forgot to put the fast one in a loop. Never mind - I'm just going to ignore this whole thread. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Mar 24 22:54:47 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 24 Mar 2010 19:54:47 -0700 Subject: Virtual properties In-Reply-To: <33a43.355735eb.38dbea3e@aol.com> References: <33a43.355735eb.38dbea3e@aol.com> Message-ID: <194247932812.20100324195447@ahsoftware.net> Craig- Wednesday, March 24, 2010, 3:20:46 PM, you wrote: > Is it true then, that "set" commands and commands that retrieve custom > properties are always intercepted by "setprop" and "getProp"? And these will not > pass to the engine unless you let them? Is this the single, or at least the > most important instance where it is possible to intercept commands? Rev, > unlike HC, does not normally allow this to happen to reserved words. Here, you > can, and it seems appropriate. Before you get too excited, you still can't use getProp and setProp handlers to intercept properties that aren't custom properties. You can't, for example say setProp width -- -Mark Wieder mwieder at ahsoftware.net From lan.kc.macmail at gmail.com Wed Mar 24 23:59:18 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 25 Mar 2010 11:59:18 +0800 Subject: Deleting Data Woefully Slow In-Reply-To: <153247603453.20100324194917@ahsoftware.net> References: <12241691781.20100324181046@ahsoftware.net> <119241780656.20100324181215@ahsoftware.net> <130244133890.20100324185128@ahsoftware.net> <186247177187.20100324194211@ahsoftware.net> <153247603453.20100324194917@ahsoftware.net> Message-ID: Mark and Brian, Thanks for your comments. Mark you are absolutely right about tests 9, 10 and 11 - it's the problem of taking my real life situation and simplifying for the List. I've revised the script and this time TESTED the output to confirm the last 3 create identical data. No change, it's still quicker to take a HUGE set of data and recreate a slightly smaller version of it, than it is to just delete a small amount from it - although it only applies if you can use 'repeat for each' to create your new data. Brian, whilst put line 1 to -2 might be OK if all you want to do is delete the last line, and I accept I used it in my 'simple' examples, the last three Tests are more real life, where the line to delete is imbedded 'somewhere' in the data. Interestingly though you again prove the point that 'putting data' in Rev is much faster than 'delete' data. REVISED test results I got on a MBP 2.16GHz, 2 GB RAM, OS X.6.2, Rev Studio 4.0.0 Build 950 **repeat for each** put after = 2 ms delete line -1 = 327 ms put before = 10 ms delete line 1 = 9 ms **repeat with x = ** put after = 158 ms delete line -1 = 322 ms put before = 196 ms delete line 1 = 10 ms Create 90% - repeat for each = 2 ms Create 90% - repeat with x = 288 ms Delete 10% = 199 ms 50000 repeats **repeat for each** put after = 19 ms delete line -1 = 35491 ms put before = 951 ms delete line 1 = 934 ms **repeat with x = ** put after = 18528 ms delete line -1 = 35208 ms put before = 18872 ms delete line 1 = 929 ms Create 90% - repeat for each = 26 ms Create 90% - repeat with x = 33341 ms Delete 10% = 19790 ms The REVISION 3 script I used: on mouseUp repeat 50000 times put random (9) & cr after tData end repeat --test 1 put the millisec into tStart repeat for each line tLine in tData put tLine & cr after tData1 end repeat put the millisec into tEnd put tEnd - tStart into tTotal1 --test 2 put the millisec into tStart repeat for each line tLine in tData delete line -1 of tData1 end repeat put the millisec into tEnd put tEnd - tStart into tTotal2 --test 3 put the millisec into tStart repeat for each line tLine in tData put tLine & cr before tData1 end repeat put the millisec into tEnd put tEnd - tStart into tTotal3 --test 4 put the millisec into tStart repeat for each line tLine in tData delete line 1 of tData1 end repeat put the millisec into tEnd put tEnd - tStart into tTotal4 --test 5 put the millisec into tStart repeat with tCounter = 1 to the number of lines of tData put line tCounter of tData & cr after tData1 end repeat put the millisec into tEnd put tEnd - tStart into tTotal5 --test 6 ***REVISED*** put the millisec into tStart repeat with tCounter = 1 to the number of lines of tData delete line -1 of tData1 end repeat put the millisec into tEnd put tEnd - tStart into tTotal6 --test 7 put the millisec into tStart repeat with tCounter = 1 to the number of lines of tData put line tCounter of tData & cr before tData1 end repeat put the millisec into tEnd put tEnd - tStart into tTotal7 --test 8 put the millisec into tStart repeat with tCounter = 1 to the number of lines of tData delete line 1 of tData1 end repeat put the millisec into tEnd put tEnd - tStart into tTotal8 --test 9 ***REVISED*** put the millisec into tStart repeat for each line tLine in tData if NOT(tLIne contains 1) then put tLine & cr after tData1 end if end repeat put the millisec into tEnd put tEnd - tStart into tTotal9 --test 10 ***REVISED*** put the millisec into tStart repeat with tCounter = 1 to the number of lines of tData if NOT(line tCounter of tData contains 1) then put line tCounter of tData & cr after tData2 end if end repeat put the millisec into tEnd put tEnd - tStart into tTotal10 --test 11 ***REVISED*** put tData into tData3 put the millisec into tStart repeat with tCounter = the number of lines of tData down to 1 if (line tCounter of tData contains 1) then delete line tCounter of tData3 end if end repeat put the millisec into tEnd put tEnd - tStart into tTotal11 put "**repeat for each**" & cr into msg put "put after = " & tTotal1 & " ms" & cr after msg put "delete line -1 = " & tTotal2 & " ms" & cr after msg put "put before = " & tTotal3 & " ms" & cr after msg put "delete line 1 = " & tTotal4 & " ms" & cr after msg put "**repeat with x = **" & cr after msg put "put after = " & tTotal5 & " ms" & cr after msg put "delete line -1 = " & tTotal6 & " ms" & cr after msg put "put before = " & tTotal7 & " ms" & cr after msg put "delete line 1 = " & tTotal8 & " ms" & cr after msg put "Create 90% - repeat for each = " & tTotal9 & " ms" & cr after msg put "Create 90% - repeat with x = " & tTotal10 & " ms" & cr after msg put "Delete 10% = " & tTotal11 & " ms" & cr after msg end mouseUp From mwieder at ahsoftware.net Thu Mar 25 00:33:32 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 24 Mar 2010 21:33:32 -0700 Subject: Deleting Data Woefully Slow In-Reply-To: References: <12241691781.20100324181046@ahsoftware.net> <119241780656.20100324181215@ahsoftware.net> <130244133890.20100324185128@ahsoftware.net> <186247177187.20100324194211@ahsoftware.net> <153247603453.20100324194917@ahsoftware.net> Message-ID: <109253858546.20100324213332@ahsoftware.net> Kay- Wednesday, March 24, 2010, 8:59:18 PM, you wrote: > Mark and Brian, > Thanks for your comments. > Mark you are absolutely right about tests 9, 10 and 11 - it's the problem of > taking my real life situation and simplifying for the List. I've revised the > script and this time TESTED the output to confirm the last 3 create > identical data. I'm actually more concerned that tests 9, 10, and 11 all rely on the *content* of lines containing random data. I think you should be using the line number mod 10 rather than the line content to provide any meaningful statistics. There's no way you can fill random numbers into lines of a variable and expect with any certainty that the number "1" will appear in 10% of the lines. Also, in tests 9, 10, and 11 you should empty the variable before adding more data to it in order to provide better comparisons. Otherwise the variable will be continuing to increase and scaling will throw off the values. Test 9 isn't quite a fair comparison (or is, depending on your point of view): if you want to prove that "repeat for each" is faster than "repeat with" it's fine (there's about a tenfold speed increase). But if you're really looking to compare the various "put before" and "put after"s then you need a bit more code to slow the "repeat for each" loop down by making it do the same string copy that the others do. One reason the "for each" form is faster is because it's already got the line in a buffer without having to go out and retrieve it again. put 1 into x repeat for each line tLine in tData if NOT(tLIne contains 1) then put line x of tData & cr after tData1 end if add 1 to x end repeat If you do that you'll see that tests 9 and 10 run at the same speed. -- -Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION2 at barncard.com Thu Mar 25 01:07:35 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 24 Mar 2010 22:07:35 -0700 Subject: returning from custom dialog In-Reply-To: <4BA7E18A.6030308@hyperactivesw.com> References: <1269277844495-1677953.post@n4.nabble.com> <4BA7AF27.9010305@hyperactivesw.com> <4BA7E18A.6030308@hyperactivesw.com> Message-ID: (back from a couple of days of travel and illin') Not seen this? Dang it. I'll just keep messing with it. Thanks for your help on this Jacque. I'll post this stack later. It demonstrates a quick method of creating and customizing a list dialog and implementing it. On 22 March 2010 14:30, J. Landman Gay wrote: > stephen barncard wrote: > >> non - IDE dialogs have always required extra clicks (for me) >> with the click at 1,1 it seems to work better. Still not perfect. >> >> here's the significant code: >> > > Have you tried something simpler, like just passing "hi" instead of an > array? Zygodact uses a custom modal stack and passes dialogdata without any > problem or requiring any extra clicks. But it doesn't use arrays, just text > strings. It doesn't use "as sheet" either, though I'm not sure why that > would make a difference. Start simple and then add things until you see what > messes it up. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard Back home in SF From briany at qldlearning.com Thu Mar 25 01:24:40 2010 From: briany at qldlearning.com (Brian Yennie) Date: Wed, 24 Mar 2010 22:24:40 -0700 Subject: Deleting Data Woefully Slow In-Reply-To: References: <12241691781.20100324181046@ahsoftware.net> <119241780656.20100324181215@ahsoftware.net> <130244133890.20100324185128@ahsoftware.net> <186247177187.20100324194211@ahsoftware.net> <153247603453.20100324194917@ahsoftware.net> Message-ID: <38032BE2-7910-4C80-9273-09D406972FFF@qldlearning.com> Testing semantics aside, I definitely agree with your conclusions. Repeat for each performs awfully well for text operations if you can encapsulate your logic in a single pass. One additional method to consider... have you tried using split / combine to turn the data into an array, something like (pseudo-code): split myData ... delete myData[5] delete myData[9] ... combine myData I have a feeling the overhead of doing both a split and combine will still lose most times versus "repeat for each", but haven't tried it myself. > Mark and Brian, > > Thanks for your comments. > > Mark you are absolutely right about tests 9, 10 and 11 - it's the problem of > taking my real life situation and simplifying for the List. I've revised the > script and this time TESTED the output to confirm the last 3 create > identical data. > > No change, it's still quicker to take a HUGE set of data and recreate a > slightly smaller version of it, than it is to just delete a small amount > from it - although it only applies if you can use 'repeat for each' to > create your new data. > > Brian, whilst put line 1 to -2 might be OK if all you want to do is delete > the last line, and I accept I used it in my 'simple' examples, the last > three Tests are more real life, where the line to delete is imbedded > 'somewhere' in the data. Interestingly though you again prove the point that > 'putting data' in Rev is much faster than 'delete' data. > > REVISED test results I got on a MBP 2.16GHz, 2 GB RAM, OS X.6.2, Rev Studio > 4.0.0 Build 950 > > **repeat for each** > put after = 2 ms > delete line -1 = 327 ms > put before = 10 ms > delete line 1 = 9 ms > **repeat with x = ** > put after = 158 ms > delete line -1 = 322 ms > put before = 196 ms > delete line 1 = 10 ms > Create 90% - repeat for each = 2 ms > Create 90% - repeat with x = 288 ms > Delete 10% = 199 ms > > 50000 repeats > **repeat for each** > put after = 19 ms > delete line -1 = 35491 ms > put before = 951 ms > delete line 1 = 934 ms > **repeat with x = ** > put after = 18528 ms > delete line -1 = 35208 ms > put before = 18872 ms > delete line 1 = 929 ms > Create 90% - repeat for each = 26 ms > Create 90% - repeat with x = 33341 ms > Delete 10% = 19790 ms > > The REVISION 3 script I used: > > on mouseUp > repeat 50000 times > put random (9) & cr after tData > end repeat > --test 1 > put the millisec into tStart > repeat for each line tLine in tData > put tLine & cr after tData1 > end repeat > put the millisec into tEnd > put tEnd - tStart into tTotal1 > --test 2 > put the millisec into tStart > repeat for each line tLine in tData > delete line -1 of tData1 > end repeat > put the millisec into tEnd > put tEnd - tStart into tTotal2 > --test 3 > put the millisec into tStart > repeat for each line tLine in tData > put tLine & cr before tData1 > end repeat > put the millisec into tEnd > put tEnd - tStart into tTotal3 > --test 4 > put the millisec into tStart > repeat for each line tLine in tData > delete line 1 of tData1 > end repeat > put the millisec into tEnd > put tEnd - tStart into tTotal4 > --test 5 > put the millisec into tStart > repeat with tCounter = 1 to the number of lines of tData > put line tCounter of tData & cr after tData1 > end repeat > put the millisec into tEnd > put tEnd - tStart into tTotal5 > --test 6 ***REVISED*** > put the millisec into tStart > repeat with tCounter = 1 to the number of lines of tData > delete line -1 of tData1 > end repeat > put the millisec into tEnd > put tEnd - tStart into tTotal6 > --test 7 > put the millisec into tStart > repeat with tCounter = 1 to the number of lines of tData > put line tCounter of tData & cr before tData1 > end repeat > put the millisec into tEnd > put tEnd - tStart into tTotal7 > --test 8 > put the millisec into tStart > repeat with tCounter = 1 to the number of lines of tData > delete line 1 of tData1 > end repeat > put the millisec into tEnd > put tEnd - tStart into tTotal8 > --test 9 ***REVISED*** > put the millisec into tStart > repeat for each line tLine in tData > if NOT(tLIne contains 1) then > put tLine & cr after tData1 > end if > end repeat > put the millisec into tEnd > put tEnd - tStart into tTotal9 > --test 10 ***REVISED*** > put the millisec into tStart > repeat with tCounter = 1 to the number of lines of tData > if NOT(line tCounter of tData contains 1) then > put line tCounter of tData & cr after tData2 > end if > end repeat > put the millisec into tEnd > put tEnd - tStart into tTotal10 > --test 11 ***REVISED*** > put tData into tData3 > put the millisec into tStart > repeat with tCounter = the number of lines of tData down to 1 > if (line tCounter of tData contains 1) then > delete line tCounter of tData3 > end if > end repeat > put the millisec into tEnd > put tEnd - tStart into tTotal11 > > put "**repeat for each**" & cr into msg > put "put after = " & tTotal1 & " ms" & cr after msg > put "delete line -1 = " & tTotal2 & " ms" & cr after msg > put "put before = " & tTotal3 & " ms" & cr after msg > put "delete line 1 = " & tTotal4 & " ms" & cr after msg > put "**repeat with x = **" & cr after msg > put "put after = " & tTotal5 & " ms" & cr after msg > put "delete line -1 = " & tTotal6 & " ms" & cr after msg > put "put before = " & tTotal7 & " ms" & cr after msg > put "delete line 1 = " & tTotal8 & " ms" & cr after msg > put "Create 90% - repeat for each = " & tTotal9 & " ms" & cr after msg > put "Create 90% - repeat with x = " & tTotal10 & " ms" & cr after msg > put "Delete 10% = " & tTotal11 & " ms" & cr after msg > end mouseUp From lan.kc.macmail at gmail.com Thu Mar 25 02:01:15 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 25 Mar 2010 14:01:15 +0800 Subject: Deleting Data Woefully Slow In-Reply-To: <109253858546.20100324213332@ahsoftware.net> References: <12241691781.20100324181046@ahsoftware.net> <119241780656.20100324181215@ahsoftware.net> <130244133890.20100324185128@ahsoftware.net> <186247177187.20100324194211@ahsoftware.net> <153247603453.20100324194917@ahsoftware.net> <109253858546.20100324213332@ahsoftware.net> Message-ID: On Thu, Mar 25, 2010 at 12:33 PM, Mark Wieder wrote: > > I'm actually more concerned that tests 9, 10, and 11 all rely on the > *content* of lines containing random data. I think you should be using > the line number mod 10 rather than the line content to provide any > meaningful statistics. There's no way you can fill random numbers into > lines of a variable and expect with any certainty that the number "1" > will appear in 10% of the lines. > > If the numbers were remotely close, ie if I wanted to prove it was faster to create 99% than delete 1%, then yes, I totally agree, but the variation in my random 10% is insignificant compared to the slowness of using 'delete line x', especially on really large data sets. > Also, in tests 9, 10, and 11 you should empty the variable before > adding more data to it in order to provide better comparisons. > Otherwise the variable will be continuing to increase and scaling will > throw off the values. > > tData never changes. tData1 is empty from Test 8so should not effect Test 9. tData2 is created at Test 10 so is empty to start with, same for tData3 and Test 11. tLine in Test9 will initially be a single digit, only to be replaced with a single digit. tCounter will be the number 1 at the start of Test 10 - the exact number that's about to be put into it, whilst at the start of Test 11 tCounter will be 5000 (or 50000) again the exact number that's about to be put into it. Yes I could empty these but I don't see they match your statement 'the variable will be continuing to increase'? Memory, now that's another issue, and maybe I should empty the variables prior to the next test, but this is how I got here in the first place. I thought Rev was struggling with the HUGE data sets I was using and thought it would help if I deleted lines in a variable that I knew were invalid, what I've discovered though is the exact opposite, Rev will happily create a 117 MB variable, in addition to the 130 MB variable it already is dealing with, but struggle to whittle a single 130 MB variable down to 117 MB. And just to prove the point, I moved Test 9 to the very end, after all the other variables were full, so it was supposedly handicapped, and got for 50000 repeats: Create 90% - repeat for each = 26 ms --Test 9 run last Create 90% - repeat with x = 33191 ms Delete 10% = 19848 ms absolutely no change for Test 9. > Test 9 isn't quite a fair comparison (or is, depending on your point > of view): if you want to prove that "repeat for each" is faster than > "repeat with" it's fine (there's about a tenfold speed increase). > What I'm after is the fastest way to take a HUGE amount of data and reduce it by roughly 5-10%. The repeat for each code I supplied seems to do that, if anyone has any other code that is faster PLEASE provide. As I said at the beginning of this thread I'm dealing with two nested repeat loops each dealing with 1.4 million cycles!! Having something tenfold slower is NOT what I'm after but is what I was seeing because I was using delete. From mwieder at ahsoftware.net Thu Mar 25 02:18:43 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 24 Mar 2010 23:18:43 -0700 Subject: Deleting Data Woefully Slow In-Reply-To: References: <12241691781.20100324181046@ahsoftware.net> <119241780656.20100324181215@ahsoftware.net> <130244133890.20100324185128@ahsoftware.net> <186247177187.20100324194211@ahsoftware.net> <153247603453.20100324194917@ahsoftware.net> <109253858546.20100324213332@ahsoftware.net> Message-ID: <13260169109.20100324231843@ahsoftware.net> Kay- Wednesday, March 24, 2010, 11:01:15 PM, you wrote: > If the numbers were remotely close, ie if I wanted to prove it was faster to > create 99% than delete 1%, then yes, I totally agree, but the variation in > my random 10% is insignificant compared to the slowness of using 'delete > line x', especially on really large data sets. This is getting a bit off topic, but you can't prove the above. If you used a counter instead of a random number, I'd say you were accurate. But you're deliberately calling the random number generator, which has a finite chance of returning all ones. > Yes I could empty these but I don't see they match your statement 'the > variable will be continuing to increase'? Memory, now that's another issue, that's because I missed the fact that your revised code uses different variables for the three tests... > What I'm after is the fastest way to take a HUGE amount of data and reduce > it by roughly 5-10%. The repeat for each code I supplied seems to do that, > if anyone has any other code that is faster PLEASE provide. As I said at the > beginning of this thread I'm dealing with two nested repeat loops each > dealing with 1.4 million cycles!! Having something tenfold slower is NOT > what I'm after but is what I was seeing because I was using delete. Is it possible to refactor your code to use something other than nested repeat loops? My guess from what you've posted so far is that there isn't, but I'm grasping at straws... I don't know what you're aiming at for an end result - could a filter command help out? -- -Mark Wieder mwieder at ahsoftware.net From lan.kc.macmail at gmail.com Thu Mar 25 03:51:44 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 25 Mar 2010 15:51:44 +0800 Subject: Deleting Data Woefully Slow In-Reply-To: <13260169109.20100324231843@ahsoftware.net> References: <119241780656.20100324181215@ahsoftware.net> <130244133890.20100324185128@ahsoftware.net> <186247177187.20100324194211@ahsoftware.net> <153247603453.20100324194917@ahsoftware.net> <109253858546.20100324213332@ahsoftware.net> <13260169109.20100324231843@ahsoftware.net> Message-ID: On Thu, Mar 25, 2010 at 2:18 PM, Mark Wieder wrote: > > This is getting a bit off topic, but you can't prove the above. If you > used a counter instead of a random number, I'd say you were accurate. > But you're deliberately calling the random number generator, which has > a finite chance of returning all ones. > > Actually were both a bit off topic as we're focusing on the wrong thing. This simply comes down to the speed 'repeat for each' goes through every line vs 'repeat with x ='. It actually matters very little if there is 1 hit in a million or 999999, there is still a million tests carried out and repeat for each will always do it faster than repeat with x =... I know because I just did a test, See below. Basically putting data is way faster than deleting no matter what the ratio. > Is it possible to refactor your code to use something other than > nested repeat loops? My guess from what you've posted so far is that > there isn't, but I'm grasping at straws... I don't know what you're > aiming at for an end result - could a filter command help out? > > > The problem with filter is I'm working with blocks of lines of data and whilst filter will catch the front line, it wont pick up the following lines that also need to be deleted. :-(( But something Brian wrote has got me thinking and testing. Instead of 'delete lines 12345 to 12347...' I'm looking at put Lines 1 to 12344... & cr & lines 12348 to -1.... ' Fingers crossed. 10000 repeats Create 0.1% - repeat with x = 784 ms Delete 99.9% - delete line x = 1482 ms Create 0.1% - repeat for each = 2 ms 10000 repeats Create 99.9% - repeat with x = 1465 ms Delete 0.1% - delete line x = 732 ms Create 99.9% - repeat for each = 5 ms on mouseUp put 10 into tHowMany put tHowMany * 1000 into tRepeats repeat tHowMany times repeat with x = 1 to 999 put 1 & cr after tData end repeat put "a" & cr after tData end repeat --Simply change contains "a" to contains "1" --to test the Create 0.1%, delete 99.9% --in the tests below --Test 1 put the millisec into tStart repeat with tCounter = 1 to the number of lines of tData if NOT(line tCounter of tData contains "a") then put line tCounter of tData & cr after tData1 end if end repeat put the millisec into tEnd put tEnd - tStart into tTotal1 put empty into tCounter put tData into tData1 --Test 2 put the millisec into tStart repeat with tCounter = the number of lines of tData down to 1 if (line tCounter of tData contains "a") then delete line tCounter of tData1 end if end repeat put the millisec into tEnd put tEnd - tStart into tTotal2 put empty into tCounter put empty into tData1 --Test 3 put the millisec into tStart repeat for each line tLine in tData if NOT(tLIne contains "a") then put tLine & cr after tData1 end if end repeat put the millisec into tEnd put tEnd - tStart into tTotal3 put tRepeats & " repeats" & cr into msg put "Create 99.9% - repeat with x = " & tTotal1 & " ms" & cr after msg put "Delete 0.1% - delete line x = " & tTotal2 & " ms" & cr after msg put "Create 99.9% - repeat for each = " & tTotal3 & " ms" & cr after msg end mouseUp From lan.kc.macmail at gmail.com Thu Mar 25 06:20:41 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 25 Mar 2010 18:20:41 +0800 Subject: Deleting Data Woefully Slow In-Reply-To: References: <130244133890.20100324185128@ahsoftware.net> <186247177187.20100324194211@ahsoftware.net> <153247603453.20100324194917@ahsoftware.net> <109253858546.20100324213332@ahsoftware.net> <13260169109.20100324231843@ahsoftware.net> Message-ID: On Thu, Mar 25, 2010 at 3:51 PM, Kay C Lan wrote: > > But something Brian wrote has got me thinking and testing. Instead of > 'delete lines 12345 to 12347...' I'm looking at put Lines 1 to 12344... & cr > & lines 12348 to -1.... ' Fingers crossed. > \ > Not that fruitful, still slow. Test 1 uses 'delete lines x to (x+2) of tData1 Test 2 uses ' put line 1 to (x-1) of tData2 & cr & line (x+3) to -1 of tData2 into tData2. Test 3 uses a simple repeat with x = and then skips lines. Test 4 is the 'repeat for each' that more closely resembles what I'm actually using to skip lines. Even with the switch statement it is still significantly faster to recreate 99.9% of your data than to delete 0.1% If anyone thinks they can delete data faster than my Test 4 I'd sure appreciate some pointers :-) MBP 2.16GHz, 2 GB RAM, OS x.6.2, Rev Studio 4.0.0 Build 950 Removing 0.1% of data in 50000 Lines In a 50000 repeat loop Delete line x to x+2 = 11478 ms put line 1 to (x-2) = 11595 ms repeat with x...skip lines = 23010 ms repeat for each = 37 ms --create 99.9% on mouseup put 50 into tHowMany put tHowMany * 1000 into tRepeats --because Mark Wieder doesn't like random;-) repeat tHowMany times put "a" & cr after tData repeat with x = 1 to 999 put x & cr after tData end repeat end repeat put tData into tData1 --test 1 put the millisec into tStart repeat with x = the number of lines of tData down to 1 if (line x tData contains "a") then delete line x to (x+2) of tData1 end if end repeat put word 1 to -1 of tData1 into tData1 put the millisec into tEnd put tEnd - tStart into tTotal1 put tData into tData2 --test 2 put the millisec into tStart repeat with x = the number of lines of tData down to 1 if (line x tData contains "a") then put line 1 to (x-1) of tData2 & cr & line (x+3) to -1 of tData2 into tData2 end if end repeat put word 1 to -1 of tData2 into tData2 put the millisec into tEnd put tEnd - tStart into tTotal2 if (tData1 <> tData2) then answer "Error" breakpoint end if --test 3 put the millisec into tStart repeat with x = 1 to the number of lines of tData if (line x tData contains "a") then put x + 2 into x else put line x of tData & cr after tData3 end if end repeat put word 1 to -1 of tData3 into tData3 put the millisec into tEnd put tEnd - tStart into tTotal3 if (tData1 <> tData2) or (tData1 <> tData3) then answer "Error" breakpoint end if --test 4 put 3 into tSkip put the millisec into tStart repeat for each line tLine in tData switch case (tSkip < 3) put tSkip +1 into tSkip break case (tLine contains "a") put 1 into tSkip break default put tLine & cr after tData4 end switch end repeat put word 1 to -1 of tData4 into tData4 put the millisec into tEnd put tEnd - tStart into tTotal4 if (tData1 <> tData2) or (tData1 <> tData3) or (tData1 <> tData4) then answer "Error" breakpoint end if put "Removing 0.1% of data in " & tRepeats & " Lines" & cr into msg put "In a " & tRepeats & " repeat loop" & cr after msg put "Delete line x to x+2 = " & tTotal1 & " ms" & cr after msg put "put line 1 to (x-2) = " & tTotal2 & " ms" & cr after msg put "repeat with x...skip lines = " & tTotal3 & " ms" & cr after msg put "repeat for each = " & tTotal4 & " ms" after msg end mouseup From Markus.Minihold at gmx.at Thu Mar 25 07:35:30 2010 From: Markus.Minihold at gmx.at (Markus Minihold) Date: Thu, 25 Mar 2010 12:35:30 +0100 Subject: Linux - Check for Updates broken Message-ID: <6FC96701-2F54-4721-8FAB-A7F1B77C4C9F@gmx.at> Hi all, I'm currently using revEnterprise on Linux 4.0.0-GM1 with an active license which will end in 2011 and want to upgrade to the 4.5.0-DP3, which is offered through the "Check for Updates" menu item. What happens is that the dialog box is shown for downloading (as on MacOSX or Windows) but clicking on "Update Now" doesn't start the update procedure as expected rather it will start a browser window and directs me to the www.runrev.com/downloads/all=downloads/full-list page. Has anyone else seen this behaviour? How can I upgrade otherwise? Is there an ftp download possibility? Cheers, Markus From ambassador at fourthworld.com Thu Mar 25 08:08:37 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Mar 2010 05:08:37 -0700 Subject: Deleting Data Woefully Slow Message-ID: <4BAB5245.4030507@fourthworld.com> Kay C Lan wrote: > What I'm after is the fastest way to take a HUGE amount of data and reduce > it by roughly 5-10%. The repeat for each code I supplied seems to do that, > if anyone has any other code that is faster PLEASE provide. First, I must say how delighted I am to find others fixating on performance nuances. :) This discussion has been an enjoyable read for me, and hopefully others as well, as we learn the ways various syntax options affect what the engine's doing under the hood. Fun stuff, and very useful. FWIW, my own tests with various data over the years reflects your experience, and Raney's description: "repeat for each" is much faster than "repeat with" or anything involving "get line x" because the line counting and the parsing out of the line value happens only one per iteration. Moreover, Raney once noted that he took the time to optimize "put...after..." specifically for cases like yours, so it could be used in conjunction with "repeat for each" to build a subset of data. Split/combine require a lot of overhead, since under the hood they're effectively calling a form of "repeat for each" to set up the array values, with the additional overhead of creating the hash table as it goes. Useful as they are, for your purposes I'd be surprised if translating the list to an array was less than 15% slower. Using "filter" works well in many cases, but as noted elsewhere RegEx is a complex and highly generalized subsystem, designed to optimize programmer efficiency at the expense of runtime efficiency. So while it can be handy to reduce complex filtering to a single line of code, it rarely outperforms "repeat for each". In short, I think you're on the right track. Traversing more than a million lines will always be time-intensive, but at least using "repeat for each" with "put...after..." you can reduce that as reasonably as one can expect. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From DunbarX at aol.com Thu Mar 25 09:01:04 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 25 Mar 2010 09:01:04 EDT Subject: Virtual properties Message-ID: <54115.25061e5f.38dcb890@aol.com> Mark. I know. I was strictly referring to custom props. Craig In a message dated 3/24/10 10:54:56 PM, mwieder at ahsoftware.net writes: > Before you get too excited, you still can't use getProp and setProp > handlers to intercept properties that aren't custom properties. You > can't, for example say > > setProp width > From bdrunrev at gmail.com Thu Mar 25 09:43:26 2010 From: bdrunrev at gmail.com (Bernard Devlin) Date: Thu, 25 Mar 2010 13:43:26 +0000 Subject: Linux - Check for Updates broken In-Reply-To: <6FC96701-2F54-4721-8FAB-A7F1B77C4C9F@gmx.at> References: <6FC96701-2F54-4721-8FAB-A7F1B77C4C9F@gmx.at> Message-ID: Hi Markus, I reported this was broken more than 18 months ago. It is still marked as an "unconfirmed" bug: http://quality.runrev.com/qacenter/show_bug.cgi?id=7174 Your report of what happens does not fit with what I remember happening. But in any case, it has certainly been known as a bug on linux for some time. Regards Bernard On Thu, Mar 25, 2010 at 11:35 AM, Markus Minihold wrote: > Hi all, > > I'm currently using revEnterprise on Linux 4.0.0-GM1 with an active license which will end in 2011 and want to upgrade to the 4.5.0-DP3, which is offered through the "Check for Updates" menu item. What happens is that the dialog box is shown for downloading (as on MacOSX or Windows) but clicking on "Update Now" ?doesn't start the update procedure as expected rather it will start a browser window and directs me to the www.runrev.com/downloads/all=downloads/full-list page. > Has anyone else seen this behaviour? > How can I upgrade otherwise? Is there an ftp download possibility? > > Cheers, > Markus From bdrunrev at gmail.com Thu Mar 25 09:48:01 2010 From: bdrunrev at gmail.com (Bernard Devlin) Date: Thu, 25 Mar 2010 13:48:01 +0000 Subject: scripting applescript menu-clicking questions Message-ID: Hi all, I am having trouble with getting applescript to click on menu choices in Safari (there is nothing in the dictionary for what I'm trying to do). Does anyone have any suggestions for how to handle these things? Secondly, will Safari be able to do these actions in the background? I mean, in the script I'm currently working on, Safari is told to "activate", then everything else happens. Can I script menu actions/button clicks without Safari becoming visible? Finally, assuming that all of this is possible, is there a version of Applescript/OS X before which such things would not be possible? Thanks, Bernard From klaus at major.on-rev.com Thu Mar 25 10:22:44 2010 From: klaus at major.on-rev.com (Klaus Major) Date: Thu, 25 Mar 2010 15:22:44 +0100 Subject: Old CGI engine and POST Message-ID: <99E29ABF-4280-4842-ABC6-F493FCD481E9@major.on-rev.com> Hi all, maybe someone happens know this? We are using an old Rev engine as a CGI engine on our server. Is it possible to "POST" something to an url with this old CGI engine? Know what I mean? I do not have the chance to test this in the moment. Thanks for all answers :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bvg at mac.com Thu Mar 25 10:28:45 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 25 Mar 2010 15:28:45 +0100 Subject: Old CGI engine and POST In-Reply-To: <99E29ABF-4280-4842-ABC6-F493FCD481E9@major.on-rev.com> References: <99E29ABF-4280-4842-ABC6-F493FCD481E9@major.on-rev.com> Message-ID: <9864AD52-C331-4E68-BC54-9D9ED58E08CA@mac.com> should work, but you need to load liburl yourself, as it's (for obvious reasons) not included directly in the engine. Note that some colocation and shared servers will not allow any outgoing sockets. On 25 Mar 2010, at 15:22, Klaus Major wrote: > Hi all, > > maybe someone happens know this? > > We are using an old Rev engine as a CGI engine on our server. > Is it possible to "POST" something to an url with this old CGI engine? > Know what I mean? > > I do not have the chance to test this in the moment. > > Thanks for all answers :-) > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major.on-rev.com Thu Mar 25 10:33:47 2010 From: klaus at major.on-rev.com (Klaus Major) Date: Thu, 25 Mar 2010 15:33:47 +0100 Subject: Old CGI engine and POST In-Reply-To: <9864AD52-C331-4E68-BC54-9D9ED58E08CA@mac.com> References: <99E29ABF-4280-4842-ABC6-F493FCD481E9@major.on-rev.com> <9864AD52-C331-4E68-BC54-9D9ED58E08CA@mac.com> Message-ID: Hi Bj?rnke, > should work, but you need to load liburl yourself, as it's (for obvious reasons) not included directly in the engine. Note that some colocation and shared servers will not allow any outgoing sockets. thanks for the fast answer! Since this is our server, there won't be any problems I think, we'll check this :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From briany at qldlearning.com Thu Mar 25 10:35:23 2010 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 25 Mar 2010 07:35:23 -0700 Subject: Deleting Data Woefully Slow In-Reply-To: References: <130244133890.20100324185128@ahsoftware.net> <186247177187.20100324194211@ahsoftware.net> <153247603453.20100324194917@ahsoftware.net> <109253858546.20100324213332@ahsoftware.net> <13260169109.20100324231843@ahsoftware.net> Message-ID: I'd be surprised if you could do much better. A tad maybe, somehow, but I don't think there is another hidden Rev function that will work any further magic. If you need to make another major speed jump, I'm afraid you would need to look at your data itself -- can you index it, can you operate on a subset at a time, is it time for a database / new data structure, etc. Reading text line by line is eventually going to hit a wall, and algorithmically can only scale one way (and that's proportional to the amount of data). I realize it's not always practical to rework things at that level. > On Thu, Mar 25, 2010 at 3:51 PM, Kay C Lan wrote: > >> >> But something Brian wrote has got me thinking and testing. Instead of >> 'delete lines 12345 to 12347...' I'm looking at put Lines 1 to 12344... & cr >> & lines 12348 to -1.... ' Fingers crossed. >> \ >> > Not that fruitful, still slow. > > Test 1 uses 'delete lines x to (x+2) of tData1 > > Test 2 uses ' put line 1 to (x-1) of tData2 & cr & line (x+3) to -1 of > tData2 into tData2. > > Test 3 uses a simple repeat with x = and then skips lines. > > Test 4 is the 'repeat for each' that more closely resembles what I'm > actually using to skip lines. Even with the switch statement it is still > significantly faster to recreate 99.9% of your data than to delete 0.1% > > If anyone thinks they can delete data faster than my Test 4 I'd sure > appreciate some pointers :-) > > MBP 2.16GHz, 2 GB RAM, OS x.6.2, Rev Studio 4.0.0 Build 950 > > Removing 0.1% of data in 50000 Lines > In a 50000 repeat loop > Delete line x to x+2 = 11478 ms > put line 1 to (x-2) = 11595 ms > repeat with x...skip lines = 23010 ms > repeat for each = 37 ms --create 99.9% > > on mouseup > put 50 into tHowMany > put tHowMany * 1000 into tRepeats > --because Mark Wieder doesn't like random;-) > repeat tHowMany times > put "a" & cr after tData > repeat with x = 1 to 999 > put x & cr after tData > end repeat > end repeat > > put tData into tData1 > --test 1 > > put the millisec into tStart > repeat with x = the number of lines of tData down to 1 > if (line x tData contains "a") then > delete line x to (x+2) of tData1 > end if > end repeat > put word 1 to -1 of tData1 into tData1 > put the millisec into tEnd > put tEnd - tStart into tTotal1 > > > put tData into tData2 > --test 2 > > put the millisec into tStart > repeat with x = the number of lines of tData down to 1 > if (line x tData contains "a") then > put line 1 to (x-1) of tData2 & cr & line (x+3) to -1 of tData2 > into tData2 > end if > end repeat > put word 1 to -1 of tData2 into tData2 > put the millisec into tEnd > put tEnd - tStart into tTotal2 > > if (tData1 <> tData2) then > answer "Error" > breakpoint > end if > > > --test 3 > > put the millisec into tStart > repeat with x = 1 to the number of lines of tData > if (line x tData contains "a") then > put x + 2 into x > else > put line x of tData & cr after tData3 > end if > end repeat > put word 1 to -1 of tData3 into tData3 > put the millisec into tEnd > put tEnd - tStart into tTotal3 > > if (tData1 <> tData2) or (tData1 <> tData3) then > answer "Error" > breakpoint > end if > > > --test 4 > put 3 into tSkip > > put the millisec into tStart > repeat for each line tLine in tData > switch > case (tSkip < 3) > put tSkip +1 into tSkip > break > case (tLine contains "a") > put 1 into tSkip > break > default > put tLine & cr after tData4 > end switch > end repeat > put word 1 to -1 of tData4 into tData4 > put the millisec into tEnd > put tEnd - tStart into tTotal4 > > if (tData1 <> tData2) or (tData1 <> tData3) or (tData1 <> tData4) then > answer "Error" > breakpoint > end if > > put "Removing 0.1% of data in " & tRepeats & " Lines" & cr into msg > put "In a " & tRepeats & " repeat loop" & cr after msg > put "Delete line x to x+2 = " & tTotal1 & " ms" & cr after msg > put "put line 1 to (x-2) = " & tTotal2 & " ms" & cr after msg > put "repeat with x...skip lines = " & tTotal3 & " ms" & cr after msg > put "repeat for each = " & tTotal4 & " ms" after msg > end mouseup From revlist at azurevision.co.uk Thu Mar 25 10:43:44 2010 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 25 Mar 2010 14:43:44 +0000 Subject: scripting applescript menu-clicking questions In-Reply-To: References: Message-ID: Off the top of my head... On 25 Mar 2010, at 13:48, Bernard Devlin wrote: > Hi all, > > I am having trouble with getting applescript to click on menu choices > in Safari (there is nothing in the dictionary for what I'm trying to > do). Does anyone have any suggestions for how to handle these things? Buy Prefab UIBrowser. Absolutely indispensable for this kind of stuff even though it hasn't been updated in a couple of years. > Secondly, will Safari be able to do these actions in the background? > I mean, in the script I'm currently working on, Safari is told to > "activate", then everything else happens. Can I script menu > actions/button clicks without Safari becoming visible? Anything involving mouse clicks *have* to be done with the target app frontmost. Menus will probably be the same. > Finally, assuming that all of this is possible, is there a version of > Applescript/OS X before which such things would not be possible? 10.2 required an additional download for GUI scripting, 10.3 had it built-in, but full features came with 10.4 and above. Ian From bdrunrev at gmail.com Thu Mar 25 11:02:39 2010 From: bdrunrev at gmail.com (Bernard Devlin) Date: Thu, 25 Mar 2010 15:02:39 +0000 Subject: scripting applescript menu-clicking questions In-Reply-To: References: Message-ID: Thank you very much, Ian. Much appreciated. Amazing how much knowledge is available on this list. :) I'll look into Prefab UIBrowser. Hopefully it is something I can distribute with my app. Bernard On Thu, Mar 25, 2010 at 2:43 PM, Ian Wood wrote: > Off the top of my head... > > On 25 Mar 2010, at 13:48, Bernard Devlin wrote: > >> Hi all, >> >> I am having trouble with getting applescript to click on menu choices >> in Safari (there is nothing in the dictionary for what I'm trying to >> do). ?Does anyone have any suggestions for how to handle these things? > > Buy Prefab UIBrowser. Absolutely indispensable for this kind of stuff even > though it hasn't been updated in a couple of years. > >> Secondly, will Safari be able to do these actions in the background? >> I mean, in the script I'm currently working on, Safari is told to >> "activate", then everything else happens. ?Can I script menu >> actions/button clicks without Safari becoming visible? > > Anything involving mouse clicks *have* to be done with the target app > frontmost. Menus will probably be the same. > >> Finally, assuming that all of this is possible, is there a version of >> Applescript/OS X before which such things would not be possible? > > 10.2 required an additional download for GUI scripting, 10.3 had it > built-in, but full features came with 10.4 and above. > > Ian From andre at andregarzia.com Thu Mar 25 11:05:56 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 25 Mar 2010 12:05:56 -0300 Subject: Old CGI engine and POST In-Reply-To: References: <99E29ABF-4280-4842-ABC6-F493FCD481E9@major.on-rev.com> <9864AD52-C331-4E68-BC54-9D9ED58E08CA@mac.com> Message-ID: <7c87a2a11003250805i4fba9214kbca2f03f2e8cc19f@mail.gmail.com> Klaus, I think it is easier to shell() to CURL than to load libURL on old CGI engines. CURL can POST, GET and pretty much anything you want. Cheers andre On Thu, Mar 25, 2010 at 11:33 AM, Klaus Major wrote: > Hi Bj?rnke, > > > should work, but you need to load liburl yourself, as it's (for obvious > reasons) not included directly in the engine. Note that some colocation and > shared servers will not allow any outgoing sockets. > > thanks for the fast answer! > Since this is our server, there won't be any problems I think, we'll check > this :-) > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From klaus at major.on-rev.com Thu Mar 25 11:09:51 2010 From: klaus at major.on-rev.com (Klaus Major) Date: Thu, 25 Mar 2010 16:09:51 +0100 Subject: Old CGI engine and POST In-Reply-To: <7c87a2a11003250805i4fba9214kbca2f03f2e8cc19f@mail.gmail.com> References: <99E29ABF-4280-4842-ABC6-F493FCD481E9@major.on-rev.com> <9864AD52-C331-4E68-BC54-9D9ED58E08CA@mac.com> <7c87a2a11003250805i4fba9214kbca2f03f2e8cc19f@mail.gmail.com> Message-ID: Hi Andre, > Klaus, > > I think it is easier to shell() to CURL than to load libURL on old CGI > engines. CURL can POST, GET and pretty much anything you want. ah, yes, I see! Good idea, since we have a Mac server (an old eMac, but what the heck :-) CURL shoould already avialble on that machine. Thanks! > Cheers > andre Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From mbertoli at libero.it Thu Mar 25 11:16:54 2010 From: mbertoli at libero.it (Marcello Bertoli) Date: Thu, 25 Mar 2010 16:16:54 +0100 Subject: Datagrid edit cell question In-Reply-To: <3AF6963D-EAAF-46AD-A444-41BB45F95828@mangomultimedia.com> References: <43C52FB0-1DFD-4AF4-A333-56108990A8FA@libero.it> <3AF6963D-EAAF-46AD-A444-41BB45F95828@mangomultimedia.com> Message-ID: Thanks Trevor for your help. the dgColumnIsEditable did the trick! Marcello On 24/mar/2010, at 20.37, Trevor DeVore wrote: > On Mar 24, 2010, at 3:33 PM, Marcello Bertoli wrote: > >> I have some questions about editing data directly inside datagrids. >> >> The scenario is a datagrid where the user can edit only certain columns. I've accomplished this turning off the "allow text editing" of the datagrid and allowing the text editing of the column I want in the mouseDoubleUp handler. Here it is a sample code: > > I think that setting the dgColumnIsEditable to false for the columns you don't want to edit should do the trick. Try that. Docs are on this page: > > http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7343-Data-Grid-Properties > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Thu Mar 25 11:17:50 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 25 Mar 2010 10:17:50 -0500 Subject: Old CGI engine and POST In-Reply-To: <99E29ABF-4280-4842-ABC6-F493FCD481E9@major.on-rev.com> References: <99E29ABF-4280-4842-ABC6-F493FCD481E9@major.on-rev.com> Message-ID: <4BAB7E9E.405@hyperactivesw.com> Klaus Major wrote: > Hi all, > > maybe someone happens know this? > > We are using an old Rev engine as a CGI engine on our server. > Is it possible to "POST" something to an url with this old CGI engine? If you mean, the cgi needs to catch POST requests and process them then yes, I catch those all the time. If you mean the cgi needs to *generate* POST requests then you'll probably need to do what Bjornke said. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revlist at azurevision.co.uk Thu Mar 25 11:21:18 2010 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 25 Mar 2010 15:21:18 +0000 Subject: scripting applescript menu-clicking questions In-Reply-To: References: Message-ID: <87FEA874-C484-42B3-B50A-89287F7AA6FF@azurevision.co.uk> On 25 Mar 2010, at 15:02, Bernard Devlin wrote: > Thank you very much, Ian. Much appreciated. Amazing how much > knowledge is available on this list. :) I mostly use Rev to create OS X 'bridges' between different apps, so GUI scripting comes in handy. > I'll look into Prefab UIBrowser. Hopefully it is something I can > distribute with my app. UIBrowser lets you see the exact path to any UI element in any app and then gives you the AppleScript syntax for performing actions on/ getting info about those elements. It also gives you the syntax for sending keypresses and all sorts of other info. In some cases you can even get values from text fields and sliders for apps without scripting dictionaries. So it's a tool for helping you write the AppleScripts, without any need for you to then distribute it. Ian From klaus at major.on-rev.com Thu Mar 25 11:21:44 2010 From: klaus at major.on-rev.com (Klaus Major) Date: Thu, 25 Mar 2010 16:21:44 +0100 Subject: Old CGI engine and POST In-Reply-To: <4BAB7E9E.405@hyperactivesw.com> References: <99E29ABF-4280-4842-ABC6-F493FCD481E9@major.on-rev.com> <4BAB7E9E.405@hyperactivesw.com> Message-ID: <41D23578-8F98-4A03-9D64-0D4C29A0793A@major.on-rev.com> Bonjour Jacqueline, > Klaus Major wrote: >> Hi all, >> maybe someone happens know this? >> We are using an old Rev engine as a CGI engine on our server. >> Is it possible to "POST" something to an url with this old CGI engine? > If you mean, the cgi needs to catch POST requests and process them then yes, I catch those all the time. If you mean the cgi needs to *generate* POST requests then you'll probably need to do what Bjornke said. the latter one, thanks :-) We will use probably CURL, since we have a Mac server. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From jacque at hyperactivesw.com Thu Mar 25 11:31:35 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 25 Mar 2010 10:31:35 -0500 Subject: Linux - Check for Updates broken In-Reply-To: <6FC96701-2F54-4721-8FAB-A7F1B77C4C9F@gmx.at> References: <6FC96701-2F54-4721-8FAB-A7F1B77C4C9F@gmx.at> Message-ID: <4BAB81D7.6010103@hyperactivesw.com> Markus Minihold wrote: > Hi all, > > I'm currently using revEnterprise on Linux 4.0.0-GM1 with an active license which will end in 2011 and want to upgrade to the 4.5.0-DP3, which is offered through the "Check for Updates" menu item. What happens is that the dialog box is shown for downloading (as on MacOSX or Windows) but clicking on "Update Now" doesn't start the update procedure as expected rather it will start a browser window and directs me to the www.runrev.com/downloads/all=downloads/full-list page. > Has anyone else seen this behaviour? > How can I upgrade otherwise? Is there an ftp download possibility? If you aren't on the improve-rev list, then write to support and ask Heather to put you on it. That's where the direct download links are posted. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Thu Mar 25 11:50:13 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Mar 2010 08:50:13 -0700 Subject: Old CGI engine and POST Message-ID: <4BAB8635.7070908@fourthworld.com> Klaus Major wrote: > Bonjour Jacqueline, > >> Klaus Major wrote: >>> Hi all, >>> maybe someone happens know this? >>> We are using an old Rev engine as a CGI engine on our server. >>> Is it possible to "POST" something to an url with this old CGI >>> engine? >> If you mean, the cgi needs to catch POST requests and process them >> then yes, I catch those all the time. If you mean the cgi needs to >> *generate* POST requests then you'll probably need to do what >> Bjornke said. > > the latter one, thanks :-) I think I missed something: what's wrong with Rev's post command? -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From andre at andregarzia.com Thu Mar 25 11:53:07 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 25 Mar 2010 12:53:07 -0300 Subject: Old CGI engine and POST In-Reply-To: <4BAB8635.7070908@fourthworld.com> References: <4BAB8635.7070908@fourthworld.com> Message-ID: <7c87a2a11003250853k72de5629j686f76c431f9b227@mail.gmail.com> Richard, it is a CGI context, the CGI engine does not load libURL by default. Cheers andre On Thu, Mar 25, 2010 at 12:50 PM, Richard Gaskin wrote: > Klaus Major wrote: > > > Bonjour Jacqueline, > > > >> Klaus Major wrote: > >>> Hi all, > >>> maybe someone happens know this? > >>> We are using an old Rev engine as a CGI engine on our server. > >>> Is it possible to "POST" something to an url with this old CGI > >>> engine? > >> If you mean, the cgi needs to catch POST requests and process them > >> then yes, I catch those all the time. If you mean the cgi needs to > >> *generate* POST requests then you'll probably need to do what > >> Bjornke said. > > > > the latter one, thanks :-) > > I think I missed something: what's wrong with Rev's post command? > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From mwieder at ahsoftware.net Thu Mar 25 12:13:26 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 25 Mar 2010 09:13:26 -0700 Subject: Deleting Data Woefully Slow In-Reply-To: References: <130244133890.20100324185128@ahsoftware.net> <186247177187.20100324194211@ahsoftware.net> <153247603453.20100324194917@ahsoftware.net> <109253858546.20100324213332@ahsoftware.net> <13260169109.20100324231843@ahsoftware.net> Message-ID: <78295852156.20100325091326@ahsoftware.net> Kay- Thursday, March 25, 2010, 3:20:41 AM, you wrote: > If anyone thinks they can delete data faster than my Test 4 I'd sure > appreciate some pointers :-) Here's what I threw together, and for smaller data sets it's roughly twice as fast as your test 4 (1 or 2 ms vs 4 or 5 ms over 5000 lines). But for larger data sets it starts to bog down and then comes out twice as slow (90 ms vs 45 ms over 50000 lines). And since I'm working with a reduced data set after the filter command, using the "delete" line instead of the "put" line makes no difference to the overall timing. If you know in advance that you want to delete three lines starting with a trigger phrase, then you've got a fast algorithm there. --test5 put the millisec into tStart put tData into tData5 filter tData5 with "*a*" repeat for each line tLine in tData5 put lineoffset(tLine, tData) into tPos if tPos is not 0 then --delete line tPos to tPos+2 of tData put line 1 to tPos-1 of tData & cr & line tPos+3 to -1 of tData & cr into tData end if end repeat put word 1 to -1 of tData into tData put the millisec into tEnd put tEnd - tStart into tTotal5 if (tData1 <> tData) then answer "Error: tData1 <> tData" breakpoint end if -- -Mark Wieder mwieder at ahsoftware.net From Markus.Minihold at gmx.at Thu Mar 25 12:36:37 2010 From: Markus.Minihold at gmx.at (Markus Minihold) Date: Thu, 25 Mar 2010 17:36:37 +0100 Subject: Linux - Check for Updates broken In-Reply-To: <4BAB81D7.6010103@hyperactivesw.com> References: <6FC96701-2F54-4721-8FAB-A7F1B77C4C9F@gmx.at> <4BAB81D7.6010103@hyperactivesw.com> Message-ID: Thanks a lot for your helpful answers. I've found the announcement on the improve-list and I'm going to download it. Nevertheless IMO it's a bug in the linux version offering an upgrade and then not able to upgrade. I'll file a report in the QCC. Am 25.03.2010 um 16:31 schrieb J. Landman Gay: > Markus Minihold wrote: >> Hi all, >> I'm currently using revEnterprise on Linux 4.0.0-GM1 with an active license which will end in 2011 and want to upgrade to the 4.5.0-DP3, which is offered through the "Check for Updates" menu item. What happens is that the dialog box is shown for downloading (as on MacOSX or Windows) but clicking on "Update Now" doesn't start the update procedure as expected rather it will start a browser window and directs me to the www.runrev.com/downloads/all=downloads/full-list page. >> Has anyone else seen this behaviour? >> How can I upgrade otherwise? Is there an ftp download possibility? > > If you aren't on the improve-rev list, then write to support and ask Heather to put you on it. That's where the direct download links are posted. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From effendi at wanadoo.fr Thu Mar 25 13:10:52 2010 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Thu, 25 Mar 2010 18:10:52 +0100 Subject: Roman Numerals Conversion Message-ID: <98112283-7FB9-4BD1-AFA7-BE5F2A7796E0@wanadoo.fr> Hi from Beautiful Brittany, I've searched around, and have found many scripts in many languages for converting Roman Numerals into Numbers, but couldn't find one that I can use in a Rev Stack. Has anybody come across a script that I don't know about ? With Thanks -Francis "Nothing should ever be done for the first time !" From m.schonewille at economy-x-talk.com Thu Mar 25 13:35:35 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 25 Mar 2010 18:35:35 +0100 Subject: Roman Numerals Conversion In-Reply-To: <98112283-7FB9-4BD1-AFA7-BE5F2A7796E0@wanadoo.fr> References: <98112283-7FB9-4BD1-AFA7-BE5F2A7796E0@wanadoo.fr> Message-ID: Francis, function romanToArab theNumber put "i,v,x,l,c,d,m" into myRomans put "1,5,10,50,100,1000,10000" into myArabs put item itemoffset(last char of theNumber,myRomans) of myArabs into myNumber repeat with x = (number of chars of theNumber - 1) down to 1 put item itemoffset(char x of theNumber,myRomans) of myArabs into myTemp1 put item itemoffset(char x + 1 of theNumber,myRomans) of myArabs into myTemp2 if myTemp1 < myTemp2 then subtract myTemp1 from myNumber else add myTemp1 to myNumber end repeat return myNumber end romanToArab Is this done in Revfor the first time? I hope you don't mind ;-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 25 mrt 2010, om 18:10 heeft Francis Nugent Dixon het volgende geschreven: > Hi from Beautiful Brittany, > > I've searched around, and have found many > scripts in many languages for converting > Roman Numerals into Numbers, but couldn't > find one that I can use in a Rev Stack. > > Has anybody come across a script that I > don't know about ? > > With Thanks > > -Francis > > "Nothing should ever be done for the first time !" > From m.schonewille at economy-x-talk.com Thu Mar 25 13:40:49 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 25 Mar 2010 18:40:49 +0100 Subject: Roman Numerals Conversion In-Reply-To: References: <98112283-7FB9-4BD1-AFA7-BE5F2A7796E0@wanadoo.fr> Message-ID: <8DB72EF9-45CE-407E-935A-29EEC8F5EF0D@economy-x-talk.com> Oops, too quick.... The second line of the script should be put "1,5,10,50,100,500,1000" into myArabs function romanToArab theNumber put "i,v,x,l,c,d,m" into myRomans put "1,5,10,50,100,500,1000" into myArabs put item itemoffset(last char of theNumber,myRomans) of myArabs into myNumber repeat with x = (number of chars of theNumber - 1) down to 1 put item itemoffset(char x of theNumber,myRomans) of myArabs into myTemp1 put item itemoffset(char x + 1 of theNumber,myRomans) of myArabs into myTemp2 if myTemp1 < myTemp2 then subtract myTemp1 from myNumber else add myTemp1 to myNumber end repeat return myNumber end romanToArab -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. From richmondmathewson at gmail.com Thu Mar 25 13:47:38 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 25 Mar 2010 19:47:38 +0200 Subject: Roman Numerals Conversion In-Reply-To: <8DB72EF9-45CE-407E-935A-29EEC8F5EF0D@economy-x-talk.com> References: <98112283-7FB9-4BD1-AFA7-BE5F2A7796E0@wanadoo.fr> <8DB72EF9-45CE-407E-935A-29EEC8F5EF0D@economy-x-talk.com> Message-ID: <4BABA1BA.1080707@gmail.com> On 25/03/2010 19:40, Mark Schonewille wrote: > Oops, too quick.... > > The second line of the script should be > put "1,5,10,50,100,500,1000" into myArabs > > > > function romanToArab theNumber > put "i,v,x,l,c,d,m" into myRomans > put "1,5,10,50,100,500,1000" into myArabs > put item itemoffset(last char of theNumber,myRomans) of myArabs > into myNumber > repeat with x = (number of chars of theNumber - 1) down to 1 > put item itemoffset(char x of theNumber,myRomans) of myArabs > into myTemp1 > put item itemoffset(char x + 1 of theNumber,myRomans) of > myArabs into myTemp2 > if myTemp1 < myTemp2 then > subtract myTemp1 from myNumber > else add myTemp1 to myNumber > end repeat > return myNumber > end romanToArab > > -- > Best regards, > > Mark Schonewille Brilliant; although just at present it may be more politically correct to put "1,5,10,50,100,500,1000" into yourArabs one cannot be too careful nowadays . . . :) From andre at andregarzia.com Thu Mar 25 14:15:33 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 25 Mar 2010 15:15:33 -0300 Subject: RevServer: Basic Authentication Message-ID: <7c87a2a11003251115q6ee89a68ub03dea7ecb271590@mail.gmail.com> Aloha Folks, Anyone here remembers if RevServer will place authentication info somewhere for us to poke? Cheers andre -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Thu Mar 25 14:38:33 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 25 Mar 2010 15:38:33 -0300 Subject: ARGH! How are we supposed to enter RevServer bugs in the quality center when RevServer is not among the build platforms!? Message-ID: <7c87a2a11003251138n7cb937eeu107069a22bfbc153@mail.gmail.com> Folks, I am trying to enter some bug reports on Bugzilla/Quality Center regarding RevServer being somewhat crippled. On the components drop down, the one that lists the builds such as desktop, web, plugin, there's no entry for RevServer, so, how to proceed? The On-Rev forum has a bug Forum but then, do they check it? Argh! Andre -- http://www.andregarzia.com All We Do Is Code. From richmondmathewson at gmail.com Thu Mar 25 15:56:24 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 25 Mar 2010 21:56:24 +0200 Subject: [OT] Screen Res Surprise Message-ID: <4BABBFE8.1040206@gmail.com> Having released a large number of incremental versions of my Devawriter, that is targeted at screen resolutions of at least 1024 x 768 (and, ideally more, to allow for the transliteration palette), I have been surprised at the volume of requests for a smaller windowed version. I made one: http://andregarzia.on-rev.com/richmond/dwriter.html DevawriterSS (Small Screen - not 'Secret Service', 'Silly Snail' or 'conSpiracy theorieS') which is jolly charming - especially as it took about 12 hours of fiddling around resizing images and repositioning them. Now; the wisdom of hindsight: Had I realised that there were people 'out there' desperate to learn Sanskrit (??????) running Clamshell, G3 Macs (screen Res 800 x 600) and iBooks (screen Res 1024 x 768) I would have taken 800 x 600 as an initial standard. So, if anybody asks me again, the screen resolution to target one's apps at I will probably tell them to take a look at the oldest machine that can support Mac OS X 10.3.9, which is the original iBook Clamshell with a max screen res of 800 x 600. From ambassador at fourthworld.com Thu Mar 25 16:46:48 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Mar 2010 13:46:48 -0700 Subject: [OT] Screen Res Surprise Message-ID: <4BABCBB8.2040105@fourthworld.com> Richmond Mathewson wrote: > Having released a large number of incremental versions of my > Devawriter, that is targeted at screen resolutions of at least > 1024 x 768 (and, ideally more, to allow for the transliteration > palette), I have been surprised at the volume of requests for > a smaller windowed version. From these stats: ...it would seem a safe bet that one could adopt a standard size of 1024x768 for most apps. But that doesn't take into account the nascent netbook market, most of which uses WSVGA (1024x600). These days I'm targeting 1024x600 as my minimum for most apps, with resizable layouts that allow people with larger screens to enjoy their extra space while still offering a good netbook experience. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From andre at andregarzia.com Thu Mar 25 16:51:56 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 25 Mar 2010 17:51:56 -0300 Subject: [ANN] revSparkle minimalist web framework for RevServer Message-ID: <7c87a2a11003251351m5fec0cfam800788bbb75b67dd@mail.gmail.com> Hello Folks, Decided to launch something today and revSparkle was my choice. revSparkle is a minimalist web framework inspired by Ruby Sinatra, it is a single include file and requires minimal effort to use but it is very powerful. http://hg.andregarzia.com/revsparkle You can check the wiki at: http://bitbucket.org/andregarzia/revsparkle/wiki/Home Basically it allows you to create really cool RESTful applications, let me just show the canonical Hello World here: You can access these demo urls at: http://andregarzia.com/revsparkle/demo/hello http://andregarzia.com/revsparkle/demo/hello/Andre+Garzia http://andregarzia.com/revsparkle/demo/sum/2/2 Check out the Wiki for more information. I am in the process of updating my home page and in the meanwhile, I decided to release this. This is a framework aimed at quick and simple tools. If you need a framework more suitable for big apps and services, check out http://revigniter.combasically revIgniter is Rails and revSparkle is Sinatra for those that follow Ruby Camp. Cheers Andre Garzia -- http://www.andregarzia.com All We Do Is Code. From johnpatten at mac.com Thu Mar 25 16:53:11 2010 From: johnpatten at mac.com (John Patten) Date: Thu, 25 Mar 2010 13:53:11 -0700 Subject: Connecting Rev stack to On-Rev mySQL DB? Message-ID: <055D2621-D225-43BA-886C-58B7211B5200@mac.com> Hi All... My Developer Conference 2009 DVDs arrived yesterday and I listened to Devin do his presentations on connecting rev to an on-rev mysql db. He made it look so easy, I thought I'd give it a try! My attempts are failing with the error: "Access denied for user 'jpatten_elearn'@'216.64.xxx.xx' (using password: YES)" I'm behind a firewall, however anything that we initiate from inside is allowed. I pretty much used Devin's example straight from the DVD, put "mysql" into tType put "jpatten.on-rev.com" into tHost put "jpatten_theDB" into tDB put "jpatten_elearn" into tUser put "theDBuser_passwd" into tPass put revOpenDatabase(tType,tHost,tDB,tUser,tPass) into tConnID put tConnID But instead of getting what I would think would be a connection ID, I get the access denied error. I will try from home tonight to see if it works from outside my school network, but was also curious if anybody had a suggestions? ...Have a stack you can share that connects to a mySQL db on the web I can test? Thank you! John Patten From andre at andregarzia.com Thu Mar 25 16:54:44 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 25 Mar 2010 17:54:44 -0300 Subject: [ANN] revSparkle minimalist web framework for RevServer In-Reply-To: <7c87a2a11003251351m5fec0cfam800788bbb75b67dd@mail.gmail.com> References: <7c87a2a11003251351m5fec0cfam800788bbb75b67dd@mail.gmail.com> Message-ID: <7c87a2a11003251354v1f84fe80v86b0273a3f5f8adb@mail.gmail.com> Oops, A typo in a url http://andregarzia.com/revsparkle/demo/hello/sum/2/2 Andre PS: hello is the folder... argh! On Thu, Mar 25, 2010 at 5:51 PM, Andre Garzia wrote: > Hello Folks, > > Decided to launch something today and revSparkle was my choice. revSparkle > is a minimalist web framework inspired by Ruby Sinatra, it is a single > include file and requires minimal effort to use but it is very powerful. > > http://hg.andregarzia.com/revsparkle > > You can check the wiki at: > > http://bitbucket.org/andregarzia/revsparkle/wiki/Home > > Basically it allows you to create really cool RESTful applications, let me > just show the canonical Hello World here: > > include "revsparkle.inc" > > if match_get("/") or match_get("/hello") then > put "Hello World!" > end if > > if match_get("/hello/:name") then > put "Hello," && para("name") > end if > > if match_get("/sum/:num1/:num2") then > put "Hello," && para("num1") && "+" && para("num2") && "=" && > para("num1") + para("num2") > end if > > if match_get("/hi") then > put "Hi There!" > end if > ?> > > You can access these demo urls at: > http://andregarzia.com/revsparkle/demo/hello > http://andregarzia.com/revsparkle/demo/hello/Andre+Garzia > http://andregarzia.com/revsparkle/demo/sum/2/2 > > Check out the Wiki for more information. I am in the process of updating my > home page and in the meanwhile, I decided to release this. This is a > framework aimed at quick and simple tools. If you need a framework more > suitable for big apps and services, check out http://revigniter.combasically revIgniter is Rails and revSparkle is Sinatra for those that > follow Ruby Camp. > > Cheers > Andre Garzia > > > -- > http://www.andregarzia.com All We Do Is Code. > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Thu Mar 25 16:56:08 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 25 Mar 2010 17:56:08 -0300 Subject: Connecting Rev stack to On-Rev mySQL DB? In-Reply-To: <055D2621-D225-43BA-886C-58B7211B5200@mac.com> References: <055D2621-D225-43BA-886C-58B7211B5200@mac.com> Message-ID: <7c87a2a11003251356q9fc3839q96fd00731b8965e8@mail.gmail.com> John, check the allowed hosts on your control panel, add the % wildcard there. Cheers andre PS: Power grid failure over here, working on batts, sorry for the hushed reply On Thu, Mar 25, 2010 at 5:53 PM, John Patten wrote: > Hi All... > > My Developer Conference 2009 DVDs arrived yesterday and I listened to Devin > do his presentations on connecting rev to an on-rev mysql db. He made it > look so easy, I thought I'd give it a try! > > > My attempts are failing with the error: "Access denied for user > 'jpatten_elearn'@'216.64.xxx.xx' (using password: YES)" > > I'm behind a firewall, however anything that we initiate from inside is > allowed. I pretty much used Devin's example straight from the DVD, > > put "mysql" into tType > put "jpatten.on-rev.com" into tHost > put "jpatten_theDB" into tDB > put "jpatten_elearn" into tUser > put "theDBuser_passwd" into tPass > put revOpenDatabase(tType,tHost,tDB,tUser,tPass) into tConnID > put tConnID > > > > > But instead of getting what I would think would be a connection ID, I get > the access denied error. > > > I will try from home tonight to see if it works from outside my school > network, but was also curious if anybody had a suggestions? ...Have a stack > you can share that connects to a mySQL db on the web I can test? > > > Thank you! > > John Patten > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From lan.kc.macmail at gmail.com Thu Mar 25 19:12:56 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 26 Mar 2010 07:12:56 +0800 Subject: Deleting Data Woefully Slow In-Reply-To: <4BAB5245.4030507@fourthworld.com> References: <4BAB5245.4030507@fourthworld.com> Message-ID: On Thu, Mar 25, 2010 at 8:08 PM, Richard Gaskin wrote: > > Moreover, Raney once noted that he took the time to optimize > "put...after..." specifically for cases like yours, so it could be used in > conjunction with "repeat for each" to build a subset of data. > > Richard, any thoughts as to why delete line -1 is so so much slower than delete line 1? Seems illogical. From lan.kc.macmail at gmail.com Thu Mar 25 19:18:00 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 26 Mar 2010 07:18:00 +0800 Subject: Deleting Data Woefully Slow In-Reply-To: <78295852156.20100325091326@ahsoftware.net> References: <186247177187.20100324194211@ahsoftware.net> <153247603453.20100324194917@ahsoftware.net> <109253858546.20100324213332@ahsoftware.net> <13260169109.20100324231843@ahsoftware.net> <78295852156.20100325091326@ahsoftware.net> Message-ID: Mark, Nice, I'll look into that a bit further to see if it makes any difference how much data is on a line. Fortunately I'm only working with 4 - 90 chars per line. Thanks On Fri, Mar 26, 2010 at 12:13 AM, Mark Wieder wrote: > Kay- > > Thursday, March 25, 2010, 3:20:41 AM, you wrote: > > > If anyone thinks they can delete data faster than my Test 4 I'd sure > > appreciate some pointers :-) > > Here's what I threw together, and for smaller data sets it's roughly > twice as fast as your test 4 (1 or 2 ms vs 4 or 5 ms over 5000 lines). > But for larger data sets it starts to bog down and then comes out > twice as slow (90 ms vs 45 ms over 50000 lines). And since I'm working > with a reduced data set after the filter command, using the "delete" > line instead of the "put" line makes no difference to the overall > timing. If you know in advance that you want to delete three lines > starting with a trigger phrase, then you've got a fast algorithm > there. > > --test5 > put the millisec into tStart > put tData into tData5 > filter tData5 with "*a*" > repeat for each line tLine in tData5 > put lineoffset(tLine, tData) into tPos > if tPos is not 0 then > --delete line tPos to tPos+2 of tData > put line 1 to tPos-1 of tData & cr & line tPos+3 to -1 of tData > & cr into tData > end if > end repeat > put word 1 to -1 of tData into tData > put the millisec into tEnd > put tEnd - tStart into tTotal5 > > if (tData1 <> tData) then > answer "Error: tData1 <> tData" > breakpoint > end if > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lan.kc.macmail at gmail.com Thu Mar 25 19:33:06 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 26 Mar 2010 07:33:06 +0800 Subject: Deleting Data Woefully Slow In-Reply-To: References: <186247177187.20100324194211@ahsoftware.net> <153247603453.20100324194917@ahsoftware.net> <109253858546.20100324213332@ahsoftware.net> <13260169109.20100324231843@ahsoftware.net> Message-ID: On Thu, Mar 25, 2010 at 10:35 PM, Brian Yennie wrote: If you need to make another major speed jump, I'm afraid you would need to > look at your data itself -- can you index it, can you operate on a subset at > a time, is it time for a database / new data structure, etc. > Thanks for your thoughts Brian. Yes I'm looking into a DB option. The problem is deleting the additional lines associated with the offending line. So I'm looking at doing a search to find the offending lines, then doing some math on that to determine all the additional lines, then doing a new search WHERE ROW ID NOT (4 or 5 or 6 or 39 or 40 or 41 etc etc). But your are right, I just got to face facts, large data sets are always going to be sloooooow. :-( From sarah.reichelt at gmail.com Thu Mar 25 19:42:43 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 26 Mar 2010 09:42:43 +1000 Subject: Roman Numerals Conversion In-Reply-To: <98112283-7FB9-4BD1-AFA7-BE5F2A7796E0@wanadoo.fr> References: <98112283-7FB9-4BD1-AFA7-BE5F2A7796E0@wanadoo.fr> Message-ID: > I've searched around, and have found many > scripts in many languages for converting > Roman Numerals into Numbers, but couldn't > find one that I can use in a Rev Stack. Here is the version I wrote some time ago: function romanToDecimal pRoman -- I had this table stored in a CP, but I put it here to give a self-contained function put "I,1" & cr into tCode put "V,5" & cr after tCode put "X,10" & cr after tCode put "L,50" & cr after tCode put "C,100" & cr after tCode put "D,500" & cr after tCode put "M,1000" & cr after tCode split tCode using cr and comma put 0 into tDecimal repeat with x = 1 to the number of chars in pRoman put char x of pRoman into tFirst put char x + 1 of pRoman into tSecond put tCode[tFirst] into tFirst put tCode[tSecond] into tSecond if tFirst >= tSecond then add tFirst to tDecimal else add tSecond - tFirst to tDecimal add 1 to x end if end repeat return tDecimal end romanToDecimal But I was never able to satisfactorily do the reverse. I could do the basics but doing multiple subtractions of the preceding smaller value didn't work. So I could convert 4 to IV, but 9 converted to VIV instead of IX. Cheers, Sarah From sarah.reichelt at gmail.com Thu Mar 25 19:56:57 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 26 Mar 2010 09:56:57 +1000 Subject: Connecting Rev stack to On-Rev mySQL DB? In-Reply-To: <055D2621-D225-43BA-886C-58B7211B5200@mac.com> References: <055D2621-D225-43BA-886C-58B7211B5200@mac.com> Message-ID: > My Developer Conference 2009 DVDs arrived yesterday and I listened to Devin > do his presentations on connecting rev to an on-rev mysql db. He made it > look so easy, I thought I'd give it a try! > > > My attempts are failing with the error: "Access denied for user > 'jpatten_elearn'@'216.64.xxx.xx' (using password: YES)" > > I'm behind a firewall, however anything that we initiate from inside is > allowed. I pretty much used Devin's example straight from the DVD, > > ?put "mysql" into tType > ? put "jpatten.on-rev.com" into tHost > ? put "jpatten_theDB" into tDB > ? put "jpatten_elearn" into tUser > ? put "theDBuser_passwd" into tPass > ? put revOpenDatabase(tType,tHost,tDB,tUser,tPass) into tConnID > ? put tConnID John, it looks like you are trying to access the database from outside the server. By default this is not permitted. There is a way to set up access from outside, but I don;t remember what it is. Search the list archives as I think it was discussed a few weeks ago. The more regular way of connecting is via an irev script file on your on-rev server. Here is how I do it: put this script into an irev file, replace all the *******'s with your own variables, and upload it to your on-rev site. In your Rev stack, use this script (assuming the irev script file is called "readDB.irev"): on mouseUp put "http://myusername.on-rev.com/readDB.irev" into tDBdata -- now display it end mouseUp For further refinements, edit the irev script to take a GET or POST parameter and apply that in the SELECT statement. Cheers, Sarah From sarah.reichelt at gmail.com Thu Mar 25 20:03:06 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 26 Mar 2010 10:03:06 +1000 Subject: scripting applescript menu-clicking questions In-Reply-To: References: Message-ID: > I am having trouble with getting applescript to click on menu choices > in Safari (there is nothing in the dictionary for what I'm trying to > do). ?Does anyone have any suggestions for how to handle these things? > > Secondly, will Safari be able to do these actions in the background? > I mean, in the script I'm currently working on, Safari is told to > "activate", then everything else happens. ?Can I script menu > actions/button clicks without Safari becoming visible? I am pretty sure that you can do this without the "activate" line. Scripting menu selections is weird in AppleScript, but here is a good article about it: Don't forget to activate "Enable access for assistive devices" in the "Universal Access" system pref. Cheers, Sarah From ambassador at fourthworld.com Thu Mar 25 20:19:35 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Mar 2010 17:19:35 -0700 Subject: Deleting Data Woefully Slow Message-ID: <4BABFD97.602@fourthworld.com> Kay C Lan wrote: > On Thu, Mar 25, 2010 at 8:08 PM, Richard Gaskin > wrote: >> >> Moreover, Raney once noted that he took the time to optimize >> "put...after..." specifically for cases like yours, so it could be used in >> conjunction with "repeat for each" to build a subset of data. >> >> Richard, > > any thoughts as to why delete line -1 is so so much slower than delete line > 1? Seems illogical. I'm afraid that one has me mystified as well. It may have something to do with what the engine has to do to traverse to the end of a chunk, but I can't imagine why the difference would be so much. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From mwieder at ahsoftware.net Thu Mar 25 20:43:58 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 25 Mar 2010 17:43:58 -0700 Subject: Deleting Data Woefully Slow In-Reply-To: References: <186247177187.20100324194211@ahsoftware.net> <153247603453.20100324194917@ahsoftware.net> <109253858546.20100324213332@ahsoftware.net> <13260169109.20100324231843@ahsoftware.net> <78295852156.20100325091326@ahsoftware.net> Message-ID: <82326483640.20100325174358@ahsoftware.net> Kay- Thursday, March 25, 2010, 4:18:00 PM, you wrote: > Nice, I'll look into that a bit further to see if it makes any difference > how much data is on a line. Fortunately I'm only working with 4 - 90 chars > per line. I think (without having tested this) that the issue is that lineoffset starts to slow down with more lines of data to work through. Maybe filter does, too. -- -Mark Wieder mwieder at ahsoftware.net From alex at tweedly.net Thu Mar 25 20:57:48 2010 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 26 Mar 2010 00:57:48 +0000 Subject: Deleting Data Woefully Slow In-Reply-To: References: <4BAB5245.4030507@fourthworld.com> Message-ID: <4BAC068C.3000102@tweedly.net> Kay C Lan wrote: > On Thu, Mar 25, 2010 at 8:08 PM, Richard Gaskin > wrote: > > >> Moreover, Raney once noted that he took the time to optimize >> "put...after..." specifically for cases like yours, so it could be used in >> conjunction with "repeat for each" to build a subset of data. >> >> Richard, >> > > any thoughts as to why delete line -1 is so so much slower than delete line > 1? Seems illogical. > delete line 1 requires search for 1st CR (i.e. scan 30-80 chars) either : copy from there to the end (i.e. move each character). or: manipulate some pointer to say where the data starts I don't know which of these rev does. delete line -1 requires search for every CR (i.e. scan every char in the whole large piece of data) adjust some pointer to truncate Scanning is much slower than simply copying. You can see this by comparing the times for > put the milliseconds into tStart > repeat K timeScale > put the number of lines in largeData into t > end repeat > put the milliseconds - tStart & CR after field "F" > > put the milliseconds into tStart > repeat K times > put largedata into t > end repeat > put the milliseconds - tStart & CR after field "F" > -- Alex. From mwieder at ahsoftware.net Thu Mar 25 21:14:20 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 25 Mar 2010 18:14:20 -0700 Subject: Deleting Data Woefully Slow In-Reply-To: <4BABFD97.602@fourthworld.com> References: <4BABFD97.602@fourthworld.com> Message-ID: <15328306187.20100325181420@ahsoftware.net> Richard- Thursday, March 25, 2010, 5:19:35 PM, you wrote: > I'm afraid that one has me mystified as well. It may have something to > do with what the engine has to do to traverse to the end of a chunk, but > I can't imagine why the difference would be so much. If I were coding this in C I'd probably do something like (warning: untested code I'm making up on the spot out of the dim recesses of my memory): char *FindEndOfFirstLine(char *pText) { char *pChar; while(*pChar++) { if('\n' == *pChar) { // *++pChar = 0; break; } } return pChar; } char *FindLastLine(char *pText) { char *pChar; pChar = pText; pText += length(pText); if('\n' == *pChar) pChar--; while('\n' != *pChar--) { if (pChar == pText) break; } // *++pChar = 0; return pChar; } So I'd allow a little extra time for the length() call, but I wouldn't expect an order of magnitude difference. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Mar 25 21:16:12 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 25 Mar 2010 18:16:12 -0700 Subject: Deleting Data Woefully Slow In-Reply-To: <4BAC068C.3000102@tweedly.net> References: <4BAB5245.4030507@fourthworld.com> <4BAC068C.3000102@tweedly.net> Message-ID: <26328417890.20100325181612@ahsoftware.net> Alex- Thursday, March 25, 2010, 5:57:48 PM, you wrote: > delete line -1 requires > search for every CR (i.e. scan every char in the whole large > piece of data) > adjust some pointer to truncate Not necessarily. See my response to Richard. I'd find the end of the text and work my way back. -- -Mark Wieder mwieder at ahsoftware.net From katheryn.swynford at gmail.com Fri Mar 26 00:18:57 2010 From: katheryn.swynford at gmail.com (Judy Perry) Date: Thu, 25 Mar 2010 21:18:57 -0700 Subject: Spanish Voices In-Reply-To: <4C42F3D4-5B85-4845-A949-37EEB2A3691F@LinkIt.Com> References: <4C42F3D4-5B85-4845-A949-37EEB2A3691F@LinkIt.Com> Message-ID: <4be051071003252118y7680a579k6d1b80051407f9ff@mail.gmail.com> Ray, The voices were "Carlos" and "Catalina". You might have to look on Apple's website for Mexican/Spanish-language installs. I have long since forgotten how I acquired them years ago. Probably ca. System 7 ;-) I may have a copy somewhere... I'll look. Judy On Mon, Mar 22, 2010 at 12:05 PM, Ray Horsley wrote: > Anybody know how to acquire/install the Spanish voices for the RevSpeech > library? I saw them years ago when I used Metacard for text-to-speech. > There were just two; a male voice named Carlos and a female voice. I think > they're part of QuickTime, but I don't see them using the RevSpeechVoices > function. Here's what I currently get on my Mac using this function: > > From lan.kc.macmail at gmail.com Fri Mar 26 00:59:21 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 26 Mar 2010 12:59:21 +0800 Subject: Deleting Data Woefully Slow In-Reply-To: <26328417890.20100325181612@ahsoftware.net> References: <4BAB5245.4030507@fourthworld.com> <4BAC068C.3000102@tweedly.net> <26328417890.20100325181612@ahsoftware.net> Message-ID: Folks, This doesn't really apply to the job at hand but more to the discovery that it can be faster to rebuild data than just delete 1 line. I realised that if I knew I only had one line to delete then the 'repeat with x = 1' code could be optimised. After the line was deleted there'd be no reason to continue the repeat. So with that in mind I rewrote the code for a single delete case, although it still deletes 3 lines total, and unsurprisingly, if the line to find is the very first line the 'repeat with x = 1' case is way faster than using 'repeat for each' to rebuild the data. So in a 'this should put a smile on Richard's face' frame of mind, I set about writing a repeating test that moved the line to be found further and further into the data until 'repeat with x = 1' and a single delete was no longer faster than rebuilding the data. Here are my results: The line to be found is line 2021 of 100000 Single delete = 126 ms repeat for each = 116 ms For 100000 lines of data, if the line to be found is in the first 2.03% of lines a single search and delete is faster than rebuilding the entire data. The line to be found is line 641 of 10000 Single delete = 12 ms repeat for each = 11 ms For 10000 lines of data, if the line to be found is in the first 6.5% of lines a single search and delete is faster than rebuilding the entire data. The line to be found is line 201 of 1000 Single delete = 2 ms repeat for each = 1 ms For 1000 lines of data, if the line to be found is in the first 21% of lines a single search and delete is faster than rebuilding the entire data. Here is the script I used: on mouseup put empty into msg put 0 into tPrefix --CHANGE START POINT HERE put 9997 into tSuffix --CHANGE TOTAL LINES repeat until tTotal2 < tTotal1 put empty into tData repeat tPrefix times put "another speed test" & cr after tData end repeat put "the 1 line I'm looking for" & cr after tData put "and this line I don't want" & cr after tData put "and especially this line needs to be deleted" & cr after tData repeat tSuffix times put "What will be the result" & cr after tData end repeat put word 1 to -1 of tData into tData put the number of lines of tData into tLineCount put tData into tData1 --test 1 put the millisec into tStart repeat with x = 1 to tLineCount if (line x tData contains "1") then delete line x to (x+2) of tData1 exit repeat end if end repeat put word 1 to -1 of tData1 into tData1 put the millisec into tEnd put tEnd - tStart into tTotal1 --test 2 put 3 into tSkip put empty into tData2 put the millisec into tStart repeat for each line tLine in tData switch case (tSkip < 3) put tSkip +1 into tSkip break case (tLine contains "1") put 1 into tSkip break default put tLine & cr after tData2 end switch end repeat put word 1 to -1 of tData2 into tData2 put the millisec into tEnd put tEnd - tStart into tTotal2 if (tData1 <> tData2) then answer "Error" breakpoint end if put "The line to be found is line " & (tPrefix + 1) & " of " & (tPrefix + tSuffix + 3) & cr after msg put "Single delete = " & tTotal1 & " ms" & cr after msg put "repeat for each = " & tTotal2 & " ms" & cr & cr after msg put tPrefix + 10 into tPrefix --CHANGE STEP SIZE HERE put tSuffix - 10 into tSuffix --CHANGE STEP SIZE HERE end repeat put "For " & (tPrefix + Tsuffix + 3) & " lines of data, if the line to be found is in the first " & (tPrefix/(tPrefix + Tsuffix + 3)*100) & "% of lines a single search and delete is faster than rebuilding the entire data." after msg end mouseup From katheryn.swynford at gmail.com Fri Mar 26 01:00:11 2010 From: katheryn.swynford at gmail.com (Judy Perry) Date: Thu, 25 Mar 2010 22:00:11 -0700 Subject: Spanish Voices In-Reply-To: <4C42F3D4-5B85-4845-A949-37EEB2A3691F@LinkIt.Com> References: <4C42F3D4-5B85-4845-A949-37EEB2A3691F@LinkIt.Com> Message-ID: <4be051071003252200l2af1c420s19f0aef65fdf45d7@mail.gmail.com> http://docs.info.apple.com/article.html?artnum=50638&sessionID=anonymous%7C41163539&kbhost=kbase.info.apple.com:80/ --references the Mexican Spanish http://www.mail-archive.com/wamug at wamug.org.au/msg32594.html --"The English and Mexican Spanish Text-To-Speech software came with the Power Macintosh G3 (beige) minitower and desktop computers. Both installers can be found on the Apple Macintosh CD, which allows you to reinstall your computer's system software. These components have been tested, and are supported on Power Macintosh G3 computers. Please read the "Using English Text-to-Speech" and "Using Mexican Spanish TTS" documents included with these installers for detailed information on how to use this software." It doesn't look good for poor, old, deprecated Carlos & Catalina :-( Judy From lan.kc.macmail at gmail.com Fri Mar 26 01:03:47 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 26 Mar 2010 13:03:47 +0800 Subject: Connecting Rev stack to On-Rev mySQL DB? In-Reply-To: References: <055D2621-D225-43BA-886C-58B7211B5200@mac.com> Message-ID: Andre, Sarah, of the options you each suggested, any thoughts on which is more secure or are they both on par? Thanks From sarah.reichelt at gmail.com Fri Mar 26 01:25:11 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 26 Mar 2010 15:25:11 +1000 Subject: Connecting Rev stack to On-Rev mySQL DB? In-Reply-To: References: <055D2621-D225-43BA-886C-58B7211B5200@mac.com> Message-ID: On Fri, Mar 26, 2010 at 3:03 PM, Kay C Lan wrote: > Andre, Sarah, > > of the options you each suggested, any thoughts on which is more secure or > are they both on par? Andre probably knows more than me about such things, but I reckon my way is more secure. The password & login details are stored on the server, not in your app, and are not transmitted outside the server, so cannot be sniffed. Cheers, Sarah From richmondmathewson at gmail.com Fri Mar 26 02:25:15 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 26 Mar 2010 08:25:15 +0200 Subject: Spanish Voices In-Reply-To: <4be051071003252118y7680a579k6d1b80051407f9ff@mail.gmail.com> References: <4C42F3D4-5B85-4845-A949-37EEB2A3691F@LinkIt.Com> <4be051071003252118y7680a579k6d1b80051407f9ff@mail.gmail.com> Message-ID: <4BAC534B.5020000@gmail.com> On 26/03/2010 06:18, Judy Perry wrote: > Ray, > > The voices were "Carlos" and "Catalina". You might have to look on Apple's > website for Mexican/Spanish-language installs. I have long since forgotten > how I acquired them years ago. Probably ca. System 7 ;-) I may have a copy > somewhere... I'll look. > > Judy > > On Mon, Mar 22, 2010 at 12:05 PM, Ray Horsley wrote: > >> Anybody know how to acquire/install the Spanish voices for the RevSpeech >> library? I saw them years ago when I used Metacard for text-to-speech. >> There were just two; a male voice named Carlos and a female voice. I think >> they're part of QuickTime, but I don't see them using the RevSpeechVoices >> function. Here's what I currently get on my Mac using this function: >> >> > They are "there" on Mac OS 8, 8.5 and 9 system disks. From palcibiades-first at yahoo.co.uk Fri Mar 26 02:52:27 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 25 Mar 2010 22:52:27 -0800 (PST) Subject: Linux - Check for Updates broken In-Reply-To: <6FC96701-2F54-4721-8FAB-A7F1B77C4C9F@gmx.at> References: <6FC96701-2F54-4721-8FAB-A7F1B77C4C9F@gmx.at> Message-ID: <1269586347649-1691762.post@n4.nabble.com> Update has never worked in Linux - at least since before 2.6.1. So if it now shows what is available, even if it will not download it, it is making progress, it didn't even use to do that. There are a number of key indicators that the Linux version is being taken seriously as a professional product, and fixing this would be one of them. Not fixing it for year after year sends a very clear message too. -- View this message in context: http://n4.nabble.com/Linux-Check-for-Updates-broken-tp1690474p1691762.html Sent from the Revolution - User mailing list archive at Nabble.com. From lan.kc.macmail at gmail.com Fri Mar 26 03:10:08 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 26 Mar 2010 15:10:08 +0800 Subject: Roman Numerals Conversion In-Reply-To: References: <98112283-7FB9-4BD1-AFA7-BE5F2A7796E0@wanadoo.fr> Message-ID: Here's my version function rom2Ara theNumber constant i=1,v=5,x=10,l=50,c=100,d=500,m=1000 put 0 into tTotal put 1000 into tLastChar repeat for each char tChar in theNumber put value(tChar) into tNum -- how unfortunate if (tNum > tLastChar) then subtract (2*tLastChar) from tTotal end if add tNum to tTotal put tNum into tLastChar end repeat return tTotal end rom2Ara I had hoped for a Rev miracle in that the put value() step wasn't going to be required. I was hoping as Rev pulled out each char it would see that it was a constant and automatically convert it. Oh well ;-) This code is slightly slower than Marks romanToArab = 329 ms for 10000 repeats. (Marks) rom2Ara = 381 ms for 10000 repeats. (Mine) From lan.kc.macmail at gmail.com Fri Mar 26 03:21:48 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 26 Mar 2010 15:21:48 +0800 Subject: Connecting Rev stack to On-Rev mySQL DB? In-Reply-To: References: <055D2621-D225-43BA-886C-58B7211B5200@mac.com> Message-ID: Hi Sarah, but what's stopping me on mouseUp put "http://myusername.on-rev.com/readDB.irev" into tDBdata -- now display it end mouseUp to your account? Of course how would I know that you had an account, or that you had such a file? I liken this (and I might be wrong) to my wife who always ticks the box to 'remember password' and "login at start-up", which is great if I need to get onto her computer and access something, but it also means that anyone who gets past the initial login (get to the computer before it goes to sleep is what my kids normally do) virtually everything else is free access. Lets see what Andre thinks. On Fri, Mar 26, 2010 at 1:25 PM, Sarah Reichelt wrote: > On Fri, Mar 26, 2010 at 3:03 PM, Kay C Lan > wrote: > > Andre, Sarah, > > > > of the options you each suggested, any thoughts on which is more secure > or > > are they both on par? > > > Andre probably knows more than me about such things, but I reckon my > way is more secure. > The password & login details are stored on the server, not in your > app, and are not transmitted outside the server, so cannot be sniffed. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarah.reichelt at gmail.com Fri Mar 26 03:44:41 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 26 Mar 2010 17:44:41 +1000 Subject: Connecting Rev stack to On-Rev mySQL DB? In-Reply-To: References: <055D2621-D225-43BA-886C-58B7211B5200@mac.com> Message-ID: On Fri, Mar 26, 2010 at 5:21 PM, Kay C Lan wrote: > Hi Sarah, > > but what's stopping me > > on mouseUp > ?put "http://myusername.on-rev.com/readDB.irev" into tDBdata > ?-- now display it > end mouseUp > > to your account? Nothing :-) But you only get the results from my database, you don't get my password or user name. I am developing a couple of apps that use this technique. One is a web app, where web pages query the database and display the data directly, and another where a standalone app queries the database. In both cases, there are parameters that have to be sent to make the database script work correctly so I guess I am relying on the fact that nobody knows the web address of the irev files that query the server and after that, nobody knows exactly what parameters to send to this file to make it return any data. But this is an interesting discussion and I would love somebody more knowledgeable than me to weigh in with an expert opinion. Cheers, Sarah From jimaultwins at yahoo.com Fri Mar 26 04:23:57 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 26 Mar 2010 01:23:57 -0700 Subject: Connecting Rev stack to On-Rev mySQL DB? In-Reply-To: References: <055D2621-D225-43BA-886C-58B7211B5200@mac.com> Message-ID: <472CED8F-7756-47B6-9E3B-0B15FBDC7260@yahoo.com> There are several security systems out there, but if you are talking about sending variables to a program that interacts with a SQL database, then expert programmers can already know several things about how it operates. One attack is to send a variable (eg. homeAddress1) that actually contains an SQL command instead of a string (eg. 2347 Main Street), which can play havoc with a data table. The advantage to using a Rev cgi or and irev script is that the variables passed into that script can be handled in ways that most SQL programmers would not understand. Since you are building the SQL command using scripting language and not something like PHP or PERL, the odds are extremely low that -- someone would want to attack you -- someone would know how The safest way is to try to detect SQL commands in all of your variables and simply reject the query. Of course, if a robotic program finds your url and makes 100 queries per second, it will overload your server even though it will not damage your database. If you find such a case, you can block the IP address using .htaccess [ the cgi or irev script becomes invisible to that source IP ] or other technique at the server level. All of this can get quite esoteric if you are worried about attack from the unknown. However, in a classroom environment, the game is usually which student can figure out how to break something with a certain set of facts that give them a head start. You could always make one of the variables a version number that has to be correct in order to run the irev script. Change the script version number, stop the previous users. Jim Ault Las Vegas On Mar 26, 2010, at 12:44 AM, Sarah Reichelt wrote: > On Fri, Mar 26, 2010 at 5:21 PM, Kay C Lan > wrote: >> Hi Sarah, >> >> but what's stopping me >> >> on mouseUp >> put "http://myusername.on-rev.com/readDB.irev" into tDBdata >> -- now display it >> end mouseUp >> >> to your account? > > > Nothing :-) > > But you only get the results from my database, you don't get my > password or user name. > I am developing a couple of apps that use this technique. One is a web > app, where web pages query the database and display the data directly, > and another where a standalone app queries the database. > > In both cases, there are parameters that have to be sent to make the > database script work correctly so I guess I am relying on the fact > that nobody knows the web address of the irev files that query the > server and after that, nobody knows exactly what parameters to send to > this file to make it return any data. > > But this is an interesting discussion and I would love somebody more > knowledgeable than me to weigh in with an expert opinion. > > Cheers, > Sarah From alex at tweedly.net Fri Mar 26 06:13:36 2010 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 26 Mar 2010 10:13:36 +0000 Subject: Deleting Data Woefully Slow In-Reply-To: <26328417890.20100325181612@ahsoftware.net> References: <4BAB5245.4030507@fourthworld.com> <4BAC068C.3000102@tweedly.net> <26328417890.20100325181612@ahsoftware.net> Message-ID: <4BAC88D0.3000704@tweedly.net> Mark Wieder wrote: > Alex- > > Thursday, March 25, 2010, 5:57:48 PM, you wrote: > > >> delete line -1 requires >> search for every CR (i.e. scan every char in the whole large >> piece of data) >> adjust some pointer to truncate >> > > Not necessarily. See my response to Richard. I'd find the end of the > text and work my way back. > > You're right Mark. When I said "requires" I should have said "currently does" - or even "appears to currently do" :-) It looks like it would be a worthwhile change to use rindex (or equivalent) for all references to "line -N". -- Alex. From ambassador at fourthworld.com Fri Mar 26 10:22:25 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 26 Mar 2010 07:22:25 -0700 Subject: Linux - Check for Updates broken Message-ID: <4BACC321.1090104@fourthworld.com> Peter Alcibiades wrote: > Update has never worked in Linux - at least since before 2.6.1. So if it now > shows what is available, even if it will not download it, it is making > progress, it didn't even use to do that. Yes, I've found that curious as well. In my own work with Rev on Linux I've found no issue which would prevent me from downloading stacks and decompressing their contents as easily there as on the other two supported platforms, so I can't imagine why that update mechanism on Linux is so oddly lacking. I couldn't find an RQCC report for this so I just filed one: -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From wow at together.net Fri Mar 26 10:26:42 2010 From: wow at together.net (Richard Miller) Date: Fri, 26 Mar 2010 10:26:42 -0400 Subject: Need a Rev DLL wrapper In-Reply-To: <4BAC88D0.3000704@tweedly.net> References: <4BAB5245.4030507@fourthworld.com> <4BAC068C.3000102@tweedly.net> <26328417890.20100325181612@ahsoftware.net> <4BAC88D0.3000704@tweedly.net> Message-ID: <4BACC422.7090105@together.net> I have a DLL (and all the original C++ components) I want to access through Rev. I haven't found a straightforward way to create a Rev wrapper for this, since I don't know C++. Suggestions? I am willing to pay someone experienced in this process to create the wrapper, assuming it can be done quickly and at reasonable cost. Please reply to me offlist. Thanks. Richard Miller From andre at andregarzia.com Fri Mar 26 11:04:41 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 26 Mar 2010 12:04:41 -0300 Subject: Need a Rev DLL wrapper In-Reply-To: <4BACC422.7090105@together.net> References: <4BAB5245.4030507@fourthworld.com> <4BAC068C.3000102@tweedly.net> <26328417890.20100325181612@ahsoftware.net> <4BAC88D0.3000704@tweedly.net> <4BACC422.7090105@together.net> Message-ID: <7c87a2a11003260804r559f8f30gd58f2b9a7193696b@mail.gmail.com> Richard, Can't you call that DLL with VBScript? Might be easier than writing an external Cheers andre On Fri, Mar 26, 2010 at 11:26 AM, Richard Miller wrote: > I have a DLL (and all the original C++ components) I want to access through > Rev. I haven't found a straightforward way to create a Rev wrapper for this, > since I don't know C++. > > Suggestions? > > I am willing to pay someone experienced in this process to create the > wrapper, assuming it can be done quickly and at reasonable cost. Please > reply to me offlist. > > Thanks. > Richard Miller > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From effendi at wanadoo.fr Fri Mar 26 11:10:49 2010 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Fri, 26 Mar 2010 16:10:49 +0100 Subject: Roman Numerals Conversion Message-ID: <1018DFE4-4753-44BE-88E0-AF21CFDBEBF6@wanadoo.fr> Hi from Beautiful Brittany, Thanks to Mark, Richmond and Sarah. I knew you could do it !! -Francis From wow at together.net Fri Mar 26 11:12:22 2010 From: wow at together.net (Richard Miller) Date: Fri, 26 Mar 2010 11:12:22 -0400 Subject: Need a Rev DLL wrapper In-Reply-To: <7c87a2a11003260804r559f8f30gd58f2b9a7193696b@mail.gmail.com> References: <4BAB5245.4030507@fourthworld.com> <4BAC068C.3000102@tweedly.net> <26328417890.20100325181612@ahsoftware.net> <4BAC88D0.3000704@tweedly.net> <4BACC422.7090105@together.net> <7c87a2a11003260804r559f8f30gd58f2b9a7193696b@mail.gmail.com> Message-ID: <4BACCED6.4020701@together.net> Andre, Is this the info to follow to try this: http://www.sonsothunder.com/devres/revolution/tips/ext002.htm Thanks. Richard On 3/26/2010 11:04 AM, Andre Garzia wrote: > Richard, > > Can't you call that DLL with VBScript? Might be easier than writing an > external > > Cheers > andre > > On Fri, Mar 26, 2010 at 11:26 AM, Richard Miller wrote: > > >> I have a DLL (and all the original C++ components) I want to access through >> Rev. I haven't found a straightforward way to create a Rev wrapper for this, >> since I don't know C++. >> >> Suggestions? >> >> I am willing to pay someone experienced in this process to create the >> wrapper, assuming it can be done quickly and at reasonable cost. Please >> reply to me offlist. >> >> Thanks. >> Richard Miller >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > > From andre at andregarzia.com Fri Mar 26 11:16:59 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 26 Mar 2010 12:16:59 -0300 Subject: Roman Numerals Conversion In-Reply-To: <1018DFE4-4753-44BE-88E0-AF21CFDBEBF6@wanadoo.fr> References: <1018DFE4-4753-44BE-88E0-AF21CFDBEBF6@wanadoo.fr> Message-ID: <7c87a2a11003260816v7f0b64b0j1318e4ad4ea4c81a@mail.gmail.com> Folks, this is brilliant! Now we should change bugzilla ids to roman numerals, everything would start looking very official and political (we use some roman numerals for official stuff here in Brazil). Just imagine: BUG DCCCII: Fixed. :D On Fri, Mar 26, 2010 at 12:10 PM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > Thanks to Mark, Richmond and Sarah. > > I knew you could do it !! > > -Francis > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From devin_asay at byu.edu Fri Mar 26 11:20:14 2010 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 26 Mar 2010 09:20:14 -0600 Subject: Connecting Rev stack to On-Rev mySQL DB? In-Reply-To: <7c87a2a11003251356q9fc3839q96fd00731b8965e8@mail.gmail.com> References: <055D2621-D225-43BA-886C-58B7211B5200@mac.com> <7c87a2a11003251356q9fc3839q96fd00731b8965e8@mail.gmail.com> Message-ID: <1C58589E-CDD4-4E2D-8E35-9120A40554DC@byu.edu> On Mar 25, 2010, at 2:56 PM, Andre Garzia wrote: > John, > > check the allowed hosts on your control panel, add the % wildcard > there. > > Cheers > andre > PS: Power grid failure over here, working on batts, sorry for the > hushed > reply This is in fact what I have done on my MySQL account to make db's accessible from outside my on-rev domain. Beyond that, the advice from Sarah, Andre, Kay, and Jim is valuable with regard to security issues. BTW, it's not obvious from the on-rev CPanel where to make the change to the allowed hosts. Under Databases click Remote MySQL. There you can add specific allowed IP addresses, DNS names, or the '%' wildcard. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From andre at andregarzia.com Fri Mar 26 11:21:03 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 26 Mar 2010 12:21:03 -0300 Subject: Need a Rev DLL wrapper In-Reply-To: <4BACCED6.4020701@together.net> References: <4BAB5245.4030507@fourthworld.com> <4BAC068C.3000102@tweedly.net> <26328417890.20100325181612@ahsoftware.net> <4BAC88D0.3000704@tweedly.net> <4BACC422.7090105@together.net> <7c87a2a11003260804r559f8f30gd58f2b9a7193696b@mail.gmail.com> <4BACCED6.4020701@together.net> Message-ID: <7c87a2a11003260821te1ce4c4y4533a55041d6ce1d@mail.gmail.com> Yes Exactly that info! I never tried for I am a mac/linux guy but it should get you going. On Fri, Mar 26, 2010 at 12:12 PM, Richard Miller wrote: > Andre, > > Is this the info to follow to try this: > > http://www.sonsothunder.com/devres/revolution/tips/ext002.htm > > Thanks. > Richard > > > > > On 3/26/2010 11:04 AM, Andre Garzia wrote: > >> Richard, >> >> Can't you call that DLL with VBScript? Might be easier than writing an >> external >> >> Cheers >> andre >> >> On Fri, Mar 26, 2010 at 11:26 AM, Richard Miller >> wrote: >> >> >> >>> I have a DLL (and all the original C++ components) I want to access >>> through >>> Rev. I haven't found a straightforward way to create a Rev wrapper for >>> this, >>> since I don't know C++. >>> >>> Suggestions? >>> >>> I am willing to pay someone experienced in this process to create the >>> wrapper, assuming it can be done quickly and at reasonable cost. Please >>> reply to me offlist. >>> >>> Thanks. >>> Richard Miller >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >>> >> >> >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From rene.micout at numericable.com Fri Mar 26 11:23:33 2010 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 26 Mar 2010 16:23:33 +0100 Subject: Roman Numerals Conversion In-Reply-To: <1018DFE4-4753-44BE-88E0-AF21CFDBEBF6@wanadoo.fr> References: <1018DFE4-4753-44BE-88E0-AF21CFDBEBF6@wanadoo.fr> Message-ID: <094558F3-2DB7-4412-9B3C-47D8E543BA27@numericable.com> Even if I am not the author of this question, I also say : thank you !! Ren? from Paris Le 26 mars 2010 ? 16:10, Francis Nugent Dixon a ?crit : > Hi from Beautiful Brittany, > > Thanks to Mark, Richmond and Sarah. > > I knew you could do it !! > > -Francis > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From andre at andregarzia.com Fri Mar 26 11:58:40 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 26 Mar 2010 12:58:40 -0300 Subject: Connecting Rev stack to On-Rev mySQL DB? In-Reply-To: <1C58589E-CDD4-4E2D-8E35-9120A40554DC@byu.edu> References: <055D2621-D225-43BA-886C-58B7211B5200@mac.com> <7c87a2a11003251356q9fc3839q96fd00731b8965e8@mail.gmail.com> <1C58589E-CDD4-4E2D-8E35-9120A40554DC@byu.edu> Message-ID: <7c87a2a11003260858m8377378ye7839fafc9fb8010@mail.gmail.com> Kay, I think that the safest method is: a) Use a server side RevServer file to do all your database routines. Never talk directly to the database but instead, talk to your RevServer middleware. b) Make it so that your client application and your RevServer middleware do some kind of special handshake to recognize each other. c) use HTTPS for all communication between client and server (so that Evil H4ck3r will not sniff you) d) Make sure this handshake does not involve the same password as the db password (I am guilt of doing this once) To create the RevServer part, you might want to check out http://revIgniter.com or http://hg.andregarzia.com/revSparkle (soon to be renamed revSpark as per Kee suggestion) which are booth web frameworks that will make your life easier. Cheers andre On Fri, Mar 26, 2010 at 12:20 PM, Devin Asay wrote: > > On Mar 25, 2010, at 2:56 PM, Andre Garzia wrote: > > John, >> >> check the allowed hosts on your control panel, add the % wildcard there. >> >> Cheers >> andre >> PS: Power grid failure over here, working on batts, sorry for the hushed >> reply >> > > This is in fact what I have done on my MySQL account to make db's > accessible from outside my on-rev domain. Beyond that, the advice from > Sarah, Andre, Kay, and Jim is valuable with regard to security issues. > > BTW, it's not obvious from the on-rev CPanel where to make the change to > the allowed hosts. Under Databases click Remote MySQL. There you can add > specific allowed IP addresses, DNS names, or the '%' wildcard. > > Devin > > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From userev at canelasoftware.com Fri Mar 26 11:59:14 2010 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 26 Mar 2010 08:59:14 -0700 Subject: socket write/read conflict? In-Reply-To: <1e91b2b71003231950l607c98a4q96dfacbf52dd53b0@mail.gmail.com> References: <1e91b2b71003222014l51b860b1q1f3c3777d144dd27@mail.gmail.com> <4BA91FD2.1060008@tweedly.net> <1e91b2b71003231950l607c98a4q96dfacbf52dd53b0@mail.gmail.com> Message-ID: <0FFDAFB9-CB66-4559-B252-8A6FE2AE4986@canelasoftware.com> On Mar 23, 2010, at 7:50 PM, Nicolas Cueto wrote: > A question about something Alex wrote. > > -- And thank you, Alex. I'll be trying out what you wrote and see what > happens. As for logging the results, I'd been doing that already, by > having the script put results into a field. Odd thing is, this writing > to a field seemed to have solved the simultaneity problem. Which made > me think that printing the results caused a few milliseconds of delay > that gave the read-write chance to function as expected. But then the > problem reappeared. > > Anyway, to my question. > > What character should I use when reading/writing over sockets to > indicate the end of a line of trasmitted data? CR? LF? Something else > completely? > > Thanks. I use something like: "!@#$%" I make sure I append those characters to the end of data to be sent over a socket as well. Best regards, Mark Talluto http://www.canelasoftware.com From pmbrig at gmail.com Fri Mar 26 12:28:05 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Fri, 26 Mar 2010 12:28:05 -0400 Subject: socket write/read conflict? In-Reply-To: <0FFDAFB9-CB66-4559-B252-8A6FE2AE4986@canelasoftware.com> References: <1e91b2b71003222014l51b860b1q1f3c3777d144dd27@mail.gmail.com> <4BA91FD2.1060008@tweedly.net> <1e91b2b71003231950l607c98a4q96dfacbf52dd53b0@mail.gmail.com> <0FFDAFB9-CB66-4559-B252-8A6FE2AE4986@canelasoftware.com> Message-ID: On Mar 26, 2010, at 11:59 AM, Mark Talluto wrote: > I use something like: "!@#$%" > I make sure I append those characters to the end of data to be sent > over a socket as well. "!@#$%" sounds like a swear word to me... (from the old comic book days) -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From johnpatten at mac.com Fri Mar 26 13:58:17 2010 From: johnpatten at mac.com (John Patten) Date: Fri, 26 Mar 2010 10:58:17 -0700 Subject: Connecting Rev stack to On-Rev mySQL DB? Message-ID: Thanks Sarah and Andre! I figured out the % wildcard for SQL but I like Sarah's irev strategy too. I'm attempting to modify what Sarah describes to include a search field on card and a WHERE in the SQL. Having a hard time getting my head around sending the POST to the irev script so that I can search by field in SQL and then returning the data to the stack. Here's where I'm at: --On the card- on mouseUp put cd fld "SearchName" into tTeacher libUrlFormData("name", tTeacher) post it to url "http://jpatten.on-rev.com/readDB.irev" put "http://jpatten.on-rev.com/readDB.irev" into tData put tData into fld "tempdata" ... --in the irev file put $_POST["name"] into tTeacher ( and then everything that Sarah describes below) My confusion comes from trying to submit two actions to the irev file, a POST of the card field text and the Open&Query of the database. What is the proper way to get the text (POST) included as a WHERE in the irev SQL action? Hope that made sense. Thank you! John Patten -----------------snip--------------------- Message: 17 Date: Fri, 26 Mar 2010 09:56:57 +1000 From: Sarah Reichelt Subject: Re: Connecting Rev stack to On-Rev mySQL DB? To: How to use Revolution Message-ID: Content-Type: text/plain; charset=ISO-8859-1 John, it looks like you are trying to access the database from outside the server. By default this is not permitted. There is a way to set up access from outside, but I don;t remember what it is. Search the list archives as I think it was discussed a few weeks ago. The more regular way of connecting is via an irev script file on your on-rev server. Here is how I do it: put this script into an irev file, replace all the *******'s with your own variables, and upload it to your on-rev site. In your Rev stack, use this script (assuming the irev script file is called "readDB.irev"): on mouseUp put "http://myusername.on-rev.com/readDB.irev" into tDBdata -- now display it end mouseUp For further refinements, edit the irev script to take a GET or POST parameter and apply that in the SELECT statement. Cheers, Sarah From jacque at hyperactivesw.com Fri Mar 26 14:15:39 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 26 Mar 2010 13:15:39 -0500 Subject: Need a Rev DLL wrapper In-Reply-To: <7c87a2a11003260804r559f8f30gd58f2b9a7193696b@mail.gmail.com> References: <4BAB5245.4030507@fourthworld.com> <4BAC068C.3000102@tweedly.net> <26328417890.20100325181612@ahsoftware.net> <4BAC88D0.3000704@tweedly.net> <4BACC422.7090105@together.net> <7c87a2a11003260804r559f8f30gd58f2b9a7193696b@mail.gmail.com> Message-ID: <4BACF9CB.1070908@hyperactivesw.com> Andre Garzia wrote: > Richard, > > Can't you call that DLL with VBScript? Might be easier than writing an > external I'd be careful with this. It was one of the reasons that Nortons decided someone's Rev app was a virus and quarantined it. Nortons is really picky. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rjb at robelko.com Fri Mar 26 14:33:45 2010 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 26 Mar 2010 19:33:45 +0100 Subject: [ANN] revSparkle minimalist web framework for RevServer In-Reply-To: <7c87a2a11003251351m5fec0cfam800788bbb75b67dd@mail.gmail.com> References: <7c87a2a11003251351m5fec0cfam800788bbb75b67dd@mail.gmail.com> Message-ID: On 25.03.10 at 17:51 -0300 Andre Garzia apparently wrote: >You can check the wiki at: > >http://bitbucket.org/andregarzia/revsparkle/wiki/Home > Wiki is really at http://bitbucket.org/andregarzia/revspark/wiki/Home Robert From andre at andregarzia.com Fri Mar 26 15:10:17 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 26 Mar 2010 16:10:17 -0300 Subject: [ANN] revSparkle minimalist web framework for RevServer In-Reply-To: References: <7c87a2a11003251351m5fec0cfam800788bbb75b67dd@mail.gmail.com> Message-ID: <7c87a2a11003261210t3dd17908j889d89de71500727@mail.gmail.com> Yes, I just renamed it! People pointed out that revSparkle was too similar to Sparkle, so I changed it to revSpark like half an hour ago. Am drafting some stuff to post here. new url: http://hg.andregarzia.com/revspark On Fri, Mar 26, 2010 at 3:33 PM, Robert Brenstein wrote: > On 25.03.10 at 17:51 -0300 Andre Garzia apparently wrote: > >> You can check the wiki at: >> >> http://bitbucket.org/andregarzia/revsparkle/wiki/Home >> >> > Wiki is really at http://bitbucket.org/andregarzia/revspark/wiki/Home > > Robert > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From devin_asay at byu.edu Fri Mar 26 16:26:05 2010 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 26 Mar 2010 14:26:05 -0600 Subject: Connecting Rev stack to On-Rev mySQL DB? In-Reply-To: References: Message-ID: On Mar 26, 2010, at 11:58 AM, John Patten wrote: > Thanks Sarah and Andre! > > I figured out the % wildcard for SQL but I like Sarah's irev strategy > too. I'm attempting to modify what Sarah describes to include a > search field on card and a WHERE in the SQL. Having a hard time > getting my head around sending the POST to the irev script so that I > can search by field in SQL and then returning the data to the stack. > > Here's where I'm at: > > --On the card- > on mouseUp > put cd fld "SearchName" into tTeacher > libUrlFormData("name", tTeacher) > post it to url "http://jpatten.on-rev.com/readDB.irev" > put "http://jpatten.on-rev.com/readDB.irev" into tData > put tData into fld "tempdata" > ... > > --in the irev file > put $_POST["name"] into tTeacher > ( and then everything that Sarah describes below) > > My confusion comes from trying to submit two actions to the irev file, > a POST of the card field text and the Open&Query of the database. What > is the proper way to get the text (POST) included as a WHERE in the > irev SQL action? John, A few weeks back I taught a block in my Rev class on creating irev scripts that respond to form requests in the context of creating custom database queries. I've just posted my class notes, which include an example of how this could be done. You may find them useful. (Or maybe you'll just find them way too basic. :) ) But it may give you some ideas. Go to http://revolution.byu.edu/indexgeneric.php. Scroll down to the section on Internet and Networking and see the links under Web Services and Server-side Scripting. Hope it is helpful. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From jakemartin at smashin.com Fri Mar 26 16:42:32 2010 From: jakemartin at smashin.com (Jake Martin) Date: Fri, 26 Mar 2010 16:42:32 -0400 Subject: revMobile Animation Message-ID: Greetings list, I?m a long time rev user (although new to the list) and am debating whether to join revMobile. Does anyone know what the animation abilities are (and will be)? Particularly, one of the most compelling user experience aspects of the iPhone is its smooth animation with core animation. Does Rev support (or plan on supporting) this? Does ?visual effect? work now? Is the frame rate of iteration remotely close enough to make decent looking animations, like page swipes, scrolling lists, etc? I?m cautiously excited for revMobile, but hesitant to stop learning Obj-C if revMobile won?t meet my needs on this platform... ? Jake From andrew at rjdfarm.com Fri Mar 26 16:52:18 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Fri, 26 Mar 2010 12:52:18 -0800 (PST) Subject: Crystal Reports Message-ID: <1269636738954-1692831.post@n4.nabble.com> Has anyone attempted an External or know anything about interfacing RunRev with a Crystal Report? I need to come up with a versatile reporting solution and they already have so many reports made in crystal reports that it would be perfect to continue to use them in some form. >From what I understand, its relatively easy to interface .Net with a crystal report. This may be the route that I have to go. -- View this message in context: http://n4.nabble.com/Crystal-Reports-tp1692831p1692831.html Sent from the Revolution - User mailing list archive at Nabble.com. From niconiko at gmail.com Fri Mar 26 18:11:10 2010 From: niconiko at gmail.com (Nicolas Cueto) Date: Sat, 27 Mar 2010 07:11:10 +0900 Subject: socket write/read conflict? In-Reply-To: <4BA91FD2.1060008@tweedly.net> References: <1e91b2b71003222014l51b860b1q1f3c3777d144dd27@mail.gmail.com> <4BA91FD2.1060008@tweedly.net> Message-ID: <1e91b2b71003261511t5923383erecc92194a23be184@mail.gmail.com> Found the problem. Alex Tweedly pointed out my use of "read from socket" was missing an "until". So, I added an "until LF" (rather than the "!@#$%" expletive), and, shbam, simultaneity problem gone. Thanks. -- Nicolas Cueto From jerry.daniels at me.com Fri Mar 26 19:25:44 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Fri, 26 Mar 2010 18:25:44 -0500 Subject: [ANN] Colorize and link while you type in tRev Message-ID: Script and object editor aficionados, We have added real time colorization and handler linking to tRev this week. Check out the video: http://reveditor.com/colorize-while-you-type New colorize preference: - Colorize smoothly while you type, delete or backspace + also creates handler links while you type + quoted strings without ending quote are colored red + left parens without matching right parens are colored red + after fetching object name for code during transparent inspection, string is colorized - Pasting into source field now colorizes pasted text - Comments colorized after commenting and uncommenting - Side effect: no insertion point "lag" while typing Enhanced auto-completion: - Auto-completion (clairvoyance) now faster, smoother (less screen blink) - This occurs in real time on keyDown rather than on the rebound during keyUp - Works with or without Colorize While Typing Enhanced commenting: - If the last line of a selection has no words in it, it will not be commented/uncommented - This is my favorite enhancement...been waiting for this for years Fixes: - Commenting entire handler no longer removes empty line after handler - Quiting tRev with a dirty tab no longer asks twice if it's ok - Stacks updating in browser more dependably Best, Jerry Daniels Buy tRev during your 7 day free trial and get 20% off: http://reveditor.com/tag/shouldiswitch From lan.kc.macmail at gmail.com Fri Mar 26 20:33:40 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 27 Mar 2010 08:33:40 +0800 Subject: Roman Numerals Conversion In-Reply-To: <7c87a2a11003260816v7f0b64b0j1318e4ad4ea4c81a@mail.gmail.com> References: <1018DFE4-4753-44BE-88E0-AF21CFDBEBF6@wanadoo.fr> <7c87a2a11003260816v7f0b64b0j1318e4ad4ea4c81a@mail.gmail.com> Message-ID: On Fri, Mar 26, 2010 at 11:16 PM, Andre Garzia wrote: > > Now we should change bugzilla ids to roman numerals, everything would start > looking very official and political (we use some roman numerals for > official > stuff here in Brazil). Just imagine: > > Which enhancement request am I to give my v votes ;-) From lan.kc.macmail at gmail.com Fri Mar 26 21:10:11 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 27 Mar 2010 09:10:11 +0800 Subject: [ANN] revSparkle minimalist web framework for RevServer In-Reply-To: <7c87a2a11003261210t3dd17908j889d89de71500727@mail.gmail.com> References: <7c87a2a11003251351m5fec0cfam800788bbb75b67dd@mail.gmail.com> <7c87a2a11003261210t3dd17908j889d89de71500727@mail.gmail.com> Message-ID: Andre, Thanks for the wiki and I think I get most of it but 1 thing confuses me: A simple URL Scheme: /hello will match: > > * /hello (Duh!) > > A URL Scheme with a place holder: /hello/:name will match: > > * /hello/Andre > * /hello/Lili > * /hello/Mark > * ... > You then have these two links: http://andregarzia.com/revspark/demo/hello/hello > http://andregarzia.com/revspark/demo/hello/hi > What happens when I do /hello/hi I do not get "Hi There!" but I get "Hello hi" as if 'hi' was my name. If my name was Hello, I don't get Hello Hello, but I get Hello World. So I don't understand the precedence here, it doesn't seem consistent. Thanks From lan.kc.macmail at gmail.com Fri Mar 26 21:17:30 2010 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 27 Mar 2010 09:17:30 +0800 Subject: [ANN] revSparkle minimalist web framework for RevServer In-Reply-To: References: <7c87a2a11003251351m5fec0cfam800788bbb75b67dd@mail.gmail.com> <7c87a2a11003261210t3dd17908j889d89de71500727@mail.gmail.com> Message-ID: On Sat, Mar 27, 2010 at 9:10 AM, Kay C Lan wrote: > Andre, > > If my name was Hello, I don't get Hello Hello, but I get Hello World. > > For clarification, if I 'Hello/Hello' I don't get Hello Hello but Hello World. So: 'hello/hello' doesn't match http://andregarzia.com/revspark/demo/hello/hello but matches http://andregarzia.com/revspark/demo/hello 'hello/hi' doesn't match http://andregarzia.com/revspark/demo/hello/hi but matches http://andregarzia.com/revspark/demo/hello/hello Why? From capellan2000 at gmail.com Fri Mar 26 21:33:08 2010 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 26 Mar 2010 21:03:08 -0430 Subject: Roman Numerals Conversion Message-ID: <3bbe202f1003261833l233d9157ke39c7d2721559b60@mail.gmail.com> These code examples for converting Roman numerals, remembers me a particular example from the book "Ilustrating C" that uses arrays in a quite clever way. If any of you have 2nd Edition of this book, you could find this example in pages 56-57. Alejandro From katir at hindu.org Fri Mar 26 22:28:53 2010 From: katir at hindu.org (Sivakatirswami) Date: Fri, 26 Mar 2010 16:28:53 -1000 Subject: Postfix-Sendmail problem on new OSX Serve (10.6.2) Message-ID: <4BAD6D65.9010601@hindu.org> We are setting up an new server here. Upgraded OS to OSX 10.6.2 suspect new version of Postfix and sendmail on board: My old cgi's that handle internal intranet "stuff" have this ancient call to sendmail that was working up until the upgrade: on startup put "/usr/sbin/sendmail -t" into mprocess open process mprocess for write write "From:" && "katir at hindu.org" & cr to process mprocess write "To:" && "katir at hindu.org" & cr to process mprocess write "Subject:" && "Test sendmail" & cr & cr to process mprocess write "This is a test" & cr to process mprocess close process mprocess if the result is not empty then put the result into tResponse else Put "Email was sent successfully." into tResponse put "Content-Type: text/html" & cr put "Content-Length:" && the length of tResponse & cr & cr put tResponse end if end startup If I ping this cgi in a browser, result is empty and we get "Email was sent successfully" But not true: no email is sent and the mail.log shows: Mar 26 16:19:07 hindu postfix/sendmail[68268]: fatal: _www(70): No recipient addresses found in message header. Sendmail is working find verified if I log in as admin in terminal and run % echo -e "This is a test" | sendmail -f katir at hindu.org katir at hindu.org and it goes thru with no problems. Now.. I *could* change my cgi build a cmd line string, but I have some more complex scenarios in other cgis and I would rather stay with a more verbose revTalk version of talking to the process. Any insights? Perhaps a simple tweak to PostFix config to accept "To: someEmail at SomeDomain.com" as valid input for "recipient" ?? TIA Sivakatirswami From katir at hindu.org Fri Mar 26 23:40:06 2010 From: katir at hindu.org (Sivakatirswami) Date: Fri, 26 Mar 2010 17:40:06 -1000 Subject: Script for tagging email addresses Message-ID: <4BAD7E16.9010302@hindu.org> anyone have an efficient script for tagging email address with links? let's say I have a chunk of plain text made up of one or more of these: And we want to replace them with links Mr. Wonder Boy 108 Webster Avenue 1004 Mount Zena, NEW ZEALAND E-mail: wonderboy at orcon.net.nz ? Mr. Wonder Boy 108 Webster Avenue 1004 Mount Zena, NEW ZEALAND E-mail: wonderboy at orcon.net.nz ? becomes: Mr. Wonder Boy 108 Webster Avenue 1004 Mount Zena, NEW ZEALAND E-mail: ? Mr. Wonder Boy 108 Webster Avenue 1004 Mount Zena, NEW ZEALAND E-mail: ? I was hoping to avoid replacetext and regEx as it will make it slow. anyone have this already wired up? thanks! Sivakatirswami From massung at gmail.com Sat Mar 27 00:09:52 2010 From: massung at gmail.com (Jeffrey Massung) Date: Fri, 26 Mar 2010 23:09:52 -0500 Subject: Script for tagging email addresses In-Reply-To: <4BAD7E16.9010302@hindu.org> References: <4BAD7E16.9010302@hindu.org> Message-ID: On Mar 26, 2010, at 10:40 PM, Sivakatirswami wrote: > anyone have an efficient script for tagging email address with links? I have used the algorithm below several time for similar needs. The basic concept is as follows: * Create a regular expression matching what you are looking for * Loop over the field finding matches and * Turning them into links I usually do the algorithm below in a field and just set the textStyle to "link" and change the linkText of the chunk. I've modified it for you to accept input text and create a new output text string with the HTML tags inserted. I don't know if that's what you really want, but it should give you an idea of how to proceed regardless. Note, since I'm modifying code from my library, it is untested and from memory, but should be close. function linkEmails pText local tPos local tStart local tEnd local tOutput local tRegex local tEmail put "\b([A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4})\b" into tRegex put 1 into tPos -- loop over the entire input text repeat until matchChunk(char tPos to -1 of pText, tRegex, tStart, tEnd) is false add tPos to tStart add tPos to tEnd -- first dump everything up to the email address and extract the address put char tPos to tStart - 1 ater tOutput put char tStart - 1 to tEnd -1 of pText into tEmail -- now put the email link put "" & tEmail & "" after tOutput -- advance and continue put tEnd into tPos end repeat -- dump what's left over put char tPos to -1 of pText into tOutput return tOutput end linkEmails From martyknapp at comcast.net Sat Mar 27 00:14:40 2010 From: martyknapp at comcast.net (Marty Knapp) Date: Fri, 26 Mar 2010 21:14:40 -0700 Subject: splash21 Site In-Reply-To: References: Message-ID: <4BAD8630.5040805@comcast.net> Probably many of you have seen the site splash21.on-rev.com which is a great example of an On-Rev site. Sign up and you can download the files for the whole site. I did so and uploaded to my On-Rev account and have been trying to learn its inner workings. I'm pretty new to most of this, but I have the site up and running, the MySQL database setup, but I can't get the signup feature to work. It accepts the signup and I can see the name and encrypted password in the MySQL database, but I can't login on the site. Has anyone gotten this to work? I'm wondering if it's a sendmail problem as I recall there was a recent discussion about that not working on On-Rev (though obviously the author of splash21 has theirs working . . .) I did try a note to the author of splash21 through the contact form but haven't heard anything. I do appreciate them providing all their hard work on this. But like I said most of this is pretty new to me. If anyone has any help for me that would be great. Marty Knapp From sarah.reichelt at gmail.com Sat Mar 27 00:50:12 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 27 Mar 2010 14:50:12 +1000 Subject: Property profiles Message-ID: Has anyone ever actually used profiles? I haven't but I thought that I had a good use for them this time, so I tried to set them up. When I go to the profiles section of the inspector, I see a Master profile listed in bold. I created another 2 two profiles, planning to delete the Master later & switch between my two, So far so good, although when I made a profile in the Stack inspector, I expected to see it appear in the other objects inspectors too, so it's a bit of a bore if i have to create my profiles for every single object in my stack. But then I went to add a property to one of my profiles.It appeared to work, but when I clicked on another profile, then back on my new one, the property had gone. This happened whether I had entered a value or not. So are profiles broken? Or am I misunderstanding how to set them up? TIA, Sarah From jimaultwins at yahoo.com Sat Mar 27 01:57:30 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 26 Mar 2010 22:57:30 -0700 Subject: Script for tagging email addresses In-Reply-To: <4BAD7E16.9010302@hindu.org> References: <4BAD7E16.9010302@hindu.org> Message-ID: First, I think you have a typo... > > > E-mail: href="Mailto:wonderboy at orcon.net.nz"wonderboy at orcon.net.nz? is missing the closing '>' E-mail: wonderboy at orcon.net.nz? secondly, the href string does not have to be enclosed in quotes, so E-mail: wonderboy at orcon.net.nz? would work. ------- start code -------- -- assumes a masterList variable set to all lines -- 1000 email addresses takes about 6 seconds on an older Mac put masterList into emailLinesOnly filter emailLinesOnly with "*@*" set the itemDel to ":" repeat for each line LNN in emailLinesOnly put word 1 to -1 of item 2 of LNN & tab & 0 & cr after newLines -- the 0 is a placeholder end repeat filter newLines without empty split newLines using cr and tab --dups have now been removed --sequence does not matter put the keys of newLines into emailAddrList filter emailAddrList without empty set the itemdel to tab repeat for each line LNN in emailAddrList replace LNN with ("" & LNN & "") in masterList --handles duplicate email addresses in one replace step end repeat put masterList into msg ------- end code -------- Jim Ault Las Vegas On Mar 26, 2010, at 8:40 PM, Sivakatirswami wrote: > anyone have an efficient script for tagging email address with links? > > let's say I have a chunk of plain text made up of one or more of > these: > > And we want to replace them with links > > > Mr. Wonder Boy > 108 Webster Avenue > 1004 Mount Zena, > NEW ZEALAND > E-mail: wonderboy at orcon.net.nz ? > > Mr. Wonder Boy > 108 Webster Avenue > 1004 Mount Zena, > NEW ZEALAND > E-mail: wonderboy at orcon.net.nz ? > > becomes: > > Mr. Wonder Boy > 108 Webster Avenue > 1004 Mount Zena, > NEW ZEALAND > E-mail: href="Mailto:wonderboy at orcon.net.nz"wonderboy at orcon.net.nz? > > Mr. Wonder Boy > 108 Webster Avenue > 1004 Mount Zena, > NEW ZEALAND > E-mail: href="Mailto:wonderboy at orcon.net.nz"wonderboy at orcon.net.nz? > > I was hoping to avoid replacetext and regEx as it will make it slow. > > anyone have this already wired up? > > thanks! > > Sivakatirswami > From palcibiades-first at yahoo.co.uk Sat Mar 27 04:10:00 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 27 Mar 2010 00:10:00 -0800 (PST) Subject: Linux - Check for Updates broken In-Reply-To: <4BACC321.1090104@fourthworld.com> References: <6FC96701-2F54-4721-8FAB-A7F1B77C4C9F@gmx.at> <4BACC321.1090104@fourthworld.com> Message-ID: <1269677400337-1693178.post@n4.nabble.com> Richard Gaskin wrote: > > > I couldn't find an RQCC report for this so I just filed one: > > > Its pretty obvious that the overall Linux situation, including this, has to be the result of policy, so there is probably no point filing Linux bug reports. However, prove me wrong. When this works, and when the fabled media player comes out, and printing gets fixed in 4.5, I'll apologize in ALL CAPS. Promise. Peter -- View this message in context: http://n4.nabble.com/Linux-Check-for-Updates-broken-tp1690474p1693178.html Sent from the Revolution - User mailing list archive at Nabble.com. From marcio at cialogica.com.br Sat Mar 27 05:46:45 2010 From: marcio at cialogica.com.br (Marcio Alexandroni) Date: Sat, 27 Mar 2010 06:46:45 -0300 Subject: [ANN] Colorize and link while you type in tRev In-Reply-To: Message-ID: Hi Jerry, Great implementation Jerry, it really helps a lot coding with tRev! And thanks for accepting the suggestion, I really need to say you are fast, I wrote you asking if you had plans for this feature about 10 days ago and it's ready! Cheers! Marcio Alexandroni www.cialogica.com.br ( (11) 9989-8316 marcioalexandroni -- > From: Jerry Daniels > Reply-To: How to use Revolution > Date: Fri, 26 Mar 2010 18:25:44 -0500 > To: How to Use Revolution > Subject: [ANN] Colorize and link while you type in tRev > > Script and object editor aficionados, > > We have added real time colorization and handler linking to tRev this > week. Check out the video: > > http://reveditor.com/colorize-while-you-type > > New colorize preference: > - Colorize smoothly while you type, delete or backspace > + also creates handler links while you type > + quoted strings without ending quote are colored red > + left parens without matching right parens are colored red > + after fetching object name for code during transparent > inspection, string is colorized > - Pasting into source field now colorizes pasted text > - Comments colorized after commenting and uncommenting > - Side effect: no insertion point "lag" while typing > > Enhanced auto-completion: > - Auto-completion (clairvoyance) now faster, smoother (less screen > blink) > - This occurs in real time on keyDown rather than on the rebound > during keyUp > - Works with or without Colorize While Typing > > Enhanced commenting: > - If the last line of a selection has no words in it, it will not be > commented/uncommented > - This is my favorite enhancement...been waiting for this for years > > Fixes: > - Commenting entire handler no longer removes empty line after handler > - Quiting tRev with a dirty tab no longer asks twice if it's ok > - Stacks updating in browser more dependably > > Best, > > Jerry Daniels > > Buy tRev during your 7 day free trial and get 20% off: > http://reveditor.com/tag/shouldiswitch > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bdrunrev at gmail.com Sat Mar 27 05:47:09 2010 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sat, 27 Mar 2010 09:47:09 +0000 Subject: scripting applescript menu-clicking questions In-Reply-To: References: Message-ID: Thanks Sarah. I have a bug in my applescript that is hard to work out. But it certainly seems in the later versions that one can get e.g. Safari to do things with no "activate" command and the action takes place in an open Safari, without brining it to the front. I'll have to keep on at this to see if it is a workable solution. Bernard On Fri, Mar 26, 2010 at 12:03 AM, Sarah Reichelt wrote: > I am pretty sure that you can do this without the "activate" line. > > Scripting menu selections is weird in AppleScript, but here is a good > article about it: > > > Don't forget to activate "Enable access for assistive devices" in the > "Universal Access" system pref. From m.schonewille at economy-x-talk.com Sat Mar 27 06:42:00 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 27 Mar 2010 11:42:00 +0100 Subject: Property profiles In-Reply-To: References: Message-ID: Hi Sarah, Just like you, I tried to use profiles, before they were broken for 2 years. They seem to be fixed now, but profiles are too confusing for me. Modifiying a property of an object causes the property profiles of that object to change to make sure that the object stays unchanged for each alternative profile. If you set the textFont of an object to bold in one profile, the other property profiles of that object are explicitly set to plain. I also remember having problems trying to make the changes in the profiles stick. This makes working with profiles very cumbersome. You never know what the changes in the other profiles will be, when you make a change in one of them. Usually, I only need to change the font of controls, depending on platform. It is easy enough to do this by script. Colour adjustments for example, too, are easily made by script. You don't need to include a heavy profiles library for that. I expect you'll leave out a few bugs by using your own scripts instead of the profiles library. Just like the geometry manager, I consider the property profiles library one of the components that we'd better not use. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. Op 27 mrt 2010, om 05:50 heeft Sarah Reichelt het volgende geschreven: > Has anyone ever actually used profiles? > > I haven't but I thought that I had a good use for them this time, so I > tried to set them up. > When I go to the profiles section of the inspector, I see a Master > profile listed in bold. > I created another 2 two profiles, planning to delete the Master later > & switch between my two, > So far so good, although when I made a profile in the Stack inspector, > I expected to see it appear in the other objects inspectors too, so > it's a bit of a bore if i have to create my profiles for every single > object in my stack. > > But then I went to add a property to one of my profiles.It appeared to > work, but when I clicked on another profile, then back on my new one, > the property had gone. > This happened whether I had entered a value or not. > > So are profiles broken? Or am I misunderstanding how to set them up? > > TIA, > Sarah From david at vaudevillecourt.tv Sat Mar 27 07:24:56 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Sat, 27 Mar 2010 11:24:56 +0000 Subject: Versions and revWeb Message-ID: I'm wandering how the versions work between the Rev IDE and the RunRev plugin - I am getting a warning that "The application was built for a newer version of the plugin than you have installed." The plugin version in 1.0 and i used 4.5 dp2 for the build - in general how can I tell which plugin version is compatible with which engine build. I'm going to try building with earlier versions... but which one should I go back to? Also, the update button does not work in the dialogue that the browser throws - is this not implemented yet in 1.0? From richmondmathewson at gmail.com Sat Mar 27 08:05:08 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 27 Mar 2010 14:05:08 +0200 Subject: Linux - Check for Updates broken In-Reply-To: <1269677400337-1693178.post@n4.nabble.com> References: <6FC96701-2F54-4721-8FAB-A7F1B77C4C9F@gmx.at> <4BACC321.1090104@fourthworld.com> <1269677400337-1693178.post@n4.nabble.com> Message-ID: <4BADF474.4060406@gmail.com> On 27/03/2010 10:10, Peter Alcibiades wrote: > > Richard Gaskin wrote: >> >> I couldn't find an RQCC report for this so I just filed one: >> >> >> I can think of far more pressing concerns than 'only' the Update-thingy (unless, of course, the effort of checking manually is just too much effort), such as . . . Fonts . . . :) > Its pretty obvious that the overall Linux situation, including this, has to > be the result of policy, You may be being a little hard: it might be a good idea to reflect on the on sins of omission versus sins of commission . . . or, put it another way; when one's attention is focussed in one particular area it is easy to overlook or neglect another. > so there is probably no point filing Linux bug > reports. However, prove me wrong. When this works, and when the fabled > media player comes out, If one were really desperate for a media player I am sure that the good people who made Stack-Runner would lob you a recipe to cobble one together for Linux . . . :) > and printing gets fixed in 4.5, I'll apologize in > ALL CAPS. Promise. Umm; can I joint in the "Love-Fest" too? > Peter From andre at andregarzia.com Sat Mar 27 08:43:56 2010 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 27 Mar 2010 09:43:56 -0300 Subject: Script for tagging email addresses In-Reply-To: References: <4BAD7E16.9010302@hindu.org> Message-ID: <7c87a2a11003270543s18ca0aa3mca881835d9ad07e1@mail.gmail.com> You should enquote the href string or you will be unable to parse it with a XML library later, also your code will not be XHTML compliant. On Sat, Mar 27, 2010 at 2:57 AM, Jim Ault wrote: > First, I think you have a typo... > > >> >> E-mail: > ? >> > is missing the closing '>' > > E-mail: wonderboy at orcon.net.nz > ? > > secondly, the href string does not have to be enclosed in quotes, so > > E-mail: wonderboy at orcon.net.nz? > would work. > > > ------- start code -------- > -- assumes a masterList variable set to all lines > -- 1000 email addresses takes about 6 seconds on an older Mac > > put masterList into emailLinesOnly > filter emailLinesOnly with "*@*" > set the itemDel to ":" > > repeat for each line LNN in emailLinesOnly > put word 1 to -1 of item 2 of LNN & tab & 0 & cr after newLines > -- the 0 is a placeholder > end repeat > filter newLines without empty > split newLines using cr and tab > --dups have now been removed > --sequence does not matter > put the keys of newLines into emailAddrList > filter emailAddrList without empty > set the itemdel to tab > repeat for each line LNN in emailAddrList > replace LNN with ("" & LNN & "") in masterList > --handles duplicate email addresses in one replace step > end repeat > > put masterList into msg > > ------- end code -------- > > Jim Ault > Las Vegas > > > On Mar 26, 2010, at 8:40 PM, Sivakatirswami wrote: > > anyone have an efficient script for tagging email address with links? >> >> let's say I have a chunk of plain text made up of one or more of these: >> >> And we want to replace them with links >> >> >> Mr. Wonder Boy >> 108 Webster Avenue >> 1004 Mount Zena, >> NEW ZEALAND >> E-mail: wonderboy at orcon.net.nz ? >> >> Mr. Wonder Boy >> 108 Webster Avenue >> 1004 Mount Zena, >> NEW ZEALAND >> E-mail: wonderboy at orcon.net.nz ? >> >> becomes: >> >> Mr. Wonder Boy >> 108 Webster Avenue >> 1004 Mount Zena, >> NEW ZEALAND >> E-mail: > ? >> >> Mr. Wonder Boy >> 108 Webster Avenue >> 1004 Mount Zena, >> NEW ZEALAND >> E-mail: > ? >> >> I was hoping to avoid replacetext and regEx as it will make it slow. >> >> anyone have this already wired up? >> >> thanks! >> >> Sivakatirswami >> >> > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From jimaultwins at yahoo.com Sat Mar 27 08:46:28 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Sat, 27 Mar 2010 05:46:28 -0700 Subject: Script for tagging email addresses In-Reply-To: <7c87a2a11003270543s18ca0aa3mca881835d9ad07e1@mail.gmail.com> References: <4BAD7E16.9010302@hindu.org> <7c87a2a11003270543s18ca0aa3mca881835d9ad07e1@mail.gmail.com> Message-ID: Thanks for the XHTML compliant tip, Andre. Good to know. Jim Ault Las Vegas On Mar 27, 2010, at 5:43 AM, Andre Garzia wrote: > You should enquote the href string or you will be unable to parse it > with a > XML library later, also your code will not be XHTML compliant. > > On Sat, Mar 27, 2010 at 2:57 AM, Jim Ault > wrote: > >> First, I think you have a typo... >> >> >>> >>> E-mail: >> href="Mailto:wonderboy at orcon.net.nz"wonderboy at orcon.net.nz >>> ? >>> >> is missing the closing '>' >> >> E-mail: > href="Mailto:wonderboy at orcon.net.nz">wonderboy at orcon.net.nz >> ? >> >> secondly, the href string does not have to be enclosed in quotes, so >> >> E-mail: > href=Mailto:wonderboy at orcon.net.nz>wonderboy at orcon.net.nz? >> would work. >> From len-morgan at crcom.net Sat Mar 27 09:32:33 2010 From: len-morgan at crcom.net (Len Morgan) Date: Sat, 27 Mar 2010 08:32:33 -0500 Subject: Custom Control Design Tutorial Message-ID: <4BAE08F1.9050103@crcom.net> Has anyone created a tutorial for creating and using a custom control? What I'd like to end up with is a custom control that I could copy onto a stack similar to Trevor's Data Grid. As an example, I've been tasked with redesigning the GUI for a pipeline control system that comprises various tanks, pumps, valves, etc. and I'd like to just create one of each and be able to put multiple instances on a "page" (the system currently uses 6 HUGE monitors hung on the wall of the control room). To the a "water tank" as an example, it needs the following: It needs to look like a water tank (cylinder of varying hieght) with "water" in it that goes up and down to reflect the amount of water that is actually in the tank. A number to show the current level (in feet) that is in the tank. Some parameters like tank height, spill height, minimum level with an alarm if the level goes below it. A visual indication that it is spilling or has gotten too low. I created a little stack and I can do this graphically and I can set variables like currentTankLevel and have it change the number and the "water level" but it's not "portable" so I guess what I'm asking is if there is a tutorial that can tell me how to take this one-off widget I've created and turn it into a custom control/widget that I could copy on to a stack and then "set up" to make that instance unique? I know it will probably need behavior scripts and such, and I'm pretty sure all the pieces to do this are laying around in the mail archives somewhere but I was hoping that there was some sort of a step by step guide. Any pointers would be welcome. len morgan From jerry.daniels at me.com Sat Mar 27 09:42:34 2010 From: jerry.daniels at me.com (Jerry Daniels) Date: Sat, 27 Mar 2010 08:42:34 -0500 Subject: [ANN] Colorize and link while you type in tRev In-Reply-To: References: Message-ID: <9E6BCF0B-EE94-4380-BC95-40937C11D2FC@me.com> Marcio, Glad you like the feature! tRev's live text coloring was challenging because it has to include links to handlers. I found a way to make it work using a combination of arrays and htmltext. Best, Jerry Daniels Use tRev's buy link during your 7 day free trial to get 20% off: http://reveditor.com/tag/shouldiswitch On Mar 27, 2010, at 4:46 AM, Marcio Alexandroni wrote: > Hi Jerry, > > Great implementation Jerry, it really helps a lot coding with tRev! > And > thanks for accepting the suggestion, I really need to say you are > fast, I > wrote you asking if you had plans for this feature about 10 days ago > and > it's ready! > > Cheers! > > Marcio Alexandroni > www.cialogica.com.br > ( (11) 9989-8316 > marcioalexandroni > -- > > > >> From: Jerry Daniels >> Reply-To: How to use Revolution >> Date: Fri, 26 Mar 2010 18:25:44 -0500 >> To: How to Use Revolution >> Subject: [ANN] Colorize and link while you type in tRev >> >> Script and object editor aficionados, >> >> We have added real time colorization and handler linking to tRev this >> week. Check out the video: >> >> http://reveditor.com/colorize-while-you-type >> >> New colorize preference: >> - Colorize smoothly while you type, delete or backspace >> + also creates handler links while you type >> + quoted strings without ending quote are colored red >> + left parens without matching right parens are colored red >> + after fetching object name for code during transparent >> inspection, string is colorized >> - Pasting into source field now colorizes pasted text >> - Comments colorized after commenting and uncommenting >> - Side effect: no insertion point "lag" while typing >> >> Enhanced auto-completion: >> - Auto-completion (clairvoyance) now faster, smoother (less screen >> blink) >> - This occurs in real time on keyDown rather than on the rebound >> during keyUp >> - Works with or without Colorize While Typing >> >> Enhanced commenting: >> - If the last line of a selection has no words in it, it will not be >> commented/uncommented >> - This is my favorite enhancement...been waiting for this for years >> >> Fixes: >> - Commenting entire handler no longer removes empty line after >> handler >> - Quiting tRev with a dirty tab no longer asks twice if it's ok >> - Stacks updating in browser more dependably >> >> Best, >> >> Jerry Daniels >> >> Buy tRev during your 7 day free trial and get 20% off: >> http://reveditor.com/tag/shouldiswitch >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bvg at mac.com Sat Mar 27 10:18:18 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 27 Mar 2010 15:18:18 +0100 Subject: Custom Control Design Tutorial In-Reply-To: <4BAE08F1.9050103@crcom.net> References: <4BAE08F1.9050103@crcom.net> Message-ID: <34BD07C2-2EF3-4776-9281-6620522ADBBE@mac.com> I'm not sure what would make your "object" not be portable? the main things to look out for are: Changing the rectangle or location will of course change some movement dependant scripts. you need to look out for that if you do graphical stuff (like resizing a water level graphic for your tank). Use a group, and set its lockLoc to true. Generally It's easier to handle various objects that belong together if they're grouped. Keep your scripts together. Group all objects that belong to your "custom" object, and move all "toplevel" scripts into that group's script. Try to keep all custom properties in that group too, so that you have one place to go to for setting stuff and calling scripts. To be able to identify the correct "object" when there's several on one card, I suggest to change the groups name to something unique. Beyond that, there's really no additional measure to take, unless I misinterpreted your question. On 27 Mar 2010, at 14:32, Len Morgan wrote: > Has anyone created a tutorial for creating and using a custom control? What I'd like to end up with is a custom control that I could copy onto a stack similar to Trevor's Data Grid. As an example, I've been tasked with redesigning the GUI for a pipeline control system that comprises various tanks, pumps, valves, etc. and I'd like to just create one of each and be able to put multiple instances on a "page" (the system currently uses 6 HUGE monitors hung on the wall of the control room). > > To the a "water tank" as an example, it needs the following: > > It needs to look like a water tank (cylinder of varying hieght) with "water" in it that goes up and down to reflect the amount of water that is actually in the tank. > > A number to show the current level (in feet) that is in the tank. > Some parameters like tank height, spill height, minimum level with an alarm if the level goes below it. > A visual indication that it is spilling or has gotten too low. > > I created a little stack and I can do this graphically and I can set variables like currentTankLevel and have it change the number and the "water level" but it's not "portable" so I guess what I'm asking is if there is a tutorial that can tell me how to take this one-off widget I've created and turn it into a custom control/widget that I could copy on to a stack and then "set up" to make that instance unique? > > I know it will probably need behavior scripts and such, and I'm pretty sure all the pieces to do this are laying around in the mail archives somewhere but I was hoping that there was some sort of a step by step guide. > > Any pointers would be welcome. > > len morgan -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From len-morgan at crcom.net Sat Mar 27 10:32:23 2010 From: len-morgan at crcom.net (Len Morgan) Date: Sat, 27 Mar 2010 09:32:23 -0500 Subject: Custom Control Design Tutorial In-Reply-To: <34BD07C2-2EF3-4776-9281-6620522ADBBE@mac.com> References: <4BAE08F1.9050103@crcom.net> <34BD07C2-2EF3-4776-9281-6620522ADBBE@mac.com> Message-ID: <4BAE16F7.9050007@crcom.net> Maybe *I'm* the one that's misinterpreted the question! :-) I think what you're telling me is that I'm over engineering the problem and that all I'm really after is a self-contained group that has all of the functions I'd need to manipulate the tank which I would then copy (or clone?) as many times as I needed to get the required number of tanks. I guess in the end, a Data Grid is nothing more than a group. This actually brings up another question though: There are some cases of tanks in the current system that display the feet of water in the tank next to the tank, and some where the number is shown IN the tank. If we temporarily ignore how I'd let the user move around the component parts of a tank (assuming I'd let them), what are the "locations" of the components in the group (i.e., oval and rectangle for water graphic, text box for numeric level, etc) telling me? Are they the physical locations on the screen at that instant or are they (or can they be) relative to the location of the group as a whole? len morgan On 3/27/2010 9:18 AM, Bj?rnke von Gierke wrote: > I'm not sure what would make your "object" not be portable? > > the main things to look out for are: > > Changing the rectangle or location will of course change some movement dependant scripts. you need to look out for that if you do graphical stuff (like resizing a water level graphic for your tank). > > Use a group, and set its lockLoc to true. Generally It's easier to handle various objects that belong together if they're grouped. > > Keep your scripts together. Group all objects that belong to your "custom" object, and move all "toplevel" scripts into that group's script. > > Try to keep all custom properties in that group too, so that you have one place to go to for setting stuff and calling scripts. > > To be able to identify the correct "object" when there's several on one card, I suggest to change the groups name to something unique. > > Beyond that, there's really no additional measure to take, unless I misinterpreted your question. > > On 27 Mar 2010, at 14:32, Len Morgan wrote: > > >> Has anyone created a tutorial for creating and using a custom control? What I'd like to end up with is a custom control that I could copy onto a stack similar to Trevor's Data Grid. As an example, I've been tasked with redesigning the GUI for a pipeline control system that comprises various tanks, pumps, valves, etc. and I'd like to just create one of each and be able to put multiple instances on a "page" (the system currently uses 6 HUGE monitors hung on the wall of the control room). >> >> To the a "water tank" as an example, it needs the following: >> >> It needs to look like a water tank (cylinder of varying hieght) with "water" in it that goes up and down to reflect the amount of water that is actually in the tank. >> >> A number to show the current level (in feet) that is in the tank. >> Some parameters like tank height, spill height, minimum level with an alarm if the level goes below it. >> A visual indication that it is spilling or has gotten too low. >> >> I created a little stack and I can do this graphically and I can set variables like currentTankLevel and have it change the number and the "water level" but it's not "portable" so I guess what I'm asking is if there is a tutorial that can tell me how to take this one-off widget I've created and turn it into a custom control/widget that I could copy on to a stack and then "set up" to make that instance unique? >> >> I know it will probably need behavior scripts and such, and I'm pretty sure all the pieces to do this are laying around in the mail archives somewhere but I was hoping that there was some sort of a step by step guide. >> >> Any pointers would be welcome. >> >> len morgan >> > > > From richmondmathewson at gmail.com Sat Mar 27 12:04:43 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 27 Mar 2010 18:04:43 +0200 Subject: Fwd: Re: Linux - Check for Updates broken Message-ID: <4BAE2C9B.4030101@gmail.com> Hey, here we go again; replying to my own posting . . . :) > so there is probably no point filing Linux bug > reports. However, prove me wrong. When this works, and when the fabled > media player comes out, If one were really desperate for a media player I am sure that the good people who made Stack-Runner would lob you a recipe to cobble one together for Linux . . . :) Just downloaded the Linux version of StackRunner and it worked a charm; so any grumbling about a lack of a Media player is redundant! The only 'grunt' is that it doesn't sport a slinky icon - which is negligible. See, you lovely people at RunRev; not always negative - I have just saved you a spot of work . . . :) From scott at tactilemedia.com Sat Mar 27 13:42:41 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 27 Mar 2010 10:42:41 -0700 Subject: Custom Control Design Tutorial In-Reply-To: <4BAE16F7.9050007@crcom.net> Message-ID: Recently, Len Morgan wrote: > This actually brings up another question though: There are some cases of > tanks in the current system that display the feet of water in the tank > next to the tank, and some where the number is shown IN the tank. If we > temporarily ignore how I'd let the user move around the component parts > of a tank (assuming I'd let them), what are the "locations" of the > components in the group (i.e., oval and rectangle for water graphic, > text box for numeric level, etc) telling me? Are they the physical > locations on the screen at that instant or are they (or can they be) > relative to the location of the group as a whole? If I understand your question, locations are always relative to the card. But you can use the dimensions/locations of elements in the group as reference points. Regards, Scott Rossi Creative Director Tactile Media, UX Design From mdswindell at cruzio.com Sat Mar 27 14:14:46 2010 From: mdswindell at cruzio.com (Mark Swindell) Date: Sat, 27 Mar 2010 11:14:46 -0700 Subject: dragging a stack around Message-ID: <33708F53-A895-4B02-9CB0-B4D322D26868@cruzio.com> How would one drag an entire window/stack around (for example, if the title bar becomes obstructed)? If I hold my mouse down over an empty piece of real estate I'd like to be able to drag the whole window from there, just as if I were dragging from the title bar. Thanks Mark From coiin at verizon.net Sat Mar 27 14:28:26 2010 From: coiin at verizon.net (Colin Holgate) Date: Sat, 27 Mar 2010 14:28:26 -0400 Subject: dragging a stack around In-Reply-To: <33708F53-A895-4B02-9CB0-B4D322D26868@cruzio.com> References: <33708F53-A895-4B02-9CB0-B4D322D26868@cruzio.com> Message-ID: There may be a neater way to do it, but this works (as a stack script): global startclickloc on mousedown put the loc of this stack into startloc put the clickloc into startclickloc send checkloc to this card in 5 end mousedown on checkloc if the mouse is up then exit checkloc put item 1 of the loc of this stack - item 1 of startclickloc + the mouseh, item 2 of the loc of this stack - item 2 of startclickloc + the mousev into newloc set the loc of this stack to newloc send checkloc to this card in 5 end checkloc From martyknapp at comcast.net Sat Mar 27 14:42:00 2010 From: martyknapp at comcast.net (Marty Knapp) Date: Sat, 27 Mar 2010 11:42:00 -0700 Subject: dragging a stack around In-Reply-To: <33708F53-A895-4B02-9CB0-B4D322D26868@cruzio.com> References: <33708F53-A895-4B02-9CB0-B4D322D26868@cruzio.com> Message-ID: <4BAE5178.1070305@comcast.net> Here's a script from Scott Rossi's WindowLab example stack: (put it in the stack scripts) local allowDrag on mouseDown put mouseH() & "," & mouseV() into allowDrag end mouseDown on mouseMove x,y if allowDrag is empty then exit mouseMove set topLeft of this stack to globalLoc(x-item 1 of allowDrag & "," & y-item 2 of allowDrag) end mouseMove on mouseUp put empty into allowDrag end mouseUp on mouseRelease mouseUp end mouseRelease -Marty Knapp > How would one drag an entire window/stack around (for example, if the title bar becomes obstructed)? If I hold my mouse down over an empty piece of real estate I'd like to be able to drag the whole window from there, just as if I were dragging from the title bar. > > Thanks > Mark_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From scott at tactilemedia.com Sat Mar 27 14:48:05 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 27 Mar 2010 11:48:05 -0700 Subject: dragging a stack around In-Reply-To: <4BAE5178.1070305@comcast.net> Message-ID: Recently, Marty Knapp wrote: > Here's a script from Scott Rossi's WindowLab example stack: The above was an old script -- one other handler (mouseEnter) should be added, just in case the routine ever gets "stuck". I place the following in the script of the first card (watch line wrap): local allowDrag on mouseEnter put "" into allowDrag end mouseEnter on mouseDown put mouseLoc() into allowDrag end mouseDown on mouseMove X,Y if allowDrag = "" then exit mouseMove set topLeft of this stack to globalLoc(X - item 1 of allowDrag & "," & Y - item 2 of allowDrag) end mouseMove on mouseUp put "" into allowDrag end mouseUp on mouseRelease mouseUp end mouseRelease Regards, Scott Rossi Creative Director Tactile Media, UX Design From len-morgan at crcom.net Sat Mar 27 14:47:49 2010 From: len-morgan at crcom.net (Len Morgan) Date: Sat, 27 Mar 2010 13:47:49 -0500 Subject: Custom Control Design Tutorial In-Reply-To: References: Message-ID: <4BAE52D5.1070403@crcom.net> That's what I was afraid of, but then, I should only have to figure it out once. len On 3/27/2010 12:42 PM, Scott Rossi wrote: > Recently, Len Morgan wrote: > > >> This actually brings up another question though: There are some cases of >> tanks in the current system that display the feet of water in the tank >> next to the tank, and some where the number is shown IN the tank. If we >> temporarily ignore how I'd let the user move around the component parts >> of a tank (assuming I'd let them), what are the "locations" of the >> components in the group (i.e., oval and rectangle for water graphic, >> text box for numeric level, etc) telling me? Are they the physical >> locations on the screen at that instant or are they (or can they be) >> relative to the location of the group as a whole? >> > If I understand your question, locations are always relative to the card. > But you can use the dimensions/locations of elements in the group as > reference points. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From coiin at verizon.net Sat Mar 27 15:09:03 2010 From: coiin at verizon.net (Colin Holgate) Date: Sat, 27 Mar 2010 15:09:03 -0400 Subject: dragging a stack around In-Reply-To: References: Message-ID: <9F5EF624-E6FB-46FB-95BF-C4C4DA9F69AF@verizon.net> Both scripts do essentially the same thing, though I like my one more! One interesting thing, I did first try typing on mouseMove, but that doesn't get colorized, making me think it didn't exist as an event. But then again, mouseDown doesn't get colorized either. From katir at hindu.org Sat Mar 27 16:58:01 2010 From: katir at hindu.org (Web Admin Himalayan Academy) Date: Sat, 27 Mar 2010 10:58:01 -1000 Subject: Script for tagging email addresses In-Reply-To: References: <4BAD7E16.9010302@hindu.org> Message-ID: <4BAE7159.7080406@hindu.org> Aloha, Jim: Brilliant, thank you. Yes, Andre is right, one wants definitely wants href values otherwise it can bite you later. repeat for each line LNN in emailAddrList put format ("" & LNN & "") into LNNLinked replace LNN with LNNLinked in masterList works... IOn 3/26/10 7:57 PM, Jim Ault wrote: > ------- start code -------- > -- assumes a masterList variable set to all lines > -- 1000 email addresses takes about 6 seconds on an older Mac > > put masterList into emailLinesOnly > filter emailLinesOnly with "*@*" > set the itemDel to ":" > > repeat for each line LNN in emailLinesOnly > put word 1 to -1 of item 2 of LNN & tab & 0 & cr after newLines > -- the 0 is a placeholder > end repeat > filter newLines without empty > split newLines using cr and tab > --dups have now been removed > --sequence does not matter > put the keys of newLines into emailAddrList > filter emailAddrList without empty > set the itemdel to tab > repeat for each line LNN in emailAddrList > replace LNN with ("" & LNN & "") in > masterList > --handles duplicate email addresses in one replace step > end repeat > > put masterList into msg > > ------- end code -------- > > Jim Ault > Las Vegas From palcibiades-first at yahoo.co.uk Sat Mar 27 19:01:03 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 27 Mar 2010 15:01:03 -0800 (PST) Subject: Fwd: Re: Linux - Check for Updates broken In-Reply-To: <4BAE2C9B.4030101@gmail.com> References: <4BAE2C9B.4030101@gmail.com> Message-ID: <1269730863372-1693813.post@n4.nabble.com> The issue is, either deliver, or remove the placeholder saying its coming shortly. Don't leave it there for years when there's no sign of any intention to deliver it. Far more important than whether the thing is delivered or not. Its sending a message, but its sending it in a completely cack-handed way, one that damages the company's reputation far more than simply saying, we don't intend doing this or that because we are not doing these things for Linux. We don't want to. For whatever reason. Maybe quite legitimate, who knows? You can get away with that. What you can't get away with is the pretence you are going to do it, followed by not doing it. Its just a stupid way to behave. I spent this afternoon trying to get the thing to print in Linux, realizing once again that its time to dig out the Awk book if I want to get it done this month.... Same thing, just tell me you are not going to do it. Or do it. Whichever. -- View this message in context: http://n4.nabble.com/Fwd-Re-Linux-Check-for-Updates-broken-tp1693492p1693813.html Sent from the Revolution - User mailing list archive at Nabble.com. From shani.runrev at gmail.com Sun Mar 28 00:40:04 2010 From: shani.runrev at gmail.com (Shani) Date: Sun, 28 Mar 2010 05:40:04 +0100 Subject: how to run.bat file in rev Message-ID: hay, all rev expert, Q1) how to run.bat file in runrev revolution. Q3) how to run this as run it from command prompt but i want to run it from Runrev. C:\jade>java jade.Boot buyer:BookBuyerAgent(The-Lord-of-the-rings) http://www.cs.uu.nl/docs/vakken/mas/JADEProgramming-Tutorial-for-beginners.pdf Q2) Rev Talk have how many built in function for socket programming If anyone has any help for me that would be great. Regards, shani From shani.runrev at gmail.com Sun Mar 28 01:47:25 2010 From: shani.runrev at gmail.com (Shani) Date: Sun, 28 Mar 2010 06:47:25 +0100 Subject: RevServer to JAVA client Message-ID: hay all, is this program is correct for Rev Server. is it communicate with java. what i change in rev or java Revserver coding ######################################################### on revServer c ##Opening socket with Java Cleint on port 6800 open socket("java Client" & : & (6800)) with message "Server Started" ## for reading the message from Socket just show that connectivity is establish read from socket ("Client") with the message " client says connected with me from server and it is Read from Client" ##write to socket show that it can write on client write field "I am Rev Server " to socket close socket ("java Client" & : & (6800)) with message "connection close" end revServer ########################################################## JAVA client ######################################################## import java.io.DataOutputStream; import java.io.IOException; import java.net.Socket; public class Cleint { public static void main (String[] args) throws IOException { Socket client= new Socket("localhost",6800); System.out.println("Connected to server"); DataOutputStream out = new DataOutputStream(client.getOutputStream()); out.writeUTF ("AllowServer"); } } ###########################################################3 From richmondmathewson at gmail.com Sun Mar 28 07:08:46 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 28 Mar 2010 14:08:46 +0300 Subject: Mac Classic build ??? Message-ID: <4BAF38BE.9090102@gmail.com> Can anyone tell me if the reason why the Mac Classic build in Studio 3.5 is non-functional ONLY because the standalone engine is not installed by default? From sarah.reichelt at gmail.com Sun Mar 28 07:59:55 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 28 Mar 2010 21:59:55 +1000 Subject: Property profiles In-Reply-To: References: Message-ID: Thanks Mark, I took your advice and did it myself. It was easy enough so I won't bother about profiles. Cheers, Sarah On Sat, Mar 27, 2010 at 8:42 PM, Mark Schonewille wrote: > Hi Sarah, > > Just like you, I tried to use profiles, before they were broken for 2 years. > They seem to be fixed now, but profiles are too confusing for me. > > Modifiying a property of an object causes the property profiles of that > object to change to make sure that the object stays unchanged for each > alternative profile. If you set the textFont of an object to bold in one > profile, the other property profiles of that object are explicitly set to > plain. I also remember having problems trying to make the changes in the > profiles stick. This makes working with profiles very cumbersome. You never > know what the changes in the other profiles will be, when you make a change > in one of them. > > Usually, I only need to change the font of controls, depending on platform. > It is easy enough to do this by script. Colour adjustments for example, too, > are easily made by script. You don't need to include a heavy profiles > library for that. I expect you'll leave out a few bugs by using your own > scripts instead of the profiles library. Just like the geometry manager, I > consider the property profiles library one of the components that we'd > better not use. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Economy-x-Talk is always looking for new software development projects. Feel > free to contact me for a quote. > > Op 27 mrt 2010, om 05:50 heeft Sarah Reichelt het volgende geschreven: > >> Has anyone ever actually used profiles? >> >> I haven't but I thought that I had a good use for them this time, so I >> tried to set them up. >> When I go to the profiles section of the inspector, I see a Master >> profile listed in bold. >> I created another 2 two profiles, planning to delete the Master later >> & switch between my two, >> So far so good, although when I made a profile in the Stack inspector, >> I expected to see it appear in the other objects inspectors too, so >> it's a bit of a bore if i have to create my profiles for every single >> object in my stack. >> >> But then I went to add a property to one of my profiles.It appeared to >> work, but when I clicked on another profile, then back on my new one, >> the property had gone. >> This happened whether I had entered a value or not. >> >> So are profiles broken? Or am I misunderstanding how to set them up? >> >> TIA, >> Sarah > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From len-morgan at crcom.net Sun Mar 28 09:03:43 2010 From: len-morgan at crcom.net (Len Morgan) Date: Sun, 28 Mar 2010 08:03:43 -0500 Subject: Getting the messages/handlers available for a button Message-ID: <4BAF53AF.9040701@crcom.net> This should be so simple but I can't get the instructions in the documentation to work: What I'd like to know is what handlers are available to a button. This would include not only scripts I've written for the button but also the ones that Rev has builtin (like mouseUp). It would be really cool if I could get any handlers along the way like in groups, cards, stacks that this button (or whatever control for that matter) is contained in/on. len morgan From andre at andregarzia.com Sun Mar 28 09:33:43 2010 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 28 Mar 2010 10:33:43 -0300 Subject: [ANN] revSparkle minimalist web framework for RevServer In-Reply-To: References: <7c87a2a11003251351m5fec0cfam800788bbb75b67dd@mail.gmail.com> <7c87a2a11003261210t3dd17908j889d89de71500727@mail.gmail.com> Message-ID: <7c87a2a11003280633x1406d95aua59caf276ba5b6e8@mail.gmail.com> Kay, I made a bug if clause in the hello.irev code. If clauses execute in order and I had something like: if match_get("/:name") then ... end if before something like if match_get("/hi") then ... end id I've also renamed the folder from hello to helloworld, because people were mixing the folder with the url being matched. So now, you can try things like: http://andregarzia.com/revspark/demo/helloworld/ http://andregarzia.com/revspark/demo/helloworld/source http://andregarzia.com/revspark/demo/helloworld/hello http://andregarzia.com/revspark/demo/helloworld/hi http://andregarzia.com/revspark/demo/helloworld/hello/Andre+Garzia http://andregarzia.com/revspark/demo/helloworld/sum/1/2 Cheers andre On Fri, Mar 26, 2010 at 10:17 PM, Kay C Lan wrote: > On Sat, Mar 27, 2010 at 9:10 AM, Kay C Lan > wrote: > > > Andre, > > > > If my name was Hello, I don't get Hello Hello, but I get Hello World. > > > > For clarification, if I 'Hello/Hello' I don't get Hello Hello but Hello > World. > > So: > > 'hello/hello' doesn't match > http://andregarzia.com/revspark/demo/hello/hello but matches > http://andregarzia.com/revspark/demo/hello< > http://andregarzia.com/revspark/demo/hello/hello> > > 'hello/hi' doesn't match http://andregarzia.com/revspark/demo/hello/hibut > matches http://andregarzia.com/revspark/demo/hello/hello > > Why? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Sun Mar 28 11:05:35 2010 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 28 Mar 2010 12:05:35 -0300 Subject: [ANN] revSparkle minimalist web framework example: wiki Message-ID: <7c87a2a11003280805kad377c8y6ec4dcc1d7473900@mail.gmail.com> Hey Folks, I managed to create simple demos and add to the repository at: http://hg.andregarzia.com/revspark First thing I created is a functional WIKI in 89 LOC, for everything. Feel free to play at: http://andregarzia.com/revspark/demo/wiki/ The source for the wiki can be downloaded from my repo or viewed online by going to: http://hg.andregarzia.com/revspark/src/tip/demo/wiki/wiki.irev Cheers Andre -- http://www.andregarzia.com All We Do Is Code. From niggemann at uni-wh.de Sun Mar 28 13:38:58 2010 From: niggemann at uni-wh.de (BNig) Date: Sun, 28 Mar 2010 09:38:58 -0800 (PST) Subject: Custom Control Design Tutorial In-Reply-To: <4BAE08F1.9050103@crcom.net> References: <4BAE08F1.9050103@crcom.net> Message-ID: <1269797938355-1694275.post@n4.nabble.com> Len, I liked the idea of a water tank and made a revlet that consists of the tank. You can drag the tank around, set width and height by sliders or fill the tank with a number. Be patient with the revlet: it somehow took 30 plus seconds before it responded to user input.(???) It is a self-contained group that you can copy and reuse as an object. http://berndniggemann.on-rev.com/abarrel/ I put 2 stacks up on my site http://berndniggemann.on-rev.com/barrel/ that contain the code etc. Tried to email the link to you, somehow did not get to you. regards Bernd -- View this message in context: http://n4.nabble.com/Custom-Control-Design-Tutorial-tp1693375p1694275.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sun Mar 28 14:50:32 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 28 Mar 2010 21:50:32 +0300 Subject: Printing in Linux Message-ID: <4BAFA4F8.3070504@gmail.com> Is at best a mess: Mucking around with RunRev 4 I managed a PRINT CARD from the IDE menu; although it allowed me to print to .PS (Postscript ???) only, which is slightly pointless as I wanted to PRINT the thing (i.e. get something coming out of my printer). However a PRINT CARD command from a button on a stack gave me a rotating 'beachball' for 2 l-o-n-g minutes resulting in nothing at all. Thought I'd have a bash with RunRev 2.2.1 using exactly the same stack: saved the stack as a "Legacy Stack " (funny, that, for me the semantics of 'legacy' make me think of some money my Granny left me, rather than old formats of program files; gosh, must be getting old), even worse: not a sausage. Which would seem to suggest: 1. something "has been done" between 2.2.1 and 4.0 as so far as printing goes, or 2. RunRev 2.2.1 doesn't like Ubuntu 10.04 Beta 1. Stiil; things "is" not satisfactory. [at the risk of being accused of singing a duet with Peter Alcibiades; I should like to point out that while I appreciate his coloratura and bravura singing I have never managed to sustain more than 3 bars before I go off on a plangent tangent . . . :)] From jacque at hyperactivesw.com Sun Mar 28 15:19:53 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 28 Mar 2010 14:19:53 -0500 Subject: Getting the messages/handlers available for a button In-Reply-To: <4BAF53AF.9040701@crcom.net> References: <4BAF53AF.9040701@crcom.net> Message-ID: <4BAFABD9.6060804@hyperactivesw.com> Len Morgan wrote: > This should be so simple but I can't get the instructions in the > documentation to work: > > What I'd like to know is what handlers are available to a button. This > would include not only scripts I've written for the button but also the > ones that Rev has builtin (like mouseUp). Open the dictionary, and in the panel at the left under the Objects category, click "Button". That lists all relevant button info. > It would be really cool if I > could get any handlers along the way like in groups, cards, stacks that > this button (or whatever control for that matter) is contained in/on. The message hierarchy only works in one direction, starting from the object that first receives the message and moving on toward the engine. That means that you can't easily retrieve messages sent to an object farther along the hierarchy unless you specifically use a "send" command to re-route it, or insert a frontscript to catch it before anything else does. Behaviors are the single, limited exception; they push a message "backward" to a subscribing object, but after that the message goes through the hierarchy normally. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jeff at siphonophore.com Sun Mar 28 15:29:39 2010 From: jeff at siphonophore.com (Jeff Reynolds) Date: Sun, 28 Mar 2010 15:29:39 -0400 Subject: Mac Classic build ??? In-Reply-To: <20100328170004.5C8E528808A@mail.runrev.com> References: <20100328170004.5C8E528808A@mail.runrev.com> Message-ID: <9AB47D05-7E34-4150-A02A-E6812344348E@siphonophore.com> Richard, from all i have heard mac classic build stopped at 2.6.1 and never officially made it into anything after that. 3 was to be the last, but i think that ended up being abandoned by that point as it was just too hard to keep it backwards compatible. for stuff that also needs mac classic build i build the stack in 261 then move it to later versions to make the pc and osx builds and build the classic in 261. figure thats the safest way to not do something in a later build that can be moved back to 261 for the classic build. in the ed publishing world the classic is just starting to go away for media. im hoping the next project will not have it in there, will be nice to move on as much as i like the fact that the old macs are still holding in there and just giving a rising return on investment for the schools, but its hell on the developer, harder to keep a classic machine around to test on! cheers jeff On Mar 28, 2010, at 1:00 PM, use-revolution-request at lists.runrev.com wrote: > Can anyone tell me if the reason why the Mac Classic build in > Studio 3.5 > is non-functional ONLY because the standalone engine is not > installed by > default? From richmondmathewson at gmail.com Sun Mar 28 15:43:00 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 28 Mar 2010 22:43:00 +0300 Subject: Mac Classic build ??? In-Reply-To: <9AB47D05-7E34-4150-A02A-E6812344348E@siphonophore.com> References: <20100328170004.5C8E528808A@mail.runrev.com> <9AB47D05-7E34-4150-A02A-E6812344348E@siphonophore.com> Message-ID: <4BAFB144.70803@gmail.com> On 28/03/2010 22:29, Jeff Reynolds wrote: > Richard, Who is 'Richard' ? > > from all i have heard mac classic build stopped at 2.6.1 and never > officially made it into anything after that. 3 was to be the last, but > i think that ended up being abandoned by that point as it was just too > hard to keep it backwards compatible. for stuff that also needs mac > classic build i build the stack in 261 then move it to later versions > to make the pc and osx builds and build the classic in 261. figure > thats the safest way to not do something in a later build that can be > moved back to 261 for the classic build. > > in the ed publishing world the classic is just starting to go away for > media. im hoping the next project will not have it in there, will be > nice to move on as much as i like the fact that the old macs are still > holding in there and just giving a rising return on investment for the > schools, but its hell on the developer, harder to keep a classic > machine around to test on! > > cheers > > jeff > > maybe bunging a Classic engine in RunRev 3, 3.5 and 4 was too much like trouble; however, as the standalone settings palette does have acard for a Classic standalone there is a bad case of mixed messages going on. sincerely, Richmond. From revolution at derbrill.de Sun Mar 28 16:52:59 2010 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Sun, 28 Mar 2010 22:52:59 +0200 Subject: [optimization] calendar week ISO 8601 / DIN 1355 In-Reply-To: <20100212103229.749A228814C@mail.runrev.com> References: <20100212103229.749A228814C@mail.runrev.com> Message-ID: Hi all, I needed to calculate the calendar week from a given date (as we do it in germany and I think also in the rest of europe). I quickly hacked together a function implementing some of the info found here: http://en.wikipedia.org/wiki/ISO_8601#Week_dates If anyone has any pointers on how to make this better, I?d appreciate input. I hope if anyone needs to implement calendar weeks later this might be a helpful thread. Cheers, Malte /* function calendar week @param1 = date in english format @return = the calendar week in ISO 8601 format */ function calendarWeekISO8601 pEnglishdate -- Calendar week as described in ISO 8601 / DIN 1355 local tFirstMonday,tDate,tCurrentday,tLastYear,tLastFirstJan,tLastThrityFirstDec put pEnglishDate into tDate -- convert to date items, to get year in question convert tDate from english date to dateItems -- 01/04 is ALWAYS in 1st week in year put "01/04/"&item 1 of tDate into tFirstMonday convert tFirstMonday from english date to dateItems -- if item -1 = 1, we got a sunday. We need to find first monday if item -1 of tFirstMonday = 1 then put 8 into tCurrentday else put item -1 of tFirstMonday into tCurrentday end if put tCurrentday - 1 into tCurrentday -- get first monday in year if tCurrentday>1 then subtract (tCurrentday -1) from item 3 of tFirstMonday end if convert tFirstMonday from dateItems to seconds convert pEnglishDate from english date to seconds -- if the passed date is smaller than the first calendar weeks monday, the date -- is within the last week of the previous year if tFirstMonday > pEnglishDate then -- check for number of weeks in last year put item 1 of tDate -1 into tLastYear -- get day of last years 1st January put "1/1"&tLastYear into tLastFirstJan convert tLastFirstJan to dateItems put item -1 of tLastFirstJan into tLastFirstJan -- get day of last years 1st January put "12/31"&tLastYear into tLastThrityFirstDec convert tLastThrityFirstDec to dateItems put item -1 of tLastFirstJan into tLastThrityFirstDec -- check if it is a leap year first if (tLastYear mod 400 = 0) or (tLastYear mod 100 <> 0) and (tLastYear mod 4 = 0) then -- leap year! -- if a leap year starts on a wed and ends on a thurs, the year owns 53 weeks if tLastFirstJan=4 and tLastThrityFirstDec=5 then return tLastYear&"-W53" else return tLastYear&"-W52" end if else -- no leap year! -- if a regular year starts and ends on a thurs, the year owns 53 weeks if tLastFirstJan=5 and tLastThrityFirstDec=5 then return tLastYear&"-W53" else return tLastYear&"-W52" end if end if else return item 1 of tDate&"-W"&format("%02s",(pEnglishDate-tFirstMonday) div 604800 + 1) end if end calendarWeekISO8601 From len-morgan at crcom.net Sun Mar 28 17:21:55 2010 From: len-morgan at crcom.net (Len Morgan) Date: Sun, 28 Mar 2010 16:21:55 -0500 Subject: Getting the messages/handlers available for a button In-Reply-To: <4BAFABD9.6060804@hyperactivesw.com> References: <4BAF53AF.9040701@crcom.net> <4BAFABD9.6060804@hyperactivesw.com> Message-ID: <4BAFC873.2050205@crcom.net> On 3/28/2010 2:19 PM, J. Landman Gay wrote: > Len Morgan wrote: >> This should be so simple but I can't get the instructions in the >> documentation to work: >> >> What I'd like to know is what handlers are available to a button. >> This would include not only scripts I've written for the button but >> also the ones that Rev has builtin (like mouseUp). > > Open the dictionary, and in the panel at the left under the Objects > category, click "Button". That lists all relevant button info. > I wish this were so but while there are some messages there, many are missing. For example, I'm not sure why "socketClosed" is listed under Object->Button but "mouseUp" is not. The "messages" entry does have mouseUp but doesn't tell me it's sent to buttons. What I guess I need is all of the entries from the messages category that apply to buttons (for example). Is there a way to get this? >> It would be really cool if I could get any handlers along the way >> like in groups, cards, stacks that this button (or whatever control >> for that matter) is contained in/on. > > The message hierarchy only works in one direction, starting from the > object that first receives the message and moving on toward the > engine. That means that you can't easily retrieve messages sent to an > object farther along the hierarchy unless you specifically use a > "send" command to re-route it, or insert a frontscript to catch it > before anything else does. Behaviors are the single, limited > exception; they push a message "backward" to a subscribing object, but > after that the message goes through the hierarchy normally. > I think you might have misunderstood what I was asking for here. What I was suggesting was a way to map a message from, for example, a button to a group to a card to a stack to a library to the engine (with maybe a front and back script if appropriate). I guess it wouldn't be too hard to cobble something together that worked like traceroute does (tracert for Windows users), and get the long ID of a control, get a list of the messages in it's script, then for each message, send the message to the next object in the long ID (group, card, etc) and see if I get an error. The only problem would be the unintended consequences of firing a message that might do some damage (like a "Delete Everything in Sight" button. :-) len morgan From sarah.reichelt at gmail.com Sun Mar 28 17:36:33 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 29 Mar 2010 07:36:33 +1000 Subject: [optimization] calendar week ISO 8601 / DIN 1355 In-Reply-To: References: <20100212103229.749A228814C@mail.runrev.com> Message-ID: I haven't checked out your function yet Malte, but my DateTime library has a weekNumISO() function contributed by the late, great Eric Chatonet. Cheers, Sarah On Mon, Mar 29, 2010 at 6:52 AM, Malte Pfaff-Brill wrote: > Hi all, > I needed to calculate the calendar week from a given date (as we do it in germany and I think also in the rest of europe). > I quickly hacked together a function implementing some of the info found here: http://en.wikipedia.org/wiki/ISO_8601#Week_dates > If anyone has any pointers on how to make this better, I?d appreciate input. I hope if anyone needs to implement calendar weeks > later this might be a helpful thread. > > Cheers, > > Malte From revolution at derbrill.de Sun Mar 28 18:00:13 2010 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Mon, 29 Mar 2010 00:00:13 +0200 Subject: [optimization] calendar week ISO 8601 / DIN 1355 In-Reply-To: <20100212103229.749A228814C@mail.runrev.com> References: <20100212103229.749A228814C@mail.runrev.com> Message-ID: <0048C638-4CF5-47C3-A856-B67EA3232D80@derbrill.de> Thanks for pointing me to your lib Sarah. Lots of useful stuff in there. If only gems like these were a little easier to find. *sigh* Cheers, Malte From katir at hindu.org Sun Mar 28 18:07:34 2010 From: katir at hindu.org (Sivakatirswami) Date: Sun, 28 Mar 2010 12:07:34 -1000 Subject: OT: Metadata for Text Fragments - Help with Dbase Schema Message-ID: <4BAFD326.9030705@hindu.org> Aloha, as usual here I come begging.. I'm working on a schema for a new data base that will "hold anything and everything" utilizing Dublin Core modified/extended with the Media Annotation specification where field names are very "generic" and allow you to maintain metadata and text content in the dbase for a wide variety of "just about anything" (i.e if you wanted to put into the same tableimages of species of flowers, or for YouTube video you have uploaded or chapters of a book, they will all "fit") all to be accessed later by RunRev desktop apps, Revlets, iRev, iPhone apps etc. Of course even the Dublin Core Metadata Initiative says that when it gets down to doing your "application profile" things will start getting customized pretty quickly... I've drafted a dozen input data sets and as many output requirement scenarios I have pretty much sorted almost all possible input and output requirements and use cases for most resources. But I am stumped by one, which I thought would be obvious, because in the world of Academia, this would seem to be an common requirement: metadata for text fragments, otherwise known as "the citation" but in this case publisher, author, source are already present fields in the Dublin Core. The problem comes with how to store metadata where the text fragment is part of a whole. OK, what are we talking about. Let's use a real and specific example. The Hindu vedas are vast and voluminous. We have selected many verses for specific use. These need to be a) discreet b) re-assemble-able For example here are some fun thoughts from the Rig Veda about gambling (dice have been around for millenia!): --------- Downward they roll, then jump in the air! Though handless themselves, they can keep the upper hand over those who have! On the board, like magic coals, they consume, though cold, the player's heart to ashes. Rig Veda X, 34, 9 Abandoned, the wife of the gambler grieves. Grieved, too, is his mother as he wanders vaguely. Afraid and in debt, ever greedy for money, he steals in the night to the home of another. Rig Veda X, 34, 10 He is seized by remorse when he sees his wife's lot, beside that of her neighbor with well-ordered home. In the morning, however, he yokes the brown steeds and at evening falls stupid before the cold embers. Rig Veda X, 34, 11 ----------- How to best keep the citation string? such that later one could aggregate these three verse into a unit such as we have above. where they each have their own record in the dBase. (Also think of "quotes" "jokes" "sayings" "maxims" etc... in the same category of "text fragments") an exhaustive generic bibliographic citation is pretty well understood to be comprised of (where "collection, author, publisher, date, title etc." are already present in the Dublin Core spec and my schema) Series Volume Part Section Chapter Paragraph-verse Now... what is the best way to handle the above in terms of a schema? this is where I get stumped, the DCMI use of RDF XML style notation is a different universe and does not translate well to a relational dbase PostGreSQL schema... If I study the back end MySQL Dbases for boxed LAMP apps (Drupal, Word Press, XOOPs etc) I see various strategies depending on who developed the module which uses a specific Table (a snake pit of tables!) We see fields that hold discreet data values mapped with relation tables to other data; and we also see fields that seem to be used to hold an array of metadata: These are scary! varChar(255) SomeData value: "a:23;isT:45;bv:$1;...." etc... some quite long and completely opaque from a human readability point of view which goes against basic DCMI principles. The whole name of the game being: how can you keep the metadata clear enough and simple enough that it can live into the future and be easily extracted-transformed, where the known problem (well documented) that schema's which are too opaque are basically cast in stone, with any second generation agents (programmer, application, export tools etc) being locked out, required a complete refactoring of the entire frame work later (very expensive) such that many companies simple a) cannot upgrade b) suffer the consequences. I'm sure this issue is also present in a lot of business frameworks. I searched the web for any models, and will continue to do so... as one would expect to see a lot of information from the academy where citations for text fragments are a "mission critical" component for any published document (PHP, scientific research, book reviews, teaching texts etc) But I want to put this out on this list.. if anyone has experience with dbase schema for metadata for text fragments other wise called "bibliographic citation" Please email me off list if you have any advice, pointers or URL's or models or resources, I would be deeply grateful. Contact me off list. Or it if you feel this is a subject of general interest then shout "Please keep this thread on the list!" and we will TIA! Sivakatirswami From sarah.reichelt at gmail.com Sun Mar 28 18:35:48 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 29 Mar 2010 08:35:48 +1000 Subject: [optimization] calendar week ISO 8601 / DIN 1355 In-Reply-To: <0048C638-4CF5-47C3-A856-B67EA3232D80@derbrill.de> References: <20100212103229.749A228814C@mail.runrev.com> <0048C638-4CF5-47C3-A856-B67EA3232D80@derbrill.de> Message-ID: On Mon, Mar 29, 2010 at 8:00 AM, Malte Pfaff-Brill wrote: > Thanks for pointing me to your lib Sarah. Lots of useful stuff in there. If only gems like these were a little easier to find. *sigh* I'm terrible at putting things on RevOnline - I have a publishing system set up for my own site so it's easy, but RevOnline seems to be problematic. I would love it if RevOnline allowed you to publish links instead of complete stacks - that way I could create a link to a stack on my site, and any updates would only have to be done in one place. Cheers, Sarah From sarah.reichelt at gmail.com Sun Mar 28 19:12:30 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 29 Mar 2010 09:12:30 +1000 Subject: Connecting Rev stack to On-Rev mySQL DB? In-Reply-To: <7c87a2a11003260858m8377378ye7839fafc9fb8010@mail.gmail.com> References: <055D2621-D225-43BA-886C-58B7211B5200@mac.com> <7c87a2a11003251356q9fc3839q96fd00731b8965e8@mail.gmail.com> <1C58589E-CDD4-4E2D-8E35-9120A40554DC@byu.edu> <7c87a2a11003260858m8377378ye7839fafc9fb8010@mail.gmail.com> Message-ID: > c) use HTTPS for all communication between client and server (so that Evil > H4ck3r will not sniff you) How do I set this up? If I have my database file at: myname.on-rev.com/db.irev I would usually get it's data by asking for http://myname.on-rev.com/db.irev Can I just change this to https://myname.on-rev.com/db.irev ? Or do I need to change something on the server to make this work in a more secure manner? TIA, Sarah From sarah.reichelt at gmail.com Sun Mar 28 19:20:27 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 29 Mar 2010 09:20:27 +1000 Subject: Updating running apps Message-ID: I have some apps that when checking for updates, then offer a "Install & Relaunch" option. This seems really cool to me, but I haven't worked out how to do it in my Rev apps. If I am only updating separate sub-stacks, then I can work it out, but if I want to update the actual application file what can I do? I can get the existing app to download the new version, but then what? Can a running app replace itself on disk? Then how to tell it to quit & re-launch? On a Mac, I guess I could spit out an AppleScript to quit the app, re-locate the downloaded app, then restart it but the apps I have don't seem to start an AppleScript when doing this. Any suggestions? Cheers, Sarah P.S. When I say Andre announce revSparkle I got all excited as I thought he was offering hooks into the Sparkle updater framework , but it was a different Sparkle :-( From martyknapp at comcast.net Sun Mar 28 19:30:11 2010 From: martyknapp at comcast.net (Marty Knapp) Date: Sun, 28 Mar 2010 16:30:11 -0700 Subject: Updating running apps In-Reply-To: References: Message-ID: <4BAFE683.2060604@comcast.net> Trevor's GLX Frameworks does this, though I couldn't tell you how! Marty Knapp > I have some apps that when checking for updates, then offer a "Install > & Relaunch" option. > This seems really cool to me, but I haven't worked out how to do it in > my Rev apps. > If I am only updating separate sub-stacks, then I can work it out, but > if I want to update the actual application file what can I do? > > I can get the existing app to download the new version, but then what? > Can a running app replace itself on disk? > Then how to tell it to quit & re-launch? > > On a Mac, I guess I could spit out an AppleScript to quit the app, > re-locate the downloaded app, then restart it but the apps I have > don't seem to start an AppleScript when doing this. > > Any suggestions? > > Cheers, > Sarah > > P.S. When I say Andre announce revSparkle I got all excited as I > thought he was offering hooks into the Sparkle updater framework > , but it was a different Sparkle > :-( > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From monte at sweattechnologies.com Sun Mar 28 19:35:20 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 29 Mar 2010 10:35:20 +1100 Subject: zeroconf Message-ID: <6DD780AA-4EFA-450B-895D-A13515AF4EEB@sweattechnologies.com> Hi I remember an external. Is that still available/working? Cheers Monte From andre at andregarzia.com Sun Mar 28 19:40:46 2010 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 28 Mar 2010 20:40:46 -0300 Subject: Connecting Rev stack to On-Rev mySQL DB? In-Reply-To: References: <055D2621-D225-43BA-886C-58B7211B5200@mac.com> <7c87a2a11003251356q9fc3839q96fd00731b8965e8@mail.gmail.com> <1C58589E-CDD4-4E2D-8E35-9120A40554DC@byu.edu> <7c87a2a11003260858m8377378ye7839fafc9fb8010@mail.gmail.com> Message-ID: <7c87a2a11003281640p5e2c19c2wabdfd220bbcd9035@mail.gmail.com> Sarah, change to HTTPS and set liburl verification to false if you don?t have a "real" ssl certificate (if yours is self signed) cheers andre On Sun, Mar 28, 2010 at 8:12 PM, Sarah Reichelt wrote: > > c) use HTTPS for all communication between client and server (so that > Evil > > H4ck3r will not sniff you) > > How do I set this up? > > If I have my database file at: myname.on-rev.com/db.irev > I would usually get it's data by asking for > http://myname.on-rev.com/db.irev > > Can I just change this to https://myname.on-rev.com/db.irev ? > Or do I need to change something on the server to make this work in a > more secure manner? > > TIA, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Sun Mar 28 19:48:02 2010 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 28 Mar 2010 20:48:02 -0300 Subject: Updating running apps In-Reply-To: <4BAFE683.2060604@comcast.net> References: <4BAFE683.2060604@comcast.net> Message-ID: <7c87a2a11003281648g84613cavdcee5fb66cff297@mail.gmail.com> GLX App Framework does this in a very easy way. Cheers andre On Sun, Mar 28, 2010 at 8:30 PM, Marty Knapp wrote: > Trevor's GLX Frameworks does this, though I couldn't tell you how! > > Marty Knapp > > I have some apps that when checking for updates, then offer a "Install >> & Relaunch" option. >> This seems really cool to me, but I haven't worked out how to do it in >> my Rev apps. >> If I am only updating separate sub-stacks, then I can work it out, but >> if I want to update the actual application file what can I do? >> >> I can get the existing app to download the new version, but then what? >> Can a running app replace itself on disk? >> Then how to tell it to quit & re-launch? >> >> On a Mac, I guess I could spit out an AppleScript to quit the app, >> re-locate the downloaded app, then restart it but the apps I have >> don't seem to start an AppleScript when doing this. >> >> Any suggestions? >> >> Cheers, >> Sarah >> >> P.S. When I say Andre announce revSparkle I got all excited as I >> thought he was offering hooks into the Sparkle updater framework >> , but it was a different Sparkle >> :-( >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From sarah.reichelt at gmail.com Sun Mar 28 20:13:32 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 29 Mar 2010 10:13:32 +1000 Subject: Updating running apps In-Reply-To: <7c87a2a11003281648g84613cavdcee5fb66cff297@mail.gmail.com> References: <4BAFE683.2060604@comcast.net> <7c87a2a11003281648g84613cavdcee5fb66cff297@mail.gmail.com> Message-ID: Thanks for this. I did try using Trevor's framework for one app, but found it overkill for what I needed. However I will have to examine it again if it updates like that. Cheers, Sarah On Mon, Mar 29, 2010 at 9:48 AM, Andre Garzia wrote: > GLX App Framework does this in a very easy way. > > Cheers > andre > > On Sun, Mar 28, 2010 at 8:30 PM, Marty Knapp wrote: > >> Trevor's GLX Frameworks does this, though I couldn't tell you how! >> >> Marty Knapp >> >> ?I have some apps that when checking for updates, then offer a "Install >>> & Relaunch" option. >>> This seems really cool to me, but I haven't worked out how to do it in >>> my Rev apps. >>> If I am only updating separate sub-stacks, then I can work it out, but >>> if I want to update the actual application file what can I do? >>> >>> I can get the existing app to download the new version, but then what? >>> Can a running app replace itself on disk? >>> Then how to tell it to quit & re-launch? >>> >>> On a Mac, I guess I could spit out an AppleScript to quit the app, >>> re-locate the downloaded app, then restart it but the apps I have >>> don't seem to start an AppleScript when doing this. >>> >>> Any suggestions? >>> >>> Cheers, >>> Sarah >>> >>> P.S. When I say Andre announce revSparkle I got all excited as I >>> thought he was offering hooks into the Sparkle updater framework >>> , but it was a different Sparkle >>> :-( >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarah.reichelt at gmail.com Sun Mar 28 20:17:20 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 29 Mar 2010 10:17:20 +1000 Subject: Connecting Rev stack to On-Rev mySQL DB? In-Reply-To: <7c87a2a11003281640p5e2c19c2wabdfd220bbcd9035@mail.gmail.com> References: <055D2621-D225-43BA-886C-58B7211B5200@mac.com> <7c87a2a11003251356q9fc3839q96fd00731b8965e8@mail.gmail.com> <1C58589E-CDD4-4E2D-8E35-9120A40554DC@byu.edu> <7c87a2a11003260858m8377378ye7839fafc9fb8010@mail.gmail.com> <7c87a2a11003281640p5e2c19c2wabdfd220bbcd9035@mail.gmail.com> Message-ID: I don't have a real certificate. Do I need to create a self-signed one? If so how, and where do I store it? Setting liburl verification to false... I can't find a command for doing this. Do I use libURLSetCustomHTTPHeaders? And if so, what header exactly do I set. Sorry Andre, I'm a complete noob at all this stuff so you are going to have to spell it out for me.... Cheers, Sarah On Mon, Mar 29, 2010 at 9:40 AM, Andre Garzia wrote: > Sarah, > > change to HTTPS and set liburl verification to false if you don?t have a > "real" ssl certificate (if yours is self signed) > > cheers > andre > > On Sun, Mar 28, 2010 at 8:12 PM, Sarah Reichelt wrote: > >> > c) use HTTPS for all communication between client and server (so that >> Evil >> > H4ck3r will not sniff you) >> >> How do I set this up? >> >> If I have my database file at: myname.on-rev.com/db.irev >> I would usually get it's data by asking for >> http://myname.on-rev.com/db.irev >> >> Can I just change this to https://myname.on-rev.com/db.irev ? >> Or do I need to change something on the server to make this work in a >> more secure manner? >> >> TIA, >> Sarah From jacque at hyperactivesw.com Sun Mar 28 20:56:14 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 28 Mar 2010 19:56:14 -0500 Subject: Connecting Rev stack to On-Rev mySQL DB? In-Reply-To: References: <055D2621-D225-43BA-886C-58B7211B5200@mac.com> <7c87a2a11003251356q9fc3839q96fd00731b8965e8@mail.gmail.com> <1C58589E-CDD4-4E2D-8E35-9120A40554DC@byu.edu> <7c87a2a11003260858m8377378ye7839fafc9fb8010@mail.gmail.com> <7c87a2a11003281640p5e2c19c2wabdfd220bbcd9035@mail.gmail.com> Message-ID: <4BAFFAAE.4070008@hyperactivesw.com> Sarah Reichelt wrote: > I don't have a real certificate. > Do I need to create a self-signed one? If so how, and where do I store it? > > Setting liburl verification to false... I can't find a command for > doing this. Do I use libURLSetCustomHTTPHeaders? And if so, what > header exactly do I set. Funny, this just came up last week in the tech queue. The command was accidentally omitted from the docs. It's: libURLSetVerification boolean Not sure about how to make a certificate so someone else has to chime in. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Mar 28 21:04:53 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 28 Mar 2010 20:04:53 -0500 Subject: Getting the messages/handlers available for a button In-Reply-To: <4BAFC873.2050205@crcom.net> References: <4BAF53AF.9040701@crcom.net> <4BAFABD9.6060804@hyperactivesw.com> <4BAFC873.2050205@crcom.net> Message-ID: <4BAFFCB5.20608@hyperactivesw.com> Len Morgan wrote: > I wish this were so but while there are some messages there, many are > missing. For example, I'm not sure why "socketClosed" is listed under > Object->Button but "mouseUp" is not. The "messages" entry does have > mouseUp but doesn't tell me it's sent to buttons. What I guess I need > is all of the entries from the messages category that apply to buttons > (for example). Is there a way to get this? It looks like the intent was to show the properties and messages that apply specifically to each object. Since (most) messages can go to any object, the rest apply to all. I'm not sure about the socket commands though, that does seem odd. And you're right, there's stuff missing, so I'm not sure you can get an exhaustive list from the dictionary, though most of it's there. > What I > was suggesting was a way to map a message from, for example, a button to > a group to a card to a stack to a library to the engine (with maybe a > front and back script if appropriate). Well, there's the executionContexts property, but I'm not sure it will do what you want. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Mar 28 21:11:06 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 28 Mar 2010 20:11:06 -0500 Subject: Connecting Rev stack to On-Rev mySQL DB? In-Reply-To: <4BAFFAAE.4070008@hyperactivesw.com> References: <055D2621-D225-43BA-886C-58B7211B5200@mac.com> <7c87a2a11003251356q9fc3839q96fd00731b8965e8@mail.gmail.com> <1C58589E-CDD4-4E2D-8E35-9120A40554DC@byu.edu> <7c87a2a11003260858m8377378ye7839fafc9fb8010@mail.gmail.com> <7c87a2a11003281640p5e2c19c2wabdfd220bbcd9035@mail.gmail.com> <4BAFFAAE.4070008@hyperactivesw.com> Message-ID: <4BAFFE2A.1090502@hyperactivesw.com> J. Landman Gay wrote: > Sarah Reichelt wrote: >> I don't have a real certificate. >> Do I need to create a self-signed one? If so how, and where do I store >> it? >> >> Setting liburl verification to false... I can't find a command for >> doing this. Do I use libURLSetCustomHTTPHeaders? And if so, what >> header exactly do I set. > > Funny, this just came up last week in the tech queue. The command was > accidentally omitted from the docs. It's: libURLSetVerification boolean Oops, that's wrong, I just found my notes. The real command is: libSSLSetVerification true/false -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jimaultwins at yahoo.com Sun Mar 28 21:33:43 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Sun, 28 Mar 2010 18:33:43 -0700 Subject: Connecting Rev stack to On-Rev mySQL DB? In-Reply-To: <4BAFFE2A.1090502@hyperactivesw.com> References: <055D2621-D225-43BA-886C-58B7211B5200@mac.com> <7c87a2a11003251356q9fc3839q96fd00731b8965e8@mail.gmail.com> <1C58589E-CDD4-4E2D-8E35-9120A40554DC@byu.edu> <7c87a2a11003260858m8377378ye7839fafc9fb8010@mail.gmail.com> <7c87a2a11003281640p5e2c19c2wabdfd220bbcd9035@mail.gmail.com> <4BAFFAAE.4070008@hyperactivesw.com> <4BAFFE2A.1090502@hyperactivesw.com> Message-ID: > libSSLSetVerification true/false Is that the only SSL command? The Enterprise 3.5 dictionary has no entries for libSSL On Mar 28, 2010, at 6:11 PM, J. Landman Gay wrote: > J. Landman Gay wrote: >> Sarah Reichelt wrote: >>> I don't have a real certificate. >>> Do I need to create a self-signed one? If so how, and where do I >>> store it? >>> >>> Setting liburl verification to false... I can't find a command for >>> doing this. Do I use libURLSetCustomHTTPHeaders? And if so, what >>> header exactly do I set. >> Funny, this just came up last week in the tech queue. The command >> was accidentally omitted from the docs. It's: libURLSetVerification >> boolean > > Oops, that's wrong, I just found my notes. The real command is: > > libSSLSetVerification true/false > > -- > Jacqueline Jim Ault Las Vegas From jacque at hyperactivesw.com Sun Mar 28 21:46:45 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 28 Mar 2010 20:46:45 -0500 Subject: Connecting Rev stack to On-Rev mySQL DB? In-Reply-To: References: <055D2621-D225-43BA-886C-58B7211B5200@mac.com> <7c87a2a11003251356q9fc3839q96fd00731b8965e8@mail.gmail.com> <1C58589E-CDD4-4E2D-8E35-9120A40554DC@byu.edu> <7c87a2a11003260858m8377378ye7839fafc9fb8010@mail.gmail.com> <7c87a2a11003281640p5e2c19c2wabdfd220bbcd9035@mail.gmail.com> <4BAFFAAE.4070008@hyperactivesw.com> <4BAFFE2A.1090502@hyperactivesw.com> Message-ID: <4BB00685.10205@hyperactivesw.com> Jim Ault wrote: >> libSSLSetVerification true/false > > Is that the only SSL command? > The Enterprise 3.5 dictionary has no entries for libSSL I don't know. Someone was having trouble and RR told me to recommend that, and said it should have been documented but was accidentally omitted. I didn't ask about any other similar commands. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sarah.reichelt at gmail.com Sun Mar 28 22:37:04 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 29 Mar 2010 12:37:04 +1000 Subject: Connecting Rev stack to On-Rev mySQL DB? In-Reply-To: <4BAFFE2A.1090502@hyperactivesw.com> References: <055D2621-D225-43BA-886C-58B7211B5200@mac.com> <7c87a2a11003251356q9fc3839q96fd00731b8965e8@mail.gmail.com> <1C58589E-CDD4-4E2D-8E35-9120A40554DC@byu.edu> <7c87a2a11003260858m8377378ye7839fafc9fb8010@mail.gmail.com> <7c87a2a11003281640p5e2c19c2wabdfd220bbcd9035@mail.gmail.com> <4BAFFAAE.4070008@hyperactivesw.com> <4BAFFE2A.1090502@hyperactivesw.com> Message-ID: >>> I don't have a real certificate. >>> Do I need to create a self-signed one? If so how, and where do I store >>> it? >>> >>> Setting liburl verification to false... I can't find a command for >>> doing this. Do I use libURLSetCustomHTTPHeaders? And if so, what >>> header exactly do I set. >> >> Funny, this just came up last week in the tech queue. The command was >> accidentally omitted from the docs. It's: libURLSetVerification boolean > > Oops, that's wrong, I just found my notes. The real command is: > > libSSLSetVerification true/false Third time lucky: it's really a combination of the two: libUrlSetSSLVerification true/false However using https://.... just gives me a 404 error, so there is something else I need to do, maybe at my cPanel? Cheers, Sarah From shani.runrev at gmail.com Sun Mar 28 22:45:50 2010 From: shani.runrev at gmail.com (Shani) Date: Mon, 29 Mar 2010 04:45:50 +0200 Subject: Fwd: RevServer to JAVA client In-Reply-To: References: Message-ID: ---------- Forwarded message ---------- From: Shani Date: Sun, Mar 28, 2010 at 7:47 AM Subject: RevServer to JAVA client To: How to use Revolution , jade-develop at avalon.tilab.com, jade-develop at sharon.cselt.it hay all, is this program is correct for Rev Server. is it communicate with java. what i change in rev or java Revserver coding ######################################################### on revServer c ##Opening socket with Java Cleint on port 6800 open socket("java Client" & : & (6800)) with message "Server Started" ## for reading the message from Socket just show that connectivity is establish read from socket ("Client") with the message " client says connected with me from server and it is Read from Client" ##write to socket show that it can write on client write field "I am Rev Server " to socket close socket ("java Client" & : & (6800)) with message "connection close" end revServer ########################################################## JAVA client ######################################################## import java.io.DataOutputStream; import java.io.IOException; import java.net.Socket; public class Cleint { public static void main (String[] args) throws IOException { Socket client= new Socket("localhost",6800); System.out.println("Connected to server"); DataOutputStream out = new DataOutputStream(client.getOutputStream()); out.writeUTF ("AllowServer"); } } ###########################################################3 From hmspotato at googlemail.com Mon Mar 29 01:02:30 2010 From: hmspotato at googlemail.com (hmspotato at googlemail.com) Date: Mon, 29 Mar 2010 07:02:30 +0200 Subject: Rev standalone app stays in memory on my Xubuntu 9.10 Message-ID: <20100329050230.1244264660@smtp.googlemail.com> Hello, I have a standalone application made by Revolution 4.0. It works fine in most cases, but it fails to quit cleanly on my laptop running Xubuntu 9.10. When I try it on another computer also running Xubuntu 9.10, it runs and quits fine, but on my laptop it stays open as a process taking up a chunk of memory. To make it worse, every instance of app launch remains in the memory as an independent process. Right-clicking on the process in System Monitor and choosing 'Open Files' displays the following: FD Type Object 0 file /dev/null 1 file /home/megumi/.xsession-errors 2 file /home/megumi/.xsession-errors 3 local socket 4 local socket 5 pipe 6 pipe This question is probably more about Xubuntu than about Revolution, but it does relate to using Revolution. I am particularly puzzled, because another standalone app (also made by Revolution) runs and quits fine on the same laptop. I hope someone here will be able to help me, as I do not know what to do. I originally posted this at with a sample stack, but the thread came to what seems like a dead-end. The last post on the thread suggested that I should subscribe to this list and ask for help from Linux experts on the list. I would appreciate any help. Thanks. From jeff at siphonophore.com Mon Mar 29 02:15:21 2010 From: jeff at siphonophore.com (Jeff Reynolds) Date: Mon, 29 Mar 2010 02:15:21 -0400 Subject: Richard & the Mac Classic build ??? In-Reply-To: <20100329050340.6DEE72881DB@mail.runrev.com> References: <20100329050340.6DEE72881DB@mail.runrev.com> Message-ID: <294FF0C0-93B4-4A8E-B03A-A20A29B65CCD@siphonophore.com> Richmond, sorry im a mid level dyslexic and i tend to bung up names like that when i type. apologies. (and no richard gaskin i did not mistake you for richmond!) I think there was reoccurring hope that one last classic build was going to happen at some point, but just ended up sticking in there past when i think that hope died... Actually probably good as i worry that trying to get the full later feature sets to work in classic may have made a buggy classic engine that would not have been helpful. classic is pretty much dead end now days for new products, but can still be supported with older stuff if really necessary, some point the cords just have to be cut... cheers jeff On Mar 29, 2010, at 1:03 AM, use-revolution-request at lists.runrev.com wrote: > > Who is 'Richard' ? >> >> >> > maybe bunging a Classic engine in RunRev 3, 3.5 and 4 was too much > like > trouble; however, as the > standalone settings palette does have acard for a Classic standalone > there is a bad case of > mixed messages going on. > > sincerely, Richmond. From palcibiades-first at yahoo.co.uk Mon Mar 29 03:05:25 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sun, 28 Mar 2010 23:05:25 -0800 (PST) Subject: Printing in Linux In-Reply-To: <4BAFA4F8.3070504@gmail.com> References: <4BAFA4F8.3070504@gmail.com> Message-ID: <1269846325347-1694775.post@n4.nabble.com> Here is what happened. I changed the distribution that an application is running on from Mandriva to Debian. Because revPrintField doesn't work properly, it resorted to getting prints out by using print card. After the change in distribution, print card worked, but it did not print the card in the same way as before, it didn't print into the correct area. This is probably something to do with the screen resolution. So, wishing to resolve this at leisure, I took it home and tinkered, intending to use cups-pdf as the printer. The first thing to do was set cups-pdf as the default printer. Then to work. The print card command, and this is with a card with a few simple text fields, was timed at 1 minute 20 seconds to print to the file. The file appeared to go into a black hole. cups-pdf is set up to print into a folder called PDF in the home directory. Nothing appeared there. Tried other applications. They all now printed to /home/user/PDF without fuss. Checking the available printers in Rev revealed the ones that are installed, including cups-pdf, and one that is not, namely PDF. Change the printerName to PDF, and the print files do now arrive in the /home/userPDF directory. This is very reminiscent of the font situation: fonts which are not installed are listed, and fonts which are installed appear to be unavailable. Where does it get this printer from? And what would happen if you changed the cups-pdf configuration files to use some other directory? Life is too short. It still takes the same amount of time to print. Now at least we can start tinkering with the print card into command. Whereas before print card into 100,100,800,600 had worked, now on one card what was needed was 0,20,600,400 and on another 0,10,800,600. I have no idea why. When doing all this stuff, it would help to be able to read the dictionary, but it is in unchangeable 4 point font. Never mind, one can use a large magnifying glass. Which I do, believe it or not. This by the way is still using 3.5. Tried to use 4.0, and it would not allow any editing of the app. No idea why. Lets hope that 4.5 improves things. -- View this message in context: http://n4.nabble.com/Printing-in-Linux-tp1694324p1694775.html Sent from the Revolution - User mailing list archive at Nabble.com. From david at architex.tv Mon Mar 29 03:43:39 2010 From: david at architex.tv (David Bovill) Date: Mon, 29 Mar 2010 08:43:39 +0100 Subject: Automatic Builds Message-ID: I'd like to set up an automatic build for a project, so that rather than manually exporting the stack as a standalone, I would create an interface that allowed the stack to be compiled as a revWeb stack (possibly other standalones). and then ftp'd up to the web server together with the appropriate html. What's the best way to acheive this? Thanks in advance, David From sarah.reichelt at gmail.com Mon Mar 29 04:00:08 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 29 Mar 2010 18:00:08 +1000 Subject: Automatic Builds In-Reply-To: References: Message-ID: On Mon, Mar 29, 2010 at 5:43 PM, David Bovill wrote: > I'd like to set up an automatic build for a project, so that rather than > manually exporting the stack as a standalone, I would create an interface > that allowed the stack to be compiled as a revWeb stack (possibly other > standalones). and then ftp'd up to the web server together with the > appropriate html. What's the best way to acheive this? Sounds like a job for a splash screen app that opens a separate sub-stack. If you build the splash screen once, then in future, you just need to save & upload the sub stack(s) to update the app. The HTML wouldn't even need to be changed unless you wanted it to show a version number or something like that. Cheers, Sarah From stephenREVOLUTION2 at barncard.com Mon Mar 29 04:06:16 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 29 Mar 2010 01:06:16 -0700 Subject: Automatic Builds In-Reply-To: References: Message-ID: Check out Trevor's application framework, that supports builds and much more. On 29 March 2010 00:43, David Bovill wrote: > I'd like to set up an automatic build for a project, so that rather than > manually exporting the stack as a standalone, I would create an interface > that allowed the stack to be compiled as a revWeb stack (possibly other > standalones). and then ftp'd up to the web server together with the > appropriate html. What's the best way to acheive this? > > Thanks in advance, > > David > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard Back home in SF From david.bovill at gmail.com Mon Mar 29 04:39:09 2010 From: david.bovill at gmail.com (David Bovill) Date: Mon, 29 Mar 2010 09:39:09 +0100 Subject: Automatic Builds In-Reply-To: References: Message-ID: Hi Sarah - I've not done much more than experiment with revWeb yet, but now with the "do as JavaScript" feature, and a client that can use that, I'm looking to set up an agile deployment prototyping the eventual AJAX front end in revWeb. As the app will be deployed to the test site every 2 weeks to be tested by the client and every day by the development team, I'm looking to automate that. I understand the approach you describe for desktop apps - but you are saying you can use it for revWeb stacks as well - or not? That is a plain rev stack can be loaded dynamically with a "go to stack url ..." call and opened as a substack - just like with a desktop app? That would be great.. but.. how? So you would: 1. build the main app as a splash / glxApp application and then 2. store the body of the app as plain stacks on the server to be loaded by the revWeb app as needed? Each substack is usually in it's own div - right? So this would be the case here as well, and in a way you are loading stacks from the internet as you would AJAX calls? Sound like a great hack - or am I making something weird up here? On 29 March 2010 09:00, Sarah Reichelt wrote: > Sounds like a job for a splash screen app that opens a separate sub-stack. > If you build the splash screen once, then in future, you just need to > save & upload the sub stack(s) to update the app. > The HTML wouldn't even need to be changed unless you wanted it to show > a version number or something like that. > From david.bovill at gmail.com Mon Mar 29 04:56:24 2010 From: david.bovill at gmail.com (David Bovill) Date: Mon, 29 Mar 2010 09:56:24 +0100 Subject: Automatic Builds In-Reply-To: References: Message-ID: OK _ I just checked out the latest glxApp tutorials.... it seems that you need to use the Rev IDE to create the standalones: *Note: *Currently you need to build the executables for both OS X and Windows before using the application packager. And that you can't use the glx application packager outside of the IDE: The application packager would ideally run as a standalone application but during the packaging process some scripts are modified which exceed the 10 line limit. So for the time being you must package from within the IDE. But it may still be possible to automate from within the IDE? Has anyone hacked into the rev / and/or glxApp stacks to automate builds in cases where you need to do this daily? NB - the splash stack approach will work in some cases, but may not work for revWeb applications, and won't work for mobile apps! On 29 March 2010 09:06, stephen barncard wrote: > Check out Trevor's application framework, that supports builds and much > more. > > On 29 March 2010 00:43, David Bovill wrote: > > > I'd like to set up an automatic build for a project, so that rather than > > manually exporting the stack as a standalone, I would create an interface > > that allowed the stack to be compiled as a revWeb stack (possibly other > > standalones). and then ftp'd up to the web server together with the > > appropriate html. What's the best way to acheive this? > > > > Thanks in advance, > > > > David > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > ------------------------- > Stephen Barncard > Back home in SF > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From david at vaudevillecourt.tv Mon Mar 29 05:05:59 2010 From: david at vaudevillecourt.tv (David Bovill) Date: Mon, 29 Mar 2010 10:05:59 +0100 Subject: revWeb: strategies for loading large stacks Message-ID: Given that it is really important to have a web app load FAST - what strategies can we use to incrementally download an app - providing interactivity immediately to the user whith content downloading in the background? 1. Images, and other media loaded with a "load url" call as / when / before needed where they will be cached in the revlets memory as a script variable in LibUrl? 2. Text files loaded and used to generate new content using the revLet How about: - loading substacks into hidden divs - so they are ready to use later, but the html page loads first showing the main web content and splash revlet. - loading substacks in some way from the revlet and somehow refreshing the substack in the browser page? - using an AJAX call to load another revlet in a page (but this would also require downloading the revlet engine added to the stack again as a second instance) Any ideas how to best download incrementally large projects as you would with game levels or other large apps? From richmondmathewson at gmail.com Mon Mar 29 05:20:50 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 29 Mar 2010 12:20:50 +0300 Subject: Richard & the Mac Classic build ??? In-Reply-To: <294FF0C0-93B4-4A8E-B03A-A20A29B65CCD@siphonophore.com> References: <20100329050340.6DEE72881DB@mail.runrev.com> <294FF0C0-93B4-4A8E-B03A-A20A29B65CCD@siphonophore.com> Message-ID: <4BB070F2.5060408@gmail.com> On 29/03/2010 09:15, Jeff Reynolds wrote: > Richmond, > > sorry im a mid level dyslexic and i tend to bung up names like that > when i type. apologies. (and no richard gaskin i did not mistake you > for richmond!) No Worries; Geoff . . . :) However; although Mac OS 9 is about 8-9-10 years in the past there are an awful lot of machines that cannot run 'X' that should not be chucked into some horrible, polluting landfill (well, at least not as long as they go on working) when they can continue to serve. From sarah.reichelt at gmail.com Mon Mar 29 06:51:22 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 29 Mar 2010 20:51:22 +1000 Subject: Automatic Builds In-Reply-To: References: Message-ID: On Mon, Mar 29, 2010 at 6:39 PM, David Bovill wrote: > Hi Sarah - I've not done much more than experiment with revWeb yet, but now > with the "do as JavaScript" feature, and a client that can use that, I'm > looking to set up an agile deployment prototyping the eventual AJAX front > end in revWeb. As the app will be deployed to the test site every 2 weeks to > be tested by the client and every day by the development team, I'm looking > to automate that. > > I understand the approach you describe for desktop apps - but you are saying > you can use it for revWeb stacks as well - or not? That is a plain rev stack > can be loaded dynamically with a "go to stack url ..." call and opened as a > substack - just like with a desktop app? That would be great.. but.. how? > > ?So you would: > > ? 1. build the main app as a splash / glxApp application and then > ? 2. store the body of the app as plain stacks on the server to be loaded > ? by the revWeb app as needed? Yes, at least that is what I would try. Sub-stacks cannot open in a separate window, but I believe that they can open in the same window. So you could have your splash screen stack (& main app) open, then it could use: go to stack "Next" in this window where "Next" is the stack that changes frequently. Your updater just needs to upload a new version of the "Next" stack as required. I haven't tested any of this, but I think it should work. Cheers, Sarah From ambassador at fourthworld.com Mon Mar 29 07:10:02 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 29 Mar 2010 04:10:02 -0700 Subject: Automatic Builds Message-ID: <4BB08A8A.70109@fourthworld.com> David Bovill wrote: > I'd like to set up an automatic build for a project, so that rather than > manually exporting the stack as a standalone, I would create an interface > that allowed the stack to be compiled as a revWeb stack (possibly other > standalones). and then ftp'd up to the web server together with the > appropriate html. What's the best way to acheive this? The process by which standalones and revlets are made is handled in the development engine (v4.0 and later), so RunRev has more security over that feature and conceivably they could publish the API so we could make any sort of standalone builder we want. But that's a lot of work (the engine only handles a portion of all the steps that need to be done), and in your case you may find it simpler to just use the messages the Rev standalone builder sends to your stack before and after the build process. A savingStandalone message is sent just before the standalone/revlet is generated, and a standaloneSaved message is sent after. You could use the standaloneSaved message to scoop up the resulting revlet stack file and FTP it to your server. For standalones you can either use the revZip library or on OS X just shell to disk_util to make a zip file of the standalone, and then upload that. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From david.bovill at gmail.com Mon Mar 29 07:15:49 2010 From: david.bovill at gmail.com (David Bovill) Date: Mon, 29 Mar 2010 12:15:49 +0100 Subject: Automatic Builds In-Reply-To: References: Message-ID: On 29 March 2010 11:51, Sarah Reichelt wrote: > Yes, at least that is what I would try. Sub-stacks cannot open in a > separate window, but I believe that they can open in the same window. > So you could have your splash screen stack (& main app) open, then it > could use: go to stack "Next" in this window > where "Next" is the stack that changes frequently. > > Your updater just needs to upload a new version of the "Next" stack as > required. > > I haven't tested any of this, but I think it should work. > > Sounds good - will give it a try this week and see how it goes. Nb - do you know if you call the same url that the revlet is downloaded from that the revelet still needs to ask the user for permission to use the internet - or is this same-domain url policy a default as is standard? From david.bovill at gmail.com Mon Mar 29 07:17:32 2010 From: david.bovill at gmail.com (David Bovill) Date: Mon, 29 Mar 2010 12:17:32 +0100 Subject: Automatic Builds In-Reply-To: <4BB08A8A.70109@fourthworld.com> References: <4BB08A8A.70109@fourthworld.com> Message-ID: On 29 March 2010 12:10, Richard Gaskin wrote: > > A savingStandalone message is sent just before the standalone/revlet is > generated, and a standaloneSaved message is sent after. > > You could use the standaloneSaved message to scoop up the resulting revlet > stack file and FTP it to your server. > > For standalones you can either use the revZip library or on OS X just shell > to disk_util to make a zip file of the standalone, and then upload that. > Thanks for that Richard - I guess also scripting filling in some default values in the standalone builder stack would not be too hard as well... From len-morgan at crcom.net Mon Mar 29 07:24:35 2010 From: len-morgan at crcom.net (Len Morgan) Date: Mon, 29 Mar 2010 06:24:35 -0500 Subject: Rev standalone app stays in memory on my Xubuntu 9.10 In-Reply-To: <20100329050230.1244264660@smtp.googlemail.com> References: <20100329050230.1244264660@smtp.googlemail.com> Message-ID: <4BB08DF3.4090209@crcom.net> It sounds to me like you've got an open socket or file laying around in the program that is preventing it from closing. Check your sockets and open files when you quit (handle the quit stack message). Maybe a driver on one machine is not releasing the socket and so your program stays around waiting. len On 3/29/2010 12:02 AM, hmspotato at googlemail.com wrote: > Hello, > > I have a standalone application made by Revolution 4.0. It works fine in > most cases, but it fails to quit cleanly on my laptop running Xubuntu > 9.10. When I try it on another computer also running Xubuntu 9.10, it > runs and quits fine, but on my laptop it stays open as a process taking > up a chunk of memory. To make it worse, every instance of app launch > remains in the memory as an independent process. Right-clicking on the > process in System Monitor and choosing 'Open Files' displays the following: > FD Type Object > 0 file /dev/null > 1 file /home/megumi/.xsession-errors > 2 file /home/megumi/.xsession-errors > 3 local socket > 4 local socket > 5 pipe > 6 pipe > > > This question is probably more about Xubuntu than about Revolution, but > it does relate to using Revolution. I am particularly puzzled, because > another standalone app (also made by Revolution) runs and quits fine on > the same laptop. I hope someone here will be able to help me, as I do > not know what to do. > > I originally posted this at viewtopic.php?f=20&t=5087> with a sample stack, but the thread came to > what seems like a dead-end. The last post on the thread suggested that I > should subscribe to this list and ask for help from Linux experts on the list. > > I would appreciate any help. > > Thanks. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From david.bovill at gmail.com Mon Mar 29 08:23:00 2010 From: david.bovill at gmail.com (David Bovill) Date: Mon, 29 Mar 2010 13:23:00 +0100 Subject: Automatic Builds In-Reply-To: <4BB08A8A.70109@fourthworld.com> References: <4BB08A8A.70109@fourthworld.com> Message-ID: On 29 March 2010 12:10, Richard Gaskin wrote: > > A savingStandalone message is sent just before the standalone/revlet is > generated, and a standaloneSaved message is sent after. > > You could use the standaloneSaved message to scoop up the resulting revlet > stack file and FTP it to your server. > > For standalones you can either use the revZip library or on OS X just shell > to disk_util to make a zip file of the standalone, and then upload that. > Thanks for that Richard - I guess also scripting filling in some default values in the standalone builder stack would not be too hard as well... From palcibiades-first at yahoo.co.uk Mon Mar 29 09:43:35 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 29 Mar 2010 05:43:35 -0800 (PST) Subject: Printing in Linux In-Reply-To: <1269846325347-1694775.post@n4.nabble.com> References: <4BAFA4F8.3070504@gmail.com> <1269846325347-1694775.post@n4.nabble.com> Message-ID: <1269870215402-1695123.post@n4.nabble.com> Well, it gets worse. The problem is, when installed, the print card into does not work on a real printer the way it does on cups-pdf. It must be that it varies with the printer being installed, and also with the distribution, and maybe also with the screen resolution. I am really at my wits end on this. Basically the only solution is probably to assume that Rev on Linux does not have a print function at all, somehow rewrite it to pass all the quantities into a file, and then print that in any other application. -- View this message in context: http://n4.nabble.com/Printing-in-Linux-tp1694324p1695123.html Sent from the Revolution - User mailing list archive at Nabble.com. From mdswindell at cruzio.com Mon Mar 29 09:47:33 2010 From: mdswindell at cruzio.com (Mark Swindell) Date: Mon, 29 Mar 2010 06:47:33 -0700 Subject: dragging a stack around In-Reply-To: <9F5EF624-E6FB-46FB-95BF-C4C4DA9F69AF@verizon.net> References: <9F5EF624-E6FB-46FB-95BF-C4C4DA9F69AF@verizon.net> Message-ID: Thanks to all who offered help. Much appreciated. Mark On Mar 27, 2010, at 12:09 PM, Colin Holgate wrote: > Both scripts do essentially the same thing, though I like my one more! One interesting thing, I did first try typing on mouseMove, but that doesn't get colorized, making me think it didn't exist as an event. But then again, mouseDown doesn't get colorized either. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Mon Mar 29 10:21:36 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 29 Mar 2010 10:21:36 -0400 Subject: Automatic Builds In-Reply-To: References: Message-ID: <08E7FD4D-8017-4213-AA62-BE928F59FBF0@mangomultimedia.com> On Mar 29, 2010, at 4:56 AM, David Bovill wrote: > OK _ I just checked out the latest glxApp > tutorials >.... > it seems that you need to use the Rev IDE to create the standalones: > > *Note: *Currently you need to build the executables for both OS X and > Windows before using the application packager. > > And that you can't use the glx application packager outside of the > IDE: > The application packager would ideally run as a standalone > application but > during the packaging process some scripts are modified which exceed > the 10 > line limit. So for the time being you must package from within the > IDE. > > But it may still be possible to automate from within the IDE? Has > anyone > hacked into the rev / and/or glxApp stacks to automate builds in > cases where > you need to do this daily? NB - the splash stack approach will work > in some > cases, but may not work for revWeb applications, and won't work for > mobile > apps! On the Google Group I handed out a url to an unreleased version of the framework a few weeks ago. The plugin included with that distribution has a will that will automatically build standalones for you. Just look on the General tab. Here is the thread with the download link at the end: http://groups.google.com/group/glxapp/browse_thread/thread/c0c7cc1607be2e4b I added this in when I kept getting customers who complained that the version info in my executables didn't match the about screen during the BETA testing phase. If you just update your stacks when you automatically install an update then your version numbers will always be out of sync. For this reason I always update both stacks and executables now. You will notice that the build button is included with the IDE plugin rather than the application packager. This is because I have to code sign the Windows executable before I can send it out to users and I haven't sat down to figure out if I can automate when running on OS X and using VMWare. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From richmondmathewson at gmail.com Mon Mar 29 10:25:38 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 29 Mar 2010 17:25:38 +0300 Subject: Printing in Linux In-Reply-To: <1269870215402-1695123.post@n4.nabble.com> References: <4BAFA4F8.3070504@gmail.com> <1269846325347-1694775.post@n4.nabble.com> <1269870215402-1695123.post@n4.nabble.com> Message-ID: <4BB0B862.3050408@gmail.com> On 29/03/2010 16:43, Peter Alcibiades wrote: > Well, it gets worse. The problem is, when installed, the print card into > does not work on a real printer the way it does on cups-pdf. It must be > that it varies with the printer being installed, and also with the > distribution, and maybe also with the screen resolution. > > I am really at my wits end on this. Basically the only solution is probably > to assume that Rev on Linux does not have a print function at all, somehow > rewrite it to pass all the quantities into a file, and then print that in > any other application. I wonder if; what with my big 'grunt' about fonts, and Thine about printing, and others' about Revbrowser, and so on . . . if we should not get up some sort of petition, at which point the folks in Edinburgh can say "Yea" or "Nay" so we all know where we are, what to expect, and so on, rather than this sort of shilly-shallying about ? Now; were the Runrev folk to say "Yes, we are listening and we are aware of these shortcomings, and we are working on them, and here is some sort of timescale to go by." We could all stop 'grunting' and get on with things. And, were they to say "No." We would know where we stand as well. I believe, and a lot of other folk besides, that Linux is a power to be reckoned with, and that "jumping into bed" with only the 2 dominant commercial players in the Operating System stakes is, at the very least, unwise. From palcibiades-first at yahoo.co.uk Mon Mar 29 10:56:59 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 29 Mar 2010 06:56:59 -0800 (PST) Subject: Updating running apps In-Reply-To: References: <4BAFE683.2060604@comcast.net> <7c87a2a11003281648g84613cavdcee5fb66cff297@mail.gmail.com> Message-ID: <1269874619204-1695196.post@n4.nabble.com> Have you thought of writing a shell script (the solution to most Rev deficiencies...!). You could fire the script up up and quit the current version, then from the script, download, name the old files to something safe, copy in the new files, fire up the new version, and quit the shell? -- View this message in context: http://n4.nabble.com/Updating-running-apps-tp1694548p1695196.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at mollysrevenge.com Mon Mar 29 13:28:49 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Mon, 29 Mar 2010 10:28:49 -0700 Subject: Front Scripts vs Behaviors Message-ID: <464AB494-6D46-4966-84E3-7583EAEB8FAB@mollysrevenge.com> I have several event handlers for common events such as mouseUp, openCard, menuPick, closeField which are installed as front scripts. The reason for this is to grab these events as soon as possible in order to handle any updating of the SQLite database I use to store the data for my app. The handlers do various checks to make sure they need to handle the message, take action if necessary, and pass the message on so the handlers for these events in the controls themselves can take any further action needed. This all works quite nicely although I've experienced some grief and hard freezes because of things like mouseUp coming from unexpected places like the IDE stack objects or the script editing window in debug mode. I suspect I'm taking some performance hits as well since every single one of these events has to go through my front script handler. I'm wondering if it might be better to do this by having behavior scripts for each type of control. That would eliminate the need for checking that I'm dealing with a control I care about, the issues with events coming from unexpected places, and any performance issues. On the downside, I'd need to come up with a way to allow each control to carry out any local processing it needs to take care of (dispatch?). It would also involve a small amount of extra work to specify the behavior every time I add a control unless I developed my own tool palette that had the controls already set up with the correct behavior so I could drag and drop them where I wanted them. I'd appreciate some guidance on this, either philosophical or practical. Thanks, Pete Haworth From jeff at siphonophore.com Mon Mar 29 13:56:36 2010 From: jeff at siphonophore.com (Jeff Reynolds) Date: Mon, 29 Mar 2010 13:56:36 -0400 Subject: Richard & the Mac Classic build ??? In-Reply-To: <20100329170006.B5AB5288206@mail.runrev.com> References: <20100329170006.B5AB5288206@mail.runrev.com> Message-ID: <084484E8-BF66-451D-8882-137FEAE5F19F@siphonophore.com> Richmond, I totally agree and they can continue to be supported via the classic products like rev 2.6.1. its just that if you force the modern cutting edge stuff to be all backwards compatible with the stuff over a decade old, the cutting edge will be pretty dull and pretty expensive and probably pretty buggy. In the ed market i have had to produce cdrom for kids (at least up unitll the last one in 2009) in osx and classic, there was a big enough market there using the old equipment that you had to have it supported. luckily the feature needs were still w/in the bounds of 2.6.1 so i could continue those projects in the old version with no problems and build classic apps in 261 and then the osx and windoz in a more recent version of rev. bit of a pain, but worked fine. a lot also boils down to who will pay for the development of the stuff for the old machines in both the authoring/programming system and the content/apps. the old guys dont want to pay for all the bleeding edge development stuff and the new guys dont want to pay for the legacy machine development. if you split the markets into tow then you have the problem of two development streams (no longer really a universal product) and two smaller markets which means a higher price for each individually most likely. not saying chuck all those old machines, but you cant have your cake and eat it too. either we dont have a lot of innovation and new features so we can continue to support all the legacy machines still running out there, or we have a lots of advancement and we have to cut off producing new stuff for the older market which then shrinks rapidly. unfortunately i dont think there is a perfect solution here (unless you have a magic wand and some bunged up latin to go with it)... cheers jeff On Mar 29, 2010, at 1:00 PM, use-revolution-request at lists.runrev.com wrote: > No Worries; Geoff . . . :) > > However; although Mac OS 9 is about 8-9-10 years in the past there are > an awful lot of machines > that cannot run 'X' that should not be chucked into some horrible, > polluting landfill (well, at least > not as long as they go on working) when they can continue to serve. From ambassador at fourthworld.com Mon Mar 29 14:33:07 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 29 Mar 2010 11:33:07 -0700 Subject: Printing in Linux Message-ID: <4BB0F263.5010901@fourthworld.com> Peter Alcibiades wrote: > Well, it gets worse. The problem is, when installed, the print card into > does not work on a real printer the way it does on cups-pdf. It must be > that it varies with the printer being installed, and also with the > distribution, and maybe also with the screen resolution. If the engine is the same and the variance lies with the drivers, it would seem you've found your answer. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From ambassador at fourthworld.com Mon Mar 29 14:48:46 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 29 Mar 2010 11:48:46 -0700 Subject: Updating running apps Message-ID: <4BB0F60E.7050400@fourthworld.com> Sarah Reichelt wrote: > I have some apps that when checking for updates, then offer a "Install > & Relaunch" option. > This seems really cool to me, but I haven't worked out how to do it in > my Rev apps. > If I am only updating separate sub-stacks, then I can work it out, but > if I want to update the actual application file what can I do? > > I can get the existing app to download the new version, but then what? > Can a running app replace itself on disk? > Then how to tell it to quit & re-launch? > > On a Mac, I guess I could spit out an AppleScript to quit the app, > re-locate the downloaded app, then restart it but the apps I have > don't seem to start an AppleScript when doing this. > > Any suggestions? I started down that road a while back, and then I realized that what made it seem cool and exotic is that almost no one else does it. Most apps download, some also install, almost none can use the new build without quitting the old one first. With Rev, using an anchor window pattern (sometimes called the "splash stack" for those who don't also update their splash screen) you can download compressed copies of your stack files, decompress them and overwrite the old ones, issue a revert command, and you have a new version. Sounds good, but in my brief experiments down that road I quickly realized the wide range of things that can go wrong attempting to update components on-the-fly: to do it well you need to write a fair amount of code to restore globals (and hope you're using the same ones), save and restore window states and data states, etc. ad tedium. Too easy to get your fingers caught in the fan blades if you forget something. Requiring a quit-and-relaunch lets you have a clean initialization, without replicating a more complex version of that initialization in vivo. And you'll have no complaints about having to quit and relaunch from your end-users, since they've probably never seen an app that does it any other way. Whether you attempt to update in vivo or go for the more common quit-and-relaunch, managing components can be made simpler by using a version file hosted somewhere with your app, with its URL stored in a custom property. If you do this sort of thing often, you may consider using the Rev Interop specs for that - see the ECMI document Ken posted in the Files section at: I don't know if Trevor uses the RIP properties outlined there in his updater, but I see that he uses them elsewhere in things like the Data Grid, and with the RIPEdit tool also available in that group I've been adding them to all of my libraries as well for a variety of version control and managements tasks. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From richmondmathewson at gmail.com Mon Mar 29 14:57:15 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 29 Mar 2010 21:57:15 +0300 Subject: Daft idea for commercial software ??? Message-ID: <4BB0F80B.2020302@gmail.com> I have been thinking about all the cafuffle about registration numbers and so forth; and wonder, given the fact that some level of pirating will go on if a piece of software is worth anything, if it is really worth all the mucking around. So: I should like to float this idea and welcome all reactions and criticisms: I release a crippled demo which contains a page that lists my Paypal place and informs would-be buyers that within 48 hours of my receiving via Paypal I will either e-mail them as an attachment or direct them to an ftp folder where a full version of the program is with a banner of some sort plastered across the front page / opening screen saying something like: "This version of ZZZZZ is the property of QQQQ and as such may only be used by him/her/it." No doubt some folks will share their personalised versions with their friends, relations and so on; but that will probably happen anyway unless I go down the painful route of tying programs to mac addresses. From hmspotato at googlemail.com Mon Mar 29 16:12:57 2010 From: hmspotato at googlemail.com (hmspotato at googlemail.com) Date: Mon, 29 Mar 2010 22:12:57 +0200 Subject: Rev standalone app stays in memory on my Xubuntu 9.10 Message-ID: <20100329201257.973732889@smtp.googlemail.com> Hello Len, Thank you for responding to my question. I hope I am a little better than an average computer user, but I have a very long way to go before qualifying to be a geek. Could you explain what it means to have an open socket in the program? I am a mere teacher, and my program is a simple app to keep students record according to their class. All data is saved locally inside data stacks. There is no network connection or connection to external database. Before quitting, all open stacks are closed. My program works (i.e. quits cleanly) on other computers running Xubuntu 9.10, Mac OS X or Windows. The anomaly occurs only on my laptop running Xubuntu 9.10. I would think that my coding in Revolution must be ok, but something is not right on my laptop, on which my app fails to quit cleanly. However, oddly, on the same laptop, another app I made quits cleanly. Can you suggest what I should change on my laptop? Megumi >It sounds to me like you've got an open socket or file laying around in >the program that is preventing it from closing. Check your sockets and >open files when you quit (handle the quit stack message). Maybe a >driver on one machine is not releasing the socket and so your program >stays around waiting. > >len From palcibiades-first at yahoo.co.uk Mon Mar 29 16:28:18 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 29 Mar 2010 12:28:18 -0800 (PST) Subject: Printing in Linux In-Reply-To: <4BB0F263.5010901@fourthworld.com> References: <4BAFA4F8.3070504@gmail.com> <4BB0F263.5010901@fourthworld.com> Message-ID: <1269894498800-1695593.post@n4.nabble.com> "If the engine is the same and the variance lies with the drivers, it would seem you've found your answer." Yes. But what I don't understand is, why is Rev the only app that has these problems? Open Office prints identically to my home printer, to cups-pdf, to the office printer, on Mandriva or Debian or Ubuntu. So do text editors. Rev must be doing something very different. There are problems with Linux printing drivers, but they have to do with making printers work, not all do. They are not these kinds of problems. I gather that in 4.5 there is going to be a print to pdf in Rev itself. That has the potential to solve the problem at once. If you can print to pdf, you can then pass it to some pdf reader and just print from that. But, but, if I understood correctly, this facility is only going to feature in the Enterprise version? That is just not possible, is it? -- View this message in context: http://n4.nabble.com/Printing-in-Linux-tp1694324p1695593.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Mon Mar 29 16:43:09 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 29 Mar 2010 23:43:09 +0300 Subject: Printing in Linux In-Reply-To: <1269894498800-1695593.post@n4.nabble.com> References: <4BAFA4F8.3070504@gmail.com> <4BB0F263.5010901@fourthworld.com> <1269894498800-1695593.post@n4.nabble.com> Message-ID: <4BB110DD.3070803@gmail.com> Now I'm less sophisticated than Peter Alcibiades and Richard Gaskin when it comes to computery stuff; but what I do know is that every other program I have ever downloaded onto my Ubuntu box that "does" text or images allows me to print to my printer (whether it be connected directly to the Ubuntu box, shared on another computer via a router, switch or hub, or via a printer server - tried them all today, just to be bloody-minded). I also know that I can print directly from RunRev 4 on Mac OS X and Win XP. So I am not terribly excited about some putative upgrade in "4.5" to allow one to print to PDF so one can then fudge a print-out from that (especially if it is going to be an Enterprise-only 'thang'; I can see buckets and buckets of RunRev programmers forking out the difference between Studio and Enterprise for some printing fudge that isn't capable of doing what everything else can do everywhere else). From an extremely selfish angle: if I produce a piece of software that has a "dirty, fat PRINT button" on it, I want it to do what it says - PRINT - regardless of whether it is deployed on Mac, Win or Linux. But, Hey, I want RunRev to pick up on all the fonts installed on a system as well; I'm a greedy bu**er . . . :) From andrew at rjdfarm.com Mon Mar 29 17:16:21 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Mon, 29 Mar 2010 13:16:21 -0800 (PST) Subject: Crystal Reports In-Reply-To: <1269636738954-1692831.post@n4.nabble.com> References: <1269636738954-1692831.post@n4.nabble.com> Message-ID: <1269897381634-1695638.post@n4.nabble.com> Anyone? -- View this message in context: http://n4.nabble.com/Crystal-Reports-tp1692831p1695638.html Sent from the Revolution - User mailing list archive at Nabble.com. From zryip.theslug at gmail.com Mon Mar 29 17:22:36 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Mon, 29 Mar 2010 23:22:36 +0200 Subject: [ANN] The Slug is now on the road with the Step by Step collection Message-ID: <64bda6471003291422j22fad8f8v6a66b57e34f6348a@mail.gmail.com> Dear list members, I'm happy to announce the availability of a new downloadable section in my website. In this section you will reach the first Step by step stack devoted to palettes. The subject of this first part is : palettes with an orientable titlebar. This stack explains : - How to create the palette. - How to move the palette. - How to skin the titlebar. - How to change the titlebar orientation. - And in Mac OS X, how to keep the shadow border effect of the palette. http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&id=5:palettes-step-by-step&Itemid=63 I hope this new collection will please you. 8-) Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From mwieder at ahsoftware.net Mon Mar 29 17:22:42 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 29 Mar 2010 14:22:42 -0700 Subject: Crystal Reports In-Reply-To: <1269897381634-1695638.post@n4.nabble.com> References: <1269636738954-1692831.post@n4.nabble.com> <1269897381634-1695638.post@n4.nabble.com> Message-ID: <106660007609.20100329142242@ahsoftware.net> Andrew- Monday, March 29, 2010, 2:16:21 PM, you wrote: > Anyone? Never done the Crystal Reports thing, but have you checked out Quartam Reports? My guess is that will get you where you're going via the most painless route. Other than that, how's your C coding? Crafting externals isn't that hard if you can hit the ground running already. There are a few newsletter articles about this that you might want to read. -- -Mark Wieder mwieder at ahsoftware.net From lfredricks at proactive-intl.com Mon Mar 29 17:59:35 2010 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 29 Mar 2010 14:59:35 -0700 Subject: Crystal Reports In-Reply-To: <1269897381634-1695638.post@n4.nabble.com> References: <1269636738954-1692831.post@n4.nabble.com> <1269897381634-1695638.post@n4.nabble.com> Message-ID: <57A738D031964F4F8ACE002FF0F1E472@GATEWAY> > Anyone? Paradigma Software has developed Valentina Reports, which works with Valentina DB. Valentina DB is an extremely fast, columnar database, which has native drivers for every major development system on Windows, OS X and Linux (including .net and Revolution, iPhone among others). Valentina DB is available both for local database applications and also for true server-side apps. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From zryip.theslug at gmail.com Mon Mar 29 18:09:58 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 30 Mar 2010 00:09:58 +0200 Subject: Crystal Reports In-Reply-To: <1269636738954-1692831.post@n4.nabble.com> References: <1269636738954-1692831.post@n4.nabble.com> Message-ID: <64bda6471003291509wdfd82a4v221279369b182a64@mail.gmail.com> 2010/3/26 Andrew Kluthe : > Has anyone attempted an External or know anything about interfacing RunRev > with a Crystal Report? > > I need to come up with a versatile reporting solution and they already have > so many reports made in crystal reports that it would be perfect to continue > to use them in some form. > > >From what I understand, its relatively easy to interface .Net with a crystal > report. This may be the route that I have to go. Effectively, Crystal Report appears as a native object in Microsoft Visual Studio. For now I have never used it but as far as I know the Crystal Report product comes with an independent application to create and exploit reports. Crystal Report is, among things, capable to make reports on SQL and MySQL database. The idea could be to launch the Crystal Report application with RunRev. But I don't know the possibilities and limitations. I have read somewhere that it is possible to display a report in a browser but I suppose that is an ASP.net ability. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From johnpatten at mac.com Mon Mar 29 18:11:15 2010 From: johnpatten at mac.com (John Patten) Date: Mon, 29 Mar 2010 15:11:15 -0700 Subject: DataGrid Forms, checkboxes and Pull-Down buttons? Message-ID: <1F4FB8D9-5C57-4799-A3C1-9189E23DDD71@mac.com> Hi All... I'm using datagrids to display some data out of a mySQL database. I created a check box and a option button in the template for my data grid row. I would like to be able to check if data row checkbox hilite is true or not and would like to store data in my db based on the option of my option button. How do I get the hilite of my individual checkboxes in each row, and along the same lines, how would I get the information selected in my option button from each row of the datagrid? Thanks in Advance! John Patten From jacque at hyperactivesw.com Mon Mar 29 18:24:49 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 29 Mar 2010 17:24:49 -0500 Subject: Rev standalone app stays in memory on my Xubuntu 9.10 In-Reply-To: <20100329201257.973732889@smtp.googlemail.com> References: <20100329201257.973732889@smtp.googlemail.com> Message-ID: <4BB128B1.9020902@hyperactivesw.com> hmspotato at googlemail.com wrote: > My program works (i.e. quits cleanly) on other computers running Xubuntu > 9.10, Mac OS X or Windows. The anomaly occurs only on my laptop running > Xubuntu 9.10. I would think that my coding in Revolution must be ok, but > something is not right on my laptop, on which my app fails to quit > cleanly. However, oddly, on the same laptop, another app I made quits > cleanly. In general, Rev won't quit if any drivers, sockets, or pending messages are open. Your report mentioned sockets, so that seems a likely candidate. But I don't know why it works on other machines. To everyone: RR tried to reproduce this and couldn't, so it's something on that particular machine. If anyone has a clue, I'd like to know too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Mon Mar 29 19:27:55 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 30 Mar 2010 01:27:55 +0200 Subject: ANN: Clipboard Link Message-ID: <2674BB46-22B1-4142-9204-EA50C52E7D26@economy-x-talk.com> Hello, Economy-x-Talk has released a new little gem: Clipboard Link. Clipboard Link enables you to share the contents of the clipboard of your computer with other computers on the same local network. Copy a text or picture on one computer and paste it on any computer connected to your network. Because I often develop software on two or more computers simultaneously, I frequently want to test the same code on multiple machines. Clipboard Link lets me copy a script on my MacBook and paste it on my Windows PC for example. Anyone who has ever been in the same situation might want to check out Clipboard Link. (Made with Revolution). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. From m.schonewille at economy-x-talk.com Mon Mar 29 19:30:51 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 30 Mar 2010 01:30:51 +0200 Subject: ANN: Clipboard Link In-Reply-To: <2674BB46-22B1-4142-9204-EA50C52E7D26@economy-x-talk.com> References: <2674BB46-22B1-4142-9204-EA50C52E7D26@economy-x-talk.com> Message-ID: Grrr... you probably want to know where you can download this little app: http://clipboardlink.economy-x-talk.com Op 30 mrt 2010, om 01:27 heeft Mark Schonewille het volgende geschreven: > Hello, > > Economy-x-Talk has released a new little gem: Clipboard Link. > Clipboard Link enables you to share the contents of the clipboard of > your computer with other computers on the same local network. Copy a > text or picture on one computer and paste it on any computer > connected to your network. > > Because I often develop software on two or more computers > simultaneously, I frequently want to test the same code on multiple > machines. Clipboard Link lets me copy a script on my MacBook and > paste it on my Windows PC for example. Anyone who has ever been in > the same situation might want to check out Clipboard Link. (Made > with Revolution). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software development projects. Feel free to contact me for a quote. From andre at andregarzia.com Mon Mar 29 19:35:52 2010 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 29 Mar 2010 20:35:52 -0300 Subject: ANN: Clipboard Link In-Reply-To: References: <2674BB46-22B1-4142-9204-EA50C52E7D26@economy-x-talk.com> Message-ID: <7c87a2a11003291635n57ccedc6ieed2bf2bc76208a6@mail.gmail.com> Thats really useful Mark, congrats! I had a homegrown solution for my computers, but your general purpose one is really cool! Cheers andre On Mon, Mar 29, 2010 at 8:30 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Grrr... you probably want to know where you can download this little app: > http://clipboardlink.economy-x-talk.com > > Op 30 mrt 2010, om 01:27 heeft Mark Schonewille het volgende geschreven: > > > Hello, >> >> Economy-x-Talk has released a new little gem: Clipboard Link. Clipboard >> Link enables you to share the contents of the clipboard of your computer >> with other computers on the same local network. Copy a text or picture on >> one computer and paste it on any computer connected to your network. >> >> Because I often develop software on two or more computers simultaneously, >> I frequently want to test the same code on multiple machines. Clipboard Link >> lets me copy a script on my MacBook and paste it on my Windows PC for >> example. Anyone who has ever been in the same situation might want to check >> out Clipboard Link. (Made with Revolution). >> > > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Economy-x-Talk is always looking for new software development projects. > Feel free to contact me for a quote. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From sarah.reichelt at gmail.com Mon Mar 29 20:38:09 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 30 Mar 2010 10:38:09 +1000 Subject: Data grids in standalones Message-ID: I have an app that uses data grids, but as one of the stacks is password protected, I am selecting the inclusions for the standalone manually. I think this is stopping the data grid library from being imported automatically into the standalone, so when I try to display any data in a data grid, I get an error like this: Executing at 10:33:21 AM on Tuesday, March 30, 2010 Type: Chunk: error in object expression Object: group 'DG1' of card '...' of stack '/Users/sarah/.....' Line Num: 3629 Hint: _table.CreateControlsForColumns Can I tell the standalone builder to include the data grid library even if setting inclusions manually? Or do I have to un-protect my stack to get this to work. BTW, the protected stack is a separate file that doesn't need to be in the build since it is stored else where and installed as required. But I can't make the standalone builder remove it from the list, so it seems like it has to be there. But that's a separate problem. Cheers, Sarah From sarah.reichelt at gmail.com Mon Mar 29 21:05:48 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 30 Mar 2010 11:05:48 +1000 Subject: Standalone issues Message-ID: I have an app that uses a separate protected stack file. I do not want this stack file bundled into the standalone. In use, I install this stack and then set the mainStack's stackFiles to include this separate stack file. In Standalone settings, I cannot get them to ignore this separate stack file. The "Remove Stack File" button does nothing. Setting the stackFiles of the mainStack to empty before creating any standalone settings doesn't help. My debugging shows that it is getting this stack from the list of stackFiles, but when I query the stackFiles, it returns empty. So how can I either stop this stack file from getting into the stacks list, or remove it when it gets there? I have looked at the standalone setting custom property set, but I can't find a property that includes the list of stacks. I will keep wrestling with the problem, but I hoped someone might have an idea. Cheers, Sarah From sarah.reichelt at gmail.com Mon Mar 29 21:20:11 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 30 Mar 2010 11:20:11 +1000 Subject: Standalone issues In-Reply-To: References: Message-ID: On Tue, Mar 30, 2010 at 11:05 AM, Sarah Reichelt wrote: > I have an app that uses a separate protected stack file. > I do not want this stack file bundled into the standalone. > In use, I install this stack and then set the mainStack's stackFiles > to include this separate stack file. > > In Standalone settings, I cannot get them to ignore this separate stack file. > The "Remove Stack File" button does nothing. > Setting the stackFiles of the mainStack to empty before creating any > standalone settings doesn't help. > > My debugging shows that it is getting this stack from the list of > stackFiles, but when I query the stackFiles, it returns empty. > > So how can I either stop this stack file from getting into the stacks > list, or remove it when it gets there? Sigh - my fault.... Somehow one of the other sub-stacks had got it's stackFiles property set, so that's where the extra stack file was coming from. Once I fixed this, my data grid problem also disappeared. Sorry to bother the list. Cheers, Sarah From sarah.reichelt at gmail.com Mon Mar 29 21:21:28 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 30 Mar 2010 11:21:28 +1000 Subject: Data grids in standalones In-Reply-To: References: Message-ID: On Tue, Mar 30, 2010 at 10:38 AM, Sarah Reichelt wrote: > I have an app that uses data grids, but as one of the stacks is > password protected, I am selecting the inclusions for the standalone > manually. > I think this is stopping the data grid library from being imported > automatically into the standalone, so when I try to display any data > in a data grid, I get an error like this: > > Executing at 10:33:21 AM on Tuesday, March 30, 2010 > Type: Chunk: error in object expression > Object: group 'DG1' of card '...' of stack '/Users/sarah/.....' > Line Num: 3629 > Hint: _table.CreateControlsForColumns > > Can I tell the standalone builder to include the data grid library > even if setting inclusions manually? > Or do I have to un-protect my stack to get this to work. I fixed this problem by getting rid of the protected stack (which is what I wanted to do anyway). But the question remains: if I choose to specify inclusions, how do I include the data grid library? Cheers, Sarah From stephenREVOLUTION2 at barncard.com Mon Mar 29 21:58:02 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 29 Mar 2010 18:58:02 -0700 Subject: ANN: Clipboard Link In-Reply-To: <7c87a2a11003291635n57ccedc6ieed2bf2bc76208a6@mail.gmail.com> References: <2674BB46-22B1-4142-9204-EA50C52E7D26@economy-x-talk.com> <7c87a2a11003291635n57ccedc6ieed2bf2bc76208a6@mail.gmail.com> Message-ID: There used to be a little app called SPIKE that did this that was released by a company called "Soapdog". I thought once it could have been a teenage Andre Garzia! On 29 March 2010 16:35, Andre Garzia wrote: > Thats really useful Mark, congrats! > > I had a homegrown solution for my computers, but your general purpose one > is > really cool! > > Cheers > andre > > On Mon, Mar 29, 2010 at 8:30 PM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > > > Grrr... you probably want to know where you can download this little app: > > http://clipboardlink.economy-x-talk.com > > > > Op 30 mrt 2010, om 01:27 heeft Mark Schonewille het volgende geschreven: > > > > > > Hello, > >> > >> Economy-x-Talk has released a new little gem: Clipboard Link. Clipboard > >> Link enables you to share the contents of the clipboard of your computer > >> with other computers on the same local network. Copy a text or picture > on > >> one computer and paste it on any computer connected to your network. > >> > >> Because I often develop software on two or more computers > simultaneously, > >> I frequently want to test the same code on multiple machines. Clipboard > Link > >> lets me copy a script on my MacBook and paste it on my Windows PC for > >> example. Anyone who has ever been in the same situation might want to > check > >> out Clipboard Link. (Made with Revolution). > >> > > > > > > -- > > Best regards, > > > > Mark Schonewille > > > > Economy-x-Talk Consulting and Software Engineering > > Homepage: http://economy-x-talk.com > > Twitter: http://twitter.com/xtalkprogrammer > > > > Economy-x-Talk is always looking for new software development projects. > > Feel free to contact me for a quote. > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard Back home in SF From shani.runrev at gmail.com Mon Mar 29 22:43:08 2010 From: shani.runrev at gmail.com (Shani) Date: Tue, 30 Mar 2010 04:43:08 +0200 Subject: RevTalk as a Server Message-ID: hi, is there is any program in which Revtalk working as a server (GUI) for any other Program through Socket Programming. Regards, SHANI From shani.runrev at gmail.com Mon Mar 29 22:44:04 2010 From: shani.runrev at gmail.com (Shani) Date: Tue, 30 Mar 2010 04:44:04 +0200 Subject: Revtalk communication Message-ID: Hi, How RevTalk communicate with Client Though Socket Programming. Regards, Shani From shani.runrev at gmail.com Mon Mar 29 22:46:53 2010 From: shani.runrev at gmail.com (Shani) Date: Tue, 30 Mar 2010 04:46:53 +0200 Subject: Open Socket Message-ID: Hi, I want to communicate with Other program Client (JAVA or JADE) from RevTalk through Socket. open socket to ("filename " & : & (port#)) with message "Server connected" ## http://docs.runrev.com/Command/open-socket what i give command on client side. Regards, SHANI From jacque at hyperactivesw.com Mon Mar 29 23:09:01 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 29 Mar 2010 22:09:01 -0500 Subject: Revtalk communication In-Reply-To: References: Message-ID: <4BB16B4D.5000705@hyperactivesw.com> Shani wrote: > Hi, > > How RevTalk communicate with Client Though Socket Programming. This may help: If you use Gmane to search the mail list archives for "socket" you will find other examples. Also, there is a chat server example called "chatrev" which I believe is on RevOnline. That's a more advanced example of socket usage. You can see RevOnline by clicking the icon in Rev's toolbar. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From psahores at free.fr Mon Mar 29 23:43:39 2010 From: psahores at free.fr (Pierre Sahores) Date: Tue, 30 Mar 2010 05:43:39 +0200 Subject: RevTalk as a Server In-Reply-To: References: Message-ID: <541083E1-70BC-4130-B625-A8019913EED2@free.fr> Hi Shani, Perhaps would this tutorial help : Cheers, P. Le 30 mars 10 ? 04:43, Shani a ?crit : > hi, > > is there is any program in which Revtalk working as a server (GUI) > for any > other Program through Socket Programming. > > > Regards, > SHANI > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From joef1 at mac.com Mon Mar 29 23:48:10 2010 From: joef1 at mac.com (Joe F.) Date: Mon, 29 Mar 2010 23:48:10 -0400 Subject: Standalone issues In-Reply-To: References: Message-ID: <1B9147ED-7860-4BC9-9D8D-CC0D35F253EA@mac.com> No apologies necessary Sarah- It's quite reassuring to know you also go through these episodes of agony. I just went thru a similar thing trying to figure out why datagrids weren't working in a stack that I now want to make into a separate unit of a standalone. I'm curious how you go about protecting the external stack files in your project. I was just coming to post a question about that when I read yours. Joe F. On Mar 29, 2010, at 9:20 PM, Sarah Reichelt wrote: > > Sigh - my fault.... > Somehow one of the other sub-stacks had got it's stackFiles property > set, so that's where the extra stack file was coming from. > > Once I fixed this, my data grid problem also disappeared. > > Sorry to bother the list. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From joef1 at mac.com Mon Mar 29 23:51:43 2010 From: joef1 at mac.com (Joe F.) Date: Mon, 29 Mar 2010 23:51:43 -0400 Subject: Identifying a certain Windows machine Message-ID: Does anyone know of a way to identify the Windows machine of a certain user in a reliable way. I want my app to download a stack file which will only run on one user's machine. Is there a way to access something like a MAC number or some unique identifier on Windows machines. Bonus question: Is there a good way to make a stack self-destruct? Cheers, Joe F. From monte at sweattechnologies.com Tue Mar 30 00:07:48 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 30 Mar 2010 15:07:48 +1100 Subject: Identifying a certain Windows machine In-Reply-To: References: Message-ID: <0743ED90-EBDC-43CB-ABFD-CA25A05B73B0@sweattechnologies.com> On 30/03/2010, at 2:51 PM, Joe F. wrote: > Does anyone know of a way to identify the Windows machine of a > certain user in a reliable way. > > I want my app to download a stack file which will only run on one > user's machine. > Is there a way to access something like a MAC number or some unique > identifier on Windows machines. Yep: # GetMACAddress() # # Function to return the MAC address # # Makes use of ifconfig on OS X and ipconfig on Windows function getMACAddress -- value to return local retVal switch (the platform) case "MacOS" if the systemVersion < 10 then -- MacOS set the directory to specialFolderPath("apple") put "tell application" && quote & "Apple System Profiler" & \ quote & cr & "get appletalk address" & cr & "end tell" into getMACScript put "tell application" && quote & "Apple System Profiler" & \ quote & cr & "close window" && quote & "Apple System Profiler" & quote & \ cr & "end tell" into quitASPScript do getMACScript as AppleScript put the result into retVal do quitASPScript as AppleScript replace "{" with "" in retVal replace "}" with "" in retVal replace quote with "" in retVal else -- OS X put shell("ifconfig en0") into ifConfigs if char 1 to 4 of ifConfigs = "zsh:" then return "Error retrieving interface configuration." else get matchText(ifconfigs,"(?s)ether (.*?) ",retVal) -- These are spaces on either side of (.*?) if it is false then return "Error retrieving MAC address." end if end if end if break case "Win32" -- All Windows put (there is a file (specialFolderPath("system") & "/ IPCONFIG.EXE")) into winExists put (there is a file (specialFolderPath("system") & "/SYSTEM32/ IPCONFIG.EXE")) into sys32Exists if winExists or sys32Exists then set the hideConsoleWindows to true put shell("ipconfig /all") into temp get matchText(temp,"Physical Address[\. ]*: ([A-Z0-9-]*)",retVal) else return "Error retrieving MAC address." end if break end switch return retVal end getMACAddress > > > Bonus question: > Is there a good way to make a stack self-destruct? Just don't let the user save the file if you only want it run just after the download. use: go stack url http://www.myserver.com/test.rev Cheers Monte From palcibiades-first at yahoo.co.uk Tue Mar 30 00:26:49 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 29 Mar 2010 20:26:49 -0800 (PST) Subject: Identifying a certain Windows machine In-Reply-To: References: Message-ID: <1269923209987-1744691.post@n4.nabble.com> Don't bother. All they have to do is install in a VM, or even in Wine. Then if they move the VM, or the Wine folder, the machine ID stays the same. So you don't achieve anything, all you do is annoy your less sophisticated customers, who will find someone who knows how to defeat it. But it gets worse. The problem is, they will feel they have a legitimate need to be able to move their install from one physical machine to another. They will feel that a restriction to one particular machine, as opposed to one installation, is not fair. However, what you have then encouraged them to do, installing on a VM, gives them the ability to install as many copies as they want, wherever they want. Its counterproductive. Then, you'll start to think, maybe there is a way I can detect and ban VMs. And Wine. Yes, maybe. How will they see that? Will inability to run under Wine or in a VM seem to the customer like a value added feature? -- View this message in context: http://n4.nabble.com/Identifying-a-certain-Windows-machine-tp1742751p1744691.html Sent from the Revolution - User mailing list archive at Nabble.com. From joef1 at mac.com Tue Mar 30 04:06:17 2010 From: joef1 at mac.com (Joe F.) Date: Tue, 30 Mar 2010 04:06:17 -0400 Subject: Identifying a certain Windows machine In-Reply-To: <0743ED90-EBDC-43CB-ABFD-CA25A05B73B0@sweattechnologies.com> References: <0743ED90-EBDC-43CB-ABFD-CA25A05B73B0@sweattechnologies.com> Message-ID: <727E3EEA-9952-4422-A4DB-EA637F265EF3@mac.com> Wow- that is some answer. Thank you Monte. I was actually expecting something like "getSystemID" to be built into Revtalk, but... You inspired me to make myself a script library. Thanks, Joe F. On Mar 30, 2010, at 12:07 AM, Monte Goulding wrote: > > On 30/03/2010, at 2:51 PM, Joe F. wrote: > >> Does anyone know of a way to identify the Windows machine of a >> certain user in a reliable way. >> >> I want my app to download a stack file which will only run on one >> user's machine. >> Is there a way to access something like a MAC number or some unique >> identifier on Windows machines. > > Yep: > > # GetMACAddress() > # > # Function to return the MAC address > # > # Makes use of ifconfig on OS X and ipconfig on Windows > > function getMACAddress > -- value to return > local retVal > switch (the platform) > case "MacOS" > if the systemVersion < 10 then > -- MacOS > set the directory to specialFolderPath("apple") > put "tell application" && quote & "Apple System Profiler" & \ > quote & cr & "get appletalk address" & cr & "end tell" into > getMACScript > put "tell application" && quote & "Apple System Profiler" & \ > quote & cr & "close window" && quote & "Apple System > Profiler" & quote & \ > cr & "end tell" into quitASPScript > do getMACScript as AppleScript > put the result into retVal > do quitASPScript as AppleScript > replace "{" with "" in retVal > replace "}" with "" in retVal > replace quote with "" in retVal > else > -- OS X > put shell("ifconfig en0") into ifConfigs > if char 1 to 4 of ifConfigs = "zsh:" then > return "Error retrieving interface configuration." > else > get matchText(ifconfigs,"(?s)ether (.*?) ",retVal) -- These > are spaces on either side of (.*?) > if it is false then > return "Error retrieving MAC address." > end if > end if > end if > break > case "Win32" > -- All Windows > put (there is a file (specialFolderPath("system") & "/ > IPCONFIG.EXE")) into winExists > put (there is a file (specialFolderPath("system") & "/SYSTEM32/ > IPCONFIG.EXE")) into sys32Exists > if winExists or sys32Exists then > set the hideConsoleWindows to true > put shell("ipconfig /all") into temp > get matchText(temp,"Physical Address[\. ]*: ([A-Z0-9-]*)",retVal) > else > return "Error retrieving MAC address." > end if > break > end switch > return retVal > end getMACAddress >> >> >> Bonus question: >> Is there a good way to make a stack self-destruct? > > Just don't let the user save the file if you only want it run just > after the download. > use: > go stack url http://www.myserver.com/test.rev > > Cheers > > Monte > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From joef1 at mac.com Tue Mar 30 04:06:37 2010 From: joef1 at mac.com (Joe F.) Date: Tue, 30 Mar 2010 04:06:37 -0400 Subject: Identifying a certain Windows machine In-Reply-To: <1269923209987-1744691.post@n4.nabble.com> References: <1269923209987-1744691.post@n4.nabble.com> Message-ID: Hmm- that's an interesting angle- thanks for the input. My immediate purpose is for a single user, private app. If anyone else gets access to it they could only have malicious use for it, so I'd want it to just destroy itself if possible. On Mar 30, 2010, at 12:26 AM, Peter Alcibiades wrote: > > Don't bother. > > All they have to do is install in a VM, or even in Wine. Then if > they move > the VM, or the Wine folder, the machine ID stays the same. So you > don't > achieve anything, all you do is annoy your less sophisticated > customers, who > will find someone who knows how to defeat it. But it gets worse. > > The problem is, they will feel they have a legitimate need to be > able to > move their install from one physical machine to another. They will > feel > that a restriction to one particular machine, as opposed to one > installation, is not fair. However, what you have then encouraged > them to > do, installing on a VM, gives them the ability to install as many > copies as > they want, wherever they want. Its counterproductive. > > Then, you'll start to think, maybe there is a way I can detect and > ban VMs. > And Wine. Yes, maybe. How will they see that? Will inability to > run under > Wine or in a VM seem to the customer like a value added feature? > -- > View this message in context: http://n4.nabble.com/Identifying-a-certain-Windows-machine-tp1742751p1744691.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sarah.reichelt at gmail.com Tue Mar 30 05:15:24 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 30 Mar 2010 19:15:24 +1000 Subject: Standalone issues In-Reply-To: <1B9147ED-7860-4BC9-9D8D-CC0D35F253EA@mac.com> References: <1B9147ED-7860-4BC9-9D8D-CC0D35F253EA@mac.com> Message-ID: > I'm curious how you go about protecting the external stack files in your > project. > I was just coming to post a question about that when I read yours. I create a stack in a separate stack file, then I set it's password to protect it's scripts. I suck it up into a custom property of the main stack. When needed, I can spit it out, saving if required, or you can just use something like: go to stack (the cSuckedUpStack of this stack) Since the stack to be protected has it's contents already scrambled and then is stored as binary inside the main binary, this seems quite secure to me. Cheers, Sarah From palcibiades-first at yahoo.co.uk Tue Mar 30 05:18:19 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Tue, 30 Mar 2010 01:18:19 -0800 (PST) Subject: Printing in Linux In-Reply-To: <4BB110DD.3070803@gmail.com> References: <4BAFA4F8.3070504@gmail.com> <4BB0F263.5010901@fourthworld.com> <1269894498800-1695593.post@n4.nabble.com> <4BB110DD.3070803@gmail.com> Message-ID: <1269940699799-1744935.post@n4.nabble.com> " ....what I do know is that every other program I have ever downloaded onto my Ubuntu box that "does" text or images allows me to print to my printer....." Yes, this is true. Its also true that a programming language without printing is useless. Can't believe I actually wrote that. -- View this message in context: http://n4.nabble.com/Printing-in-Linux-tp1694324p1744935.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Tue Mar 30 05:54:46 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 30 Mar 2010 12:54:46 +0300 Subject: Printing in Linux In-Reply-To: <1269940699799-1744935.post@n4.nabble.com> References: <4BAFA4F8.3070504@gmail.com> <4BB0F263.5010901@fourthworld.com> <1269894498800-1695593.post@n4.nabble.com> <4BB110DD.3070803@gmail.com> <1269940699799-1744935.post@n4.nabble.com> Message-ID: <4BB1CA66.60301@gmail.com> On 30/03/2010 12:18, Peter Alcibiades wrote: > " ....what I do know is that every other program I have ever downloaded onto > my Ubuntu box that "does" text > or images allows me to print to my printer....." > > Yes, this is true. Its also true that a programming language without > printing is useless. Can't believe I actually wrote that. Aye; well, there micht be many more things that we cannot believe we have written before this one is finished. From shani.runrev at gmail.com Tue Mar 30 06:40:50 2010 From: shani.runrev at gmail.com (Shani) Date: Tue, 30 Mar 2010 12:40:50 +0200 Subject: Revtalk communication In-Reply-To: <4BB16B4D.5000705@hyperactivesw.com> References: <4BB16B4D.5000705@hyperactivesw.com> Message-ID: HI Landman, thaks good example. actually i want to use rev as a server and JADE (JAVA AGENT DEVELOPMENT ENVIORNMENT) as a client. do you know that is there is any example related that one. Regards, Shani On Tue, Mar 30, 2010 at 5:09 AM, J. Landman Gay wrote: > Shani wrote: > >> Hi, >> >> How RevTalk communicate with Client Though Socket Programming. >> > > This may help: < > http://article.gmane.org/gmane.comp.ide.revolution.user/33316> > > If you use Gmane to search the mail list archives for "socket" you will > find other examples. Also, there is a chat server example called "chatrev" > which I believe is on RevOnline. That's a more advanced example of socket > usage. You can see RevOnline by clicking the icon in Rev's toolbar. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From heather at runrev.com Tue Mar 30 07:32:30 2010 From: heather at runrev.com (Heather Nagey) Date: Tue, 30 Mar 2010 12:32:30 +0100 Subject: Interesting discussion on iPad content Message-ID: <1CF97C48-A885-4B49-9C81-89D4A0B068D3@runrev.com> Thought you folks might appreciate: http://radar.oreilly.com/2010/03/the-ipad-needs-its-hypercard.html cheers Heather Heather Nagey Customer Services Manager http://www.runrev.com/ RunRev - Software construction for everyone From richmondmathewson at gmail.com Tue Mar 30 08:01:04 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 30 Mar 2010 15:01:04 +0300 Subject: Interesting discussion on iPad content In-Reply-To: <1CF97C48-A885-4B49-9C81-89D4A0B068D3@runrev.com> References: <1CF97C48-A885-4B49-9C81-89D4A0B068D3@runrev.com> Message-ID: <4BB1E800.3010202@gmail.com> On 30/03/2010 14:32, Heather Nagey wrote: > Thought you folks might appreciate: > > http://radar.oreilly.com/2010/03/the-ipad-needs-its-hypercard.html > > cheers > > Heather > That is a point; and what I cannot understand is why the whole thing, and not just re the iPad: ". . . needs Hypercard" has been overlooked for so long (especially by silly Apple computers), and why almost nobody has pointed out something that is screamingly obvious: RevMedia 'is' Hypercard The next, inevitable question is; when do your good folk either:- produces iPad-functional versions of RunRev? or produce a standalone builder that can build iPad-functional standalones? Although the second question, if answered, will not supply the 'Hypercard' that the iPad needs. From revlist at azurevision.co.uk Tue Mar 30 08:12:11 2010 From: revlist at azurevision.co.uk (Ian Wood) Date: Tue, 30 Mar 2010 13:12:11 +0100 Subject: Interesting discussion on iPad content In-Reply-To: <4BB1E800.3010202@gmail.com> References: <1CF97C48-A885-4B49-9C81-89D4A0B068D3@runrev.com> <4BB1E800.3010202@gmail.com> Message-ID: On 30 Mar 2010, at 13:01, Richmond Mathewson wrote: > The next, inevitable question is; when do your good folk either:- > > produces iPad-functional versions of RunRev? I suspect that this would be impossible given Apple's stance on no runtime-interpreted code in App Store apps. :-( > or > > produce a standalone builder that can build iPad-functional > standalones? It's already slated for RevMobile, although 'when' is another matter. http://www.runrev.com/products/revmobile/iphoneipad-q-and-a/ Ian From davidocoker at gmail.com Tue Mar 30 08:31:22 2010 From: davidocoker at gmail.com (David Coker) Date: Tue, 30 Mar 2010 07:31:22 -0500 Subject: [ANN] The Slug is now on the road with the Step by Step collection In-Reply-To: <64bda6471003291422j22fad8f8v6a66b57e34f6348a@mail.gmail.com> References: <64bda6471003291422j22fad8f8v6a66b57e34f6348a@mail.gmail.com> Message-ID: > I'm happy to announce the availability of a new downloadable section > in my website. > > In this section you will reach the first Step by step stack devoted to palettes. > The subject of this first part is : palettes with an orientable titlebar. > > This stack explains : > - How to create the palette. > - How to move the palette. > - How to skin the titlebar. > - How to change the titlebar orientation. > - And in Mac OS X, how to keep the shadow border effect of the palette. > > http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&id=5:palettes-step-by-step&Itemid=63 > > I hope this new collection will please you. 8-) > > > Regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc Hello, Sounds interesting, but there seems to be a problem with the download link on your site. Regards, David C. From zryip.theslug at gmail.com Tue Mar 30 09:03:44 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 30 Mar 2010 15:03:44 +0200 Subject: [ANN] The Slug is now on the road with the Step by Step collection In-Reply-To: References: <64bda6471003291422j22fad8f8v6a66b57e34f6348a@mail.gmail.com> Message-ID: <64bda6471003300603v53ee004cx7f8cad055c800c67@mail.gmail.com> 2010/3/30 David Coker : >> I'm happy to announce the availability of a new downloadable section >> in my website. >> >> In this section you will reach the first Step by step stack devoted to palettes. >> The subject of this first part is : palettes with an orientable titlebar. >> >> This stack explains : >> - How to create the palette. >> - How to move the palette. >> - How to skin the titlebar. >> - How to change the titlebar orientation. >> - And in Mac OS X, how to keep the shadow border effect of the palette. >> >> http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&id=5:palettes-step-by-step&Itemid=63 >> >> I hope this new collection will please you. 8-) >> >> >> Regards, >> -- >> -Zryip TheSlug- wish you the best! 8) >> http://www.aslugontheroad.co.cc > > > Hello, > Sounds interesting, but there seems to be a problem with the download > link on your site. > > Regards, > David C. David, thank you for having reported this problem. The download link performs now as expected. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From andre at andregarzia.com Tue Mar 30 09:08:52 2010 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 30 Mar 2010 10:08:52 -0300 Subject: Open Socket In-Reply-To: References: Message-ID: <7c87a2a11003300608q72f65563wd1d6aa85204531d7@mail.gmail.com> Shani, check out the documentation built-in with Rev. open socket expect and IP or server name, unless filename is a machine on your network, that code is wrong. Also what is that # symbol doing there? Om shanti andre On Mon, Mar 29, 2010 at 11:46 PM, Shani wrote: > Hi, > I want to communicate with Other program Client (JAVA or JADE) from RevTalk > through Socket. > > open socket to ("filename " & : & (port#)) with message "Server > connected" > > ## http://docs.runrev.com/Command/open-socket > > what i give command on client side. > > Regards, > SHANI > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Tue Mar 30 09:10:27 2010 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 30 Mar 2010 10:10:27 -0300 Subject: ANN: Clipboard Link In-Reply-To: References: <2674BB46-22B1-4142-9204-EA50C52E7D26@economy-x-talk.com> <7c87a2a11003291635n57ccedc6ieed2bf2bc76208a6@mail.gmail.com> Message-ID: <7c87a2a11003300610i2565364brde2ca7d3484f417@mail.gmail.com> Stephen, Just checked them out, the company is porchdog, so we're cousins... Cheers andre On Mon, Mar 29, 2010 at 10:58 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > There used to be a little app called SPIKE that did this that was released > by a company called "Soapdog". I thought once it could have been a > teenage > Andre Garzia! > > On 29 March 2010 16:35, Andre Garzia wrote: > > > Thats really useful Mark, congrats! > > > > I had a homegrown solution for my computers, but your general purpose one > > is > > really cool! > > > > Cheers > > andre > > > > On Mon, Mar 29, 2010 at 8:30 PM, Mark Schonewille < > > m.schonewille at economy-x-talk.com> wrote: > > > > > Grrr... you probably want to know where you can download this little > app: > > > http://clipboardlink.economy-x-talk.com > > > > > > Op 30 mrt 2010, om 01:27 heeft Mark Schonewille het volgende > geschreven: > > > > > > > > > Hello, > > >> > > >> Economy-x-Talk has released a new little gem: Clipboard Link. > Clipboard > > >> Link enables you to share the contents of the clipboard of your > computer > > >> with other computers on the same local network. Copy a text or picture > > on > > >> one computer and paste it on any computer connected to your network. > > >> > > >> Because I often develop software on two or more computers > > simultaneously, > > >> I frequently want to test the same code on multiple machines. > Clipboard > > Link > > >> lets me copy a script on my MacBook and paste it on my Windows PC for > > >> example. Anyone who has ever been in the same situation might want to > > check > > >> out Clipboard Link. (Made with Revolution). > > >> > > > > > > > > > -- > > > Best regards, > > > > > > Mark Schonewille > > > > > > Economy-x-Talk Consulting and Software Engineering > > > Homepage: http://economy-x-talk.com > > > Twitter: http://twitter.com/xtalkprogrammer > > > > > > Economy-x-Talk is always looking for new software development projects. > > > Feel free to contact me for a quote. > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > > > > -- > > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > ------------------------- > Stephen Barncard > Back home in SF > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From alex at tweedly.net Tue Mar 30 10:02:30 2010 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 30 Mar 2010 15:02:30 +0100 Subject: Identifying a certain Windows machine In-Reply-To: <727E3EEA-9952-4422-A4DB-EA637F265EF3@mac.com> References: <0743ED90-EBDC-43CB-ABFD-CA25A05B73B0@sweattechnologies.com> <727E3EEA-9952-4422-A4DB-EA637F265EF3@mac.com> Message-ID: <4BB20476.6050806@tweedly.net> Joe F. wrote: > Wow- that is some answer. Thank you Monte. > > I was actually expecting something like "getSystemID" to be built into > Revtalk, but... > > You inspired me to make myself a script library. Note this approach works 99% of the time, but can go wrong (or at least be very confusing) if the user has installed any devices which have an in-built MAC address (e.g. a USB Wifi card, perhaps to get better reach than the in-built wifi gets, he says from experience :-). This may be the MAC address reported first, giving an "ID" which can later change. It might be better to do a filter on ""Physical address" and then regard each of the physical addresses as valid IDs (disregarding the 00-00-00-00-00-00 ones for virtual adapters). And as Peter said, a smart user can find a way around it anyway, a smart and malicious user will definitely get around it. -- Alex. From alex at tweedly.net Tue Mar 30 10:11:33 2010 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 30 Mar 2010 15:11:33 +0100 Subject: ANN: Clipboard Link In-Reply-To: References: <2674BB46-22B1-4142-9204-EA50C52E7D26@economy-x-talk.com> Message-ID: <4BB20695.3040801@tweedly.net> Sounds really interesting Mark. I'll definitely use it. But I won't use it for code testing - it's just too easy (for someone as easily distracted as me) to finish up with slightly different code on each machine :-( I use Dropbox (www.dropbox.com) to automatically sync all my machines - happens automatically in the time it takes to walk across the room to the other machine. -- Alex. Mark Schonewille wrote: > Grrr... you probably want to know where you can download this little app: > http://clipboardlink.economy-x-talk.com > > Op 30 mrt 2010, om 01:27 heeft Mark Schonewille het volgende geschreven: > >> Hello, >> >> Economy-x-Talk has released a new little gem: Clipboard Link. >> Clipboard Link enables you to share the contents of the clipboard of >> your computer with other computers on the same local network. Copy a >> text or picture on one computer and paste it on any computer >> connected to your network. >> >> Because I often develop software on two or more computers >> simultaneously, I frequently want to test the same code on multiple >> machines. Clipboard Link lets me copy a script on my MacBook and >> paste it on my Windows PC for example. Anyone who has ever been in >> the same situation might want to check out Clipboard Link. (Made with >> Revolution). > > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Economy-x-Talk is always looking for new software development > projects. Feel free to contact me for a quote. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From paul at whitefeather.com Tue Mar 30 10:26:05 2010 From: paul at whitefeather.com (paul foraker) Date: Tue, 30 Mar 2010 07:26:05 -0700 Subject: How do I uninstall the revWeb plugin? Message-ID: <9ecb0ee51003300726g48c621d8mc25f7b83382f23d0@mail.gmail.com> For testing purposes, I need to uninstall the revWeb plugin. What's the cleanest way to do that? -- Paul From Roger.E.Eller at sealedair.com Tue Mar 30 11:13:29 2010 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Tue, 30 Mar 2010 11:13:29 -0400 Subject: How do I uninstall the revWeb plugin? In-Reply-To: <9ecb0ee51003300726g48c621d8mc25f7b83382f23d0@mail.gmail.com> Message-ID: Paul Foraker wrote: > For testing purposes, I need to uninstall the revWeb plugin. What's the > cleanest way to do that? > > -- Paul On Windows, just delete the revWebPlayer folder: C:\Documents and Settings\\Local Settings\Application Data\RunRev\revWebPlayer Other OSs... I have not removed the plugin, so I can't help there. It is probably in a similar location though. From lists at mangomultimedia.com Tue Mar 30 11:18:23 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 30 Mar 2010 11:18:23 -0400 Subject: DataGrid Forms, checkboxes and Pull-Down buttons? In-Reply-To: <1F4FB8D9-5C57-4799-A3C1-9189E23DDD71@mac.com> References: <1F4FB8D9-5C57-4799-A3C1-9189E23DDD71@mac.com> Message-ID: On Mar 29, 2010, at 6:11 PM, John Patten wrote: > I'm using datagrids to display some data out of a mySQL database. I > created a check box and a option button in the template for my data > grid row. > > I would like to be able to check if data row checkbox hilite is true > or not and would like to store data in my db based on the option of > my option button. > > How do I get the hilite of my individual checkboxes in each row, and > along the same lines, how would I get the information selected in my > option button from each row of the datagrid? Does this lesson on storing an option menu value help? How Can I Store An Option Menu Value When The User Makes a Selection?: If you update the data associated with a row when the UI element (checkbox or option menu) changes then you can just grab the data from the data grid whenever you need the current value (see GetDataOfIndex/ Line or the dgDataOfIndex/Line in API docs). 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 lists at mangomultimedia.com Tue Mar 30 11:21:39 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 30 Mar 2010 11:21:39 -0400 Subject: Data grids in standalones In-Reply-To: References: Message-ID: <42467AE9-79AF-49F8-BD39-6415DBF81E7A@mangomultimedia.com> On Mar 29, 2010, at 8:38 PM, Sarah Reichelt wrote: > Can I tell the standalone builder to include the data grid library > even if setting inclusions manually? > Or do I have to un-protect my stack to get this to work. Add a Data Grid Templates substack and the standalone builder will include the Data Grid library: http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7339-What-Do-I-Need-to-Do-To-Deploy-a-Standalone-With-A-Data-Grid- -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From andrew at rjdfarm.com Tue Mar 30 11:34:16 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 30 Mar 2010 07:34:16 -0800 (PST) Subject: Crystal Reports In-Reply-To: <64bda6471003291509wdfd82a4v221279369b182a64@mail.gmail.com> References: <1269636738954-1692831.post@n4.nabble.com> <64bda6471003291509wdfd82a4v221279369b182a64@mail.gmail.com> Message-ID: <1269963256191-1745374.post@n4.nabble.com> Thanks for the input. :) I am looking into this and among my options might be: launch a report viewer with RunRev for display and print capabilities (my last resort), and building an external in VC++ that takes directions from RunRev and processes a report into a PDF for display/Printing for the user (what I am hoping to do). Changing reporting engines is going to be kind of a double last resort, because we have so many different reports already made. I would hate to have to redo them. Plus, crystal reports has some features we really need to utilize (sub-reports, mainly). Surely, anything I implement will be fully shared with the rest of the pro-revolutionary milieu. -- View this message in context: http://n4.nabble.com/Crystal-Reports-tp1692831p1745374.html Sent from the Revolution - User mailing list archive at Nabble.com. From bvg at mac.com Tue Mar 30 11:46:59 2010 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 30 Mar 2010 17:46:59 +0200 Subject: Daft idea for commercial software ??? In-Reply-To: <4BB0F80B.2020302@gmail.com> References: <4BB0F80B.2020302@gmail.com> Message-ID: <8C694B76-4A81-4966-A1EA-826D85A3AD9D@mac.com> Actually most Reg-Key schemes work exactly like that. The Name or email of the person buying is encoded in some way within the key, or via a reference in a database. Therefore the ID is tied uniquely to that customer. Of course you could mail around the program, but that won't help at all against being pirated, and might alienate some customers. Depending on tech-knowledge they'll either react confused or annoyed ;) Note that there are some indy game sellers that work like that. If a registration scheme works that way, I expect it to also offer me a link to re-download at any time, even months or years later. Not all of the game portals do give more then one chance to download, a reason I do not buy from those anymore. Be aware that changing a single occuring string in your app to "hacked by l33t dude" is actually simpler then reverse engineering the registration code. That fact is also why Richard Gaskin is such a fan of putting registration code into several places that use various approaches to recheck for validity often. It's easy to change or remove one function that checks at startup, even when considering the work of decompiling. But it's much harder to go trough all the code and look wether it checks various stored registration keys or not. Random thoughts by Bjoernke On 29 Mar 2010, at 20:57, Richmond Mathewson wrote: > I have been thinking about all the cafuffle about registration numbers and so > forth; and wonder, given the fact that some level of pirating will go on if a piece > of software is worth anything, if it is really worth all the mucking around. > > So: > > I should like to float this idea and welcome all reactions and criticisms: > > I release a crippled demo which contains a page that lists my Paypal place > and informs would-be buyers that within 48 hours of my receiving via > Paypal I will either e-mail them as an attachment or direct them to an ftp folder > where a full version of the program is with a banner of some sort plastered > across the front page / opening screen saying something like: > > "This version of ZZZZZ is the property of QQQQ and as such may only be used by > him/her/it." > > No doubt some folks will share their personalised versions with their friends, > relations and so on; but that will probably happen anyway unless I go down > the painful route of tying programs to mac addresses. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From nealk3nc at gmail.com Tue Mar 30 11:56:51 2010 From: nealk3nc at gmail.com (Neal Campbell) Date: Tue, 30 Mar 2010 11:56:51 -0400 Subject: Daft idea for commercial software ??? In-Reply-To: <8C694B76-4A81-4966-A1EA-826D85A3AD9D@mac.com> References: <4BB0F80B.2020302@gmail.com> <8C694B76-4A81-4966-A1EA-826D85A3AD9D@mac.com> Message-ID: <325413301003300856h7073a30endc6760bcee07ffc6@mail.gmail.com> While I adhere to the private key generated from Customer data model, I have seen a different paradigm in my market space which is password protecting the download directory of the fully-enabled version. If the end-user posts the installer someplace, the software becomes free but oddly enough it doesn't happen. If it accidentally does (and its usually a novice computer user that does this) its strongly responded to by the user community, sort of self-patrolling by the customers. I would never guess it would work but it does. And, from what I can tell, the password is the same for everyone, so the amount of work by the developer is close to nil. Best wishes Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com (540) 645 5394 NEW PHONE NUMBER Amateur Radio: K3NC Blog: http://www.abrohamnealsoftware.com/blog/ DXBase bug reports: email to cases at dxbase.fogbugz.com Abroham Neal forums: http:/www.abrohamnealsoftware.com/community/ 2010/3/30 Bj?rnke von Gierke > Actually most Reg-Key schemes work exactly like that. The Name or email of > the person buying is encoded in some way within the key, or via a reference > in a database. Therefore the ID is tied uniquely to that customer. Of course > you could mail around the program, but that won't help at all against being > pirated, and might alienate some customers. Depending on tech-knowledge > they'll either react confused or annoyed ;) > > Note that there are some indy game sellers that work like that. If a > registration scheme works that way, I expect it to also offer me a link to > re-download at any time, even months or years later. Not all of the game > portals do give more then one chance to download, a reason I do not buy from > those anymore. > > Be aware that changing a single occuring string in your app to "hacked by > l33t dude" is actually simpler then reverse engineering the registration > code. That fact is also why Richard Gaskin is such a fan of putting > registration code into several places that use various approaches to recheck > for validity often. It's easy to change or remove one function that checks > at startup, even when considering the work of decompiling. But it's much > harder to go trough all the code and look wether it checks various stored > registration keys or not. > > Random thoughts by > Bjoernke > > > On 29 Mar 2010, at 20:57, Richmond Mathewson wrote: > > > I have been thinking about all the cafuffle about registration numbers > and so > > forth; and wonder, given the fact that some level of pirating will go on > if a piece > > of software is worth anything, if it is really worth all the mucking > around. > > > > So: > > > > I should like to float this idea and welcome all reactions and > criticisms: > > > > I release a crippled demo which contains a page that lists my Paypal > place > > and informs would-be buyers that within 48 hours of my receiving via > > Paypal I will either e-mail them as an attachment or direct them to an > ftp folder > > where a full version of the program is with a banner of some sort > plastered > > across the front page / opening screen saying something like: > > > > "This version of ZZZZZ is the property of QQQQ and as such may only be > used by > > him/her/it." > > > > No doubt some folks will share their personalised versions with their > friends, > > relations and so on; but that will probably happen anyway unless I go > down > > the painful route of tying programs to mac addresses. > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From effendi at wanadoo.fr Tue Mar 30 12:44:35 2010 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Tue, 30 Mar 2010 18:44:35 +0200 Subject: iPad use with Rev users .... ? Message-ID: <4A07007C-E5F3-4CBF-91CE-D331BADA2629@wanadoo.fr> Hi from Beautiful Brittany, I'm sorry, but I'd like to open a discussion on the following subject, but directly concerning Revolution. With an iPad, 1 - Can I run "compatible" Revolution stacks ? There is no keyboard, so maybe by replacing keyboard functions with buttons, and resizing some of my stacks, I could solve this problem. 2 - Can I key in data ? I have seen no way of doing this ! .... and I won't even ask the question, can I run IDE Rev development on an iPad ? Perhaps, rather than asking for a list of what I CAN do on an iPad, would you like to tell me what a Rev user CAN'T do ? This will help me decide on whether to lay out more than $500 dollars, because if it is just for reading books, I think I will pass. Sorry to rock the boat, because I DIG Apple .... -Francis "Nothing should ever be done for the first time..... but I love trying ...." From andrew at rjdfarm.com Tue Mar 30 12:45:51 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 30 Mar 2010 08:45:51 -0800 (PST) Subject: Crystal Reports In-Reply-To: <1269963256191-1745374.post@n4.nabble.com> References: <1269636738954-1692831.post@n4.nabble.com> <64bda6471003291509wdfd82a4v221279369b182a64@mail.gmail.com> <1269963256191-1745374.post@n4.nabble.com> Message-ID: <1269967551750-1745503.post@n4.nabble.com> C# Is it going to be out of the question to build an external that uses C# or VB.NET code? I am finding lots of tuts on how to do what I need in these languages (both of which, I am mildly familiar with). I know you can use Visual C++ to build windows externals, but what about C# or VB .Net? http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-export-pdf.htm http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-subreports.htm -- View this message in context: http://n4.nabble.com/Crystal-Reports-tp1692831p1745503.html Sent from the Revolution - User mailing list archive at Nabble.com. From effendi at wanadoo.fr Tue Mar 30 13:17:22 2010 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Tue, 30 Mar 2010 19:17:22 +0200 Subject: iPad use with Rev users Message-ID: Hi from Beautiful Brittany, ..... and when I send my mail, I had not seen the mail from Heather "Interesting discussion on iPad content", > Thought you folks might appreciate: > > http://radar.oreilly.com/2010/03/the-ipad-needs-its-hypercard.html ....... nor the comment by Lyn Fredericks. So my questions still stand ...... -Francis "Nothing should ever be done for the first time !" From joef1 at mac.com Tue Mar 30 13:17:38 2010 From: joef1 at mac.com (Joe F.) Date: Tue, 30 Mar 2010 13:17:38 -0400 Subject: Identifying a certain Windows machine In-Reply-To: <4BB20476.6050806@tweedly.net> References: <0743ED90-EBDC-43CB-ABFD-CA25A05B73B0@sweattechnologies.com> <727E3EEA-9952-4422-A4DB-EA637F265EF3@mac.com> <4BB20476.6050806@tweedly.net> Message-ID: <85495B64-C849-4A3E-B39B-ED63023FA084@mac.com> Thanks for covering that 1% Alex. Added a notes field to my script library. Joe F. On Mar 30, 2010, at 10:02 AM, Alex Tweedly wrote: > Joe F. wrote: >> Wow- that is some answer. Thank you Monte. >> >> I was actually expecting something like "getSystemID" to be built >> into Revtalk, but... >> >> You inspired me to make myself a script library. > Note this approach works 99% of the time, but can go wrong (or at > least be very confusing) if the user has installed any devices which > have an in-built MAC address (e.g. a USB Wifi card, perhaps to get > better reach than the in-built wifi gets, he says from > experience :-). This may be the MAC address reported first, giving > an "ID" which can later change. > > It might be better to do a filter on ""Physical address" and then > regard each of the physical addresses as valid IDs (disregarding the > 00-00-00-00-00-00 ones for virtual adapters). > > And as Peter said, a smart user can find a way around it anyway, a > smart and malicious user will definitely get around it. > > -- Alex. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From joef1 at mac.com Tue Mar 30 13:30:55 2010 From: joef1 at mac.com (Joe F.) Date: Tue, 30 Mar 2010 13:30:55 -0400 Subject: Data grids in standalones In-Reply-To: <42467AE9-79AF-49F8-BD39-6415DBF81E7A@mangomultimedia.com> References: <42467AE9-79AF-49F8-BD39-6415DBF81E7A@mangomultimedia.com> Message-ID: <56EAFBFD-261F-4893-A5DA-5643C52D32EC@mac.com> I just had to deal with this and the solution was to manually put revdatagridlibrary.rev into the compiled app's bundle. For OS X = MyApp.app>Contents>MacOS For Windows in the app folder at the same level as the executable. My project was a completed stack (with substacks, including its own datagrid template) that I had been compiling as a standalone but then wanted to move it into a splash stack arrangement. The "Datagrid Template Dud" didn't work for me. Joe F. On Mar 30, 2010, at 11:21 AM, Trevor DeVore wrote: > On Mar 29, 2010, at 8:38 PM, Sarah Reichelt wrote: > >> Can I tell the standalone builder to include the data grid library >> even if setting inclusions manually? >> Or do I have to un-protect my stack to get this to work. > > Add a Data Grid Templates substack and the standalone builder will > include the Data Grid library: > > http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7339-What-Do-I-Need-to-Do-To-Deploy-a-Standalone-With-A-Data-Grid- > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From coiin at verizon.net Tue Mar 30 13:37:43 2010 From: coiin at verizon.net (Colin Holgate) Date: Tue, 30 Mar 2010 13:37:43 -0400 Subject: iPad use with Rev users .... ? In-Reply-To: <4A07007C-E5F3-4CBF-91CE-D331BADA2629@wanadoo.fr> References: <4A07007C-E5F3-4CBF-91CE-D331BADA2629@wanadoo.fr> Message-ID: <272D1D8E-B542-4461-A1B6-4503B948C777@verizon.net> On Mar 30, 2010, at 12:44 PM, Francis Nugent Dixon wrote: > > 2 - Can I key in data ? > > I have seen no way of doing this ! Right this second I'm having problems keeping a stack running on my iPhone, but in the simulator at least you can have a text input field, and it will bring up the standard iPhone keyboard. That's bound to be true for iPad. From joef1 at mac.com Tue Mar 30 13:38:39 2010 From: joef1 at mac.com (Joe F.) Date: Tue, 30 Mar 2010 13:38:39 -0400 Subject: Standalone issues In-Reply-To: References: <1B9147ED-7860-4BC9-9D8D-CC0D35F253EA@mac.com> Message-ID: <9919D8EF-B376-491F-A896-EAC4A6FE009C@mac.com> That's good Sarah. Thanks. I was going to try downloading a password protected stack and unlocking (or deleting) it based on the machine's MAC address. Angles... lots of angles. Joe F. On Mar 30, 2010, at 5:15 AM, Sarah Reichelt wrote: >> I'm curious how you go about protecting the external stack files in >> your >> project. >> I was just coming to post a question about that when I read yours. > > I create a stack in a separate stack file, then I set it's password to > protect it's scripts. > I suck it up into a custom property of the main stack. > When needed, I can spit it out, saving if required, or you can just > use something like: > go to stack (the cSuckedUpStack of this stack) > > Since the stack to be protected has it's contents already scrambled > and then is stored as binary inside the main binary, this seems quite > secure to me. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Tue Mar 30 13:39:18 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 30 Mar 2010 13:39:18 -0400 Subject: Data grids in standalones In-Reply-To: <56EAFBFD-261F-4893-A5DA-5643C52D32EC@mac.com> References: <42467AE9-79AF-49F8-BD39-6415DBF81E7A@mangomultimedia.com> <56EAFBFD-261F-4893-A5DA-5643C52D32EC@mac.com> Message-ID: On Mar 30, 2010, at 1:30 PM, Joe F. wrote: > I just had to deal with this and the solution was to manually put > revdatagridlibrary.rev into the compiled app's bundle. > For OS X = MyApp.app>Contents>MacOS > For Windows in the app folder at the same level as the executable. > > My project was a completed stack (with substacks, including its own > datagrid template) that I had been compiling as a standalone but > then wanted to move it into a splash stack arrangement. > > The "Datagrid Template Dud" didn't work for me. The stack needs to be named "Data Grid Templates Dud". I'm not aware of any cases where this won't work if you create a substack of the stack you are building a standalone with named "Data Grid Templates Dud". If you have one let me know and I will update the lesson. -- 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 Tue Mar 30 13:42:49 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 30 Mar 2010 10:42:49 -0700 Subject: iPad use with Rev users In-Reply-To: References: Message-ID: <0A81D5D0-3261-472B-AF24-A215D67C0784@twft.com> It's as though all those people who read the original post on that blog never went on to read anything else and just said what they wanted to say. I expected someone at least to say, "Really?? There's a hypercard like programming environment that will work on the iPad??? That's Great!!!" But no, people just went on and on about how Apple should release Hypercard again, only for the iPad, or else use C# or Java or some other dam thing that takes 5 years to learn and 10 to master. (sigh). Bob On Mar 30, 2010, at 10:17 AM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > ..... and when I send my mail, I had not seen the mail > from Heather "Interesting discussion on iPad content", > >> Thought you folks might appreciate: >> >> http://radar.oreilly.com/2010/03/the-ipad-needs-its-hypercard.html > > ....... nor the comment by Lyn Fredericks. > > So my questions still stand ...... > > -Francis > > "Nothing should ever be done for the first time !" > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From johnpatten at mac.com Tue Mar 30 13:43:28 2010 From: johnpatten at mac.com (John Patten) Date: Tue, 30 Mar 2010 10:43:28 -0700 Subject: DataGrid Forms, checkboxes and Pull-Down buttons? Message-ID: <433566AB-31DC-4485-A82E-992BB64B2807@mac.com> Thanks Trevor... I have been searching the list and found those same resources you describe. I'm closer, but still not quite getting the concept. I noticed that tutorial examples are using Table and not Form DataGrids. I have been using the Form version of the DataGrid, are the examples you mention only workable when the DataGrid is a Table style? Also, I made a quick stack and shared it on RevOnline. It will eventually work...I hope, with a little help :-) It populates and datagrid with one button, and then extracts the DataGrid data into a second field. However, checkbox and option menu button data are not working...yet. It is tagged with DataGrid on the revOnline site. Feel free to make suggestions. When it's all working correctly, I will repost for those challenged like myself. Thank you! John Patten -----------------snip--------------------- Message: 20 Date: Tue, 30 Mar 2010 11:21:39 -0400 From: Trevor DeVore Subject: Re: Data grids in standalones To: How to use Revolution Message-ID: <42467AE9-79AF-49F8-BD39-6415DBF81E7A at mangomultimedia.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes On Mar 29, 2010, at 8:38 PM, Sarah Reichelt wrote: > Can I tell the standalone builder to include the data grid library > even if setting inclusions manually? > Or do I have to un-protect my stack to get this to work. Add a Data Grid Templates substack and the standalone builder will include the Data Grid library: http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7339-What-Do-I-Need-to-Do-To-Deploy-a-Standalone-With-A-Data-Grid- -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com ------------------------------ From nealk3nc at gmail.com Tue Mar 30 13:52:45 2010 From: nealk3nc at gmail.com (Neal Campbell) Date: Tue, 30 Mar 2010 13:52:45 -0400 Subject: Crystal Reports In-Reply-To: <1269967551750-1745503.post@n4.nabble.com> References: <1269636738954-1692831.post@n4.nabble.com> <64bda6471003291509wdfd82a4v221279369b182a64@mail.gmail.com> <1269963256191-1745374.post@n4.nabble.com> <1269967551750-1745503.post@n4.nabble.com> Message-ID: <325413301003301052u1d9fa370k247a073888780a7@mail.gmail.com> I don't think you can build an external in C# or VB,Net as its a managed .net language. You still can write C++ in an unmanaged mode (but Visual Studio doesn't default to that) You could using VB6, Delphi, etc. however. Crystal reports stopped releasing the VCL (the visual components of Delphi) many years ago though (I am trying to solve that problem myself) so its not easy. They really want want you to use C++ for DLLs and dot net for client application framework. Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com (540) 645 5394 NEW PHONE NUMBER Amateur Radio: K3NC Blog: http://www.abrohamnealsoftware.com/blog/ DXBase bug reports: email to cases at dxbase.fogbugz.com Abroham Neal forums: http:/www.abrohamnealsoftware.com/community/ On Tue, Mar 30, 2010 at 12:45 PM, Andrew Kluthe wrote: > > C# > > Is it going to be out of the question to build an external that uses C# or > VB.NET code? I am finding lots of tuts on how to do what I need in these > languages (both of which, I am mildly familiar with). I know you can use > Visual C++ to build windows externals, but what about C# or VB .Net? > > > http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-export-pdf.htm > > http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-subreports.htm > -- > View this message in context: > http://n4.nabble.com/Crystal-Reports-tp1692831p1745503.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From nealk3nc at gmail.com Tue Mar 30 13:53:49 2010 From: nealk3nc at gmail.com (Neal Campbell) Date: Tue, 30 Mar 2010 13:53:49 -0400 Subject: iPad use with Rev users In-Reply-To: <0A81D5D0-3261-472B-AF24-A215D67C0784@twft.com> References: <0A81D5D0-3261-472B-AF24-A215D67C0784@twft.com> Message-ID: <325413301003301053h5144a5dcre8e1c16ee4afdecd@mail.gmail.com> Sadly blogs are a write once read never mechanism. Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com (540) 645 5394 NEW PHONE NUMBER Amateur Radio: K3NC Blog: http://www.abrohamnealsoftware.com/blog/ DXBase bug reports: email to cases at dxbase.fogbugz.com Abroham Neal forums: http:/www.abrohamnealsoftware.com/community/ On Tue, Mar 30, 2010 at 1:42 PM, Bob Sneidar wrote: > It's as though all those people who read the original post on that blog > never went on to read anything else and just said what they wanted to say. I > expected someone at least to say, "Really?? There's a hypercard like > programming environment that will work on the iPad??? That's Great!!!" But > no, people just went on and on about how Apple should release Hypercard > again, only for the iPad, or else use C# or Java or some other dam thing > that takes 5 years to learn and 10 to master. (sigh). > > Bob > > > On Mar 30, 2010, at 10:17 AM, Francis Nugent Dixon wrote: > > > Hi from Beautiful Brittany, > > > > ..... and when I send my mail, I had not seen the mail > > from Heather "Interesting discussion on iPad content", > > > >> Thought you folks might appreciate: > >> > >> http://radar.oreilly.com/2010/03/the-ipad-needs-its-hypercard.html > > > > ....... nor the comment by Lyn Fredericks. > > > > So my questions still stand ...... > > > > -Francis > > > > "Nothing should ever be done for the first time !" > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From zryip.theslug at gmail.com Tue Mar 30 14:30:42 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 30 Mar 2010 20:30:42 +0200 Subject: Crystal Reports In-Reply-To: <325413301003301052u1d9fa370k247a073888780a7@mail.gmail.com> References: <1269636738954-1692831.post@n4.nabble.com> <64bda6471003291509wdfd82a4v221279369b182a64@mail.gmail.com> <1269963256191-1745374.post@n4.nabble.com> <1269967551750-1745503.post@n4.nabble.com> <325413301003301052u1d9fa370k247a073888780a7@mail.gmail.com> Message-ID: <64bda6471003301130w1261ef1dv519e3f4481f3f336@mail.gmail.com> You can build DLLs with Visual Studio. Whatever the language used (C#, C++ or VB.Net) the assembly code generated is (supposedly) the same. However as pointed by Neal, all language in Visual Studio are managed .net languages. I don't know if an external create in this way could works with RR. Maybe it's a question to ask to the RR team. Now a couple of things : - have a look in the externals part of the Revolution Resource Center, to learn how to build a basic external - you can download free version of Microsoft studio or C++ environment (known as the express family) here : http://www.microsoft.com/express/Windows/ Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From jacque at hyperactivesw.com Tue Mar 30 14:30:55 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 30 Mar 2010 13:30:55 -0500 Subject: iPad use with Rev users .... ? In-Reply-To: <4A07007C-E5F3-4CBF-91CE-D331BADA2629@wanadoo.fr> References: <4A07007C-E5F3-4CBF-91CE-D331BADA2629@wanadoo.fr> Message-ID: <4BB2435F.1010002@hyperactivesw.com> Francis Nugent Dixon wrote: > > With an iPad, > > 1 - Can I run "compatible" Revolution stacks ? Yes, eventually, within the minor constraints of revMobile. > > There is no keyboard, so maybe by replacing keyboard > functions with buttons, and resizing some of my stacks, > I could solve this problem. > > 2 - Can I key in data ? > > I have seen no way of doing this ! There is a built-in keyboard on iPad, almost full-sized. The early pre-alphas of revMobile already allow access to the one embedded in iPhones. iPad ships with several apps that require lots of data entry. For example, here is Pages on iPad: where you can see the built-in keyboard. > > .... and I won't even ask the question, can I run > IDE Rev development on an iPad ? Given the restrictions that Apple places on mobile apps, I'm not sure Rev's IDE could meet the requirements. The main restriction is that code can't be compiled on the fly, which is essential for the IDE to work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From marcio at cialogica.com.br Tue Mar 30 14:35:32 2010 From: marcio at cialogica.com.br (Marcio Alexandroni) Date: Tue, 30 Mar 2010 15:35:32 -0300 Subject: Crystal Reports In-Reply-To: <64bda6471003301130w1261ef1dv519e3f4481f3f336@mail.gmail.com> Message-ID: > You can build DLLs with Visual Studio. Whatever the language used (C#, > C++ or VB.Net) the assembly code generated is (supposedly) the same. > However as pointed by Neal, all language in Visual Studio are managed > .net languages. I don't know if an external create in this way could You can build unmanaged DLLs in C++ with Visual Studio 2005/2008, so it can be used by a Rev external. Marcio Alexandroni www.cialogica.com.br ( (11) 9989-8316 marcioalexandroni -- > From: zryip theSlug > Reply-To: How to use Revolution > Date: Tue, 30 Mar 2010 20:30:42 +0200 > To: How to use Revolution > Subject: Re: Crystal Reports > > You can build DLLs with Visual Studio. Whatever the language used (C#, > C++ or VB.Net) the assembly code generated is (supposedly) the same. > However as pointed by Neal, all language in Visual Studio are managed > .net languages. I don't know if an external create in this way could > works with RR. > Maybe it's a question to ask to the RR team. > > Now a couple of things : > - have a look in the externals part of the Revolution Resource Center, > to learn how to build a basic external > - you can download free version of Microsoft studio or C++ environment > (known as the express family) here : > http://www.microsoft.com/express/Windows/ > > > Regards, > > > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From rodneys at io.com Tue Mar 30 14:47:52 2010 From: rodneys at io.com (Rodney Somerstein) Date: Tue, 30 Mar 2010 14:47:52 -0400 Subject: Interesting discussion on iPad content In-Reply-To: <1CF97C48-A885-4B49-9C81-89D4A0B068D3@runrev.com> References: <1CF97C48-A885-4B49-9C81-89D4A0B068D3@runrev.com> Message-ID: Heather Nagey wrote: >Thought you folks might appreciate: > >http://radar.oreilly.com/2010/03/the-ipad-needs-its-hypercard.html > That is somewhat interesting and I noticed that several Runrev fans have started putting comments there. (Too much of that and people will start thinking it is a concerted advertising campaign or somesuch.) However, the article seems to be a call for an affordable equivalent to Hypercard for the iPad. That is, something that would let the "amateurs and professionals", as the article says, have a really good tool for creating content. RunRev has this for the Mac and PC, especially with RevMedia. Unfortunately, no such equivalent is available for the iPad. The iPad is such a perfect platform for that kind of tool. Unfortunately, the tools seem to be targeted at serious developers - expensive, annual fees, etc. - not the person who wants to experiment. (I'm not just talking about RunRev here) Apple is also doing their part to keep the average person out by forcing most people to learn Objective-C to develop for the iPad and not allowing executable code to be run on the iPad. Right now, it seems like the best bet for the average person is developing a web-based application if they want to target the iPad/iPhone/iPod Touch market. Not so satisfying since that option requires an Internet connection and doesn't really allow data to be stored on the iPad. I understand the reasoning behind the Rev-mobile pricing. But trying to convince anyone that Rev-mobile is for the amateurs with the current pricing model is pretty much a nonstarter, I suspect. Hopefully, after the development phase is done, something along the lines of RevMedia (or even a reasonable target like RevStudio) will be possible to produce to target that audience as well. Maybe there can be a split for that market with similar restrictions to RevMobile as in the RevStudio & RevEnterprise products. The trick would probably be to figure out what can be left out of a RevMobile-lite - you wouldn't be running full databases, etc. on there. It could certainly be restricted to running on one platform per license, such as iPad only, iPhone/iPod Touch only, etc. (If it is even possible to internally set a flag to do that or at least automatically generate an error when someone tries to run it on the wrong kind of hardware.) There could be a slight upgrade fee to produce universal i-apps that can run on both. Maybe there are other and/or additional restrictions that would let such a thing make sense? -Rodney From toncardona at mac.com Tue Mar 30 14:50:30 2010 From: toncardona at mac.com (Ton Cardona) Date: Tue, 30 Mar 2010 20:50:30 +0200 Subject: Drag & Drop on Revlets Message-ID: Do revlets allow drag & drop and, if so, why am I unable to make them work? From mpetrides at earthlink.net Tue Mar 30 15:10:40 2010 From: mpetrides at earthlink.net (Marian Petrides) Date: Tue, 30 Mar 2010 14:10:40 -0500 Subject: Interesting discussion on iPad content In-Reply-To: References: <1CF97C48-A885-4B49-9C81-89D4A0B068D3@runrev.com> Message-ID: <5A483AA4-3A2B-49FA-A209-AD069EEEB987@earthlink.net> FWIW, this amateur (OK, near amateur) finally bit the bullet on RevMobile when I got a special offer that dropped the price to something like $550 because I REALLY want to be able to develop for the iPad. OTOH, my subscription to Rev Enterprise is paid up until 2016 or so and I bought into On-Rev Founder, so I'm hardly a tight wad when it comes to buying Rev products. That said, even I agree that the current _list_ price for RevMobile is prohibitive for anyone who does not already have a product ready to be deployed on the iPad. Not sure what the answer is, just making an observation.... On Mar 30, 2010, at 1:47 PM, Rodney Somerstein wrote: > But trying to convince anyone that Rev-mobile is for the amateurs with the current pricing model is pretty much a nonstarter, I suspect. From palcibiades-first at yahoo.co.uk Tue Mar 30 15:12:41 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Tue, 30 Mar 2010 11:12:41 -0800 (PST) Subject: Identifying a certain Windows machine In-Reply-To: <85495B64-C849-4A3E-B39B-ED63023FA084@mac.com> References: <0743ED90-EBDC-43CB-ABFD-CA25A05B73B0@sweattechnologies.com> <727E3EEA-9952-4422-A4DB-EA637F265EF3@mac.com> <4BB20476.6050806@tweedly.net> <85495B64-C849-4A3E-B39B-ED63023FA084@mac.com> Message-ID: <1269976361587-1745692.post@n4.nabble.com> This version of the problem is interestingly different from the usual two ways in which it presents. I've seen it from the perspective of a user wanting not to be tied to one physical machine, and also from the perspective of a vendor wishing to use tying to one particular machine to inhibit piracy. However, the case of a user, who wants to be sure that no-one else can install the software he is using, by having it tied to one physical machine, is interestingly different. One does wonder what exactly this software would be doing.... But no, don't tell us! I really, really do not want to know! Peter -- View this message in context: http://n4.nabble.com/Identifying-a-certain-Windows-machine-tp1742751p1745692.html Sent from the Revolution - User mailing list archive at Nabble.com. From briany at qldlearning.com Tue Mar 30 15:17:27 2010 From: briany at qldlearning.com (Brian Yennie) Date: Tue, 30 Mar 2010 12:17:27 -0700 Subject: Interesting discussion on iPad content In-Reply-To: <5A483AA4-3A2B-49FA-A209-AD069EEEB987@earthlink.net> References: <1CF97C48-A885-4B49-9C81-89D4A0B068D3@runrev.com> <5A483AA4-3A2B-49FA-A209-AD069EEEB987@earthlink.net> Message-ID: <77C9C0E9-0CB7-48AE-AB11-94653C8709E7@qldlearning.com> I wonder if a starter version of RevMobile would be in order - i.e. - Shows a Rev splash screen - Must be a free app That would seem to allow people to "test the waters" with a nice app for $0 down, and then if they had something worth selling they would need to purchase the full RevMobile. > FWIW, this amateur (OK, near amateur) finally bit the bullet on RevMobile when I got a special offer that dropped the price to something like $550 because I REALLY want to be able to develop for the iPad. > > OTOH, my subscription to Rev Enterprise is paid up until 2016 or so and I bought into On-Rev Founder, so I'm hardly a tight wad when it comes to buying Rev products. That said, even I agree that the current _list_ price for RevMobile is prohibitive for anyone who does not already have a product ready to be deployed on the iPad. > > Not sure what the answer is, just making an observation.... > > > > On Mar 30, 2010, at 1:47 PM, Rodney Somerstein wrote: > >> But trying to convince anyone that Rev-mobile is for the amateurs with the current pricing model is pretty much a nonstarter, I suspect. From jacque at hyperactivesw.com Tue Mar 30 15:34:55 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 30 Mar 2010 14:34:55 -0500 Subject: Daft idea for commercial software ??? In-Reply-To: <8C694B76-4A81-4966-A1EA-826D85A3AD9D@mac.com> References: <4BB0F80B.2020302@gmail.com> <8C694B76-4A81-4966-A1EA-826D85A3AD9D@mac.com> Message-ID: <4BB2525F.6000503@hyperactivesw.com> Bj?rnke von Gierke wrote: > > Be aware that changing a single occuring string in your app to > "hacked by l33t dude" is actually simpler then reverse engineering > the registration code. Will that work with Rev apps? In my experience, changing almost anything in the compiled app causes it to fail to launch. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From marcio at cialogica.com.br Tue Mar 30 15:35:59 2010 From: marcio at cialogica.com.br (Marcio Alexandroni) Date: Tue, 30 Mar 2010 16:35:59 -0300 Subject: Identifying a certain Windows machine In-Reply-To: <1269976361587-1745692.post@n4.nabble.com> Message-ID: In my opinion, it depends on the kind of software. As developers, we tend to have more than one machine, at least a notebook and a desktop where we write software, but we never use both at the same time. In this case, tying the software to a hardware ID is not suitable. For production software that users work in a network, the control can be done in the database server, where you could log connected users and deny or warn users that they need to purchase extra licenses. For server softwares that are complex, expensive and attend to many concurrent connections, this kind of software suits for a monthly activation over the internet or a dongle. This it's possible to avoid two activations of the same license in a month. Marcio Alexandroni www.cialogica.com.br ( (11) 9989-8316 marcioalexandroni -- > From: Peter Alcibiades > Reply-To: How to use Revolution > Date: Tue, 30 Mar 2010 11:12:41 -0800 (PST) > To: > Subject: Re: Identifying a certain Windows machine > > > This version of the problem is interestingly different from the usual two > ways in which it presents. I've seen it from the perspective of a user > wanting not to be tied to one physical machine, and also from the > perspective of a vendor wishing to use tying to one particular machine to > inhibit piracy. However, the case of a user, who wants to be sure that > no-one else can install the software he is using, by having it tied to one > physical machine, is interestingly different. > > One does wonder what exactly this software would be doing.... But no, don't > tell us! I really, really do not want to know! > > Peter > -- > View this message in context: > http://n4.nabble.com/Identifying-a-certain-Windows-machine-tp1742751p1745692.h > tml > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Tue Mar 30 15:39:44 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 30 Mar 2010 12:39:44 -0700 Subject: Interesting discussion on iPad content In-Reply-To: <77C9C0E9-0CB7-48AE-AB11-94653C8709E7@qldlearning.com> Message-ID: Recently, Brian Yennie wrote: > I wonder if a starter version of RevMobile would be in order - i.e. > > - Shows a Rev splash screen > - Must be a free app > > That would seem to allow people to "test the waters" with a nice app for $0 > down, and then if they had something worth selling they would need to purchase > the full RevMobile. Great idea Brian. This is exactly what GameSalad does -- $99 Express version (doesn't have to be a free app though). The splash screen does all the advertising. It's a double edged sword though, because when the final app is, shall we say, "less than stellar", the mediocre perception is associated with the company. I will say that the "cost to play" made it very appealing to jump into it, and I would not have done so had the cost been in the $1000 range. In any event, I believe that these higher level architectures are the way to go to make revenue from a larger audience. Sure it might be effective if every soon-to-be-developer on the planet learned Objective C, but I expect most people want a faster path (I sure do :-) Regards, Scott Rossi Creative Director Tactile Media, UX Design From richmondmathewson at gmail.com Tue Mar 30 15:52:59 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 30 Mar 2010 22:52:59 +0300 Subject: Daft idea for commercial software ??? In-Reply-To: <4BB2525F.6000503@hyperactivesw.com> References: <4BB0F80B.2020302@gmail.com> <8C694B76-4A81-4966-A1EA-826D85A3AD9D@mac.com> <4BB2525F.6000503@hyperactivesw.com> Message-ID: <4BB2569B.2080005@gmail.com> On 30/03/2010 22:34, J. Landman Gay wrote: > Bj?rnke von Gierke wrote: >> >> Be aware that changing a single occuring string in your app to >> "hacked by l33t dude" is actually simpler then reverse engineering >> the registration code. > > Will that work with Rev apps? In my experience, changing almost > anything in the compiled app causes it to fail to launch. > I will hive off a new build for each customer (always assuming there are any people who are inspired enough to pay $50 for something to write Sanskrit!); as modifying a standalone post-build is a recipe for disaster: I have been "playing silly bu**ers" with that one for the last 3 weeks and getting nothing more than a socking-great headache. From bobcole at earthlink.net Tue Mar 30 16:05:09 2010 From: bobcole at earthlink.net (Robert Cole) Date: Tue, 30 Mar 2010 15:05:09 -0500 Subject: [optimization] calendar week ISO 8601 / DIN 1355 Message-ID: <35A06DA5-5FD5-42E3-BE35-E4CE75C769D1@earthlink.net> Malte and Sarah: This should work for people who have PHP installed: on mouseUp put "php -r " & quote & "echo date('W', mktime(0,0,0,3,15,2010));" & quote into tPHPcommand put shell(tPHPcommand) into field "Test Results" end mouseUp FYI, Bob On Mon, 29 Mar 2010 07:36:33 Sarah Reichelt wrote: I haven't checked out your function yet Malte, but my DateTime library has a weekNumISO() function contributed by the late, great Eric Chatonet. Cheers, Sarah On Mon, Mar 29, 2010 at 6:52 AM, Malte Pfaff-Brill wrote: > Hi all, > I needed to calculate the calendar week from a given date (as we do > it in germany and I think also in the rest of europe). > I quickly hacked together a function implementing some of the info > found here: http://en.wikipedia.org/wiki/ISO_8601#Week_dates > If anyone has any pointers on how to make this better, I?d > appreciate input. I hope if anyone needs to implement calendar weeks > later this might be a helpful thread. > > Cheers, > > Malte From coiin at verizon.net Tue Mar 30 16:39:59 2010 From: coiin at verizon.net (Colin Holgate) Date: Tue, 30 Mar 2010 16:39:59 -0400 Subject: Interesting discussion on iPad content In-Reply-To: References: Message-ID: <8A858DEA-5BDD-402F-891F-102160DD558E@verizon.net> On Mar 30, 2010, at 3:39 PM, Scott Rossi wrote: > Great idea Brian. This is exactly what GameSalad does -- $99 Express > version (doesn't have to be a free app though). The splash screen does all > the advertising. Currently the splash screen is about 15 seconds long, and so it's giving GameSalad a bad reputation, with lots of negative reviews about how long it takes to load the game. From andrew at rjdfarm.com Tue Mar 30 16:54:23 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 30 Mar 2010 12:54:23 -0800 (PST) Subject: Crystal Reports In-Reply-To: References: <1269636738954-1692831.post@n4.nabble.com> <64bda6471003291509wdfd82a4v221279369b182a64@mail.gmail.com> <1269963256191-1745374.post@n4.nabble.com> <1269967551750-1745503.post@n4.nabble.com> <325413301003301052u1d9fa370k247a073888780a7@mail.gmail.com> <64bda6471003301130w1261ef1dv519e3f4481f3f336@mail.gmail.com> Message-ID: <1269982463684-1745919.post@n4.nabble.com> Great information. The curious side of me wants to build a Rev external to do just what I need; however, I found a solution that allows me to invoke everything I need to do from the command line. I.E.: sending "C:\Program Files\Visual CUT 11\Visual CUT.exe" -e "X:\FOManager\FOM Reports\LeaseUofI.rpt" "Parm1:BatesByron2009" to the command prompt runs that report,exports it to PDF, and prints it using the default printer. All without a single user interaction or a copy of crystal reports installed. It also has bursting capabilities and the developer is going to help me hand roll this into my installation routine. Here is a link to the software I am talking about: http://www.milletsoftware.com/Visual_CUT.htm It seems to me, that this can be used by any programming language for the Windows platform. :) This suits perfectly what I need to do. But if I get some free time when I have more developed, I would certainly like to tackle building an external that does at least some of the more rudimentary features I was asking for. -- View this message in context: http://n4.nabble.com/Crystal-Reports-tp1692831p1745919.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Tue Mar 30 16:57:24 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 30 Mar 2010 13:57:24 -0700 Subject: Interesting discussion on iPad content In-Reply-To: <8A858DEA-5BDD-402F-891F-102160DD558E@verizon.net> Message-ID: Recently, Colin Holgate wrote: >> Great idea Brian. This is exactly what GameSalad does -- $99 Express >> version (doesn't have to be a free app though). The splash screen does all >> the advertising. > > Currently the splash screen is about 15 seconds long, and so it's giving > GameSalad a bad reputation, with lots of negative reviews about how long it > takes to load the game. Note the rest of my post (which you clipped out) mentions this possibility. They are admittedly in a beta state. The flip side of the coin is, with GameSalad you can build game/content apps that can be distributed in the iTunes store *now*. They offer a high priced version that allows you to skip their loading screen. They allow builds for both iPhone and iPad. They have a useful viewer app that allows you to quickly upload/test on your device, bypassing the whole delete from device, drag to iTunes, resync process. And if one is doing any kind of animation/movement, you can achieve anywhere from 40 to 60 fps. It is a limited platform: no connection with device APIs or services (it's intended to make self-contained entertainment apps). No default UI elements. But for what it does, it's pretty good. I am excited to see where the Rev folks go with revMobile, but in my case I wanted to start building for mobile devices now and GameSalad is an option for me. It's not for everybody. Regards, Scott Rossi Creative Director Tactile Media, UX Design From coiin at verizon.net Tue Mar 30 17:09:54 2010 From: coiin at verizon.net (Colin Holgate) Date: Tue, 30 Mar 2010 17:09:54 -0400 Subject: Interesting discussion on iPad content In-Reply-To: References: Message-ID: <1B42112C-BE54-4F75-A1D2-08DF5534413F@verizon.net> On Mar 30, 2010, at 4:57 PM, Scott Rossi wrote: > > Note the rest of my po I like to clip early! Your other point was about less than stellar content, and that is true, the best engine on earth would get a bad reputation if only poor games were made with it. I was illustrating the opposite, that even the very best games get bad reviews because the splash screen requirements make it seem like the game is slow. From scott at tactilemedia.com Tue Mar 30 17:17:45 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 30 Mar 2010 14:17:45 -0700 Subject: Interesting discussion on iPad content In-Reply-To: <1B42112C-BE54-4F75-A1D2-08DF5534413F@verizon.net> Message-ID: Recently, Colin Holgate wrote: >> Note the rest of my po > > I like to clip ear Two can play at that game :-) > Your other point was about less than stellar content, and that is true, the > best engine on earth would get a bad reputation if only poor games were made > with it. I was illustrating the opposite, that even the very best games get > bad reviews because the splash screen requirements make it seem like the game > is slow. The only response I can offer is, just as I'm hopeful revMobile will turn out to be a great platform, I'm just as hopeful the GameSalad folks will address the load time and other shortcomings of their platform. Down with Objective C. Up with easy-to-use development environments. Regards, Scott Rossi Creative Director Tactile Media, UX Design From briany at qldlearning.com Tue Mar 30 17:23:01 2010 From: briany at qldlearning.com (Brian Yennie) Date: Tue, 30 Mar 2010 14:23:01 -0700 Subject: Interesting discussion on iPad content In-Reply-To: <1B42112C-BE54-4F75-A1D2-08DF5534413F@verizon.net> References: <1B42112C-BE54-4F75-A1D2-08DF5534413F@verizon.net> Message-ID: <81C1955C-FB97-4BDA-BDB4-12CA3A24FEB6@qldlearning.com> Definitely a valid concern, although if it's truly 15 seconds that just seems excessive. I would think just a couple seconds would work, especially if it's a decent looking splash screen and you can actually perform some legitimate loading while it displays. I don't see any reason why it would have to actually make you wait much longer than normal. > > On Mar 30, 2010, at 4:57 PM, Scott Rossi wrote: > >> >> Note the rest of my po > > I like to clip early! > > Your other point was about less than stellar content, and that is true, the best engine on earth would get a bad reputation if only poor games were made with it. I was illustrating the opposite, that even the very best games get bad reviews because the splash screen requirements make it seem like the game is slow. From dougtechie at tiscali.co.uk Tue Mar 30 17:23:32 2010 From: dougtechie at tiscali.co.uk (Douglas) Date: Tue, 30 Mar 2010 22:23:32 +0100 Subject: Life-cycle of paper clips In-Reply-To: <4B8C18D5.50200@gmail.com> References: <20100228180004.404A628802E@mail.runrev.com> <8CC870F73740950-4760-17F73@webmail-m086.sysops.aol.com> <1641213265.20100301113447@ahsoftware.net> <4B8C18D5.50200@gmail.com> Message-ID: <4BB26BD4.6080509@tiscali.co.uk> May I point out that both Calvin Klein and Pringle do Left and Right socks. (Their logo is embroidered either on the left or right of the sock.) It is again a strange fact that I seem to end up with 2 left socks or 2 right socks after a wash that contained only one pair! Douglas . (A first time poster who does the washing and also programs in RunRev) On 01/03/2010 19:43, Richmond Mathewson wrote: > On 01/03/2010 21:34, Mark Wieder wrote: >> Bob- >> >> Monday, March 1, 2010, 9:54:18 AM, you wrote: >> >>> Once we figure out how to get BOTH socks to warp to another >>> location before the admittedly unstable wormholes break down, THEN >>> we'll be able to refine a method for getting all our socks back. But >> I believe the Pauli Exclusion Principle will come into play if you try >> that. Two socks of the same pair can't warp to the same location >> unless you have right-footed and left-footed socks. >> > I seem to remember from Natural Philosophy classes at school there was > the > Left-Hand Sock rule and the Right-Hand Sock Rule . . . > > Also remember . . . > > The quality of mercy is not strained . . . unless through a sock. > _______________________________________________ > > From coiin at verizon.net Tue Mar 30 17:33:08 2010 From: coiin at verizon.net (Colin Holgate) Date: Tue, 30 Mar 2010 17:33:08 -0400 Subject: Interesting discussion on iPad content In-Reply-To: <81C1955C-FB97-4BDA-BDB4-12CA3A24FEB6@qldlearning.com> References: <1B42112C-BE54-4F75-A1D2-08DF5534413F@verizon.net> <81C1955C-FB97-4BDA-BDB4-12CA3A24FEB6@qldlearning.com> Message-ID: On Mar 30, 2010, at 5:23 PM, Brian Yennie wrote: > >Definitely a valid concern, although if it's truly 15 seconds that just seems excessive. They have changed how it works over time. It used to be that there were 12 seconds of splash screen before anything attempted to load, and no indicator to the user. After 12 seconds a loading circle animation showed, and then some number of seconds later the loading was done. Now they set the loading animation going after a second, but the loading of the engine is still relatively slow, typically about 15 seconds to load (compared to about 18 seconds previously). I have many non-GameSalad games that load in under two seconds. Hopefully GameSalad will improve the loading time. Rev apps load very fast. From nealk3nc at gmail.com Tue Mar 30 17:40:39 2010 From: nealk3nc at gmail.com (Neal Campbell) Date: Tue, 30 Mar 2010 17:40:39 -0400 Subject: Interesting discussion on iPad content In-Reply-To: References: <1B42112C-BE54-4F75-A1D2-08DF5534413F@verizon.net> <81C1955C-FB97-4BDA-BDB4-12CA3A24FEB6@qldlearning.com> Message-ID: <325413301003301440p41ec38ack29aa15eec415824b@mail.gmail.com> Not completely on target but kinda... I use ComponentOne stuff in my dot net applications, has anyone seen/heard/used their iPhone development kit? As much as I can tell, it is using dot Net ASP code for a testing environment and somehow converts it to an iPhone app. It sounds pretty creative but I am not aware of anyone using it. I think, in spite of the cynicism about Rev entering this market, they look like geniuses now (if they can deliver!) Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com (540) 645 5394 NEW PHONE NUMBER From rodneys at io.com Tue Mar 30 18:02:27 2010 From: rodneys at io.com (Rodney Somerstein) Date: Tue, 30 Mar 2010 18:02:27 -0400 Subject: Interesting discussion on iPad content In-Reply-To: <5A483AA4-3A2B-49FA-A209-AD069EEEB987@earthlink.net> References: <1CF97C48-A885-4B49-9C81-89D4A0B068D3@runrev.com> <5A483AA4-3A2B-49FA-A209-AD069EEEB987@earthlink.net> Message-ID: Marian Petrides wrote: >FWIW, this amateur (OK, near amateur) finally bit the bullet on >RevMobile when I got a special offer that dropped the price to >something like $550 because I REALLY want to be able to develop for >the iPad. > >OTOH, my subscription to Rev Enterprise is paid up until 2016 or so >and I bought into On-Rev Founder, so I'm hardly a tight wad when it >comes to buying Rev products. That said, even I agree that the >current _list_ price for RevMobile is prohibitive for anyone who >does not already have a product ready to be deployed on the iPad. > >Not sure what the answer is, just making an observation.... > I just do this as a hobby. As an enterprise licensee, I have put a LOT of money into Rev over the years, including an On-Rev Founder account that has mostly been sitting dormant. Hopefully, two years after that purchase there will finally be some upgrades to that product in the coming months. I would definitely consider relinquishing the On-Rev stuff I have access to for something that is turning out to be much more compelling to me. Especially since I suspect there is more likelihood of ongoing development and improvements on Rev-Mobile than On-Rev. That is money spent that may eventually prove worthwhile but so far not really. As far as I know, I never got any kind of special offer for Rev-Mobile. If I had some kind of offer to drop the price of Rev Mobile, I likely would buy into it. I guess it takes a lot more than being a multi-year Enterprise license holder (I show licensing info from all the way back to 2002 or so - I'm not sure that it was Enterprise until 2004-ish) and an On-Rev founder to qualify for that kind of thing. (Or maybe I somehow missed it?) So I'm not exactly a tightwad when it comes to purchasing things from RunRev either, but this one just seems to push a bit too far. I hate to think what you must have done over the years to get such an offer. I REALLY want to be able to develop for the iPad also, but... I don't really care about the conference access, but I didn't see an option to just participate in the alpha and release without all the conference stuff, unfortunately. Don't get me wrong, the conference would be great, but I would gladly give up live access to that for access to Rev-Mobile. I would love something along the lines of the On-Rev founder access to Rev-Mobile. Even the option to buy into that for several years of updates without the conference stuff would have been more attractive to me. More up-front money but better return for someone not doing this professionally. But, I'm instead looking at $800 for an alpha with a potential release later this year and then the prospect of paying more for an upgrade license each year than I do for RevEnterprise. So essentially I would get a product with less functionality than Enterprise (other than deploying on the iPhone/iPad) with a higher cost than Enterprise. (In all fairness, there may be an early upgrade price for Rev-Mobile each year as well, I just haven't seen it mentioned). So, I'm looking at at least $400/year in upgrade fees between the two products. Again, not exactly something for the average enthusiast, but with a cheaper buy-in option more people would consider it. And it seems that RunRev would benefit from having non-commercial apps produced with Revolution to show off as well as the specialized commercial ones that they often won't really be able to talk about with other customers. Anyway, I've hopefully made my point. The goal isn't just to complain, but to agitate a bit for something more reasonable as an option for people who aren't considering Rev-Mobile vs. spending a lot more money for commercial development. For that latter group, Rev-Mobile is probably worthwhile at the current price. They can probably write it off on taxes in many cases. Being somewhat locked out of participating in a very compelling enthusiast product due to an insistence on purely commercial pricing does chafe a bit, though. (I'll try to keep future replies a bit shorter now that I've ranted a bit) -Rodney From shani.runrev at gmail.com Tue Mar 30 18:23:15 2010 From: shani.runrev at gmail.com (Shani) Date: Wed, 31 Mar 2010 00:23:15 +0200 Subject: Open Socket In-Reply-To: <7c87a2a11003300608q72f65563wd1d6aa85204531d7@mail.gmail.com> References: <7c87a2a11003300608q72f65563wd1d6aa85204531d7@mail.gmail.com> Message-ID: open socket to ("127.0.0.1" & : & (6800)) with message "Server connected" is this is rihght code for rev and what about in JADE? Regards, SHani On Tue, Mar 30, 2010 at 3:08 PM, Andre Garzia wrote: > Shani, > > check out the documentation built-in with Rev. > > open socket expect and IP or server name, unless filename is a machine on > your network, that code is wrong. Also what is that # symbol doing there? > > Om shanti > andre > > On Mon, Mar 29, 2010 at 11:46 PM, Shani wrote: > > > Hi, > > I want to communicate with Other program Client (JAVA or JADE) from > RevTalk > > through Socket. > > > > open socket to ("filename " & : & (port#)) with message "Server > > connected" > > > > ## http://docs.runrev.com/Command/open-socket > > > > what i give command on client side. > > > > Regards, > > SHANI > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From andre at andregarzia.com Tue Mar 30 18:25:07 2010 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 30 Mar 2010 19:25:07 -0300 Subject: Open Socket In-Reply-To: References: <7c87a2a11003300608q72f65563wd1d6aa85204531d7@mail.gmail.com> Message-ID: <7c87a2a11003301525u2ffe66f1o4af7ce011d64f2d@mail.gmail.com> Shani, I know nothing about JADE but your command still wrong. Please also check the docs, your message has a space in it when it should not. Try something like: open socket to "127.0.0.1:6800" with message "serverconnected" Cheers andre On Tue, Mar 30, 2010 at 7:23 PM, Shani wrote: > open socket to ("127.0.0.1" & : & (6800)) with message "Server connected" > > is this is rihght code for rev and what about in JADE? > > Regards, > SHani > > On Tue, Mar 30, 2010 at 3:08 PM, Andre Garzia > wrote: > > > Shani, > > > > check out the documentation built-in with Rev. > > > > open socket expect and IP or server name, unless filename is a machine on > > your network, that code is wrong. Also what is that # symbol doing there? > > > > Om shanti > > andre > > > > On Mon, Mar 29, 2010 at 11:46 PM, Shani wrote: > > > > > Hi, > > > I want to communicate with Other program Client (JAVA or JADE) from > > RevTalk > > > through Socket. > > > > > > open socket to ("filename " & : & (port#)) with message "Server > > > connected" > > > > > > ## http://docs.runrev.com/Command/open-socket > > > > > > what i give command on client side. > > > > > > Regards, > > > SHANI > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > > > > -- > > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From briany at qldlearning.com Tue Mar 30 18:37:42 2010 From: briany at qldlearning.com (Brian Yennie) Date: Tue, 30 Mar 2010 15:37:42 -0700 Subject: Open Socket In-Reply-To: References: <7c87a2a11003300608q72f65563wd1d6aa85204531d7@mail.gmail.com> Message-ID: Shani, Do you want Rev to be *client* or *server*? If you want it to be the server (with a Java client) then you need to look at the "accept" command: accept connections on port 6800 with message "serverConnect" on serverConnect tSocket read from socket tSocket for 1 line ... end serverConnect etc. > open socket to ("127.0.0.1" & : & (6800)) with message "Server connected" > > is this is rihght code for rev and what about in JADE? > > Regards, > SHani > > On Tue, Mar 30, 2010 at 3:08 PM, Andre Garzia wrote: > >> Shani, >> >> check out the documentation built-in with Rev. >> >> open socket expect and IP or server name, unless filename is a machine on >> your network, that code is wrong. Also what is that # symbol doing there? >> >> Om shanti >> andre >> >> On Mon, Mar 29, 2010 at 11:46 PM, Shani wrote: >> >>> Hi, >>> I want to communicate with Other program Client (JAVA or JADE) from >> RevTalk >>> through Socket. >>> >>> open socket to ("filename " & : & (port#)) with message "Server >>> connected" >>> >>> ## http://docs.runrev.com/Command/open-socket >>> >>> what i give command on client side. >>> >>> Regards, >>> SHANI From shani.runrev at gmail.com Tue Mar 30 18:48:02 2010 From: shani.runrev at gmail.com (Shani) Date: Wed, 31 Mar 2010 00:48:02 +0200 Subject: Open Socket In-Reply-To: References: <7c87a2a11003300608q72f65563wd1d6aa85204531d7@mail.gmail.com> Message-ID: Yes, I want to use Rev as a Server. I send another email with detail. kindly see that. and correct that plz. Rev is on Server Side JADE is on Client Side Regards, SHANI On Wed, Mar 31, 2010 at 12:37 AM, Brian Yennie wrote: > Shani, > > Do you want Rev to be *client* or *server*? If you want it to be the server > (with a Java client) then you need to look at the "accept" command: > > accept connections on port 6800 with message "serverConnect" > > on serverConnect tSocket > read from socket tSocket for 1 line > ... > end serverConnect > > etc. > > > open socket to ("127.0.0.1" & : & (6800)) with message "Server connected" > > > > is this is rihght code for rev and what about in JADE? > > > > Regards, > > SHani > > > > On Tue, Mar 30, 2010 at 3:08 PM, Andre Garzia > wrote: > > > >> Shani, > >> > >> check out the documentation built-in with Rev. > >> > >> open socket expect and IP or server name, unless filename is a machine > on > >> your network, that code is wrong. Also what is that # symbol doing > there? > >> > >> Om shanti > >> andre > >> > >> On Mon, Mar 29, 2010 at 11:46 PM, Shani wrote: > >> > >>> Hi, > >>> I want to communicate with Other program Client (JAVA or JADE) from > >> RevTalk > >>> through Socket. > >>> > >>> open socket to ("filename " & : & (port#)) with message "Server > >>> connected" > >>> > >>> ## http://docs.runrev.com/Command/open-socket > >>> > >>> what i give command on client side. > >>> > >>> Regards, > >>> SHANI > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From andre at andregarzia.com Tue Mar 30 18:50:29 2010 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 30 Mar 2010 19:50:29 -0300 Subject: Open Socket In-Reply-To: References: <7c87a2a11003300608q72f65563wd1d6aa85204531d7@mail.gmail.com> Message-ID: <7c87a2a11003301550g12864ba1kdeb141e26e85a252@mail.gmail.com> Ah... that changes everything. you will use the accept connection command. Check the docs on that, it will help. Now, the question is why do you want a Rev server? A server built as a Revolution Desktop application is a single thread application, if your server is doing anything intensive (and thus requiring some time), it will fail to answer other connections. Cheers andre On Tue, Mar 30, 2010 at 7:48 PM, Shani wrote: > Yes, > I want to use Rev as a Server. > > I send another email with detail. kindly see that. > and correct that plz. > > Rev is on Server Side > JADE is on Client Side > > Regards, > SHANI > > On Wed, Mar 31, 2010 at 12:37 AM, Brian Yennie >wrote: > > > Shani, > > > > Do you want Rev to be *client* or *server*? If you want it to be the > server > > (with a Java client) then you need to look at the "accept" command: > > > > accept connections on port 6800 with message "serverConnect" > > > > on serverConnect tSocket > > read from socket tSocket for 1 line > > ... > > end serverConnect > > > > etc. > > > > > open socket to ("127.0.0.1" & : & (6800)) with message "Server > connected" > > > > > > is this is rihght code for rev and what about in JADE? > > > > > > Regards, > > > SHani > > > > > > On Tue, Mar 30, 2010 at 3:08 PM, Andre Garzia > > wrote: > > > > > >> Shani, > > >> > > >> check out the documentation built-in with Rev. > > >> > > >> open socket expect and IP or server name, unless filename is a machine > > on > > >> your network, that code is wrong. Also what is that # symbol doing > > there? > > >> > > >> Om shanti > > >> andre > > >> > > >> On Mon, Mar 29, 2010 at 11:46 PM, Shani > wrote: > > >> > > >>> Hi, > > >>> I want to communicate with Other program Client (JAVA or JADE) from > > >> RevTalk > > >>> through Socket. > > >>> > > >>> open socket to ("filename " & : & (port#)) with message "Server > > >>> connected" > > >>> > > >>> ## http://docs.runrev.com/Command/open-socket > > >>> > > >>> what i give command on client side. > > >>> > > >>> Regards, > > >>> SHANI > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From briany at qldlearning.com Tue Mar 30 18:51:21 2010 From: briany at qldlearning.com (Brian Yennie) Date: Tue, 30 Mar 2010 15:51:21 -0700 Subject: Open Socket In-Reply-To: References: <7c87a2a11003300608q72f65563wd1d6aa85204531d7@mail.gmail.com> Message-ID: <9CE41A7E-E7E9-4D0A-BEBD-313D674D7BD7@qldlearning.com> Shani, As I wrote in my previous post, you need to use the "accept" command, not "open socket". Also, I think you are misunderstanding the "with message" portion. This message needs to be the name of a handler which is called when a connection is made. See my example and also the docs on this. > Yes, > I want to use Rev as a Server. > > I send another email with detail. kindly see that. > and correct that plz. > > Rev is on Server Side > JADE is on Client Side > > Regards, > SHANI > > On Wed, Mar 31, 2010 at 12:37 AM, Brian Yennie wrote: > >> Shani, >> >> Do you want Rev to be *client* or *server*? If you want it to be the server >> (with a Java client) then you need to look at the "accept" command: >> >> accept connections on port 6800 with message "serverConnect" >> >> on serverConnect tSocket >> read from socket tSocket for 1 line >> ... >> end serverConnect >> >> etc. >> >>> open socket to ("127.0.0.1" & : & (6800)) with message "Server connected" >>> >>> is this is rihght code for rev and what about in JADE? >>> >>> Regards, >>> SHani >>> >>> On Tue, Mar 30, 2010 at 3:08 PM, Andre Garzia >> wrote: >>> >>>> Shani, >>>> >>>> check out the documentation built-in with Rev. >>>> >>>> open socket expect and IP or server name, unless filename is a machine >> on >>>> your network, that code is wrong. Also what is that # symbol doing >> there? >>>> >>>> Om shanti >>>> andre >>>> >>>> On Mon, Mar 29, 2010 at 11:46 PM, Shani wrote: >>>> >>>>> Hi, >>>>> I want to communicate with Other program Client (JAVA or JADE) from >>>> RevTalk >>>>> through Socket. >>>>> >>>>> open socket to ("filename " & : & (port#)) with message "Server >>>>> connected" >>>>> >>>>> ## http://docs.runrev.com/Command/open-socket >>>>> >>>>> what i give command on client side. >>>>> >>>>> Regards, >>>>> SHANI From mwieder at ahsoftware.net Tue Mar 30 18:56:30 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 30 Mar 2010 15:56:30 -0700 Subject: Life-cycle of paper clips In-Reply-To: <4BB26BD4.6080509@tiscali.co.uk> References: <20100228180004.404A628802E@mail.runrev.com> <8CC870F73740950-4760-17F73@webmail-m086.sysops.aol.com> <1641213265.20100301113447@ahsoftware.net> <4B8C18D5.50200@gmail.com> <4BB26BD4.6080509@tiscali.co.uk> Message-ID: <16752036281.20100330155630@ahsoftware.net> Douglas- Welcome to the list community... Tuesday, March 30, 2010, 2:23:32 PM, you wrote: http://wiki.answers.com/Q/Where_do_all_those_darned_left_socks_keep_going > Douglas . (A first time poster who does the washing and also programs > in RunRev) You do the washing in RunRev? I'm seriously impressed... -- -Mark Wieder mwieder at ahsoftware.net From shani.runrev at gmail.com Tue Mar 30 18:59:53 2010 From: shani.runrev at gmail.com (Shani) Date: Wed, 31 Mar 2010 00:59:53 +0200 Subject: JADE file display in Rev? Message-ID: *Hi, * *I have problem to display (filename.bat). when i use this program it display the shell, when i close this then it display the result that Agent was running.* *when i use * * *set the hideConsoleWindows to true *it kill the Agent. * *see code in these links for detail. * *http://www.4shared.com/file/253180186/584f4101/Rev2JADE.html http://www.4shared.com/file/253180197/365340d6/Rev2JADEincmd.html http://www.4shared.com/file/253180770/32398449/RevJADE_rar.html * *put* shell("hello") into tResult this work fine but when i start the program shell display blank after soem second i close the shell then it display. is this display run-time. Regards, SHANI From shani.runrev at gmail.com Tue Mar 30 19:08:35 2010 From: shani.runrev at gmail.com (Shani) Date: Wed, 31 Mar 2010 01:08:35 +0200 Subject: Open Socket In-Reply-To: <7c87a2a11003301550g12864ba1kdeb141e26e85a252@mail.gmail.com> References: <7c87a2a11003300608q72f65563wd1d6aa85204531d7@mail.gmail.com> <7c87a2a11003301550g12864ba1kdeb141e26e85a252@mail.gmail.com> Message-ID: Thanks Andre Garzia and Brian Yennie, this link is very helpful. but if you have a time then kindly check these links and make changes and guide me all my mistake. http://www.4shared.com/dir/35326335/dcff5fd2/REV2JADE.html you can upload the changes hare too. Brain, ok i use this for accept and read and what about write process. accept connections on port 6800 with message "serverConnect" on serverConnect tSocket read from socket tSocket for 1 line ... end serverConnect etc. Regards, SHANI On Wed, Mar 31, 2010 at 12:50 AM, Andre Garzia wrote: > Ah... > > that changes everything. > > you will use the accept connection command. Check the docs on that, it will > help. > > Now, the question is why do you want a Rev server? A server built as a > Revolution Desktop application is a single thread application, if your > server is doing anything intensive (and thus requiring some time), it will > fail to answer other connections. > > Cheers > andre > > On Tue, Mar 30, 2010 at 7:48 PM, Shani wrote: > > > Yes, > > I want to use Rev as a Server. > > > > I send another email with detail. kindly see that. > > and correct that plz. > > > > Rev is on Server Side > > JADE is on Client Side > > > > Regards, > > SHANI > > > > On Wed, Mar 31, 2010 at 12:37 AM, Brian Yennie > >wrote: > > > > > Shani, > > > > > > Do you want Rev to be *client* or *server*? If you want it to be the > > server > > > (with a Java client) then you need to look at the "accept" command: > > > > > > accept connections on port 6800 with message "serverConnect" > > > > > > on serverConnect tSocket > > > read from socket tSocket for 1 line > > > ... > > > end serverConnect > > > > > > etc. > > > > > > > open socket to ("127.0.0.1" & : & (6800)) with message "Server > > connected" > > > > > > > > is this is rihght code for rev and what about in JADE? > > > > > > > > Regards, > > > > SHani > > > > > > > > On Tue, Mar 30, 2010 at 3:08 PM, Andre Garzia > > > > wrote: > > > > > > > >> Shani, > > > >> > > > >> check out the documentation built-in with Rev. > > > >> > > > >> open socket expect and IP or server name, unless filename is a > machine > > > on > > > >> your network, that code is wrong. Also what is that # symbol doing > > > there? > > > >> > > > >> Om shanti > > > >> andre > > > >> > > > >> On Mon, Mar 29, 2010 at 11:46 PM, Shani > > wrote: > > > >> > > > >>> Hi, > > > >>> I want to communicate with Other program Client (JAVA or JADE) from > > > >> RevTalk > > > >>> through Socket. > > > >>> > > > >>> open socket to ("filename " & : & (port#)) with message "Server > > > >>> connected" > > > >>> > > > >>> ## http://docs.runrev.com/Command/open-socket > > > >>> > > > >>> what i give command on client side. > > > >>> > > > >>> Regards, > > > >>> SHANI > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bobs at twft.com Tue Mar 30 19:21:10 2010 From: bobs at twft.com (Bob Sneidar) Date: Tue, 30 Mar 2010 16:21:10 -0700 Subject: Life-cycle of paper clips In-Reply-To: <16752036281.20100330155630@ahsoftware.net> References: <20100228180004.404A628802E@mail.runrev.com> <8CC870F73740950-4760-17F73@webmail-m086.sysops.aol.com> <1641213265.20100301113447@ahsoftware.net> <4B8C18D5.50200@gmail.com> <4BB26BD4.6080509@tiscali.co.uk> <16752036281.20100330155630@ahsoftware.net> Message-ID: <1C959E4F-BF51-404C-A451-33E24187676E@twft.com> I think he was saying it's the poster that does the washing. Considerably more impressive. Bob On Mar 30, 2010, at 3:56 PM, Mark Wieder wrote: > Douglas- > > Welcome to the list community... > > Tuesday, March 30, 2010, 2:23:32 PM, you wrote: > > http://wiki.answers.com/Q/Where_do_all_those_darned_left_socks_keep_going > >> Douglas . (A first time poster who does the washing and also programs >> in RunRev) > > You do the washing in RunRev? I'm seriously impressed... > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From runrev260805 at m-r-d.de Tue Mar 30 19:40:25 2010 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Wed, 31 Mar 2010 01:40:25 +0200 Subject: Interesting discussion on iPad content In-Reply-To: References: <1CF97C48-A885-4B49-9C81-89D4A0B068D3@runrev.com> <5A483AA4-3A2B-49FA-A209-AD069EEEB987@earthlink.net> Message-ID: <0D39038F-FF2B-440F-90AD-287033A7C1E0@m-r-d.de> Rodney, Am 31.03.2010 um 00:02 schrieb Rodney Somerstein: > > As far as I know, I never got any kind of special offer for Rev-Mobile. If I had some kind of offer to drop the price of Rev Mobile, I likely would buy into it. There is an offer in the store https://secure.runrev.com/store/browse/?product=RVSLMBLE You can buy the revMobile Pre-Order, which contains - all pre-release versions of revMobile - the shipping version of revMobile, when available - normally $999 - 1year of update for revMobile (starting after revMobile is released) - normally $399 - the RunRevLive.10 Simulcast, which lets you join the RunRevLive conference from your desk - normally $399 - the RunRevLive.10 DVD set (all recordings of the RunRevLive.10 conference - normally $249 for 799 US$ or 569 Euros. But the offer will expire in a few hours. Regards, Matthias From sarah.reichelt at gmail.com Tue Mar 30 19:40:52 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 31 Mar 2010 09:40:52 +1000 Subject: Data grids in standalones In-Reply-To: <42467AE9-79AF-49F8-BD39-6415DBF81E7A@mangomultimedia.com> References: <42467AE9-79AF-49F8-BD39-6415DBF81E7A@mangomultimedia.com> Message-ID: >> Can I tell the standalone builder to include the data grid library >> even if setting inclusions manually? >> Or do I have to un-protect my stack to get this to work. > > Add a Data Grid Templates substack and the standalone builder will include > the Data Grid library: > > http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7339-What-Do-I-Need-to-Do-To-Deploy-a-Standalone-With-A-Data-Grid- Yes, I read this lesson, but the screen shots showed that you had the Standalone Builder searching for inclusions. When I selected the inclusions manually, there was no option to select the Data Grid library and I did not think it was being included. I was having other problems at the time, so I may be wrong on this, but please could you confirm this. Thanks, Sarah From sarah.reichelt at gmail.com Tue Mar 30 19:42:19 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 31 Mar 2010 09:42:19 +1000 Subject: Interesting discussion on iPad content In-Reply-To: References: <1CF97C48-A885-4B49-9C81-89D4A0B068D3@runrev.com> <5A483AA4-3A2B-49FA-A209-AD069EEEB987@earthlink.net> Message-ID: > I don't really care about the conference access, but I didn't see an option > to just participate in the alpha and release without all the conference > stuff, unfortunately. Don't get me wrong, the conference would be great, but > I would gladly give up live access to that for access to Rev-Mobile. I would > love something along the lines of the On-Rev founder access to Rev-Mobile. > Even the option to buy into that for several years of updates without the > conference stuff would have been more attractive to me. More up-front money > but better return for someone not doing this professionally. I am not going to the conference either, but the deal gave access to the conference simulcasts as well as revMobile and another year's subscription, so it was still a good deal even if you just ignore the conference ticket. Cheers, Sarah From mpetrides at earthlink.net Tue Mar 30 19:52:42 2010 From: mpetrides at earthlink.net (Petrides, M.D. Marian) Date: Tue, 30 Mar 2010 18:52:42 -0500 Subject: Interesting discussion on iPad content In-Reply-To: <0D39038F-FF2B-440F-90AD-287033A7C1E0@m-r-d.de> References: <1CF97C48-A885-4B49-9C81-89D4A0B068D3@runrev.com> <5A483AA4-3A2B-49FA-A209-AD069EEEB987@earthlink.net> <0D39038F-FF2B-440F-90AD-287033A7C1E0@m-r-d.de> Message-ID: My mistake in not clarifying. The offer was for educational discount on pre-purchase of Rev-Mobile, so only applies to educational users. On Mar 30, 2010, at 6:40 PM, Matthias Rebbe wrote: > Rodney, > > Am 31.03.2010 um 00:02 schrieb Rodney Somerstein: >> >> As far as I know, I never got any kind of special offer for Rev- >> Mobile. If I had some kind of offer to drop the price of Rev >> Mobile, I likely would buy into it. > > There is an offer in the store > > https://secure.runrev.com/store/browse/?product=RVSLMBLE > > You can buy the revMobile Pre-Order, which contains > > - all pre-release versions of revMobile > - the shipping version of revMobile, when available - normally $999 > - 1year of update for revMobile (starting after revMobile is > released) - normally $399 > - the RunRevLive.10 Simulcast, which lets you join the RunRevLive > conference from your desk - normally $399 > - the RunRevLive.10 DVD set (all recordings of the RunRevLive.10 > conference - normally $249 > > for 799 US$ or 569 Euros. > > But the offer will expire in a few hours. > > > Regards, > > Matthias > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From pmbrig at gmail.com Tue Mar 30 20:05:54 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Tue, 30 Mar 2010 20:05:54 -0400 Subject: iTunesWIdget Message-ID: For anyone who wants to try it out, I made a simple iTunes widget stack so I could stop and start iTunes without leaving Rev. It's just a simple circular button shaped stack that is palletized, tiny so you can park it anywhere. Click to stop/pause playing, shift-click for help, option-drag to move it around. It's available at: http://home.comcast.net/~pmbrig/iTunesWidget.rev.zip Thanks to Thomas McGrath for his libITS stack, which made it possible. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From jacque at hyperactivesw.com Tue Mar 30 20:09:23 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 30 Mar 2010 19:09:23 -0500 Subject: Life-cycle of paper clips In-Reply-To: <4BB26BD4.6080509@tiscali.co.uk> References: <20100228180004.404A628802E@mail.runrev.com> <8CC870F73740950-4760-17F73@webmail-m086.sysops.aol.com> <1641213265.20100301113447@ahsoftware.net> <4B8C18D5.50200@gmail.com> <4BB26BD4.6080509@tiscali.co.uk> Message-ID: <4BB292B3.7070209@hyperactivesw.com> Douglas wrote: > May I point out that both Calvin Klein and Pringle do Left and Right socks. > (Their logo is embroidered either on the left or right of the sock.) > > It is again a strange fact that I seem to end up with 2 left socks or 2 > right > socks after a wash that contained only one pair! > > Douglas . (A first time poster who does the washing and also programs > in RunRev) Welcome to the list. You can feel secure in that we do not judge anyone by their socks. Coat hangers and paper clips, maybe, but socks, never. We're a bunch of geeks, after all, and some of us are having a good day when we remember to wear socks at all. According to Merrily Harpur: "A man is about thirty-eight before he stockpiles enough socks to be able to get one matching pair." If this describes you, don't tell us. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Mar 31 00:24:20 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 30 Mar 2010 23:24:20 -0500 Subject: Identifying a certain Windows machine In-Reply-To: <4BB20476.6050806@tweedly.net> References: <0743ED90-EBDC-43CB-ABFD-CA25A05B73B0@sweattechnologies.com> <727E3EEA-9952-4422-A4DB-EA637F265EF3@mac.com> <4BB20476.6050806@tweedly.net> Message-ID: <4BB2CE74.5050707@hyperactivesw.com> Alex Tweedly wrote: > Joe F. wrote: >> Wow- that is some answer. Thank you Monte. >> >> I was actually expecting something like "getSystemID" to be built into >> Revtalk, but... >> >> You inspired me to make myself a script library. > Note this approach works 99% of the time, but can go wrong (or at least > be very confusing) if the user has installed any devices which have an > in-built MAC address (e.g. a USB Wifi card, perhaps to get better reach > than the in-built wifi gets, he says from experience :-). This may be > the MAC address reported first, giving an "ID" which can later change. Monte's script looks at interface en0. Does your Wifi card register on that one? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rodneys at io.com Wed Mar 31 01:24:29 2010 From: rodneys at io.com (Rodney Somerstein) Date: Wed, 31 Mar 2010 01:24:29 -0400 Subject: Interesting discussion on iPad content In-Reply-To: References: <1CF97C48-A885-4B49-9C81-89D4A0B068D3@runrev.com> <5A483AA4-3A2B-49FA-A209-AD069EEEB987@earthlink.net> <0D39038F-FF2B-440F-90AD-287033A7C1E0@m-r-d.de> Message-ID: >My mistake in not clarifying. The offer was for educational >discount on pre-purchase of Rev-Mobile, so only applies to >educational users. > That make sense, Marian. I forgot about the educational discounts. Many companies offer those on software. I just managed to pick an expensive hobby. I've been grumpy because I don't want to spend as much as is being asked. I want my toys when I want them, dang it. ;-) (That doesn't mean the world actually owes me those toys.) My original plan for Rev was to develop software for playing a variety of board and card games - allowing users to specify the rules for the games so that it could support a wide variety. Of course, I haven't made much headway with that, but I have had fun playing around with it. The iPad seems like the perfect platform for such a thing and has me inspired again. That's part of where the frustration is coming from - this is just so close but just not quite there yet for me to jump on. -Rodney From pmbrig at gmail.com Wed Mar 31 07:39:55 2010 From: pmbrig at gmail.com (Peter Brigham MD) Date: Wed, 31 Mar 2010 07:39:55 -0400 Subject: Life-cycle of paper clips In-Reply-To: <16752036281.20100330155630@ahsoftware.net> References: <20100228180004.404A628802E@mail.runrev.com> <8CC870F73740950-4760-17F73@webmail-m086.sysops.aol.com> <1641213265.20100301113447@ahsoftware.net> <4B8C18D5.50200@gmail.com> <4BB26BD4.6080509@tiscali.co.uk> <16752036281.20100330155630@ahsoftware.net> Message-ID: <547FB8D2-F4C2-49ED-BEF6-C30B006275CF@gmail.com> On Mar 30, 2010, at 6:56 PM, Mark Wieder wrote: > Douglas- > > Welcome to the list community... > > Tuesday, March 30, 2010, 2:23:32 PM, you wrote: > > http://wiki.answers.com/Q/Where_do_all_those_darned_left_socks_keep_going > >> Douglas . (A first time poster who does the washing and also >> programs >> in RunRev) > > You do the washing in RunRev? I'm seriously impressed... My odd socks keep turning up in the middle of my scripts, I hate that. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From richmondmathewson at gmail.com Wed Mar 31 08:06:27 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 31 Mar 2010 15:06:27 +0300 Subject: Life-cycle of paper clips In-Reply-To: <547FB8D2-F4C2-49ED-BEF6-C30B006275CF@gmail.com> References: <20100228180004.404A628802E@mail.runrev.com> <8CC870F73740950-4760-17F73@webmail-m086.sysops.aol.com> <1641213265.20100301113447@ahsoftware.net> <4B8C18D5.50200@gmail.com> <4BB26BD4.6080509@tiscali.co.uk> <16752036281.20100330155630@ahsoftware.net> <547FB8D2-F4C2-49ED-BEF6-C30B006275CF@gmail.com> Message-ID: <4BB33AC3.8040204@gmail.com> On 31/03/2010 14:39, Peter Brigham MD wrote: > On Mar 30, 2010, at 6:56 PM, Mark Wieder wrote: > >> Douglas- >> >> Welcome to the list community... >> >> Tuesday, March 30, 2010, 2:23:32 PM, you wrote: >> >> http://wiki.answers.com/Q/Where_do_all_those_darned_left_socks_keep_going >> >> >>> Douglas . (A first time poster who does the washing and also programs >>> in RunRev) >> >> You do the washing in RunRev? I'm seriously impressed... > > My odd socks keep turning up in the middle of my scripts, I hate that. > > Many years ago; before we had "distractions" such as TV and computers I was quite good at darning socks . . . :) Now, it is my code that is full of holes. However, I have yet to find an equivalent to one of those wooden mushrooms: http://www.knitandsew.co.uk/images/00010008.jpg over which I can slip my RunRev code so that I can conveniently get the needle in the right places. I suspect that recent discussions on this list about something called a 'SOCKet' may have some connexion to this problem; although the girls I teach English to inform me that the 'proper' name for a sockette is a "pop-sock": Socket: http://www.ozinetperformancewear.com.au/pics/Sockette_2.jpg Pop Socks: http://images.teamestrogen.com/ri/300/300/2009_Spring/SW-10525-ALL.jpg Sockette: http://www.filmdope.com/Gallery/ActorsB/2039-3007.gif From revlist at azurevision.co.uk Wed Mar 31 08:18:41 2010 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 31 Mar 2010 13:18:41 +0100 Subject: OT?: heavy weather near the Runrev office Message-ID: http://news.bbc.co.uk/1/hi/uk/8596344.stm Waves battering the Leith Docks, a few miles from head office! Ian From richmondmathewson at gmail.com Wed Mar 31 08:27:04 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 31 Mar 2010 15:27:04 +0300 Subject: OT?: heavy weather near the Runrev office In-Reply-To: References: Message-ID: <4BB33F98.5080106@gmail.com> On 31/03/2010 15:18, Ian Wood wrote: > http://news.bbc.co.uk/1/hi/uk/8596344.stm > > Waves battering the Leith Docks, a few miles from head office! > > Ian The offices of RunRev are situated in the New Town; a good 500 feet above sea level; so, while they may be able to pop along and tak a keek doun Leith Walk to the flooded Ocean Terminal, they themselves should be as dry as one can get in Edinburgh (Ha, Ha, not that that is saying overmuch - especially after my own experience there in September 2009: turned up to a non-disclosure event at their offices; signed a NDA, and after the event found that my kilt had been so soaking wet that my copy of the document was only good for paper mache (mind you there is a school of thought that that is the best thing to do with NDAs anyway)). From jackwolf at gmail.com Wed Mar 31 08:30:22 2010 From: jackwolf at gmail.com (Jacopo Lupi) Date: Wed, 31 Mar 2010 14:30:22 +0200 Subject: Cross-Platform encoding issues Message-ID: <2B8F277D-C51D-4115-8B29-62D1296D5469@gmail.com> Hi all, I'm building a cross-platform application based on an postgresql database. The postgresql database encoding is "utf8". The revclient sets the "client_encoding" of the postgres session to "latin9" and if it is running on mac it translates the data with "mactoiso" or "isotomac" functions. I need to set the postgres "client_encoding" to "latin9" otherwise I can't retrive text with accents correctly on the macplatform. Everything seems to work fine exept for the euro symbol. I can find no way to type the euro symbol in mac and make it readable under windows and viceversa. Does anybody know a correct implementation to make the euro symbol working in the correct way storing data on a sql database? Thanks in advance Best Jacopo From revlist at azurevision.co.uk Wed Mar 31 08:36:48 2010 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 31 Mar 2010 13:36:48 +0100 Subject: OT?: heavy weather near the Runrev office In-Reply-To: <4BB33F98.5080106@gmail.com> References: <4BB33F98.5080106@gmail.com> Message-ID: <90D92CFE-3DFD-4A38-B87D-7910DE05CDF7@azurevision.co.uk> On 31 Mar 2010, at 13:27, Richmond Mathewson wrote: > The offices of RunRev are situated in the New Town; a good 500 feet > above sea level; > so, while they may be able to pop along and tak a keek doun Leith > Walk to the flooded > Ocean Terminal, they themselves should be as dry as one can get in > Edinburgh If you remember, we were in the same NDA meeting, plus I was out Leith way the next morning... Still, it might be that list members find the clip interesting. Ian From richmondmathewson at gmail.com Wed Mar 31 08:50:18 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 31 Mar 2010 15:50:18 +0300 Subject: OT?: heavy weather near the Runrev office In-Reply-To: <90D92CFE-3DFD-4A38-B87D-7910DE05CDF7@azurevision.co.uk> References: <4BB33F98.5080106@gmail.com> <90D92CFE-3DFD-4A38-B87D-7910DE05CDF7@azurevision.co.uk> Message-ID: <4BB3450A.9060105@gmail.com> On 31/03/2010 15:36, Ian Wood wrote: > > On 31 Mar 2010, at 13:27, Richmond Mathewson wrote: > >> The offices of RunRev are situated in the New Town; a good 500 feet >> above sea level; >> so, while they may be able to pop along and tak a keek doun Leith >> Walk to the flooded >> Ocean Terminal, they themselves should be as dry as one can get in >> Edinburgh > > If you remember, we were in the same NDA meeting, plus I was out Leith > way the next morning... > > Still, it might be that list members find the clip interesting. > > Ian > _______________________________________________ I do remember: but, unlike myself, you had had the foresight to pack a raincoat before you went: Try this one (preferably in the privacy of your own room): The Leith police dismisseth us They thought we sought to stay; The Leith police dismisseth us They thought we'd stay all day. The Leith police dismisseth us, We both sighed sighs apiece; And the sighs that we sighed as we said goodbye Were the size of the Leith police. Certainly, that sufficeth me! From larsbrehmer at mac.com Wed Mar 31 09:04:56 2010 From: larsbrehmer at mac.com (Lars Brehmer) Date: Wed, 31 Mar 2010 16:04:56 +0300 Subject: formatted text in clipboardData Message-ID: I am trying to use a script to put the text of three text fields into the clipboardData and then manually paste it into a Word document and keep the text formatting. Field txt1 - font A Bold Field txt2 - font B Regular Field txt3 - font A Regular If I copy and paste each of the 3 fields separately, the fonts and formatting are retained. But with this script; set the clipboardData["rtf"] to the rtfText of fld "txt1" && the rtfText of fld "txt2" && the rtfText of fld "txt3" and then paste in the Word document, even when choosing "formatted text" result in all three becoming font A Regular. I have tried the same thing with htmlText and neither one works so far for me. Is it possible to do what I am trying to do? Cheers, Lars From lists at mangomultimedia.com Wed Mar 31 09:28:36 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 31 Mar 2010 09:28:36 -0400 Subject: DataGrid Forms, checkboxes and Pull-Down buttons? In-Reply-To: <433566AB-31DC-4485-A82E-992BB64B2807@mac.com> References: <433566AB-31DC-4485-A82E-992BB64B2807@mac.com> Message-ID: <1C56FFC2-A6A8-417F-93E6-92F83D36E032@mangomultimedia.com> On Mar 30, 2010, at 1:43 PM, John Patten wrote: > I have been searching the list and found those same resources you > describe. I'm closer, but still not quite getting the concept. I > noticed that tutorial examples are using Table and not Form > DataGrids. I have been using the Form version of the DataGrid, are > the examples you mention only workable when the DataGrid is a Table > style? Yes, the example will work with a form. These are the steps you will go through when working with the data in your data grid: 1) Assign data to data grid. Data grid stores internal array. 2) The FillInData handler in the row template inserts data from array into UI controls. 3) User interacts with UI control (clicks on checkbox, makes selection using option menu) 4) You store result of user interaction back in data grid array. 5) You ask the data grid for the value of the array using the dgDataOfIndex/dgDataOfLine or GetDataOfIndex/GetDataOfLine. At which point are you getting stuck? -- 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 Wed Mar 31 09:29:23 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 31 Mar 2010 15:29:23 +0200 Subject: formatted text in clipboardData In-Reply-To: References: Message-ID: <4BB34E33.1040301@economy-x-talk.com> Lars, Try this or a slightly different variant: set the htmlText of fld "txt4" to the htmlText of fld "txt1" & \ the htmlText of fld "txt2" & the htmlText of fld "txt4" set the clipboardData["rtf"] to the rtfText of fld "txt4" You'll need an additional field "txt4". Best, Mark Op 31-03-10 15:04, Lars Brehmer schreef: > I am trying to use a script to put the text of three text fields into > the clipboardData and then manually paste it into a Word document and > keep the text formatting. > > Field txt1 - font A Bold > Field txt2 - font B Regular > Field txt3 - font A Regular > > If I copy and paste each of the 3 fields separately, the fonts and > formatting are retained. > > But with this script; > > set the clipboardData["rtf"] to the rtfText of fld "txt1" && the > rtfText of fld "txt2" && the rtfText of fld "txt3" > > and then paste in the Word document, even when choosing "formatted > text" result in all three becoming font A Regular. I have tried the > same thing with htmlText and neither one works so far for me. > > Is it possible to do what I am trying to do? > > Cheers, > > > Lars From lists at mangomultimedia.com Wed Mar 31 09:35:46 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 31 Mar 2010 09:35:46 -0400 Subject: Data grids in standalones In-Reply-To: References: <42467AE9-79AF-49F8-BD39-6415DBF81E7A@mangomultimedia.com> Message-ID: On Mar 30, 2010, at 7:40 PM, Sarah Reichelt wrote: >>> Can I tell the standalone builder to include the data grid library >>> even if setting inclusions manually? >>> Or do I have to un-protect my stack to get this to work. >> >> Add a Data Grid Templates substack and the standalone builder will >> include >> the Data Grid library: >> >> http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7339-What-Do-I-Need-to-Do-To-Deploy-a-Standalone-With-A-Data-Grid- > > Yes, I read this lesson, but the screen shots showed that you had the > Standalone Builder searching for inclusions. > When I selected the inclusions manually, there was no option to select > the Data Grid library and I did not think it was being included. > I was having other problems at the time, so I may be wrong on this, > but please could you confirm this. Confirmed. As long as you have a stack that starts with "Data Grid Templates " then the data grid library is included. My test: 1) Create stack. 2) Configure standalone settings. Just switched radio menu from search to select inclusions. 3) Create substack named "Data Grid Templates Dud" 4) Add button to main stack with script: on mouseUp answer there is a stack "revdatagridlibrary" end mouseUp 5) Build standalone and test. Clicking mouse answers "true". -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From heather at runrev.com Wed Mar 31 09:40:17 2010 From: heather at runrev.com (Heather Nagey) Date: Wed, 31 Mar 2010 14:40:17 +0100 Subject: [Ann} pre-Alpha 7 available for revMobile Message-ID: Dear List Folks, Today we have made available pre-alpha 7 for iPhone, bringing you the following new features: - 'launch url': Now you can place voice calls, open maps or launch urls using this feature - 'beep': performs an alert based on the user's settings - 'the beepSound': configure the sound to use for 'beep' - 'play': basic support for playing sound files has been added, so you can play a single sound once or as a loop. It also implements the following useful and important items: - 'the fontNames'/'fontStyles()': find out what fonts are installed - system date/time: use the user's configured locale to format dates and times - uniEncode/uniDecode: convert between different text encodings - specialFolderPath('engine'): get the folder containing the engine and other bundle resources You can see more feature information here: http://www.runrev.com/products/revmobile/iphone-ipad/supported-features/ Today is the last day to get our very special pre-order revMobile package including Simulcast access and DVDs for the 2010 conference. If you haven't already signed up you can do so here: https://secure.runrev.com/store/browse/?product=RVSLMBLEt1] Read more about revMobile at our revamped minisite http://www.runrev.com/products/revmobile/overview/ Warm Regards, Heather Nagey Customer Services Manager http://www.runrev.com/ RunRev - Software construction for everyone From lists at mangomultimedia.com Wed Mar 31 09:47:10 2010 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 31 Mar 2010 09:47:10 -0400 Subject: RSS feed for revLessons Message-ID: <4AE6C873-7141-47D0-8B5B-D8C280C83C74@mangomultimedia.com> For those who aren't aware there is an RSS feed for new lessons that the folks at RunRev have been creating at http://lessons.runrev.com. Subscribing is an easy way to see the latest lessons that are being created for desktop, mobile and server platforms. The RSS feed url is: http://lessons.runrev.com/spaces/lessons.rss -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com Email has been scanned for viruses by Altman Technologies' email management service - www.altman.co.uk/emailsystems From palcibiades-first at yahoo.co.uk Wed Mar 31 10:34:02 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Wed, 31 Mar 2010 15:34:02 +0100 Subject: Print Card is broken in Linux because of resolution dependence Message-ID: <201003311534.02385.palcibiades-first@yahoo.co.uk> Print Card is broken in Linux. The problem is a general one with resolution dependence, and it is the same thing that makes the IDE unreadable on a larger screen. Here is what showed it. I used a 19 inch screen set to the normal resolution, and printed a card to cups-pd. I then also printed to a kyocera physical printer. I did this using the message box, changing the printerName between PDF and kyocera. Then I printed the pdf file generated by cups-pdf to the kyocera using kpdf. Both prints came out on paper correctly sized, and identical. I then changed the screen resolution to 800 x 600, and repeated the experiment. They both came out enlarged, so that the card did not fit on the page, but they were identical. It follows that cups-pdf and a real printer work identically in Rev. But print card works differently on both with the identical parameters if the resolution of the monitor changes. Conclusion: in Linux, if you change screen res, the identical scripts will no longer print cards in the same way. This is because the print card command is in some way tied to the resolution of the screen being used. The problem is nothing to do with Linux printing, print drivers, anything like that, its specific to Rev and how Rev has implemented the print card function. Its not the fault of Linux either, since no other app has this problem. Just as no other app has the Linux font problem. Since revPrintField is not properly usable in Linux for different reasons, this means that the current version of Rev for Linux does not support printing. The resolution dependence thing is also a real problem in regard to the IDE. On the 19 inch screen everything is fine, the dictionary is readable, the icons are about right. On my 22 inch screen at home, you need to use a magnifying glass to be able to read the dictionary which looks like its 4 point. So on my machine at home, basically I have unusable printing and an unreadable IDE. On the application site, the IDE is usable, but printing isn't. You see the problem this creates, when coupled with the lack of support for multiple desktops. You want readable fonts in the IDE, fine, you have all your different windows all overlapping one behind the other. You get a big screen, they don't overlap anymore, but now they are unreadable. Plan B is going to have to be used for printing. I had hoped to be able to hack it with cups-pdf, but from the above, this obviously does nothing to solve the problem. Plan B involves hacking around with awk after putting all the text into a text file to generate some kind of readable report. What a waste of time! So, question is, what is the plan? Is the plan to continue shipping Linux versions with no usable printing? Or is it to fix it, and if so by when? Peter From shani.runrev at gmail.com Wed Mar 31 10:43:53 2010 From: shani.runrev at gmail.com (Shani) Date: Wed, 31 Mar 2010 16:43:53 +0200 Subject: Screen Lock in Rev? Message-ID: i use put shell("batfile") into tProcess answer tProcess i use the stack which have text and add button. but the problem is that when i use this (put shell("batfile") into tProcess) it display the shell and Agent but the stack is locked i cant do any thing with this. i use unlock screen but it cant work. i use JADE agents to connect with Rev, so that?s why i use bat file. Regards, SHANI From ambassador at fourthworld.com Wed Mar 31 11:12:29 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 31 Mar 2010 08:12:29 -0700 Subject: Print Card is broken in Linux because of resolution dependence Message-ID: <4BB3665D.6020700@fourthworld.com> Good sleuthing. I would suggest you copy the bulk of that post to an RQCC bug report so those useful details aren't lost over time. At the current time none of the engines Rev makes are resolution-independent, even as all of the platforms they run on, from Vista to Snow Leopard and even iPhone, are all resolution-independent. I believe Kevin has stated publicly that an initiative to migrate the rendering subsystem to a resolution-independent model is in the works, but I do not have a timeline for such enhancements. It would seem reasonable that they would tackle this across all platforms at the same time, so I would not expect such a radical overhaul to be done sooner for Linux only. I agree that this is unfortunate because the problem is more pronounced in Gnome than on other platforms, but not for reasons of Rev's making as I noted earlier: Based on the widespread complaints of Gnome's rendering scheme and its uncommonly large controls even on displays running at the same resolution as other OSes, it seems the Gnome team has some work to do. Given that my earlier testing showed striking similarities between Rev's text rendering and Firefox's (both using a rendering scheme that assumes a fixed resolution, as noted in some of the Gnome bug report discussions), it may be worth repeating at least a few of your excellent tests with Firefox to see if they compensate for the difference. The upside for us Rev folk is that while it's a bit of work to change the Rev IDE, this issue should be completely compensatable in our own code with relative ease by just setting the size of things being printed to larger dimensions in your offscreen printing stack. One remaining challenge would be to update RevPrintField also, but one of the distinctions of the FOSS community is a willingness to dive into source to make changes as needed, and the source for RevPrintField is openly available. If one of the FOSS advocates on this list were to refine that code to work better on Linux I see no reason why a robust well-tested revision wouldn't be welcome by RunRev for inclusion in their IDE. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv ----------------------------------------------------------- Peter Alcibiades wrote: Print Card is broken in Linux. The problem is a general one with resolution dependence, and it is the same thing that makes the IDE unreadable on a larger screen. Here is what showed it. I used a 19 inch screen set to the normal resolution, and printed a card to cups-pd. I then also printed to a kyocera physical printer. I did this using the message box, changing the printerName between PDF and kyocera. Then I printed the pdf file generated by cups-pdf to the kyocera using kpdf. Both prints came out on paper correctly sized, and identical. I then changed the screen resolution to 800 x 600, and repeated the experiment. They both came out enlarged, so that the card did not fit on the page, but they were identical. It follows that cups-pdf and a real printer work identically in Rev. But print card works differently on both with the identical parameters if the resolution of the monitor changes. Conclusion: in Linux, if you change screen res, the identical scripts will no longer print cards in the same way. This is because the print card command is in some way tied to the resolution of the screen being used. The problem is nothing to do with Linux printing, print drivers, anything like that, its specific to Rev and how Rev has implemented the print card function. Its not the fault of Linux either, since no other app has this problem. Just as no other app has the Linux font problem. Since revPrintField is not properly usable in Linux for different reasons, this means that the current version of Rev for Linux does not support printing. The resolution dependence thing is also a real problem in regard to the IDE. On the 19 inch screen everything is fine, the dictionary is readable, the icons are about right. On my 22 inch screen at home, you need to use a magnifying glass to be able to read the dictionary which looks like its 4 point. So on my machine at home, basically I have unusable printing and an unreadable IDE. On the application site, the IDE is usable, but printing isn't. You see the problem this creates, when coupled with the lack of support for multiple desktops. You want readable fonts in the IDE, fine, you have all your different windows all overlapping one behind the other. You get a big screen, they don't overlap anymore, but now they are unreadable. Plan B is going to have to be used for printing. I had hoped to be able to hack it with cups-pdf, but from the above, this obviously does nothing to solve the problem. Plan B involves hacking around with awk after putting all the text into a text file to generate some kind of readable report. What a waste of time! So, question is, what is the plan? Is the plan to continue shipping Linux versions with no usable printing? Or is it to fix it, and if so by when? From andrew at rjdfarm.com Wed Mar 31 11:45:38 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Wed, 31 Mar 2010 07:45:38 -0800 (PST) Subject: Escaping Quotes? Message-ID: <1270050338647-1746959.post@n4.nabble.com> Hellos, I am attempting to issue a shell command that seems to need double quotes in it to run. How do I make a string in RunRev that allows double quotes? I cannot find simple mention of an escape caracter like "\". I need to do this: put "C:\Program Files\Visual CUT 11\Visual CUT.exe" -e "C:\Rev\FOM2\Lease Reports\All Leases\LeasePaymentsbyLeaseName.rpt" "Parm1:2010" into sCommand This does not work for obvious reasons. I tried converting all the double quotes to single quotes and wrapping it in double quotes but this did not work either. Halp? -- View this message in context: http://n4.nabble.com/Escaping-Quotes-tp1746959p1746959.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Wed Mar 31 11:49:49 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 31 Mar 2010 08:49:49 -0700 Subject: OT?: heavy weather near the Runrev office In-Reply-To: <90D92CFE-3DFD-4A38-B87D-7910DE05CDF7@azurevision.co.uk> References: <4BB33F98.5080106@gmail.com> <90D92CFE-3DFD-4A38-B87D-7910DE05CDF7@azurevision.co.uk> Message-ID: <1431412609.20100331084949@ahsoftware.net> Ian- Wednesday, March 31, 2010, 5:36:48 AM, you wrote: > If you remember, we were in the same NDA meeting, plus I was out Leith > way the next morning... ...we walked quite a ways along the Water of Leith a few days later and had absolutely gorgeous weather all day. When we went hiking in the Pentlands the next day the pouring rain was being driven sideways by strong winds. -- -Mark Wieder mwieder at ahsoftware.net From alex at tweedly.net Wed Mar 31 11:51:49 2010 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 31 Mar 2010 16:51:49 +0100 Subject: Identifying a certain Windows machine In-Reply-To: <4BB2CE74.5050707@hyperactivesw.com> References: <0743ED90-EBDC-43CB-ABFD-CA25A05B73B0@sweattechnologies.com> <727E3EEA-9952-4422-A4DB-EA637F265EF3@mac.com> <4BB20476.6050806@tweedly.net> <4BB2CE74.5050707@hyperactivesw.com> Message-ID: <4BB36F95.7040702@tweedly.net> J. Landman Gay wrote: > Alex Tweedly wrote: >> Joe F. wrote: >>> Wow- that is some answer. Thank you Monte. >>> >>> I was actually expecting something like "getSystemID" to be built >>> into Revtalk, but... >>> >>> You inspired me to make myself a script library. >> Note this approach works 99% of the time, but can go wrong (or at >> least be very confusing) if the user has installed any devices which >> have an in-built MAC address (e.g. a USB Wifi card, perhaps to get >> better reach than the in-built wifi gets, he says from experience >> :-). This may be the MAC address reported first, giving an "ID" >> which can later change. > > Monte's script looks at interface en0. Does your Wifi card register on > that one? > On OS X it looks at en0, but on Windows it does a search for "Physical address", so it uses the first one it happens to find (which is not always the LAN cards). -- Alex From DunbarX at aol.com Wed Mar 31 11:58:12 2010 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 31 Mar 2010 11:58:12 EDT Subject: Escaping Quotes? Message-ID: <5bc61.3667149d.38e4cb14@aol.com> Doesn't this work? answer quote & quote & "whatEver" & quote & quote Craig Newman From mwieder at ahsoftware.net Wed Mar 31 12:01:14 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 31 Mar 2010 09:01:14 -0700 Subject: Escaping Quotes? In-Reply-To: <1270050338647-1746959.post@n4.nabble.com> References: <1270050338647-1746959.post@n4.nabble.com> Message-ID: <1532097187.20100331090114@ahsoftware.net> Andrew- Wednesday, March 31, 2010, 8:45:38 AM, you wrote: > I need to do this: > put "C:\Program Files\Visual CUT 11\Visual CUT.exe" -e "C:\Rev\FOM2\Lease > Reports\All Leases\LeasePaymentsbyLeaseName.rpt" "Parm1:2010" into sCommand BZ #8517 is filed to request the use of single quotes in strings, but it's an enhancement request, so it's unlikely ever to get any attention. In the meantime, you can do (watch the wrapping) put quote & "C:\Program Files\Visual CUT 11\Visual CUT.exe" & quote \ && "-e" \ && quote & "C:\Rev\FOM2\Lease Reports\All Leases\LeasePaymentsbyLeaseName.rpt" & quote \ && "Parm1:2010" into sCommand -- -Mark Wieder mwieder at ahsoftware.net From andrew at rjdfarm.com Wed Mar 31 12:06:47 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Wed, 31 Mar 2010 08:06:47 -0800 (PST) Subject: Escaping Quotes? In-Reply-To: <5bc61.3667149d.38e4cb14@aol.com> References: <1270050338647-1746959.post@n4.nabble.com> <5bc61.3667149d.38e4cb14@aol.com> Message-ID: <1270051607751-1746988.post@n4.nabble.com> Nope, quotes appear fine in the string but when put to a shell like this put shell(sCommand) the shell gets it without quotes. hmm. -- View this message in context: http://n4.nabble.com/Escaping-Quotes-tp1746959p1746988.html Sent from the Revolution - User mailing list archive at Nabble.com. From andrew at rjdfarm.com Wed Mar 31 12:36:46 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Wed, 31 Mar 2010 08:36:46 -0800 (PST) Subject: Escaping Quotes? In-Reply-To: <1270051607751-1746988.post@n4.nabble.com> References: <1270050338647-1746959.post@n4.nabble.com> <5bc61.3667149d.38e4cb14@aol.com> <1270051607751-1746988.post@n4.nabble.com> Message-ID: <1270053406940-1747024.post@n4.nabble.com> I tried what is recommended in this post http://n4.nabble.com/put-shell-and-escaping-quotes-how-to-do-this-td991042.html#a991074 but the shell still ends up getting it with no quotes and effectively breaking it. put quote & "C:\Program Files\Visual CUT 11\Visual CUT.exe" & quote & " -e" into vcPath put quote & "C:\Rev\FOM2\Lease Reports\All Leases\LeasePaymentsbyLeaseName.rpt" & quote into sReportName put quote & "Parm1:2010" & quote into sParams put "[[vcPath]] [[sReportName]] [[sParams]]" into sCommand put shell( merge(sCommand) ) This outputs the same message from the console that I would get if I put it straight in with no quotes: 'C:\Program' is not recognized as an internal or external command, operable program or batch file. -- View this message in context: http://n4.nabble.com/Escaping-Quotes-tp1746959p1747024.html Sent from the Revolution - User mailing list archive at Nabble.com. From andrew at rjdfarm.com Wed Mar 31 13:00:53 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Wed, 31 Mar 2010 09:00:53 -0800 (PST) Subject: Escaping Quotes? In-Reply-To: <1270053406940-1747024.post@n4.nabble.com> References: <1270050338647-1746959.post@n4.nabble.com> <5bc61.3667149d.38e4cb14@aol.com> <1270051607751-1746988.post@n4.nabble.com> <1270053406940-1747024.post@n4.nabble.com> Message-ID: <1270054853258-1747055.post@n4.nabble.com> I found a temporary work around until I find a real solution. If I save the command string to a .bat file and then use put shell(.bat file) it works like it should. -- View this message in context: http://n4.nabble.com/Escaping-Quotes-tp1746959p1747055.html Sent from the Revolution - User mailing list archive at Nabble.com. From palcibiades-first at yahoo.co.uk Wed Mar 31 13:04:42 2010 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Wed, 31 Mar 2010 09:04:42 -0800 (PST) Subject: Print Card is broken in Linux because of resolution dependence In-Reply-To: <4BB3665D.6020700@fourthworld.com> References: <201003311534.02385.palcibiades-first@yahoo.co.uk> <4BB3665D.6020700@fourthworld.com> Message-ID: <1270055082889-1747058.post@n4.nabble.com> I don't agree that you have to fix resolution independence to fix this one. Consider the case of open office. If you print a 12 point times document, it prints the same regardless of your screen resolution. Consider GIMP. You print a graphic with a certain pixel dimension, it comes out the same on paper regardless of how large or small it was on screen due to your screen resolution. The problem Rev has is that it is somehow using the screen layout to set the print size. This is what its doing wrong and what it is unique in doing. It can and should fix print card without fixing resolution independence. Then, there are two things it can do to fix the IDE display, also without having to fix resolution independence. The first is, make the dictionary display in a browser. This way you can enlarge the font at will. The second thing is to do what open office does to the menu bars, just have three sizes and have people pick one. Which, I would think, you probably should do anyway to comply with disability provisions, if you want to sell into state institutions, which in Britain includes most schools. I also do not think this is a Gnome issue. I almost never use Gnome. But the problem is identical in Fluxbox or WMII or KDE. This is a Linux problem, not a DTE problem, and its a printing problem, not a display problem, and it comes from doing print card as a sort of screen capture, instead of some 'real printing', whatever that would be, like the other Linux apps do.. Where is the source code for revPrintField? I'll take a look at it. Its probably way beyond my intellectual energies at this point, but you never know. It can't be worse than what I am ending up committed to doing in awk.... -- View this message in context: http://n4.nabble.com/Print-Card-is-broken-in-Linux-because-of-resolution-dependence-tp1746852p1747058.html Sent from the Revolution - User mailing list archive at Nabble.com. From Roger.E.Eller at sealedair.com Wed Mar 31 13:18:34 2010 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed, 31 Mar 2010 13:18:34 -0400 Subject: Screen Lock in Rev? In-Reply-To: Message-ID: On 03/31/2010 at 10:44 AM, Shani wrote: > i use put shell("batfile") into tProcess > answer tProcess > > i use the stack which have text and add button. but the problem is that > when i use this (put shell("batfile") into tProcess) it display the shell > and Agent but the stack is locked i cant do any thing with this. > > i use > unlock screen > but it cant work. > > i use JADE agents to connect with Rev, so that?s why i use bat file. > > Regards, > SHANI You need to: set the hideConsoleWindows to true This will cause the command prompt window to not appear when you use a - put shell("command"). -- Roger Eller From ambassador at fourthworld.com Wed Mar 31 14:17:24 2010 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 31 Mar 2010 11:17:24 -0700 Subject: Print Card is broken in Linux because of resolution dependence Message-ID: <4BB391B4.8050300@fourthworld.com> Peter Alcibiades wrote: > I don't agree that you have to fix resolution independence to fix this one. > > Consider the case of open office. If you print a 12 point times document, > it prints the same regardless of your screen resolution. Consider GIMP. You > print a graphic with a certain pixel dimension, it comes out the same on > paper regardless of how large or small it was on screen due to your screen > resolution. The problem Rev has is that it is somehow using the screen > layout to set the print size. This is what its doing wrong and what it is > unique in doing. > > It can and should fix print card without fixing resolution independence. It may be that there's an issue with how Rev interfaces with print drivers on Linux, and that's more more reason your valuable notes should be posted to the RQCC. It may also be worth noting this line from the old MetaCard Read Me: MetaCard is very good at exposing bugs in print drivers. While the wording may seem arrogant, and it may not be relevant in this case, in my experience on Windows I've found 99+% of my print issues resolved my making sure my customers are using the most recent build of whatever driver they're having an issue with. This may not be relevant in your case, but it seems worth double-checking if only to rule out a possible cause. Given that the Rev engine was born on Unix and lived there for many years exclusively before being ported to Windows and eventually to Mac OS, I suspect any issues with display or printing are unique to the more recent addition of GTK support. While undesirable for shipping products, I wonder if it may be helpful for diagnostics to set the lookAndFeel to "Motif", hopefully decoupling the engine's rendering from its default use of GTK and thereby reverting to its original rendering scheme. Whether or not this improves your printed output, it would be good to include those results with your RQCC submission, as it will likely help narrow down the search for the root cause. > Then, there are two things it can do to fix the IDE display, also without > having to fix resolution independence. The first is, make the dictionary > display in a browser. This way you can enlarge the font at will. Done: > Where is the source code for revPrintField? I'll take a look at it. Its > probably way beyond my intellectual energies at this point, but you never > know. It can't be worse than what I am ending up committed to doing in > awk.... The source for RevPrint field and its related functions and commands is in a backscript from a button named "revPrintBack" in group "revLibraries" of stack "revLibrary.rev". The code there seems a bit convoluted at first because it's fairly well factored, making use of about three dozen other handlers to do what it needs to do. But I think you could start by altering the code in the revSetPrintFont command to set the print stack's default text size, and then hunt for the place where the text is put into the field for printing to adjust its htmlText before going to the printer. Mark Smith, Dick Kreisel, and Malte Brill all tossed around some valuable code for increasing and decreasing the textSize of field contents - here's what I recall being the fastest and most complete of the series, by Malte: -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From jacque at hyperactivesw.com Wed Mar 31 14:29:14 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 31 Mar 2010 13:29:14 -0500 Subject: Identifying a certain Windows machine In-Reply-To: <4BB36F95.7040702@tweedly.net> References: <0743ED90-EBDC-43CB-ABFD-CA25A05B73B0@sweattechnologies.com> <727E3EEA-9952-4422-A4DB-EA637F265EF3@mac.com> <4BB20476.6050806@tweedly.net> <4BB2CE74.5050707@hyperactivesw.com> <4BB36F95.7040702@tweedly.net> Message-ID: <4BB3947A.3090504@hyperactivesw.com> Alex Tweedly wrote: > J. Landman Gay wrote: >> Monte's script looks at interface en0. Does your Wifi card register on >> that one? >> > On OS X it looks at en0, but on Windows it does a search for "Physical > address", so it uses the first one it happens to find (which is not > always the LAN cards). Oh. Windows, right. Sorry, I forget about you guys sometimes. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Mar 31 14:32:20 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 31 Mar 2010 13:32:20 -0500 Subject: OT?: heavy weather near the Runrev office In-Reply-To: <4BB3450A.9060105@gmail.com> References: <4BB33F98.5080106@gmail.com> <90D92CFE-3DFD-4A38-B87D-7910DE05CDF7@azurevision.co.uk> <4BB3450A.9060105@gmail.com> Message-ID: <4BB39534.2060505@hyperactivesw.com> Richmond Mathewson wrote: > > I do remember: but, unlike myself, you had had the foresight to pack > a raincoat before you went: You went to Edinburgh without a raincoat? What were you thinking? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Wed Mar 31 14:40:23 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 31 Mar 2010 21:40:23 +0300 Subject: OT?: heavy weather near the Runrev office In-Reply-To: <4BB39534.2060505@hyperactivesw.com> References: <4BB33F98.5080106@gmail.com> <90D92CFE-3DFD-4A38-B87D-7910DE05CDF7@azurevision.co.uk> <4BB3450A.9060105@gmail.com> <4BB39534.2060505@hyperactivesw.com> Message-ID: <4BB39717.8070609@gmail.com> On 31/03/2010 21:32, J. Landman Gay wrote: > Richmond Mathewson wrote: >> >> I do remember: but, unlike myself, you had had the foresight to pack >> a raincoat before you went: > > You went to Edinburgh without a raincoat? What were you thinking? > I was thinking "I'm a Scot from north of the Highland Line" . . . :) And, while the rain was heavy is was fair douce so I did not contract a chill; after all, it was September, not January. What I had overlooked was, that while I may be a Scot from north of the Highland Line, many years in Arabia, the North American Colonies, and the Levant have thinned my blood. Next time I am in Edinburgh at the end of August I shall make sure I wear a thicker tweed jacket and have a tammy handy! A raincoat; heaven forfend! From andrew at rjdfarm.com Wed Mar 31 14:41:24 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Wed, 31 Mar 2010 10:41:24 -0800 (PST) Subject: Hanlding Hilite Message-ID: <1270060884103-1747187.post@n4.nabble.com> Is there a way to handle when the hilite is changed for a scrolling list field? I have a scrolling list field with non-contiguous hilite. You click on a line in the list to toggle its hilite on or off. Whenever a hilite is changed in that box, I want to collect what is hilited. on hiliteChanged put the hilitedLines of fld "CropYears" into tLines repeat for each item xline in tLines put line xline of fld "CropYears" & ":::" after sYearList end repeat put "*" after sYearList replace ":::*" with empty in sYearList answer sYearList end hiliteChanged This would produce a variable (sYearList) that looks like this (with 3 years selected): "2009:::2010:::2011" I want to produce this whenever the hilited years are modified. I have not found any information on handling the change of a hilite in a scrolling list field. This would seem like a pretty standard feature, no? -- View this message in context: http://n4.nabble.com/Hanlding-Hilite-tp1747187p1747187.html Sent from the Revolution - User mailing list archive at Nabble.com. From klaus at major.on-rev.com Wed Mar 31 14:50:02 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 31 Mar 2010 20:50:02 +0200 Subject: Hanlding Hilite In-Reply-To: <1270060884103-1747187.post@n4.nabble.com> References: <1270060884103-1747187.post@n4.nabble.com> Message-ID: <3143A2FB-6C8A-48C7-AD86-5659C547CD0D@major.on-rev.com> Hi Andrew, > > Is there a way to handle when the hilite is changed for a scrolling list > field? > > I have a scrolling list field with non-contiguous hilite. You click on a > line in the list to toggle its hilite on or off. > > Whenever a hilite is changed in that box, I want to collect what is hilited. > > on hiliteChanged > > put the hilitedLines of fld "CropYears" into tLines > repeat for each item xline in tLines > put line xline of fld "CropYears" & ":::" after sYearList > end repeat > put "*" after sYearList > replace ":::*" with empty in sYearList > answer sYearList > > end hiliteChanged > > This would produce a variable (sYearList) that looks like this (with 3 years > selected): > > "2009:::2010:::2011" > > I want to produce this whenever the hilited years are modified. > > I have not found any information on handling the change of a hilite in a > scrolling list field. > > This would seem like a pretty standard feature, no? Use "on selectionchanged" in the script of the field! And you can speed things up a bit with using "the selectedtext of fld xyz" This will give you a CR separated list of the TEXt of the selected lines :-) Like this, I dared to shorten it a bit ;-) on selectionchanged put the selectedtext of fld "CropYears" into sYearList replace CR with ":::" in sYearList answer sYearList end hiliteChanged Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From andre at andregarzia.com Wed Mar 31 14:51:02 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 31 Mar 2010 15:51:02 -0300 Subject: OT?: heavy weather near the Runrev office In-Reply-To: <4BB39717.8070609@gmail.com> References: <4BB33F98.5080106@gmail.com> <90D92CFE-3DFD-4A38-B87D-7910DE05CDF7@azurevision.co.uk> <4BB3450A.9060105@gmail.com> <4BB39534.2060505@hyperactivesw.com> <4BB39717.8070609@gmail.com> Message-ID: I am Brazilian, mom and pop would be ashamed if I wore a raincoat during scottish tiny rain! Yesterday, it rained so much and so heavy in here that the drops were the size of oranges, okay, not oranges but at least acerolas or pitangas. Still many cars floating, landslides. My city appears to be sinking, soon we will call it the south american veneza or something... On Wed, Mar 31, 2010 at 3:40 PM, Richmond Mathewson < richmondmathewson at gmail.com> wrote: > On 31/03/2010 21:32, J. Landman Gay wrote: > >> Richmond Mathewson wrote: >> >>> >>> I do remember: but, unlike myself, you had had the foresight to pack >>> a raincoat before you went: >>> >> >> You went to Edinburgh without a raincoat? What were you thinking? >> >> I was thinking "I'm a Scot from north of the Highland Line" . . . :) > > And, while the rain was heavy is was fair douce so I did not contract a > chill; > after all, it was September, not January. > > What I had overlooked was, that while I may be a Scot from north of the > Highland > Line, many years in Arabia, the North American Colonies, and the Levant > have > thinned my blood. > > Next time I am in Edinburgh at the end of August I shall make sure I wear a > thicker > tweed jacket and have a tammy handy! A raincoat; heaven forfend! > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From andrew at rjdfarm.com Wed Mar 31 14:54:30 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Wed, 31 Mar 2010 10:54:30 -0800 (PST) Subject: Hanlding Hilite In-Reply-To: <3143A2FB-6C8A-48C7-AD86-5659C547CD0D@major.on-rev.com> References: <1270060884103-1747187.post@n4.nabble.com> <3143A2FB-6C8A-48C7-AD86-5659C547CD0D@major.on-rev.com> Message-ID: <1270061670563-1747213.post@n4.nabble.com> on selectionChanged Ahh, this is why I couldn't find it in the dictionary. I was looking for anything to do with hilite. -- View this message in context: http://n4.nabble.com/Hanlding-Hilite-tp1747187p1747213.html Sent from the Revolution - User mailing list archive at Nabble.com. From toncardona at mac.com Wed Mar 31 14:58:16 2010 From: toncardona at mac.com (Ton Cardona) Date: Wed, 31 Mar 2010 20:58:16 +0200 Subject: Drag&Drop in revlets Message-ID: <6B0AB478-C2BF-4FF2-AA5B-B1085C72029B@mac.com> Will it be possible to implement drag&drop features in revlets in a near future? Thanks in advance for your inputs, Ton Cardona From richmondmathewson at gmail.com Wed Mar 31 15:22:59 2010 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 31 Mar 2010 22:22:59 +0300 Subject: OT?: heavy weather near the Runrev office In-Reply-To: References: <4BB33F98.5080106@gmail.com> <90D92CFE-3DFD-4A38-B87D-7910DE05CDF7@azurevision.co.uk> <4BB3450A.9060105@gmail.com> <4BB39534.2060505@hyperactivesw.com> <4BB39717.8070609@gmail.com> Message-ID: <4BB3A113.1090000@gmail.com> On 31/03/2010 21:51, Andre Garzia wrote: > I am Brazilian, mom and pop would be ashamed if I wore a raincoat during > scottish tiny rain! Yesterday, it rained so much and so heavy in here that > the drops were the size of oranges, okay, not oranges but at least acerolas > or pitangas. Still many cars floating, landslides. My city appears to be > sinking, soon we will call it the south american veneza or something... > Bravo, Andre! Here in Bulgaria, in the summer, we have thunderstorms that wash villages away; so Scots rain is fairly feeble by comparison. However; neither in Scotland nor in Bulgaria do we have ACEROLAS ir PITANGAS; Please tell us what they are (preferably with URLs to photographs of these things). From zryip.theslug at gmail.com Wed Mar 31 15:25:45 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 31 Mar 2010 21:25:45 +0200 Subject: Escaping Quotes? In-Reply-To: <1270053406940-1747024.post@n4.nabble.com> References: <1270050338647-1746959.post@n4.nabble.com> <5bc61.3667149d.38e4cb14@aol.com> <1270051607751-1746988.post@n4.nabble.com> <1270053406940-1747024.post@n4.nabble.com> Message-ID: 2010/3/31 Andrew Kluthe : > > I tried what is recommended in this post > > http://n4.nabble.com/put-shell-and-escaping-quotes-how-to-do-this-td991042.html#a991074 > > but the shell still ends up getting it with no quotes and effectively > breaking it. > > put quote & "C:\Program Files\Visual CUT 11\Visual CUT.exe" & quote & " -e" > into vcPath > > put quote & "C:\Rev\FOM2\Lease Reports\All > Leases\LeasePaymentsbyLeaseName.rpt" & quote into sReportName > > put quote & "Parm1:2010" & quote into sParams > > put "[[vcPath]] [[sReportName]] [[sParams]]" into sCommand > put shell( merge(sCommand) ) > > > This outputs the same message from the console that I would get if I put it > straight in with no quotes: > > 'C:\Program' is not recognized as an internal or external command, > operable program or batch file. > -- This code works fine for me to open a pdf with acrobat: put shell(quote"e&"C:\Program Files\Adobe\Acrobat 5.0\Reader\AcroRd32.exe" "e&"e&"C:\Program Files\Revolution Enterprise\4.0.0-gm-1\Documentation \pdf\First Stack - Part One.pdf""e"e) Note that I double the quote at start and end of the string. If I transpose this test to your case I obtain: put quote&"C:\Program Files\Visual CUT 11\Visual CUT.exe""e&&"-e"&"e&"C:\Rev\FOM2\Lease Reports\All Leases\LeasePaymentsbyLeaseName.rpt""e&"e&"Parm1:2010""e into sCommand put shell(quote&sCommand"e) How this code works for you? For me it returns "The system cannot find the path specified.". Not really odds because Crystal Report is not installed on my PC. ;) Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From shani.runrev at gmail.com Wed Mar 31 15:29:49 2010 From: shani.runrev at gmail.com (Shani) Date: Wed, 31 Mar 2010 21:29:49 +0200 Subject: Screen Lock in Rev? In-Reply-To: References: Message-ID: Hi Roger, i do this but same problem.screen locked. on mouseUp local tProcess, sHost put shell("booktrade") into tProcess set the hideConsoleWindows to true --unlock screen accept connections on port 6800 with message "Server connected" end mouseUp command closeSocket put tProcess into sHost close socket sHost return "Socket has been closed." end closeSocket Regards, SHANI On Wed, Mar 31, 2010 at 7:18 PM, wrote: > On 03/31/2010 at 10:44 AM, Shani wrote: > > i use put shell("batfile") into tProcess > > answer tProcess > > > > i use the stack which have text and add button. but the problem is that > > when i use this (put shell("batfile") into tProcess) it display the > shell > > and Agent but the stack is locked i cant do any thing with this. > > > > i use > > unlock screen > > but it cant work. > > > > i use JADE agents to connect with Rev, so that?s why i use bat file. > > > > Regards, > > SHANI > > You need to: > set the hideConsoleWindows to true > > This will cause the command prompt window to not appear when you use a - > put shell("command"). > > -- > Roger Eller > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From Roger.E.Eller at sealedair.com Wed Mar 31 15:40:32 2010 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed, 31 Mar 2010 15:40:32 -0400 Subject: Screen Lock in Rev? In-Reply-To: Message-ID: > Hi Roger, > > i do this but same problem.screen locked. > on mouseUp > local tProcess, sHost > > put shell("booktrade") into tProcess > set the hideConsoleWindows to true > --unlock screen > accept connections on port 6800 with message "Server connected" > end mouseUp > > command closeSocket > put tProcess into sHost > close socket sHost > return "Socket has been closed." > end closeSocket > > Regards, > SHANI Shani, If you mean the screen is frozen, stalled, not moving, etc. then maybe you can add "without waiting". set the hideConsoleWindows to true -- do this step before shell command put shell("booktrade") into tProcess without waiting Roger Eller From klaus at major.on-rev.com Wed Mar 31 15:41:12 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 31 Mar 2010 21:41:12 +0200 Subject: Screen Lock in Rev? In-Reply-To: References: Message-ID: <06DBB5E4-CEBE-45C8-A469-92B0026B5EC0@major.on-rev.com> Hi Shani, > Hi Roger, > > i do this but same problem.screen locked. you used the wrong order of the commands! > on mouseUp > local tProcess, sHost set the hideConsoleWindows to true > > put shell("booktrade") into tProcess > accept connections on port 6800 with message "Server connected" > end mouseUp > > command closeSocket > put tProcess into sHost > close socket sHost > return "Socket has been closed." > end closeSocket > > Regards, > SHANI Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From andre at andregarzia.com Wed Mar 31 15:43:30 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 31 Mar 2010 16:43:30 -0300 Subject: OT?: heavy weather near the Runrev office In-Reply-To: <4BB3A113.1090000@gmail.com> References: <4BB33F98.5080106@gmail.com> <90D92CFE-3DFD-4A38-B87D-7910DE05CDF7@azurevision.co.uk> <4BB3450A.9060105@gmail.com> <4BB39534.2060505@hyperactivesw.com> <4BB39717.8070609@gmail.com> <4BB3A113.1090000@gmail.com> Message-ID: Richmond, This is Pitanga: http://en.wikipedia.org/wiki/Surinam_Cherry (Surinam Cherry, how do you foreigners come with those silly names!?) This is Acerola: http://en.wikipedia.org/wiki/Acerola (Barbaros Cherry?!!??! Why must english speaking people always name fruits like something-cherry or something-apple?!) By the way a tiny Acerola contains 32 times the Vitamin C of a single orange... I used to have both trees in my garden, next to the pool, so the fruits would fall on water and not get damaged, also the chloride in the pool (is this how you call it?) would really clean them... :D On Wed, Mar 31, 2010 at 4:22 PM, Richmond Mathewson < richmondmathewson at gmail.com> wrote: > On 31/03/2010 21:51, Andre Garzia wrote: > >> I am Brazilian, mom and pop would be ashamed if I wore a raincoat during >> scottish tiny rain! Yesterday, it rained so much and so heavy in here that >> the drops were the size of oranges, okay, not oranges but at least >> acerolas >> or pitangas. Still many cars floating, landslides. My city appears to be >> sinking, soon we will call it the south american veneza or something... >> >> Bravo, Andre! > > Here in Bulgaria, in the summer, we have thunderstorms that wash > villages away; so Scots rain is fairly feeble by comparison. > > However; neither in Scotland nor in Bulgaria do we have ACEROLAS ir > PITANGAS; Please tell us what they are (preferably with URLs to > photographs of these things). > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From johnpatten at mac.com Wed Mar 31 15:45:13 2010 From: johnpatten at mac.com (John Patten) Date: Wed, 31 Mar 2010 12:45:13 -0700 Subject: DataGrid Forms, checkboxes and Pull-Down buttons - Solved Message-ID: Thanks Again Trevor! I have it working now. I shared it on revOnline, DataGrids_CheckBoxes_and MenuOptions. The following is the specifics of what I did: Option Menu Button Column Behavior- on FillInData pData --set the text of field 1 of me to pData -- Lock messages so that menuPick isn't fired when setting the menuHistory lock messages set the menuhistory of button 1 of me to lineOffset(pData, the text of button 1 of me) unlock messages end FillInData getProp dgDataControl --required by library so that it can locate your control. return the long id of me end dgDataControl on menuPick pChosenItem setDataOfIndex the dgIndex of me, the dgColumn of me, pChosenItem end menuPick ---------------- Checkbox Button Column Behavior- getProp dgDataControl return the long id of me end dgDataControl on mouseDown pMouseBtnNum dgMouseDown pMouseBtnNum setDataOfIndex the dgHilitedIndexes of me, the dgColumn of the target, (the hilited of target) end mouseDown Thanks! John Patten ---------------------snip-------------------------- Message: 3 Date: Wed, 31 Mar 2010 09:28:36 -0400 From: Trevor DeVore Subject: Re: DataGrid Forms, checkboxes and Pull-Down buttons? To: How to use Revolution Message-ID: <1C56FFC2-A6A8-417F-93E6-92F83D36E032 at mangomultimedia.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes On Mar 30, 2010, at 1:43 PM, John Patten wrote: > I have been searching the list and found those same resources you > describe. I'm closer, but still not quite getting the concept. I > noticed that tutorial examples are using Table and not Form > DataGrids. I have been using the Form version of the DataGrid, are > the examples you mention only workable when the DataGrid is a Table > style? Yes, the example will work with a form. These are the steps you will go through when working with the data in your data grid: 1) Assign data to data grid. Data grid stores internal array. 2) The FillInData handler in the row template inserts data from array into UI controls. 3) User interacts with UI control (clicks on checkbox, makes selection using option menu) 4) You store result of user interaction back in data grid array. 5) You ask the data grid for the value of the array using the dgDataOfIndex/dgDataOfLine or GetDataOfIndex/GetDataOfLine. At which point are you getting stuck? From shani.runrev at gmail.com Wed Mar 31 15:52:30 2010 From: shani.runrev at gmail.com (Shani) Date: Wed, 31 Mar 2010 21:52:30 +0200 Subject: Screen Lock in Rev? In-Reply-To: References: Message-ID: this put shell("booktrade") into tProcess without waiting is not working now i use this process shell dispaly but suddenly disappear but not shows any agent. Regards, SHANI On Wed, Mar 31, 2010 at 9:40 PM, wrote: > > Hi Roger, > > > > i do this but same problem.screen locked. > > on mouseUp > > local tProcess, sHost > > > > put shell("booktrade") into tProcess > > set the hideConsoleWindows to true > > --unlock screen > > accept connections on port 6800 with message "Server connected" > > end mouseUp > > > > command closeSocket > > put tProcess into sHost > > close socket sHost > > return "Socket has been closed." > > end closeSocket > > > > Regards, > > SHANI > > Shani, > > If you mean the screen is frozen, stalled, not moving, etc. then maybe you > can add "without waiting". > > set the hideConsoleWindows to true -- do this step before shell command > put shell("booktrade") into tProcess without waiting > > Roger Eller > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From Roger.E.Eller at sealedair.com Wed Mar 31 16:06:39 2010 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed, 31 Mar 2010 16:06:39 -0400 Subject: Screen Lock in Rev? In-Reply-To: Message-ID: http://docs.runrev.com/Function/shell FROM THE DOCS: "Tip: If you are having problems with the shellfunction, try executing the commandLine at your operating system's shell prompt. (For example, on an OS X system, try executing the commandLine in the Terminal window.) If a commandLine does not work at the shell prompt, it won't work with the shellfunction either, so trying this can be useful when debugging." http://docs.runrev.com/Keyword/without From bobs at twft.com Wed Mar 31 16:11:06 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 31 Mar 2010 13:11:06 -0700 Subject: OT?: heavy weather near the Runrev office In-Reply-To: <4BB39534.2060505@hyperactivesw.com> References: <4BB33F98.5080106@gmail.com> <90D92CFE-3DFD-4A38-B87D-7910DE05CDF7@azurevision.co.uk> <4BB3450A.9060105@gmail.com> <4BB39534.2060505@hyperactivesw.com> Message-ID: <2C622ACB-D933-4EB7-B651-094E171E23E7@twft.com> He must've wanted to stand out... as in Out In The Rain! Bob On Mar 31, 2010, at 11:32 AM, J. Landman Gay wrote: > Richmond Mathewson wrote: >> I do remember: but, unlike myself, you had had the foresight to pack >> a raincoat before you went: > > You went to Edinburgh without a raincoat? What were you thinking? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Wed Mar 31 16:14:13 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 31 Mar 2010 13:14:13 -0700 Subject: OT?: heavy weather near the Runrev office In-Reply-To: References: <4BB33F98.5080106@gmail.com> <90D92CFE-3DFD-4A38-B87D-7910DE05CDF7@azurevision.co.uk> <4BB3450A.9060105@gmail.com> <4BB39534.2060505@hyperactivesw.com> <4BB39717.8070609@gmail.com> <4BB3A113.1090000@gmail.com> Message-ID: <11E75C28-0575-4407-974E-198DF2DCE9D1@twft.com> Because we have ruled the known world for the better part of a century, and we can? Was that a trick question? ;-0 Bob On Mar 31, 2010, at 12:43 PM, Andre Garzia wrote: > This is Acerola: http://en.wikipedia.org/wiki/Acerola (Barbaros Cherry?!!??! > Why must english speaking people always name fruits like something-cherry or > something-apple?!) From shani.runrev at gmail.com Wed Mar 31 16:18:44 2010 From: shani.runrev at gmail.com (Shani) Date: Wed, 31 Mar 2010 22:18:44 +0200 Subject: Screen Lock in Rev? In-Reply-To: References: Message-ID: thanks i will read it and if again any problem then i reply. Thanks again Regards, SHANI On Wed, Mar 31, 2010 at 10:06 PM, wrote: > > http://docs.runrev.com/Function/shell > > FROM THE DOCS: > "Tip: If you are having problems with the shellfunction, try executing the > commandLine at your operating system's shell prompt. (For example, on an OS > X system, try executing the commandLine in the Terminal window.) If a > commandLine does not work at the shell prompt, it won't work with the > shellfunction either, so trying this can be useful when debugging." > > http://docs.runrev.com/Keyword/without > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From andre at andregarzia.com Wed Mar 31 16:45:57 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 31 Mar 2010 17:45:57 -0300 Subject: OT?: heavy weather near the Runrev office In-Reply-To: <11E75C28-0575-4407-974E-198DF2DCE9D1@twft.com> References: <4BB33F98.5080106@gmail.com> <90D92CFE-3DFD-4A38-B87D-7910DE05CDF7@azurevision.co.uk> <4BB3450A.9060105@gmail.com> <4BB39534.2060505@hyperactivesw.com> <4BB39717.8070609@gmail.com> <4BB3A113.1090000@gmail.com> <11E75C28-0575-4407-974E-198DF2DCE9D1@twft.com> Message-ID: As a matter of fact Brazil is till today an quite unruly country... Now, if I understand correctly from my small english language experience, you name fruits like this: if it is really small or has little seeds all over it, then, it is named somethingberry if it is bigger than somethingberry or has not enough seeds around it, then, it is named somthingcherry if it is bigger then somethingcherry and you can throw at those silly guys that try to rule you, then it is named somethingapple. Now, if we bring it to the IT world, we could have named our disk space units like this: bytes berrybytes cherrybytes applebytes as the capacity increates till we reach: mellonbytes (as I've gathered that anything bigger than somethingapple must be a somethingmellon) On Wed, Mar 31, 2010 at 5:14 PM, Bob Sneidar wrote: > Because we have ruled the known world for the better part of a century, and > we can? Was that a trick question? ;-0 > > Bob > > > On Mar 31, 2010, at 12:43 PM, Andre Garzia wrote: > > > This is Acerola: http://en.wikipedia.org/wiki/Acerola (Barbaros > Cherry?!!??! > > Why must english speaking people always name fruits like something-cherry > or > > something-apple?!) > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Wed Mar 31 16:48:52 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 31 Mar 2010 17:48:52 -0300 Subject: Escaping Quotes? In-Reply-To: References: <1270050338647-1746959.post@n4.nabble.com> <5bc61.3667149d.38e4cb14@aol.com> <1270051607751-1746988.post@n4.nabble.com> <1270053406940-1747024.post@n4.nabble.com> Message-ID: Folks, format() is your friend. put format("\"C:\Program Files\Visual CUT 11\Visual CUT.exe\" -e \"C:\Rev\FOM2\LeaseReports\All Leases\LeasePaymentsbyLeaseName.rpt\" \"Parm1:2010\" ") into tCmd format will accept quotes in it as long as they are escaped like \" Cheers andre On Wed, Mar 31, 2010 at 4:25 PM, zryip theSlug wrote: > 2010/3/31 Andrew Kluthe : > > > > I tried what is recommended in this post > > > > > http://n4.nabble.com/put-shell-and-escaping-quotes-how-to-do-this-td991042.html#a991074 > > > > but the shell still ends up getting it with no quotes and effectively > > breaking it. > > > > put quote & "C:\Program Files\Visual CUT 11\Visual CUT.exe" & quote & " > -e" > > into vcPath > > > > put quote & "C:\Rev\FOM2\Lease Reports\All > > Leases\LeasePaymentsbyLeaseName.rpt" & quote into sReportName > > > > put quote & "Parm1:2010" & quote into sParams > > > > put "[[vcPath]] [[sReportName]] [[sParams]]" into sCommand > > put shell( merge(sCommand) ) > > > > > > This outputs the same message from the console that I would get if I put > it > > straight in with no quotes: > > > > 'C:\Program' is not recognized as an internal or external command, > > operable program or batch file. > > -- > > This code works fine for me to open a pdf with acrobat: > > put shell(quote"e&"C:\Program Files\Adobe\Acrobat > 5.0\Reader\AcroRd32.exe" > "e&"e&"C:\Program Files\Revolution > Enterprise\4.0.0-gm-1\Documentation > \pdf\First Stack - Part One.pdf""e"e) > > Note that I double the quote at start and end of the string. > > If I transpose this test to your case I obtain: > > put quote&"C:\Program Files\Visual CUT 11\Visual > CUT.exe""e&&"-e"&"e&"C:\Rev\FOM2\Lease > Reports\All > Leases\LeasePaymentsbyLeaseName.rpt""e&"e&"Parm1:2010""e > into sCommand > put shell(quote&sCommand"e) > > How this code works for you? > > For me it returns "The system cannot find the path specified.". Not > really odds because Crystal Report is not installed on my PC. ;) > > Regards, > > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From devin_asay at byu.edu Wed Mar 31 16:53:25 2010 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 31 Mar 2010 14:53:25 -0600 Subject: Cross-Platform encoding issues In-Reply-To: <2B8F277D-C51D-4115-8B29-62D1296D5469@gmail.com> References: <2B8F277D-C51D-4115-8B29-62D1296D5469@gmail.com> Message-ID: <6CA7750D-A28D-4B2E-AB66-F2396FAA3E58@byu.edu> On Mar 31, 2010, at 6:30 AM, Jacopo Lupi wrote: > Hi all, > > I'm building a cross-platform application based on an postgresql > database. > > The postgresql database encoding is "utf8". The revclient sets the > "client_encoding" of the postgres session to "latin9" and if it is > running on mac it translates the data with "mactoiso" or "isotomac" > functions. I need to set the postgres "client_encoding" to "latin9" > otherwise I can't retrive text with accents correctly on the > macplatform. > > Everything seems to work fine exept for the euro symbol. I can find > no way to type the euro symbol in mac and make it readable under > windows and viceversa. Yes, the html entity for the Euro symbol is problematic and inconsistent between mac and windows. But this works on both Mac and Windows (beware word wrap): set the unicodeText of fld "test" to uniencode((numToChar(226) & numToChar(130) & numToChar(172)),"utf8") > > Does anybody know a correct implementation to make the euro symbol > working in the correct way storing data on a sql database? So as long as you store the characters sequence corresponding to ascii 226, 130, and 172 in your database you should be able to render them successfully. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From revlist at azurevision.co.uk Wed Mar 31 17:06:10 2010 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 31 Mar 2010 22:06:10 +0100 Subject: OT?: heavy weather near the Runrev office In-Reply-To: References: <4BB33F98.5080106@gmail.com> <90D92CFE-3DFD-4A38-B87D-7910DE05CDF7@azurevision.co.uk> <4BB3450A.9060105@gmail.com> <4BB39534.2060505@hyperactivesw.com> <4BB39717.8070609@gmail.com> <4BB3A113.1090000@gmail.com> <11E75C28-0575-4407-974E-198DF2DCE9D1@twft.com> Message-ID: Sounds about right, with the addition of 'if it's the size of a somethingapple and it's a colour you're not used to then it's an orange'. ;-) Ian On 31 Mar 2010, at 21:45, Andre Garzia wrote: > if it is really small or has little seeds all over it, then, it is > named > somethingberry > if it is bigger than somethingberry or has not enough seeds around > it, then, > it is named somthingcherry > if it is bigger then somethingcherry and you can throw at those > silly guys > that try to rule you, then it is named somethingapple. From andrew at rjdfarm.com Wed Mar 31 17:21:12 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Wed, 31 Mar 2010 13:21:12 -0800 (PST) Subject: Escaping Quotes? In-Reply-To: References: <1270050338647-1746959.post@n4.nabble.com> <5bc61.3667149d.38e4cb14@aol.com> <1270051607751-1746988.post@n4.nabble.com> <1270053406940-1747024.post@n4.nabble.com> Message-ID: This works! It just needed double the quotes on the outside. Thank you zryip! On Wed, Mar 31, 2010 at 2:26 PM, zryip theSlug [via Runtime Revolution] < ml-node+1747251-990143032-139833 at n4.nabble.com > wrote: > 2010/3/31 Andrew Kluthe <[hidden email]>: > > > > > > I tried what is recommended in this post > > > > > http://n4.nabble.com/put-shell-and-escaping-quotes-how-to-do-this-td991042.html#a991074 > > > > but the shell still ends up getting it with no quotes and effectively > > breaking it. > > > > put quote & "C:\Program Files\Visual CUT 11\Visual CUT.exe" & quote & " > -e" > > into vcPath > > > > put quote & "C:\Rev\FOM2\Lease Reports\All > > Leases\LeasePaymentsbyLeaseName.rpt" & quote into sReportName > > > > put quote & "Parm1:2010" & quote into sParams > > > > put "[[vcPath]] [[sReportName]] [[sParams]]" into sCommand > > put shell( merge(sCommand) ) > > > > > > This outputs the same message from the console that I would get if I put > it > > straight in with no quotes: > > > > 'C:\Program' is not recognized as an internal or external command, > > operable program or batch file. > > -- > > This code works fine for me to open a pdf with acrobat: > > put shell(quote"e&"C:\Program Files\Adobe\Acrobat > 5.0\Reader\AcroRd32.exe" > "e&"e&"C:\Program Files\Revolution > Enterprise\4.0.0-gm-1\Documentation > \pdf\First Stack - Part One.pdf""e"e) > > Note that I double the quote at start and end of the string. > > If I transpose this test to your case I obtain: > > put quote&"C:\Program Files\Visual CUT 11\Visual > CUT.exe""e&&"-e"&"e&"C:\Rev\FOM2\Lease > Reports\All > Leases\LeasePaymentsbyLeaseName.rpt""e&"e&"Parm1:2010""e > into sCommand > put shell(quote&sCommand"e) > > How this code works for you? > > For me it returns "The system cannot find the path specified.". Not > really odds because Crystal Report is not installed on my PC. ;) > > Regards, > > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > > _______________________________________________ > use-revolution mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > ------------------------------ > View message @ > http://n4.nabble.com/Escaping-Quotes-tp1746959p1747251.html > To unsubscribe from Re: Escaping Quotes?, click here< (link removed) ==>. > > > -- View this message in context: http://n4.nabble.com/Escaping-Quotes-tp1746959p1747401.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Wed Mar 31 17:21:32 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 31 Mar 2010 14:21:32 -0700 Subject: OT?: heavy weather near the Runrev office In-Reply-To: References: <4BB33F98.5080106@gmail.com> <90D92CFE-3DFD-4A38-B87D-7910DE05CDF7@azurevision.co.uk> <4BB3450A.9060105@gmail.com> <4BB39534.2060505@hyperactivesw.com> <4BB39717.8070609@gmail.com> <4BB3A113.1090000@gmail.com> <11E75C28-0575-4407-974E-198DF2DCE9D1@twft.com> Message-ID: <7521317953.20100331142132@ahsoftware.net> Andre- Wednesday, March 31, 2010, 1:45:57 PM, you wrote: > Now, if I understand correctly from my small english language experience, > you name fruits like this: > if it is really small or has little seeds all over it, then, it is named > somethingberry I find it quite disturbing to find that botanically there are two types of non-stone fruit: drupes and berries; and that most things that are commonly named berries in English (blackberries, strawberries, etc.) are actually drupes, while the class of berries includes such things as avocados and pumpkins, which I never think of as berries. Basically, in English almost any fruit with the word "berry" in it is not a berry, but a drupe. And almost all other fruit is a berry. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Mar 31 17:26:41 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 31 Mar 2010 14:26:41 -0700 Subject: Escaping Quotes? In-Reply-To: References: <1270050338647-1746959.post@n4.nabble.com> <5bc61.3667149d.38e4cb14@aol.com> <1270051607751-1746988.post@n4.nabble.com> <1270053406940-1747024.post@n4.nabble.com> Message-ID: <16021626953.20100331142641@ahsoftware.net> Andre- Wednesday, March 31, 2010, 1:48:52 PM, you wrote: > put format("\"C:\Program Files\Visual CUT 11\Visual CUT.exe\" -e > \"C:\Rev\FOM2\LeaseReports\All Leases\LeasePaymentsbyLeaseName.rpt\" > \"Parm1:2010\" ") into tCmd Thanks. I forgot format() would do that. But you really need put format("\"C:\\Program Files\\Visual CUT 11\\Visual CUT.exe\" -e \"C:\\Rev\\FOM2\\LeaseReports\\All Leases\\LeasePaymentsbyLeaseName.rpt\" \"Parm1:2010\" ") into tCmd -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Wed Mar 31 17:47:10 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 31 Mar 2010 16:47:10 -0500 Subject: OT?: heavy weather near the Runrev office In-Reply-To: <2C622ACB-D933-4EB7-B651-094E171E23E7@twft.com> References: <4BB33F98.5080106@gmail.com> <90D92CFE-3DFD-4A38-B87D-7910DE05CDF7@azurevision.co.uk> <4BB3450A.9060105@gmail.com> <4BB39534.2060505@hyperactivesw.com> <2C622ACB-D933-4EB7-B651-094E171E23E7@twft.com> Message-ID: <4BB3C2DE.80402@hyperactivesw.com> Bob Sneidar wrote: > He must've wanted to stand out... as in Out In The Rain! So he's out-standing? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Mar 31 17:54:04 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 31 Mar 2010 16:54:04 -0500 Subject: OT?: heavy weather near the Runrev office In-Reply-To: <7521317953.20100331142132@ahsoftware.net> References: <4BB33F98.5080106@gmail.com> <90D92CFE-3DFD-4A38-B87D-7910DE05CDF7@azurevision.co.uk> <4BB3450A.9060105@gmail.com> <4BB39534.2060505@hyperactivesw.com> <4BB39717.8070609@gmail.com> <4BB3A113.1090000@gmail.com> <11E75C28-0575-4407-974E-198DF2DCE9D1@twft.com> <7521317953.20100331142132@ahsoftware.net> Message-ID: <4BB3C47C.9010906@hyperactivesw.com> Mark Wieder wrote: > Andre- > > Wednesday, March 31, 2010, 1:45:57 PM, you wrote: > >> Now, if I understand correctly from my small english language experience, >> you name fruits like this: > >> if it is really small or has little seeds all over it, then, it is named >> somethingberry > > I find it quite disturbing to find that botanically there are two > types of non-stone fruit: drupes and berries; and that most things > that are commonly named berries in English (blackberries, > strawberries, etc.) are actually drupes, while the class of berries > includes such things as avocados and pumpkins, which I never think of > as berries. Basically, in English almost any fruit with the word > "berry" in it is not a berry, but a drupe. And almost all other fruit > is a berry. > Ergo, seedy programmers who write for the web are drupals. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revlist at azurevision.co.uk Wed Mar 31 17:59:10 2010 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 31 Mar 2010 22:59:10 +0100 Subject: OT?: heavy weather near the Runrev office In-Reply-To: <4BB3C47C.9010906@hyperactivesw.com> References: <4BB33F98.5080106@gmail.com> <90D92CFE-3DFD-4A38-B87D-7910DE05CDF7@azurevision.co.uk> <4BB3450A.9060105@gmail.com> <4BB39534.2060505@hyperactivesw.com> <4BB39717.8070609@gmail.com> <4BB3A113.1090000@gmail.com> <11E75C28-0575-4407-974E-198DF2DCE9D1@twft.com> <7521317953.20100331142132@ahsoftware.net> <4BB3C47C.9010906@hyperactivesw.com> Message-ID: I resemble... err, *object* to that remark... ;-) Ian On 31 Mar 2010, at 22:54, J. Landman Gay wrote: > Ergo, seedy programmers who write for the web are drupals. From mwieder at ahsoftware.net Wed Mar 31 18:08:07 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 31 Mar 2010 15:08:07 -0700 Subject: OT?: heavy weather near the Runrev office In-Reply-To: References: <4BB33F98.5080106@gmail.com> <90D92CFE-3DFD-4A38-B87D-7910DE05CDF7@azurevision.co.uk> <4BB3450A.9060105@gmail.com> <4BB39534.2060505@hyperactivesw.com> <4BB39717.8070609@gmail.com> <4BB3A113.1090000@gmail.com> <11E75C28-0575-4407-974E-198DF2DCE9D1@twft.com> <7521317953.20100331142132@ahsoftware.net> <4BB3C47C.9010906@hyperactivesw.com> Message-ID: <6124112562.20100331150807@ahsoftware.net> Ian- Wednesday, March 31, 2010, 2:59:10 PM, you wrote: > I resemble... err, *object* to that remark... ;-) Yeah - I wouldn't touch it with a ten-foot phpole. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Wed Mar 31 18:19:37 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 31 Mar 2010 17:19:37 -0500 Subject: OT?: heavy weather near the Runrev office In-Reply-To: <6124112562.20100331150807@ahsoftware.net> References: <4BB33F98.5080106@gmail.com> <90D92CFE-3DFD-4A38-B87D-7910DE05CDF7@azurevision.co.uk> <4BB3450A.9060105@gmail.com> <4BB39534.2060505@hyperactivesw.com> <4BB39717.8070609@gmail.com> <4BB3A113.1090000@gmail.com> <11E75C28-0575-4407-974E-198DF2DCE9D1@twft.com> <7521317953.20100331142132@ahsoftware.net> <4BB3C47C.9010906@hyperactivesw.com> <6124112562.20100331150807@ahsoftware.net> Message-ID: <4BB3CA79.4000505@hyperactivesw.com> Mark Wieder wrote: > Ian- > > Wednesday, March 31, 2010, 2:59:10 PM, you wrote: > >> I resemble... err, *object* to that remark... ;-) > > Yeah - I wouldn't touch it with a ten-foot phpole. > You should swallow that cherrybyte before you speak. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From shaosean at wehostmacs.com Wed Mar 31 18:27:27 2010 From: shaosean at wehostmacs.com (Shao Sean) Date: Wed, 31 Mar 2010 18:27:27 -0400 Subject: [ANN] ssMacWindows 1.6.2 Message-ID: Just a small upgrade to the external.. New Features - get user's long name - get user's short name - get the machine name - notification of scroll bar variant changed - notification when the proxy icon has been dragged - notification of fast user switching Fixes - ssMouseDownInTitleBar no longer sent after proxy icon dragged - ssProxyMenuItemSelected sent when item is selected in proxy icon menu One interesting thing about this release we have decided to make a few of the features free to use in compiled applications. The new functions to get the user's long/short name and machine name are free, as well as the notification of scroll bar variant changed (someone may have a need for this).. An arrangement I made with Trevor DeVore has also made the global hot keys feature free to use in compiled applications. (I was going to use his code, but have not had time to do the switch so I just made the existing code free to use).. http://shaosean.tk/ -Sean From bobs at twft.com Wed Mar 31 18:28:30 2010 From: bobs at twft.com (Bob Sneidar) Date: Wed, 31 Mar 2010 15:28:30 -0700 Subject: OT?: heavy weather near the Runrev office In-Reply-To: <7521317953.20100331142132@ahsoftware.net> References: <4BB33F98.5080106@gmail.com> <90D92CFE-3DFD-4A38-B87D-7910DE05CDF7@azurevision.co.uk> <4BB3450A.9060105@gmail.com> <4BB39534.2060505@hyperactivesw.com> <4BB39717.8070609@gmail.com> <4BB3A113.1090000@gmail.com> <11E75C28-0575-4407-974E-198DF2DCE9D1@twft.com> <7521317953.20100331142132@ahsoftware.net> Message-ID: I think we English speaking people do that just to confuse everyone. It's really quite entertaining, you know. Like I before E except after C, and with more exceptions than there are examples that match the rule. That sort of thing. Bob On Mar 31, 2010, at 2:21 PM, Mark Wieder wrote: > Andre- > > Wednesday, March 31, 2010, 1:45:57 PM, you wrote: > >> Now, if I understand correctly from my small english language experience, >> you name fruits like this: > >> if it is really small or has little seeds all over it, then, it is named >> somethingberry > > I find it quite disturbing to find that botanically there are two > types of non-stone fruit: drupes and berries; and that most things > that are commonly named berries in English (blackberries, > strawberries, etc.) are actually drupes, while the class of berries > includes such things as avocados and pumpkins, which I never think of > as berries. Basically, in English almost any fruit with the word > "berry" in it is not a berry, but a drupe. And almost all other fruit > is a berry. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sarah.reichelt at gmail.com Wed Mar 31 18:59:43 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 1 Apr 2010 08:59:43 +1000 Subject: OT?: heavy weather near the Runrev office In-Reply-To: References: <90D92CFE-3DFD-4A38-B87D-7910DE05CDF7@azurevision.co.uk> <4BB3450A.9060105@gmail.com> <4BB39534.2060505@hyperactivesw.com> <4BB39717.8070609@gmail.com> <4BB3A113.1090000@gmail.com> <11E75C28-0575-4407-974E-198DF2DCE9D1@twft.com> Message-ID: > if it is really small or has little seeds all over it, then, it is named > somethingberry > if it is bigger than somethingberry or has not enough seeds around it, then, > it is named somthingcherry > if it is bigger then somethingcherry and you can throw at those silly guys > that try to rule you, then it is named somethingapple. This reminds me of a book I had when expecting my first child. I kept comparing the size of the baby to a citrus fruit. "Your baby is now the size of a lime." "Your baby is now the size of a satsuma." "Your baby is now the size of a lemon." "Your baby is now the size of a orange." "Your baby is now the size of a grapefruit." I think after grapefruit they decided it was probably best to stop dwelling on how big this thing was getting.... Cheers, Sarah From andre at andregarzia.com Wed Mar 31 19:04:02 2010 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 31 Mar 2010 20:04:02 -0300 Subject: [ANN] ssMacWindows 1.6.2 In-Reply-To: References: Message-ID: Shao Sean, This ROCKS!!!! :D Cheers andre On Wed, Mar 31, 2010 at 7:27 PM, Shao Sean wrote: > Just a small upgrade to the external.. > > New Features > - get user's long name > - get user's short name > - get the machine name > - notification of scroll bar variant changed > - notification when the proxy icon has been dragged > - notification of fast user switching > > Fixes > - ssMouseDownInTitleBar no longer sent after proxy icon dragged > - ssProxyMenuItemSelected sent when item is selected in proxy icon menu > > > One interesting thing about this release we have decided to make a few of > the features free to use in compiled applications. The new functions to get > the user's long/short name and machine name are free, as well as the > notification of scroll bar variant changed (someone may have a need for > this).. > > An arrangement I made with Trevor DeVore has also made the global hot keys > feature free to use in compiled applications. (I was going to use his code, > but have not had time to do the switch so I just made the existing code free > to use).. > > > http://shaosean.tk/ > > > -Sean > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From sarah.reichelt at gmail.com Wed Mar 31 19:12:24 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 1 Apr 2010 09:12:24 +1000 Subject: How do I uninstall the revWeb plugin? In-Reply-To: <9ecb0ee51003300726g48c621d8mc25f7b83382f23d0@mail.gmail.com> References: <9ecb0ee51003300726g48c621d8mc25f7b83382f23d0@mail.gmail.com> Message-ID: On Wed, Mar 31, 2010 at 12:26 AM, paul foraker wrote: > For testing purposes, I need to uninstall the revWeb plugin. What's the > cleanest way to do that? On OS X, I think you look in your home folder -> Library -> Internet Plug-Ins and delete nprevweb.plugin and wkrevweb.webplugin Cheers, Sarah From sarah.reichelt at gmail.com Wed Mar 31 19:13:28 2010 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 1 Apr 2010 09:13:28 +1000 Subject: Data grids in standalones In-Reply-To: References: <42467AE9-79AF-49F8-BD39-6415DBF81E7A@mangomultimedia.com> Message-ID: >>>> Can I tell the standalone builder to include the data grid library >>>> even if setting inclusions manually? >>>> Or do I have to un-protect my stack to get this to work. >>> >>> Add a Data Grid Templates substack and the standalone builder will >>> include >>> the Data Grid library: >>> >>> >>> http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7339-What-Do-I-Need-to-Do-To-Deploy-a-Standalone-With-A-Data-Grid- >> >> Yes, I read this lesson, but the screen shots showed that you had the >> Standalone Builder searching for inclusions. >> When I selected the inclusions manually, there was no option to select >> the Data Grid library and I did not think it was being included. >> I was having other problems at the time, so I may be wrong on this, >> but please could you confirm this. > > Confirmed. As long as you have a stack that starts with "Data Grid Templates > " then the data grid library is included. My test: Thanks Trevor. When it failed for me, there must have been another reason. Cheers, Sarah From bvlahos at mac.com Wed Mar 31 22:04:15 2010 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 31 Mar 2010 19:04:15 -0700 Subject: [ANN] ssMacWindows 1.6.2 In-Reply-To: References: Message-ID: <7D610102-88F7-4D35-A52D-DFFAA2160073@mac.com> Sean, Very nice. I use ssMacWindows in InfoWallet and it is fantastic. This new version provides the user's name. How would I be able to use the native authentication services on the Mac? Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Mar 31, 2010, at 3:27 PM, Shao Sean wrote: > Just a small upgrade to the external.. > > New Features > - get user's long name > - get user's short name > - get the machine name > - notification of scroll bar variant changed > - notification when the proxy icon has been dragged > - notification of fast user switching > > Fixes > - ssMouseDownInTitleBar no longer sent after proxy icon dragged > - ssProxyMenuItemSelected sent when item is selected in proxy icon menu > > > One interesting thing about this release we have decided to make a few of the features free to use in compiled applications. The new functions to get the user's long/short name and machine name are free, as well as the notification of scroll bar variant changed (someone may have a need for this).. > > An arrangement I made with Trevor DeVore has also made the global hot keys feature free to use in compiled applications. (I was going to use his code, but have not had time to do the switch so I just made the existing code free to use).. > > > http://shaosean.tk/ > > > -Sean > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From johnpatten at mac.com Wed Mar 31 23:08:16 2010 From: johnpatten at mac.com (John Patten) Date: Wed, 31 Mar 2010 20:08:16 -0700 Subject: DataGrid Forms, checkboxes and Pull-Down buttons Message-ID: <0D99001E-6A10-43CB-9872-FAF8867962A9@mac.com> Correction...I almost have it working.... The option menu behavior seems to be okay... The problem is with my checkbox button. The script I used is: Checkbox Button Column Behavior- getProp dgDataControl return the long id of me end dgDataControl on mouseDown pMouseBtnNum dgMouseDown pMouseBtnNum setDataOfIndex the dgHilitedIndexes of me, the dgColumn of the target, (the hilited of target) end mouseDown There are two problems. The first is that when I look at the data in the Data Grid after highlighting the checkbox, the data from the datagrid reports that the hilite is 'false." If I uncheck the checkbox, and grab the data again, the Data Grid reports that the hilite is 'true." It is reversed from what is normal. Second problem is that if I click in the column with the check box, missing the button, I get an error stating that the (column) does not have that property (assume it means the hilite property). I attempted to put an: if the pMouseBtnNum is 1then setDataOfIndex the dgHilitedIndexes of me, the dgColumn of the target, (the hilited of target) But that still did not take out the error message when I clicked on the column instead of the checkbox. Suggestion...? Thank you! John Patten From runrevplanet at smpcs.server101.com Wed Mar 31 23:58:10 2010 From: runrevplanet at smpcs.server101.com (RunRevPlanet) Date: Thu, 01 Apr 2010 14:58:10 +1100 Subject: The revTalk Song In-Reply-To: <20100330212333.09FD7288708@mail.runrev.com> References: <20100330212333.09FD7288708@mail.runrev.com> Message-ID: <4BB419D2.40909@smpcs.server101.com> What RunRev needs is a song. (The Java guys and gals have more than one, so why don't we?) You can read about why I have written the revTalk song and follow the links to it from here: http://www.runrevplanet.com/the-revtalk-song.html Hope you like it. -- Scott McDonald "Components, Stacks, Tools and Resources for Runtime Revolution" www.runrevplanet.com