From jim at visitrieve.com Fri May 1 00:55:33 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Thu, 30 Apr 2009 18:55:33 -1000 Subject: Lanching an image (Was: RE: Avoiding multiple instances of a running Rev app) In-Reply-To: <49F9AE20.31280.4F881A76@p.williams.alkazar.net> References: <49F6CC80.6040002@gmail.com>, <009901c9c98f$1b2118f0$51634ad0$@com>, <49F99C3B.6080407@together.net> <49F9AE20.31280.4F881A76@p.williams.alkazar.net> Message-ID: <00d301c9ca19$0ff4e2b0$2fdea810$@com> This was posted already, but maybe missed because it was under an already answered thread subject. So, I changed the subject. ;-) This is obviously a Windows question but should have a Mac equivalent. Hi All, Paul wrote: > ... what I do is copy pv.exe > into a > custom property, then extract it into the default directory, check for > multiple > processes with the name of my process then tidy up and close down. This reminds me of a question. ;-) Anyone know of a way to launch or shell to an image of an exe in a custom property similar to the way you can "go" to an image of a stack in a custom property without putting it to disk first? Aloha from Hawaii, Jim Bufalini From sims at ezpzapps.com Fri May 1 02:12:11 2009 From: sims at ezpzapps.com (jim sims) Date: Fri, 1 May 2009 08:12:11 +0200 Subject: applescript - shell and Quick Look Message-ID: When I searched for Applescript Quick Look Leopard I came across the following way to get Quick Look into my Rev app (the app requires Leopard anyway, so it fits well). I'm wondering if anyone else is using Quick Look in a Rev app? Seems cool so far. Work well, I've tested it with iWorks, images, video, text. Uses qlmanage and the -p opens the object in a standard Quick Look window. Using a shell script and Leopard's Quick Look feature do something like: qlmanage -p '/Users/jimsims/Desktop/zzz.numbers' sims sims at ezpzapps.com Skype: sims.jim iChat: techietours ______________________ Opportunity by Design From sims at ezpzapps.com Fri May 1 03:15:56 2009 From: sims at ezpzapps.com (jim sims) Date: Fri, 1 May 2009 09:15:56 +0200 Subject: applescript - shell and Quick Look Message-ID: <555D8B9C-E19A-414B-A250-866E948D47A1@ezpzapps.com> > When I searched for Applescript Quick Look Leopard I came across > the following way to get Quick Look into my Rev app (the app > requires Leopard anyway, so it fits well). > > I'm wondering if anyone else is using Quick Look in a Rev app? > > Seems cool so far. Work well, I've tested it with iWorks, images, > video, text. Note, it doesn't seem to have the window expander arrows (or whatever one might call them) at the bottom. It does enable you to look at iWorks files which is pretty cool. sims From tsj at unimelb.edu.au Fri May 1 03:25:07 2009 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 01 May 2009 17:25:07 +1000 Subject: applescript - shell and Quick Look In-Reply-To: <555D8B9C-E19A-414B-A250-866E948D47A1@ezpzapps.com> Message-ID: On 1/05/09 5:15 PM, "jim sims" wrote: >> When I searched for Applescript Quick Look Leopard I came across >> the following way to get Quick Look into my Rev app (the app >> requires Leopard anyway, so it fits well). >> >> I'm wondering if anyone else is using Quick Look in a Rev app? >> >> Seems cool so far. Work well, I've tested it with iWorks, images, >> video, text. > > Note, it doesn't seem to have the window expander arrows (or whatever > one might call them) at the bottom. It does enable you to look at > iWorks files which is pretty cool. Cool Jim - just being able to display PDFs and Word docs is enough for me. Terry... > > sims > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From tsj at unimelb.edu.au Fri May 1 03:28:17 2009 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 01 May 2009 17:28:17 +1000 Subject: applescript - shell and Quick Look In-Reply-To: Message-ID: Ooh - and PowerPoint presentations as well! On 1/05/09 5:25 PM, "Terry Judd" wrote: > On 1/05/09 5:15 PM, "jim sims" wrote: > >>> When I searched for Applescript Quick Look Leopard I came across >>> the following way to get Quick Look into my Rev app (the app >>> requires Leopard anyway, so it fits well). >>> >>> I'm wondering if anyone else is using Quick Look in a Rev app? >>> >>> Seems cool so far. Work well, I've tested it with iWorks, images, >>> video, text. >> >> Note, it doesn't seem to have the window expander arrows (or whatever >> one might call them) at the bottom. It does enable you to look at >> iWorks files which is pretty cool. > > Cool Jim - just being able to display PDFs and Word docs is enough for me. > > Terry... From sims at ezpzapps.com Fri May 1 03:39:20 2009 From: sims at ezpzapps.com (Jim Sims) Date: Fri, 1 May 2009 09:39:20 +0200 Subject: applescript - shell and Quick Look In-Reply-To: References: Message-ID: <2AC03FA2-08F3-4CFD-B6A6-EEE131AE3548@ezpzapps.com> On May 1, 2009, at 9:28 AM, Terry Judd wrote: > Ooh - and PowerPoint presentations as well! Yes, useful. Maybe the -t option is useful, no idea about these others however. I'm a little timid mucking about in terminal. The man page has: NAME qlmanage -- Quick Look Server debug and management tool SYNOPSIS qlmanage -r qlmanage -m qlmanage -t [-s size] [-f factor] [-c contentTypeUTI [-g generator]] [file ...] qlmanage -p [-c contentTypeUTI [-g generator]] [file ...] qlmanage -h DESCRIPTION qlmanage allows you to test your Quick Look generators and manage Quick Look Server. The following usages are available: 1. qlmanage -r resets Quick Look Server and all Quick Look client's generator cache. 2. qlmanage -m gets all sort of information on Quick Look server including the list of detected generators. 3. qlmanage -t displays the Quick Look generated thumbnails (if available) for the specified files. This executes the thumbnail generator. 4. qlmanage -p displays the Quick Look generated previews for the specified files. 5. qlmanage -h displays a summary of this page. sims sims at ezpzapps.com Skype: sims.jim iChat: techietours ______________________ Opportunity by Design From palcibiades-first at yahoo.co.uk Fri May 1 03:45:42 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 1 May 2009 00:45:42 -0700 (PDT) Subject: Dumb Newbie Questions -- 1 of N In-Reply-To: References: <03C4623F-BE57-4830-BDCA-426F7021BC8D@gmail.com> <05E4C789-8455-49B2-828D-A49F082BBEC3@elementarysoftware.com> Message-ID: <23329501.post@talk.nabble.com> Judy, maybe the issue with custom properties is that they are so simple? There is almost nothing there to get your head around. The thing I found completely blocking at first was, I kept asking myself, if they are properties, they must be properties of something, so what is it they are properties of, and how are they "properties"? I kept thinking of properties as being some sort of quality of an object, like color or size. It seems incomprehensible in retrospect that it can have seemed so confusing. But probably it was that the name hides something very very simple! The way to think of them is just fields. Except they can be these funny "fields" so to speak "on" a stack as well as on a card. And the syntax for getting stuff into them or reading from them is a little different. And they are invisible to the user. But that is all they are. If you can use fields, you can use custom properties in about 30 seconds. Though it took me a lot longer than I'm going to admit to, to discover this! One dimension of whether to store data in them is to what extent you want your users to have independent access to their data. If you want them to be able to find it and move it to a different program if they feel like it, probably out-of-program storage is going to be best. I recently found it reassuring to know that if I were to meet my maker, my suffering earth bound users had all their data in tab separated text files which they could get out in a flash and transfer to the database or spreadsheet of their choice. Storing in custom properties means they need Rev or your program to get at it, no? -- View this message in context: http://www.nabble.com/rev-dictionary-blocked-tp23316218p23329501.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Fri May 1 04:37:15 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 01 May 2009 11:37:15 +0300 Subject: Unknown Term Message-ID: <49FAB4BB.4060308@gmail.com> dropFile as in: on mouseUp answer file "Please choose an image:" if it is not empty then dropFile it end if end mouseUp in the 'Core Image Visual Effects' stack. Could find no reference to this term in either the built-in documentation or the PDF. As this code appears exactly the same in a number of buttons it is not at all clear where the reference to the source file goes. From scott at tactilemedia.com Fri May 1 04:50:44 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 01 May 2009 01:50:44 -0700 Subject: Dumb Newbie Questions -- 1 of N In-Reply-To: Message-ID: Recently, Judy Perry wrote: > I'm trying to figure out what new (to me) things are worth spending time > on this summer (worth = useful for me) and which are not. I honestly do > not see myself doing 32,000 card stacks anytime soon as my little things > are just educational aids for my kids, so I thought I'd pick custom > properties since everyone seems to be of the opinion that they are the > bee's knees. Howevder, I need to see an example along the lines of the > sorts of things I'd be likely to use them for as well as an extremely > detailed set of instructions with explanations of why as well as how. Judy, maybe this analogy can help: You can think of custom properties as global variables that are tied to objects, instead of variables that float around in space. You know how to use globals, yes? If you script: global specialValues put "a,b,c" into specialValues ...you've created a global variable named specialValues that is accessible everywhere in your stack. And to use the contents of specialValues, you simply declare the variable and do something with it: global specialValues answer specialValues The above is similar for custom properties, except that you assign the "global" to an object: set the specialValues of btn 1 to "a,b,c" In scripting this, you have created a custom property of button 1 called specialValues, and you can retrieve the contents of the property anywhere in your stack by referencing the object to which the property is attached: answer the specialValues of btn 1 Notice that you need to use the word "the" when accessing a custom property, the same way you would script "the backColor of btn 1" or "the width of btn 1". Now, in addition to backColor and width properties, button 1 also has a specialValues property -- a property you created. So while a custom property is not a global variable from a semantic standpoint, it does behave a bit like a global variable, but one that is assigned to an object, and the object can be a control, a card, or a stack. I think this has been stated before, but one reason I use custom properties so often in my stacks is the values stored in them are persistent across sessions, whereas globals need to be populated each time. I also like the fact that custom properties are no longer present after a stack is closed, unlike globals which hang around in memory until they are deleted or Rev is shut down. Finally, the association that can be made between and object and a custom property makes sense to me. I can set the "bouncing" property of a ball image to true or false; if I have many ball images in a stack, they can all have the same "bouncing" property which I can check on an object-by-object basis. Hope you find this somewhat useful. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From niggemann at uni-wh.de Fri May 1 06:30:19 2009 From: niggemann at uni-wh.de (BNig) Date: Fri, 1 May 2009 03:30:19 -0700 (PDT) Subject: applescript - shell and Quick Look In-Reply-To: <2AC03FA2-08F3-4CFD-B6A6-EEE131AE3548@ezpzapps.com> References: <555D8B9C-E19A-414B-A250-866E948D47A1@ezpzapps.com> <2AC03FA2-08F3-4CFD-B6A6-EEE131AE3548@ezpzapps.com> Message-ID: <23331028.post@talk.nabble.com> Jim, thanks for this. I tried the -t option. Then it shows in a white window instead of the black one. Since it is a thumb you can not scroll through multipage pdfs for example. It shows only the first page. For images this is quite ok. One can get the up to the original size by fiddling with the parameters. here is a script with some variations of the commands ------------------------ on mouseUp answer file "please choose ..." if it is empty then exit mouseUp put it into theFile put apostrophe (theFile) into theFile put "qlmanage -t " & "-s 900 " & theFile into tcmd -- apparently it sets it to max orig size, white window -- put "qlmanage -t " & "-f 5 " & theFile into tcmd ---- apparently it sets it to max orig size, white window -- put "qlmanage -p " & theFile into tcmd -- shows it in a black window get shell (tCmd) if the result is not empty then put the result end mouseUp function apostrophe what return "'" & what & "'" end apostrophe ----------------------------- regards Bernd Jim Sims wrote: > > > On May 1, 2009, at 9:28 AM, Terry Judd wrote: > >> Ooh - and PowerPoint presentations as well! > > Yes, useful. > > > Maybe the -t option is useful, no idea about these others however. I'm > a little timid mucking about in terminal. > > > The man page has: > > NAME > qlmanage -- Quick Look Server debug and management tool > > SYNOPSIS > qlmanage -r > > qlmanage -m > > qlmanage -t [-s size] [-f factor] [-c contentTypeUTI [-g > generator]] > [file ...] > > qlmanage -p [-c contentTypeUTI [-g generator]] [file ...] > > qlmanage -h > > DESCRIPTION > qlmanage allows you to test your Quick Look generators and > manage Quick > Look Server. > > The following usages are available: > > 1. qlmanage -r resets Quick Look Server and all Quick Look > client's > generator cache. > > 2. qlmanage -m gets all sort of information on Quick Look > server > including the list of detected generators. > > 3. qlmanage -t displays the Quick Look generated > thumbnails (if > available) for the specified files. This executes the > thumbnail > generator. > > 4. qlmanage -p displays the Quick Look generated previews > for the > specified files. > > 5. qlmanage -h displays a summary of this page. > > > sims > > sims at ezpzapps.com > Skype: sims.jim > iChat: techietours > ______________________ > Opportunity by 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 > > -- View this message in context: http://www.nabble.com/applescript---shell-and-Quick-Look-tp23328851p23331028.html Sent from the Revolution - User mailing list archive at Nabble.com. From sims at ezpzapps.com Fri May 1 06:41:09 2009 From: sims at ezpzapps.com (Jim Sims) Date: Fri, 1 May 2009 12:41:09 +0200 Subject: applescript - shell and Quick Look In-Reply-To: <23331028.post@talk.nabble.com> References: <555D8B9C-E19A-414B-A250-866E948D47A1@ezpzapps.com> <2AC03FA2-08F3-4CFD-B6A6-EEE131AE3548@ezpzapps.com> <23331028.post@talk.nabble.com> Message-ID: <49D95B37-D0CE-4B8B-AD5F-E96ED0A5F03B@ezpzapps.com> On May 1, 2009, at 12:30 PM, BNig wrote: > I tried the -t option. Then it shows in a white window instead of > the black > one. Since it is a thumb you can not scroll through multipage pdfs for > example. It shows only the first page. For images this is quite ok. > One can > get the up to the original size by fiddling with the parameters. > > here is a script with some variations of the commands Thanks! I tried it with iWorks Numbers using the Hawaiian Vacation template and could click through the navigation links on the left side. So, some bits of interaction are possible but not much. Movies can start & stop. That 'max size' original size bit might be handy. sims sims at ezpzapps.com Skype: sims.jim iChat: techietours ______________________ Opportunity by Design From bdrunrev at gmail.com Fri May 1 07:13:40 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 1 May 2009 12:13:40 +0100 Subject: Unknown Term In-Reply-To: <49FAB4BB.4060308@gmail.com> References: <49FAB4BB.4060308@gmail.com> Message-ID: I don't know the stack you are referring to, and don't have access to Rev at the moment. But I'd say that if it is not in the dictionary it must be a handler defined in the script somewhere. Bernard On Fri, May 1, 2009 at 9:37 AM, Richmond Mathewson wrote: > dropFile > > as in: > > on mouseUp > ?answer file "Please choose an image:" > ?if it is not empty then > ? dropFile it > ?end if > end mouseUp > > in the 'Core Image Visual Effects' stack. > > Could find no reference to this term in either the built-in > documentation or the PDF. > > As this code appears exactly the same in a number > of buttons it is not at all clear where the reference to > the source file goes. > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Fri May 1 08:30:04 2009 From: niggemann at uni-wh.de (BNig) Date: Fri, 1 May 2009 05:30:04 -0700 (PDT) Subject: applescript - shell and Quick Look In-Reply-To: <49D95B37-D0CE-4B8B-AD5F-E96ED0A5F03B@ezpzapps.com> References: <555D8B9C-E19A-414B-A250-866E948D47A1@ezpzapps.com> <2AC03FA2-08F3-4CFD-B6A6-EEE131AE3548@ezpzapps.com> <23331028.post@talk.nabble.com> <49D95B37-D0CE-4B8B-AD5F-E96ED0A5F03B@ezpzapps.com> Message-ID: <23332393.post@talk.nabble.com> Jim, found out that double clicking in the quick look view opens the document in its native application. regards Bernd Jim Sims wrote: > > > I tried it with iWorks Numbers using the Hawaiian Vacation template > and could click through the navigation links on the left side. So, > some bits of interaction are possible but not much. Movies can start & > stop. > > ... > sims > > sims at ezpzapps.com > Skype: sims.jim > iChat: techietours > ______________________ > Opportunity by Design > -- View this message in context: http://www.nabble.com/applescript---shell-and-Quick-Look-tp23328851p23332393.html Sent from the Revolution - User mailing list archive at Nabble.com. From DunbarX at aol.com Fri May 1 09:46:57 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 1 May 2009 09:46:57 EDT Subject: property inspector poll Message-ID: My gadget is a rewrite of my HC development tool, though much smaller, since rev does many things it did, either better or natively. It is useful, for me at least, especially in the early authoring stage. In HC it was implemented as an external window (Dan Gelder's "MegaWindow"). In rev it is, of course, a stack. Maybe I will upload it to revOnLine, with instructions. It seems stable, and does do some very handy tasks. Craig Newman In a message dated 4/30/09 8:49:43 PM, josh at dvcreators.net writes: > Hi Craig, > > Where would I find more info on your gadget? > > Thanks > ************** Access 350+ FREE radio stations anytime from anywhere on the web. Get the Radio Toolbar! (http://toolbar.aol.com/aolradio/download.html?ncid=emlcntusdown00000003) From DunbarX at aol.com Fri May 1 10:09:15 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 1 May 2009 10:09:15 EDT Subject: First look at Service USB gadget Message-ID: I got one of these, a general purpose I/O device. It simply plugs into a USB port on a Mac. It is a stronger, though very similar version of the old Beehive "ADB I/O" device. Stronger mainly in that USB is much faster than Apple's ADB bus. It is completely self contained. Plug and play. It comes with externals for revolution, as well as other environments. It is a fabulous toy. Basically, a suite of rev commands and functions allows one to "write" (open and close output switch contacts) or "read" (detect the state of input switch contacts). There are also analog inputs with 12 bit resolution, and pulse width modulation is implemented internally Almost anyone could create an alarm system, a light show or the like with radio shack components. You need hobby level electronic know-how to do anything really cool, but your Mac can completely control the world. It is hardware I/O for the rest of us. Craig Newman ************** Access 350+ FREE radio stations anytime from anywhere on the web. Get the Radio Toolbar! (http://toolbar.aol.com/aolradio/download.html?ncid=emlcntusdown00000003) From userevolution at dreamscapesoftware.com Fri May 1 10:24:10 2009 From: userevolution at dreamscapesoftware.com (Derek Bump - Dreamscape Software) Date: Fri, 01 May 2009 09:24:10 -0500 Subject: Proper Location for Linux Builds In-Reply-To: <23311288.post@talk.nabble.com> References: <49F770A2.10203@dreamscapesoftware.com> <23296100.post@talk.nabble.com> <49F882E3.20600@dreamscapesoftware.com> <23311288.post@talk.nabble.com> Message-ID: <49FB060A.1000305@dreamscapesoftware.com> Peter, I have tried InstallJammer. The end result is an installer that looks exactly like a "Windows" styled install Wizard. It does work, but it's kinda ugly and a little bit more difficult to tweak. In the end I would prefer some sort of Installer for Linux, but it apparent now that it would be more cost-effective for me to skip the installer on windows and just gzip the program folder. Thus far I have been doing most of my testing using VirtualBox (free and just as good as Parallels), but I have just acquired a laptop that I can install another flavor of Linux on for Testing. Thanks again for all of your advice. You've given me a lot of items to think about, and I will take into consideration while developing the Linux version of my programs. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___________________________________________________________________ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ Peter Alcibiades wrote: > There is a Linux installer on the lines of the usual ones for Windows. Its > installjammer. > > http://installjammer.com/ > > Seems to be still under active development. I've never used it. It claims > to be cross platform in addition. > > Yes, I would distribute in a compressed file with a readme, and most people > will probably be installing in single user mode - if they are not, they will > know what to do. So the readme would just tell them to copy the folder to > their home folder and create a launcher on the desktop, or in the task bar, > to the executable. > > It should probably warn them to check permissions and make sure its > executable. I downloaded Installjammer, for example, when posting this, and > it was not marked executable. Most (all?) emailed files seem to arrive > marked read only - you have to explain to new Linux users that the system > thinks its protecting them from files people send them, and that they have > to either save a copy and work on that, or else change permissions. > > If your program creates data files, ask the user to pick where he/she wants > them to go, on first run. Or just put them in the user home folder. The > usual place for a preference file if you have one, is in the user home > folder, preceded by a dot to make it invisible, as in '.dreamscape'. If > they do put the program in /opt, you should not put the data files in the > program folder. No user account will have write privileges there. Always > put them in the user home folder as a default. And of course the > preferences can't go in /opt since they vary from user to user. > > If you use revPrintField, check that it works as you expect. In fact, > check all printing and font use thoroughly. What sometimes happens is that > label text can not fit exactly the same in fields from one distribution to > another. Its a good idea to leave more space than you think the text needs. > Its also a good idea to restrict yourself to fonts that you know will be > available, or include them. If you look at the font selection that ships > with Debian or Fedora, you can be sure of always having them. But you can't > be sure of having the MS fonts, though people can get them. > > Also, remember that if it is widely distributed, you are sending it to a > hugely variable population. Ubuntu is not the only fruit. And not only > will they be running different distributions, they may be using different > desktop environments within that. Gnome is not the only desktop. So before > distributing at all widely, have a machine with multiple boot installations > of at least Mandriva, Debian, Ubuntu, Suse, Fedora and some Slackware > derivative like Zenwalk. Then within this make sure everything displays as > expected on KDE 3.5, KDE 4.2, Gnome, and Xfce (which is the default on > Zenwalk). Mandriva One KDE is now shipping with KDE 4, so that's an easy > way of testing that. You will pick up Gnome with both Ubuntu and a default > Debian install, and with Fedora, and Debian Lenny is still running KDE 3.5, > so that's an easy way of testing that. KDE 4 is significantly different > from KDE 3. They may also be running stuff like Fluxbox or similar, but if > so, they will know what they are doing and you need not worry about that. > But ordinary users may be on either of the KDE flavors or Gnome. > > People on the list seem to be very happy doing their testing on Parallels. > I'm no pro developer, but I would not. I'd always boot in native mode to > test a package for distribution. Color me paranoid! > > Peter > > > > Derek Bump - Dreamscape Software wrote: >> >> .....So I guess the next question is what is the best method for >> distribution? Should I package my program into a custom made >> wizard-style installer? Or should I just gzip my program's folder and >> let the user put the programs folder where they want? >> >> I'm fine with both methods, but I'm trying to find the method that works >> best for each System. On Windows, I have a Setup Wizard that creates >> the Shortcuts, Uninstaller and places the program in the proper >> location. On the Mac, the user "drags" the program the Applications >> folder. >> >> What method for Revolution Standalones is be best for Linux? >> >> > From bdrunrev at gmail.com Fri May 1 11:18:52 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 1 May 2009 16:18:52 +0100 Subject: First look at Service USB gadget In-Reply-To: References: Message-ID: Craig, I'm interested. Can you post a URL for the supplier? I'm amazed that there are Rev externals for it. Thanks, Bernard On Fri, May 1, 2009 at 3:09 PM, wrote: > I got one of these, a general purpose I/O device. It simply plugs into a > USB port on a Mac. It is a stronger, though very similar version of the old > Beehive "ADB I/O" device. Stronger mainly in that USB is much faster than > Apple's ADB bus. It is completely self contained. Plug and play. It comes with > externals for revolution, as well as other environments. > > It is a fabulous toy. Basically, a suite of rev commands and functions > allows one to "write" (open and close output switch contacts) or "read" (detect > the state of input switch contacts). There are also analog inputs with 12 > bit resolution, and pulse width modulation is implemented internally > > Almost anyone could create an alarm system, a light show or the like with > radio shack components. You need hobby level electronic know-how to do > anything really cool, but your Mac can completely control the world. It is > hardware I/O for the rest of us. > > Craig Newman > > > ************** > Access 350+ FREE radio stations anytime from > anywhere on the web. Get the Radio Toolbar! > (http://toolbar.aol.com/aolradio/download.html?ncid=emlcntusdown00000003) > _______________________________________________ > use-revolution mailing list > use-revolution at 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 May 1 11:32:28 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 1 May 2009 08:32:28 -0700 Subject: Unknown Term In-Reply-To: <49FAB4BB.4060308@gmail.com> References: <49FAB4BB.4060308@gmail.com> Message-ID: <11927477046.20090501083228@ahsoftware.net> Richmond- Friday, May 1, 2009, 1:37:15 AM, you wrote: > dropFile group "Destination Drop Zone" of group "Background" of card "CIRippleTransition" of stack "Core Image Visual Effects" -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Fri May 1 11:40:28 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 May 2009 08:40:28 -0700 Subject: First look at Service USB gadget Message-ID: <49FB17EC.6070606@fourthworld.com> DunbarX wrote: > I got one of these, a general purpose I/O device. It simply plugs into a > USB port on a Mac. It is a stronger, though very similar version of the old > Beehive "ADB I/O" device. Stronger mainly in that USB is much faster than > Apple's ADB bus. It is completely self contained. Plug and play. It comes with > externals for revolution, as well as other environments. > > It is a fabulous toy. Basically, a suite of rev commands and functions > allows one to "write" (open and close output switch contacts) or "read" (detect > the state of input switch contacts). There are also analog inputs with 12 > bit resolution, and pulse width modulation is implemented internally > > Almost anyone could create an alarm system, a light show or the like with > radio shack components. You need hobby level electronic know-how to do > anything really cool, but your Mac can completely control the world. It is > hardware I/O for the rest of us. Way cool! Thanks for posting that. Somehow I'd missed it, but after your post I dug up RR's press release: This caught my eye there: SERVICE USB plus is a proven, robust control technology in professional implementations for industry, tradeshows and entertainment. With this release, it can be used, for example, to drive special effects such as flashes or fog machines at concerts and tradeshows, directly from within Runtime Revolution applications. Hmmm...I can envision all sorts of things I'd like to do for my next Rev seminar presentation. With Rev and Service USB I can now replace Steve Jobs' entire support staff with some really cool robots to drive lights, projection, lasers, and a fog machine.... :) Okay, there are a million more useful things that can be done with it, but I can dream can't I? Don Rossi, is this not the thing you need to take CyberRave into the 21st century? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From DunbarX at aol.com Fri May 1 12:25:02 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 1 May 2009 12:25:02 EDT Subject: First look at Service USB gadget Message-ID: Sure. It's: http://www.bkohg.com/index_e.html Craig Newman ************** Access 350+ FREE radio stations anytime from anywhere on the web. Get the Radio Toolbar! (http://toolbar.aol.com/aolradio/download.html?ncid=emlcntusdown00000003) From scott at tactilemedia.com Fri May 1 13:05:36 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 01 May 2009 10:05:36 -0700 Subject: First look at Service USB gadget In-Reply-To: <49FB17EC.6070606@fourthworld.com> Message-ID: Recently, Richard Gaskin wrote: > Don Rossi, is this not the thing you need to take CyberRave into the > 21st century? Dude, you have no idea... Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From stephenREVOLUTION2 at barncard.com Fri May 1 13:24:29 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 1 May 2009 10:24:29 -0700 Subject: =?utf-8?b?UmU6IEAgxaEgQCBo4oCaw5nigJrDmuKAnMKt4oCaKGMp4oCawrgg?= =?utf-8?b?aOKAmsOJIOKAmsW9w7vigJzDvOKAmsOw4oCcwr7igJrDhMW9KGMp4oCU?= =?utf-8?b?UuKAmsOIIMK2xaDLhuKAmsOwIEkgQCDFoQ==?= Message-ID: Unicode is working here, through my ISP then gmail. Except for the subject. ------------------------- Stephen Barncard San Francisco http://barncard.com 2009/4/11 ??????? > > > ?????????????????????????????? > > ???????????????????????? > > ?????????????????????????????? > > ??????????????????? > > From richmondmathewson at gmail.com Fri May 1 13:28:43 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 01 May 2009 20:28:43 +0300 Subject: Unknown Term In-Reply-To: <11927477046.20090501083228@ahsoftware.net> References: <49FAB4BB.4060308@gmail.com> <11927477046.20090501083228@ahsoftware.net> Message-ID: <49FB314B.6040106@gmail.com> Wow, Mark, a fair old lot of excavation involved there to locate that. Mark Wieder wrote: > Richmond- > > Friday, May 1, 2009, 1:37:15 AM, you wrote: > > >> dropFile >> > > group "Destination Drop Zone" of group "Background" of card > "CIRippleTransition" of stack "Core Image Visual Effects" > > From richmondmathewson at gmail.com Fri May 1 13:34:34 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 01 May 2009 20:34:34 +0300 Subject: Switch or if In-Reply-To: <000d01c9c1fa$fc23a8f0$0a01a8c0@workshop> References: <000d01c9c1fa$fc23a8f0$0a01a8c0@workshop> Message-ID: <49FB32AA.1050908@gmail.com> That's funny, I 'm sure this topic was discussed fairly exhaustively in April; the topic being raised exactly by you "Camm" on Monday April 20. So . . . what is the point of this? customerservice at easyobdii.com wrote: > Dear all , > > Which is faster in execution > > SWITCH OR IF ? > > Regards > Camm > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Fri May 1 13:49:57 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 2 May 2009 01:49:57 +0800 Subject: Dumb Newbie Questions -- 1 of N In-Reply-To: <23329501.post@talk.nabble.com> References: <03C4623F-BE57-4830-BDCA-426F7021BC8D@gmail.com> <05E4C789-8455-49B2-828D-A49F082BBEC3@elementarysoftware.com> <23329501.post@talk.nabble.com> Message-ID: On Fri, May 1, 2009 at 3:45 PM, Peter Alcibiades < palcibiades-first at yahoo.co.uk> wrote: > > Judy, maybe the issue with custom properties is that they are so simple? > There is almost nothing there to get your head around. > Right! > > The way to think of them is just fields. Except..... Except? Scott Rossi wrote: You can think of custom properties as global variables that are tied to > objects, instead of variables that float around in space. > With all due respect gentlemen, why is that for something so simple and already understood, an analogy is used that is only tangentially related. Judy, you know what properties are, you know how to set the text of a field, set the textColour, get or set the height of a button/field/card/stack. You know exactly what a property is, you've been dealing with them since your very first HC days. So lets say in your next Rev project you really really wished that a field/button/card/stack had an extra property, that for you, and as far as you can tell a whole heap of other people in education could really be helped out if the Rev Team added this extra property to the current vast list of properties button/fields/cards/stacks have; and so you put in an enhancement request. Well the fact is Rev has already granted your wish! Whatever you can possible think of - questionText, answerText, theFirstColour, theSecondColour, defaultLanguage, userLanguage, theWrongImage, theRightImage, goodSound, badSound, theFemaleFormStack, theMaleFormStack, windowsMediaPlayerDowloadURL, quickTimeDownloadURL, judyData, jacqueData, whatever you want you can have. You name it whatever suits you and you use it just like all the other properties you have ever dealt with. Properties are like....properties, they are different to fields and they are different to globals. Just as you can create variables/button/fields/cards/stacks and give them their own names you can create properties and give them their own names, at which point they are referred to as custom properties, but at the end of the day it is still just a property and you get it and set it just like every other property you've dealt with. As some have stated, if you do what you do with the knowledge that you have then customProperties aren't going to be a big deal for you, but the thing to remember is that ANYTIME you suddenly wish Cards could remember when they were first opened, or last visited, the answer is, they can, you can create such a property plus any other property your heart desires. So for someone who hasn't used custom properties the only thing to get your head around is WHEN they could come in handy. If you are fond of using hidden fields to store data I'd suggest considering, can you create a custom property called theHiddedFieldText and see if you can achieve the same results. You can, and once you do you'll have that Ah Ha moment and you wont turn back. HTH From devin_asay at byu.edu Fri May 1 14:08:35 2009 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 1 May 2009 12:08:35 -0600 Subject: Switch or if In-Reply-To: <49FB32AA.1050908@gmail.com> References: <000d01c9c1fa$fc23a8f0$0a01a8c0@workshop> <49FB32AA.1050908@gmail.com> Message-ID: <64B0B88C-165F-48D4-98C5-B63E31B55A14@byu.edu> On May 1, 2009, at 11:34 AM, Richmond Mathewson wrote: > That's funny, I 'm sure this topic was discussed fairly exhaustively > in > April; > the topic being raised exactly by you "Camm" on Monday April 20. > > So . . . what is the point of this? I think there may be some sort of mail server hiccup going on today, because I just got several messages from on or about that date. Anybody else? devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From scott at tactilemedia.com Fri May 1 14:09:48 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 01 May 2009 11:09:48 -0700 Subject: Dumb Newbie Questions -- 1 of N In-Reply-To: Message-ID: Recently, Kay C Lan wrote: >> Scott Rossi wrote: >> >> You can think of custom properties as global variables that are tied to >> objects, instead of variables that float around in space. >> > > With all due respect gentlemen, why is that for something so simple and > already understood, an analogy is used that is only tangentially related. In my example, I used a global analogy because 1) setting/modifying custom properties do not inherently make any visible changes in an object, unlike textColor or other built-in object properties; and 2) many, many years ago, I was in a similar situation as Judy, not able to grasp the what/why of custom properties, and this analogy is one that would have helped me out at that time. The same was true for me with the concept of groups/backgrounds. Coming to MetaCard from SuperCard, I could not for the life of me understand why something called a "background" could appear *in front* of another object. It made no sense to me. Only after getting more entrenched in the environment did I start to understand the how and why of groups, and it was many months later that Richard Gaskin provided a description that made sense to me: a background is just a group that may (or may not) be shared across multiple cards. (Why something called a "group" can contain only a single object is another conundrum that I won't get into now.) It's not a question of what should be "so simple", it's a question of what helps someone grasp a concept. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From palcibiades-first at yahoo.co.uk Fri May 1 14:41:02 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 1 May 2009 11:41:02 -0700 (PDT) Subject: Dumb Newbie Questions -- 1 of N In-Reply-To: References: <03C4623F-BE57-4830-BDCA-426F7021BC8D@gmail.com> <05E4C789-8455-49B2-828D-A49F082BBEC3@elementarysoftware.com> <23329501.post@talk.nabble.com> Message-ID: <23337886.post@talk.nabble.com> It would be nice to hear from Judy again. Did any of these explanations help? And did you try using a custom property, and did it work? Peter -- View this message in context: http://www.nabble.com/rev-dictionary-blocked-tp23316218p23337886.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Fri May 1 15:16:29 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 01 May 2009 22:16:29 +0300 Subject: Dumb Newbie Questions -- 1 of N In-Reply-To: <23337886.post@talk.nabble.com> References: <03C4623F-BE57-4830-BDCA-426F7021BC8D@gmail.com> <05E4C789-8455-49B2-828D-A49F082BBEC3@elementarysoftware.com> <23329501.post@talk.nabble.com> <23337886.post@talk.nabble.com> Message-ID: <49FB4A8D.9030701@gmail.com> Maybe I'm having conceptual problems, but a custom property looks awfully like another container (such as a variable or a field) rather than a property as such. I realise that a custom property can be used as a data-source more rapidly than a field because it doesn't come with all the 'trappings' of an object. However, what is not clear to me is whether I can access data stored in the custom property of an object from a script in another, rather like the way I can access data stored in a field on a different card to the one I am 'calling' from. Peter Alcibiades wrote: > It would be nice to hear from Judy again. Did any of these explanations > help? And did you try using a custom property, and did it work? > > Peter > > From pepetoo at cox.net Fri May 1 15:29:50 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Fri, 1 May 2009 12:29:50 -0700 Subject: Dumb Newbie Questions -- 1 of N In-Reply-To: <49FB4A8D.9030701@gmail.com> References: <03C4623F-BE57-4830-BDCA-426F7021BC8D@gmail.com> <05E4C789-8455-49B2-828D-A49F082BBEC3@elementarysoftware.com> <23329501.post@talk.nabble.com> <23337886.post@talk.nabble.com> <49FB4A8D.9030701@gmail.com> Message-ID: <425D7CA6-27EB-417B-8743-5DAD35F195A8@cox.net> Richmond, I may be all wet, but it seems to me that this custom Property thing is just Rev's way of saying you are able to provide a pointer/handle to some address in memory where all of the stuff you've put into it may be accessed, and do so rather easily. I said I didn't like the name, but that's not going to change, so??? I agree that the word "property" provides a totally different mindset. Joe Wilkins On May 1, 2009, at 12:16 PM, Richmond Mathewson wrote: > Maybe I'm having conceptual problems, but a custom > property looks awfully like another container (such as a > variable or a field) rather than a property as such. > > I realise that a custom property can be used as a data-source > more rapidly than a field because it doesn't come with all > the 'trappings' of an object. However, what is not clear to me > is whether I can access data stored in the custom property > of an object from a script in another, rather like the way I can > access data stored in a field on a different card to the one > I am 'calling' from. > > Peter Alcibiades wrote: >> It would be nice to hear from Judy again. Did any of these >> explanations >> help? And did you try using a custom property, and did it work? >> >> Peter From palcibiades-first at yahoo.co.uk Fri May 1 15:49:34 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 1 May 2009 12:49:34 -0700 (PDT) Subject: Dumb Newbie Questions -- 1 of N In-Reply-To: <49FB4A8D.9030701@gmail.com> References: <03C4623F-BE57-4830-BDCA-426F7021BC8D@gmail.com> <05E4C789-8455-49B2-828D-A49F082BBEC3@elementarysoftware.com> <23329501.post@talk.nabble.com> <23337886.post@talk.nabble.com> <49FB4A8D.9030701@gmail.com> Message-ID: <23338734.post@talk.nabble.com> Yes. You just refer to your custom property as 'the xxx of yyy' where xxx is the name you gave it, and yyy is either the stack or the card it is a property of. The script in which you do this can be associated with any object or event in the stack. For instance, say you had a POS system and you did employee discounts. You might have a button with 'DISCOUNT' on it, perhaps on the order entry card. Your script would just do something like, on mouseup multiply the price of the item by - and here comes the custom property - "the discount of this stack". The button could be on any card. Or the event could be any event associated with the stack. Like it could be on openCard - whichever card would be appropriate. When the card is opened, for instance, do something which will show the user "the warning_message of this stack". Then you could do all the usual things, if you want them to be able to change the discount level, you just get what they want to use, and "put it into the discount of this stack". Or if you are keeping track of events, you can, every time the event happens, put some record of it "after the eventlog of this stack". This is the funny thing that drove me nuts until I suddenly saw it - there is nothing to this, its the simplest thing in the world. You just create yourself a custom property using the property inspector of the stack or the card - or I guess other objects too, though I have never done this. And then you put things in them, get things from them, filter them. Whatever. In the above example, you'd open the stack property inspector, pick the custom properties item from the pulldown menu, and just create it, and then put the discount percentage in it. Bingo! Password, for instance. Ask for the password and then if what is supplied "is the adminpassword of this stack" let them into the admin page, otherwise answer sorry, we got to have the correct password for this. Its not a property in any normal sense of the word. Its just a sort of special field. Yes, its a special sort of global variable as well. But I do have the feeling that when people try to explain this to new users, they need to do it in terms that the user already understands. If you have done anything, you have used a field, read a field, written to it and so on. So tell someone to think of the custom property as a sort of field, and they will probably get it. Global variables, properties, all that stuff just made it more opaque in the beginning. For me, If this is wrong, one of the gurus please correct. This is an amateur blundering through it! Peter Richmond Mathewson-2 wrote: > > .... However, what is not clear to me > is whether I can access data stored in the custom property > of an object from a script in another, rather like the way I can > access data stored in a field on a different card to the one > I am 'calling' from. > > > > -- View this message in context: http://www.nabble.com/rev-dictionary-blocked-tp23316218p23338734.html Sent from the Revolution - User mailing list archive at Nabble.com. From mdswindell at cruzio.com Fri May 1 15:55:44 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Fri, 1 May 2009 12:55:44 -0700 Subject: Dumb Newbie Questions -- 1 of N In-Reply-To: <425D7CA6-27EB-417B-8743-5DAD35F195A8@cox.net> References: <03C4623F-BE57-4830-BDCA-426F7021BC8D@gmail.com> <05E4C789-8455-49B2-828D-A49F082BBEC3@elementarysoftware.com> <23329501.post@talk.nabble.com> <23337886.post@talk.nabble.com> <49FB4A8D.9030701@gmail.com> <425D7CA6-27EB-417B-8743-5DAD35F195A8@cox.net> Message-ID: <2E2379B1-3BCE-4C3B-8C27-F28A9D9EA0D1@cruzio.com> While "property" might not be the best name, I can't think of a name better suited, since custom properties are persistent across sessions, proprietary to an object, and the syntax is consistent with other object properties... the height, the width, the visible, the cpWhatEver of button x. It seems pretty simple and straightforward. What isn't intuitive is that a custom property can contain a stack, for example. Cool, but not intuitive. I mostly use them to keep variable contents or states alive across sessions. Mark On May 1, 2009, at 12:29 PM, Joe Lewis Wilkins wrote: > Richmond, > > I may be all wet, but it seems to me that this custom Property thing > is just Rev's way of saying you are able to provide a pointer/handle > to some address in memory where all of the stuff you've put into it > may be accessed, and do so rather easily. I said I didn't like the > name, but that's not going to change, so??? I agree that the word > "property" provides a totally different mindset. > > Joe Wilkins > > On May 1, 2009, at 12:16 PM, Richmond Mathewson wrote: > >> Maybe I'm having conceptual problems, but a custom >> property looks awfully like another container (such as a >> variable or a field) rather than a property as such. >> >> I realise that a custom property can be used as a data-source >> more rapidly than a field because it doesn't come with all >> the 'trappings' of an object. However, what is not clear to me >> is whether I can access data stored in the custom property >> of an object from a script in another, rather like the way I can >> access data stored in a field on a different card to the one >> I am 'calling' from. >> >> Peter Alcibiades wrote: >>> It would be nice to hear from Judy again. Did any of these >>> explanations >>> help? And did you try using a custom property, and did it work? >>> >>> 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 jperryl at ecs.fullerton.edu Fri May 1 15:56:47 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 1 May 2009 12:56:47 -0700 (PDT) Subject: Dumb Newbie Questions -- 1 of N In-Reply-To: References: Message-ID: Thank you, Scott. Your explanation looks helpful :-) Judy On Fri, 1 May 2009, Scott Rossi wrote: > Recently, Judy Perry wrote: > >> I'm trying to figure out what new (to me) things are worth spending time >> on this summer (worth = useful for me) and which are not. I honestly do >> not see myself doing 32,000 card stacks anytime soon as my little things >> are just educational aids for my kids, so I thought I'd pick custom >> properties since everyone seems to be of the opinion that they are the >> bee's knees. Howevder, I need to see an example along the lines of the >> sorts of things I'd be likely to use them for as well as an extremely >> detailed set of instructions with explanations of why as well as how. > > Judy, maybe this analogy can help: > > You can think of custom properties as global variables that are tied to > objects, instead of variables that float around in space. > > You know how to use globals, yes? If you script: > global specialValues > put "a,b,c" into specialValues > > ...you've created a global variable named specialValues that is accessible > everywhere in your stack. And to use the contents of specialValues, you > simply declare the variable and do something with it: > global specialValues > answer specialValues > > The above is similar for custom properties, except that you assign the > "global" to an object: > set the specialValues of btn 1 to "a,b,c" > > In scripting this, you have created a custom property of button 1 called > specialValues, and you can retrieve the contents of the property anywhere in > your stack by referencing the object to which the property is attached: > answer the specialValues of btn 1 > > Notice that you need to use the word "the" when accessing a custom property, > the same way you would script "the backColor of btn 1" or "the width of btn > 1". Now, in addition to backColor and width properties, button 1 also has a > specialValues property -- a property you created. > > So while a custom property is not a global variable from a semantic > standpoint, it does behave a bit like a global variable, but one that is > assigned to an object, and the object can be a control, a card, or a stack. > > I think this has been stated before, but one reason I use custom properties > so often in my stacks is the values stored in them are persistent across > sessions, whereas globals need to be populated each time. I also like the > fact that custom properties are no longer present after a stack is closed, > unlike globals which hang around in memory until they are deleted or Rev is > shut down. > > Finally, the association that can be made between and object and a custom > property makes sense to me. I can set the "bouncing" property of a ball > image to true or false; if I have many ball images in a stack, they can all > have the same "bouncing" property which I can check on an object-by-object > basis. > > Hope you find this somewhat useful. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & 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 david at architex.tv Fri May 1 16:11:37 2009 From: david at architex.tv (David Bovill) Date: Fri, 1 May 2009 21:11:37 +0100 Subject: Must be a way: escaping filter patterns Message-ID: Still trying to figure this out - my hack ends up failing - I've returned a list of child names from XML, and wish to filter out all the "" elements which appear like tr[1], tr[2]. So I want to filter using "tr[*]", but as "[" is a special char... andthe usual "\[" does not work for escaping? Any ideas? 2009/4/24 David Bovill > Any one know the way to escape characters such as "[" in patterns for the > "filter" expression? > From jperryl at ecs.fullerton.edu Fri May 1 16:17:42 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 1 May 2009 13:17:42 -0700 (PDT) Subject: Dumb Newbie Questions -- 1 of N In-Reply-To: <23337886.post@talk.nabble.com> References: <03C4623F-BE57-4830-BDCA-426F7021BC8D@gmail.com> <05E4C789-8455-49B2-828D-A49F082BBEC3@elementarysoftware.com> <23329501.post@talk.nabble.com> <23337886.post@talk.nabble.com> Message-ID: Peter, I had to run some errands and am now attending upon the termite eradicator ;-) Which is to say I'm still reading these mails. Many kind thanks to all who have responded! Judy On Fri, 1 May 2009, Peter Alcibiades wrote: > > It would be nice to hear from Judy again. Did any of these explanations > help? And did you try using a custom property, and did it work? > > Peter > > -- > View this message in context: http://www.nabble.com/rev-dictionary-blocked-tp23316218p23337886.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 Fri May 1 16:18:47 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 01 May 2009 23:18:47 +0300 Subject: Dumb Newbie Questions -- 1 of N In-Reply-To: <2E2379B1-3BCE-4C3B-8C27-F28A9D9EA0D1@cruzio.com> References: <03C4623F-BE57-4830-BDCA-426F7021BC8D@gmail.com> <05E4C789-8455-49B2-828D-A49F082BBEC3@elementarysoftware.com> <23329501.post@talk.nabble.com> <23337886.post@talk.nabble.com> <49FB4A8D.9030701@gmail.com> <425D7CA6-27EB-417B-8743-5DAD35F195A8@cox.net> <2E2379B1-3BCE-4C3B-8C27-F28A9D9EA0D1@cruzio.com> Message-ID: <49FB5927.1070002@gmail.com> Maybe my problem comes from taking the computer programming metaphor a bit too literally. I think of properties as things that inhere in objects, some being necessary and some being contingent; rather like people with functioning lungs (necessary) and ideas (contingent). Now it seems that with 'custom property' I am expected to imagine objects that inhere in other objects (e.g. stacks in custom properties). Of course, once one abandons the standard metaphor and views custom properties as pointers to drawers in a filing cabinet (or, even, maybe, the drawers themselves) everything becomes clearer. The term 'custom property' is misleading; it is like asking "Where is Axminster?" and then wondering why they don't show you the bathroom. Mark Swindell wrote: > While "property" might not be the best name, I can't think of a name > better suited, since custom properties are persistent across > sessions, proprietary to an object, and the syntax is consistent with > other object properties... the height, the width, the visible, the > cpWhatEver of button x. It seems pretty simple and straightforward. > What isn't intuitive is that a custom property can contain a stack, > for example. Cool, but not intuitive. I mostly use them to keep > variable contents or states alive across sessions. > > Mark > > > On May 1, 2009, at 12:29 PM, Joe Lewis Wilkins wrote: > >> Richmond, >> >> I may be all wet, but it seems to me that this custom Property thing >> is just Rev's way of saying you are able to provide a pointer/handle >> to some address in memory where all of the stuff you've put into it >> may be accessed, and do so rather easily. I said I didn't like the >> name, but that's not going to change, so??? I agree that the word >> "property" provides a totally different mindset. >> >> Joe Wilkins >> >> On May 1, 2009, at 12:16 PM, Richmond Mathewson wrote: >> >>> Maybe I'm having conceptual problems, but a custom >>> property looks awfully like another container (such as a >>> variable or a field) rather than a property as such. >>> >>> I realise that a custom property can be used as a data-source >>> more rapidly than a field because it doesn't come with all >>> the 'trappings' of an object. However, what is not clear to me >>> is whether I can access data stored in the custom property >>> of an object from a script in another, rather like the way I can >>> access data stored in a field on a different card to the one >>> I am 'calling' from. >>> >>> Peter Alcibiades wrote: >>>> It would be nice to hear from Judy again. Did any of these >>>> explanations >>>> help? And did you try using a custom property, and did it work? >>>> >>>> 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 > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Fri May 1 16:20:46 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 01 May 2009 23:20:46 +0300 Subject: Dumb Newbie Questions -- 1 of N In-Reply-To: References: <03C4623F-BE57-4830-BDCA-426F7021BC8D@gmail.com> <05E4C789-8455-49B2-828D-A49F082BBEC3@elementarysoftware.com> <23329501.post@talk.nabble.com> <23337886.post@talk.nabble.com> Message-ID: <49FB599E.400@gmail.com> Presumably the 'termite eradicator' is the secret code name for the alpha version of the new debugger being built into Runtime Revolution 4. :) Judy Perry wrote: > Peter, > > I had to run some errands and am now attending upon the termite > eradicator ;-) > > Which is to say I'm still reading these mails. > > Many kind thanks to all who have responded! > > Judy > > On Fri, 1 May 2009, Peter Alcibiades wrote: > >> >> It would be nice to hear from Judy again. Did any of these explanations >> help? And did you try using a custom property, and did it work? >> >> Peter >> >> -- >> View this message in context: >> http://www.nabble.com/rev-dictionary-blocked-tp23316218p23337886.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 jperryl at ecs.fullerton.edu Fri May 1 16:24:11 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 1 May 2009 13:24:11 -0700 (PDT) Subject: Dumb Newbie Questions -- 1 of N In-Reply-To: <49FB599E.400@gmail.com> References: <03C4623F-BE57-4830-BDCA-426F7021BC8D@gmail.com> <05E4C789-8455-49B2-828D-A49F082BBEC3@elementarysoftware.com> <23329501.post@talk.nabble.com> <23337886.post@talk.nabble.com> <49FB599E.400@gmail.com> Message-ID: Thank you. I needed that. ;-) Judy On Fri, 1 May 2009, Richmond Mathewson wrote: > Presumably the 'termite eradicator' is the secret code name for the alpha > version > of the new debugger being built into Runtime Revolution 4. :) From lists at mangomultimedia.com Fri May 1 17:01:30 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 1 May 2009 17:01:30 -0400 Subject: Blue Mango Data Grid Webinar Recording Posted Message-ID: We've posted the recording of the data grid webinar that my company did yesterday: Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com Email has been scanned for viruses by Altman Technologies' email management service - www.altman.co.uk/emailsystems From mwieder at ahsoftware.net Fri May 1 17:04:39 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 1 May 2009 14:04:39 -0700 Subject: Unknown Term In-Reply-To: <49FB314B.6040106@gmail.com> References: <49FAB4BB.4060308@gmail.com> <11927477046.20090501083228@ahsoftware.net> <49FB314B.6040106@gmail.com> Message-ID: <111947408640.20090501140439@ahsoftware.net> Richmond- Friday, May 1, 2009, 10:28:43 AM, you wrote: > a fair old lot of excavation involved there to locate that. Not really. Here's the drill: Open stack "Core Image Sampler" from the samples directory open the Application Browser Look at the objects in card 1 (the one that's currently displayed) Find a name that sounds significant, like "Destination Drop Zone" See if has a script (the number after the name) View the script See if there's a handler named "dropFile" There's a similar one in group "Source Drop Zone" depending on whether you're working with the Source Image or the Target Image. -- -Mark Wieder mwieder at ahsoftware.net From sadhu at castandcrew.com Fri May 1 17:10:31 2009 From: sadhu at castandcrew.com (Sadhu Nadesan) Date: Fri, 01 May 2009 14:10:31 -0700 Subject: data grid code (what is wrong with this?) In-Reply-To: <20090501201857.60C1948B188@mail.runrev.com> References: <20090501201857.60C1948B188@mail.runrev.com> Message-ID: <49FB6547.7060003@castandcrew.com> Not sure what is up here, but suddenly a bunch of messages I posted weeks ago (circa April 7th) have just shown up? The problems were all solved. The beta app is up and running and users are testing and utilizing it. The demo Wednesday of the working product went very well (and it was a chuckle to hear at corporate HQ how the Java guys are struggling with getting some kind of Excel like object working in their stuff, using Swing, and tearing hair). Grin. The users got everything they asked for - and of course, immediately saw what new additional features they wanted! Isn't that what's it's all about? Actually seeing something working helps them to know what they really want. Software is never done. The CFO was impressed too. Thanks again to all who helped me, and sorry for the old emails hitting the list today. Sadhu > use-revolution-request at lists.runrev.com wrote: > ) > 2. data grid continued (Sadhunathan Nadesan) > 3. Re: data grid code (what is wrong with this?) (Sadhunathan Nadesan) > 5. Re: sample data grid code (Sadhunathan Nadesan) > 6. OT, shopping (Sadhunathan Nadesan) > 7. shopping (Sadhunathan Nadesan) > 8. shopping (Sadhunathan Nadesan) > 9. shopping (Sadhunathan Nadesan) > 10. Re: data grid code (color) (Sadhunathan Nadesan) > 11. Re: data grid code (color) (Sadhunathan Nadesan) > 12. Re: data grid code (color) (Sadhunathan Nadesan) From sarah.reichelt at gmail.com Fri May 1 17:27:48 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 2 May 2009 07:27:48 +1000 Subject: Switch or if In-Reply-To: <64B0B88C-165F-48D4-98C5-B63E31B55A14@byu.edu> References: <000d01c9c1fa$fc23a8f0$0a01a8c0@workshop> <49FB32AA.1050908@gmail.com> <64B0B88C-165F-48D4-98C5-B63E31B55A14@byu.edu> Message-ID: > I think there may be some sort of mail server hiccup going on today, because > I just got several messages from on or about that date. Anybody else? Yes, I've got lots dated around April 15. Sarah From sarah.reichelt at gmail.com Fri May 1 17:30:07 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 2 May 2009 07:30:07 +1000 Subject: Must be a way: escaping filter patterns In-Reply-To: References: Message-ID: On Sat, May 2, 2009 at 6:11 AM, David Bovill wrote: > Still trying to figure this out - my hack ends up failing - I've returned a > list of child names from XML, and wish to filter out all the "" elements > which appear like tr[1], tr[2]. So I want to filter using "tr[*]", but as > "[" is a special char... andthe usual "\[" does not work for escaping? Any > ideas? I had a similar case where I needed to include * in my filter string. I ended up doing a replace, then filtering, then putting the *'s back again. Cheers, Sarah From sarah.reichelt at gmail.com Fri May 1 17:34:12 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 2 May 2009 07:34:12 +1000 Subject: Unknown Term In-Reply-To: <49FB314B.6040106@gmail.com> References: <49FAB4BB.4060308@gmail.com> <11927477046.20090501083228@ahsoftware.net> <49FB314B.6040106@gmail.com> Message-ID: On Sat, May 2, 2009 at 3:28 AM, Richmond Mathewson wrote: > Wow, Mark, > > a fair old lot of excavation involved there to locate that. No if using GLX2 :-) Open the script, right-click on dropFile and you're there. It's one of the most fantastic features of GLX2 . Cheers, Sarah From DunbarX at aol.com Fri May 1 17:39:13 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 1 May 2009 17:39:13 EDT Subject: Dumb Newbie Questions -- 2 of N Message-ID: I remember when a button in HC was first (v.2.2) embellished into a container. This seemed silly, though the possibilities were intriguing. You might say that a new custom property, theContainerNess, was now built into this familiar object, and it could hold text. So you then could "get btn myBtn", and the text would appear. This is not what buttons were made for, but it was just a simple disconnect from an old habit to embrace it. I, early on (1987), thought commands and functions ruled, and properties were cute and useful but inherently of a lower class. I was wrong, and ever so much more so given custom properties. Craig Newman ************** Access 350+ FREE radio stations anytime from anywhere on the web. Get the Radio Toolbar! (http://toolbar.aol.com/aolradio/download.html?ncid=emlcntusdown00000003) From DunbarX at aol.com Fri May 1 17:33:16 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 1 May 2009 17:33:16 EDT Subject: Dumb Newbie Questions -- 2 of N Message-ID: I remember when a button in HC was first (v.2.2) embellished into a container. This seemed silly, though the possibilities were intriguing. You might say that a new custom property, theContainerNess, was now built into this familiar object, and it could hold text. So you then could "get btn myBtn", and the text would appear. This is not what buttons were made for, but it was just a simple disconnect from an old habit to embrace it. I, early on (1987), thought commands and functions ruled, and properties were cute and useful but inherently of a lower class. I was wrong, and ever so much more so given custom properties. Craig Newman ************** Access 350+ FREE radio stations anytime from anywhere on the web. Get the Radio Toolbar! (http://toolbar.aol.com/aolradio/download.html?ncid=emlcntusdown00000003) From josh at dvcreators.net Fri May 1 17:56:51 2009 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 1 May 2009 14:56:51 -0700 Subject: property inspector poll In-Reply-To: References: Message-ID: <84EBB16D-64BD-468C-B3E4-EAAB0FF4158A@dvcreators.net> Thanks Craig, does it work with all objects, or just fields and buttons? Are you all working with the stock property inspector where you have to access a menu to get to all the different property groups??!? Hard to believe! On May 1, 2009, at 6:46 AM, dunbarx at aol.com wrote: > My gadget is a rewrite of my HC development tool, though much smaller, > since rev does many things it did, either better or natively. It is > useful, for > me at least, especially in the early authoring stage. In HC it was > implemented as an external window (Dan Gelder's "MegaWindow"). In > rev it is, of > course, a stack. Maybe I will upload it to revOnLine, with > instructions. It seems > stable, and does do some very handy tasks. > > Craig Newman > > In a message dated 4/30/09 8:49:43 PM, josh at dvcreators.net writes: > > >> Hi Craig, >> >> Where would I find more info on your gadget? >> >> Thanks >> > > > > > ************** > Access 350+ FREE radio stations anytime from anywhere on the > web. Get the Radio Toolbar! > (http://toolbar.aol.com/aolradio/download.html?ncid=emlcntusdown00000003 > ) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From josh at dvcreators.net Fri May 1 18:06:55 2009 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 1 May 2009 15:06:55 -0700 Subject: mime type for revolution stack? (for "go stack URL") Message-ID: <1EA69C0C-05D2-41B1-A40C-83E5EE5FE742@dvcreators.net> When trying "go stack URL" with our main server (Apache), we get either: stack is too new or stack is corrupted, check for ~ backup file Yet when we try our test server (Dreamhost) with the same stack it works fine. I assume this is because Dreamhost has a mime type configured for files with the ".rev" extension? Does anyone know what to put in the server mime types for Revolution stacks so that "go stack URL" will work? From mwieder at ahsoftware.net Fri May 1 18:15:20 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 1 May 2009 15:15:20 -0700 Subject: Unknown Term In-Reply-To: References: <49FAB4BB.4060308@gmail.com> <11927477046.20090501083228@ahsoftware.net> <49FB314B.6040106@gmail.com> Message-ID: <6951649406.20090501151520@ahsoftware.net> Sarah- Friday, May 1, 2009, 2:34:12 PM, you wrote: > Open the script, right-click on dropFile and you're there. > It's one of the most fantastic features of GLX2 . To be fair, I was trying to show the long-division way of getting there rather than flaunt how much easier it is in glx2 -- -Mark Wieder mwieder at ahsoftware.net From josh at dvcreators.net Fri May 1 18:24:08 2009 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 1 May 2009 15:24:08 -0700 Subject: mime type for revolution stack? (for "go stack URL") In-Reply-To: <1EA69C0C-05D2-41B1-A40C-83E5EE5FE742@dvcreators.net> References: <1EA69C0C-05D2-41B1-A40C-83E5EE5FE742@dvcreators.net> Message-ID: Weird, it just started working. On May 1, 2009, at 3:06 PM, Josh Mellicker wrote: > When trying "go stack URL" with our main server (Apache), we get > either: > > stack is too new > > or > > stack is corrupted, check for ~ backup file > > > Yet when we try our test server (Dreamhost) with the same stack it > works fine. I assume this is because Dreamhost has a mime type > configured for files with the ".rev" extension? > > > Does anyone know what to put in the server mime types for Revolution > stacks so that "go stack URL" will work? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jperryl at ecs.fullerton.edu Fri May 1 19:19:45 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 1 May 2009 16:19:45 -0700 (PDT) Subject: Dumb Newbie Questions -- 1 of N In-Reply-To: <49FB5927.1070002@gmail.com> References: <03C4623F-BE57-4830-BDCA-426F7021BC8D@gmail.com> <05E4C789-8455-49B2-828D-A49F082BBEC3@elementarysoftware.com> <23329501.post@talk.nabble.com> <23337886.post@talk.nabble.com> <49FB4A8D.9030701@gmail.com> <425D7CA6-27EB-417B-8743-5DAD35F195A8@cox.net> <2E2379B1-3BCE-4C3B-8C27-F28A9D9EA0D1@cruzio.com> <49FB5927.1070002@gmail.com> Message-ID: On Fri, 1 May 2009, Richmond Mathewson wrote: > Of course, once one abandons the standard metaphor and views custom > properties as > pointers to drawers in a filing cabinet (or, even, maybe, the drawers > themselves) everything > becomes clearer. > > The term 'custom property' is misleading; it is like asking "Where is > Axminster?" and then > wondering why they don't show you the bathroom. --Well, yes, especially that last part, wherein I felt rather like I was being asked to interact with invisible magic things, only, when they're invisible how will I know them when I see them? I mean, I literally didn't know what step 1 was supposed to be. I had a vague, fuzzy notion of what they were supposed to do but not how they did it. So, anyway, I did one. Yay me! I dunno... I still like cards. I like things that I can see, have mass and/or take up space. ;-) Many thanks again to all who replied, and special thanks to the ChatRev twins who displayed admirable restraint in NOT reaching through the tubes of the internet to strangle the life out of me ;-) Judy From david.bovill at gmail.com Fri May 1 20:00:56 2009 From: david.bovill at gmail.com (David Bovill) Date: Sat, 2 May 2009 01:00:56 +0100 Subject: Must be a way: escaping filter patterns In-Reply-To: References: Message-ID: OK - thanks! 2009/5/1 Sarah Reichelt > On Sat, May 2, 2009 at 6:11 AM, David Bovill wrote: > > Still trying to figure this out - my hack ends up failing - I've returned > a > > list of child names from XML, and wish to filter out all the "" > elements > > which appear like tr[1], tr[2]. So I want to filter using "tr[*]", but as > > "[" is a special char... andthe usual "\[" does not work for escaping? > Any > > ideas? > > > I had a similar case where I needed to include * in my filter string. > I ended up doing a replace, then filtering, then putting the *'s back > again. From sarah.reichelt at gmail.com Fri May 1 20:07:33 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 2 May 2009 10:07:33 +1000 Subject: On-Rev scripting Message-ID: Hi All, I have been playing around with on-rev, testing various things, learning how to write these scripts and having heaps of fun. Since we are all learning, I thought it would be useful to share what I have done, so I made a page that looks for all the irev files on my site and lists them out as links to the page and with links to show the actual scripts. Check it out here and feel free to copy whatever you find useful (at your own risk). My latest page shows the calendar for a month . Cheers, Sarah P.S. Sorry to people on the On-Rev forums for the cross-posting, but I know not everyone reads forums. From tereza at califex.com Fri May 1 20:45:46 2009 From: tereza at califex.com (Tereza Snyder) Date: Fri, 1 May 2009 19:45:46 -0500 Subject: On-Rev scripting In-Reply-To: References: Message-ID: <66DBAD6E-8F2B-4AC1-A67E-68FA87D85A95@califex.com> On May 1, 2009, at 7:07 PM, Sarah Reichelt wrote: > Hi All, > > I have been playing around with on-rev, testing various things, > learning how to write these scripts and having heaps of fun. Since we > are all learning, I thought it would be useful to share what I have > done, so I made a page that looks for all the irev files on my site > and lists them out as links to the page and with links to show the > actual scripts. ... Hi Sarah, I visited your site and the ease of scripting is really appealing. I can't wait to get started! I noticed that in the 3 "include" files, you have a block of functions that begin with "". Is it "really" there, but not showing for a technical reason? or not needed? t -- Tereza Snyder Califex Software, Inc. From lan.kc.macmail at gmail.com Fri May 1 21:25:38 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 2 May 2009 09:25:38 +0800 Subject: Dumb Newbie Questions -- 1 of N In-Reply-To: <2E2379B1-3BCE-4C3B-8C27-F28A9D9EA0D1@cruzio.com> References: <03C4623F-BE57-4830-BDCA-426F7021BC8D@gmail.com> <05E4C789-8455-49B2-828D-A49F082BBEC3@elementarysoftware.com> <23329501.post@talk.nabble.com> <23337886.post@talk.nabble.com> <49FB4A8D.9030701@gmail.com> <425D7CA6-27EB-417B-8743-5DAD35F195A8@cox.net> <2E2379B1-3BCE-4C3B-8C27-F28A9D9EA0D1@cruzio.com> Message-ID: On Sat, May 2, 2009 at 3:55 AM, Mark Swindell wrote: > While "property" might not be the best name, I can't think of a name better > suited, since custom properties are persistent across sessions, > proprietary to an object, and the syntax is consistent with other object > properties... the height, the width, the visible, the cpWhatEver of button > x. It seems pretty simple and straightforward. What isn't intuitive is > that a custom property can contain a stack, for example. Cool, but not > intuitive. I mostly use them to keep variable contents or states alive > across sessions. > Basically with you Mark except I do think that Custom Property is a very good name :-) IMO what isn't intuitive is when you can use them, especially use them to your advantage. When I read the explanations by others above what I see is people saying 'I can use them like a field (hidden)' or 'I can use them like a global' they are not really explaining what they are, but how they have come to use them. Scott wrote: In my example, I used a global analogy because 1) setting/modifying custom properties do not inherently make any visible changes in an object, unlike textColor or other built-in object properties; Whilst this is generally true, there are object properties that don't have an immediate visible effect, such as the dontSearch, travesalOn or autoTab of a field or the acceleratorKey of a button. Stacks come with alwaysBuffer, destroyStack and cantDelete. Then there are the really invisible properties such as itemDelimiter and defaultFolder. If you can understand and work with these you can work with Custom Properties. Richmond wrote: The term 'custom property' is misleading; it is like asking "Where is > Axminster?" and then > wondering why they don't show you the bathroom. > What? This is like saying I "put the itemDelimiter into oldDelim" and am now wondering why oldDelim doesn't contain the path to the defaultFolder. There is nothing misleading about what a property of an object is, when you ask for an object's property you get that property back, be it an inbuilt property or one you've created. Judy lamented: --Well, yes, especially that last part, wherein I felt rather like I was > being asked to interact with invisible magic things, only, when they're > invisible how will I know them when I see them? I mean, I literally didn't > know what step 1 was supposed to be. I had a vague, fuzzy notion of what > they were supposed to do but not how they did it. > > So, anyway, I did one. Yay me! > > I dunno... I still like cards. I like things that I can see, have mass > and/or take up space. ;-) > But you can see them, they do have mass and take up space, there is an entire Property Inspector tab devoted to the space taken up with custom properties you create. You can't see the raw htmlText of a field, but if you can get your head around how that magic works you should find custom properties a lot easier to work with because you can look at them and see exactly what they are. You can get and set the text of field 1 (inbuilt and visible in the PI) You can get and set the htmlText of field 1 (inbuilt but not visible as raw html in the PI) You could create the xmlText of field 1 You could create the csvText of field 1 You could create the englishText of field 1 You could create the latinText of field 1 The last four cases would be visible in the PI and could be edited from within the PI (unlike the htmlText), they are very real, and if you fill them with the complete works of William Shakespear, they'll take up a lot of space. With enlishText/latinText, you could, depending on user interaction, display the text as is: set the text of field 1 to the latinText of field 1 Or, in the case of xmlText/csvText, parse the text before displaying it, much like the Engine currently does for htmlText put the csvText of field 1 into tempStore replace comma with tab in tempStore set the text of field 1 to tempStore Again, when your Ah Ha moment comes you'll know exactly what custom properties are, how to work with them, how to see their contents, everything, because you have already been working with the magic of properties and the PI for a very long time. The only magic you don't understand right now is what you are doing right now that could be done with custom properties. My analogy for custom properties is they are like properties that you don't know exist. Take the defaultMenubar for instance. You could spend years makeing the exact same menubar for all your MainStacks and subStacks. It works for you, they are real, you know how to amend them - it's a lot of work in you need to add a menu item to the menuBar of 7 substacks. When someone tells you that there's a property 'the defaultMenubar' which allows you to build one menuBar and have it appear for any substack you know you can use that to your advantage, you know how to use it because you've used other properties. You'll also wish someone told you about it years ago ;-) HTH From coiin at rcn.com Fri May 1 21:28:18 2009 From: coiin at rcn.com (Colin Holgate) Date: Fri, 1 May 2009 21:28:18 -0400 Subject: On-Rev scripting In-Reply-To: References: Message-ID: <5E445CBA-71EE-4751-8F77-641C7AEAF253@rcn.com> On May 1, 2009, at 8:07 PM, Sarah Reichelt wrote: > Check it out here and feel free to copy > whatever you find useful (at your own risk). Thanks for those. From jperryl at ecs.fullerton.edu Fri May 1 21:33:19 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 1 May 2009 18:33:19 -0700 (PDT) Subject: Dumb Newbie Questions -- 1 of N In-Reply-To: References: <03C4623F-BE57-4830-BDCA-426F7021BC8D@gmail.com> <05E4C789-8455-49B2-828D-A49F082BBEC3@elementarysoftware.com> <23329501.post@talk.nabble.com> <23337886.post@talk.nabble.com> <49FB4A8D.9030701@gmail.com> <425D7CA6-27EB-417B-8743-5DAD35F195A8@cox.net> <2E2379B1-3BCE-4C3B-8C27-F28A9D9EA0D1@cruzio.com> Message-ID: Kay, You assume I know more than I do ;-) And you know what happens when you assume... :-P Still, points well taken. Judy On Sat, 2 May 2009, Kay C Lan wrote: > You can't see the raw htmlText of a field, but if you can get your head > around how that magic works you should find custom properties a lot easier > to work with because you can look at them and see exactly what they are. > > You can get and set the text of field 1 (inbuilt and visible in the PI) > You can get and set the htmlText of field 1 (inbuilt but not visible as raw > html in the PI) > You could create the xmlText of field 1 > You could create the csvText of field 1 > You could create the englishText of field 1 > You could create the latinText of field 1 > > The last four cases would be visible in the PI and could be edited from > within the PI (unlike the htmlText), they are very real, and if you fill > them with the complete works of William Shakespear, they'll take up a lot of > space. > > With enlishText/latinText, you could, depending on user interaction, display > the text as is: > > set the text of field 1 to the latinText of field 1 > > Or, in the case of xmlText/csvText, parse the text before displaying it, > much like the Engine currently does for htmlText > > put the csvText of field 1 into tempStore > replace comma with tab in tempStore > set the text of field 1 to tempStore > > Again, when your Ah Ha moment comes you'll know exactly what custom > properties are, how to work with them, how to see their contents, > everything, because you have already been working with the magic of > properties and the PI for a very long time. The only magic you don't > understand right now is what you are doing right now that could be done with > custom properties. > > My analogy for custom properties is they are like properties that you don't > know exist. Take the defaultMenubar for instance. You could spend years > makeing the exact same menubar for all your MainStacks and subStacks. It > works for you, they are real, you know how to amend them - it's a lot of > work in you need to add a menu item to the menuBar of 7 substacks. > > When someone tells you that there's a property 'the defaultMenubar' which > allows you to build one menuBar and have it appear for any substack you know > you can use that to your advantage, you know how to use it because you've > used other properties. You'll also wish someone told you about it years ago > ;-) > > HTH From mwieder at ahsoftware.net Fri May 1 22:09:28 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 1 May 2009 19:09:28 -0700 Subject: Dumb Newbie Questions -- 1 of N In-Reply-To: References: <03C4623F-BE57-4830-BDCA-426F7021BC8D@gmail.com> <05E4C789-8455-49B2-828D-A49F082BBEC3@elementarysoftware.com> <23329501.post@talk.nabble.com> <23337886.post@talk.nabble.com> <49FB4A8D.9030701@gmail.com> <425D7CA6-27EB-417B-8743-5DAD35F195A8@cox.net> <2E2379B1-3BCE-4C3B-8C27-F28A9D9EA0D1@cruzio.com> Message-ID: <93965697406.20090501190928@ahsoftware.net> Kay- Friday, May 1, 2009, 6:25:38 PM, you wrote: > My analogy for custom properties is they are like properties that you don't > know exist. Exactly. -- -Mark Wieder mwieder at ahsoftware.net From sarah.reichelt at gmail.com Fri May 1 22:26:54 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 2 May 2009 12:26:54 +1000 Subject: On-Rev scripting In-Reply-To: <66DBAD6E-8F2B-4AC1-A67E-68FA87D85A95@califex.com> References: <66DBAD6E-8F2B-4AC1-A67E-68FA87D85A95@califex.com> Message-ID: >> I have been playing around with on-rev, testing various things, >> learning how to write these scripts and having heaps of fun. Since we >> are all learning, I thought it would be useful to share what I have >> done, so I made a page that looks for all the irev files on my site >> and lists them out as links to the page and with links to show the >> actual scripts. > > ... > > Hi Sarah, > > I visited your site and the ease of scripting is really appealing. I can't > wait to get started! I noticed that in the 3 "include" files, you have a > block of functions that begin with "". > Is it "really" there, but not showing for a technical reason? or not needed? > According to Mark W. we are supposed to leave off the final ?> in include files that contain only Rev code. Here is a link to his engine notes: I found this file really good for getting started. Cheers, Sarah From scott at elementarysoftware.com Sat May 2 01:00:37 2009 From: scott at elementarysoftware.com (Scott Morrow) Date: Fri, 1 May 2009 22:00:37 -0700 Subject: Dumb Newbie Questions -- 1 of N In-Reply-To: References: Message-ID: On May 1, 2009, at 1:50 AM, Scott Rossi wrote: > You can think of custom properties as global variables that are tied > to > objects, instead of variables that float around in space. That's exactly how I think of them. Just containers. Except variables float around in space (local space or global space rather than outer space), where custom properties you have to say where the container lives (button 3 of card 1 or stack "MainWindow" rather than in the shed) Scott Morrow Elementary Software From martinblackman at gmail.com Sat May 2 02:09:23 2009 From: martinblackman at gmail.com (Martin Blackman) Date: Sat, 2 May 2009 14:09:23 +0800 Subject: property inspector poll In-Reply-To: <84EBB16D-64BD-468C-B3E4-EAAB0FF4158A@dvcreators.net> References: <84EBB16D-64BD-468C-B3E4-EAAB0FF4158A@dvcreators.net> Message-ID: <79d1bee70905012309j79ed8203m887afd3efc0ab1e0@mail.gmail.com> Check out the plug-in included with Rev called SmartProperties. I've noticed it is generating a script error probably due to some change in Rev but it should be pretty easy to fix I would think 2009/5/2 Josh Mellicker : > Thanks Craig, does it work with all objects, or just fields and buttons? > > Are you all working with the stock property inspector where you have to > access a menu to get to all the different property groups??!? Hard to > believe! > > > On May 1, 2009, at 6:46 AM, dunbarx at aol.com wrote: > >> My gadget is a rewrite of my HC development tool, though much smaller, >> since rev does many things it did, either better or natively. It is >> useful, for >> me at least, especially in the early authoring stage. In HC it was >> implemented as an external window (Dan Gelder's "MegaWindow"). In rev it >> is, of >> course, a stack. Maybe I will upload it to revOnLine, with instructions. >> It seems >> stable, and does do some very handy tasks. >> >> Craig Newman >> >> In a message dated 4/30/09 8:49:43 PM, josh at dvcreators.net writes: >> >> >>> Hi Craig, >>> >>> Where would I find more info on your gadget? >>> >>> Thanks >>> >> >> >> >> >> ************** >> Access 350+ FREE radio stations anytime from anywhere on the >> web. Get the Radio Toolbar! >> (http://toolbar.aol.com/aolradio/download.html?ncid=emlcntusdown00000003) >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 Sat May 2 03:25:22 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 02 May 2009 10:25:22 +0300 Subject: Dumb Newbie Questions -- 1 of N In-Reply-To: References: Message-ID: <49FBF562.2030501@gmail.com> It may be, of course, that the containers, cards and flip-book metaphor have had their day. It is obvious in this discussion that those of us who have hung on to it too literally have found ourselves confused. However, unless we (the loyal, installed user base) and Runtime Revolution (the people who do the 'real' work in Edinburgh) can work our way towards another metaphor to replace the one that we are slowly finding no longer serves our purposes we are going to find ourselves in some sort of conceptual quagmire; and, frankly, people who take up Runtime Revolution are going to find it less accessible. The problem about the word 'property' is that it now seems to be being used in 2 rather different senses, and I don't see how 'custom' can be classed as a sufficiently strong adjectival modifier to justify that difference. There is no reason that I can see to abandon the containers, cards and flip-book metaphor (even if, increasingly, programmers are only using a single card) if we realise that: An Object (Stack, Card, Button, Field . . . and so on) can 'contain' a number of things: script sub-ordinate objects etc. and, 'custom properties'. :( An Object can have properties (textColor, backgroundColor, visible . . . and so on). The ONLY problem is that something named 'property' is something that can be contained rather than be a property: so, either, somebody has to cook up a new name for 'custom properties' (err . . . 'custom thingy' . . . err . . . come on, somebody can do better than that), or, somebody has to write a fairly long bit about how users have to do mental backflips. -------------------------------------------------------------------------------------------------------- Of course, if you did not 'cut your teeth', or, at least 'cut your adult teeth' (having ruined your milk teeth on the likes of Fortran) on HyperCard and the containers, cards and flip-book metaphor, and you are not distracted by the stuff about that metaphor in RR's documentation, the whole problem is redundant. ------------------------------------------------------------------------------------------------------- The other problem is that I just had a look at "a" website marketing "a" programming environment that stated: "The unique English-like language . . ." [my dots] Now, if we start using words (such as 'property') for things or ideas that are way off from their standard or prototypical meanings there is a danger that we shall fall into Humpty-Dumptyism (c.f. Lewis Carroll's 'Alice in Wonderland'); and the 'unique' part of that quote above will only serve to obfuscate rather than clarify. --- Scott Morrow wrote: > > On May 1, 2009, at 1:50 AM, Scott Rossi wrote: > >> You can think of custom properties as global variables that are tied to >> objects, instead of variables that float around in space. > > That's exactly how I think of them. Just containers. Except > variables float around in space (local space or global space rather > than outer space), where custom properties you have to say where the > container lives (button 3 of card 1 or stack "MainWindow" rather than > in the shed) > > Scott Morrow > Elementary 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 bdrunrev at gmail.com Sat May 2 03:29:49 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sat, 2 May 2009 08:29:49 +0100 Subject: Must be a way: escaping filter patterns In-Reply-To: References: Message-ID: does this work? filter tXmlText with "*tr[[2]]" When you wrote to the list about this problem before, I did a quick test and that seemed to work, so I thought "maybe I don't get the problem". I'm not sure if it will work using "[[*]]" Bernard On Fri, May 1, 2009 at 9:11 PM, David Bovill wrote: > Still trying to figure this out - my hack ends up failing - I've returned a > list of child names from XML, and wish to filter out all the "" elements > which appear like tr[1], tr[2]. So I want to filter using "tr[*]", but as > "[" is a special char... andthe usual "\[" does not work for escaping? Any > ideas? > > 2009/4/24 David Bovill > >> Any one know the way to escape characters such as "[" in patterns for the >> "filter" expression? >> > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Sat May 2 03:42:09 2009 From: francois.chaplais at mines-paristech.fr (=?ISO-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Sat, 2 May 2009 09:42:09 +0200 Subject: rev dictionary blocked In-Reply-To: References: <03C4623F-BE57-4830-BDCA-426F7021BC8D@gmail.com> Message-ID: <8D86AE55-C98C-421A-BC1C-688ED6EE8F8F@mines-paristech.fr> Le 30 avr. 09 ? 17:49, Bj?rnke von Gierke a ?crit : > I have no clue what it could be, but as the docu is all rev code, > you could theoretically try to find a fix yourself... > > If you'd rather just have the documentation without doing any > coding, and reinstalling rev is too hassle some, maybe i can > persuade you to try my documentation replacement: > > http://bjoernke.com/runrev/bvgdocu.php > > > have fun > Bj?rnke > > something seems to be broken with version 3.5. using my dict stack (and your own bvgdocu); the dictionnary stacks were created but "parentscript" could not be found; although it appears in revolution's dictionnay. In bvgdocu, there lacks a link between the index entry "parentscript property" and the appropriate doc. Best, Fran?ois From francois.chaplais at mines-paristech.fr Sat May 2 04:22:05 2009 From: francois.chaplais at mines-paristech.fr (=?ISO-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Sat, 2 May 2009 10:22:05 +0200 Subject: rev dictionary blocked In-Reply-To: <8D86AE55-C98C-421A-BC1C-688ED6EE8F8F@mines-paristech.fr> References: <03C4623F-BE57-4830-BDCA-426F7021BC8D@gmail.com> <8D86AE55-C98C-421A-BC1C-688ED6EE8F8F@mines-paristech.fr> Message-ID: > something seems to be broken with version 3.5. using my dict stack > (and your own bvgdocu); the dictionnary stacks were created but > "parentscript" could not be found; although it appears in > revolution's dictionnay. In bvgdocu, there lacks a link between the > index entry "parentscript property" and the appropriate doc. > > Best, > Fran?ois > actually I did a spotlight search for "parentscript" and found a couple of XML files. In my stack (which use Bj?rke's library), "parentscript property" point to "behavior property"; "parentscript" sits there as a synonym. Also, correct me if I am wrong, but there does not seem to be any entry with "datagrid" in it. Will this be for a next update? Best, Fran?ois From richmondmathewson at gmail.com Sat May 2 04:51:59 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 02 May 2009 11:51:59 +0300 Subject: Dumb Newbie Questions -- 3 of N Message-ID: <49FC09AF.9090509@gmail.com> I set up a stack with a button "Holder" which contains 3 custom properties: dataDish custardPie sexyMessage containing, respectively, tab-delimited data, a number, and a string. All very straightforward . . . However, when I tried this: on mouseUp put the customProperties of btn "Holder" into fld "fPROPS" end mouseUp nothing happened, and, confusingly, I had to do this instead: on mouseUp put the customKeys of btn "Holder" into fld "fPROPS" end mouseUp at which point I got a list of the names of the customProperties of button "Holder". Dumb Q: why do we have to use 'customKeys', while 'customProperties' refers to something else? 'userProperties' doesn't seem particularly clearer. 'customPropertySet' made me run away into the kitchen for a strong cup of coffee: "Great fleas have little fleas upon their backs to bite 'em, And little fleas have lesser fleas, and so ad infinitum." From th.douez at gmail.com Sat May 2 05:07:03 2009 From: th.douez at gmail.com (Thierry) Date: Sat, 2 May 2009 11:07:03 +0200 Subject: Dumb Newbie Questions -- 3 of N In-Reply-To: <49FC09AF.9090509@gmail.com> References: <49FC09AF.9090509@gmail.com> Message-ID: <31A88B41-DE47-4730-8604-584EFFD45020@gmail.com> Le 2 mai 09 ? 10:51, Richmond Mathewson a ?crit : > However, when I tried this: > > on mouseUp > put the customProperties of btn "Holder" into fld "fPROPS" > end mouseUp > > nothing happened, and, confusingly, I had to do this instead: customProperties gives you an array ! > on mouseUp > put the customKeys of btn "Holder" into fld "fPROPS" > end mouseUp > > at which point I got a list of the names of the customProperties of > button "Holder". the *names* are in fact the keys of the customproperties. In Revolution User Guide, chapter 7.9 all this is explain quite well..... HTH, Thierry From david.bovill at gmail.com Sat May 2 07:26:50 2009 From: david.bovill at gmail.com (David Bovill) Date: Sat, 2 May 2009 12:26:50 +0100 Subject: Must be a way: escaping filter patterns In-Reply-To: References: Message-ID: Afraid not :( 2009/5/2 Bernard Devlin > does this work? > > filter tXmlText with "*tr[[2]]" > > When you wrote to the list about this problem before, I did a quick > test and that seemed to work, so I thought "maybe I don't get the > problem". > > I'm not sure if it will work using "[[*]]" > > Bernard > > On Fri, May 1, 2009 at 9:11 PM, David Bovill wrote: > > Still trying to figure this out - my hack ends up failing - I've returned > a > > list of child names from XML, and wish to filter out all the "" > elements > > which appear like tr[1], tr[2]. So I want to filter using "tr[*]", but as > > "[" is a special char... andthe usual "\[" does not work for escaping? > Any > > ideas? > > > > 2009/4/24 David Bovill > > > >> Any one know the way to escape characters such as "[" in patterns for > the > >> "filter" expression? > >> > > _______________________________________________ > > use-revolution mailing list > > use-revolution 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 mwieder at ahsoftware.net Sat May 2 10:58:40 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 2 May 2009 07:58:40 -0700 Subject: rev dictionary blocked In-Reply-To: References: <03C4623F-BE57-4830-BDCA-426F7021BC8D@gmail.com> <8D86AE55-C98C-421A-BC1C-688ED6EE8F8F@mines-paristech.fr> Message-ID: <901011849359.20090502075840@ahsoftware.net> Fran?ois- Saturday, May 2, 2009, 1:22:05 AM, you wrote: > actually I did a spotlight search for "parentscript" and found a > couple of XML files. In my stack (which use Bj?rke's library), > "parentscript property" point to "behavior property"; "parentscript" > sits there as a synonym. The keyword "parentscript" was used in some early 3.5 betas as a synonym for "behavior", but its use is now deprecated and really shouldn't be used in scripts. See the Note at the end of the entry for behavior in the dictionary. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Sat May 2 12:47:15 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 02 May 2009 11:47:15 -0500 Subject: Dumb Newbie Questions -- 1 of N In-Reply-To: <49FBF562.2030501@gmail.com> References: <49FBF562.2030501@gmail.com> Message-ID: <49FC7913.1030405@hyperactivesw.com> Richmond Mathewson wrote: > The ONLY problem is that something named 'property' is something that > can be > contained rather than be a property: so, either, somebody has to cook up > a new > name for 'custom properties' (err . . . 'custom thingy' . . . err . . . > come on, somebody > can do better than that), or, somebody has to write a fairly long bit > about how > users have to do mental backflips. I don't think the shoe has dropped for you yet. *All* properties contain something, and all are assigned to a specific object (the assignment is what you are calling "contained by", which probably isn't exactly the right concept.) Every native property has both a name and a value, and is attached to an object. Custom properties are no different. The native property called "name" contains a string like "myName" and is assigned to the object that has that name. The property "textColor" contains an RGB value and is assigned to a button or field you are asking about. The property "location" contains a set of 2 numbers and is assigned to the object at that location. The property "myCustomProp" contains whatever value you want to give it and is assigned to any object you choose. There is no practical difference, and all are properties. The only thing that is effectively different is that you can invent your own property names, assign them to an object of your choice, and fill them with any value you want to store. It really is simpler than you're trying to make it. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From palcibiades-first at yahoo.co.uk Sat May 2 12:50:05 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 2 May 2009 09:50:05 -0700 (PDT) Subject: Dumb Newbie Questions -- 3 of N In-Reply-To: <49FC09AF.9090509@gmail.com> References: <49FC09AF.9090509@gmail.com> Message-ID: <23348175.post@talk.nabble.com> Richmond, I think you may be making it too complicated. You are right about the terminology of course, it doesn't help. I've never found any need to create a custom property of a button and find it a bit hard to guess why one would. But in any case, if you want to experiment with CPs, why not just start out creating custom properties of the stack, then you can always refer to them as 'the xxx of this stack'. Then putting and reading and so on works just fine in the usual way. There is probably a lot more to it than this, but just to start out with, it really is this simple. Also, if all your CPs are properties of the stack they are all in one place and will not wander off and get lost which makes life simpler. Peter -- View this message in context: http://www.nabble.com/Dumb-Newbie-Questions----3-of-N-tp23344258p23348175.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Sat May 2 13:49:37 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 02 May 2009 12:49:37 -0500 Subject: Dumb Newbie Questions -- 3 of N In-Reply-To: <49FC09AF.9090509@gmail.com> References: <49FC09AF.9090509@gmail.com> Message-ID: <49FC87B1.6010402@hyperactivesw.com> Richmond Mathewson wrote: > I set up a stack with a button "Holder" which contains 3 custom properties: > > dataDish > custardPie > sexyMessage > > containing, respectively, tab-delimited data, a number, and a string. > > All very straightforward . . . > > However, when I tried this: > > on mouseUp > put the customProperties of btn "Holder" into fld "fPROPS" > end mouseUp > > nothing happened, and, confusingly, I had to do this instead: As was mentioned, sets of properties are stored as arrays. If you inspect the array itself, you'll see your data. Let's try something simple. Suppose you have a card with lots of buttons that the user can move around; maybe your script uses the "grab" command to let them drag the butons. Now you want a way to reset the card to its native state that puts all the buttons back to their original positions. Buttons have a "loc" property, but that only stores the current position of the button at this moment, and the engine will update that value every time the button moves. There isn't any native property that tells you where the button started from, but we can make a custom property that does that. We'll call it the "startLoc" and each moveable button will need to have that property assigned to it. Before the user has a chance to drag anything (maybe during development, or during preopencard) you run a little handler that sets that property for each button: on setBtnLocs repeat with x = 1 to the number of btns set the startLoc of btn x to the loc of btn x end repeat end setBtnLocs Now each button has a custom property called "startLoc", and the value of the property for each button is it's current position. Now you're ready to grab the buttons and move them all around till nothing is in the right place any more. Then you can click a "Reset" button which puts them all back with this simple script: on mouseUp repeat with x = 1 to the number of btns set the loc of btn x to the startLoc of btn x end repeat end mouseUp Your custom property "startLoc" acts just like any other property. The only difference is that the engine doesn't create or update it, you do. I can think of several other ways to store each button's start position, but none of them are this simple, and none of them tie the correct value to each button individually the way having a custom property does. The startLoc of each button becomes an integral attribute of the button just like its color or its name, and is the only way to accomplish this example with any degree of efficiency. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jperryl at ecs.fullerton.edu Sat May 2 14:29:42 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sat, 2 May 2009 11:29:42 -0700 (PDT) Subject: Dumb Newbie Questions -- 1 of N In-Reply-To: <49FC7913.1030405@hyperactivesw.com> References: <49FBF562.2030501@gmail.com> <49FC7913.1030405@hyperactivesw.com> Message-ID: Nice explanation, Jacque! Judy On Sat, 2 May 2009, J. Landman Gay wrote: > I don't think the shoe has dropped for you yet. *All* properties contain > something, and all are assigned to a specific object (the assignment is what > you are calling "contained by", which probably isn't exactly the right > concept.) Every native property has both a name and a value, and is attached > to an object. Custom properties are no different. The native property called > "name" contains a string like "myName" and is assigned to the object that has > that name. The property "textColor" contains an RGB value and is assigned to > a button or field you are asking about. The property "location" contains a > set of 2 numbers and is assigned to the object at that location. The property > "myCustomProp" contains whatever value you want to give it and is assigned to > any object you choose. > > There is no practical difference, and all are properties. The only thing that > is effectively different is that you can invent your own property names, > assign them to an object of your choice, and fill them with any value you > want to store. > > It really is simpler than you're trying to make 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 jperryl at ecs.fullerton.edu Sat May 2 14:33:24 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sat, 2 May 2009 11:33:24 -0700 (PDT) Subject: Dumb Newbie Questions -- 3 of N In-Reply-To: <49FC87B1.6010402@hyperactivesw.com> References: <49FC09AF.9090509@gmail.com> <49FC87B1.6010402@hyperactivesw.com> Message-ID: Aha! Now THAT's something I could find useful! (celebrating little aha moment). Thank you! :-D Judy On Sat, 2 May 2009, J. Landman Gay wrote: > Let's try something simple. Suppose you have a card with lots of buttons that > the user can move around; maybe your script uses the "grab" command to let > them drag the butons. Now you want a way to reset the card to its native > state that puts all the buttons back to their original positions. > > Buttons have a "loc" property, but that only stores the current position of > the button at this moment, and the engine will update that value every time > the button moves. There isn't any native property that tells you where the > button started from, but we can make a custom property that does that. From jimaultwins at yahoo.com Sat May 2 15:03:38 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Sat, 2 May 2009 12:03:38 -0700 Subject: Must be a way: escaping filter patterns In-Reply-To: References: Message-ID: <3AA8A48A-8217-4BA6-9EA1-688E0532E6BC@yahoo.com> The technique I have used in the past is to do a replace "[" with "?" in blockOfLines replace "]" with "^" in blockOfLines filter blockOfLines without "tr??*^^" --and in case there are kept lines that had the '[]' chars replace "?" with "[" in blockOfLines replace "^" with "]" in blockOfLines Hope this helps Jim Ault Las Vegas On May 2, 2009, at 4:26 AM, David Bovill wrote: > Afraid not :( > > 2009/5/2 Bernard Devlin > >> does this work? >> >> filter tXmlText with "*tr[[2]]" >> >> When you wrote to the list about this problem before, I did a quick >> test and that seemed to work, so I thought "maybe I don't get the >> problem". >> >> I'm not sure if it will work using "[[*]]" >> >> Bernard >> >> On Fri, May 1, 2009 at 9:11 PM, David Bovill >> wrote: >>> Still trying to figure this out - my hack ends up failing - I've >>> returned >> a >>> list of child names from XML, and wish to filter out all the "" >> elements >>> which appear like tr[1], tr[2]. So I want to filter using "tr[*]", >>> but as >>> "[" is a special char... andthe usual "\[" does not work for >>> escaping? >> Any >>> ideas? >>> >>> 2009/4/24 David Bovill >>> >>>> Any one know the way to escape characters such as "[" in patterns >>>> for >> the >>>> "filter" expression? From francois.chaplais at mines-paristech.fr Sat May 2 15:10:38 2009 From: francois.chaplais at mines-paristech.fr (=?ISO-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Sat, 2 May 2009 21:10:38 +0200 Subject: rev dictionary blocked In-Reply-To: <901011849359.20090502075840@ahsoftware.net> References: <03C4623F-BE57-4830-BDCA-426F7021BC8D@gmail.com> <8D86AE55-C98C-421A-BC1C-688ED6EE8F8F@mines-paristech.fr> <901011849359.20090502075840@ahsoftware.net> Message-ID: Le 2 mai 09 ? 16:58, Mark Wieder a ?crit : > Fran?ois- > > Saturday, May 2, 2009, 1:22:05 AM, you wrote: > >> actually I did a spotlight search for "parentscript" and found a >> couple of XML files. In my stack (which use Bj?rke's library), >> "parentscript property" point to "behavior property"; "parentscript" >> sits there as a synonym. > > The keyword "parentscript" was used in some early 3.5 betas as a > synonym for "behavior", but its use is now deprecated and really > shouldn't be used in scripts. See the Note at the end of the entry for > behavior in the dictionary. > thank you very much. Actually this started from a rev PDF entitled "REVOLUTION 3.5: BEHAVIOURS" which used "parentscript" (PDF was last modified April 10, and was downloaded from runrev/..../documents/ behaviors-1.pdf). cheers Fran?ois From mdswindell at cruzio.com Sat May 2 15:43:04 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Sat, 2 May 2009 12:43:04 -0700 Subject: Dumb Newbie Questions -- 1 of N In-Reply-To: <49FC7913.1030405@hyperactivesw.com> References: <49FBF562.2030501@gmail.com> <49FC7913.1030405@hyperactivesw.com> Message-ID: Dang, you're good, Jacqueline. Mark On May 2, 2009, at 9:47 AM, J. Landman Gay wrote: > Richmond Mathewson wrote: > >> The ONLY problem is that something named 'property' is something >> that can be >> contained rather than be a property: so, either, somebody has to >> cook up a new >> name for 'custom properties' (err . . . 'custom thingy' . . . >> err . . . come on, somebody >> can do better than that), or, somebody has to write a fairly long >> bit about how >> users have to do mental backflips. > > I don't think the shoe has dropped for you yet. *All* properties > contain something, and all are assigned to a specific object (the > assignment is what you are calling "contained by", which probably > isn't exactly the right concept.) Every native property has both a > name and a value, and is attached to an object. Custom properties > are no different. The native property called "name" contains a > string like "myName" and is assigned to the object that has that > name. The property "textColor" contains an RGB value and is assigned > to a button or field you are asking about. The property "location" > contains a set of 2 numbers and is assigned to the object at that > location. The property "myCustomProp" contains whatever value you > want to give it and is assigned to any object you choose. > > There is no practical difference, and all are properties. The only > thing that is effectively different is that you can invent your own > property names, assign them to an object of your choice, and fill > them with any value you want to store. > > It really is simpler than you're trying to make 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 jim at visitrieve.com Sat May 2 15:48:04 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Sat, 2 May 2009 09:48:04 -1000 Subject: Dumb Newbie Questions -- 3 of N In-Reply-To: <49FC87B1.6010402@hyperactivesw.com> References: <49FC09AF.9090509@gmail.com> <49FC87B1.6010402@hyperactivesw.com> Message-ID: <013c01c9cb5e$e8f6e9f0$bae4bdd0$@com> You're just TOO good at explaining things, Jacque! :-) Jacque wrote: > Let's try something simple. Suppose you have a card with lots of > buttons > that the user can move around; maybe your script uses the "grab" > command > to let them drag the butons. Now you want a way to reset the card to > its > native state that puts all the buttons back to their original > positions. > > Buttons have a "loc" property, but that only stores the current > position > of the button at this moment, and the engine will update that value > every time the button moves. There isn't any native property that tells > you where the button started from, but we can make a custom property > that does that. We'll call it the "startLoc" and each moveable button > will need to have that property assigned to it. Before the user has a > chance to drag anything (maybe during development, or during > preopencard) you run a little handler that sets that property for each > button: > > on setBtnLocs > repeat with x = 1 to the number of btns > set the startLoc of btn x to the loc of btn x > end repeat > end setBtnLocs > > Now each button has a custom property called "startLoc", and the value > of the property for each button is it's current position. > > Now you're ready to grab the buttons and move them all around till > nothing is in the right place any more. Then you can click a "Reset" > button which puts them all back with this simple script: > > on mouseUp > repeat with x = 1 to the number of btns > set the loc of btn x to the startLoc of btn x > end repeat > end mouseUp > > Your custom property "startLoc" acts just like any other property. The > only difference is that the engine doesn't create or update it, you do. > > I can think of several other ways to store each button's start > position, > but none of them are this simple, and none of them tie the correct > value > to each button individually the way having a custom property does. The > startLoc of each button becomes an integral attribute of the button > just > like its color or its name, and is the only way to accomplish this > example with any degree of efficiency. > > -- > 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 bvg at mac.com Sat May 2 16:20:14 2009 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 02 May 2009 22:20:14 +0200 Subject: rev dictionary blocked In-Reply-To: <8D86AE55-C98C-421A-BC1C-688ED6EE8F8F@mines-paristech.fr> References: <03C4623F-BE57-4830-BDCA-426F7021BC8D@gmail.com> <8D86AE55-C98C-421A-BC1C-688ED6EE8F8F@mines-paristech.fr> Message-ID: Hi all It seems BvGDocu is broken slightly, by a change in the docu.index fileformat of rev 3.5 (tho i wonder why it never cropped up before, as it's a very simple scripting error regarding a trailing return in a list). I have put version 1.3 of bvg docu up on the website: http://bjoernke.com/runrev/bvgdocu.php have fun bjoernke On 2 May 2009, at 09:42, Fran?ois Chaplais wrote: > > Le 30 avr. 09 ? 17:49, Bj?rnke von Gierke a ?crit : > >> I have no clue what it could be, but as the docu is all rev code, >> you could theoretically try to find a fix yourself... >> >> If you'd rather just have the documentation without doing any >> coding, and reinstalling rev is too hassle some, maybe i can >> persuade you to try my documentation replacement: >> >> http://bjoernke.com/runrev/bvgdocu.php >> >> >> have fun >> Bj?rnke >> >> > something seems to be broken with version 3.5. using my dict stack > (and your own bvgdocu); the dictionnary stacks were created but > "parentscript" could not be found; although it appears in > revolution's dictionnay. In bvgdocu, there lacks a link between the > index entry "parentscript property" and the appropriate doc. > > 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 richmondmathewson at gmail.com Sat May 2 16:36:33 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 02 May 2009 23:36:33 +0300 Subject: Dumb Newbie Questions -- 3 of N In-Reply-To: <013c01c9cb5e$e8f6e9f0$bae4bdd0$@com> References: <49FC09AF.9090509@gmail.com> <49FC87B1.6010402@hyperactivesw.com> <013c01c9cb5e$e8f6e9f0$bae4bdd0$@com> Message-ID: <49FCAED1.2060104@gmail.com> Seems a lot clearer now! Thank you, Jacque. Jim Bufalini wrote: > You're just TOO good at explaining things, Jacque! :-) > > Jacque wrote: > > >> Let's try something simple. Suppose you have a card with lots of >> buttons >> that the user can move around; maybe your script uses the "grab" >> command >> to let them drag the butons. Now you want a way to reset the card to >> its >> native state that puts all the buttons back to their original >> positions. >> >> Buttons have a "loc" property, but that only stores the current >> position >> of the button at this moment, and the engine will update that value >> every time the button moves. There isn't any native property that tells >> you where the button started from, but we can make a custom property >> that does that. We'll call it the "startLoc" and each moveable button >> will need to have that property assigned to it. Before the user has a >> chance to drag anything (maybe during development, or during >> preopencard) you run a little handler that sets that property for each >> button: >> >> on setBtnLocs >> repeat with x = 1 to the number of btns >> set the startLoc of btn x to the loc of btn x >> end repeat >> end setBtnLocs >> >> Now each button has a custom property called "startLoc", and the value >> of the property for each button is it's current position. >> >> Now you're ready to grab the buttons and move them all around till >> nothing is in the right place any more. Then you can click a "Reset" >> button which puts them all back with this simple script: >> >> on mouseUp >> repeat with x = 1 to the number of btns >> set the loc of btn x to the startLoc of btn x >> end repeat >> end mouseUp >> >> Your custom property "startLoc" acts just like any other property. The >> only difference is that the engine doesn't create or update it, you do. >> >> I can think of several other ways to store each button's start >> position, >> but none of them are this simple, and none of them tie the correct >> value >> to each button individually the way having a custom property does. The >> startLoc of each button becomes an integral attribute of the button >> just >> like its color or its name, and is the only way to accomplish this >> example with any degree of efficiency. >> >> -- >> 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 shaosean at wehostmacs.com Sat May 2 16:37:10 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Sat, 2 May 2009 16:37:10 -0400 Subject: data grid, custom sorting Message-ID: I have raw file sizes in bytes (as is customary) but am displaying it formatted (KB, MB, etc) but the sorting of the column is obviously not sorted correctly. Is there a way to sort on the actual data in the dgData so the it sorts correctly? Or failing that, if I hide a column with the raw file sizes and trap the header sorting, is there a way to sort on the "size" column but have the header selected on the "sizeFormatted" column? From jacques.hausser at unil.ch Sat May 2 16:52:46 2009 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Sat, 2 May 2009 22:52:46 +0200 Subject: Dumb Newbie Questions -- 3 of N In-Reply-To: <49FCAED1.2060104@gmail.com> References: <49FC09AF.9090509@gmail.com> <49FC87B1.6010402@hyperactivesw.com> <013c01c9cb5e$e8f6e9f0$bae4bdd0$@com> <49FCAED1.2060104@gmail.com> Message-ID: <80633F6E-19B6-4E98-965B-E01012EA9BC2@unil.ch> Hello everybody, Just to put my "grano salis" in this discussion: runrev (and its ancestors) evolved rather biologically and a bit erratically, like any organism or any natural language. Several users from time to time claim to put more logic in its structures. I feel it is not only hopeless, but totally unrealistic. A fully logic system becomes either immediately fossilized or evolves out from the splendidly logical structure of its beginning. Curstom properties CAN be properties, as Jacque showed so well (in an application, I have flying hummingbirds with CP like "PerchLoc", "NestLoc" and so on. They are quite similar to the original properties). But the people who imagined CP asked themselves: it's any reason to limit CP to THAT, since they can be far more powerful ? And of course it was no good reason to limit the scope of this new feature. As for the names; Darwin himself has made a rather bad choice in naming the natural selection "Natural selection", because selection implies somebody acting to select organisms. "Natural filter" or "Ecological sieve" would have been better. Perhaps. But natural selection it is, and custom properties they are. It's just so, and we have to learn their meaning. Every name in our pet programming language is an analogy: you don't plow your fields, you don't fasten your buttons, and you cannot tear your cards in little bits (sometimes I wish to do just that ! ). And, to mention a linked question, in my view "parent script", whith it's heritability dye, was not less logical than "behavior", just emphasising (good english?) another characteristic of the same feature. I don't see one nickname as more logical than the other one. Jacques (with s), in a philosophical mood... Le 2 mai 2009 ? 22:36, Richmond Mathewson a ?crit : > Seems a lot clearer now! Thank you, Jacque. > ****************************************** 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 jim at visitrieve.com Sat May 2 17:10:07 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Sat, 2 May 2009 11:10:07 -1000 Subject: Dumb Newbie Questions -- 3 of N In-Reply-To: <80633F6E-19B6-4E98-965B-E01012EA9BC2@unil.ch> References: <49FC09AF.9090509@gmail.com> <49FC87B1.6010402@hyperactivesw.com> <013c01c9cb5e$e8f6e9f0$bae4bdd0$@com> <49FCAED1.2060104@gmail.com> <80633F6E-19B6-4E98-965B-E01012EA9BC2@unil.ch> Message-ID: <013d01c9cb6a$5f720690$1e5613b0$@com> Jacques Hausser wrote: >...Every name in our pet programming > language is an analogy: you don't plow your fields, you don't fasten > your buttons, and you cannot tear your cards in little bits (sometimes > I wish to do just that ! ). > And, to mention a linked question, in my view "parent script", whith > it's heritability dye, was not less logical than "behavior", just > emphasising (good english?) another characteristic of the same > feature. I don't see one nickname as more logical than the other one. And, let's not forget Stack. I mean what does that have to do with pancakes, chimneys, or well-developed women? ;-) Aloha from Hawaii, Jim Bufalini From francois.chaplais at mines-paristech.fr Sat May 2 17:57:19 2009 From: francois.chaplais at mines-paristech.fr (=?ISO-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Sat, 2 May 2009 23:57:19 +0200 Subject: Dumb Newbie Questions -- 3 of N In-Reply-To: <013d01c9cb6a$5f720690$1e5613b0$@com> References: <49FC09AF.9090509@gmail.com> <49FC87B1.6010402@hyperactivesw.com> <013c01c9cb5e$e8f6e9f0$bae4bdd0$@com> <49FCAED1.2060104@gmail.com> <80633F6E-19B6-4E98-965B-E01012EA9BC2@unil.ch> <013d01c9cb6a$5f720690$1e5613b0$@com> Message-ID: Le 2 mai 09 ? 23:10, Jim Bufalini a ?crit : > Jacques Hausser wrote: > >> ...Every name in our pet programming >> language is an analogy: you don't plow your fields, you don't fasten >> your buttons, and you cannot tear your cards in little bits >> (sometimes >> I wish to do just that ! ). >> And, to mention a linked question, in my view "parent script", whith >> it's heritability dye, was not less logical than "behavior", just >> emphasising (good english?) another characteristic of the same >> feature. I don't see one nickname as more logical than the other one. > > And, let's not forget Stack. I mean what does that have to do with > pancakes, > chimneys, or well-developed women? ;-) and what about revolution? :-))))))) From jacques.hausser at unil.ch Sat May 2 18:12:12 2009 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Sun, 3 May 2009 00:12:12 +0200 Subject: Dumb Newbie Questions -- 3 of N In-Reply-To: References: <49FC09AF.9090509@gmail.com> <49FC87B1.6010402@hyperactivesw.com> <013c01c9cb5e$e8f6e9f0$bae4bdd0$@com> <49FCAED1.2060104@gmail.com> <80633F6E-19B6-4E98-965B-E01012EA9BC2@unil.ch> <013d01c9cb6a$5f720690$1e5613b0$@com> Message-ID: <39CBAE82-D42E-4F86-B6BC-6B9B09E1F8C3@unil.ch> Le 2 mai 2009 ? 23:57, Fran?ois Chaplais a ?crit : > > Le 2 mai 09 ? 23:10, Jim Bufalini a ?crit : > >> Jacques Hausser wrote: >> >>> ...Every name in our pet programming >>> language is an analogy: you don't plow your fields, you don't fasten >>> your buttons, and you cannot tear your cards in little bits >>> (sometimes >>> I wish to do just that ! ). >>> And, to mention a linked question, in my view "parent script", whith >>> it's heritability dye, was not less logical than "behavior", just >>> emphasising (good english?) another characteristic of the same >>> feature. I don't see one nickname as more logical than the other >>> one. >> >> And, let's not forget Stack. I mean what does that have to do with >> pancakes, >> chimneys, or well-developed women? ;-) or hay ? It's the place to seek for the famous needle... > and what about revolution? :-))))))) Trois petits tours, et puis s'en vont,,, A revolution is a circular move coming back to it's starting point, no ? Metaphor is as dangerous as appealing. But you cannot do without. 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 shaosean at wehostmacs.com Sat May 2 18:45:54 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Sat, 2 May 2009 18:45:54 -0400 Subject: data grid - contextual menu Message-ID: I am popping up a contextual menu on mouseDown with button 3 (ie. right-click, control-click) but the data grid list is not getting hilighted so the old hilighted line's information is showing up.. I have tried "click button 1 at the mouseLoc" before popping up my menu but to no avail. Anyone tackle this issue yet? From sarah.reichelt at gmail.com Sat May 2 19:16:45 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 3 May 2009 09:16:45 +1000 Subject: Fwd: data grid, custom sorting In-Reply-To: References: Message-ID: On Sun, May 3, 2009 at 6:37 AM, Shao Sean wrote: > I have raw file sizes in bytes (as is customary) but am displaying it > formatted (KB, MB, etc) but the sorting of the column is obviously not > sorted correctly. Is there a way to sort on the actual data in the dgData so > the it sorts correctly? Or failing that, if I hide a column with the raw > file sizes and trap the header sorting, is there a way to sort on the "size" > column but have the header selected on the "sizeFormatted" column? Sounds like time for one of Jacque's brilliant custom sort functions, assuming you can do that with a datagrid. I think it would be something like this, but I'm sure Jacque will correct me if I have it wrong: sort lines of fld "Whatever" by sizeSort(item 3 of each) function sizeSort pSize if word 2 of pSize = "KB" then return pSize * 1024 else if word 2 of pSize = "MB" then return pSize * 1024 * 1024 else return pSize end if end sizeSort Cheers, Sarah From shaosean at wehostmacs.com Sat May 2 19:34:26 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Sat, 2 May 2009 19:34:26 -0400 Subject: data grid - contextual menu Message-ID: [apologize in advanced if this is a double post] This seems to work and unless Trevor chimes in and says not to do it this way, it seems to work just fine on mouseDown pButton if (pButton = 3) then -- right click dgMouseDown pButton # do context menu stuff else pass mouseDown end if end mouseDown Also if you want to check if the user has clicked in the header of the table: if (the short name of the owner of the owner of the target = "dgHeader") then From cs at suppsearch.com Sat May 2 19:49:55 2009 From: cs at suppsearch.com (Warren Kuhl) Date: Sat, 02 May 2009 18:49:55 -0500 Subject: Anyone Still Using v3 or earlier? Message-ID: <49FCDC23.7050901@suppsearch.com> I found a great html field editor in RevOnline (in the general category) when I was on v3. My problem is I upgraded to v3.5 and the RevOnline also upgraded and now I can't download the editor. If someone is on v3 and could send me the html editor.I would be very grateful! Thanks for any help! Warren cs at suppsearch.com From shaosean at wehostmacs.com Sat May 2 20:04:49 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Sat, 2 May 2009 20:04:49 -0400 Subject: Anyone Still Using v3 or earlier? Message-ID: <522FC390-4552-4175-88EF-43B0294E7A0A@wehostmacs.com> I have no issues getting it for you but you will need to provide a name because a cursory glance did not show anything with HTML in the name From jperryl at ecs.fullerton.edu Sat May 2 20:06:11 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sat, 2 May 2009 17:06:11 -0700 (PDT) Subject: Anyone Still Using v3 or earlier? In-Reply-To: <522FC390-4552-4175-88EF-43B0294E7A0A@wehostmacs.com> References: <522FC390-4552-4175-88EF-43B0294E7A0A@wehostmacs.com> Message-ID: I think I found it; already sent it to him. Judy On Sat, 2 May 2009, Shao Sean wrote: > I have no issues getting it for you but you will need to provide a name > because a cursory glance did not show anything with HTML in the name > _______________________________________________ > use-revolution mailing list > use-revolution at 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 rcn.com Sat May 2 20:07:20 2009 From: coiin at rcn.com (Colin Holgate) Date: Sat, 2 May 2009 20:07:20 -0400 Subject: Anyone Still Using v3 or earlier? In-Reply-To: <49FCDC23.7050901@suppsearch.com> References: <49FCDC23.7050901@suppsearch.com> Message-ID: On May 2, 2009, at 7:49 PM, Warren Kuhl wrote: > I found a great html field editor in RevOnline (in the general > category) when I was on v3. My problem is I upgraded to v3.5 and > the RevOnline also upgraded and now I can't download the editor. If > someone is on v3 and could send me the html editor.I would be very > grateful! What is it called, and which section is it in? Or which user space is it in? From shaosean at wehostmacs.com Sat May 2 20:09:14 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Sat, 2 May 2009 20:09:14 -0400 Subject: data grid - header sorting (fix) Message-ID: <39CE390E-E7B6-4F26-B923-12D733729662@wehostmacs.com> Sorting when clicking a header should happen on mouseUp not mouseDown, so you just need to modify the code in stack "revDataGridLibrary", card 1, button "Default Header" In the "mouseDown" handler, comment out the line "_HeaderToggleSortOfColumn" Add: on mouseUp pMouseBtnNum if pMouseBtnNum is 1 then ## Change the sort of the column ## _HeaderToggleSortOfColumn is a helper that resizes in the parent group script. ## It toggles the sort of the column based on current state of column. _HeaderToggleSortOfColumn the dgColumn of me end if end mouseUp Save and now all your data grids function correctly :) BugZilla ID 8021 http://quality.runrev.com/qacenter/show_bug.cgi?id=8021 From shaosean at wehostmacs.com Sat May 2 20:12:33 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Sat, 2 May 2009 20:12:33 -0400 Subject: data grid, custom sorting Message-ID: <6E07DF41-2C4D-4D1A-A13B-C9EAE76247F7@wehostmacs.com> Thank you for the prompt reply but doing custom sorts only gives you the column name and no data so would still need to go through the array, but I have been taking apart the data grid script and am getting a solution that I will share once I get the hiliting of the headers working.. From cs at suppsearch.com Sat May 2 20:38:01 2009 From: cs at suppsearch.com (Warren Kuhl) Date: Sat, 02 May 2009 19:38:01 -0500 Subject: Anyone Still Using v3 or earlier? In-Reply-To: References: <522FC390-4552-4175-88EF-43B0294E7A0A@wehostmacs.com> Message-ID: <49FCE769.6070308@suppsearch.com> Thanks everyone for looking into this for me. Judy sent me the stack I was looking for. I really appreciate everyone going out of their way for me...especially Judy for sending me the stack!!! Have a wonderful weekend!!!! Warren Judy Perry wrote: > I think I found it; already sent it to him. > > Judy > > On Sat, 2 May 2009, Shao Sean wrote: > >> I have no issues getting it for you but you will need to provide a >> name because a cursory glance did not show anything with HTML in the >> name >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 shaosean at wehostmacs.com Sat May 2 22:05:22 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Sat, 2 May 2009 22:05:22 -0400 Subject: data grid, custom sorting Message-ID: Okay finally got it all figured out.. Seems the documentation could use a little work (perhaps one of the people who have written books before could tackle this ;-) When sorting a list of files by size I thought it would be nice to display the sizes in more readable format (5.6 MB, 320 KB, etc) yet doing a sort on the size column in the data grid would sort properly for the numbers but would not be sorted correctly for the actual sizes. Rooting around in the data grid parentScript I came across "sortDataByKey" which allows you sort based on the actual data in the dgData instead of what is displayed (1024 instead of 1 KB) - that was the easy part. The hard part, which took all of four hours and one kernel panic (which is my fourth one with the data grid), I managed to get the column headers correctly hiliting (the documentation clearly point this out as dgHilite so not too hard to figure out what command to use). What the docs clearly miss though is that this is not a property of the data grid (which would make it much easier to use [feature request :) ]) but a property of the column header group so you need to call it by its medium name (not a real feature of Rev). tl;dr 1. replace "size" with your column 2. place this code in your data grid group script 3. ???? 4. profit! command sortDataGridColumn pColumn constant kColumnSize = "size" local tOldSortKey lock screen switch (pColumn) case "size" -- turn off the hilite for the currently hilited column put the dgProps["sort by column"] of me into tOldSortKey set the dgHilite of group tOldSortKey of group "dgHeader" to FALSE -- sort our column by the data in the array instead of what is displayed if (the dgColumnSortDirection[kColumnSize] of me = "ascending") then set the dgColumnSortDirection[kColumnSize] of me to "descending" sortDataByKey kColumnSize, "numeric", "descending", FALSE --@ sortDataByKey , , , else set the dgColumnSortDirection[kColumnSize] of me to "ascending" sortDataByKey kColumnSize, "numeric", "ascending", FALSE end if -- turn on the hilite for our custom sorted column set the dgHilite of group kColumnSize of group "dgHeader" to TRUE break default -- turn off the hilite for our custom sorted column set the dgHilite of group kColumnSize of group "dgHeader" to FALSE pass sortDataGridColumn break end switch end sortDataGridColumn From shaosean at wehostmacs.com Sat May 2 23:05:07 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Sat, 2 May 2009 23:05:07 -0400 Subject: (no subject) Message-ID: modified it some to be a little cleaner as well as allowing the data grid to know that it is sorting on the custom sorted column.. command sortDataGridColumn pColumn constant kColumnSize = "size" local tOldSortKey lock screen switch (pColumn) case kColumnSize lock messages put the dgProps["sort by column"] of me into tOldSortKey set the dgProps["sort by column"] of me to kColumnSize if (the dgColumnSortDirection[kColumnSize] of me = "ascending") then set the dgColumnSortDirection[kColumnSize] of me to "descending" else set the dgColumnSortDirection[kColumnSize] of me to "ascending" end if unlock messages sortDataByKey kColumnSize, "numeric", the dgColumnSortDirection [kColumnSize] of me, FALSE set the dgHilite of group tOldSortKey of group "dgHeader" to FALSE set the dgHilite of group kColumnSize of group "dgHeader" to TRUE break default pass sortDataGridColumn break end switch end sortDataGridColumn From martyknapp at comcast.net Sun May 3 00:05:13 2009 From: martyknapp at comcast.net (Marty Knapp) Date: Sat, 02 May 2009 21:05:13 -0700 Subject: test - ignore Message-ID: <49FD17F9.2030904@comcast.net> Please ignore - this is a test. I'm moving my domains and mail to my new On-Rev account. Marty K From katir at hindu.org Sun May 3 00:46:40 2009 From: katir at hindu.org (Sivakatirswami) Date: Sat, 02 May 2009 18:46:40 -1000 Subject: Save Data to stack inside Standalone - Broken? Message-ID: <49FD21B0.5070303@hindu.org> I know this has been asked and answered but I thought for sure if you put a stack inside a standalone, separate from the standalone, that you could save data in that stack. I made the usual standalone splash loader that boots an adjacent stack then hides itself mahaLexiconLoader.app/ Contents/ info.plist MacS/ Externals/ lexicon.rev MahaLexiconLoader # the stand alone launcher-splash screen Pkginfo Plugins/ Resources/ I could have sworn that last year using an early version of Rev that in this contect if the stack "lexicon.rev" has a handler such as: on opencard save this stack end opencard and the user writes data to fields, then the data would be saved as he moves to a new card. And Sarah Reichelt's RevJournal article (circa 2005) says: "In the screen shot above, you can see that I have a single stack file called "appSplash.rev". This contains 6 stacks: the appSplash stack and 5 other sub-stacks. After building the standalone as described, the appSplash stack will not be writable but the other 5 stacks can all be changed and saved as you need." But, it appears not to work today... if I move the stack out of my stand alone, then data is saved. if I move it back into the standalone, data cannot be saved therein. I hope I'm missing something simple and that this model for saving data is not broken. and side question: what is our best tool these days to dig the mailing lists? I used Google... From richmondmathewson at gmail.com Sun May 3 04:11:05 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 03 May 2009 11:11:05 +0300 Subject: Dumb Newbie Questions -- 3 of N In-Reply-To: <013d01c9cb6a$5f720690$1e5613b0$@com> References: <49FC09AF.9090509@gmail.com> <49FC87B1.6010402@hyperactivesw.com> <013c01c9cb5e$e8f6e9f0$bae4bdd0$@com> <49FCAED1.2060104@gmail.com> <80633F6E-19B6-4E98-965B-E01012EA9BC2@unil.ch> <013d01c9cb6a$5f720690$1e5613b0$@com> Message-ID: <49FD5199.1050905@gmail.com> Coming from Scotland, on going to the USA (1993) I learnt about Hypercard and what a 'pancake stack' was simultaneously. I Scotland we tend to eat our drop scones individually. I have always thought of a Hypercard/Supercard/Metacard/RR stack as a stack of playing cards (can't think why); having started with making holes in Hollerith cards that was a fairly easy conceptual move. And, by-the-by, in Scotland, we tend to refer to 'top shelves' when talking about your third example. :) As a middle-aged man, I am working extremely hard on developing either a 'central shelf', or a 'middle stack' ! What my pupils in my school refer to as my 'twins'. Jim Bufalini wrote: > Jacques Hausser wrote: > > >> ...Every name in our pet programming >> language is an analogy: you don't plow your fields, you don't fasten >> your buttons, and you cannot tear your cards in little bits (sometimes >> I wish to do just that ! ). >> And, to mention a linked question, in my view "parent script", whith >> it's heritability dye, was not less logical than "behavior", just >> emphasising (good english?) another characteristic of the same >> feature. I don't see one nickname as more logical than the other one. >> > > And, let's not forget Stack. I mean what does that have to do with pancakes, > chimneys, or well-developed women? ;-) > > 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 richmondmathewson at gmail.com Sun May 3 04:29:11 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 03 May 2009 11:29:11 +0300 Subject: Save Data to stack inside Standalone - Broken? In-Reply-To: <49FD21B0.5070303@hindu.org> References: <49FD21B0.5070303@hindu.org> Message-ID: <49FD55D7.9010501@gmail.com> Sivakatirswami wrote: > > and side question: what is our best tool these days to dig the mailing > lists? I used Google... > Dear Sivakatirswami, Richard Gaskin wrote a nifty little stack a while back to search the Metacard mailing list via Google and pop the results into your default web-browser; it takes 'but a twiddle' to adapt it for the RR list. Ihave a copy lurking on my computer but am wary of treading on Richard's toes, so it would probably be better to contact him. This stack is called '4wMCListSearch.rev'. It may yet be lurking on revOnline. sincerely, Richmond Mathewson. From sarah.reichelt at gmail.com Sun May 3 04:44:50 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 3 May 2009 18:44:50 +1000 Subject: Save Data to stack inside Standalone - Broken? In-Reply-To: <49FD21B0.5070303@hindu.org> References: <49FD21B0.5070303@hindu.org> Message-ID: On Sun, May 3, 2009 at 2:46 PM, Sivakatirswami wrote: > I know this has been asked and answered but I thought for sure if you put a > stack inside a standalone, separate from the standalone, that you could save > data in that stack. > > I made the usual standalone splash loader that boots an adjacent stack then > hides itself > > mahaLexiconLoader.app/ > ? Contents/ > ? ? ?info.plist > ? ? ?MacS/ > ? ? ? ?Externals/ > ? ? ? ?lexicon.rev > ? ? ? ?MahaLexiconLoader # the stand alone launcher-splash screen > ? ? ? ?Pkginfo > ? ? ? ?Plugins/ > ? ? ? ?Resources/ > > I could have sworn that last year using an early version of Rev that in this > contect if the stack "lexicon.rev" has a handler such as: It should do, although I haven't tried it lately. Can you check "the result" after the save command? Does the current user have admin privileges? If not, then they will not be able to write to the Applications folder. Cheers, Sarah From jim at visitrieve.com Sun May 3 04:57:20 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Sat, 2 May 2009 22:57:20 -1000 Subject: Save Data to stack inside Standalone - Broken? In-Reply-To: <49FD21B0.5070303@hindu.org> References: <49FD21B0.5070303@hindu.org> Message-ID: <013f01c9cbcd$2b8ec1c0$82ac4540$@com> Hi Sivakatirswami, What OS are you seeing this issue in? Where on the drive is the standalone sitting? Also, would you change the *this stack* reference to something more specific such as *the owner of this card* or better *stack "StackName"* and report if there is any difference? Aloha from Hawaii Jim Bufalini > I know this has been asked and answered but I thought for sure if you > put a stack inside a standalone, separate from the standalone, that you > could save data in that stack. > > I made the usual standalone splash loader that boots an adjacent stack > then hides itself > > mahaLexiconLoader.app/ > Contents/ > info.plist > MacS/ > Externals/ > lexicon.rev > MahaLexiconLoader # the stand alone launcher-splash screen > Pkginfo > Plugins/ > Resources/ > > I could have sworn that last year using an early version of Rev that in > this contect if the stack "lexicon.rev" has a handler such as: > > > on opencard > save this stack > end opencard > > and the user writes data to fields, then the data would be saved as he > moves to a new card. > > And Sarah Reichelt's RevJournal article (circa 2005) says: > > "In the screen shot above, you can see that I have a single stack file > called "appSplash.rev". This contains 6 stacks: the appSplash stack and > 5 other sub-stacks. After building the standalone as described, the > appSplash stack will not be writable but the other 5 stacks can all be > changed and saved as you need." > > But, it appears not to work today... if I move the stack out of my > stand > alone, then data is saved. if I move it back into the standalone, data > cannot be saved therein. I hope I'm missing something simple and that > this model for saving data is not broken. > > and side question: what is our best tool these days to dig the mailing > lists? I used Google... > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 May 3 05:19:54 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 03 May 2009 12:19:54 +0300 Subject: Dumb Newbie Questions -- 3 of N In-Reply-To: References: <49FC09AF.9090509@gmail.com> <49FC87B1.6010402@hyperactivesw.com> Message-ID: <49FD61BA.7050109@gmail.com> Mind you . . . The only real reason I can see for using a custom property as opposed to an 'on the fly' variable is that a custom property is non-volatile. The only real reason I can see for using a custom property as opposed to a field is that everything moves just that much faster. So, until I feel the need to write a stack/standalone that churns its way through buckets of indigestable data at high speed I shall probably go on in my own reactionary fashion with off-screen fields. -------------------------------------------------------------------------------------------- If one wishes to view a property as a container containing a value, as well as viewing objects as containers then the container metaphor is still valid, although, like anything else, is probably not endlessly extensible. Once pushed to its reductio ad absurdam (which may be nearer than we all realise) its weaknesses will show up. Russian dolls, Russian dolls, Russian dolls . . . [ matrioshki ] ------------------------------------------------------------------------------------------ Ugh, back the paracetamol and the ginger tea. However, a dose of influenza does have the saving grace that it gives one bags of time for the sort of introspective thinking these sort of discussions require. :) Judy Perry wrote: > Aha! > > Now THAT's something I could find useful! (celebrating little aha > moment). Thank you! > > :-D > > Judy > > On Sat, 2 May 2009, J. Landman Gay wrote: > >> Let's try something simple. Suppose you have a card with lots of >> buttons that the user can move around; maybe your script uses the >> "grab" command to let them drag the butons. Now you want a way to >> reset the card to its native state that puts all the buttons back to >> their original positions. >> >> Buttons have a "loc" property, but that only stores the current >> position of the button at this moment, and the engine will update >> that value every time the button moves. There isn't any native >> property that tells you where the button started from, but we can >> make a custom property that does that. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sims at ezpzapps.com Sun May 3 05:42:03 2009 From: sims at ezpzapps.com (jim sims) Date: Sun, 3 May 2009 11:42:03 +0200 Subject: open file, applescript, POSIX Message-ID: <338F8EA7-053A-429F-B5EE-FD4AA8577A5B@ezpzapps.com> --The following works set filepath to "/Users/jimsims/Pictures/art/01pigs1.500.jpg" tell application "Preview" activate open file filepath as POSIX file end tell -- This works ONLY if I drop the POSIX set filepath to "/Users/jimsims/Pictures/art/01pigs1.500.jpg" tell application "Photoshop Elements 4.0" activate open file filepath -- as POSIX file end tell Why does Photoshop Elements 4.0 refuse and Preview say OK? I need to open files in particular applications (not just the default application). Launch seems interesting but only useful if one is opening the application for the first time. I only need this for OS X. Surely there is some kind of universal way to open files with a given application on OS X? sims sims at ezpzapps.com Skype: sims.jim iChat: techietours ______________________ Opportunity by Design From david.bovill at gmail.com Sun May 3 06:28:29 2009 From: david.bovill at gmail.com (David Bovill) Date: Sun, 3 May 2009 11:28:29 +0100 Subject: Must be a way: escaping filter patterns In-Reply-To: <3AA8A48A-8217-4BA6-9EA1-688E0532E6BC@yahoo.com> References: <3AA8A48A-8217-4BA6-9EA1-688E0532E6BC@yahoo.com> Message-ID: Thanks Jim - good to confirm that there is no way to escape chars for filter expressions. I guess this is the sort of thing that should be posted as a note to the dictionary. 2009/5/2 Jim Ault > The technique I have used in the past is to do a > > replace "[" with "?" in blockOfLines > replace "]" with "^" in blockOfLines > filter blockOfLines without "tr??*^^" > --and in case there are kept lines that had the '[]' chars > replace "?" with "[" in blockOfLines > replace "^" with "]" in blockOfLines From bdrunrev at gmail.com Sun May 3 06:35:35 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sun, 3 May 2009 11:35:35 +0100 Subject: Must be a way: escaping filter patterns In-Reply-To: References: Message-ID: I think this does what you require: put "tr[1]" & cr after tList put "tr(2)" & cr after tList put "tr[3]" & cr after tList put "tr[a]" & cr after tList put "td[1]" & cr after tList put "tra[1]" & cr after tList filter tList without "[t][r]?[0-9]]" put tList Try playing around with the 2nd letter of the filter expression, and using with/without. It seems to work for me. Unless I really don't understand the problem :-) Bernard On Fri, May 1, 2009 at 9:11 PM, David Bovill wrote: > Still trying to figure this out - my hack ends up failing - I've returned a > list of child names from XML, and wish to filter out all the "" elements > which appear like tr[1], tr[2]. So I want to filter using "tr[*]", but as > "[" is a special char... andthe usual "\[" does not work for escaping? Any > ideas? > > 2009/4/24 David Bovill > >> Any one know the way to escape characters such as "[" in patterns for the >> "filter" expression? >> > _______________________________________________ > use-revolution mailing list > use-revolution at 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 May 3 07:20:18 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 03 May 2009 14:20:18 +0300 Subject: Positive Feedback Message-ID: <49FD7DF2.9080905@gmail.com> I am currently putting together a brace of programs for fairly basic EFL learners to revise careers/jobs (what the series of EFL textbooks I use, in an almost vomit-making effort at over political correctness terms 'community helpers') and, while spending hours and hours twiddling away with GIMP because I am an extremely fussy so-and-so about the standard of graphics in my programs, I am able to pop the actual programs together in Runtime Revolution in "a brace of shakes" as the saying goes. Once I have assembled all the 'raw materials'; graphic elements textual elements multimedia elements to produce a fully functioning standalone is normally an extremely rapid and painless procedure. While these programs are not 'rocket science' in terms of programming, I tried the same with ToolBook and Director in the past, and recently with HyperStudio, and really got extremely 'bogged down' in silly little details that, if they are there in Revolution take care of themselves without my intervention. Quite apart from the fact that these IDEs tie one down to specific platforms. Whatever else my criticisms of Revolution may be, I will always be grateful about the way it has made my work so easy. However . . . (well, face it, Richmond can never bite his tongue), I don't think enough is being done to advertise Revolution to other in the sector I work within. Meeting EFL 'colleagues' (unpleasant word) round and about Plovdiv, Bulgaria [ and, in the Balkan peninsular, the EFL industry is HUGE = big bucks ] I constantly get 'funny' looks when I state that with Revolution I could teach all the EFL teachers in Bulgaria how to put together quite respectable programs for content delivery and reinforcement in a couple of afternoons. Mind you, I also get 'funny' looks when I see all the EFL schools with Pentium IIIs sitting 'rotting' in the corners with non-functioning Windows 98 on them and I suggest they wake them up again with something like Xubuntu coupled with programs written in Revolution. From niggemann at uni-wh.de Sun May 3 07:30:53 2009 From: niggemann at uni-wh.de (BNig) Date: Sun, 3 May 2009 04:30:53 -0700 (PDT) Subject: open file, applescript, POSIX In-Reply-To: <338F8EA7-053A-429F-B5EE-FD4AA8577A5B@ezpzapps.com> References: <338F8EA7-053A-429F-B5EE-FD4AA8577A5B@ezpzapps.com> Message-ID: <23354902.post@talk.nabble.com> Jim, try set filePath to POSIX file "/Users/jimsims/Pictures/art/01pigs1.500.jpg" as text this gives you something like: "Macintosh HD:Users:jimsims:Pictures:art:01pigs1.500.jpg" then you use this to open files without the 'as posix file', this should work for all scriptable programs. I dont have Photoshop elements, so I can not try this but the format you get in filePath is the standard text format for a path on a Mac. The posix variant ist probably not understood by Photoshop elements and was introduced to make calls to the shell easier. it should work regards to you and your pigs :) Bernd Jim Sims wrote: > > --The following works > set filepath to "/Users/jimsims/Pictures/art/01pigs1.500.jpg" > tell application "Preview" > activate > open file filepath as POSIX file > end tell > > -- This works ONLY if I drop the POSIX > set filepath to "/Users/jimsims/Pictures/art/01pigs1.500.jpg" > tell application "Photoshop Elements 4.0" > activate > open file filepath -- as POSIX file > end tell > > Why does Photoshop Elements 4.0 refuse and Preview say OK? > > I need to open files in particular applications (not just the default > application). Launch seems interesting but only useful if one is > opening the application for the first time. I only need this for OS X. > > Surely there is some kind of universal way to open files with a given > application on OS X? > > > sims > -- View this message in context: http://www.nabble.com/open-file%2C-applescript%2C-POSIX-tp23354158p23354902.html Sent from the Revolution - User mailing list archive at Nabble.com. From barryb at libero.it Sun May 3 07:43:35 2009 From: barryb at libero.it (barryb at libero.it) Date: Sun, 3 May 2009 13:43:35 +0200 (CEST) Subject: (no subject) Message-ID: <16699072.429871241351015572.JavaMail.defaultUser@defaultHost> I am getting quite frustrated with this list. Everytime I get up enough courage to ask a question somebody throws in an example, to somebody else, which answers it! That's why I read all the digests every day and just wait for the tip I need to turn up, although it makes me feel like a lurker which is a name I don't like. I just wanted to acknowledge this and say thanks to ALL of you for the kind help. It may be a slower method of learning but it's certainly more enjoyable than wading through the Docs. Also the Docs don't have backchat as well. {;-)) Just please keep it up. Barry From david.bovill at gmail.com Sun May 3 07:57:56 2009 From: david.bovill at gmail.com (David Bovill) Date: Sun, 3 May 2009 12:57:56 +0100 Subject: (no subject) In-Reply-To: <16699072.429871241351015572.JavaMail.defaultUser@defaultHost> References: <16699072.429871241351015572.JavaMail.defaultUser@defaultHost> Message-ID: Everyone gets frustrated from time to time Barry! It's actually really hard to communicate via email, a problem with a graphic interface you have, and a language you are learning - so the result can often be - well frustration :) It's great to post questions, especially if you can copy and paste some code snippets so people can give concrete help back. And remember that if you are having a problem - you can bet that there will be several other people with the same problems - so a clear post will not only help you but them as well. So thanks for posting! NB - if I were learning, I'd certainly look into adding "code completion". GLX2 provides this, and I "think" there is even a free plugin they provide, if you don;t want to buy their editor which as a user I'd highly recommend. 2009/5/3 barryb at libero.it > I am getting quite frustrated with this list. Everytime I get up enough > courage > to ask a question somebody throws in an example, to somebody else, which > answers it! That's why I read all the digests every day and just wait for > the > tip I need to turn up, although it makes me feel like a lurker which is a > name > I don't like. > I just wanted to acknowledge this and say thanks to ALL of you > for the kind help. It may be a slower method of learning but it's certainly > more enjoyable than wading through the Docs. Also the Docs don't have > backchat > as well. {;-)) > Just please keep it up. > Barry From david at architex.tv Sun May 3 08:17:50 2009 From: david at architex.tv (David Bovill) Date: Sun, 3 May 2009 13:17:50 +0100 Subject: Must be a way: escaping filter patterns In-Reply-To: References: Message-ID: This would "usually" work : put "theader[1]" & cr after tList put "th(1)" & cr after tList put "th(2)" & cr after tList put "th[3]" & cr after tList put "tbody[1]" & cr after tList put "tr[1]" & cr after tList put "td[2]" & cr after tList put "tra[3]" & cr after tList put "tr[11]" & cr after tList filter tList without "th?[0-9]]" put tList But it is possible that there are more than 9 rows - in which case it will fail. What you really want to do is filter for "tr[*]" but can't because you can't escape the "[" using "\[". Thanks for the input - just wanted to check as there may be extra syntax not listed in the docs. I think the only real solution is a simple repeat loop - it may even be faster than "filter", as many test have shown previously. So: repeat for each line testLine in tList if token 1 of testLine is "th" then put testLine & CR after filteredList end if end repeat put filteredList Tip: the use of "token" instead of "word" is often really useful for parsing output from computers - think of tokens as the equivalent of works but for the way Rev thinks about scripts. 2009/5/3 Bernard Devlin > I think this does what you require: > > put "tr[1]" & cr after tList > put "tr(2)" & cr after tList > put "tr[3]" & cr after tList > put "tr[a]" & cr after tList > put "td[1]" & cr after tList > put "tra[1]" & cr after tList > filter tList without "[t][r]?[0-9]]" > put tList > > Try playing around with the 2nd letter of the filter expression, and > using with/without. It seems to work for me. Unless I really don't > understand the problem :-) From richmondmathewson at gmail.com Sun May 3 09:04:36 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 03 May 2009 16:04:36 +0300 Subject: (no subject) In-Reply-To: <16699072.429871241351015572.JavaMail.defaultUser@defaultHost> References: <16699072.429871241351015572.JavaMail.defaultUser@defaultHost> Message-ID: <49FD9664.3030303@gmail.com> Barry :) Hugs and Kisses, Man! The backchat is what its all about! I know it sounds corny, and straight out of the 'summer of love' but I like to think of the RunRev Use-LIst as: Livin', Lovin', and Programmin' (and, just possibly . . . Abusin') And, you bet, that's going to catch some backchat! barryb at libero.it wrote: > I am getting quite frustrated with this list. Everytime I get up enough courage > to ask a question somebody throws in an example, to somebody else, which > answers it! That's why I read all the digests every day and just wait for the > tip I need to turn up, although it makes me feel like a lurker which is a name > I don't like. > I just wanted to acknowledge this and say thanks to ALL of you > for the kind help. It may be a slower method of learning but it's certainly > more enjoyable than wading through the Docs. Also the Docs don't have backchat > as well. {;-)) > Just please keep it up. > Barry > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From sims at ezpzapps.com Sun May 3 09:09:54 2009 From: sims at ezpzapps.com (Jim Sims) Date: Sun, 3 May 2009 15:09:54 +0200 Subject: open file, applescript, POSIX In-Reply-To: <23354902.post@talk.nabble.com> References: <338F8EA7-053A-429F-B5EE-FD4AA8577A5B@ezpzapps.com> <23354902.post@talk.nabble.com> Message-ID: <27E3773C-726E-4162-94D5-FCFE8E5697CC@ezpzapps.com> On May 3, 2009, at 1:30 PM, BNig wrote: > > set filePath to POSIX file "/Users/jimsims/Pictures/art/ > 01pigs1.500.jpg" as > text > > this gives you something like: > "Macintosh HD:Users:jimsims:Pictures:art:01pigs1.500.jpg" > it should work > regards to you and your pigs :) > Bernd Works, of course. The pigs & I says thanks, yet again Bernd! sims From coiin at rcn.com Sun May 3 10:06:37 2009 From: coiin at rcn.com (Colin Holgate) Date: Sun, 3 May 2009 10:06:37 -0400 Subject: test - ignore In-Reply-To: <49FD17F9.2030904@comcast.net> References: <49FD17F9.2030904@comcast.net> Message-ID: <491760BE-EFDA-4B7D-B457-00BC42A22BFA@rcn.com> On May 3, 2009, at 12:05 AM, Marty Knapp wrote: > Please ignore - this is a test. I'm moving my domains and mail to my > new On-Rev account. > > Marty K Just so you know, this went straight to my junk mailbox. Not sure if there's something you can change to make it seem like it's not spam? From mwieder at ahsoftware.net Sun May 3 10:29:05 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 3 May 2009 07:29:05 -0700 Subject: test - ignore In-Reply-To: <491760BE-EFDA-4B7D-B457-00BC42A22BFA@rcn.com> References: <49FD17F9.2030904@comcast.net> <491760BE-EFDA-4B7D-B457-00BC42A22BFA@rcn.com> Message-ID: <921096483203.20090503072905@ahsoftware.net> Colin- Sunday, May 3, 2009, 7:06:37 AM, you wrote: > On May 3, 2009, at 12:05 AM, Marty Knapp wrote: >> Please ignore - this is a test. I'm moving my domains and mail to my >> new On-Rev account. >> >> Marty K > Just so you know, this went straight to my junk mailbox. Not sure if > there's something you can change to make it seem like it's not spam? I dunno. Seems like an appropriate container. I had to delete it by hand on my computer - took two entire keystrokes. Whew! I'm worn out now - that's enough work for one day. -- -Mark Wieder mwieder at ahsoftware.net From martyknapp at comcast.net Sun May 3 11:25:06 2009 From: martyknapp at comcast.net (Marty Knapp) Date: Sun, 03 May 2009 08:25:06 -0700 Subject: Save Data to stack inside Standalone - Broken? In-Reply-To: References: <49FD21B0.5070303@hindu.org> Message-ID: <49FDB752.1010609@comcast.net> I just threw together a program with a substack, set the Standalone settings for the substack to to moved to individual stackfiles & create folder for stackfiles (named mine "MyResources) and it saved the data in the substack just fine. This is on Rev 3.5 and Mac 10.5.6 Marty Knapp > On Sun, May 3, 2009 at 2:46 PM, Sivakatirswami wrote: > >> I know this has been asked and answered but I thought for sure if you put a >> stack inside a standalone, separate from the standalone, that you could save >> data in that stack. >> >> I made the usual standalone splash loader that boots an adjacent stack then >> hides itself >> >> mahaLexiconLoader.app/ >> Contents/ >> info.plist >> MacS/ >> Externals/ >> lexicon.rev >> MahaLexiconLoader # the stand alone launcher-splash screen >> Pkginfo >> Plugins/ >> Resources/ From fmoyer at aol.com Sun May 3 11:49:33 2009 From: fmoyer at aol.com (Fred Moyer) Date: Sun, 3 May 2009 11:49:33 -0400 Subject: Searching Message-ID: <21E1DAC3-800E-4276-B7D1-51299C566EDF@aol.com> Hi friends: I love having this mailing list. Whenever I have a Revolution question, I search through the list and very often find the answer in the various threads. However, often I only want to read recent threads. So I go to "Advanced Search" in Google and choose "Past Year" under Date. What inevitably happens is that there are no hits. For example, if I do a simple search for "jailbroken" I get 4 hits -- all emails written within the past year. But if I do the same search but tell Google I only want hits that are from the past year, I get no hits. Something's wrong here. Is there some other way to search through the mailing list? Thanks Fred Moyer From coiin at rcn.com Sun May 3 12:02:15 2009 From: coiin at rcn.com (Colin Holgate) Date: Sun, 3 May 2009 12:02:15 -0400 Subject: Searching In-Reply-To: <21E1DAC3-800E-4276-B7D1-51299C566EDF@aol.com> References: <21E1DAC3-800E-4276-B7D1-51299C566EDF@aol.com> Message-ID: <982ED724-72A6-4FC2-A80E-2D7E2E412F6B@rcn.com> On May 3, 2009, at 11:49 AM, Fred Moyer wrote: > Is there some other way to search through the mailing list? Here's something that might help. Try this as a search term in Google: http://lists.runrev.com/pipermail/use-revolution/ 2009 quicktime That will show the few messages this year that were to do with QuickTime. And it finds it on any site that has a copy of the messages from this list. From mwieder at ahsoftware.net Sun May 3 12:24:47 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 3 May 2009 09:24:47 -0700 Subject: Searching In-Reply-To: <21E1DAC3-800E-4276-B7D1-51299C566EDF@aol.com> References: <21E1DAC3-800E-4276-B7D1-51299C566EDF@aol.com> Message-ID: <1681103425859.20090503092447@ahsoftware.net> Fred- Sunday, May 3, 2009, 8:49:33 AM, you wrote: > However, often I only want to read recent threads. So I go to > "Advanced Search" in Google and choose "Past Year" under Date. What > inevitably happens is that there are no hits. For example, if I do a > simple search for "jailbroken" I get 4 hits -- all emails written > within the past year. But if I do the same search but tell Google I > only want hits that are from the past year, I get no hits. > Something's wrong here. > Is there some other way to search through the mailing list? Google Search's idea of "Date" is somewhat offbeat. For instance, if the archive software has recently updated its index list then all the entries will show up as "new", even if they were posted three years ago. Better options are gmane or Nabble. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Sun May 3 13:09:38 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 03 May 2009 12:09:38 -0500 Subject: (no subject) In-Reply-To: <16699072.429871241351015572.JavaMail.defaultUser@defaultHost> References: <16699072.429871241351015572.JavaMail.defaultUser@defaultHost> Message-ID: <49FDCFD2.2060200@hyperactivesw.com> barryb at libero.it wrote: > I am getting quite frustrated with this list. Everytime I get up enough courage > to ask a question somebody throws in an example, to somebody else, which > answers it! That's why I read all the digests every day and just wait for the > tip I need to turn up, although it makes me feel like a lurker which is a name > I don't like. > I just wanted to acknowledge this and say thanks to ALL of you > for the kind help. It may be a slower method of learning but it's certainly > more enjoyable than wading through the Docs. Also the Docs don't have backchat > as well. {;-)) > Just please keep it up. :) I say post anyway. We'll just answer the question twice. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun May 3 13:22:15 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 03 May 2009 12:22:15 -0500 Subject: Dumb Newbie Questions -- 3 of N In-Reply-To: <49FD61BA.7050109@gmail.com> References: <49FC09AF.9090509@gmail.com> <49FC87B1.6010402@hyperactivesw.com> <49FD61BA.7050109@gmail.com> Message-ID: <49FDD2C7.2000705@hyperactivesw.com> Richmond Mathewson wrote: > Mind you . . . > > The only real reason I can see for using a custom property as opposed > to an 'on the fly' variable is that a custom property is non-volatile. > > The only real reason I can see for using a custom property as opposed > to a field is that everything moves just that much faster. I'm curious now. If you wanted to create a moveable button scenario like my example does, what method would you use to store their start locations and move them back later? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From fmoyer at aol.com Sun May 3 13:35:18 2009 From: fmoyer at aol.com (Fred Moyer) Date: Sun, 3 May 2009 13:35:18 -0400 Subject: Unexpected changes in 3.0 Message-ID: <4F943D6A-F806-40E3-9A37-6FFADC8EB1DE@aol.com> Hi: There are so many improvements with 3.5, so I guess it's no surprise that there would be a few unexpected changes in behavior. For example: - It used to be that "save stack x" was done transparently -- the user wouldn't even know that the stack is being saved. Now, if some text is selected while Rev saves the stack, the text ceases to be selected. - Sorting: Now when sorting a list where the last char of the list is return character, the result in certain cases is a list where line 1 is a blank line. With 3.0, such a sort would not yield this result. I think this is not a good change and could have disastrous results in certain situations for programmers unaware of it. What I'd like to know: is there a list of these changes? I can't find it in either the "Read_Me_First.txt" that comes with the installation, nor http://www.runrev.com/whats-new/. Thanks Fred From DunbarX at aol.com Sun May 3 13:58:24 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Sun, 3 May 2009 13:58:24 EDT Subject: Dumb Newbie Questions -- 3 of N Message-ID: This is all about the name, eh, not the elegant and compact functionality? I suppose one would make a field that contained the id's of the objects, a space, perhaps, the startLoc, another space and the endLoc. One line per object. You can then put and get all the data as needed. It is what I would do in HC. There, i said it. But a customProp is SO much more elegant that I know this debate will be over soon. In fact, as soon as some need or other arises in the development process, which should be any minute now... Craig Newman In a message dated 5/3/09 1:22:46 PM, jacque at hyperactivesw.com writes: > I'm curious now. If you wanted to create a moveable button scenario like > my example does, what method would you use to store their start > locations and move them back later? > ************** Access 350+ FREE radio stations anytime from anywhere on the web. Get the Radio Toolbar! (http://toolbar.aol.com/aolradio/download.html?ncid=emlcntusdown00000003) From m.schonewille at economy-x-talk.com Sun May 3 14:57:33 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 3 May 2009 20:57:33 +0200 Subject: Unexpected changes in 3.0 In-Reply-To: <4F943D6A-F806-40E3-9A37-6FFADC8EB1DE@aol.com> References: <4F943D6A-F806-40E3-9A37-6FFADC8EB1DE@aol.com> Message-ID: <15A7F1B0-6082-4F6B-A093-8FC90A4E770E@economy-x-talk.com> Hi Fred, The first issue seems another bug to me. You should probably report it to the QCC. The second issue is just a restoration of the situation that of Rev 2.6.1 and HyperCard. Deletion of empty lines during a sort causes a problem if you want to keep the number of lines equal. If you need to remove empty lines, simply use the filter command. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum New: Snapper Screen Recorder 2.0.1 Download at http://snapper.economy-x-talk.com On 3 mei 2009, at 19:35, Fred Moyer wrote: > Hi: > > There are so many improvements with 3.5, so I guess it's no surprise > that there would be a few unexpected changes in behavior. For example: > - It used to be that "save stack x" was done transparently -- the > user wouldn't even know that the stack is being saved. Now, if some > text is selected while Rev saves the stack, the text ceases to be > selected. > - Sorting: Now when sorting a list where the last char of the list > is return character, the result in certain cases is a list where > line 1 is a blank line. With 3.0, such a sort would not yield this > result. I think this is not a good change and could have disastrous > results in certain situations for programmers unaware of it. > > What I'd like to know: is there a list of these changes? I can't > find it in either the "Read_Me_First.txt" that comes with the > installation, nor http://www.runrev.com/whats-new/. > > Thanks > Fred From richmondmathewson at gmail.com Sun May 3 15:35:40 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 03 May 2009 22:35:40 +0300 Subject: Dumb Newbie Questions -- 3 of N In-Reply-To: References: Message-ID: <49FDF20C.4010908@gmail.com> Just before I left Scotland for Bulgaria (2003ish) Klaus Major took me to task for my distinctly in-elegant coding; and, frankly, it still is fairly inelegant. But I'm the chap that wears second-hand clothes, uses second-hand computers, and isn't that fussed about what people think about him (although, oddly enough, I do care about my wife's opinion) as long as I can achieve my aims. If I were designing programs for an employer (rather than myself) I would take great care about the nature of my code (a thing I have done in the past, when I was not my own boss), in-code documentation (so, when the number 10 bus squashed me flat my successor could have half a chance at continuing my work) and would also wear a pressed shirt, trousers and tie (instead of a tatty old kilt). I might, just possibly, polish my shoes. :) This is fast becoming a 'world view' discussion, rather than one about whether one can get away without custom properties forever (or, at least as things stand just now). "Elegance" is jolly nice, but "elegance" often involves more thought, more time, and more money. Now, this Merry May Holiday (1 to 6 of May here in Bulgaria - paid for by working several Saturdays later in the month), while I have had a Merry May Influenza with a Merry May Temperature of 102 degs F I have 'belted out' a fair old number of "quick 'n' dirty" standalones for LInux that will guide my log-suffering pupils through the niceties of converting Direct into Reported Speech, Adverbs of Frequency and Careers. Had I stopped to worry about 'elegance' I would have got bogged down before I started. Feverish, I worked feverishly !!!! I also spent considerable time working with GIMP to make sure that the imagery in my teaching programs, as well as the general GUIs was up the the standard I expect of myself: THIS IS WHAT THE END-USERS SEE, not my tatty code! I am a lucky man; no boss, my own children do the beta testing, and as I use 'tatty, old PCs' speed of code execution is not of the essence. --------------------------------------------------------------------------------------------- I do not dispute the elegance of custom properties, speedy code, keeping things in one place (rather than a string of: do fld "blob" do fld "blab" do fld "blub" and so on, ad nauseam), but as I get paid for the time that I teach, rather than the time I program, and I would much rather spend my time in forny of the computer writing long, tendentious messages like this . . . :) . . . and learning more about Runtime Revolution's seemingly endless capabilities, I can't be bothered with elegant code. sincerely, Richmond Matheswon. DunbarX at aol.com wrote: > This is all about the name, eh, not the elegant and compact functionality? > > I suppose one would make a field that contained the id's of the objects, a > space, perhaps, the startLoc, another space and the endLoc. One line per > object. You can then put and get all the data as needed. It is what I would do > in HC. There, i said it. > > But a customProp is SO much more elegant that I know this debate will be > over soon. In fact, as soon as some need or other arises in the development > process, which should be any minute now... > > Craig Newman > In a message dated 5/3/09 1:22:46 PM, jacque at hyperactivesw.com writes: > > > >> I'm curious now. If you wanted to create a moveable button scenario like >> my example does, what method would you use to store their start >> locations and move them back later? >> >> > > > > > ************** > Access 350+ FREE radio stations anytime from anywhere on the > web. Get the Radio Toolbar! > (http://toolbar.aol.com/aolradio/download.html?ncid=emlcntusdown00000003) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From katir at hindu.org Sun May 3 18:57:58 2009 From: katir at hindu.org (Sivakatirswami) Date: Sun, 03 May 2009 12:57:58 -1000 Subject: Save Data to stack inside Standalone - Broken? In-Reply-To: References: <49FD21B0.5070303@hindu.org> Message-ID: <49FE2176.5090302@hindu.org> Good Idea... I created a status field and added the following to the stack script: (see below) Status shows empty if opened and move from card to card (saving each time) in the IDE. but in the Standalone I get the message: "stack does not have a filename" I tried to set save to save stack "lexicon.rev" but I get the same message, in fact I get and error msg in the IDE that this is the wrong form (can't find stack "lexicon.rev" as the syntax for this uses the stack property name of the stack and not the file name of the stack. And in response to Jim's questions (I'm on Kauai Jim... come visit!) 1) What OS are you seeing this issue in? -- OSX 10.5.6 2) Where on the drive is the standalone sitting? --/Users/sivakatirswami/_RevData/Lexicon/MahaLexiconLoader/MahaLexiconLoader.app 3) Also, would you change the *this stack* reference to something more specific such as *the owner of this card* or better *stack "StackName"* and report if there is any difference? -- neither of these reference change the error message which still in the result "stack does not have a filename" I also tried checking the default folder at the moment of save from inside the standalone -- it looks correct: /Users/sivakatirswami/_RevData/Lexicon/MahaLexiconLoader/MahaLexiconLoader.app/Contents/MacOS on openCard save stack "Lexicon" showStatus(the result) try put the number of this card into fld "cardNo" end try end openCard On closestack save stack "Lexicon" if the environment <> "development" then quit end closestack on showStatus tMsg put tMsg into fld "status" Show fld "status" with visual effect dissolve very fast send hideStatus to me in 30 ticks end showStatus on hideStatus hide fld "status" with visual effect dissolve slow end hideStatus Sarah Reichelt wrote: > On Sun, May 3, 2009 at 2:46 PM, Sivakatirswami wrote: > >> I know this has been asked and answered but I thought for sure if you put a >> stack inside a standalone, separate from the standalone, that you could save >> data in that stack. >> >> I made the usual standalone splash loader that boots an adjacent stack then >> hides itself >> >> mahaLexiconLoader.app/ >> Contents/ >> info.plist >> MacS/ >> Externals/ >> lexicon.rev >> MahaLexiconLoader # the stand alone launcher-splash screen >> Pkginfo >> Plugins/ >> Resources/ >> >> I could have sworn that last year using an early version of Rev that in this >> contect if the stack "lexicon.rev" has a handler such as: >> > > It should do, although I haven't tried it lately. > Can you check "the result" after the save command? > Does the current user have admin privileges? If not, then they will > not be able to write to the Applications folder. > > 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 katir at hindu.org Sun May 3 19:05:30 2009 From: katir at hindu.org (Sivakatirswami) Date: Sun, 03 May 2009 13:05:30 -1000 Subject: Save Data to stack inside Standalone - Broken? In-Reply-To: <49FDB752.1010609@comcast.net> References: <49FD21B0.5070303@hindu.org> <49FDB752.1010609@comcast.net> Message-ID: <49FE233A.8050902@hindu.org> Marty Knapp wrote: > I just threw together a program with a substack, set the Standalone > settings for the substack to to moved to individual stackfiles & > create folder for stackfiles (named mine "MyResources) and it saved > the data in the substack just fine. This is on Rev 3.5 and Mac 10.5.6 In this case the stack is not a substack, but an external stack... but it should not make difference. but to test I just now tried using the add stack files feature, picked the "lexicon.rev" and ran the standalone build. The option to set a folder was not available. it took a really long time to build for some reason. The lexicon.rev stack has about 3400 cards but is only 1.2 MB in size. Why iut should take 4 minutes to build is a mystery. At any rate, the build was successful, but in the end, the layout for the stack position was just the same as manually placing it into the /Contents/MacOS/ folder. Rev standalone builder just put the stack in the package, same place as you see below. Also I get the exact same error... it will not save. the result returns save stack "Lexicon" the result: "stack does not have a filename" (see other post on this) > > Marty Knapp >> On Sun, May 3, 2009 at 2:46 PM, Sivakatirswami wrote: >> >>> I know this has been asked and answered but I thought for sure if >>> you put a >>> stack inside a standalone, separate from the standalone, that you >>> could save >>> data in that stack. >>> >>> I made the usual standalone splash loader that boots an adjacent >>> stack then >>> hides itself >>> >>> mahaLexiconLoader.app/ >>> Contents/ >>> info.plist >>> MacS/ >>> Externals/ >>> lexicon.rev >>> MahaLexiconLoader # the stand alone launcher-splash screen >>> Pkginfo >>> Plugins/ >>> Resources/ > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 May 3 19:12:43 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 4 May 2009 09:12:43 +1000 Subject: Joining 2 images Message-ID: Hi all you graphics gurus out there, I have 2 images, each 40 x 40 pixels. I want to join then side by side to end up with an image 80 x 40. Since this is for use in On-Rev, it has to work in script only, no stack or image objects can be used. I am a complete noob when it come to graphics, but I know there are people here who are experts, so if anyone has any suggestions, I would be most grateful. Thanks, Sarah From jim at visitrieve.com Sun May 3 20:40:15 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Sun, 3 May 2009 14:40:15 -1000 Subject: Save Data to stack inside Standalone - Broken? In-Reply-To: <49FE233A.8050902@hindu.org> References: <49FD21B0.5070303@hindu.org> <49FDB752.1010609@comcast.net> <49FE233A.8050902@hindu.org> Message-ID: <000001c9cc50$e47f5590$ad7e00b0$@com> Hi Sivakatirswami, Don't make the stack part of your standalone build. Rather, go or go invisible to the stack from the preOpenStack of the splash stack in your standalone. Doing this sets the filename of the stack. Then you can save it. When you go to the stack, use a fully qualified path. So, if the stack is in the same directory as your standalone, then *go stack (the defaultFolder & slash & "lexicon.rev")* Now the stack will have a fileName property and can be saved. If it is in subdirectories of the root, just add the subdirectory path to the above as in (the defaultFolder & slash & "subdirectory/subdirectory/lexicon.rev"). The only thing that can stop a save then is user rights to the path. Aloha from another Island of Hawaii ;-) Jim Bufalini > Marty Knapp wrote: > > I just threw together a program with a substack, set the Standalone > > settings for the substack to to moved to individual stackfiles & > > create folder for stackfiles (named mine "MyResources) and it saved > > the data in the substack just fine. This is on Rev 3.5 and Mac 10.5.6 > > In this case the stack is not a substack, but an external stack... but > it should not make difference. > but to test I just now tried using the add stack files feature, picked > the "lexicon.rev" and ran the standalone build. The option to set a > folder was not available. it took a really long time to build for some > reason. The lexicon.rev stack has about 3400 cards but is only 1.2 MB > in > size. Why iut should take 4 minutes to build is a mystery. > > At any rate, the build was successful, but in the end, the layout for > the stack position was just the same as manually placing it into the > /Contents/MacOS/ folder. Rev standalone builder just put the stack in > the package, same place as you see below. Also I get the exact same > error... it will not save. the result returns > > save stack "Lexicon" > > the result: > > "stack does not have a filename" > > (see other post on this) > > > > > > > > Marty Knapp > >> On Sun, May 3, 2009 at 2:46 PM, Sivakatirswami > wrote: > >> > >>> I know this has been asked and answered but I thought for sure if > >>> you put a > >>> stack inside a standalone, separate from the standalone, that you > >>> could save > >>> data in that stack. > >>> > >>> I made the usual standalone splash loader that boots an adjacent > >>> stack then > >>> hides itself > >>> > >>> mahaLexiconLoader.app/ > >>> Contents/ > >>> info.plist > >>> MacS/ > >>> Externals/ > >>> lexicon.rev > >>> MahaLexiconLoader # the stand alone launcher-splash screen > >>> Pkginfo > >>> Plugins/ > >>> Resources/ > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution 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 lists at futilism.com Sun May 3 20:56:39 2009 From: lists at futilism.com (Mark Smith) Date: Mon, 4 May 2009 01:56:39 +0100 Subject: Joining 2 images In-Reply-To: References: Message-ID: <9A95F62E-8AF4-4579-89A4-84A0328C058D@futilism.com> Sarah, others may know better, but I think you'll find this difficult to do. The way one might do this in a stack would be to import both images, then get the imageData of each, and join them up. The imageData is actually just a list of pixel values as they are rendered by rev. Typically, a jpeg or png image file does not actually contain that data, it will contain a compressed version which you can't just stick together in the same way. You may need to look into a command line tool like image magick that you can make shell calls to, either to extract the imageData or to do the whole job. Hopefully someone more knowledgable will be able to tell us I'm wrong, but that's my understanding. :( best, Mark On 4 May 2009, at 00:12, Sarah Reichelt wrote: > Hi all you graphics gurus out there, > > I have 2 images, each 40 x 40 pixels. > I want to join then side by side to end up with an image 80 x 40. > Since this is for use in On-Rev, it has to work in script only, no > stack or image objects can be used. > > I am a complete noob when it come to graphics, but I know there are > people here who are experts, so if anyone has any suggestions, I would > be most grateful. > > Thanks, > 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 futilism.com Sun May 3 20:58:11 2009 From: lists at futilism.com (Mark Smith) Date: Mon, 4 May 2009 01:58:11 +0100 Subject: Joining 2 images In-Reply-To: <9A95F62E-8AF4-4579-89A4-84A0328C058D@futilism.com> References: <9A95F62E-8AF4-4579-89A4-84A0328C058D@futilism.com> Message-ID: <23B04AAB-CF3B-4314-9B9E-06BAA0449892@futilism.com> This may be easy to do in magick: http://www.imagemagick.org/script/command-line-options.php#append Best, Mark On 4 May 2009, at 01:56, Mark Smith wrote: > Sarah, others may know better, but I think you'll find this > difficult to do. The way one might do this in a stack would be to > import both images, then get the imageData of each, and join them up. > > The imageData is actually just a list of pixel values as they are > rendered by rev. Typically, a jpeg or png image file does not > actually contain that data, it will contain a compressed version > which you can't just stick together in the same way. > > You may need to look into a command line tool like image magick > that you can make shell calls to, either to extract the imageData > or to do the whole job. > > Hopefully someone more knowledgable will be able to tell us I'm > wrong, but that's my understanding. :( > > best, > > Mark > > > On 4 May 2009, at 00:12, Sarah Reichelt wrote: > >> Hi all you graphics gurus out there, >> >> I have 2 images, each 40 x 40 pixels. >> I want to join then side by side to end up with an image 80 x 40. >> Since this is for use in On-Rev, it has to work in script only, no >> stack or image objects can be used. >> >> I am a complete noob when it come to graphics, but I know there are >> people here who are experts, so if anyone has any suggestions, I >> would >> be most grateful. >> >> Thanks, >> 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 lists at futilism.com Sun May 3 21:14:12 2009 From: lists at futilism.com (Mark Smith) Date: Mon, 4 May 2009 02:14:12 +0100 Subject: Joining 2 images In-Reply-To: <23B04AAB-CF3B-4314-9B9E-06BAA0449892@futilism.com> References: <9A95F62E-8AF4-4579-89A4-84A0328C058D@futilism.com> <23B04AAB-CF3B-4314-9B9E-06BAA0449892@futilism.com> Message-ID: <00A9AB72-D788-432C-8016-62FF333312A1@futilism.com> In fact it is easy: if you want to join two images, "img1.jpg" and 'img2.jpg" it would look like this: get shell("convert img1.jpg img2.jpg +append result.jpg") As far as I can tell, magick is not installed on on-rev - I'm not sure how you'd go about installing it, as we don't seem to get shell access. Perhaps a call to on-rev support? Best, Mark On 4 May 2009, at 01:58, Mark Smith wrote: > This may be easy to do in magick: > > http://www.imagemagick.org/script/command-line-options.php#append > > Best, > > Mark > > On 4 May 2009, at 01:56, Mark Smith wrote: > >> Sarah, others may know better, but I think you'll find this >> difficult to do. The way one might do this in a stack would be to >> import both images, then get the imageData of each, and join them up. >> >> The imageData is actually just a list of pixel values as they are >> rendered by rev. Typically, a jpeg or png image file does not >> actually contain that data, it will contain a compressed version >> which you can't just stick together in the same way. >> >> You may need to look into a command line tool like image magick >> that you can make shell calls to, either to extract the imageData >> or to do the whole job. >> >> Hopefully someone more knowledgable will be able to tell us I'm >> wrong, but that's my understanding. :( >> >> best, >> >> Mark >> >> >> On 4 May 2009, at 00:12, Sarah Reichelt wrote: >> >>> Hi all you graphics gurus out there, >>> >>> I have 2 images, each 40 x 40 pixels. >>> I want to join then side by side to end up with an image 80 x 40. >>> Since this is for use in On-Rev, it has to work in script only, no >>> stack or image objects can be used. >>> >>> I am a complete noob when it come to graphics, but I know there are >>> people here who are experts, so if anyone has any suggestions, I >>> would >>> be most grateful. >>> >>> Thanks, >>> 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 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From katir at hindu.org Sun May 3 22:50:43 2009 From: katir at hindu.org (Sivakatirswami) Date: Sun, 03 May 2009 16:50:43 -1000 Subject: Save Data to stack inside Standalone - Broken? In-Reply-To: <000001c9cc50$e47f5590$ad7e00b0$@com> References: <49FD21B0.5070303@hindu.org> <49FDB752.1010609@comcast.net> <49FE233A.8050902@hindu.org> <000001c9cc50$e47f5590$ad7e00b0$@com> Message-ID: <49FE5803.3090801@hindu.org> Jim Bufalini wrote: > Hi Sivakatirswami, > > Don't make the stack part of your standalone build. Rather, go or go > invisible to the stack from the preOpenStack of the splash stack in your > standalone. Doing this sets the filename of the stack. Then you can save it. > When you go to the stack, use a fully qualified path. So, if the stack is in > the same directory as your standalone, then *go stack (the defaultFolder & > slash & "lexicon.rev")* Now the stack will have a fileName property and can > be saved. If it is in subdirectories of the root, just add the subdirectory > path to the above as in (the defaultFolder & slash & > "subdirectory/subdirectory/lexicon.rev"). The only thing that can stop a > save then is user rights to the path. > > Aloha from another Island of Hawaii ;-) > > Jim Bufalini > > Aloha, Jim: You got it! Problem solved: go stack url "binfile:lexicon.rev" = bogus... I think we did that in another project where the stack would not open properly... can't remember why we need to use the url binfile format to get the stack to open. But, it was doing exactly like downloading from the web... open in ram but no file name. This works now... on loadFromDisk #start up handler set itemdel to "/" set the defaultfolder to item 1 to -2 of the effective filename of this stack --go stack url "binfile:lexicon.rev" #doesn't work go stack (the defaultfolder&"/lexicon.rev") # now it will save! hurray... hide stack "MahaLexiconLoader" end loadFromDisk It's been raining here on Kauai since last October, and only last week did it stop. I was so happy to see dust coming up from the tractor when I went out to mow the fields finally! Cheers skts From sarah.reichelt at gmail.com Sun May 3 23:10:49 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 4 May 2009 13:10:49 +1000 Subject: Joining 2 images In-Reply-To: <00A9AB72-D788-432C-8016-62FF333312A1@futilism.com> References: <9A95F62E-8AF4-4579-89A4-84A0328C058D@futilism.com> <23B04AAB-CF3B-4314-9B9E-06BAA0449892@futilism.com> <00A9AB72-D788-432C-8016-62FF333312A1@futilism.com> Message-ID: On Mon, May 4, 2009 at 11:14 AM, Mark Smith wrote: > In fact it is easy: > > if you want to join two images, "img1.jpg" and 'img2.jpg" it would look like > this: > > get shell("convert img1.jpg img2.jpg +append result.jpg") > > As far as I can tell, magick is not installed on on-rev - I'm not sure how > you'd go about installing it, as we don't seem to get shell access. Perhaps > a call to on-rev support? > Thanks heaps for this Mark, I'll email support and see what they can do. Regards, Sarah From lists at futilism.com Sun May 3 23:10:52 2009 From: lists at futilism.com (Mark Smith) Date: Mon, 4 May 2009 04:10:52 +0100 Subject: Joining 2 images In-Reply-To: <00A9AB72-D788-432C-8016-62FF333312A1@futilism.com> References: <9A95F62E-8AF4-4579-89A4-84A0328C058D@futilism.com> <23B04AAB-CF3B-4314-9B9E-06BAA0449892@futilism.com> <00A9AB72-D788-432C-8016-62FF333312A1@futilism.com> Message-ID: <85F6863A-4A21-41E5-B4E8-C2FCF9A29312@futilism.com> I've nearly got it working without image magick. This works perfectly in the rev ide: function joinImages imgFile1, imgFile2 set the textdata of the templateimage to url ("binfile:" & imgFile1) put the width of the templateimage into w1 put the height of the templateimage into h1 put the imagedata of the templateimage into tid1 set the textdata of the templateimage to url ("binfile:" & imgFile2) put the width of the templateimage into w2 put the height of the templateimage into h2 put the imagedata of the templateimage into tid2 put max(h1, h2) into h3 put 0 into bytesDone1 put 0 into bytesDone2 repeat with n = 1 to h3 if n <= h1 then put byte (bytesDone1 + 1) to (bytesDone1 + (w1 * 4)) of tid1 after tid3 else repeat w1 * 4 put null after tid3 end repeat end if add w1 * 4 to bytesDone1 if n <= h2 then put byte (bytesDone2 + 1) to (bytesDone2 + (w2 * 4)) of tid2 after tid3 else repeat w2 * 4 put null after tid3 end repeat end if add w2 * 4 to bytesDone2 end repeat set the width of the templateimage to w1 + w2 set the height of the templateimage to h3 set the imageData of the templateimage to tid3 put "composite.jpg" into tFile export the templateimage to file tFile as JPEG return tFile end joinimages but all it produces on irev is a shocking pink rectangle : http:// marksmith.on-rev.com/imagejoin.irev Perhaps there's a bug to do with imageData in the irev engine. best, Mark On 4 May 2009, at 02:14, Mark Smith wrote: > In fact it is easy: > > if you want to join two images, "img1.jpg" and 'img2.jpg" it would > look like this: > > get shell("convert img1.jpg img2.jpg +append result.jpg") > > As far as I can tell, magick is not installed on on-rev - I'm not > sure how you'd go about installing it, as we don't seem to get > shell access. Perhaps a call to on-rev support? > > Best, > > Mark > > On 4 May 2009, at 01:58, Mark Smith wrote: > >> This may be easy to do in magick: >> >> http://www.imagemagick.org/script/command-line-options.php#append >> >> Best, >> >> Mark >> >> On 4 May 2009, at 01:56, Mark Smith wrote: >> >>> Sarah, others may know better, but I think you'll find this >>> difficult to do. The way one might do this in a stack would be to >>> import both images, then get the imageData of each, and join them >>> up. >>> >>> The imageData is actually just a list of pixel values as they are >>> rendered by rev. Typically, a jpeg or png image file does not >>> actually contain that data, it will contain a compressed version >>> which you can't just stick together in the same way. >>> >>> You may need to look into a command line tool like image magick >>> that you can make shell calls to, either to extract the imageData >>> or to do the whole job. >>> >>> Hopefully someone more knowledgable will be able to tell us I'm >>> wrong, but that's my understanding. :( >>> >>> best, >>> >>> Mark >>> >>> >>> On 4 May 2009, at 00:12, Sarah Reichelt wrote: >>> >>>> Hi all you graphics gurus out there, >>>> >>>> I have 2 images, each 40 x 40 pixels. >>>> I want to join then side by side to end up with an image 80 x 40. >>>> Since this is for use in On-Rev, it has to work in script only, no >>>> stack or image objects can be used. >>>> >>>> I am a complete noob when it come to graphics, but I know there are >>>> people here who are experts, so if anyone has any suggestions, I >>>> would >>>> be most grateful. >>>> >>>> Thanks, >>>> 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 >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 Sun May 3 23:13:45 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 4 May 2009 13:13:45 +1000 Subject: Joining 2 images In-Reply-To: <85F6863A-4A21-41E5-B4E8-C2FCF9A29312@futilism.com> References: <9A95F62E-8AF4-4579-89A4-84A0328C058D@futilism.com> <23B04AAB-CF3B-4314-9B9E-06BAA0449892@futilism.com> <00A9AB72-D788-432C-8016-62FF333312A1@futilism.com> <85F6863A-4A21-41E5-B4E8-C2FCF9A29312@futilism.com> Message-ID: On Mon, May 4, 2009 at 1:10 PM, Mark Smith wrote: > I've nearly got it working without image magick. > > This works perfectly in the rev ide: > > function joinImages imgFile1, imgFile2 > > ? ? ? ?set the textdata of the templateimage to url ("binfile:" & imgFile1) I would guess that since on-rev is not stack-based, you have no access to the templateImage. But this is the sort of thing I was hoping for. Cheers, Sarah From lists at futilism.com Sun May 3 23:35:05 2009 From: lists at futilism.com (Mark Smith) Date: Mon, 4 May 2009 04:35:05 +0100 Subject: Joining 2 images In-Reply-To: References: <9A95F62E-8AF4-4579-89A4-84A0328C058D@futilism.com> <23B04AAB-CF3B-4314-9B9E-06BAA0449892@futilism.com> <00A9AB72-D788-432C-8016-62FF333312A1@futilism.com> <85F6863A-4A21-41E5-B4E8-C2FCF9A29312@futilism.com> Message-ID: <5581DBBD-47AE-40EF-957C-F85F8BD84FAE@futilism.com> Well it seems to kniow about the templateImage, because it can get it's dimensions and so on, and gets no errors - perhaps it's in the export statement - though as I say, the script runs and returns without errors... Best, Mark On 4 May 2009, at 04:13, Sarah Reichelt wrote: > > I would guess that since on-rev is not stack-based, you have no access > to the templateImage. > But this is the sort of thing I was hoping for. > > 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 Mon May 4 01:42:23 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 4 May 2009 13:42:23 +0800 Subject: First look at Service USB gadget In-Reply-To: References: Message-ID: On Fri, May 1, 2009 at 10:09 PM, wrote: > > Almost anyone could create an alarm system, a light show or the like with > radio shack components. You need hobby level electronic know-how to do > anything really cool, but your Mac can completely control the world. It is > hardware I/O for the rest of us. > > For a lot less money and more capability you might want to check out one of these (you'll need advanced hobby level electronics know-how): http://www.modtronix.com/product_info.php?cPath=105_112&products_id=149 If that's a little too hard for you and you wish to stick with hobby level electronics know-how, then adding this expansion module is still cheaper: http://www.modtronix.com/product_info.php?products_id=198 What I like is it's ethernet based, although there other options. As such you can control things at home from the office and don't necessarily need Rev, you can do it with a web browser :-) Check out the example they have hooked up to the internet, you can turn it's ports on and off from your browser. Now that's cool and cheap :-) From lan.kc.macmail at gmail.com Mon May 4 01:56:12 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 4 May 2009 13:56:12 +0800 Subject: Positive Feedback In-Reply-To: <49FD7DF2.9080905@gmail.com> References: <49FD7DF2.9080905@gmail.com> Message-ID: On Sun, May 3, 2009 at 7:20 PM, Richmond Mathewson < richmondmathewson at gmail.com> wrote: > I constantly get 'funny' > looks... It's the kilt ;-) From lan.kc.macmail at gmail.com Mon May 4 02:02:11 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 4 May 2009 14:02:11 +0800 Subject: (no subject) In-Reply-To: <16699072.429871241351015572.JavaMail.defaultUser@defaultHost> References: <16699072.429871241351015572.JavaMail.defaultUser@defaultHost> Message-ID: On Sun, May 3, 2009 at 7:43 PM, barryb at libero.it wrote: > That's why I read all the digests every day and just wait for the > tip I need to turn up, although it makes me feel like a lurker which is a > name > I don't like. That's easy to solve, make another post. At two posts you are officially no longer a lurker and are upgraded to full question posting privileges ;-) From richmondmathewson at gmail.com Mon May 4 04:30:44 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 04 May 2009 11:30:44 +0300 Subject: [OT] Web hosting? Message-ID: <49FEA7B4.9060707@gmail.com> My website seems to have 'gone' insofar as I can no longer edit it. http://mail.maclaunch.com/richmond/ So. last night, in a fit of desperation (well, maybe not desperation) I did this: http://richmondmathewson.wetpaint.com/ which, if you take a look at it, is bl**dy awful; a real case of not seeing the wood for the trees. Anyway, it will not do . . . I would be grateful for any pointers to free web hosting services that might allow me to end up with something that looks a bit better, and allows me proper off-line editing prior to up-loading rather than the MIckey-Mouse stuff at Wetpaint (even the name makes me shudder). sincerely, Richmond Mathewson. From richmondmathewson at gmail.com Mon May 4 04:34:05 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 04 May 2009 11:34:05 +0300 Subject: Positive Feedback In-Reply-To: References: <49FD7DF2.9080905@gmail.com> Message-ID: <49FEA87D.6070508@gmail.com> I may be a bit daft, but I don't really wear a kilt here in Bulgaria; a country, like others in the Balkans, known for ethnic tensions and screaming racism: being red-haired here is bad enough. :) However, Kay, I trust you will be there in Edinburgh, when I shall appear in my full nausea! Kay C Lan wrote: > On Sun, May 3, 2009 at 7:20 PM, Richmond Mathewson < > richmondmathewson at gmail.com> wrote: > > >> I constantly get 'funny' >> looks... >> > > > It's the kilt ;-) > _______________________________________________ > use-revolution mailing list > use-revolution at 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 May 4 05:00:52 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 4 May 2009 11:00:52 +0200 Subject: [OT] Web hosting? In-Reply-To: <49FEA7B4.9060707@gmail.com> References: <49FEA7B4.9060707@gmail.com> Message-ID: <260D0101-6BC1-45AB-BC79-F9F167CBF68F@economy-x-talk.com> Hi Richmond, I might be able to help you. It is not completely free, but certainly cheap (all necessary features are there and I'm tempted to call it inexpensive rather than cheap, but that's... cheap ;-) ). Contact me off-list if you're interested. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum New: Snapper Screen Recorder 2.0.1 Download at http://snapper.economy-x-talk.com On 4 mei 2009, at 10:30, Richmond Mathewson wrote: > My website seems to have 'gone' insofar as I can no longer edit it. > > http://mail.maclaunch.com/richmond/ > > So. last night, in a fit of desperation (well, maybe not > desperation) I did this: > > http://richmondmathewson.wetpaint.com/ > > which, if you take a look at it, is bl**dy awful; a real case of not > seeing the wood for the trees. > > Anyway, it will not do . . . > > I would be grateful for any pointers to free web hosting services > that might > allow me to end up with something that looks a bit better, and > allows me > proper off-line editing prior to up-loading rather than the MIckey- > Mouse > stuff at Wetpaint (even the name makes me shudder). > > sincerely, Richmond Mathewson. From richmondmathewson at gmail.com Mon May 4 05:30:22 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 04 May 2009 12:30:22 +0300 Subject: Joining Images - cheating Message-ID: <49FEB5AE.7040900@gmail.com> Presumably this can only be done in RR, rather than on-rev? Import 2 images, put them side by side, and export a snapshot to file. From jim at visitrieve.com Mon May 4 06:18:43 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Mon, 4 May 2009 00:18:43 -1000 Subject: Save Data to stack inside Standalone - Broken? In-Reply-To: <49FE5803.3090801@hindu.org> References: <49FD21B0.5070303@hindu.org> <49FDB752.1010609@comcast.net> <49FE233A.8050902@hindu.org> <000001c9cc50$e47f5590$ad7e00b0$@com> <49FE5803.3090801@hindu.org> Message-ID: <000101c9cca1$b48955b0$1d9c0110$@com> Hi Sivakatirswami, > You got it! Problem solved: Great. > go stack url "binfile:lexicon.rev" = bogus... I think we did that in > another project where the stack would not open properly... can't > remember why we need to use the url binfile format to get the stack to > open. > > But, it was doing exactly like downloading from the web... > open in ram but no file name. > > This works now... > > on loadFromDisk #start up handler > set itemdel to "/" > set the defaultfolder to item 1 to -2 of the effective filename of > this stack > --go stack url "binfile:lexicon.rev" #doesn't work > go stack (the defaultfolder&"/lexicon.rev") # now it will save! > hurray... > hide stack "MahaLexiconLoader" > end loadFromDisk One more gotchya to look out for when constructing fully qualified file paths for cross-platform development. I gave the example I did because you said, in answer to one of my questions, that you were on a Mac. Then I read in a post you made to another list that you must be developing for cross-platform. Either that, or you've made a significant dent into the Mac market. ;-) Using the default folder or item 1 to -2 of the filename of stack... tends to work fine cross-platform, where Rev is handling the translation. But, as soon as you start hard coding slashes (as in your and my example), you can run into issues on different platforms for different commands. PCs don't like slashes and servers don't like backslashes. ;-) So best to be safe and have something like this: Global gfd -- for file delimiter IF the platform = "MacOS" OR the platform <> "Win32" THEN put "/" into gfd ... Any other platform specifics like fonts. Else Put "\" into gfd ... same End if Then hardcode slash (/) as you did above. But, right before doing file manipulations, put a: Replace slash with gfd in This will save you from scratching your head over "file not found" errors. It also allows you to use *set itemdel to gfd* without having to think. ;-) Of course, always use slash (/) when addressing servers, regardless of what the desktop platform is. > It's been raining here on Kauai since last October, and only last week > did it stop. > I was so happy to see dust coming up from the tractor when I went out > to > mow the fields finally! It's a lot wetter there. ;-) I think we've had one day of solid rain here (outside of the occasional "liquid sunshine" sprinkles during the day) in the past few weeks. Then again, the only fields I have are in Rev. ;-) Is plowing fields why you invited me to visit? ;-) Aloha from a sunnier Island of Hawaii, ;-) Jim Bufalini From palcibiades-first at yahoo.co.uk Mon May 4 07:10:21 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 4 May 2009 12:10:21 +0100 Subject: OT: What to use on a PIII in Bulgaria? Message-ID: <200905041210.21550.palcibiades-first@yahoo.co.uk> I'd not use Xubuntu out of the box - Distrowatch this week has a nice piece showing that its very much more resource intensive, like in some cases 10x, than Xfce on Debian. One could do a custom Xubuntu install and leave out all the fat. In which case a barebones Lenny install will be more stable and no more trouble. But surely the logical choice for a PIII is not Xfce, Gnome or KDE, but Fluxbox, and maybe not even Debian or Ubuntu, but Puppy with one of the minimalist WMs, Fluxbox or JWM for instance. A barebones Debian with Fluxbox or JWM will be quite fast. Slax is also not bad, a bit more featured than Puppy and comes with Fluxbox which you can use instead of the stripped down KDE which is the default. Xfce is a bit lighter weight than Gnome or KDE, but there is not a huge amount in it, and Fluxbox beats all three by a mile. Puppy is brilliant for low end machines. There is a minimalist Fluxbox Ubuntu, Fluxbuntu. Might be worth considering also if one really wants to stay with Ubuntu. Peter From david.bovill at gmail.com Mon May 4 07:16:51 2009 From: david.bovill at gmail.com (David Bovill) Date: Mon, 4 May 2009 12:16:51 +0100 Subject: Joining 2 images In-Reply-To: <00A9AB72-D788-432C-8016-62FF333312A1@futilism.com> References: <9A95F62E-8AF4-4579-89A4-84A0328C058D@futilism.com> <23B04AAB-CF3B-4314-9B9E-06BAA0449892@futilism.com> <00A9AB72-D788-432C-8016-62FF333312A1@futilism.com> Message-ID: 2009/5/4 Mark Smith > > get shell("convert img1.jpg img2.jpg +append result.jpg") > > As far as I can tell, magick is not installed on on-rev - I'm not sure how > you'd go about installing it, as we don't seem to get shell access. Perhaps > a call to on-rev support? Are you sure? Would be a strange hosting setup without a bit of magick? I'll have to email support and get my shell access sorted. Is anyone with shell access able to confirm which common command line utilities are available to us (aside from the basic unix commands) - do we have access to ./configue / make etc? From lists at mangomultimedia.com Mon May 4 07:35:42 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 4 May 2009 07:35:42 -0400 Subject: data grid, custom sorting In-Reply-To: References: Message-ID: <7C73B992-DCE9-4D92-8C28-47365E189A91@mangomultimedia.com> On May 2, 2009, at 10:05 PM, Shao Sean wrote: > When sorting a list of files by size I thought it would be nice to > display the sizes in more readable format (5.6 MB, 320 KB, etc) yet > doing a sort on the size column in the data grid would sort properly > for the numbers but would not be sorted correctly for the actual > sizes. Rooting around in the data grid parentScript I came across > "sortDataByKey" which allows you sort based on the actual data in > the dgData instead of what is displayed (1024 instead of 1 KB) - > that was the easy part. While your custom sort will work one other approach would be to leave the data in your column in the original format so that numerical sorting still works. You could then format the data for display in the FillInData message. > The hard part, which took all of four hours and one kernel panic > (which is my fourth one with the data grid), I managed to get the > column headers correctly hiliting (the documentation clearly point > this out as dgHilite so not too hard to figure out what command to > use). What the docs clearly miss though is that this is not a > property of the data grid (which would make it much easier to use > [feature request :) ]) but a property of the column header group so > you need to call it by its medium name (not a real feature of Rev). I don't believe the docs state anywhere that dgHilite is a property of the data grid but says it is a property of a template. See here: Row and column templates have the dgHilite property set so that you can visually change the look of the row and column. Regards, -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.com From richmondmathewson at gmail.com Mon May 4 07:37:06 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 04 May 2009 14:37:06 +0300 Subject: OT: What to use on a PIII in Bulgaria? In-Reply-To: <200905041210.21550.palcibiades-first@yahoo.co.uk> References: <200905041210.21550.palcibiades-first@yahoo.co.uk> Message-ID: <49FED362.8070502@gmail.com> I have just 'redone' my PIIIs with Ubuntu 8.04; from what I can see they seem no slower than 5.10 --- we shall see over the next few weeks; the reason I did this was to play .SWF files. Certainly for my RR programs they are OK; otherwise we shall have to wait and see. However, I foresee a "dirty weekend" where I spend a lot of time sending them back to 5.10 . . . If the price of playing .SWF files is that Open Office grinds to a shuddering halt, then it's not worth it: especially as my G3 iMac at the front of the classroom is very happy with the .SWF files. Logical Choices are all well and good, but one has to deal with children who cannot function unless the GUI looks remarkably like Windows XP. Peter Alcibiades wrote: > I'd not use Xubuntu out of the box - Distrowatch this week has a nice piece > showing that its very much more resource intensive, like in some cases > 10x, than Xfce on Debian. > > One could do a custom Xubuntu install and leave out all the fat. In which > case a barebones Lenny install will be more stable and no more trouble. > > But surely the logical choice for a PIII is not Xfce, Gnome or KDE, but > Fluxbox, and maybe not even Debian or Ubuntu, but Puppy with one of the > minimalist WMs, Fluxbox or JWM for instance. A barebones Debian with > Fluxbox or JWM will be quite fast. Slax is also not bad, a bit more > featured than Puppy and comes with Fluxbox which you can use instead of > the stripped down KDE which is the default. > > Xfce is a bit lighter weight than Gnome or KDE, but there is not a huge > amount in it, and Fluxbox beats all three by a mile. Puppy is brilliant > for low end machines. There is a minimalist Fluxbox Ubuntu, Fluxbuntu. > Might be worth considering also if one really wants to stay with Ubuntu. > > 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 lists at mangomultimedia.com Mon May 4 07:45:59 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 4 May 2009 07:45:59 -0400 Subject: data grid - contextual menu In-Reply-To: References: Message-ID: On May 2, 2009, at 7:34 PM, Shao Sean wrote: > [apologize in advanced if this is a double post] > > This seems to work and unless Trevor chimes in and says not to do it > this way, it seems to work just fine > > on mouseDown pButton > if (pButton = 3) then -- right click > dgMouseDown pButton > # do context menu stuff > else > pass mouseDown > end if > end mouseDown Yes, this is how you would display a contextual. I haven't added this to the docs yet but I did cover this and some other even related information in the webinar the other day. Regards, -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.com From lists at futilism.com Mon May 4 07:47:11 2009 From: lists at futilism.com (Mark Smith) Date: Mon, 4 May 2009 12:47:11 +0100 Subject: Joining 2 images In-Reply-To: References: <9A95F62E-8AF4-4579-89A4-84A0328C058D@futilism.com> <23B04AAB-CF3B-4314-9B9E-06BAA0449892@futilism.com> <00A9AB72-D788-432C-8016-62FF333312A1@futilism.com> Message-ID: Well, a shell call to "convert" within an irev script got the dreaded "command not found" response... Also, a bit more on the templateimage in on-rev: You can and then get the correct dimensions of the referenced image file with and but , though it will be the right size, will be all nulls... I've mentioned it in the on-rev forum, so we'll see if the magicians at runrev can make such things work in on-rev. To see what I mean, go here: http://marksmith.on-rev.com/imagejoin.irev and to see the script that's doing it: http://marksmith.on-rev.com/ joinimages.inc Best, Mark On 4 May 2009, at 12:16, David Bovill wrote: > 2009/5/4 Mark Smith > >> >> get shell("convert img1.jpg img2.jpg +append result.jpg") >> >> As far as I can tell, magick is not installed on on-rev - I'm not >> sure how >> you'd go about installing it, as we don't seem to get shell >> access. Perhaps >> a call to on-rev support? > > > Are you sure? Would be a strange hosting setup without a bit of > magick? > > I'll have to email support and get my shell access sorted. Is > anyone with > shell access able to confirm which common command line utilities are > available to us (aside from the basic unix commands) - do we have > access to > ./configue / make etc? > _______________________________________________ > use-revolution mailing list > use-revolution at 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 May 4 08:57:27 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 4 May 2009 08:57:27 -0400 Subject: (no subject) In-Reply-To: References: Message-ID: On May 2, 2009, at 11:05 PM, Shao Sean wrote: > modified it some to be a little cleaner as well as allowing the data > grid to know that it is sorting on the custom sorted column.. In the current release version of the data grid there are two issues when performing a custom sort within SortDataGridColumn. The first is that you can't set the dgIndexes property in order to change the sort of the indexes. This doesn't affect your example because you seem to be storing "size" as a hidden column in your table and then using SortDataByKey to do the sort. The second issue is that there is no easy way of updating the internal props and UI to reflect the currently sorted column. I've uploaded a test build of the library (1.0 build 8) which addresses these issues. You can now set the dgIndexes property and I created a handler out of existing data grid code that updates internal props and UI: HiliteAndStoreSortByColumn. HiliteAndStoreSortByColumn is meant to be called from within SortDataGridColumn when you are performing a custom sort. I also switched the sorting so that it occurs on mouseup rather than mousedown. Here is an example of using HiliteAndStoreSortByColumn and dgIndexes in on SortDataGridColumn. Note that this is only required if you are performing a custom sort. on SortDataGridColumn pColumn switch pColumn case "MySpecialColumn" ## Update UI and 'sort by column' HiliteAndStoreSortByColumn "MySpecialColumn" ## Get ready to perform custom sort. put the dgIndexes of me into theIndexes -- so we perform a stable sort put the dgData of the dgControl of me into theDataA -- get data so we can create sort list ## Create list of indexes and the key to sort by repeat for each item theIndex in theIndexes put theIndex & tab & theDataA[theIndex] ["MySpecialColumn"] & cr after theData end repeat delete the last char of theData ## At this point you can apply your special sort function to item 2 to -1 of theData ## Now update the indexes of the data grid so new order is reflected. put empty into theIndexes repeat for each line theLine in theData put item 1 of theLine & comma after theIndexes end repeat delete the last char of theIndexes ## Setting the dgIndexes will update the sort order and redraw data. set the dgIndexes of the dgControl of me to theIndexes break default pass SortDataGridColumn end switch end SortDataGridColumn Here are some notes to your sort handler. > command sortDataGridColumn pColumn > constant kColumnSize = "size" > local tOldSortKey > lock screen > > switch (pColumn) > case kColumnSize > lock messages > put the dgProps["sort by column"] of me into tOldSortKey ## Note: You no longer need to set the 'sort by column' here. It is set in HiliteAndStoreSortByColumn > set the dgProps["sort by column"] of me to kColumnSize > ## Note: This code a) won't work and b) has already been handled at this point. ## A) because you have messages locked and dgColumnSortDirection is a custom property using get/setProp. ## B) Changing of ascending/descending is handled when you click on the column header. This happens before ## SortDataGRidColumn is called. > if (the dgColumnSortDirection[kColumnSize] of me = "ascending") > then > set the dgColumnSortDirection[kColumnSize] of me to > "descending" > else > set the dgColumnSortDirection[kColumnSize] of me to "ascending" > end if > unlock messages ## Note: FYI: I believe this gives you the exact same behavior as setting the column sort to "numeric" in the property inspector. ## based on the code you aren't doing anything differently. > sortDataByKey kColumnSize, "numeric", the > dgColumnSortDirection[kColumnSize] of me, FALSE > ## Note: this is no longer needed with HiliteAndStoreSortByColumn. > set the dgHilite of group tOldSortKey of group "dgHeader" to > FALSE > set the dgHilite of group kColumnSize of group "dgHeader" to TRUE > break > default > pass sortDataGridColumn > break > end switch > end sortDataGridColumn Here is an example of SortDataGridColumn using updated data grid library: on SortDataGridColumn pColumn constant kColumnSize = "size" switch pColumn case kColumnSize HiliteAndStoreSortByColumn kColumnSize SortDataByKey kColumnSize, "numeric", the dgColumnSortDirection[kColumnSize] of me, FALSE break default pass SortDataGridColumn end switch end SortDataGridColumn Regards, -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.com From david.bovill at gmail.com Mon May 4 09:04:27 2009 From: david.bovill at gmail.com (David Bovill) Date: Mon, 4 May 2009 14:04:27 +0100 Subject: Joining 2 images In-Reply-To: References: <9A95F62E-8AF4-4579-89A4-84A0328C058D@futilism.com> <23B04AAB-CF3B-4314-9B9E-06BAA0449892@futilism.com> <00A9AB72-D788-432C-8016-62FF333312A1@futilism.com> Message-ID: 2009/5/4 Mark Smith > Well, a shell call to "convert" within an irev script got the dreaded > "command not found" response... Good grief! Looks like the On-Rev hosting is really stripped down to a bare bones minimum. What happens if you type any of the following at the command line: - make --version - svn --version Thanks From got at mindspring.com Mon May 4 09:22:15 2009 From: got at mindspring.com (Gordon Tillman) Date: Mon, 04 May 2009 08:22:15 -0500 Subject: Joining 2 images In-Reply-To: References: <9A95F62E-8AF4-4579-89A4-84A0328C058D@futilism.com> <23B04AAB-CF3B-4314-9B9E-06BAA0449892@futilism.com> <00A9AB72-D788-432C-8016-62FF333312A1@futilism.com> Message-ID: <49FEEC07.6000000@mindspring.com> David Bovill wrote: > Good grief! Looks like the On-Rev hosting is really stripped down to a bare > bones minimum. What happens if you type any of the following at the command > line: > > - make --version > - svn --version David here is the output from those commands: # make --version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i686-redhat-linux-gnu # svn --version svn, version 1.4.2 (r22196) compiled Sep 1 2008, 06:37:46 Copyright (C) 2000-2006 CollabNet. Subversion is open source software, see http://subversion.tigris.org/ This product includes software developed by CollabNet (http://www.Collab.Net/). The following repository access (RA) modules are available: * ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol. - handles 'http' scheme - handles 'https' scheme * ra_svn : Module for accessing a repository using the svn network protocol. - handles 'svn' scheme * ra_local : Module for accessing a repository on local disk. - handles 'file' scheme I think the problems can be traced to the fact that our accounts are using "jailshell" instead of, say, bash!!! # echo $SHELL /usr/local/cpanel/bin/jailshell I was able to compile and install (in my own directory) a couple of packages. --gordon From runrev260805 at m-r-d.de Mon May 4 09:47:42 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Mon, 4 May 2009 13:47:42 +0000 Subject: OT: shell access in on-rev - please do not complain anymore Message-ID: <00036331.49FF0E1D@the-office.us> Hi, i do not know, what web hosting does mean in the other countries. But if i buy a web hosting package here in germany, then it is normal, that i do not get full shell access. If i want full control of the server including shell access i have to purchase a server or a virtual server package. On-rev offers lot more than normal web hosting. So i cannot understand why so many people are complaining about the missing shell access. Btw. before purchasing on-rev everyone can see the feature chart of on-rev. There is nothing to read about shell access. Okay, if there would be the possibility to use some command line tools like magick this would be fine. But i, for one, want a system, which is not vulnerable because everyone gets (full) shell access. Sorry, but i am just in a bad temper at the moment and i am sick of reading messages complaining about a missing feature which was even not promised by Runrev. I do not know how much you pay for other web hosting packages, but with the on-rev founder offer i can spent about 130,- Euros a month. Regards, Matthias From got at mindspring.com Mon May 4 10:05:37 2009 From: got at mindspring.com (Gordon Tillman) Date: Mon, 04 May 2009 09:05:37 -0500 Subject: OT: shell access in on-rev - please do not complain anymore In-Reply-To: <00036331.49FF0E1D@the-office.us> References: <00036331.49FF0E1D@the-office.us> Message-ID: <49FEF631.8090305@mindspring.com> Howdy Matthias, runrev260805 at m-r-d.de wrote: > Okay, if there would be the possibility to use some command line tools like magick this would be fine. > But i, for one, want a system, which is not vulnerable because everyone gets (full) shell access. When I see the words "full shell access" I get the impression you are referring to root access. But I don't think anyone is expecting that on a shared hosting system. A normal (non-root) account using a normal shell is not anywhere near as powerful (or dangerous) as a root account is. The entire Unix/Linux operating system is designed to separate those two classes of users. --gordon From richmondmathewson at gmail.com Mon May 4 10:18:18 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 04 May 2009 17:18:18 +0300 Subject: Dumb Newbie Questions -- 4 of N Message-ID: <49FEF92A.5000204@gmail.com> As we are now getting postings about 'shell access' (err, something about turtles?), and 'termite eradicators' (err, debuggers?), as well as discussions about how the programming language/IDE we all "know and love" (err, xTalk, RevTalk, Transcript, Revolution) came to be the way it is; how long is it until we see people taking sides in terms of Creationism (all done in one fell swoop by Bill Atkinson) and Evolution? There were even a few postings (Judy ???) a while back about 'the dark lord', a.k.a. "the lord of light". I would favour a much neglected 19th century theory, where after a benign deity sets the ball rolling, s/he returns in the form of various incarnations/avatars to gently give things a corrective nudge in the desired direction. From david.bovill at gmail.com Mon May 4 10:46:22 2009 From: david.bovill at gmail.com (David Bovill) Date: Mon, 4 May 2009 15:46:22 +0100 Subject: Joining 2 images In-Reply-To: <49FEEC07.6000000@mindspring.com> References: <9A95F62E-8AF4-4579-89A4-84A0328C058D@futilism.com> <23B04AAB-CF3B-4314-9B9E-06BAA0449892@futilism.com> <00A9AB72-D788-432C-8016-62FF333312A1@futilism.com> <49FEEC07.6000000@mindspring.com> Message-ID: Thanks a lot for the info Gordon. That's pretty well made my mind up - going to keep my On-Rev account, and start getting stuck in :) Gordon - if there is any chance you adding a very brief description of what you managed to compile and the shell commands you used to the On-Rev forum - or just post it here - it would be a great help? 2009/5/4 Gordon Tillman > David Bovill wrote: > > Good grief! Looks like the On-Rev hosting is really stripped down to a >> bare >> bones minimum. What happens if you type any of the following at the >> command >> line: >> >> - make --version >> - svn --version >> > David here is the output from those commands: > > # make --version > GNU Make 3.81 > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A > PARTICULAR PURPOSE. > > This program built for i686-redhat-linux-gnu > > # svn --version > svn, version 1.4.2 (r22196) > compiled Sep 1 2008, 06:37:46 > > Copyright (C) 2000-2006 CollabNet. > Subversion is open source software, see http://subversion.tigris.org/ > This product includes software developed by CollabNet ( > http://www.Collab.Net/). > > The following repository access (RA) modules are available: > > * ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol. > - handles 'http' scheme > - handles 'https' scheme > * ra_svn : Module for accessing a repository using the svn network > protocol. > - handles 'svn' scheme > * ra_local : Module for accessing a repository on local disk. > - handles 'file' scheme > > I think the problems can be traced to the fact that our accounts are using > "jailshell" instead of, say, bash!!! > > # echo $SHELL > /usr/local/cpanel/bin/jailshell > > I was able to compile and install (in my own directory) a couple of > packages. > > --gordon > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From got at mindspring.com Mon May 4 11:01:39 2009 From: got at mindspring.com (Gordon Tillman) Date: Mon, 04 May 2009 10:01:39 -0500 Subject: Joining 2 images In-Reply-To: References: <9A95F62E-8AF4-4579-89A4-84A0328C058D@futilism.com> <23B04AAB-CF3B-4314-9B9E-06BAA0449892@futilism.com> <00A9AB72-D788-432C-8016-62FF333312A1@futilism.com> <49FEEC07.6000000@mindspring.com> Message-ID: <49FF0353.5030303@mindspring.com> David Bovill wrote: > Gordon - if there is any chance you adding a very brief description of what > you managed to compile and the shell commands you used to the On-Rev forum - > or just post it here - it would be a great help? David I'm writing it up now and will post a link shortly. --gordon From tvogelaar at de-mare.nl Mon May 4 11:19:15 2009 From: tvogelaar at de-mare.nl (Terry Vogelaar) Date: Mon, 4 May 2009 17:19:15 +0200 Subject: SQL problem Message-ID: <28CD153F-5381-4185-90FA-B36F8CAD4761@de-mare.nl> Hi all, I am struggling to get a MySQL database filled. The idea is to use a form that calls an irev file, that in turn adds to the database. Here is the script: Sample data: http://terry.on-rev.com/h.irev?login=hafaddegon&ww=%3D% 5DwTjLEl&toegang=xA1%0D%0AxB1 All arguments are URL encoded... But I get a SQL error... Is anyone seeing what the error could be? Terry From m.schonewille at economy-x-talk.com Mon May 4 11:27:35 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 4 May 2009 17:27:35 +0200 Subject: SQL problem In-Reply-To: <28CD153F-5381-4185-90FA-B36F8CAD4761@de-mare.nl> References: <28CD153F-5381-4185-90FA-B36F8CAD4761@de-mare.nl> Message-ID: <2B20E311-C015-4FBF-ACE9-38B7F4CD331A@economy-x-talk.com> Hi Terry, Shouldn't that be revExecuteSQL? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum New: Snapper Screen Recorder 2.0.1 Download at http://snapper.economy-x-talk.com On 4 mei 2009, at 17:19, Terry Vogelaar wrote: > Hi all, > > I am struggling to get a MySQL database filled. The idea is to use a > form that calls an irev file, that in turn adds to the database. > > Here is the script: > put > revOpenDatabase > ("mysql","localhost","terry_dbname","terry_dbuser","password") into > tConID > > # Construct SQL > put "INSERT INTO 'terry_dbname'.'tablename' ('login' , 'ww' , > 'toegang') VALUES ('" & $_GET["login"] & "', '" & $_GET["ww"] & "', > '" & $_GET["toegang"] & "');" into tSQL > > if tConID is a number then > # Execute SQL > put revDataFromQuery(tab, return, tConID, tSQL) into tList > > revCloseDatase tConID > end if > ?> > > Sample data: > http://terry.on-rev.com/h.irev?login=hafaddegon&ww=%3D%5DwTjLEl&toegang=xA1%0D%0AxB1 > > All arguments are URL encoded... > > But I get a SQL error... Is anyone seeing what the error could be? > > Terry From got at mindspring.com Mon May 4 11:43:42 2009 From: got at mindspring.com (Gordon Tillman) Date: Mon, 04 May 2009 10:43:42 -0500 Subject: Django with On-Rev Using CGI In-Reply-To: References: <9A95F62E-8AF4-4579-89A4-84A0328C058D@futilism.com> <23B04AAB-CF3B-4314-9B9E-06BAA0449892@futilism.com> <00A9AB72-D788-432C-8016-62FF333312A1@futilism.com> <49FEEC07.6000000@mindspring.com> Message-ID: <49FF0D2E.7020700@mindspring.com> Howdy Folks, Here is a quick post that shows how to install Django (and several other packages) and configure it to work with your On-Rev account. http://www.gordontillman.info/computers/41-web-application-development/99-django-with-on-rev --gordon From david.bovill at gmail.com Mon May 4 12:23:44 2009 From: david.bovill at gmail.com (David Bovill) Date: Mon, 4 May 2009 17:23:44 +0100 Subject: Django with On-Rev Using CGI In-Reply-To: <49FF0D2E.7020700@mindspring.com> References: <9A95F62E-8AF4-4579-89A4-84A0328C058D@futilism.com> <23B04AAB-CF3B-4314-9B9E-06BAA0449892@futilism.com> <00A9AB72-D788-432C-8016-62FF333312A1@futilism.com> <49FEEC07.6000000@mindspring.com> <49FF0D2E.7020700@mindspring.com> Message-ID: Fab! Have not used Django in a few years - have some Rev scripts hanging around somewhere that would parse / create Django XML files... by the way what do you like about Mercurial? I've just moved over to GIT, but not had a look at Mercurial? 2009/5/4 Gordon Tillman > Howdy Folks, > > Here is a quick post that shows how to install Django (and several other > packages) and configure it to work with your On-Rev account. > > > http://www.gordontillman.info/computers/41-web-application-development/99-django-with-on-rev > > --gordon From jerry.daniels at me.com Mon May 4 12:32:19 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 04 May 2009 11:32:19 -0500 Subject: [ANN] Rev Mentor Top Ten analysis of this email list Message-ID: Fellow Revolutionistae, Because I am getting older and have little to occupy my time, I gone to the trouble to analyze your posts to this list over the last week. The HIGHLY revealing and suggestive results are now part of the semi- permanent record known as the Rev Mentor blog: http://www.revmentor.com/revolution-top-ten-video-charts-and-analyzer-3 "What sort of analysis is this?" you might well ask. It includes a short, 3.6 minute video commentary, five charts showing statistics for your week's email postings, and a downloadable email browser stack that does all the heavy lifting. Did I mention it's free? Jerry Daniels Host of Rev Mentor http://www.revmentor.com From got at mindspring.com Mon May 4 12:40:56 2009 From: got at mindspring.com (Gordon Tillman) Date: Mon, 04 May 2009 11:40:56 -0500 Subject: Django with On-Rev Using CGI In-Reply-To: References: <9A95F62E-8AF4-4579-89A4-84A0328C058D@futilism.com> <23B04AAB-CF3B-4314-9B9E-06BAA0449892@futilism.com> <00A9AB72-D788-432C-8016-62FF333312A1@futilism.com> <49FEEC07.6000000@mindspring.com> <49FF0D2E.7020700@mindspring.com> Message-ID: <49FF1A98.2050008@mindspring.com> David Bovill wrote: > Fab! Have not used Django in a few years - have some Rev scripts hanging > around somewhere that would parse / create Django XML files... by the way > what do you like about Mercurial? I've just moved over to GIT, but not had a > look at Mercurial? David I've never used Git, so I can't comment on that one, but I've used CVS and SVN extensively over the years. It took me just a short while to get my head around the Mercurial way to do things (which is probably very similar to Git). It's dead-easy to install and configure and to start a new repository. I really like the mindset of committing your changes before pulling and merging stuff from other developer's, as opposed to updating from a central repository first, merging/fixing conflicts, then committing. I like the flexibility of how you can publish changes. You can use the built-in web server to browse and pull changes. You can email changes. You can grab them via SSH, etc. Very nice. The command line interface is very simple and the built-in help is great. Performance is very fast and there is no problem at all with binary files, even large ones. There is a youtube video here: http://www.youtube.com/watch?v=JExtkqzEoHY from one of the lead developer's that is interesting. --gordon From mwieder at ahsoftware.net Mon May 4 12:59:25 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 4 May 2009 09:59:25 -0700 Subject: Django with On-Rev Using CGI In-Reply-To: <49FF0D2E.7020700@mindspring.com> References: <9A95F62E-8AF4-4579-89A4-84A0328C058D@futilism.com> <23B04AAB-CF3B-4314-9B9E-06BAA0449892@futilism.com> <00A9AB72-D788-432C-8016-62FF333312A1@futilism.com> <49FEEC07.6000000@mindspring.com> <49FF0D2E.7020700@mindspring.com> Message-ID: <751191904625.20090504095925@ahsoftware.net> Gordon- Monday, May 4, 2009, 8:43:42 AM, you wrote: > Here is a quick post that shows how to install Django (and several other > packages) and configure it to work with your On-Rev account. !!! This is exciting and timely. I was just wondering this morning about what it would take to get Django running on on-rev. Thanks. -- -Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Mon May 4 13:24:50 2009 From: bobs at twft.com (Bob Sneidar) Date: Mon, 4 May 2009 10:24:50 -0700 Subject: First look at Service USB gadget In-Reply-To: References: Message-ID: <5A448219-F527-47D0-8450-F0240408F0CE@twft.com> I had no idea that Aussie's say, "Dude!" Bob Sneidar IT Manager Logos Management Calvary Chapel CM On May 1, 2009, at 10:05 AM, Scott Rossi wrote: > Dude, you have no idea... > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design From andre at andregarzia.com Mon May 4 13:56:00 2009 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 4 May 2009 14:56:00 -0300 Subject: OT: shell access in on-rev - please do not complain anymore In-Reply-To: <49FEF631.8090305@mindspring.com> References: <00036331.49FF0E1D@the-office.us> <49FEF631.8090305@mindspring.com> Message-ID: <7c87a2a10905041056j64d6a86cgeb76c65ffdb6d8fe@mail.gmail.com> I for one have a need where I *NEED* to have shell access. I do most of my web developments thru the shell. I edit files, set things, all thru ssh with screen and nano (when I am felling bold, I use emacs). I also use interarchy and textmate when working at my mac, but I always have a ssh session open and I use screen as a text only window manager and create screen windows showing error logs, access logs, cpu info, all kinds of information I need. I have to see log files as web pages, I'd rather have them on terminal, being output as they are written. I also create simple cgis and tools directly on the remote server. I feel very comfortable with text only tools and shell access and although for most needs we can live without it, shell access is a key part of my workcycle and the way I produce things. The same engine that gives you CGIs also gives you command line tools, so you can create terminal tools for your own use and those are faster and easier to build then cgis or webapps (and more secure). On Mon, May 4, 2009 at 11:05 AM, Gordon Tillman wrote: > Howdy Matthias, > > runrev260805 at m-r-d.de wrote: > >> Okay, if there would be the possibility to use some command line tools >> like magick this would be fine. >> But i, for one, want a system, which is not vulnerable because everyone >> gets (full) shell access. >> > When I see the words "full shell access" I get the impression you are > referring to root access. But I don't think anyone is expecting that on a > shared hosting system. A normal (non-root) account using a normal shell is > not anywhere near as powerful (or dangerous) as a root account is. The > entire Unix/Linux operating system is designed to separate those two classes > of users. > > --gordonhe > > _______________________________________________ > use-revolution mailing list > use-revolution 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 barryb at libero.it Mon May 4 13:58:00 2009 From: barryb at libero.it (barryb at libero.it) Date: Mon, 4 May 2009 19:58:00 +0200 (CEST) Subject: [OT] Web hosting? Message-ID: <7677563.521341241459880924.JavaMail.root@wmail44> Hi Richmond, Have a look at http://www.tripod.lycos.com/ it should suit your needs. The ads arent too intrusive and you get all the CMS you need. I have been using Geocities, one of the oldest free site domains on the web, but they have just notified me that Yahoo! is sending it bellyupwards in a couple of months. Cheers Barry From richmondmathewson at gmail.com Mon May 4 14:00:26 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 04 May 2009 21:00:26 +0300 Subject: [OT] Web hosting? In-Reply-To: <7677563.521341241459880924.JavaMail.root@wmail44> References: <7677563.521341241459880924.JavaMail.root@wmail44> Message-ID: <49FF2D3A.5050009@gmail.com> Thanks a bunch; looking at it now! barryb at libero.it wrote: > Hi Richmond, > Have a look at http://www.tripod.lycos.com/ it should suit your > needs. The ads arent too intrusive and you get all the CMS you need. I have > been using Geocities, one of the oldest free site domains on the web, but they > have just notified me that Yahoo! is sending it bellyupwards in a couple of > months. > Cheers Barry > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From david.bovill at gmail.com Mon May 4 14:18:17 2009 From: david.bovill at gmail.com (David Bovill) Date: Mon, 4 May 2009 19:18:17 +0100 Subject: OT: shell access in on-rev - please do not complain anymore In-Reply-To: <7c87a2a10905041056j64d6a86cgeb76c65ffdb6d8fe@mail.gmail.com> References: <00036331.49FF0E1D@the-office.us> <49FEF631.8090305@mindspring.com> <7c87a2a10905041056j64d6a86cgeb76c65ffdb6d8fe@mail.gmail.com> Message-ID: Ditto ( not the shell command :) 2009/5/4 Andre Garzia > I for one have a need where I *NEED* to have shell access. I do most of my > web developments thru the shell. I edit files, set things, all thru ssh > with > screen and nano (when I am felling bold, I use emacs). > I also use interarchy and textmate when working at my mac, but I always > have > a ssh session open and I use screen as a text only window manager and > create > screen windows showing error logs, access logs, cpu info, all kinds of > information I need. From bdrunrev at gmail.com Mon May 4 14:24:27 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 4 May 2009 19:24:27 +0100 Subject: SQL problem In-Reply-To: <28CD153F-5381-4185-90FA-B36F8CAD4761@de-mare.nl> References: <28CD153F-5381-4185-90FA-B36F8CAD4761@de-mare.nl> Message-ID: On a stylistic point I'd like to propose my way of constructing statements to be executed. Instead of this: put "INSERT INTO 'terry_dbname'.'tablename' ('login' , 'ww' , 'toegang') VALUES ('" & $_GET["login"] & "', '" & $_GET["ww"] & "', '" & $_GET["toegang"] & "');" into tSQL I would write this: put "INSERT INTO 'terry_dbname'.'tablename' ('login' , 'ww' , 'toegang') VALUES( '[[tLogin]]' , '[[tWW]]' , '[[tToeGang]]' );" into tTemplateSQL put $_GET["login"] into tLogin put $_GET["ww"] into tWW put $_GET["toegang"] into tToeGang put merge(tTemplateSQL) into tSQL. It is more verbose but I find it far less error-prone than other constructions as my mind gets very confused by a profusion of double quotes, single quotes, ampersands, etc. Just my tuppenceworth. Bernard On Mon, May 4, 2009 at 4:19 PM, Terry Vogelaar wrote: > Hi all, > > I am struggling to get a MySQL database filled. The idea is to use a form > that calls an irev file, that in turn adds to the database. > > Here is the script: > put > revOpenDatabase("mysql","localhost","terry_dbname","terry_dbuser","password") > into tConID > > # Construct SQL > put "INSERT INTO 'terry_dbname'.'tablename' ('login' , 'ww' , 'toegang') > VALUES ('" & $_GET["login"] & "', '" & $_GET["ww"] & "', '" & > $_GET["toegang"] & "');" into tSQL > From jiml at netrin.com Mon May 4 14:30:26 2009 From: jiml at netrin.com (Jim Lambert) Date: Mon, 4 May 2009 11:30:26 -0700 Subject: dgText [true] question? In-Reply-To: <20090424201753.545D348B149@mail.runrev.com> References: <20090424201753.545D348B149@mail.runrev.com> Message-ID: <9A3C9F2C-A1B2-4896-9129-FEB837650A6C@netrin.com> This script from tutorial "3389-How-Do-I-Populate-a-Data-Grid-With- Data-" just doesn't work for me. answer file "Select iTunes text file:" put it into theFile put true into firstLineContainsHeaders set the dgText [firstLineContainsHeaders] of group "DataGrid 1" to URL ("file:" & it) The grid remains empty, no column headers, nada. set the dgText [FALSE] of group "DataGrid 1" to URL ("file:" & it) puts the file into the grid but with the header line in row 1 and the columns labelled "Col 1", etc. This does work: answer file "Pick a file:" if it = "" then exit mouseup set cursor to busy put it into cFile put the hilite of btn "Header?" into hasHeader -- I use a checkbox to indicate there's a header. put url ("file:" & it) into tempData -- now parse the header line and prepare it for dgProp put line 1 of tempData into cols replace tab with cr in cols -- kill the header row delete line 1 of tempdata -- set the column names manually set the dgProp["columns"] of grp "datagrid 1" to cols -- now set the grid text with as if there is no header. set the dgText [FALSE] of grp "datagrid 1" to tempdata I thought the whole idea of 'pFirstLineContainsHeaders' was to handle the header row automatically. What am I missing? Thanks, Jim Lambert From jperryl at ecs.fullerton.edu Mon May 4 14:30:54 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 4 May 2009 11:30:54 -0700 (PDT) Subject: Dumb Newbie Questions -- 4 of N In-Reply-To: <49FEF92A.5000204@gmail.com> References: <49FEF92A.5000204@gmail.com> Message-ID: Say what?!? (I've not had my caffeine yet!) Judy On Mon, 4 May 2009, Richmond Mathewson wrote: > There were even a few postings (Judy ???) a while back about 'the dark lord', > a.k.a. > "the lord of light". From scott at tactilemedia.com Mon May 4 14:42:18 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 04 May 2009 11:42:18 -0700 Subject: Dumb Newbie Questions -- 4 of N In-Reply-To: Message-ID: Recently, Judy Perry wrote: > Say what?!? Judy, consider this just another stop on the "magical mystery tour", as Colin H so amusingly posted recently. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From wjm at wjm.org Mon May 4 17:26:47 2009 From: wjm at wjm.org (Bill Marriott) Date: Mon, 4 May 2009 17:26:47 -0400 Subject: shell access in on-rev - please do not complain anymore References: <00036331.49FF0E1D@the-office.us> Message-ID: This was one of the first policies to be changed... you can get SSH (shell) access on request, no problem, with on-Rev. p.s.: The Founder's offer is still available until 11:59 GMT Tuesday I think. wrote in message news:00036331.49FF0E1D at the-office.us... > Hi, > > i do not know, what web hosting does mean in the other countries. > But if i buy a web hosting package here in germany, then it is normal, > that i do not get full shell access. > If i want full control of the server including shell access i have to > purchase a server or a virtual server package. > On-rev offers lot more than normal web hosting. So i cannot understand why > so many people are complaining about the > missing shell access. Btw. before purchasing on-rev everyone can see the > feature chart of on-rev. There is nothing to > read about shell access. > > Okay, if there would be the possibility to use some command line tools > like magick this would be fine. > But i, for one, want a system, which is not vulnerable because everyone > gets (full) shell access. > > Sorry, but i am just in a bad temper at the moment and i am sick of > reading messages complaining about a missing feature > which was even not promised by Runrev. > > I do not know how much you pay for other web hosting packages, but with > the on-rev founder offer i can spent about 130,- Euros a month. > From wow at together.net Mon May 4 17:34:48 2009 From: wow at together.net (Richard Miller) Date: Mon, 04 May 2009 17:34:48 -0400 Subject: Video for Windows - saving settings In-Reply-To: <9A3C9F2C-A1B2-4896-9129-FEB837650A6C@netrin.com> References: <20090424201753.545D348B149@mail.runrev.com> <9A3C9F2C-A1B2-4896-9129-FEB837650A6C@netrin.com> Message-ID: <49FF5F78.9@together.net> Is there a way to save (and later access) the compression and video format settings using the Video for Windows option when capturing video through Rev? I've only ever used Quicktime, which I know can save these using the revVideoGrabSettings. But that option doesn't work for VFW. Anyone figure out a workaround for this? Thanks. Richard Miller From richmondmathewson at gmail.com Mon May 4 17:54:19 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 05 May 2009 00:54:19 +0300 Subject: Dumb Newbie Questions -- 4 of N In-Reply-To: References: <49FEF92A.5000204@gmail.com> Message-ID: <49FF640B.1080707@gmail.com> Umm: http://mail.runrev.com/pipermail/use-revolution/2009-March/121144.html "Because Scott Raney had absolutely no use for it and lied that sound channels and/or HC-like musical scripting couldn't be supported under Windows IIRC. And I'm still plenty steamed about that." sounds like a touch of 'the dark lord' there. :) Judy Perry wrote: > Say what?!? > > (I've not had my caffeine yet!) > > Judy > > On Mon, 4 May 2009, Richmond Mathewson wrote: > >> There were even a few postings (Judy ???) a while back about 'the >> dark lord', a.k.a. >> "the lord of light". > _______________________________________________ > use-revolution mailing list > use-revolution at 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 May 4 18:00:17 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Mon, 4 May 2009 18:00:17 -0400 Subject: data grid, custom sorting Message-ID: <8D3EE670-C292-4DB3-AE8D-5D02138AC6DF@wehostmacs.com> > You could then format the data for display in the FillInData message. I am, and when I tell it to sort on that column it sorts it based on the displayed values and not the values in the dgData variable.. I will try out the new build you mention in another post and see how that works.. thank you for the updates and the sample code (in other messages).. i look forward to giving it a try and hopefully stream-lining my code down to the two lines ^_^ From shaosean at wehostmacs.com Mon May 4 18:05:14 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Mon, 4 May 2009 18:05:14 -0400 Subject: [OT] Web hosting? Message-ID: <528D05A5-2935-40EA-AC83-0DD64CEDDB9C@wehostmacs.com> For completely free (as in beer) web hosting, check out my fellow Canuks at www.t35.com There are limits to the file sizes you can upload but other than that.. Unlimited Web Space Unlimited Bandwidth http://you.t35.com PHP w/ restrictions FREE: $0.00/mo or $0.00/yr From sadhu at castandcrew.com Mon May 4 18:06:15 2009 From: sadhu at castandcrew.com (Sadhu Nadesan) Date: Mon, 04 May 2009 15:06:15 -0700 Subject: Data grid, cut and paste In-Reply-To: <20090425121529.C8A2348B3FD@mail.runrev.com> References: <20090425121529.C8A2348B3FD@mail.runrev.com> Message-ID: <49FF66D7.4060704@castandcrew.com> Trevor, Cut and paste is not working in my data grids, with standard windows shortcuts, like, Ctrl-X, Ctrl-C, Ctrl-V. (nothing happens). But when I create a simple test stack with the only object a simple data grid, these keyboard short cuts work fine. I haven't removed any of the code in the column behavior scripts - any idea why this is happening? None of my menu shortcuts uses X, C, or V. Or any idea what to do about it, such as, should I try to code this functionality as choices on an edit menu? I want to be able to copy from one cell to another, with Ctrl-C to copy in cell A, and Ctrl-V to paste in cell B. Thanks for any advice! Sadhu From sarah.reichelt at gmail.com Mon May 4 18:09:29 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 5 May 2009 08:09:29 +1000 Subject: Joining 2 images In-Reply-To: <85F6863A-4A21-41E5-B4E8-C2FCF9A29312@futilism.com> References: <9A95F62E-8AF4-4579-89A4-84A0328C058D@futilism.com> <23B04AAB-CF3B-4314-9B9E-06BAA0449892@futilism.com> <00A9AB72-D788-432C-8016-62FF333312A1@futilism.com> <85F6863A-4A21-41E5-B4E8-C2FCF9A29312@futilism.com> Message-ID: On Mon, May 4, 2009 at 1:10 PM, Mark Smith wrote: > I've nearly got it working without image magick. > > This works perfectly in the rev ide: > > function joinImages imgFile1, imgFile2 > > ? ? ? ?set the textdata of the templateimage to url ("binfile:" & imgFile1) > ? ? ? ?put the width of the templateimage into w1 > ? ? ? ?put the height of the templateimage into h1 > ? ? ? ?put the imagedata of the templateimage into tid1 > > ? ? ? ?set the textdata of the templateimage to url ("binfile:" & imgFile2) > ? ? ? ?put the width of the templateimage into w2 > ? ? ? ?put the height of the templateimage into h2 > ? ? ? ?put the imagedata of the templateimage into tid2 > > ? ? ? ?put max(h1, h2) into h3 > > ? ? ? ?put 0 into bytesDone1 > ? ? ? ?put 0 into bytesDone2 > > ? ? ? ?repeat with n = 1 to h3 > ? ? ? ? ? ? ? ?if n <= h1 then > ? ? ? ? ? ? ? ? ? ? ? ?put byte (bytesDone1 + 1) to (bytesDone1 + (w1 * 4)) > of tid1 after tid3 > ? ? ? ? ? ? ? ?else > ? ? ? ? ? ? ? ? ? ? ? ?repeat w1 * 4 > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?put null after tid3 > ? ? ? ? ? ? ? ? ? ? ? ?end repeat > ? ? ? ? ? ? ? ?end if > ? ? ? ? ? ? ? ?add w1 * 4 to bytesDone1 > > ? ? ? ? ? ? ? ?if n <= h2 then > ? ? ? ? ? ? ? ? ? ? ? ?put byte (bytesDone2 + 1) to (bytesDone2 + (w2 * 4)) > of tid2 after tid3 > ? ? ? ? ? ? ? ?else > ? ? ? ? ? ? ? ? ? ? ? ?repeat w2 * 4 > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?put null after tid3 > ? ? ? ? ? ? ? ? ? ? ? ?end repeat > ? ? ? ? ? ? ? ?end if > ? ? ? ? ? ? ? ?add w2 * 4 to bytesDone2 > ? ? ? ?end repeat > > ? ? ? ?set the width of the templateimage to w1 + w2 > ? ? ? ?set the height of the templateimage to h3 > ? ? ? ?set the imageData of the templateimage to tid3 > > ? ? ? ?put "composite.jpg" into tFile > ? ? ? ?export the templateimage to file tFile as JPEG > ? ? ? ?return tFile > end joinimages > > but all it produces on irev is a shocking pink rectangle : > ?http://marksmith.on-rev.com/imagejoin.irev > > Perhaps there's a bug to do with imageData in the irev engine. > I got this working in the Rev IDE but only after changing the first 2 sections to use "formattedWidth" & formattedHeight". In on-rev, this didn't work. It would get the width & height of the first image, but the second image would be reported as 0 x 0. So I changed back to your original and the width & height of the 2 starting images were reported correctly, but the composite image had the right height but a much larger width. See . However I have solved the actual problem of having gaps between images, using the margins style. You can see what I was doing here: . Cheers, Sarah P.S. I posted a question on the on-rev forum about ImageMagick so I'll let you all know if/when I get a reply. From jperryl at ecs.fullerton.edu Mon May 4 18:31:59 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 4 May 2009 15:31:59 -0700 (PDT) Subject: Dumb Newbie Questions -- 4 of N In-Reply-To: <49FF640B.1080707@gmail.com> References: <49FEF92A.5000204@gmail.com> <49FF640B.1080707@gmail.com> Message-ID: Magical Mystery Tour indeed... On Tue, 5 May 2009, Richmond Mathewson wrote: > Umm: http://mail.runrev.com/pipermail/use-revolution/2009-March/121144.html > > "Because Scott Raney had absolutely no use for it and lied that sound > channels and/or HC-like musical scripting couldn't be supported under > Windows IIRC. > And I'm still plenty steamed about that." > > sounds like a touch of 'the dark lord' there. :) From josh at dvcreators.net Mon May 4 19:26:18 2009 From: josh at dvcreators.net (Josh Mellicker) Date: Mon, 4 May 2009 16:26:18 -0700 Subject: property inspector poll In-Reply-To: <79d1bee70905012309j79ed8203m887afd3efc0ab1e0@mail.gmail.com> References: <84EBB16D-64BD-468C-B3E4-EAAB0FF4158A@dvcreators.net> <79d1bee70905012309j79ed8203m887afd3efc0ab1e0@mail.gmail.com> Message-ID: Thanks Martin! Interesting, but still primitive compared to the old Galaxy- which intelligently showed certain controls for certain properties (for example, a prepopulated popup menu for styles of a button, rather than just "type in the new value"). Either: 1. everyone is happy clicking around on the stock property inspector or 2. people have created their own property inspectors but want to keep them secret! ;-) Well, I should ask this, is anyone interested in a property inspector that gives you instant access to any parameter? And allows you to easily copy properties from one object to another? I would be happy to work on one, but would need help making it a plugin... thanks On May 1, 2009, at 11:09 PM, Martin Blackman wrote: > Check out the plug-in included with Rev called SmartProperties. > I've noticed it is generating a script error probably due to some > change in Rev but it should be pretty easy to fix I would think > > 2009/5/2 Josh Mellicker : >> Thanks Craig, does it work with all objects, or just fields and >> buttons? >> >> Are you all working with the stock property inspector where you >> have to >> access a menu to get to all the different property groups??!? Hard to >> believe! >> >> >> On May 1, 2009, at 6:46 AM, dunbarx at aol.com wrote: >> >>> My gadget is a rewrite of my HC development tool, though much >>> smaller, >>> since rev does many things it did, either better or natively. It is >>> useful, for >>> me at least, especially in the early authoring stage. In HC it was >>> implemented as an external window (Dan Gelder's "MegaWindow"). In >>> rev it >>> is, of >>> course, a stack. Maybe I will upload it to revOnLine, with >>> instructions. >>> It seems >>> stable, and does do some very handy tasks. >>> >>> Craig Newman >>> >>> In a message dated 4/30/09 8:49:43 PM, josh at dvcreators.net writes: >>> >>> >>>> Hi Craig, >>>> >>>> Where would I find more info on your gadget? >>>> >>>> Thanks >>>> >>> >>> >>> >>> >>> ************** >>> Access 350+ FREE radio stations anytime from anywhere on the >>> web. Get the Radio Toolbar! >>> (http://toolbar.aol.com/aolradio/download.html?ncid=emlcntusdown00000003 >>> ) >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution 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 jmyepes at mac.com Mon May 4 19:55:51 2009 From: jmyepes at mac.com (Josep) Date: Mon, 4 May 2009 16:55:51 -0700 (PDT) Subject: datagrid Column grand total Message-ID: <23378836.post@talk.nabble.com> Hi, It's posible calculate the total for a column using the column templates? Any tip of how do it? I need to calculate a grand total for all the items inside the datagrid... Where is better perform the operation? I'm blocked with it... Thanks in advance, Josep M -- View this message in context: http://www.nabble.com/datagrid-Column-grand-total-tp23378836p23378836.html Sent from the Revolution - User mailing list archive at Nabble.com. From jmyepes at mac.com Mon May 4 19:58:56 2009 From: jmyepes at mac.com (Josep) Date: Mon, 4 May 2009 16:58:56 -0700 (PDT) Subject: Embeded images don't showed in standalone Message-ID: <23378864.post@talk.nabble.com> Hi, I have some stacks that have embeded images, all run fine, but when I build the standalone all the images are showed as grey. All the images are embede using Import control as new image. Any idea? Salut, Josep M -- View this message in context: http://www.nabble.com/Embeded-images-don%27t-showed-in-standalone-tp23378864p23378864.html Sent from the Revolution - User mailing list archive at Nabble.com. From katir at hindu.org Tue May 5 01:02:39 2009 From: katir at hindu.org (Sivakatirswami) Date: Mon, 04 May 2009 19:02:39 -1000 Subject: property inspector poll In-Reply-To: References: <84EBB16D-64BD-468C-B3E4-EAAB0FF4158A@dvcreators.net> <79d1bee70905012309j79ed8203m887afd3efc0ab1e0@mail.gmail.com> Message-ID: <49FFC86F.1050202@hindu.org> Josh Mellicker wrote: > Thanks Martin! > > Interesting, but still primitive compared to the old Galaxy- which > intelligently showed certain controls for certain properties (for > example, a prepopulated popup menu for styles of a button, rather than > just "type in the new value"). > > Either: > > 1. everyone is happy clicking around on the stock property inspector > > or > > 2. people have created their own property inspectors but want to keep > them secret! > > ;-) > > > Well, I should ask this, is anyone interested in a property inspector > that gives you instant access to any parameter? And allows you to > easily copy properties from one object to another? > > I would be happy to work on one, but would need help making it a > plugin... > > thanks > Please...Yes... I've see many iterations of such a tool thru the years. Why not get all the wizards to post the inspectors on RevOnLine? From Andre.Bisseret at inria.fr Tue May 5 02:23:59 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Tue, 5 May 2009 08:23:59 +0200 Subject: datagrid Column grand total In-Reply-To: <23378836.post@talk.nabble.com> References: <23378836.post@talk.nabble.com> Message-ID: Le 5 mai 09 ? 01:55, Josep a ?crit : > > Hi, > > It's posible calculate the total for a column using the column > templates? > Any tip of how do it? I need to calculate a grand total for all the > items > inside the datagrid... > Where is better perform the operation? > > I'm blocked with it... > > > Thanks in advance, > Josep M > Bonjour Josep, Don't know if it is the better way with dataGrid but you might use a variable (say tVar) put the dgText of group "DataGrid X" into tVar so in tVar you have a liste of lines of tab separated items and you may do all what you want on them (for example : set the itemDel to tab repeat for each line li in tVar add item 1 of li to totalCol1 end repeat HTH Best regards from Grenoble Andr? From jmyepes at mac.com Tue May 5 03:36:30 2009 From: jmyepes at mac.com (Josep) Date: Tue, 5 May 2009 00:36:30 -0700 (PDT) Subject: datagrid Column grand total In-Reply-To: References: <23378836.post@talk.nabble.com> Message-ID: <23382509.post@talk.nabble.com> Bonjour Andre, Yes, I can with this way or I can record any change in "on FillIn" and update a t_GrandTotal... go to try it... I think that with this way the operation will be automatic... Salut, Josep Andre.Bisseret wrote: > > > Le 5 mai 09 ? 01:55, Josep a ?crit : > >> >> Hi, >> >> It's posible calculate the total for a column using the column >> templates? >> Any tip of how do it? I need to calculate a grand total for all the >> items >> inside the datagrid... >> Where is better perform the operation? >> >> I'm blocked with it... >> >> >> Thanks in advance, >> Josep M >> > Bonjour Josep, > Don't know if it is the better way with dataGrid but you might use a > variable (say tVar) > > put the dgText of group "DataGrid X" into tVar > > so in tVar you have a liste of lines of tab separated items and you > may do all what you want on them > > (for example : > > set the itemDel to tab > repeat for each line li in tVar > add item 1 of li to totalCol1 > end repeat > > HTH > > 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 > > -- View this message in context: http://www.nabble.com/datagrid-Column-grand-total-tp23378836p23382509.html Sent from the Revolution - User mailing list archive at Nabble.com. From viktoras at ekoinf.net Tue May 5 04:13:14 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Tue, 05 May 2009 11:13:14 +0300 Subject: one more SQLite GUI - written in Rev... In-Reply-To: <49FFC86F.1050202@hindu.org> References: <84EBB16D-64BD-468C-B3E4-EAAB0FF4158A@dvcreators.net> <79d1bee70905012309j79ed8203m887afd3efc0ab1e0@mail.gmail.com> <49FFC86F.1050202@hindu.org> Message-ID: <49FFF51A.6080004@ekoinf.net> Dear Colleagues, well, ok, hmmm, errr [trembling hands], announcing my first public release of an application :): http://ekoinf.net/AA This adds one more SQLite editor to the plethora of already existing ones. This is expected to become a more universal tool, but at the moment it is just SQLite frontend. All feedback, critics, bug reports go to viktoras at ekoinf.net. B.t.w. how do I customize dmg image folder? I would like to add some explanatory notes like "Drag the AALite icon into Applications folder". But I do not know yet how to do this on my mac :-[ ... Will it accept an html document as a background (where to put it then?). All the best, Viktoras P.S. changing my own primitive table object to the datagrid is in future plans. This is not open source release, however one more application will be released just before the e-biosphere event (June 1-3) - and this one will be definitely open source. From palcibiades-first at yahoo.co.uk Tue May 5 04:56:06 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Tue, 5 May 2009 01:56:06 -0700 (PDT) Subject: OT: What to use on a PIII in Bulgaria? In-Reply-To: <49FED362.8070502@gmail.com> References: <200905041210.21550.palcibiades-first@yahoo.co.uk> <49FED362.8070502@gmail.com> Message-ID: <23383565.post@talk.nabble.com> Slax is really worth a look on older equipment. Slackware based, and the Slack based distros are always faster. No fat - 200MB. Media players. A bit manual to install on hard drive, but it can be done - the default is liveCD. Very customizable. And KDE is at least as close to Windows as Gnome, most think closer. It will run entirely in memory if you want, so its pretty fast. The fastest distro with a mainstream desktop that you'll find. Good hardware detection. Been around quite a while. I checked the latest Puppy a couple weeks ago and that's OK, but disapointing by comparison. Its basically a pure KDE based Slackware distro. KOffice, Konqueror, Kmail. And a few supplementary media bits and bobs. It would run Rev fine. There are smaller faster ones, but nothing which has a better balance between speed, function, and familiarity. Peter -- View this message in context: http://www.nabble.com/OT%3A--What-to-use-on-a-PIII-in-Bulgaria--tp23366816p23383565.html Sent from the Revolution - User mailing list archive at Nabble.com. From sarah.reichelt at gmail.com Tue May 5 05:49:03 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 5 May 2009 19:49:03 +1000 Subject: one more SQLite GUI - written in Rev... In-Reply-To: <49FFF51A.6080004@ekoinf.net> References: <84EBB16D-64BD-468C-B3E4-EAAB0FF4158A@dvcreators.net> <79d1bee70905012309j79ed8203m887afd3efc0ab1e0@mail.gmail.com> <49FFC86F.1050202@hindu.org> <49FFF51A.6080004@ekoinf.net> Message-ID: > well, ok, hmmm, errr [trembling hands], announcing my first public release > of an application :): > > http://ekoinf.net/AA Congratulations! > B.t.w. how do I customize dmg image folder? I would like to add some > explanatory notes like "Drag the AALite icon into Applications folder". But > I do not know yet how to do this on my mac :-[ ... Will it accept an html > document as a background (where to put it then?). > I use DropDMG for this. It allows you to add background images, license agreements etc. I think the background has to be an image file. Very neatly, you can add an alias to the Applications folder to your disk image. A technique that I use is to make a read-write disk image that way I want and save it. Then any time I release a new version, I open the r/w image, copy across the new app, close the dmg and then use DropDMG to convert it to a read-only image (which actually creates a new copy rather than converting the existing one). This saves a lot of trouble. Cheers, Sarah From wow at together.net Tue May 5 06:20:49 2009 From: wow at together.net (Richard Miller) Date: Tue, 05 May 2009 06:20:49 -0400 Subject: Video for Windows In-Reply-To: <49FF5F78.9@together.net> References: <20090424201753.545D348B149@mail.runrev.com> <9A3C9F2C-A1B2-4896-9129-FEB837650A6C@netrin.com> <49FF5F78.9@together.net> Message-ID: <4A001301.8090709@together.net> Someone here's just got to have some thoughts on this one. Here's what I know, all of which can be readily seen from the Video Capture stack that comes with any copy of Rev (in the Resources --> Sample Projects folder). Plug a camcorder or webcam into a PC and set the program to VFW (Video for Windows). Press Start Preview Press Video Compression Now at this point, the selection of any compressor IS saved somewhere, because if you select a compressor and hit OK, then hit Start Recording, that newly-selected compressor IS used during the recording of the next video. Further, if you open Video Source, make a change, then go back to Video Compression, the change from before is still intact. But if you quit the program and reopen it, the changes are gone. So the change IS being stored somewhere (a variable?... a Windows setting?) for the time during a given session AND passed to some place where Start Recording can then access it. Any thoughts on where it is stored and how to make it available to future recording sessions? What is it that Start Recording (under VFW) is tapping into as the settings to be used in the next recording? Thanks. Richard Miller Richard Miller wrote: > Is there a way to save (and later access) the compression and video > format settings using the Video for Windows option when capturing > video through Rev? I've only ever used Quicktime, which I know can > save these using the revVideoGrabSettings. But that option doesn't > work for VFW. Anyone figure out a workaround for this? > > 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 richmondmathewson at gmail.com Tue May 5 07:29:39 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 05 May 2009 14:29:39 +0300 Subject: OT: What to use on a PIII in Bulgaria? In-Reply-To: <23383565.post@talk.nabble.com> References: <200905041210.21550.palcibiades-first@yahoo.co.uk> <49FED362.8070502@gmail.com> <23383565.post@talk.nabble.com> Message-ID: <4A002323.1000901@gmail.com> Having, largely, got over that bout of flu I have just come upstairs from the school, where I have been popping the Pentium IIIs back in place and doing personalised GDM login screens, I am happy to say, that despite my misgivings Ubuntu 8.04 seems no slower than 5.10; the only bother is having to reset all the properties on the RR standalones so they work as self-executables rather than looking for something external. The people at Ubuntu have always been extremely helpful (rather similar to this RR Use-List); which I haven't found elsewhere. Although I have yet to find an Ubuntu user who writes their own Primary-Ed programs; all seem to go for the 'one-size-fits-all' of edubuntu (which seems to contain programs largely aimed at keeping kids occupied rather than educating them as such). The only slightly funny thing I have had is with a COMPAQ where, with 8.04.2 all the sound comes out of the built-in speakers rather than getting routed through the headphone outlet; and I cannot reroute it for the life of me. Certainly, quite apart from my silly little school, as far as I can see there seem to be no real conflicts between Ubuntu and RR, and RR standalones. Re Slax: having come to Linux 'late in life' and only really because of 3 problems: 1. Bulgaria is one of the pirate software capitals of the world - 99% of everything running on pirated XP. 2. I don't really like Windows and feel that the problems it seems to cause are more trouble than its worth: don't want any downtime in my school - and with Ubuntu I have never, never had any. 3. Want an OS where I can customise the GUI to serve my needs, rather than put up with somebody's idea of a 'one-size-fits-all' GUI. rather than any great urge to be a "Linux Mage", I rapidly gravitated towards Debian-based distros as, frankly, the easiest to work with (at least from my point of view). ------------------------------------------------------------------------------------------------------- tedious middle-aged anecdote follows: last night I watched "Pat Garrett and Billy the Kid" on Turner Classic Movies: it struck me as a strangely Zen-style film - probably the last poisons of the flu virus doing horrible things to my mind - and at one point James Coburn (who, oddly enough, was very good at playing James Coburn, but not much good at playing anybody else) said "I have got to the age where I want to stop worrying about tomorrow" - not that I would want the Mark Shuttleworth to think he's my saviour. :) However, I would recommend watching "Pat Garrett and Billy the Kid" if you are feeling particularly nihilistic. ------------------------------------------------------------------------------------------------------- Peter Alcibiades wrote: > Slax is really worth a look on older equipment. Slackware based, and the > Slack based distros are always faster. No fat - 200MB. Media players. A > bit manual to install on hard drive, but it can be done - the default is > liveCD. Very customizable. And KDE is at least as close to Windows as > Gnome, most think closer. It will run entirely in memory if you want, so > its pretty fast. The fastest distro with a mainstream desktop that you'll > find. Good hardware detection. Been around quite a while. I checked the > latest Puppy a couple weeks ago and that's OK, but disapointing by > comparison. > > Its basically a pure KDE based Slackware distro. KOffice, Konqueror, Kmail. > And a few supplementary media bits and bobs. It would run Rev fine. There > are smaller faster ones, but nothing which has a better balance between > speed, function, and familiarity. > > Peter > From lists at mangomultimedia.com Tue May 5 07:54:36 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 5 May 2009 07:54:36 -0400 Subject: data grid, custom sorting In-Reply-To: <8D3EE670-C292-4DB3-AE8D-5D02138AC6DF@wehostmacs.com> References: <8D3EE670-C292-4DB3-AE8D-5D02138AC6DF@wehostmacs.com> Message-ID: <2F001EBB-9859-4E30-9604-4D3356978A26@mangomultimedia.com> On May 4, 2009, at 6:00 PM, Shao Sean wrote: > > You could then format the data for display in the FillInData > message. > > I am, and when I tell it to sort on that column it sorts it based on > the displayed values and not the values in the dgData variable.. I > will try out the new build you mention in another post and see how > that works.. Sorting should always happens with the data stored in the dgData variable. You can confirm this by looking at SortDataByKey which is the handler used. If you are seeing unexpected results then there is either a bug, data in a format different then you intended or the wrong sort type is being used. If you have a stack you can send me with some sample data I can take a look. > thank you for the updates and the sample code (in other messages).. > i look forward to giving it a try and hopefully stream-lining my > code down to the two lines ^_^ No problem. I hope you can get it down to two lines too :-) Regards, -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.com From jmyepes at mac.com Tue May 5 08:12:20 2009 From: jmyepes at mac.com (Josep) Date: Tue, 5 May 2009 05:12:20 -0700 (PDT) Subject: Embeded images don't showed in standalone In-Reply-To: <23378864.post@talk.nabble.com> References: <23378864.post@talk.nabble.com> Message-ID: <23386252.post@talk.nabble.com> How specify the path with embeded images? It's necesary?... Salut, Josep Josep wrote: > > Hi, > > I have some stacks that have embeded images, all run fine, but when I > build the standalone all the images are showed as grey. > All the images are embede using Import control as new image. > > Any idea? > > Salut, > Josep M > -- View this message in context: http://www.nabble.com/Embeded-images-don%27t-showed-in-standalone-tp23378864p23386252.html Sent from the Revolution - User mailing list archive at Nabble.com. From viktoras at ekoinf.net Tue May 5 08:22:18 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Tue, 05 May 2009 15:22:18 +0300 Subject: one more SQLite GUI - written in Rev... In-Reply-To: References: <84EBB16D-64BD-468C-B3E4-EAAB0FF4158A@dvcreators.net> <79d1bee70905012309j79ed8203m887afd3efc0ab1e0@mail.gmail.com> <49FFC86F.1050202@hindu.org> <49FFF51A.6080004@ekoinf.net> Message-ID: <4A002F7A.4080900@ekoinf.net> Sarah, thank you for the advice! Best regards Viktoras Sarah Reichelt wrote: > I use DropDMG for this. It allows you to add background images, > license agreements etc. > I think the background has to be an image file. > Very neatly, you can add an alias to the Applications folder to your disk image. > > > A technique that I use is to make a read-write disk image that way I > want and save it. > Then any time I release a new version, I open the r/w image, copy > across the new app, close the dmg and then use DropDMG to convert it > to a read-only image (which actually creates a new copy rather than > converting the existing one). > This saves a lot of trouble. > > 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 May 5 08:24:12 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 5 May 2009 08:24:12 -0400 Subject: dgText [true] question? In-Reply-To: <9A3C9F2C-A1B2-4896-9129-FEB837650A6C@netrin.com> References: <20090424201753.545D348B149@mail.runrev.com> <9A3C9F2C-A1B2-4896-9129-FEB837650A6C@netrin.com> Message-ID: <6E5DEA59-8F54-476C-9652-6E846EFCE5F4@mangomultimedia.com> On May 4, 2009, at 2:30 PM, Jim Lambert wrote: > This script from tutorial "3389-How-Do-I-Populate-a-Data-Grid-With- > Data-" just doesn't work for me. > answer file "Select iTunes text file:" > put it into theFile > put true into firstLineContainsHeaders > set the dgText [firstLineContainsHeaders] of group "DataGrid 1" to > URL ("file:" & it) > > ... > > I thought the whole idea of 'pFirstLineContainsHeaders' was to > handle the header row automatically. > What am I missing? The data grid will not automatically create columns for you when pFirstLineContainsHeaders is true. You must first create the columns yourself by setting the "columns" property. This keeps columns from being created in your UI when importing data. When pFirstLineContainsHeaders is false then the data grid will try to create enough columns to display at least the first row of your data. I realize this is inconsistent but the "false" behavior was done in the interest of allowing someone to get some data into the data grid and displayed relatively quickly using the Property Inspector. Regards, -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.com From lists at mangomultimedia.com Tue May 5 09:27:26 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 5 May 2009 09:27:26 -0400 Subject: datagrid Column grand total In-Reply-To: <23382509.post@talk.nabble.com> References: <23378836.post@talk.nabble.com> <23382509.post@talk.nabble.com> Message-ID: On May 5, 2009, at 3:36 AM, Josep wrote: > Yes, I can with this way or I can record any change in "on FillIn" and > update a t_GrandTotal... go to try it... I think that with this way > the > operation will be automatic... Andre's example will work great. This is a common question so I also created a lesson that shows how to create a custom property for your data grid that returns aggregate values. The example uses the dgData property which will be faster than using the dgText property. You should note that adding values in "FillInData" won't provide accurate information since FillInData is called multiple times for each row as you scroll through the data in the data grid. Regards, -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.com From len-morgan at crcom.net Tue May 5 09:38:20 2009 From: len-morgan at crcom.net (len-morgan at crcom.net) Date: Tue, 5 May 2009 08:38:20 -0500 (CDT) Subject: Radio Buttons - Simple Question Message-ID: <29549.64.40.211.158.1241530700.squirrel@auth2.crcom.net> I should know this and it should be easy to find in the documentation if I don't but just how do you determine which radio button has been selected? I have a group of buttons and they "work" as a set of radio buttons but I need to know which one is "on." I searched the User's Manual and found references to putting buttons in a group to make them radio buttons but nothing about how to read them. This should have been easier to find. I guess my mind is going in my old age. len From niconiko at gmail.com Tue May 5 09:50:18 2009 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 5 May 2009 22:50:18 +0900 Subject: Radio Buttons - Simple Question In-Reply-To: <29549.64.40.211.158.1241530700.squirrel@auth2.crcom.net> References: <29549.64.40.211.158.1241530700.squirrel@auth2.crcom.net> Message-ID: <1e91b2b70905050650g6bddc786q272695b3b1aeea88@mail.gmail.com> After you've made the buttons and grouped them, insert the following into the script of that group: on mouseDown set the hilitedbuttonid of me to the short id of the target end mouseDown The key element is "hilitedbuttonid". Have a look in the documentation for this, which'll in turn point you to other similar properties. -- Nicolas Cueto From mdswindell at cruzio.com Tue May 5 10:02:06 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Tue, 5 May 2009 07:02:06 -0700 Subject: Embeded images don't showed in standalone In-Reply-To: <23386252.post@talk.nabble.com> References: <23378864.post@talk.nabble.com> <23386252.post@talk.nabble.com> Message-ID: When you say "imbedded," are your images part of the stack (you imported them using the "import as control" command)? If so, they should show up. If you referenced them, you will need to set a path to the folder they are in relative to your application. You reference an image in the propery inpector for the image by navigating to its source. This relative location changes when you build your standalone, so they won't show up without pre-planning where your image folder will be relative to your application. Mark On May 5, 2009, at 5:12 AM, Josep wrote: > > How specify the path with embeded images? It's necesary?... > > Salut, > Josep > > > Josep wrote: >> >> Hi, >> >> I have some stacks that have embeded images, all run fine, but when I >> build the standalone all the images are showed as grey. >> All the images are embede using Import control as new image. >> >> Any idea? >> >> Salut, >> Josep M >> > > -- > View this message in context: http://www.nabble.com/Embeded-images-don%27t-showed-in-standalone-tp23378864p23386252.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 lists at mangomultimedia.com Tue May 5 10:23:56 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 5 May 2009 10:23:56 -0400 Subject: Data grid, cut and paste In-Reply-To: <49FF66D7.4060704@castandcrew.com> References: <20090425121529.C8A2348B3FD@mail.runrev.com> <49FF66D7.4060704@castandcrew.com> Message-ID: On May 4, 2009, at 6:06 PM, Sadhu Nadesan wrote: > Cut and paste is not working in my data grids, with standard windows > shortcuts, like, Ctrl-X, Ctrl-C, Ctrl-V. (nothing happens). But > when I create a simple test stack with the only object a simple data > grid, these keyboard short cuts work fine. I haven't removed any of > the code in the column behavior scripts - any idea why this is > happening? None of my menu shortcuts uses X, C, or V. Or any idea > what to do about it, such as, should I try to code this > functionality as choices on an edit menu? > > I want to be able to copy from one cell to another, with Ctrl-C to > copy in cell A, and Ctrl-V to paste in cell B. Keys weren't being passed properly in 3.5 gm-1 for editable fields. Try the version at the following url and let me know if it works for you as key passing has been fixed if an editable field is open. Installation: Back up the existing "revdatagridlibrary.rev" stack file in your "Toolset" folder (alongside the Revolution IDE executable) and then drop in this new stack file. Regards, -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.com From stephenREVOLUTION2 at barncard.com Tue May 5 12:16:25 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 5 May 2009 09:16:25 -0700 Subject: Video for Windows In-Reply-To: <4A001301.8090709@together.net> References: <20090424201753.545D348B149@mail.runrev.com> <9A3C9F2C-A1B2-4896-9129-FEB837650A6C@netrin.com> <49FF5F78.9@together.net> <4A001301.8090709@together.net> Message-ID: The value is probably stored in a variable. Can you edit the stack and use a custom property to store instead of RAM? A lot of REV demo stacks are very basic and it is up to the programmer to take the hooks and actually make a 'program'. ------------------------- Stephen Barncard San Francisco http://barncard.com 2009/5/5 Richard Miller > Someone here's just got to have some thoughts on this one. Here's what I > know, all of which can be readily seen from the Video Capture stack that > comes with any copy of Rev (in the Resources --> Sample Projects folder). > > Plug a camcorder or webcam into a PC and set the program to VFW (Video for > Windows). > Press Start Preview > Press Video Compression > > Now at this point, the selection of any compressor IS saved somewhere, > because if you select a compressor and hit OK, then hit Start Recording, > that newly-selected compressor IS used during the recording of the next > video. Further, if you open Video Source, make a change, then go back to > Video Compression, the change from before is still intact. But if you quit > the program and reopen it, the changes are gone. So the change IS being > stored somewhere (a variable?... a Windows setting?) for the time during a > given session AND passed to some place where Start Recording can then access > it. Any thoughts on where it is stored and how to make it available to > future recording sessions? What is it that Start Recording (under VFW) is > tapping into as the settings to be used in the next recording? > > Thanks. > Richard Miller > > > > > Richard Miller wrote: > >> Is there a way to save (and later access) the compression and video format >> settings using the Video for Windows option when capturing video through >> Rev? I've only ever used Quicktime, which I know can save these using the >> revVideoGrabSettings. But that option doesn't work for VFW. Anyone figure >> out a workaround for this? >> >> 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 > From stephenREVOLUTION2 at barncard.com Tue May 5 12:24:16 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 5 May 2009 09:24:16 -0700 Subject: Embeded images don't showed in standalone In-Reply-To: References: <23378864.post@talk.nabble.com> <23386252.post@talk.nabble.com> Message-ID: Hold on a minute. I've had problems with images inside invisible buttons disappearing before being clicked. Is this the case? ------------------------- Stephen Barncard San Francisco http://barncard.com 2009/5/5 Mark Swindell > When you say "imbedded," are your images part of the stack (you imported > them using the "import as control" command)? If so, they should show up. > > If you referenced them, you will need to set a path to the folder they are > in relative to your application. You reference an image in the propery > inpector for the image by navigating to its source. This relative location > changes when you build your standalone, so they won't show up without > pre-planning where your image folder will be relative to your application. > > Mark > > > On May 5, 2009, at 5:12 AM, Josep wrote: > > >> How specify the path with embeded images? It's necesary?... >> >> Salut, >> Josep >> >> >> Josep wrote: >> >>> >>> Hi, >>> >>> I have some stacks that have embeded images, all run fine, but when I >>> build the standalone all the images are showed as grey. >>> All the images are embede using Import control as new image. >>> >>> Any idea? >>> >>> Salut, >>> Josep M >>> >>> >> -- >> View this message in context: >> http://www.nabble.com/Embeded-images-don%27t-showed-in-standalone-tp23378864p23386252.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 wow at together.net Tue May 5 12:41:26 2009 From: wow at together.net (Richard Miller) Date: Tue, 05 May 2009 12:41:26 -0400 Subject: Video for Windows In-Reply-To: References: <20090424201753.545D348B149@mail.runrev.com> <9A3C9F2C-A1B2-4896-9129-FEB837650A6C@netrin.com> <49FF5F78.9@together.net> <4A001301.8090709@together.net> Message-ID: <4A006C36.4070007@together.net> Stephen, Thanks for the thoughts. Unfortunately, it's not this simple. The Rev command that is designed to do this (save the settings) specifically does not work under Video for Windows (as stated in the Rev docs). Yet, the settings are being temporarily stored somewhere in Windows. But where and how to access? I can't figure it out. Richard stephen barncard wrote: > The value is probably stored in a variable. Can you edit the stack and use a > custom property to store instead of RAM? A lot of REV demo stacks are very > basic and it is up to the programmer to take the hooks and actually make a > 'program'. > > ------------------------- > Stephen Barncard > San Francisco > http://barncard.com > > > 2009/5/5 Richard Miller > > >> Someone here's just got to have some thoughts on this one. Here's what I >> know, all of which can be readily seen from the Video Capture stack that >> comes with any copy of Rev (in the Resources --> Sample Projects folder). >> >> Plug a camcorder or webcam into a PC and set the program to VFW (Video for >> Windows). >> Press Start Preview >> Press Video Compression >> >> Now at this point, the selection of any compressor IS saved somewhere, >> because if you select a compressor and hit OK, then hit Start Recording, >> that newly-selected compressor IS used during the recording of the next >> video. Further, if you open Video Source, make a change, then go back to >> Video Compression, the change from before is still intact. But if you quit >> the program and reopen it, the changes are gone. So the change IS being >> stored somewhere (a variable?... a Windows setting?) for the time during a >> given session AND passed to some place where Start Recording can then access >> it. Any thoughts on where it is stored and how to make it available to >> future recording sessions? What is it that Start Recording (under VFW) is >> tapping into as the settings to be used in the next recording? >> >> Thanks. >> Richard Miller >> >> >> >> >> Richard Miller wrote: >> >> >>> Is there a way to save (and later access) the compression and video format >>> settings using the Video for Windows option when capturing video through >>> Rev? I've only ever used Quicktime, which I know can save these using the >>> revVideoGrabSettings. But that option doesn't work for VFW. Anyone figure >>> out a workaround for this? >>> >>> Thanks. >>> Richard Miller >>> _______________________________________________ From sadhu at castandcrew.com Tue May 5 13:13:17 2009 From: sadhu at castandcrew.com (Sadhu Nadesan) Date: Tue, 05 May 2009 10:13:17 -0700 Subject: Data grid, cut and paste In-Reply-To: <20090425121529.C8A2348B3FD@mail.runrev.com> References: <20090425121529.C8A2348B3FD@mail.runrev.com> Message-ID: <4A0073AD.2030500@castandcrew.com> Trevor, 1) There were 2 files in the zip ._revdatagridlibraray.rev revdatagridlibrary.rev I dropped them both in the toolset folder. (backup first of course) BTW, as you had indicated for the next release, this fixed the alternate rows color problem. 2) Yes, it fixed the cut and paste problem. Thank you! Sadhu ------------------------------------------------------------------------ > Keys weren't being passed properly in 3.5 gm-1 for editable fields. > Try the version at the following url and let me know if it works for > you as key passing has been fixed if an editable field is open. > > > > > Installation: Back up the existing "revdatagridlibrary.rev" stack file > in your "Toolset" folder (alongside the Revolution IDE executable) and > then drop in this new stack file. > From richmondmathewson at gmail.com Tue May 5 13:52:17 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 05 May 2009 20:52:17 +0300 Subject: Embeded images don't showed in standalone In-Reply-To: References: <23378864.post@talk.nabble.com> <23386252.post@talk.nabble.com> Message-ID: <4A007CD1.9010300@gmail.com> This: "problems with images inside invisible buttons disappearing before being clicked" has caused me considerable grief in the past; owing almost entirely to my stupidity: imagine a button which references an image 'tucked away' on the same card as its icon - NOW, the image is referenced by its object number (e.g. 1002). So, I, unthinkingly copied a whole lot of buttons and the images they referenced as icons from one card across many subsequent cards. The buttons lost their icons the next time the stack was opened because the images they referenced had acquired new object numbers. ------------------------------------------------------------------------------------------- As a consequence of learning the hard way I tend to use imported images as buttons rather than buttons qua buttons that reference images; if I really feel an urge to have different icons representing different button states then each button has to be set up individually and cannot then be copied across to another card without re-referencing the icon images. stephen barncard wrote: > Hold on a minute. I've had problems with images inside invisible buttons > disappearing before being clicked. Is this the case? > > ------------------------- > Stephen Barncard > San Francisco > http://barncard.com > > > 2009/5/5 Mark Swindell > > >> When you say "imbedded," are your images part of the stack (you imported >> them using the "import as control" command)? If so, they should show up. >> >> If you referenced them, you will need to set a path to the folder they are >> in relative to your application. You reference an image in the propery >> inpector for the image by navigating to its source. This relative location >> changes when you build your standalone, so they won't show up without >> pre-planning where your image folder will be relative to your application. >> >> Mark >> >> >> On May 5, 2009, at 5:12 AM, Josep wrote: >> >> >> >>> How specify the path with embeded images? It's necesary?... >>> >>> Salut, >>> Josep >>> >>> >>> Josep wrote: >>> >>> >>>> Hi, >>>> >>>> I have some stacks that have embeded images, all run fine, but when I >>>> build the standalone all the images are showed as grey. >>>> All the images are embede using Import control as new image. >>>> >>>> Any idea? >>>> >>>> Salut, >>>> Josep M >>>> >>>> >>>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Embeded-images-don%27t-showed-in-standalone-tp23378864p23386252.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 >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jmyepes at mac.com Tue May 5 13:55:39 2009 From: jmyepes at mac.com (Josep) Date: Tue, 5 May 2009 10:55:39 -0700 (PDT) Subject: Embeded images don't showed in standalone In-Reply-To: References: <23378864.post@talk.nabble.com> <23386252.post@talk.nabble.com> Message-ID: <23392691.post@talk.nabble.com> Hi, Yes, the images was imported into the stack "as control" and in develop mode all is ok. The problem is when I build the standalone, all the images are grey boxes. Not is the case of the invisibles buttons nor disapering when click, almost in the development mode. I'm blocked with this... :( Salut, Josep -- View this message in context: http://www.nabble.com/Embeded-images-don%27t-showed-in-standalone-tp23378864p23392691.html Sent from the Revolution - User mailing list archive at Nabble.com. From jmyepes at mac.com Tue May 5 13:58:08 2009 From: jmyepes at mac.com (Josep) Date: Tue, 5 May 2009 10:58:08 -0700 (PDT) Subject: datagrid Column grand total In-Reply-To: References: <23378836.post@talk.nabble.com> <23382509.post@talk.nabble.com> Message-ID: <23392726.post@talk.nabble.com> Thanks. Salut, Josep M Trevor DeVore wrote: > > On May 5, 2009, at 3:36 AM, Josep wrote: > >> Yes, I can with this way or I can record any change in "on FillIn" and >> update a t_GrandTotal... go to try it... I think that with this way >> the >> operation will be automatic... > > Andre's example will work great. This is a common question so I also > created a lesson that shows how to create a custom property for your > data grid that returns aggregate values. The example uses the dgData > property which will be faster than using the dgText property. > > > > > You should note that adding values in "FillInData" won't provide > accurate information since FillInData is called multiple times for > each row as you scroll through the data in the data grid. > > Regards, > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Developer Resources: 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 > > -- View this message in context: http://www.nabble.com/datagrid-Column-grand-total-tp23378836p23392726.html Sent from the Revolution - User mailing list archive at Nabble.com. From Andre.Bisseret at inria.fr Tue May 5 14:05:13 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Tue, 5 May 2009 20:05:13 +0200 Subject: Radio Buttons - Simple Question In-Reply-To: <29549.64.40.211.158.1241530700.squirrel@auth2.crcom.net> References: <29549.64.40.211.158.1241530700.squirrel@auth2.crcom.net> Message-ID: <0478E0AB-FE59-486E-8CFB-CD6E871D9912@inria.fr> Le 5 mai 09 ? 15:38, len-morgan at crcom.net a ?crit : > I should know this and it should be easy to find in the > documentation if I > don't but just how do you determine which radio button has been > selected? > I have a group of buttons and they "work" as a set of radio buttons > but I > need to know which one is "on." Bonsoir Ien get the hilitedButton of grp "myGroup" put it Best regards from Grenoble Andr? > > > I searched the User's Manual and found references to putting buttons > in a > group to make them radio buttons but nothing about how to read them. > > This should have been easier to find. > > I guess my mind is going in my old age. > > len > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 May 5 14:18:04 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 May 2009 13:18:04 -0500 Subject: Embeded images don't showed in standalone In-Reply-To: <23392691.post@talk.nabble.com> References: <23378864.post@talk.nabble.com> <23386252.post@talk.nabble.com> <23392691.post@talk.nabble.com> Message-ID: <4A0082DC.3030002@hyperactivesw.com> Josep wrote: > Hi, > > Yes, the images was imported into the stack "as control" and in develop mode > all is ok. The problem is when I build the standalone, all the images are > grey boxes. Look in the Application Browser and verify the images are there. The images must be in the same stack file as the buttons (the main stack, or one of its substacks.) If they are in a separate independent stack, they may not be found. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Tue May 5 14:18:20 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 5 May 2009 11:18:20 -0700 Subject: Embeded images don't showed in standalone In-Reply-To: <4A007CD1.9010300@gmail.com> References: <23378864.post@talk.nabble.com> <23386252.post@talk.nabble.com> <4A007CD1.9010300@gmail.com> Message-ID: This was not the situation in my case. Simple button, single image, image placed on card 2 of stack. ------------------------- Stephen Barncard San Francisco http://barncard.com 2009/5/5 Richmond Mathewson > This: "problems with images inside invisible buttons disappearing before > being clicked" > > has caused me considerable grief in the past; owing almost entirely to my > stupidity: > > imagine a button which references an image 'tucked away' on the same card > as its icon - > > NOW, the image is referenced by its object number (e.g. 1002). > > So, I, unthinkingly copied a whole lot of buttons and the images they > referenced as icons > from one card across many subsequent cards. The buttons lost their icons > the next time the stack was opened > because the images they referenced had acquired new object numbers. > > > ------------------------------------------------------------------------------------------- > > As a consequence of learning the hard way I tend to use imported images as > buttons rather > than buttons qua buttons that reference images; if I really feel an urge to > have different icons > representing different button states then each button has to be set up > individually and cannot > then be copied across to another card without re-referencing the icon > images. > > > stephen barncard wrote: > >> Hold on a minute. I've had problems with images inside invisible buttons >> disappearing before being clicked. Is this the case? >> >> ------------------------- >> Stephen Barncard >> San Francisco >> http://barncard.com >> >> >> 2009/5/5 Mark Swindell >> >> >> >>> When you say "imbedded," are your images part of the stack (you imported >>> them using the "import as control" command)? If so, they should show up. >>> >>> If you referenced them, you will need to set a path to the folder they >>> are >>> in relative to your application. You reference an image in the propery >>> inpector for the image by navigating to its source. This relative >>> location >>> changes when you build your standalone, so they won't show up without >>> pre-planning where your image folder will be relative to your >>> application. >>> >>> Mark >>> >>> >>> On May 5, 2009, at 5:12 AM, Josep wrote: >>> >>> >>> >>> >>>> How specify the path with embeded images? It's necesary?... >>>> >>>> Salut, >>>> Josep >>>> >>>> >>>> Josep wrote: >>>> >>>> >>>> >>>>> Hi, >>>>> >>>>> I have some stacks that have embeded images, all run fine, but when I >>>>> build the standalone all the images are showed as grey. >>>>> All the images are embede using Import control as new image. >>>>> >>>>> Any idea? >>>>> >>>>> Salut, >>>>> Josep M >>>>> >>>>> >>>>> >>>>> >>>> -- >>>> View this message in context: >>>> >>>> http://www.nabble.com/Embeded-images-don%27t-showed-in-standalone-tp23378864p23386252.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 >>> >>> >>> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Tue May 5 14:30:40 2009 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 05 May 2009 13:30:40 -0500 Subject: App on Linux - really slow... any ideas why? Message-ID: I've got a basic PC (Dell Dimension 4600 running a P4 at 2.66GHz with 2GB RAM) that switch boots between Windows XP and Ubuntu 8.04. I have a pretty complex app (my stick figure animaton program "Stykz") that loads about 8 libraries has a few front and back scripts and when it opens it displays a main window and 4 floating palettes. The app is built with the Rev 3.5 engine and when I launch it on Windows, it takes about 5 seconds from initial launch to idle. When I do this on Ubuntu it is agonizingly slow, taking 25-30 seconds to come to an idle state. And after this, everything is like molasses - windows take seconds! to redraw, mouse messages aren't recognized immediately, etc. I haven't done much on Linux except StackRunner, which was very lightweight, but my overall question is: are there any "gotchas" I should know about related to Linux that might account for significantly affecting performance? TIA, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From devin_asay at byu.edu Tue May 5 14:45:34 2009 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 5 May 2009 12:45:34 -0600 Subject: Radio Buttons - Simple Question In-Reply-To: <0478E0AB-FE59-486E-8CFB-CD6E871D9912@inria.fr> References: <29549.64.40.211.158.1241530700.squirrel@auth2.crcom.net> <0478E0AB-FE59-486E-8CFB-CD6E871D9912@inria.fr> Message-ID: <278DE035-D1BF-4A36-A053-983D12A1DB2F@byu.edu> On May 5, 2009, at 12:05 PM, Andre.Bisseret wrote: > > Le 5 mai 09 ? 15:38, len-morgan at crcom.net a ?crit : > >> I should know this and it should be easy to find in the >> documentation if I >> don't but just how do you determine which radio button has been >> selected? >> I have a group of buttons and they "work" as a set of radio buttons >> but I >> need to know which one is "on." > Bonsoir Ien > get the hilitedButton of grp "myGroup" > put it You can also check or set the hilitedButtonName of the group. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From jiml at netrin.com Tue May 5 15:09:32 2009 From: jiml at netrin.com (Jim Lambert) Date: Tue, 5 May 2009 12:09:32 -0700 Subject: dgText [true] question? In-Reply-To: <20090505170003.4294948A3E5@mail.runrev.com> References: <20090505170003.4294948A3E5@mail.runrev.com> Message-ID: On May 5, 2009, at 10:00 AM, use-revolution-request at lists.runrev.com wrote: > When pFirstLineContainsHeaders is false then the data grid will try to > create enough columns to display at least the first row of your data. > I realize this is inconsistent but the "false" behavior was done in > the interest of allowing someone to get some data into the data grid > and displayed relatively quickly using the Property Inspector. Thanks Trevore, now I get it. And thanks for the datagrid. It is spectacularly useful! Jim Lambert myShape, Inc. www.myshape.com R&D jim at myshape.com Join us at www.myshape.com. For all busy women who don't have time to shop... the first personal shop with clothes that fit and flatter you. Set up your FREE Personal Shop: http://www.myshape.com/registration_landing.php From richmondmathewson at gmail.com Tue May 5 15:41:54 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 05 May 2009 22:41:54 +0300 Subject: App on Linux - really slow... any ideas why? In-Reply-To: References: Message-ID: <4A009682.8020107@gmail.com> Was your standalone for Linux built FOR Linux on Windows, or transferred as a stack onto the target platform (Linux) and then built as a standalone? This may seem a bit of a goofy question, but every single time I have built a standalone for a platform on another platform I have ended up with something that doesn't function very well. Considering the vast difference between Windows and the various forms of Linux I am not surprised. Ken Ray wrote: > I've got a basic PC (Dell Dimension 4600 running a P4 at 2.66GHz with 2GB > RAM) that switch boots between Windows XP and Ubuntu 8.04. I have a pretty > complex app (my stick figure animaton program "Stykz") that loads about 8 > libraries has a few front and back scripts and when it opens it displays a > main window and 4 floating palettes. > > The app is built with the Rev 3.5 engine and when I launch it on Windows, it > takes about 5 seconds from initial launch to idle. When I do this on Ubuntu > it is agonizingly slow, taking 25-30 seconds to come to an idle state. And > after this, everything is like molasses - windows take seconds! to redraw, > mouse messages aren't recognized immediately, etc. > > I haven't done much on Linux except StackRunner, which was very lightweight, > but my overall question is: are there any "gotchas" I should know about > related to Linux that might account for significantly affecting performance? > > TIA, > > 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 richmondmathewson at gmail.com Tue May 5 15:45:07 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 05 May 2009 22:45:07 +0300 Subject: Embeded images don't showed in standalone In-Reply-To: <4A0082DC.3030002@hyperactivesw.com> References: <23378864.post@talk.nabble.com> <23386252.post@talk.nabble.com> <23392691.post@talk.nabble.com> <4A0082DC.3030002@hyperactivesw.com> Message-ID: <4A009743.2070201@gmail.com> To be absolutely safe probably it is best to have the image in THE same stack; i.e. in the substack itself, rather than a parent stack. J. Landman Gay wrote: > Josep wrote: >> Hi, >> >> Yes, the images was imported into the stack "as control" and in >> develop mode >> all is ok. The problem is when I build the standalone, all the images >> are >> grey boxes. > > Look in the Application Browser and verify the images are there. The > images must be in the same stack file as the buttons (the main stack, > or one of its substacks.) If they are in a separate independent stack, > they may not be found. > From bdrunrev at gmail.com Tue May 5 16:37:35 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Tue, 5 May 2009 21:37:35 +0100 Subject: App on Linux - really slow... any ideas why? In-Reply-To: References: Message-ID: There are several bugs noted in RQCC about slow performance in Linux. Some of those marked 'fixed' (http://quality.runrev.com/qacenter/show_bug.cgi?id=7273) are fixing symptoms that manifest because of the much slower performance. I found Rev 3.0 was unusable on Linux, and gave up trying. Bernard On Tue, May 5, 2009 at 7:30 PM, Ken Ray wrote: > I've got a basic PC (Dell Dimension 4600 running a P4 at 2.66GHz with 2GB > RAM) that switch boots between Windows XP and Ubuntu 8.04. ?I have a pretty > complex app (my stick figure animaton program "Stykz") that loads about 8 > libraries has ?a few front and back scripts and when it opens it displays a > main window and 4 floating palettes. > > The app is built with the Rev 3.5 engine and when I launch it on Windows, it > takes about 5 seconds from initial launch to idle. When I do this on Ubuntu > it is agonizingly slow, taking 25-30 seconds to come to an idle state. And > after this, everything is like molasses - windows take seconds! to redraw, > mouse messages aren't recognized immediately, etc. > > I haven't done much on Linux except StackRunner, which was very lightweight, > but my overall question is: are there any "gotchas" I should know about > related to Linux that might account for significantly affecting performance? > > TIA, > > 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 mwieder at ahsoftware.net Tue May 5 16:46:46 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 5 May 2009 13:46:46 -0700 Subject: App on Linux - really slow... any ideas why? In-Reply-To: References: Message-ID: <251291945718.20090505134646@ahsoftware.net> Ken- Tuesday, May 5, 2009, 11:30:40 AM, you wrote: > The app is built with the Rev 3.5 engine and when I launch it on Windows, it > takes about 5 seconds from initial launch to idle. When I do this on Ubuntu > it is agonizingly slow, taking 25-30 seconds to come to an idle state. And > after this, everything is like molasses - windows take seconds! to redraw, > mouse messages aren't recognized immediately, etc. That's pretty much been my experience with rev on linux as well. Anything having to do with screen refreshes is ridiculously slow, scrollbars take forever and crash more often than not. I find it unusable, on hardware that matches yours almost exactly. YMMV. -- -Mark Wieder mwieder at ahsoftware.net From mdswindell at cruzio.com Tue May 5 17:10:29 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Tue, 5 May 2009 14:10:29 -0700 Subject: Embeded images don't showed in standalone In-Reply-To: <4A009743.2070201@gmail.com> References: <23378864.post@talk.nabble.com> <23386252.post@talk.nabble.com> <23392691.post@talk.nabble.com> <4A0082DC.3030002@hyperactivesw.com> <4A009743.2070201@gmail.com> Message-ID: <38D9C177-70C5-41B1-80B9-148212904341@cruzio.com> If I understand the question, Josep is importing images via the import control command. They appear as advertised in development, but disappear when he makes a standalone. I think he said it's not a button icon issue. Josep, have you made sure you have locked the image size and location? If you have resized and relocated them, I believe those parameters need to be locked for them to stick across sessions. Maybe they are somehow appearing somewhere off screen? Dunno. Mark On May 5, 2009, at 12:45 PM, Richmond Mathewson wrote: > To be absolutely safe probably it is best to have the image in THE > same stack; i.e. in the > substack itself, rather than a parent stack. > > J. Landman Gay wrote: >> Josep wrote: >>> Hi, >>> >>> Yes, the images was imported into the stack "as control" and in >>> develop mode >>> all is ok. The problem is when I build the standalone, all the >>> images are >>> grey boxes. >> >> Look in the Application Browser and verify the images are there. >> The images must be in the same stack file as the buttons (the main >> stack, or one of its substacks.) If they are in a separate >> independent stack, they may not be found. >> > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Tue May 5 17:14:30 2009 From: yvescoppe at skynet.be (Yves COPPE) Date: Tue, 5 May 2009 23:14:30 +0200 Subject: Layout control of a dg Form Message-ID: Hello, I try to make a form with a datagrid the rowtemplate is 2 flds the array for each row gives 2 text, one for the text fld "Data1" of the row and one for the text fld "Data2" the formttedHeigth of each data is a variable and I cannot find a script for the layoutcontrol to make the lines of each row with an appropriate height so that each text on each row is fully visible how van I script a layout control ? thanks Greetings. Yves COPPE yvescoppe at skynet.be From andre at andregarzia.com Tue May 5 18:06:36 2009 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 5 May 2009 19:06:36 -0300 Subject: [BUG?] strange behavior, IDE crashing on CMD+S Message-ID: <7c87a2a10905051506x4000a213o383d007a2ff7883f@mail.gmail.com> Aloha Folks, anyone experiencing crashes when trying to save a stack? When I press CMD+S the IDE freezes and dies... MacOS X 10.5.6, GLX2 2.4b35, Revolution 3.5.0-gm-1 Cheers andre -- http://www.andregarzia.com All We Do Is Code. From stephenREVOLUTION2 at barncard.com Tue May 5 18:09:52 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 5 May 2009 15:09:52 -0700 Subject: [BUG?] strange behavior, IDE crashing on CMD+S In-Reply-To: <7c87a2a10905051506x4000a213o383d007a2ff7883f@mail.gmail.com> References: <7c87a2a10905051506x4000a213o383d007a2ff7883f@mail.gmail.com> Message-ID: no that's one flavor of crash I have not experienced yet. Same specs. ------------------------- Stephen Barncard San Francisco http://barncard.com 2009/5/5 Andre Garzia > Aloha Folks, > anyone experiencing crashes when trying to save a stack? When I press CMD+S > the IDE freezes and dies... MacOS X 10.5.6, GLX2 2.4b35, Revolution > 3.5.0-gm-1 > > Cheers > andre > > -- > 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 mwieder at ahsoftware.net Tue May 5 18:20:57 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 5 May 2009 15:20:57 -0700 Subject: [BUG?] strange behavior, IDE crashing on CMD+S In-Reply-To: <7c87a2a10905051506x4000a213o383d007a2ff7883f@mail.gmail.com> References: <7c87a2a10905051506x4000a213o383d007a2ff7883f@mail.gmail.com> Message-ID: <581297597078.20090505152057@ahsoftware.net> Andre- Tuesday, May 5, 2009, 3:06:36 PM, you wrote: > anyone experiencing crashes when trying to save a stack? When I press CMD+S > the IDE freezes and dies... MacOS X 10.5.6, GLX2 2.4b35, Revolution > 3.5.0-gm-1 Yep. I've seen that. I hate to put this on our plate, but it seems to be a GLX2 thing with rev 3.5. We're working on it. -- -Mark Wieder mwieder at ahsoftware.net From jerry.daniels at me.com Tue May 5 19:09:07 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Tue, 05 May 2009 18:09:07 -0500 Subject: [BUG?] strange behavior, IDE crashing on CMD+S In-Reply-To: <581297597078.20090505152057@ahsoftware.net> References: <7c87a2a10905051506x4000a213o383d007a2ff7883f@mail.gmail.com> <581297597078.20090505152057@ahsoftware.net> Message-ID: <93E8D3AC-40E9-419F-B878-37685A188B6D@me.com> The cmd+s freeze follows a certain type of execution error. As Mark said, we're working it. Hard to track down, tho. Please post any recipes on the GLX2 site. Best, Jerry Daniels Daniels & Mara, Inc. Makers of GLX2 http://www.glx2.com On May 5, 2009, at 5:20 PM, Mark Wieder wrote: > Andre- > > Tuesday, May 5, 2009, 3:06:36 PM, you wrote: > >> anyone experiencing crashes when trying to save a stack? When I >> press CMD+S >> the IDE freezes and dies... MacOS X 10.5.6, GLX2 2.4b35, Revolution >> 3.5.0-gm-1 > > Yep. I've seen that. I hate to put this on our plate, but it seems to > be a GLX2 thing with rev 3.5. We're working on 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 kray at sonsothunder.com Tue May 5 19:11:24 2009 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 05 May 2009 18:11:24 -0500 Subject: App on Linux - really slow... any ideas why? In-Reply-To: Message-ID: > There are several bugs noted in RQCC about slow performance in Linux. > Some of those marked 'fixed' > (http://quality.runrev.com/qacenter/show_bug.cgi?id=7273) are fixing > symptoms that manifest because of the much slower performance. > > I found Rev 3.0 was unusable on Linux, and gave up trying. Wow... that's really hard to hear... I've chimed in on a couple of the reports at the RQCC... I *really* need to come up with a solution; was 2.6.1 (the last version for Linux before 3.0 I believe) faster/usable? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From palcibiades-first at yahoo.co.uk Wed May 6 03:17:43 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Wed, 6 May 2009 00:17:43 -0700 (PDT) Subject: App on Linux - really slow... any ideas why? In-Reply-To: References: Message-ID: <23401298.post@talk.nabble.com> No idea why, but it might be a good idea to eliminate Ubuntu. Download a liveCD Slackware based distro and see if it still happens. For instance, Zenwalk live or Slax. Or Mandriva One. The other thing I would try is whether it is the same performance with all desktops. So on Ubuntu, install KDE and see if still happens with that. If so, try Fluxbox and see if it still happens there. I do have odd experiences of unexplained slowness in Linux running Gnome - particularly with Nautilus, which seems to slow to a crawl with large folders. Whereas either Konqueror or Xfe as file managers remain very snappy. Peter -- View this message in context: http://www.nabble.com/App-on-Linux---really-slow...-any-ideas-why--tp23393374p23401298.html Sent from the Revolution - User mailing list archive at Nabble.com. From palcibiades-first at yahoo.co.uk Wed May 6 03:20:51 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Wed, 6 May 2009 00:20:51 -0700 (PDT) Subject: App on Linux - really slow... any ideas why? In-Reply-To: References: Message-ID: <23401344.post@talk.nabble.com> Mandriva isn't Slackware based of course, didn't mean to give that impression. So that would be a test of a third branch of the tree. -- View this message in context: http://www.nabble.com/App-on-Linux---really-slow...-any-ideas-why--tp23393374p23401344.html Sent from the Revolution - User mailing list archive at Nabble.com. From psahores at free.fr Wed May 6 04:34:25 2009 From: psahores at free.fr (Pierre Sahores) Date: Wed, 6 May 2009 10:34:25 +0200 Subject: App on Linux - really slow... any ideas why? In-Reply-To: <23401344.post@talk.nabble.com> References: <23401344.post@talk.nabble.com> Message-ID: In my experience, this slowness has mainly to do with X11. Any MC engine (need confirmation for Rev) started in the background in launching a service stack via an rc2 shell script will run faster under Linux than the service stack can run under windows or OS X in graphical mode. Kind Regards, -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com Le 6 mai 09 ? 09:20, Peter Alcibiades a ?crit : > > Mandriva isn't Slackware based of course, didn't mean to give that > impression. So that would be a test of a third branch of the tree. > -- > View this message in context: http://www.nabble.com/App-on-Linux---really-slow...-any-ideas-why--tp23393374p23401344.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 bdrunrev at gmail.com Wed May 6 05:01:44 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 6 May 2009 10:01:44 +0100 Subject: App on Linux - really slow... any ideas why? In-Reply-To: References: Message-ID: The problem wasn't just that Rev 3.0 was slower on Linux. It was also crashing daily and freezing regularly. I pointed out in one bug report that Rev would routinely freeze using chatRev. It would happen on both Ubuntu and my (Fedora-based) Linux netbook (see the screenshots attached to http://quality.runrev.com/qacenter/attachment.cgi?id=1548) . Bj?rnke also included at least one serious bug report concerning chatRev. ChatRev is not a particularly complicated piece of Rev software, and one would think that such a simple Rev application which has been in daily use for several years on Windows and Mac would also work on Linux. If it does not, then there are serious problems with Rev on Linux. On might also assume that if Runrev were seriously interested in the performance of Rev on Linux that they would try to work out what was happening with ChatRev. It appears from his comments on his bug report that Bj?rnke gave up trying to run Rev on Linux. I brought up these issues on the other list around the time of Rev 3.0's release. Those who are committed to using Rev on Linux have had to accept that Rev on Linux is much inferior to Rev on Windows and OS X. Indeed, in my experience Rev on Linux is worse than most free software. One must just assume that until Linux has a higher priority for Runrev the situation is going to remain the same. I would prefer that Runrev concentrate their energy on providing a true cross-platform client development environment rather than try to compete with the multitude of server-side scripting languages, but it seems clear from the enthusiasm with which On-Rev was greeted, that I am in a minority. Many features found in the OS X and Windows versions of Rev have been missing in the Linux version for years, and there is no sign of them ever appearing (revBrowser, recording, QT stuff, speech stuff,revFont). I do realise that the QT features are only available incidentally on Windows, but in my opinion that puts the onus on Runrev to make sure the other missing features are provided. Other features that are provided with Rev on Linux (e.g. SSL, printing) are badly broken or don't work. Welcome to the Revolution! Bernard On Wed, May 6, 2009 at 12:11 AM, Ken Ray wrote: > > Wow... that's really hard to hear... > > I've chimed in on a couple of the reports at the RQCC... I *really* need to > come up with a solution; was 2.6.1 (the last version for Linux before 3.0 I > believe) faster/usable? > > > Ken Ray From bdrunrev at gmail.com Wed May 6 05:07:46 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 6 May 2009 10:07:46 +0100 Subject: App on Linux - really slow... any ideas why? In-Reply-To: References: <23401344.post@talk.nabble.com> Message-ID: You may well be right that X11 is the problem. In one test I did using stacks as tables, a console-based Rev app on Linux was 100x faster than using relational databases, even when the relational databases were configured to keep all their tables in memory. However, I suspect the same kinds of speed difference would be found comparing PHP hash tables with relational databases (the performance of the Prevayler model is not so surprising in these circumstances). The problem for Rev is that there are many languages that can be used to provide console-based services. But like it or not, X11 is going to be the basic GUI that Rev has to work with on Linux. The interesting question is what has happened to the programming of the Rev GUI since RunRev took over development from Metacard. I was not a MC user, but since MC was primarily aimed at Unix GUIs, I cannot believe that the same kinds of problems were experienced by unix users. Bernard On Wed, May 6, 2009 at 9:34 AM, Pierre Sahores wrote: > In my experience, this slowness has mainly to do with X11. Any MC engine > (need confirmation for Rev) started in the background in launching a service > stack via an rc2 shell script will run faster under Linux than the service > stack can run under windows or OS X in graphical mode. > > Kind Regards, > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.com > > > Le 6 mai 09 ? 09:20, Peter Alcibiades a ?crit : > >> >> Mandriva isn't Slackware based of course, didn't mean to give that >> impression. ?So that would be a test of a third branch of the tree. >> -- >> View this message in context: >> http://www.nabble.com/App-on-Linux---really-slow...-any-ideas-why--tp23393374p23401344.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 viktoras at ekoinf.net Wed May 6 05:38:45 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Wed, 06 May 2009 12:38:45 +0300 Subject: App on Linux - really slow... any ideas why? In-Reply-To: References: Message-ID: <4A015AA5.8020800@ekoinf.net> PC Acer TravelMate 2300, Celeron 1.5 GHz, upgraded to 2 Gb RAM. I tested my app (AALite sqlite database browser) on a few distributions and found that it is completely usable on Ubuntu 8.10 Intrepid Ibex (Gnome), but starts and then crashes Puppy; starts, works but finally crashes on Slax (KDE), both are Slackware based. Did not notice any large speed loss on Ubuntu or any other Linux distribution though... All these tests were done with operating systems loaded completely into RAM from liveCDs. I also removed all the options that I do not need at the moment when compiling (no printing, no fonts, no table) Going to do more testing on other Linux distros... As far as I remember previously applications compiled with RR 2.6 used to work on Puppy without any problems. Viktoras Ken Ray wrote: > I've got a basic PC (Dell Dimension 4600 running a P4 at 2.66GHz with 2GB > RAM) that switch boots between Windows XP and Ubuntu 8.04. I have a pretty > complex app (my stick figure animaton program "Stykz") that loads about 8 > libraries has a few front and back scripts and when it opens it displays a > main window and 4 floating palettes. > > The app is built with the Rev 3.5 engine and when I launch it on Windows, it > takes about 5 seconds from initial launch to idle. When I do this on Ubuntu > it is agonizingly slow, taking 25-30 seconds to come to an idle state. And > after this, everything is like molasses - windows take seconds! to redraw, > mouse messages aren't recognized immediately, etc. > > I haven't done much on Linux except StackRunner, which was very lightweight, > but my overall question is: are there any "gotchas" I should know about > related to Linux that might account for significantly affecting performance? > > TIA, > > 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 jim at visitrieve.com Wed May 6 07:36:47 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Wed, 6 May 2009 01:36:47 -1000 Subject: [BUG?] strange behavior, IDE crashing on CMD+S In-Reply-To: <581297597078.20090505152057@ahsoftware.net> References: <7c87a2a10905051506x4000a213o383d007a2ff7883f@mail.gmail.com> <581297597078.20090505152057@ahsoftware.net> Message-ID: <001f01c9ce3e$f125cb90$d37162b0$@com> Hi Mark, > Yep. I've seen that. I hate to put this on our plate, but it seems to > be a GLX2 thing with rev 3.5. We're working on it. On PC I've noted a number of these. Some result in crashes (apparently related to saves) and some just annoying such as Ctrl-9 (for switching to Browse Tool), which 8 times out of 10 results in an error and the GLX2 code being brought up in the editor. Some to having breakpoints and the debugger. Some to do with switching quickly to the message box after a save. I've just assumed you guys are aware of these issues and are working feverishly to correct them and so I haven't bothered to report any. But, if you put out something that says all 3.5 compatibility issues fixed, ;-) and I still see them, I'll then document recipes and report then on your site. On a positive note, having to frequently re-launch Rev made me notice a preferences bug, which I reported and has already been fixed by Rev for next release. :-) Aloha from Hawaii, Jim Bufalini From wow at together.net Wed May 6 08:20:44 2009 From: wow at together.net (Richard Miller) Date: Wed, 06 May 2009 08:20:44 -0400 Subject: "set the externals" question In-Reply-To: <001f01c9ce3e$f125cb90$d37162b0$@com> References: <7c87a2a10905051506x4000a213o383d007a2ff7883f@mail.gmail.com> <581297597078.20090505152057@ahsoftware.net> <001f01c9ce3e$f125cb90$d37162b0$@com> Message-ID: <4A01809C.5050900@together.net> I have a standalone, which opens several other stacks. Is there a way to have any of these other stacks access an external WITHOUT having to "set the externals" of the standalone? It's much easier for me if I need only modify one of the stacks. I'd like to avoid modifying the standalone. I've tried: 1. using the "set the externals" command in the preopenstack handler in one of the stacks (i.e. not the standalone app), but this didn't work during runtime; 2. setting the externals of one of the stacks in the development environment (so I can see that the external is being referenced in the stack property inspector). This didn't work during runtime. I'm testing this under Windows, but any solution would need to work on a Mac as well. It's the videograbber.dll (in the Rev Externals folder) that I'm trying to access during runtime. Thanks. Richard Miller From lists at mangomultimedia.com Wed May 6 08:24:41 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 6 May 2009 08:24:41 -0400 Subject: Layout control of a dg Form In-Reply-To: References: Message-ID: <9D79ECA7-7739-4066-BD4A-D41564F39ED3@mangomultimedia.com> On May 5, 2009, at 5:14 PM, Yves COPPE wrote: > I try to make a form with a datagrid > the rowtemplate is 2 flds > the array for each row gives 2 text, one for the text fld "Data1" of > the row and one for the text fld "Data2" > the formttedHeigth of each data is a variable > > and I cannot find a script for the layoutcontrol to make the lines > of each row with an appropriate height so that each text on each row > is fully visible > > how van I script a layout control ? Yves, Is the issue with determining how to resize the fields so they are as tall as the content they have to display? If you just want to resize the fields to fit the appropriate height then you can do something like the following. Just make sure and turn off fixed control height for the data grid. on LayoutControl pControlRect -- set the width of fields if needed... -- Now resize to fit height put the rect of field 1 of me into theRect put item 2 of theRect + \ the formattedHeight of field 1 of me - the bottomMargin of field 1 of me \ into item 4 of theRect set the rect of field 1 of me to theRect end LayoutControl Regards, -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.com From jim at visitrieve.com Wed May 6 08:31:00 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Wed, 6 May 2009 02:31:00 -1000 Subject: "set the externals" question In-Reply-To: <4A01809C.5050900@together.net> References: <7c87a2a10905051506x4000a213o383d007a2ff7883f@mail.gmail.com> <581297597078.20090505152057@ahsoftware.net> <001f01c9ce3e$f125cb90$d37162b0$@com> <4A01809C.5050900@together.net> Message-ID: <002601c9ce46$83c491a0$8b4db4e0$@com> Hi Richard, Have one stack that sets the externals. Then *start using* that stack from anywhere (the preOpenStack of your standalone is fine). This makes available the externals of that stack to other open stacks. Aloha from Hawaii, Jim Bufalini > I have a standalone, which opens several other stacks. Is there a way > to > have any of these other stacks access an external WITHOUT having to > "set > the externals" of the standalone? > > It's much easier for me if I need only modify one of the stacks. I'd > like to avoid modifying the standalone. > > I've tried: > > 1. using the "set the externals" command in the preopenstack handler in > one of the stacks (i.e. not the standalone app), but this didn't work > during runtime; > > 2. setting the externals of one of the stacks in the development > environment (so I can see that the external is being referenced in the > stack property inspector). This didn't work during runtime. > > I'm testing this under Windows, but any solution would need to work on > a > Mac as well. It's the videograbber.dll (in the Rev Externals folder) > that I'm trying to access during runtime. > > 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 th.douez at gmail.com Wed May 6 08:32:07 2009 From: th.douez at gmail.com (Thierry) Date: Wed, 6 May 2009 14:32:07 +0200 Subject: "set the externals" question In-Reply-To: <4A01809C.5050900@together.net> References: <7c87a2a10905051506x4000a213o383d007a2ff7883f@mail.gmail.com> <581297597078.20090505152057@ahsoftware.net> <001f01c9ce3e$f125cb90$d37162b0$@com> <4A01809C.5050900@together.net> Message-ID: <8D616381-4E3B-4D5E-9051-E56EEF97FC91@gmail.com> Le 6 mai 09 ? 14:20, Richard Miller a ?crit : > I have a standalone, which opens several other stacks. Is there a > way to have any of these other stacks access an external WITHOUT > having to "set the externals" of the standalone? > > It's much easier for me if I need only modify one of the stacks. > I'd like to avoid modifying the standalone. > > I've tried: > > 1. using the "set the externals" command in the preopenstack > handler in one of the stacks (i.e. not the standalone app), but > this didn't work during runtime; can't work this way. the property externals has to be set before opening a stack, or the other way round you must set the external before saving your stack !!!! > 2. setting the externals of one of the stacks in the development > environment (so I can see that the external is being referenced in > the stack property inspector). This didn't work during runtime. one way to do this: build a templatestack, setting the externals in the templatestack, then create a stack, open it, and then, may be: "start using your stack"..... this should be cross-platform. HTH, THierry From jmyepes at mac.com Wed May 6 08:50:26 2009 From: jmyepes at mac.com (Josep) Date: Wed, 6 May 2009 05:50:26 -0700 (PDT) Subject: Embeded images don't showed in standalone In-Reply-To: <4A0082DC.3030002@hyperactivesw.com> References: <23378864.post@talk.nabble.com> <23386252.post@talk.nabble.com> <23392691.post@talk.nabble.com> <4A0082DC.3030002@hyperactivesw.com> Message-ID: <23406021.post@talk.nabble.com> Hi, Yes, the images are in the same stack, I checked with the application browser. But the images in the standalone don't appear... Any idea? J. Landman Gay wrote: > > Josep wrote: >> Hi, >> >> Yes, the images was imported into the stack "as control" and in develop >> mode >> all is ok. The problem is when I build the standalone, all the images are >> grey boxes. > > Look in the Application Browser and verify the images are there. The > images must be in the same stack file as the buttons (the main stack, or > one of its substacks.) If they are in a separate independent stack, they > may not be found. > > -- > 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 > > -- View this message in context: http://www.nabble.com/Embeded-images-don%27t-showed-in-standalone-tp23378864p23406021.html Sent from the Revolution - User mailing list archive at Nabble.com. From wow at together.net Wed May 6 09:19:04 2009 From: wow at together.net (Richard Miller) Date: Wed, 06 May 2009 09:19:04 -0400 Subject: "set the externals" question In-Reply-To: <002601c9ce46$83c491a0$8b4db4e0$@com> References: <7c87a2a10905051506x4000a213o383d007a2ff7883f@mail.gmail.com> <581297597078.20090505152057@ahsoftware.net> <001f01c9ce3e$f125cb90$d37162b0$@com> <4A01809C.5050900@together.net> <002601c9ce46$83c491a0$8b4db4e0$@com> Message-ID: <4A018E48.6050900@together.net> Thanks Jim and Thierry, Seems to be working. I've got a bit more testing to do, but so far, so good. Richard Jim Bufalini wrote: > Hi Richard, > > Have one stack that sets the externals. Then *start using* that stack from > anywhere (the preOpenStack of your standalone is fine). This makes available > the externals of that stack to other open stacks. > > Aloha from Hawaii, > > Jim Bufalini > > >> I have a standalone, which opens several other stacks. Is there a way >> to >> have any of these other stacks access an external WITHOUT having to >> "set >> the externals" of the standalone? >> >> It's much easier for me if I need only modify one of the stacks. I'd >> like to avoid modifying the standalone. >> >> I've tried: >> >> 1. using the "set the externals" command in the preopenstack handler in >> one of the stacks (i.e. not the standalone app), but this didn't work >> during runtime; >> >> 2. setting the externals of one of the stacks in the development >> environment (so I can see that the external is being referenced in the >> stack property inspector). This didn't work during runtime. >> >> I'm testing this under Windows, but any solution would need to work on >> a >> Mac as well. It's the videograbber.dll (in the Rev Externals folder) >> that I'm trying to access during runtime. >> >> 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 > > From palcibiades-first at yahoo.co.uk Wed May 6 09:58:20 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Wed, 6 May 2009 06:58:20 -0700 (PDT) Subject: App on Linux - really slow... any ideas why? In-Reply-To: References: <23401344.post@talk.nabble.com> Message-ID: <23407237.post@talk.nabble.com> ok, it should be very easy to test this. Boot Puppy and pick the VESA option. Won't that tell you at least if its down to Xorg? Peter Bernard Devlin-2 wrote: > > You may well be right that X11 is the problem. ....... > > -- View this message in context: http://www.nabble.com/App-on-Linux---really-slow...-any-ideas-why--tp23393374p23407237.html Sent from the Revolution - User mailing list archive at Nabble.com. From yvescoppe at skynet.be Wed May 6 09:58:43 2009 From: yvescoppe at skynet.be (Yves COPPE) Date: Wed, 6 May 2009 15:58:43 +0200 Subject: Layout control of a dg Form In-Reply-To: <9D79ECA7-7739-4066-BD4A-D41564F39ED3@mangomultimedia.com> References: <9D79ECA7-7739-4066-BD4A-D41564F39ED3@mangomultimedia.com> Message-ID: Le 06-mai-09 ? 14:24, Trevor DeVore a ?crit : > On May 5, 2009, at 5:14 PM, Yves COPPE wrote: > > Yves, > > Is the issue with determining how to resize the fields so they are > as tall as the content they have to display? If you just want to > resize the fields to fit the appropriate height then you can do > something like the following. Just make sure and turn off fixed > control height for the data grid. > > on LayoutControl pControlRect > -- set the width of fields if needed... > > -- Now resize to fit height > put the rect of field 1 of me into theRect > put item 2 of theRect + \ > the formattedHeight of field 1 of me - the bottomMargin of > field 1 of me \ > into item 4 of theRect > set the rect of field 1 of me to theRect > end LayoutControl > > Regards, > > Re, it's just what I need I have adapted your script to my flds. It works very nice thanks. Greetings. Yves COPPE yvescoppe at skynet.be From palcibiades-first at yahoo.co.uk Wed May 6 10:58:58 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Wed, 6 May 2009 07:58:58 -0700 (PDT) Subject: App on Linux - really slow... any ideas why? In-Reply-To: <4A009682.8020107@gmail.com> References: <4A009682.8020107@gmail.com> Message-ID: <23407970.post@talk.nabble.com> Oh dear what a dispiriting thread. I haven't experienced all this stuff, though printing is still a mess in parts, and aspects of the IDE are very irritating. But in terms of how well it runs on Linux, I've usually found 3.0 and 3.5 to be improvements. The native file dialog is a great improvement. The editor does not any more periodically slow to a crawl for no apparent reason. On X, Multiple desktops do not work at all on either Gnome or KDE - which must reflect something basically wrong with the implementation. Another straw that supports the suggestion that the problem is to do with X. If experienced professional developers using it on multiple platforms report these sorts of issues, crashes and slowdowns and inability to handle X, there is a real problem, and Rev needs to get to it. -- View this message in context: http://www.nabble.com/App-on-Linux---really-slow...-any-ideas-why--tp23393374p23407970.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Wed May 6 11:02:00 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 06 May 2009 08:02:00 -0700 Subject: App on Linux - really slow... any ideas why? Message-ID: <4A01A668.2000700@fourthworld.com> Bernard Devlin wrote: > The interesting question is what has happened to the programming > of the Rev GUI since RunRev took over development from Metacard. > I was not a MC user, but since MC was primarily aimed at Unix > GUIs, I cannot believe that the same kinds of problems were > experienced by unix users. I think what happened was Motif died. :) MC was originally built around emulated appearances, and only migrated to native appearances in the late '90s with Mac OS. Later versions of the Windows and more recently the Linux engines now also use native appearances, but the overhead of integrating the engine's internals with these generalized systems is far greater than being able to handle everything itself. When there was only Motif, life was easy. But that was a long time ago, and today shipping anything using the Motif lookAndFeel looks really dated. While undesirable for commercial deployment, I suspect that using any of the emulated appearances (Motif is alien looking to most modern users, and the "Win95" lookAndFeel is a very distant approximation of the KDE experience) would yield much better performance. For the long term it seems clear that the Rev engine's interface with Linux window managers needs an overhaul to address not only performance issues but a good many aesthetic ones as well (note the weird appearance of some fields and buttons under Gnome). I recognize that the work needed may represent a relatively low return-on-investment given the number of Linux-only customers in Rev's installed base weighed against what I imagine is a fairly substantial chunk of work to move it to a more graceful state. But Linux is the fastest-growing desktop operating system on the planet, and its role in the deployment plans of all of RunRev's customers will only continue to grow. IMNSHO, it's an investment worth making. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From andre at andregarzia.com Wed May 6 11:15:26 2009 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 6 May 2009 12:15:26 -0300 Subject: [ANN] RevTwitter on RevOnline Message-ID: <7c87a2a10905060815p730b33e9sa37e62f45bd5cfb2@mail.gmail.com> Folks, I've built sometime ago a little toy called RevTwitter. It has a simple twitter library for posting, searching and getting timelines. I've built a minimal client too so you can play with it. After loading, remember to fill your login details by clicking the preferences button. It is a fun toy but the best part is the library which has some real nice functions. It's on RevOnline, have fun. Andre -- http://www.andregarzia.com All We Do Is Code. From userevolution at dreamscapesoftware.com Wed May 6 11:30:50 2009 From: userevolution at dreamscapesoftware.com (Derek Bump - Dreamscape Software) Date: Wed, 06 May 2009 10:30:50 -0500 Subject: Mac OS X Icon not being copied to Standalone Message-ID: <4A01AD2A.6010206@dreamscapesoftware.com> Does anyone know what is causing this? I had a Application Icon that had been copied into the Mac OS X Standalone with no problems, and then all of a sudden when Rev builds the standalone, it doesn't copy the icon. This happened a few weeks ago with no change in Revolution versions. I did try updating to Rev 3.5.0 to see if it fixed the problem, but it still happens. Any ideas? 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 kevin at runrev.com Wed May 6 11:35:59 2009 From: kevin at runrev.com (Kevin Miller) Date: Wed, 06 May 2009 16:35:59 +0100 Subject: App on Linux - really slow... any ideas why? In-Reply-To: Message-ID: On 5/5/09 21:37, "Bernard Devlin" wrote: > There are several bugs noted in RQCC about slow performance in Linux. > Some of those marked 'fixed' > (http://quality.runrev.com/qacenter/show_bug.cgi?id=7273) are fixing > symptoms that manifest because of the much slower performance. > > I found Rev 3.0 was unusable on Linux, and gave up trying. As you'll note from this bug report it was fixed for 3.5. We fixed a lot of other issues on Linux for that release too, including a couple of slow downs, crashes and memory leaks that occurred under certain window managers. Linux has a small market share, is a rapidly moving target and is a large and amorphous number of versions. Nonetheless we are committed to supporting it and if these issues with Ken's app truly do persist in 3.5 then we will take a look at them and sort them out for a future version. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools From bdrunrev at gmail.com Wed May 6 11:36:46 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 6 May 2009 16:36:46 +0100 Subject: App on Linux - really slow... any ideas why? In-Reply-To: <4A01A668.2000700@fourthworld.com> References: <4A01A668.2000700@fourthworld.com> Message-ID: Thanks for putting the issues in a context. It does go some way to explaining why some of us have had such a bad experience of Rev on Linux. Bernard On Wed, May 6, 2009 at 4:02 PM, Richard Gaskin wrote: > I think what happened was Motif died. :) > > MC was originally built around emulated appearances, and only migrated to > native appearances in the late '90s with Mac OS. ?Later versions of the > Windows and more recently the Linux engines now also use native appearances, > but the overhead of integrating the engine's internals with these > generalized systems is far greater than being able to handle everything > itself. > > When there was only Motif, life was easy. ?But that was a long time ago, and > today shipping anything using the Motif lookAndFeel looks really dated. > From ambassador at fourthworld.com Wed May 6 11:44:52 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 06 May 2009 08:44:52 -0700 Subject: App on Linux - really slow... any ideas why? Message-ID: <4A01B074.6060201@fourthworld.com> Kevin Miller wrote: > On 5/5/09 21:37, "Bernard Devlin" wrote: > >> There are several bugs noted in RQCC about slow performance in Linux. >> Some of those marked 'fixed' >> (http://quality.runrev.com/qacenter/show_bug.cgi?id=7273) are fixing >> symptoms that manifest because of the much slower performance. >> >> I found Rev 3.0 was unusable on Linux, and gave up trying. > > As you'll note from this bug report it was fixed for 3.5. We fixed a lot of > other issues on Linux for that release too, including a couple of slow > downs, crashes and memory leaks that occurred under certain window managers. > Linux has a small market share, is a rapidly moving target and is a large > and amorphous number of versions. Nonetheless we are committed to supporting > it and if these issues with Ken's app truly do persist in 3.5 then we will > take a look at them and sort them out for a future version. Great news, Kevin. Thanks for posting that. I'm going to go update my Linux deployments with the latest engine.... -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From scott at tactilemedia.com Wed May 6 12:20:16 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 06 May 2009 09:20:16 -0700 Subject: Mac OS X Icon not being copied to Standalone In-Reply-To: <4A01AD2A.6010206@dreamscapesoftware.com> Message-ID: Recently, Derek Bump - Dreamscape Software wrote: > Does anyone know what is causing this? I had a Application Icon that > had been copied into the Mac OS X Standalone with no problems, and then > all of a sudden when Rev builds the standalone, it doesn't copy the icon. This happened to me recently. I gave up trying to find the cause and went to the old standby method of zipping/unzipping the standalone. The icon was there, which means it's something to do with updating the Finder. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From janschenkel at yahoo.com Wed May 6 12:32:16 2009 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 6 May 2009 09:32:16 -0700 (PDT) Subject: Mac OS X Icon not being copied to Standalone In-Reply-To: <4A01AD2A.6010206@dreamscapesoftware.com> Message-ID: <347362.48003.qm@web65410.mail.ac4.yahoo.com> Is it not being shown in the Finder, or does it not get copied at all? Try zipping the .app, deleting the .app, and unzipping the archive - if it does show up again, it's due to the Finder icon cache not getting updated (a common problem for developers in all Mac programming environments) If it doesn't show up, control-click on the .app and use the contextual menu to show the package contents - then drill down to /Resources/Standalone.icns to see if the file is there or not. 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 Wed, 5/6/09, Derek Bump - Dreamscape Software wrote: > From: Derek Bump - Dreamscape Software > Subject: Mac OS X Icon not being copied to Standalone > To: "How to use Revolution" > Date: Wednesday, May 6, 2009, 8:30 AM > Does anyone know what is causing this? I had a Application > Icon that > had been copied into the Mac OS X Standalone with no > problems, and then > all of a sudden when Rev builds the standalone, it > doesn't copy the icon. > > This happened a few weeks ago with no change in Revolution > versions. I > did try updating to Rev 3.5.0 to see if it fixed the > problem, but it > still happens. > > Any ideas? > > > Derek Bump > Dreamscape Software > http://www.dreamscapesoftware.com > > ___________________________________________________________________ > Compress your photos quickly and easily with JPEGCompress > 2.9! > http://www.dreamscapesoftware.com/products/jpegcompress/ > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 May 6 12:46:50 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 06 May 2009 19:46:50 +0300 Subject: Mac OS X Icon not being copied to Standalone In-Reply-To: References: Message-ID: <4A01BEFA.7050701@gmail.com> Yes, you have to relaunch the Finder: I do hope somebody other than me can understand 'close process' because when I typed 'close process "Finder.app" ' nothing happened. Quitting th Finder should sufficient as it should automatically relaunch. Scott Rossi wrote: > Recently, Derek Bump - Dreamscape Software wrote: > > >> Does anyone know what is causing this? I had a Application Icon that >> had been copied into the Mac OS X Standalone with no problems, and then >> all of a sudden when Rev builds the standalone, it doesn't copy the icon. >> > > This happened to me recently. I gave up trying to find the cause and went > to the old standby method of zipping/unzipping the standalone. The icon was > there, which means it's something to do with updating the Finder. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & 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 ambassador at fourthworld.com Wed May 6 12:56:01 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 06 May 2009 09:56:01 -0700 Subject: Mac OS X Icon not being copied to Standalone Message-ID: <4A01C121.1020806@fourthworld.com> I find that just duplicating the standalone will cause the Finder to draw the copy with the icons. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com Richmond Mathewson wrote: > Yes, you have to relaunch the Finder: I do hope somebody > other than me can understand 'close process' because > when I typed 'close process "Finder.app" ' nothing happened. > > Quitting th Finder should sufficient as it should > automatically relaunch. > > Scott Rossi wrote: >> Recently, Derek Bump - Dreamscape Software wrote: >> >> >>> Does anyone know what is causing this? I had a Application Icon that >>> had been copied into the Mac OS X Standalone with no problems, and then >>> all of a sudden when Rev builds the standalone, it doesn't copy the icon. >>> >> >> This happened to me recently. I gave up trying to find the cause and went >> to the old standby method of zipping/unzipping the standalone. The icon was >> there, which means it's something to do with updating the Finder. >> >> Regards, >> >> Scott Rossi From th.douez at gmail.com Wed May 6 13:03:13 2009 From: th.douez at gmail.com (Thierry) Date: Wed, 6 May 2009 19:03:13 +0200 Subject: installer made by Rev... Message-ID: <8C390B4C-DA1E-4547-9D2E-97347413C68D@gmail.com> Hi all, I'm finishing an installer in Rev which is a basic stack in fact. After asking some parameters, it will check on the web for versions, and should dowload few files. Those files were compressed before. Rev can download them, decompress them and save them on the user's disk. So far so good. But, I have a external.bundle to download too, and I'm stuck on how to compress, zip or package it so the stack installer can download it and save it. I've even tried the gzip/gunzip command line tool which doesn't work either :-( Any clever clue ? It will be good to be done in Rev only. ps: don't have this problem on Windowsxx or Linux. Thanks for enlightment Thierry From richmondmathewson at gmail.com Wed May 6 13:04:29 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 06 May 2009 20:04:29 +0300 Subject: Mac OS X Icon not being copied to Standalone In-Reply-To: <4A01C121.1020806@fourthworld.com> References: <4A01C121.1020806@fourthworld.com> Message-ID: <4A01C31D.4000203@gmail.com> Well, that's all very fine if you are there, and it's your computer. However, I have downloaded an application (not a RR standalone) before and had to relaunch the Finder myself to get the icon to show up. Richard Gaskin wrote: > I find that just duplicating the standalone will cause the Finder to > draw the copy with the icons. > > -- > Richard Gaskin > Fourth World > Revolution training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > > > Richmond Mathewson wrote: >> Yes, you have to relaunch the Finder: I do hope somebody >> other than me can understand 'close process' because >> when I typed 'close process "Finder.app" ' nothing happened. >> >> Quitting th Finder should sufficient as it should >> automatically relaunch. >> >> Scott Rossi wrote: >>> Recently, Derek Bump - Dreamscape Software wrote: >>> >>> >>>> Does anyone know what is causing this? I had a Application Icon that >>>> had been copied into the Mac OS X Standalone with no problems, and >>>> then >>>> all of a sudden when Rev builds the standalone, it doesn't copy the >>>> icon. >>>> >>> >>> This happened to me recently. I gave up trying to find the cause >>> and went >>> to the old standby method of zipping/unzipping the standalone. The >>> icon was >>> there, which means it's something to do with updating the Finder. >>> >>> Regards, >>> >>> Scott Rossi > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 May 6 13:06:19 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 6 May 2009 19:06:19 +0200 Subject: installer made by Rev... In-Reply-To: <8C390B4C-DA1E-4547-9D2E-97347413C68D@gmail.com> References: <8C390B4C-DA1E-4547-9D2E-97347413C68D@gmail.com> Message-ID: <1F63D326-7270-433C-BE5B-99D4B480B129@economy-x-talk.com> Hi Thierry, A bundle is just a folder. Handle it just like any folder in your project. I do that with my installer too. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum New: Snapper Screen Recorder 2.0.1 Download at http://snapper.economy-x-talk.com On 6 mei 2009, at 19:03, Thierry wrote: > Hi all, > > I'm finishing an installer in Rev which is a basic stack in fact. > > After asking some parameters, it will check on the web for versions, > and should dowload few files. > > Those files were compressed before. > > Rev can download them, > decompress them and save them on the user's disk. > > So far so good. > > But, I have a external.bundle to download too, > and I'm stuck on how to compress, > zip or package it > so the stack installer can download it and save it. > > I've even tried the gzip/gunzip command line tool > which doesn't work either :-( > > Any clever clue ? > It will be good to be done in Rev only. > > ps: don't have this problem on Windowsxx or Linux. > > Thanks for enlightment > Thierry From mwieder at ahsoftware.net Wed May 6 13:10:24 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 6 May 2009 10:10:24 -0700 Subject: [BUG?] strange behavior, IDE crashing on CMD+S In-Reply-To: <001f01c9ce3e$f125cb90$d37162b0$@com> References: <7c87a2a10905051506x4000a213o383d007a2ff7883f@mail.gmail.com> <581297597078.20090505152057@ahsoftware.net> <001f01c9ce3e$f125cb90$d37162b0$@com> Message-ID: <431365363906.20090506101024@ahsoftware.net> Jim- Wednesday, May 6, 2009, 4:36:47 AM, you wrote: > I've just assumed you guys are aware of these issues and are working > feverishly to correct them and so I haven't bothered to report any. But, if *Never* assume that sort of stuff. Most of the time we become aware of issues when someone reports them. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Wed May 6 13:18:10 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 06 May 2009 10:18:10 -0700 Subject: installer made by Rev... Message-ID: <4A01C652.2000600@fourthworld.com> Thierry wrote: > I'm finishing an installer in Rev which is a basic stack in fact. > > After asking some parameters, it will check on the web for versions, > and should dowload few files. > > Those files were compressed before. > > Rev can download them, > decompress them and save them on the user's disk. > > So far so good. > > But, I have a external.bundle to download too, > and I'm stuck on how to compress, > zip or package it > so the stack installer can download it and save it. > > I've even tried the gzip/gunzip command line tool > which doesn't work either :-( > > Any clever clue ? > It will be good to be done in Rev only. I've become increasingly annoyed with the build process using any other installer maker, so I make my own in Rev too. Freedom + convenience! As Mark S. noted, an OSX bundle is just a folder, so you can store its parts however you would store any other folder. My installer walks through the bundle keep track of folders, and tucking the data files and folder references into custom props gzipped at build time, spitting them out into created directories at install time. When you spit out the Mac executable, remember that you'll need to set its executable bit -- Mark Waddingham was kind enough to share this with me: get shell("chmod ugo+x" && quote & tDest & quote) ...where tDest is the path to the executable inside *.app/Contents/MacOS/ -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From userevolution at dreamscapesoftware.com Wed May 6 13:44:48 2009 From: userevolution at dreamscapesoftware.com (Derek Bump - Dreamscape Software) Date: Wed, 06 May 2009 12:44:48 -0500 Subject: Mac OS X Icon not being copied to Standalone In-Reply-To: <347362.48003.qm@web65410.mail.ac4.yahoo.com> References: <347362.48003.qm@web65410.mail.ac4.yahoo.com> Message-ID: <4A01CC90.7050405@dreamscapesoftware.com> Well how strange is that. As soon as I try to test the helpful advise every gave me, it starts to work again! I will say this though, when the problem was happening, I would have to go into the Package Contents, and remove the Standalone.icns and replace it with my icon. If this happens again I'll try the solutions everyone suggested. Thanks again to everyone for helping me out! 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 christian.langers at education.lu Wed May 6 13:53:25 2009 From: christian.langers at education.lu (Christian Langers) Date: Wed, 06 May 2009 19:53:25 +0200 Subject: Mac OS X Icon not being copied to Standalone In-Reply-To: <4A01BEFA.7050701@gmail.com> References: <4A01BEFA.7050701@gmail.com> Message-ID: <4A01CE95.6040901@education.lu> On 6/05/09 18:46, Richmond Mathewson wrote: > Yes, you have to relaunch the Finder: I do hope somebody > other than me can understand 'close process' because > when I typed 'close process "Finder.app" ' nothing happened. > using the shell with : killAll "Finder" or in Rev using get shell("killAll 'Finder'") works Regards, Christian > Quitting th Finder should sufficient as it should > automatically relaunch. > > Scott Rossi wrote: >> Recently, Derek Bump - Dreamscape Software wrote: >> >>> Does anyone know what is causing this? I had a Application Icon that >>> had been copied into the Mac OS X Standalone with no problems, and then >>> all of a sudden when Rev builds the standalone, it doesn't copy the >>> icon. >> >> This happened to me recently. I gave up trying to find the cause and >> went >> to the old standby method of zipping/unzipping the standalone. The >> icon was >> there, which means it's something to do with updating the Finder. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, Multimedia & 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 jim at visitrieve.com Wed May 6 13:54:08 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Wed, 6 May 2009 07:54:08 -1000 Subject: "set the externals" question In-Reply-To: <4A018E48.6050900@together.net> References: <7c87a2a10905051506x4000a213o383d007a2ff7883f@mail.gmail.com> <581297597078.20090505152057@ahsoftware.net> <001f01c9ce3e$f125cb90$d37162b0$@com> <4A01809C.5050900@together.net> <002601c9ce46$83c491a0$8b4db4e0$@com> <4A018E48.6050900@together.net> Message-ID: <002d01c9ce73$a7f9d9e0$f7ed8da0$@com> Hi Richard, > Seems to be working. I've got a bit more testing to do, but so far, so > good. Great. BTW, just in case you didn't know. If you want to add a stack that's needs to be put in use and don't want to modify any other stacks, you can have a stack put itself in use with something like: ON preOpenStack IF the long name of me = the long name of this stack THEN start using this stack END preOpenStack This puts the stack into the stacksInUse. Aloha from Hawaii Jim Bufalini From jmyepes at mac.com Wed May 6 14:06:38 2009 From: jmyepes at mac.com (Josep) Date: Wed, 6 May 2009 11:06:38 -0700 (PDT) Subject: Embeded images don't showed in standalone In-Reply-To: <38D9C177-70C5-41B1-80B9-148212904341@cruzio.com> References: <23378864.post@talk.nabble.com> <23386252.post@talk.nabble.com> <23392691.post@talk.nabble.com> <4A0082DC.3030002@hyperactivesw.com> <4A009743.2070201@gmail.com> <38D9C177-70C5-41B1-80B9-148212904341@cruzio.com> Message-ID: <23412368.post@talk.nabble.com> Hi, Well, after severals standalone builidings... and tests nothing change. I import again all the images without make copy paste between stacks... The images aren't show. Only appear grey boxes in the location where the image will be stay. The images are locked position in the stacks. But, if I import as reference and in the standalone settings "Copy Files" I check the option "Copy referenced files" all the images are showed. But, I don't want this, so the user can change or modify them... Why with "Import image as control" don't run? Also I updated to 3.5 gm-2 last night.. but the same... Salut, Josep Mark Swindell wrote: > > If I understand the question, Josep is importing images via the import > control command. They appear as advertised in development, but > disappear when he makes a standalone. I think he said it's not a > button icon issue. > > Josep, have you made sure you have locked the image size and > location? If you have resized and relocated them, I believe those > parameters need to be locked for them to stick across sessions. Maybe > they are somehow appearing somewhere off screen? Dunno. > > Mark > > On May 5, 2009, at 12:45 PM, Richmond Mathewson wrote: > >> To be absolutely safe probably it is best to have the image in THE >> same stack; i.e. in the >> substack itself, rather than a parent stack. >> >> J. Landman Gay wrote: >>> Josep wrote: >>>> Hi, >>>> >>>> Yes, the images was imported into the stack "as control" and in >>>> develop mode >>>> all is ok. The problem is when I build the standalone, all the >>>> images are >>>> grey boxes. >>> >>> Look in the Application Browser and verify the images are there. >>> The images must be in the same stack file as the buttons (the main >>> stack, or one of its substacks.) If they are in a separate >>> independent stack, they may not be found. >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 > > -- View this message in context: http://www.nabble.com/Embeded-images-don%27t-showed-in-standalone-tp23378864p23412368.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Wed May 6 14:07:59 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 06 May 2009 13:07:59 -0500 Subject: Mac OS X Icon not being copied to Standalone In-Reply-To: <4A01CC90.7050405@dreamscapesoftware.com> References: <347362.48003.qm@web65410.mail.ac4.yahoo.com> <4A01CC90.7050405@dreamscapesoftware.com> Message-ID: <4A01D1FF.4010802@hyperactivesw.com> Derek Bump - Dreamscape Software wrote: > Well how strange is that. As soon as I try to test the helpful advise > every gave me, it starts to work again! > > I will say this though, when the problem was happening, I would have to > go into the Package Contents, and remove the Standalone.icns and replace > it with my icon. > > If this happens again I'll try the solutions everyone suggested. > Thanks again to everyone for helping me out! An even easier way than zipping/unzipping is to just use the "touch" command, which you can do from either Terminal or from Rev's message box: touch The very easiest way, which seems to work occasionally but not always, is to Get Info on the app, click in the icon box, and hit the delete key on your keyboard. That sometimes forces the Finder to "replace" the icon with the one in the bundle. BTW, I think relaunching the Finder is way overkill. Use one of the other methods. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Wed May 6 14:12:17 2009 From: kray at sonsothunder.com (Kennan Ray) Date: Wed, 6 May 2009 13:12:17 -0500 Subject: App on Linux - really slow... any ideas why? In-Reply-To: References: <23401344.post@talk.nabble.com> Message-ID: <9B5A813E-E246-4A71-9FF8-6446363D49C3@sonsothunder.com> Excuse my ignorance, but how do you launch a stack with an "rc2 shell script"? And would doing so still display my GUI as if it were a standalone? Ken Ray Sons of Thunder Software On May 6, 2009, at 3:34 AM, Pierre Sahores wrote: > In my experience, this slowness has mainly to do with X11. Any MC > engine (need confirmation for Rev) started in the background in > launching a service stack via an rc2 shell script will run faster > under Linux than the service stack can run under windows or OS X in > graphical mode. > > Kind Regards, > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.com > > > Le 6 mai 09 ? 09:20, Peter Alcibiades a ?crit : > >> >> Mandriva isn't Slackware based of course, didn't mean to give that >> impression. So that would be a test of a third branch of the tree. >> -- >> View this message in context: http://www.nabble.com/App-on-Linux---really-slow...-any-ideas-why--tp23393374p23401344.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 andre at andregarzia.com Wed May 6 14:14:52 2009 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 6 May 2009 15:14:52 -0300 Subject: installer made by Rev... In-Reply-To: <1F63D326-7270-433C-BE5B-99D4B480B129@economy-x-talk.com> References: <8C390B4C-DA1E-4547-9D2E-97347413C68D@gmail.com> <1F63D326-7270-433C-BE5B-99D4B480B129@economy-x-talk.com> Message-ID: <7c87a2a10905061114u1582ef28qa85dcfc067fd313b@mail.gmail.com> Folks, Friends don't let Friends lose resource forks! Even as a bundle is just a folder, some files inside it might not be just simple files. If you simply compress it, you might end up loosing any resource fork in the files since zip does not take care of that. Check the ditto command line tool, it is bundle with mac os x and it is able to create zips preserving the permissions and the resource forks. :D andre On Wed, May 6, 2009 at 2:06 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Thierry, > > A bundle is just a folder. Handle it just like any folder in your project. > I do that with my installer too. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > Dutch forum: http://runrev.info/rrforum > > New: Snapper Screen Recorder 2.0.1 > Download at http://snapper.economy-x-talk.com > > > On 6 mei 2009, at 19:03, Thierry wrote: > > Hi all, >> >> I'm finishing an installer in Rev which is a basic stack in fact. >> >> After asking some parameters, it will check on the web for versions, >> and should dowload few files. >> >> Those files were compressed before. >> >> Rev can download them, >> decompress them and save them on the user's disk. >> >> So far so good. >> >> But, I have a external.bundle to download too, >> and I'm stuck on how to compress, >> zip or package it >> so the stack installer can download it and save it. >> >> I've even tried the gzip/gunzip command line tool >> which doesn't work either :-( >> >> Any clever clue ? >> It will be good to be done in Rev only. >> >> ps: don't have this problem on Windowsxx or Linux. >> >> Thanks for enlightment >> Thierry >> > > _______________________________________________ > use-revolution mailing list > use-revolution 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 kray at sonsothunder.com Wed May 6 14:19:43 2009 From: kray at sonsothunder.com (Kennan Ray) Date: Wed, 6 May 2009 13:19:43 -0500 Subject: Mac OS X Icon not being copied to Standalone In-Reply-To: <4A01C121.1020806@fourthworld.com> References: <4A01C121.1020806@fourthworld.com> Message-ID: You can also use the "touch" command in the shell: get shell("touch && pathToApp) I use Path Finder as a Finder replacement and it includes a Rouch command in the right-click menu. Ken Ray Sons of Thunder Software On May 6, 2009, at 11:56 AM, Richard Gaskin wrote: > I find that just duplicating the standalone will cause the Finder to > draw the copy with the icons. > > -- > Richard Gaskin > Fourth World > Revolution training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > > > Richmond Mathewson wrote: >> Yes, you have to relaunch the Finder: I do hope somebody >> other than me can understand 'close process' because >> when I typed 'close process "Finder.app" ' nothing happened. >> Quitting th Finder should sufficient as it should >> automatically relaunch. >> Scott Rossi wrote: >>> Recently, Derek Bump - Dreamscape Software wrote: >>> >>> >>>> Does anyone know what is causing this? I had a Application Icon >>>> that >>>> had been copied into the Mac OS X Standalone with no problems, >>>> and then >>>> all of a sudden when Rev builds the standalone, it doesn't copy >>>> the icon. >>>> >>> >>> This happened to me recently. I gave up trying to find the cause >>> and went >>> to the old standby method of zipping/unzipping the standalone. >>> The icon was >>> there, which means it's something to do with updating the Finder. >>> >>> Regards, >>> >>> Scott Rossi > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 May 6 14:21:37 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Wed, 06 May 2009 13:21:37 -0500 Subject: [BUG?] strange behavior, IDE crashing on CMD+S In-Reply-To: <001f01c9ce3e$f125cb90$d37162b0$@com> References: <7c87a2a10905051506x4000a213o383d007a2ff7883f@mail.gmail.com> <581297597078.20090505152057@ahsoftware.net> <001f01c9ce3e$f125cb90$d37162b0$@com> Message-ID: <85CB65DD-3696-41A6-8F4C-B2F7F032C911@me.com> Mark just sent me a potential fix for the short-cut key lock up problem on GLX2. We're testing it. Best, Jerry Daniels Daniels & Mara, Inc. Makers of GLX2 http://www.glx2.com On May 6, 2009, at 6:36 AM, Jim Bufalini wrote: > Hi Mark, > >> Yep. I've seen that. I hate to put this on our plate, but it seems to >> be a GLX2 thing with rev 3.5. We're working on it. > > On PC I've noted a number of these. Some result in crashes (apparently > related to saves) and some just annoying such as Ctrl-9 (for > switching to > Browse Tool), which 8 times out of 10 results in an error and the > GLX2 code > being brought up in the editor. Some to having breakpoints and the > debugger. > Some to do with switching quickly to the message box after a save. > > I've just assumed you guys are aware of these issues and are working > feverishly to correct them and so I haven't bothered to report any. > But, if > you put out something that says all 3.5 compatibility issues > fixed, ;-) and > I still see them, I'll then document recipes and report then on your > site. > > On a positive note, having to frequently re-launch Rev made me > notice a > preferences bug, which I reported and has already been fixed by Rev > for next > release. :-) > > 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 th.douez at gmail.com Wed May 6 15:01:56 2009 From: th.douez at gmail.com (Thierry) Date: Wed, 6 May 2009 21:01:56 +0200 Subject: installer made by Rev... In-Reply-To: <4A01C652.2000600@fourthworld.com> References: <4A01C652.2000600@fourthworld.com> Message-ID: <62E1C310-7CA2-4C31-8A73-21DAC8295EB6@gmail.com> Thanks Richard, Mark,... well, I knew a bundle is a folder. I was hoping of an unrevealed feature to avoid scanning the bundle folder, and dealing with each kind of files inside.... So, in the same vein you run a shell command to set exe bit, i'm using this shell command for all the process : get shell( "tar xf compressedfile") and files dates, files permissions are all respected..... Hope all those Mac from 10.4 have /usr/bin/tar ! Thierry >> I'm finishing an installer in Rev which is a basic stack in fact. >> After asking some parameters, it will check on the web for versions, >> and should dowload few files. >> Those files were compressed before. >> Rev can download them, >> decompress them and save them on the user's disk. >> So far so good. >> But, I have a external.bundle to download too, >> and I'm stuck on how to compress, >> zip or package it >> so the stack installer can download it and save it. >> I've even tried the gzip/gunzip command line tool >> which doesn't work either :-( >> Any clever clue ? >> It will be good to be done in Rev only. > > I've become increasingly annoyed with the build process using any > other installer maker, so I make my own in Rev too. Freedom + > convenience! > > As Mark S. noted, an OSX bundle is just a folder, so you can store > its parts however you would store any other folder. My installer > walks through the bundle keep track of folders, and tucking the > data files and folder references into custom props gzipped at build > time, spitting them out into created directories at install time. > > When you spit out the Mac executable, remember that you'll need to > set its executable bit -- Mark Waddingham was kind enough to share > this with me: > > get shell("chmod ugo+x" && quote & tDest & quote) > > ...where tDest is the path to the executable inside *.app/Contents/ > MacOS/ > From bdrunrev at gmail.com Wed May 6 15:04:39 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 6 May 2009 20:04:39 +0100 Subject: App on Linux - really slow... any ideas why? In-Reply-To: <9B5A813E-E246-4A71-9FF8-6446363D49C3@sonsothunder.com> References: <23401344.post@talk.nabble.com> <9B5A813E-E246-4A71-9FF8-6446363D49C3@sonsothunder.com> Message-ID: I think that Pierre was talking about using Rev as a server-side scripting language, more or less the way a Rev CGI works (only in Pierre's case, I think he's interested in Rev as a long-running server process, hence launched as a daemon service). This would mean running without a GUI. I hope Pierre will correct me if I'm misunderstanding something. Bernard On Wed, May 6, 2009 at 7:12 PM, Kennan Ray wrote: > Excuse my ignorance, but how do you launch a stack with an "rc2 shell > script"? > > And would doing so still display my GUI as if it were a standalone? > > Ken Ray > Sons of Thunder Software > > On May 6, 2009, at 3:34 AM, Pierre Sahores wrote: > >> In my experience, this slowness has mainly to do with X11. Any MC engine >> (need confirmation for Rev) started in the background in launching a service >> stack via an rc2 shell script will run faster under Linux than the service >> stack can run under windows or OS X in graphical mode. >> >> Kind Regards, >> -- >> Pierre Sahores >> mobile : 06 03 95 77 70 >> www.sahores-conseil.com >> >> >> Le 6 mai 09 ? 09:20, Peter Alcibiades a ?crit : >> >>> >>> Mandriva isn't Slackware based of course, didn't mean to give that >>> impression. ?So that would be a test of a third branch of the tree. >>> -- >>> View this message in context: >>> http://www.nabble.com/App-on-Linux---really-slow...-any-ideas-why--tp23393374p23401344.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 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From generic.email.30022 at gmail.com Wed May 6 15:15:52 2009 From: generic.email.30022 at gmail.com (Generic Email) Date: Wed, 6 May 2009 14:15:52 -0500 Subject: Run on-rev to tropo integration Message-ID: <460E6D3C-473C-4660-B923-F2CFC9E784DA@gmail.com> So I was reading this morning about Tropo (http://www.tropo.com/) this voice service where you can write code and make their IVR system do neat things. It works by you registering an app on their side, and you call it with a URL which has embedded params, or a html form, or whatever. And then I thought, I wonder if put URL works in on-rev. It does, so it made this integration kinda easy. Basically this page allows you to enter a persons name, 10 digit phone number (US and Canada only, I think), and a message. When you press submit, their server will call the person and give them the speech synthesized message. I thought it was cool. Check it out. I am certain someone will abuse it so I will take it down shortly, but it is up for now so you can say "cool!" with me. http://bshuler.on-rev.com/test.irev fun fun fun From revdev at pdslabs.net Wed May 6 16:05:38 2009 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 06 May 2009 13:05:38 -0700 Subject: Run on-rev to tropo integration In-Reply-To: <460E6D3C-473C-4660-B923-F2CFC9E784DA@gmail.com> References: <460E6D3C-473C-4660-B923-F2CFC9E784DA@gmail.com> Message-ID: <4A01ED92.2080908@pdslabs.net> Generic Email wrote: > So I was reading this morning about Tropo (http://www.tropo.com/) this > voice service where you can write code and make their IVR system do > neat things. > It works by you registering an app on their side, and you call it with > a URL which has embedded params, or a html form, or whatever. > And then I thought, I wonder if put URL works in on-rev. > > It does, so it made this integration kinda easy. Basically this page > allows you to enter a persons name, 10 digit phone number (US and > Canada only, I think), and a message. When you press submit, their > server will call the person and give them the speech synthesized message. > > I thought it was cool. Check it out. I am certain someone will abuse > it so I will take it down shortly, but it is up for now so you can say > "cool!" with me. Cool indeed! > http://bshuler.on-rev.com/test.irev > > fun fun fun -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From shaosean at wehostmacs.com Wed May 6 17:42:26 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Wed, 6 May 2009 17:42:26 -0400 Subject: Rev 3.5.0-gm-2 Message-ID: <0CD85DCE-E303-4DA6-ABFB-19735C4B1A3F@wehostmacs.com> Seems there is a new Rev for download - available through the Update option in the IDE or from the website. Spamming the changes here so you can determine if the fixes warrant a download and change to your work-flow (personally I dislike having to download and install just to see what is new/fixed) Bugs fixed in 3.5.0-gm-2 ~~~~~~~~~~~~~~~~~~~~~~~~ Bug 6914 : Dictionary entry for split command formatting issues ~~~~~~~~~ Fixed Bug 7440 : Dictionary entry for mouse function missing information ~~~~~~~~~ Fixed Bug 7740 : Problems uploading to revOnline when a substack was foremost ~~~~~~~~~ Fixed Bug 7909 : Problem with user comments formatting in dictionary ~~~~~~~~~ Fixed Bug 7916 : Dictionary entry for controlKeyDown message has incorrect parameter name ~~~~~~~~~ Fixed Bug 7920 : No menu "Help" in Script Editor on OS X ~~~~~~~~~ Fixed Bug 7925 : Less than symbol not rendered in entry for buildNumber ~~~~~~~~~ Fixed Bug 7932 : Data Grid execution error in Property Inspector ~~~~~~~~~ Fixed Bug 7952 : Private function docTagTypes error at end of script ~~~~~~~~~ Fixed Bug 7953 : RevOnline Login failing for some users ~~~~~~~~~ Fixed Bug 7959 : Unable to clear "Hilited Text" of data grid ~~~~~~~~~ Fixed Bug 7965 : RevOnline should order tags by popularity ~~~~~~~~~ Fixed Bug 7976 : Misspelling in dictionary entry for behavior property ~~~~~~~~~ Fixed Bug 8001 : script editor - confirmation dialog does not trap CMD W ~~~~~~~~~ Fixed Bug 8016 : Script editor auto indent fails on switch with default but no case ~~~~~~~~~ Fixed Bug 8018 : Dictionary throws revOnline server error on "value" entry ~~~~~~~~~ Fixed From kray at sonsothunder.com Wed May 6 17:57:40 2009 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 06 May 2009 16:57:40 -0500 Subject: App on Linux - really slow... any ideas why? In-Reply-To: Message-ID: > As you'll note from this bug report it was fixed for 3.5. We fixed a lot of > other issues on Linux for that release too, including a couple of slow > downs, crashes and memory leaks that occurred under certain window managers. > Linux has a small market share, is a rapidly moving target and is a large > and amorphous number of versions. Nonetheless we are committed to supporting > it and if these issues with Ken's app truly do persist in 3.5 then we will > take a look at them and sort them out for a future version. The bug that was reported and was fixed was related to icons flashing multiple times in the Rev IDE Oh, they certainly *do* persist in 3.5 (under Ubuntu, that is); that was the version I was using when I discovered the major slowdown and wrote to the list. I've contacted you off-list about this. I'll test this in a couple of other Linux distros and window managers, but as Ubuntu (and its variants) get a lot of press, even if it worked better in other distros it would be great not to have to tell customers "this works great in ____, but don't use it in Ubuntu". :-) I'll report back what I find... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From DunbarX at aol.com Wed May 6 18:29:50 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 6 May 2009 18:29:50 EDT Subject: Rev 3.5.0-gm-2 Message-ID: Of all the bugs they might have fixed, they neglect the ability to uncomment via keyboard shortcut. I am depressed. Craig Newman ************** Remember Mom this Mother's Day! Find a florist near you now. (http://yellowpages.aol.com/search?query=florist& ncid=emlcntusyelp00000006) From shaosean at wehostmacs.com Wed May 6 18:43:13 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Wed, 6 May 2009 18:43:13 -0400 Subject: Rev 3.5.0-gm-2 Message-ID: <5D4CC7C9-8BBE-4A12-800D-30AA18A2B3B0@wehostmacs.com> Quit Rev Delete your preference file Restart Rev See if that works for you.. I used to have the same issue but seems to be working correctly now. From devin_asay at byu.edu Wed May 6 19:09:20 2009 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 6 May 2009 17:09:20 -0600 Subject: Rev 3.5.0-gm-2 In-Reply-To: <5D4CC7C9-8BBE-4A12-800D-30AA18A2B3B0@wehostmacs.com> References: <5D4CC7C9-8BBE-4A12-800D-30AA18A2B3B0@wehostmacs.com> Message-ID: <3E477E24-3B07-476B-829F-E056B2804D52@byu.edu> On May 6, 2009, at 4:43 PM, Shao Sean wrote: > Quit Rev > Delete your preference file > Restart Rev > See if that works for you.. I used to have the same issue but seems > to be working correctly now. It only works if you have not changed the default comment character to # from --. If your default comment character is # the uncomment shortcut doesn't work regardless of whether you reset your preference file. At least this has been my experience. I would love to hear about it if if works for others. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From lists at mangomultimedia.com Wed May 6 19:16:46 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 6 May 2009 19:16:46 -0400 Subject: Rev 3.5.0-gm-2 In-Reply-To: <0CD85DCE-E303-4DA6-ABFB-19735C4B1A3F@wehostmacs.com> References: <0CD85DCE-E303-4DA6-ABFB-19735C4B1A3F@wehostmacs.com> Message-ID: On May 6, 2009, at 5:42 PM, Shao Sean wrote: > Seems there is a new Rev for download - available through the Update > option in the IDE or from the website. Spamming the changes here so > you can determine if the fixes warrant a download and change to your > work-flow (personally I dislike having to download and install just > to see what is new/fixed) Shao, Don't forget about the engine change log as well. Some significant crashes were fixed, one that you could expose if you had a data grid with a button that had it's icon set and was placed on two cards in a stack. There are also fixes to the data grid. Bugs fixed in 3.5.0-gm-2 ~~~~~~~~~~~~~~~~~~~~~~~~ Bug 7943: Undo in a field can cause crash / data corruption after using arrow keys ~~~~~~~~ Fixed. Bug 7946: Exporting snapshot from field swaps color channels ~~~~~~~~ Fixed. Bug 7517: Crash on quit after deletion of button with icon in group placed on multiple cards inside preOpenCard handler, leads to OS X log out. ~~~~~~~~ Fixed. Bug 8011: Crash while using the convert command to obtain a system date on a system with English locale but Polish date format. ~~~~~~~~ Fixed. Data Grid Changes in gm-2: 1.0.0.5 * When closing the field editor (i.e. you were editing a cell value) focus was not returning to the data grid properly. * 'alternate row color' was not drawing with the user defined color. * Default hilited text color and scrollbar width for data grid on Windows is now fetched from the windows registry. * Revolution crashes when generating data grid alternating rows if paintcompression = JPEG. Data grid now sets paintcompression to PNG before drawing alternating rows. * Alternating line colors are now initialized when control is first opened in order to work around issue introduced by standalone builder in some circumstances. * Tabbing through table cells was not working properly. * When clicking on a data grid and it doesn't have focus it is now focused even if auto hilite is false. * Delete key no longer does anything if no selection. * All uses of 'the focusedobject' changed to 'the long id of the focusedObject'. The engine sometimes returns empty for the former when the later returns a valid value. I think it might be related to focus messages and stack resuming/suspending. In any case, it leads to unexpected behavior. * When data grid controls are moved on screen messages are unlocked. This allow message like mouseEnter to be triggered properly. * Changed SortDataByKey so that previous sort is maintained when performing new sort (stable). * When an editable field is open rawKeyDown messages are passed as appropriate. * SetDataOfIndex now updates persistent data storage. * put the dgText[true] of group "DataGrid" now returns the column names/keys in the first line of returned text. Regards, -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.com From martyknapp at comcast.net Wed May 6 21:25:18 2009 From: martyknapp at comcast.net (Marty Knapp) Date: Wed, 06 May 2009 18:25:18 -0700 Subject: Stack updater Message-ID: <4A02387E.5030501@comcast.net> I'm putting together an updater stack whose purpose will be to take two stack of identical structure and update the button and field scripts from the "source" stack and copy them them to the "destination" stack. What I'm doing now is to open both the source and destination stack and going back and forth, updating the script of the buttons and fields one at a time. Then saving and closing when it's done. But if I have a set of stacks that have substacks (which I may or may not want to update) I know that Rev doesn't like to have two stacks with the same name open at the same time, should I, for example, get the script of button 1 of stack 1, close it, go to stack 2 and update the script of button 1, save and close, etc until everything is updated, or is there a better suggestion? Thanks for any help, Marty Knapp From pepetoo at cox.net Wed May 6 21:43:45 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Wed, 6 May 2009 18:43:45 -0700 Subject: Stack updater In-Reply-To: <4A02387E.5030501@comcast.net> References: <4A02387E.5030501@comcast.net> Message-ID: Marty, A brute force method would be to open stack 1; load all of the data you wish transferred to the other stack into vars; close stack 1; open stack 2 and load all the vars into the objects in stack 2. If they are numbered sequentially, this should be very easy. Otherwise, perhaps a bit tedious. HTH, Joe Wilkins On May 6, 2009, at 6:25 PM, Marty Knapp wrote: > I'm putting together an updater stack whose purpose will be to take > two stack of identical structure and update the button and field > scripts from the "source" stack and copy them them to the > "destination" stack. What I'm doing now is to open both the source > and destination stack and going back and forth, updating the script > of the buttons and fields one at a time. Then saving and closing > when it's done. But if I have a set of stacks that have substacks > (which I may or may not want to update) I know that Rev doesn't like > to have two stacks with the same name open at the same time, should > I, for example, get the script of button 1 of stack 1, close it, go > to stack 2 and update the script of button 1, save and close, etc > until everything is updated, or is there a better suggestion? > > Thanks for any help, > Marty Knapp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From DunbarX at aol.com Wed May 6 22:19:37 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 6 May 2009 22:19:37 EDT Subject: property inspector poll Message-ID: Josh. I uploaded my gadget to revOnLine. It is called "Wizard", kluged together over 20 years. It does some things better, mainly on flds and btns, than the property inspector. It is far more useful in HC than here in Revolution, which has awfully, awfully cool tools that HC could only dream of. Craig Newman In a message dated 5/1/09 5:57:17 PM, josh at dvcreators.net writes: > Thanks Craig, does it work with all objects, or just fields and buttons? > > Are you all working with the stock property inspector where you have? > to access a menu to get to all the different property groups??!? Hard? > to believe! > ************** Remember Mom this Mother's Day! Find a florist near you now. (http://yellowpages.aol.com/search?query=florist&ncid=emlcntusyelp00000006) From jim at visitrieve.com Wed May 6 22:53:54 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Wed, 6 May 2009 16:53:54 -1000 Subject: Stack updater In-Reply-To: <4A02387E.5030501@comcast.net> References: <4A02387E.5030501@comcast.net> Message-ID: <005301c9cebf$0ff8f8a0$2feae9e0$@com> Hi Marty, Please take a look at Changed Code Picker, fourth one down on: http://www.sosmartsoftware.com/?r=revolution&l=en It's free and it opens and compares all scripts of two identical stacks and lets you move selected code of a reference stack to your newer stack. If you want to move all code of one stack to another, just clone the stack. 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 Marty Knapp > Sent: Wednesday, May 06, 2009 3:25 PM > To: How to use Revolution > Subject: Stack updater > > I'm putting together an updater stack whose purpose will be to take two > stack of identical structure and update the button and field scripts > from the "source" stack and copy them them to the "destination" stack. > What I'm doing now is to open both the source and destination stack and > going back and forth, updating the script of the buttons and fields one > at a time. Then saving and closing when it's done. But if I have a set > of stacks that have substacks (which I may or may not want to update) I > know that Rev doesn't like to have two stacks with the same name open > at > the same time, should I, for example, get the script of button 1 of > stack 1, close it, go to stack 2 and update the script of button 1, > save > and close, etc until everything is updated, or is there a better > suggestion? > > Thanks for any help, > Marty Knapp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From martyknapp at comcast.net Wed May 6 23:05:16 2009 From: martyknapp at comcast.net (Marty Knapp) Date: Wed, 06 May 2009 20:05:16 -0700 Subject: Stack updater In-Reply-To: <005301c9cebf$0ff8f8a0$2feae9e0$@com> References: <4A02387E.5030501@comcast.net> <005301c9cebf$0ff8f8a0$2feae9e0$@com> Message-ID: <4A024FEC.9060507@comcast.net> Thanks Jim, I downloaded the stack, but get this error on openstack: stack "Changed Code Picker": execution error at line 140 (Chunk: no such object) near "script", char 34 Marty Knapp > Hi Marty, > > Please take a look at Changed Code Picker, fourth one down on: > > http://www.sosmartsoftware.com/?r=revolution&l=en > > It's free and it opens and compares all scripts of two identical stacks and > lets you move selected code of a reference stack to your newer stack. If you > want to move all code of one stack to another, just clone the stack. > > 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 Marty Knapp >> Sent: Wednesday, May 06, 2009 3:25 PM >> To: How to use Revolution >> Subject: Stack updater >> >> I'm putting together an updater stack whose purpose will be to take two >> stack of identical structure and update the button and field scripts >> from the "source" stack and copy them them to the "destination" stack. >> What I'm doing now is to open both the source and destination stack and >> going back and forth, updating the script of the buttons and fields one >> at a time. Then saving and closing when it's done. But if I have a set >> of stacks that have substacks (which I may or may not want to update) I >> know that Rev doesn't like to have two stacks with the same name open >> at >> the same time, should I, for example, get the script of button 1 of >> stack 1, close it, go to stack 2 and update the script of button 1, >> save >> and close, etc until everything is updated, or is there a better >> suggestion? >> >> Thanks for any help, >> Marty Knapp >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 johnpatten at mac.com Wed May 6 23:43:56 2009 From: johnpatten at mac.com (John Patten) Date: Wed, 06 May 2009 20:43:56 -0700 Subject: Repeat Process To Check Contents of File on HTTP Server? Message-ID: <84ADD902-1362-46E7-8FFA-6F83702840C9@mac.com> Hi All! I'm making a little web browser client that needs to check the contents of a file on a web server. It needs to be able to do this every 5 seconds or so in the background, and then if the contents changes in the last line of the file it is checking, it starts another process in the background. Can this be done in Rev? Would I use two stacks, one as the browser and one with the repeat loop? I'm at a loss for what this might look like in a script? Thanks in Advance! John Patten From jim at visitrieve.com Thu May 7 00:49:33 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Wed, 6 May 2009 18:49:33 -1000 Subject: Stack updater In-Reply-To: <4A024FEC.9060507@comcast.net> References: <4A02387E.5030501@comcast.net> <005301c9cebf$0ff8f8a0$2feae9e0$@com> <4A024FEC.9060507@comcast.net> Message-ID: <006501c9cecf$3cd00e30$b6702a90$@com> Hi Marty, > I downloaded the stack, but get this error on openstack: > > stack "Changed Code Picker": execution error at line 140 (Chunk: no > such > object) near "script", char 34 What version of Rev are you running and on which platform? Aloha from Hawaii Jim Bufalini From martyknapp at comcast.net Thu May 7 00:52:56 2009 From: martyknapp at comcast.net (Marty Knapp) Date: Wed, 06 May 2009 21:52:56 -0700 Subject: Stack updater In-Reply-To: <006501c9cecf$3cd00e30$b6702a90$@com> References: <4A02387E.5030501@comcast.net> <005301c9cebf$0ff8f8a0$2feae9e0$@com> <4A024FEC.9060507@comcast.net> <006501c9cecf$3cd00e30$b6702a90$@com> Message-ID: <4A026928.50409@comcast.net> I have Rev 3.5.0 build 870 running on Mac OS 10.5.6 Thanks Jim, Marty > Hi Marty, > > >> I downloaded the stack, but get this error on openstack: >> >> stack "Changed Code Picker": execution error at line 140 (Chunk: no >> such >> object) near "script", char 34 >> > > What version of Rev are you running and on which platform? > > Aloha from Hawaii > > Jim Bufalini From jim at visitrieve.com Thu May 7 01:04:48 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Wed, 6 May 2009 19:04:48 -1000 Subject: Stack updater In-Reply-To: <4A026928.50409@comcast.net> References: <4A02387E.5030501@comcast.net> <005301c9cebf$0ff8f8a0$2feae9e0$@com> <4A024FEC.9060507@comcast.net> <006501c9cecf$3cd00e30$b6702a90$@com> <4A026928.50409@comcast.net> Message-ID: <006601c9ced1$58e948a0$0abbd9e0$@com> Hi Marty, :-( It's been tested from 2.8.1 to 3.0 on Mac and I've run it on 3.5 on PC and many others have used this stack and never reported this error. Would you be so kind as to back up to Rev 3.0 and tell me if you get the same error? Also, please try downloading again. Otherwise, I'll dig into the code. Other question. Do you have any protected stacks in the projects you are comparing? If so, they need to be unprotected first. 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 Marty Knapp > Sent: Wednesday, May 06, 2009 6:53 PM > To: How to use Revolution > Subject: Re: Stack updater > > I have Rev 3.5.0 build 870 running on Mac OS 10.5.6 > > Thanks Jim, > > Marty > > Hi Marty, > > > > > >> I downloaded the stack, but get this error on openstack: > >> > >> stack "Changed Code Picker": execution error at line 140 (Chunk: no > >> such > >> object) near "script", char 34 > >> > > > > What version of Rev are you running and on which platform? > > > > 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 revdev at pdslabs.net Thu May 7 02:31:52 2009 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 06 May 2009 23:31:52 -0700 Subject: Repeat Process To Check Contents of File on HTTP Server? In-Reply-To: <84ADD902-1362-46E7-8FFA-6F83702840C9@mac.com> References: <84ADD902-1362-46E7-8FFA-6F83702840C9@mac.com> Message-ID: <4A028058.9010800@pdslabs.net> John Patten wrote: > Hi All! > > I'm making a little web browser client that needs to check the > contents of a file on a web server. It needs to be able to do this > every 5 seconds or so in the background, and then if the contents > changes in the last line of the file it is checking, it starts another > process in the background. Can this be done in Rev? Would I use two > stacks, one as the browser and one with the repeat loop? > > I'm at a loss for what this might look like in a script? Hi John, Are you familiar with the "send" command? If not, I think you're about to be... ;o) -- prep: since you're looking for a change in data values, -- you need to store its initial value so you have something -- to compare to global gOriginalData -- and the data check has to be put into motion: on openCard -- store initial value put url "http://my.website.com/targetfile.txt" into gOriginalData -- put the data check into motion send "checkWebFile" to me in 5 secs end openCard -- the data check on checkWebFile -- get fresh copy of the data put url "http://my.website.com/targetfile.txt" into tCurrData if (last line of tCurrData <> last line of gOriginalData) then send ("startOtherProcess" && tCurrData) to me in 1 sec else -- data hasn't changed, so schedule another check send "checkWebFile" to me in 5 secs end if end checkWebFile -- the other background process on startOtherProcess pChangedData -- do your other stuff here end startOtherProcess The "send... in" construct 'disconnects' the calling and called handlers from each other, so the calling one can finish executing before the called one starts. And by saying "in 5 secs", you insert idle time when the UI can be refreshed & interacted with. It keeps the user from being locked out of the UI due to continuous running of code you might have if you tried using a repeat loop for data checks. Hopefully this will get you started. > > Thanks in Advance! > > > John Patten -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From kray at sonsothunder.com Thu May 7 02:35:32 2009 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 07 May 2009 01:35:32 -0500 Subject: App on Linux - really slow... any ideas why? In-Reply-To: <23407237.post@talk.nabble.com> Message-ID: > ok, it should be very easy to test this. Boot Puppy and pick the VESA > option. Won't that tell you at least if its down to Xorg? I DL'ed puppy, but I can't get Rev to run in it - it looks like it's launching but never does; what do I need to do? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From viktoras at ekoinf.net Thu May 7 03:37:05 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Thu, 07 May 2009 10:37:05 +0300 Subject: App on Linux - really slow... any ideas why? In-Reply-To: References: Message-ID: <4A028FA1.80000@ekoinf.net> Hi, Ken, same here.. When I did tests of my app on Puppy, it launches the splashscreen window and then crashes. Similarly on Slax, it starts and then crashes when the dropdown menu is being called. Both these Linuxes are based on slackware. However the recent Ubuntu liveCD also prompts to choose Xorg or Vesa option, so you may wish to test it there too. Viktoras Ken Ray wrote: >> ok, it should be very easy to test this. Boot Puppy and pick the VESA >> option. Won't that tell you at least if its down to Xorg? >> > > I DL'ed puppy, but I can't get Rev to run in it - it looks like it's > launching but never does; what do I need to do? > > 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 sarah.reichelt at gmail.com Thu May 7 03:52:23 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 7 May 2009 17:52:23 +1000 Subject: On-Rev links Message-ID: Hi All, I am collecting a page of links to On-Rev sites, so we can all see what other people are doing and get ideas. I have listed any pages I could find that have been announced here or on the on-rev forum. Here is a link to the page: If you would like to add your page to the list, please go to the links page and fill in the form. If you want your page removed or editing, just let me know. Cheers, Sarah From luis at anachreon.co.uk Thu May 7 05:18:08 2009 From: luis at anachreon.co.uk (Luis) Date: Thu, 7 May 2009 10:18:08 +0100 Subject: App on Linux - really slow... any ideas why? In-Reply-To: References: Message-ID: Hiya, Could be a CPU architecture problem? Any info in the logs? Cheers, Luis. On 7 May 2009, at 07:35, Ken Ray wrote: >> ok, it should be very easy to test this. Boot Puppy and pick the >> VESA >> option. Won't that tell you at least if its down to Xorg? > > I DL'ed puppy, but I can't get Rev to run in it - it looks like it's > launching but never does; what do I need to do? > > 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 klaus at major.on-rev.com Thu May 7 08:45:59 2009 From: klaus at major.on-rev.com (klaus at major.on-rev.com) Date: Thu, 7 May 2009 14:45:59 +0200 Subject: DataGrid: setting dgProps["column widths"] Message-ID: <6FBCE52A-38A5-4C03-B159-D553AE210E53@major.on-rev.com> Hi Trevor, using 3.5 gm 2: From the docs: ... column widths - Allows you to set all column widths at once. Line delimited list of integers. ... A couple of qustions: 1. I checked the 10,000,000 lines of script of btn "DataGrid" in your library :-) and it looks like this should be a COMMA separated list, right? Just like: .. put the dgProps["column widths"] of grp "DataGrid" .. -> 120,100,110,50 = COMMA separated list, should be consistent I think. 2. ... set the dgProps["column widths"] of grp "DataGrid" to "100,100,100,100" ## Given there are 4 columns in the datagrid ... But that does not work, the columns do not resize. 3. ... set the dgProps["column widths"] of grp "DataGrid" to ("100" & CR & "100" & CR & "100" & CR & "100") ## Given there are 4 columns in the datagrid ... Doesn't work either, but if my assumption 1 is correct, it should at least give an error?! 4. What will (should) happen if we supply too few/many items in the list like: ... set the dgProps["column widths"] of grp "DataGrid" to "100,100" ## Given there are more or less than 2 columns in the datagrid ... Best Klaus -- Klaus Major http://www.major.on-rev.com klaus at major.on-rev.com From lists at mangomultimedia.com Thu May 7 09:15:00 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 7 May 2009 09:15:00 -0400 Subject: DataGrid: setting dgProps["column widths"] In-Reply-To: <6FBCE52A-38A5-4C03-B159-D553AE210E53@major.on-rev.com> References: <6FBCE52A-38A5-4C03-B159-D553AE210E53@major.on-rev.com> Message-ID: <223CA50C-451C-4D19-990E-EE34A89E06A2@mangomultimedia.com> On May 7, 2009, at 8:45 AM, klaus at major.on-rev.com wrote: > From the docs: > ... > column widths > - Allows you to set all column widths at once. Line delimited list > of integers. > ... > > A couple of qustions: > > 1. > I checked the 10,000,000 lines of script of btn "DataGrid" in your > library :-) > and it looks like this should be a COMMA separated list, right? > Just like: > .. > put the dgProps["column widths"] of grp "DataGrid" > .. > -> 120,100,110,50 = COMMA separated list, should be consistent I > think. Yes, it should be a comma delimited list of integers. The issue is with the repeat loop in the dgProp setprop for "column widths". Currently it says: repeat for each item theColumn in the dgProps["columns"] of me It should read as follows since columns are line delimited: repeat for each line theColumn in the dgProps["columns"] of me If you make the change it should start working. > 4. > What will (should) happen if we supply too few/many items in the > list like: > ... > set the dgProps["column widths"] of grp "DataGrid" to "100,100" > ## Given there are more or less than 2 columns in the datagrid > ... The code loops through the actual columns and assigns the item in the list you provide to the width of that column. If you supply to few integers then an error will occur. If you supply too many then the extras will be ignored. Regards, -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.com From bvg at mac.com Thu May 7 09:34:20 2009 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 07 May 2009 15:34:20 +0200 Subject: Repeat Process To Check Contents of File on HTTP Server? In-Reply-To: <84ADD902-1362-46E7-8FFA-6F83702840C9@mac.com> References: <84ADD902-1362-46E7-8FFA-6F83702840C9@mac.com> Message-ID: I suggest to use the "put" command with the "url" keyword, using a "send in time" structure: on mouseUp checkWebsite "" end mouseUp on checkWebsite thePrev put line -1 of url "http://yoursite.com/yourfile" into theCurrent if thePrev <> theCurrent then --do your stuff here, it changed! end if send checkWebsite theCurrent to me in 4.5 seconds --slightly less then 5 seconds, assuming the download of the whole file takes ca. 0.5 seconds end checkWebsite Be aware that clicking the button twice would have your code execute twice every 4.5 seconds, so maybe you should check the pendingMessages somehwere. The docu on that property also shows on how to stop the repeating. On 7 May 2009, at 05:43, John Patten wrote: > Hi All! > > I'm making a little web browser client that needs to check the > contents of a file on a web server. It needs to be able to do this > every 5 seconds or so in the background, and then if the contents > changes in the last line of the file it is checking, it starts > another process in the background. Can this be done in Rev? Would I > use two stacks, one as the browser and one with the repeat loop? > > I'm at a loss for what this might look like in a script? > > Thanks in Advance! > > > 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 -- official ChatRev page: http://bjoernke.com/runrev/chatrev.php Chat with other RunRev developers: go stack URL "http://bjoernke.com/stacks/chatrev/chatrev1.3b3.rev" From klaus at major.on-rev.com Thu May 7 09:36:05 2009 From: klaus at major.on-rev.com (klaus at major.on-rev.com) Date: Thu, 7 May 2009 15:36:05 +0200 Subject: DataGrid: setting dgProps["column widths"] In-Reply-To: <223CA50C-451C-4D19-990E-EE34A89E06A2@mangomultimedia.com> References: <6FBCE52A-38A5-4C03-B159-D553AE210E53@major.on-rev.com> <223CA50C-451C-4D19-990E-EE34A89E06A2@mangomultimedia.com> Message-ID: <51978C92-00B9-4D47-8D97-43E742F5F550@major.on-rev.com> Hi Trevor, > On May 7, 2009, at 8:45 AM, klaus at major.on-rev.com wrote: >> From the docs: >> ... >> column widths >> - Allows you to set all column widths at once. Line delimited list >> of integers. >> ... >> A couple of qustions: >> 1. >> I checked the 10,000,000 lines of script of btn "DataGrid" in your >> library :-) >> and it looks like this should be a COMMA separated list, right? >> Just like: >> .. >> put the dgProps["column widths"] of grp "DataGrid" >> .. >> -> 120,100,110,50 = COMMA separated list, should be consistent I >> think. > > Yes, it should be a comma delimited list of integers. > The issue is with the repeat loop in the dgProp setprop for "column > widths". Currently it says: > repeat for each item theColumn in the dgProps["columns"] of me > It should read as follows since columns are line delimited: > repeat for each line theColumn in the dgProps["columns"] of me > If you make the change it should start working. Great, will do, thanks! 2 minutes later: Done and works, way cooool :-) >> 4. >> What will (should) happen if we supply too few/many items in the >> list like: >> ... >> set the dgProps["column widths"] of grp "DataGrid" to "100,100" >> ## Given there are more or less than 2 columns in the datagrid >> ... > > The code loops through the actual columns and assigns the item in > the list you provide to the width of that column. If you supply to > few integers then an error will occur. If you supply too many then > the extras will be ignored. OK, but maybe you could implement the same behavior as in the "tabstops" in Rev? This way the last "column witdh" would be "repeated" if we supply to few items? Know what I mean? That would be very nice :-) > Regards, > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Developer Resources: http://revolution.bluemangolearning.com Best Klaus -- Klaus Major http://www.major.on-rev.com klaus at major.on-rev.com From martyknapp at comcast.net Thu May 7 12:28:17 2009 From: martyknapp at comcast.net (Marty Knapp) Date: Thu, 07 May 2009 09:28:17 -0700 Subject: Stack updater In-Reply-To: <006601c9ced1$58e948a0$0abbd9e0$@com> References: <4A02387E.5030501@comcast.net> <005301c9cebf$0ff8f8a0$2feae9e0$@com> <4A024FEC.9060507@comcast.net> <006501c9cecf$3cd00e30$b6702a90$@com> <4A026928.50409@comcast.net> <006601c9ced1$58e948a0$0abbd9e0$@com> Message-ID: <4A030C21.40907@comcast.net> I tried it with Rev 3 with the same error. It happens when I first open the stack, before I try to use it, so protected stacks aren't an issue. I tried opening it directly and as a plugin (didn't know if that would make a difference) - same result. Thanks Jim, Marty > Hi Marty, > > :-( It's been tested from 2.8.1 to 3.0 on Mac and I've run it on 3.5 on PC > and many others have used this stack and never reported this error. Would > you be so kind as to back up to Rev 3.0 and tell me if you get the same > error? Also, please try downloading again. Otherwise, I'll dig into the > code. > > Other question. Do you have any protected stacks in the projects you are > comparing? If so, they need to be unprotected first. > > 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 Marty Knapp >> Sent: Wednesday, May 06, 2009 6:53 PM >> To: How to use Revolution >> Subject: Re: Stack updater >> >> I have Rev 3.5.0 build 870 running on Mac OS 10.5.6 >> >> Thanks Jim, >> >> Marty >> >>> Hi Marty, >>> >>> >>> >>>> I downloaded the stack, but get this error on openstack: >>>> >>>> stack "Changed Code Picker": execution error at line 140 (Chunk: no >>>> such >>>> object) near "script", char 34 >>>> >>>> >>> What version of Rev are you running and on which platform? >>> >>> Aloha from Hawaii >>> >>> Jim Bufalini From RevList at CreaTECHSol.com Thu May 7 12:44:33 2009 From: RevList at CreaTECHSol.com (RevList) Date: Thu, 07 May 2009 09:44:33 -0700 Subject: DataGrid question simple? Message-ID: I have just started a project that is going to use data grids. I am using a Table and not a Form This should be a simple answer, but I am struggling. I have a Data Grid table and I can load the data in just fine. The table has three columns name as follows "Field Name", "Field Type" and "Field ID" The table group name is "Schema" I have set the Allow Text Editing to off so that when I click on one of the rows, it hilites, but does not allow editing. What I want to do, is to display the data from the selected (hilited) line's three columns in three separate text fields ("tFieldName", "tFieldType" and "tFieldID") I have read the documentation about getting data associated with a line so I am assuming that the code might look like this put the dgHilitedLines of group "Schema" into theLine put the dgDataOfLine[theLine] of group "Schema" into theDataA Now my question is this. Where does this above code go and what is the handler? Once I have the data into theDataA, then I can do Put DataA to see what it looks like and then parse it so that it will go into my fields. Sorry if this has been answered before, and I know that this is basic, but it is not clear to me where this code goes. Stewart -------------------------------------------------------------------------------------------------------------------- This message and any attachments are intended only for the use of the individual to whom they are addressed and it may contain information that is privileged or confidential. If you have received this communication by mistake, please notify us immediately. -------------------------------------------------------------------------------------------------------------------- From stephenREVOLUTION2 at barncard.com Thu May 7 13:01:30 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 7 May 2009 10:01:30 -0700 Subject: Stack updater In-Reply-To: <4A030C21.40907@comcast.net> References: <4A02387E.5030501@comcast.net> <005301c9cebf$0ff8f8a0$2feae9e0$@com> <4A024FEC.9060507@comcast.net> <006501c9cecf$3cd00e30$b6702a90$@com> <4A026928.50409@comcast.net> <006601c9ced1$58e948a0$0abbd9e0$@com> <4A030C21.40907@comcast.net> Message-ID: I just tried CCP with a G5, Leopard 10 5 6, rev 3.5 rc-2, GLX2 used as a plugin ... seemed to work fine for me. More than just fine.... wonderful... works great. Bravo to the late Eric; the guy could really code responsibly and creatively. The two stacks were identical and it reported that fact. I will try on my intel. ------------------------- Stephen Barncard San Francisco http://barncard.com 2009/5/7 Marty Knapp > I tried it with Rev 3 with the same error. It happens when I first open the > stack, before I try to use it, so protected stacks aren't an issue. I tried > opening it directly and as a plugin (didn't know if that would make a > difference) - same result. > > > Thanks Jim, > > Marty > >> Hi Marty, >> >> :-( It's been tested from 2.8.1 to 3.0 on Mac and I've run it on 3.5 on PC >> and many others have used this stack and never reported this error. Would >> you be so kind as to back up to Rev 3.0 and tell me if you get the same >> error? Also, please try downloading again. Otherwise, I'll dig into the >> code. >> Other question. Do you have any protected stacks in the projects you are >> comparing? If so, they need to be unprotected first. >> >> 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 Marty Knapp >>> Sent: Wednesday, May 06, 2009 6:53 PM >>> To: How to use Revolution >>> Subject: Re: Stack updater >>> >>> I have Rev 3.5.0 build 870 running on Mac OS 10.5.6 >>> >>> Thanks Jim, >>> >>> Marty >>> >>> >>>> Hi Marty, >>>> >>>> >>>> >>>> >>>>> I downloaded the stack, but get this error on openstack: >>>>> >>>>> stack "Changed Code Picker": execution error at line 140 (Chunk: no >>>>> such >>>>> object) near "script", char 34 >>>>> >>>>> >>>>> >>>> What version of Rev are you running and on which platform? >>>> >>>> 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 martyknapp at comcast.net Thu May 7 13:13:14 2009 From: martyknapp at comcast.net (Marty Knapp) Date: Thu, 07 May 2009 10:13:14 -0700 Subject: Stack updater In-Reply-To: References: <4A02387E.5030501@comcast.net> <005301c9cebf$0ff8f8a0$2feae9e0$@com> <4A024FEC.9060507@comcast.net> <006501c9cecf$3cd00e30$b6702a90$@com> <4A026928.50409@comcast.net> <006601c9ced1$58e948a0$0abbd9e0$@com> <4A030C21.40907@comcast.net> Message-ID: <4A0316AA.2090002@comcast.net> I'm on an Intel iMac if that could possibly make a difference. Eric was an amazing guy. Not only did he create great software, but his code was even beautiful to look at! Marty > I just tried CCP with a G5, Leopard 10 5 6, rev 3.5 rc-2, GLX2 used as a > plugin ... seemed to work fine for me. More than just fine.... wonderful... > works great. Bravo to the late Eric; the guy could really code responsibly > and creatively. > The two stacks were identical and it reported that fact. I will try on my > intel. > > ------------------------- > Stephen Barncard > San Francisco > http://barncard.com From kray at sonsothunder.com Thu May 7 13:18:09 2009 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 07 May 2009 12:18:09 -0500 Subject: App on Linux - really slow... any ideas why? In-Reply-To: Message-ID: > Could be a CPU architecture problem? Any info in the logs? Which logs are you talking about - where would I look? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From mcdomi at free.fr Thu May 7 13:21:30 2009 From: mcdomi at free.fr (Dom) Date: Thu, 7 May 2009 19:21:30 +0200 Subject: On-Rev links In-Reply-To: Message-ID: <1izd1fq.vk7fgglx1bd8M%mcdomi@free.fr> Sarah Reichelt wrote: > I am collecting a page of links to On-Rev sites, so we can all see > what other people are doing and get ideas. Thanks, Sarah! By the way, I took the plunge, and made a folly, to try a founder on-rev hosting ;-) I noted, though, that the mail hosting was less than satisfactory -- but I am not sure whether it's on-rev's fault, or Orange's fault! (I live in France, and Orange ex-France Telecom is my ISP) I suspect that Orange doesn't permit to use an "external" smtp, though I had somme success with Apple's MobileMe server... From kray at sonsothunder.com Thu May 7 13:23:58 2009 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 07 May 2009 12:23:58 -0500 Subject: App on Linux - really slow... any ideas why? In-Reply-To: Message-ID: OK, I was able to test under Mandriva Live One 2009 running KDE 4.04, and the performance was a little better, but still *very* slow. For example, in Stykz you can click on a "node" (or handle) to one of the segments of a stick figure to pivot it around the point on the other side of the segment. If I mouseDown on the node, and then drag upwards, Windows and OS X follow immediately. Under Ubuntu 8.04 it took a good 5 seconds before the line segment started moving; Mandriva took about 3 seconds. But that is still way too slow for any user to use, and other than the redrawing of the line, everything else was done in code with no additional display elements or anything else going on. I'm going to try and get a higher end machine to test on and see how much the hardward mitigates the problem, and I'll report back. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jim at visitrieve.com Thu May 7 14:00:40 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Thu, 7 May 2009 08:00:40 -1000 Subject: Stack updater In-Reply-To: <4A0316AA.2090002@comcast.net> References: <4A02387E.5030501@comcast.net> <005301c9cebf$0ff8f8a0$2feae9e0$@com> <4A024FEC.9060507@comcast.net> <006501c9cecf$3cd00e30$b6702a90$@com> <4A026928.50409@comcast.net> <006601c9ced1$58e948a0$0abbd9e0$@com> <4A030C21.40907@comcast.net> <4A0316AA.2090002@comcast.net> Message-ID: <001601c9cf3d$bc08d560$341a8020$@com> Hi Marty, Yes, Eric was an amazing man and a good friend. I miss him dearly. As to Changed Code Picker, I didn't understand. I thought the issue was on a compare. It shouldn't break on launch under any version of Rev > 2.8.1 and on any platform. I was thinking I hadn't tested it with 3.5 specific features such as the Data Grid and Behaviors and maybe this was the cause. But this can't be your issue. There is nothing protected in this program, so throw a breakpoint in and see if you can figure out what's conflicting on your machine. I can tell you it's not GLX2 because it is GLX2 compatible. Also, as to your original question of how to compare two stacks with the same name, you can see what Eric did, which was basically to open them one at a time and clone the two versions of the stacks to a new name in memory only using "#1" and "#2" and then compare the clones. This is why Changed Code Picker doesn't affect the actual disk versions of your stacks and is safe to use. It is also why it then allows the opening of the actual stack (a third copy of the same stack which is under its original name) for editing in your editor. You are welcome to study the code and use portions of it in your project or make a modified version of it for your own purposes. However, please don't just copy the program with a couple of changes and put it out as your own. ;-) I, in fact, had to modify it myself for use with ListMagic because ironically it can't handle original stacks with a #1 or #2 in their name and Eric's own ListMagic names the ListMagic libs in a project with just such a name (he was also very consistent, LOL). ;-) I am planning to update it when I get a chance to handle stacks with # in the name and to skip protected libs instead of stopping, if it finds one, and any changes that may be necessary for 3.5 specific features. 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 Marty Knapp > Sent: Thursday, May 07, 2009 7:13 AM > To: How to use Revolution > Subject: Re: Stack updater > > I'm on an Intel iMac if that could possibly make a difference. > > Eric was an amazing guy. Not only did he create great software, but his > code was even beautiful to look at! > > > Marty > > I just tried CCP with a G5, Leopard 10 5 6, rev 3.5 rc-2, GLX2 used > as a > > plugin ... seemed to work fine for me. More than just fine.... > wonderful... > > works great. Bravo to the late Eric; the guy could really code > responsibly > > and creatively. > > The two stacks were identical and it reported that fact. I will try > on my > > intel. > > > > ------------------------- > > Stephen Barncard > > San Francisco > > http://barncard.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 stephenREVOLUTION2 at barncard.com Thu May 7 14:01:41 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 7 May 2009 11:01:41 -0700 Subject: Stack updater In-Reply-To: <4A0316AA.2090002@comcast.net> References: <4A02387E.5030501@comcast.net> <005301c9cebf$0ff8f8a0$2feae9e0$@com> <4A024FEC.9060507@comcast.net> <006501c9cecf$3cd00e30$b6702a90$@com> <4A026928.50409@comcast.net> <006601c9ced1$58e948a0$0abbd9e0$@com> <4A030C21.40907@comcast.net> <4A0316AA.2090002@comcast.net> Message-ID: No, it doesn't make a difference. Works fine on my Macbook Pro, too. Must be something else. ------------------------- Stephen Barncard San Francisco http://barncard.com 2009/5/7 Marty Knapp > I'm on an Intel iMac if that could possibly make a difference. > > Eric was an amazing guy. Not only did he create great software, but his > code was even beautiful to look at! > > > From userevolution at dreamscapesoftware.com Thu May 7 14:22:11 2009 From: userevolution at dreamscapesoftware.com (Derek Bump - Dreamscape Software) Date: Thu, 07 May 2009 13:22:11 -0500 Subject: answer as sheet showing on wrong stack Message-ID: <4A0326D3.3050109@dreamscapesoftware.com> All of a sudden the "answer as sheet" is drawing the sheet on the wrong stack. Anyone have any idea on how to fix this? I tried setting the defaultStack and that didn't work. 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 shaosean at wehostmacs.com Thu May 7 14:26:12 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Thu, 7 May 2009 14:26:12 -0400 Subject: DataGrid question simple? Message-ID: <0364DAEE-80E0-4C54-939C-6782DE3DCD2A@wehostmacs.com> I included this type of code in the group script of the data grid object (group "Schema" in your case) on mouseUp local theLine local theDataA put the dgHilitedLines of group "Schema" into theLine put the dgDataOfLine[theLine] of group "Schema" into theDataA put theDataA["Field Name"] into field "tFieldName" put theDataA["Field Type"] into field "tFieldType" put theDataA["Field ID"] into field "tFieldID" end mouseUp From jim at visitrieve.com Thu May 7 14:28:03 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Thu, 7 May 2009 08:28:03 -1000 Subject: Stack updater In-Reply-To: References: <4A02387E.5030501@comcast.net> <005301c9cebf$0ff8f8a0$2feae9e0$@com> <4A024FEC.9060507@comcast.net> <006501c9cecf$3cd00e30$b6702a90$@com> <4A026928.50409@comcast.net> <006601c9ced1$58e948a0$0abbd9e0$@com> <4A030C21.40907@comcast.net> <4A0316AA.2090002@comcast.net> Message-ID: <001701c9cf41$8f381150$ada833f0$@com> Thanks for the testing, Stephen. :-) > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of stephen barncard > Sent: Thursday, May 07, 2009 8:02 AM > To: How to use Revolution > Subject: Re: Stack updater > > No, it doesn't make a difference. Works fine on my Macbook Pro, too. > Must be something else. > ------------------------- > Stephen Barncard > San Francisco > http://barncard.com > > > 2009/5/7 Marty Knapp > > > I'm on an Intel iMac if that could possibly make a difference. > > > > Eric was an amazing guy. Not only did he create great software, but > his > > code was even beautiful to look at! > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From martyknapp at comcast.net Thu May 7 14:28:57 2009 From: martyknapp at comcast.net (Marty Knapp) Date: Thu, 07 May 2009 11:28:57 -0700 Subject: Stack updater In-Reply-To: <001601c9cf3d$bc08d560$341a8020$@com> References: <4A02387E.5030501@comcast.net> <005301c9cebf$0ff8f8a0$2feae9e0$@com> <4A024FEC.9060507@comcast.net> <006501c9cecf$3cd00e30$b6702a90$@com> <4A026928.50409@comcast.net> <006601c9ced1$58e948a0$0abbd9e0$@com> <4A030C21.40907@comcast.net> <4A0316AA.2090002@comcast.net> <001601c9cf3d$bc08d560$341a8020$@com> Message-ID: <4A032869.5040003@comcast.net> Jim, Here's the offending line: "put the effective textfont of fld "script" of stack "revNewScriptEditor" into tFont" and the error it's throwing: stack "Changed Code Picker": execution error at line 140 (Chunk: no such object) near "script", char 34 I commented this line (and line 141- effecting the font size) and it seems to work fine. I'm just using the default script editor, not GLX. Marty From stephenREVOLUTION2 at barncard.com Thu May 7 14:38:57 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 7 May 2009 11:38:57 -0700 Subject: Stack updater In-Reply-To: <4A032869.5040003@comcast.net> References: <4A02387E.5030501@comcast.net> <4A024FEC.9060507@comcast.net> <006501c9cecf$3cd00e30$b6702a90$@com> <4A026928.50409@comcast.net> <006601c9ced1$58e948a0$0abbd9e0$@com> <4A030C21.40907@comcast.net> <4A0316AA.2090002@comcast.net> <001601c9cf3d$bc08d560$341a8020$@com> <4A032869.5040003@comcast.net> Message-ID: Yes and on my Macbook Pro, I notice that the font was a strange serif type, about 9 point... kinda small. The IDE says the text is "Using Owner's Font" but clearly this is not the default font and size of Rev. Hope this is a clue. ------------------------- Stephen Barncard San Francisco http://barncard.com 2009/5/7 Marty Knapp > Jim, > > Here's the offending line: > > "put the effective textfont of fld "script" of stack "revNewScriptEditor" > into tFont" > > and the error it's throwing: > > stack "Changed Code Picker": execution error at line 140 (Chunk: no such > object) near "script", char 34 > > I commented this line (and line 141- effecting the font size) and it seems > to work fine. I'm just using the default script editor, not GLX. > > > Marty > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Thu May 7 14:41:50 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Thu, 7 May 2009 08:41:50 -1000 Subject: WOW Scott Rossi! Message-ID: <001801c9cf43$7c43b3e0$74cb1ba0$@com> Hey Scott, GREAT article and demo stack in the latest revUP! Fantastic work, Scott. :-) Aloha from Hawaii, Jim Bufalini From stephenREVOLUTION2 at barncard.com Thu May 7 14:45:53 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 7 May 2009 11:45:53 -0700 Subject: answer as sheet showing on wrong stack In-Reply-To: <4A0326D3.3050109@dreamscapesoftware.com> References: <4A0326D3.3050109@dreamscapesoftware.com> Message-ID: try sheet stack [in parentStack] ------------------------- Stephen Barncard San Francisco http://barncard.com 2009/5/7 Derek Bump - Dreamscape Software < userevolution at dreamscapesoftware.com> > All of a sudden the "answer as sheet" is drawing the sheet on the wrong > stack. Anyone have any idea on how to fix this? > > I tried setting the defaultStack and that didn't work. > > > Derek Bump > Dreamscape Software > http://www.dreamscapesoftware.com > > ___________________________________________________________________ > Compress your photos quickly and easily with JPEGCompress 2.9! > http://www.dreamscapesoftware.com/products/jpegcompress/ > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 May 7 14:57:10 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 7 May 2009 11:57:10 -0700 Subject: answer as sheet showing on wrong stack In-Reply-To: <4A0326D3.3050109@dreamscapesoftware.com> References: <4A0326D3.3050109@dreamscapesoftware.com> Message-ID: sorry, I'm thinking of how I sheet my custom answer dialogs. Perhaps you could set the defaultstack first before calling answer... ------------------------- Stephen Barncard San Francisco http://barncard.com 2009/5/7 Derek Bump - Dreamscape Software < userevolution at dreamscapesoftware.com> > All of a sudden the "answer as sheet" is drawing the sheet on the wrong > stack. Anyone have any idea on how to fix this? > > I tried setting the defaultStack and that didn't work. > > > Derek Bump > Dreamscape Software > http://www.dreamscapesoftware.com > > ___________________________________________________________________ > Compress your photos quickly and easily with JPEGCompress 2.9! > http://www.dreamscapesoftware.com/products/jpegcompress/ > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 May 7 14:59:17 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 7 May 2009 11:59:17 -0700 Subject: answer as sheet showing on wrong stack In-Reply-To: References: <4A0326D3.3050109@dreamscapesoftware.com> Message-ID: I reread your first post. I didn't see that you'd already tried setting the defaultstack. Are you using the latest version of Rev (rc-2) ? ------------------------- Stephen Barncard San Francisco http://barncard.com From userevolution at dreamscapesoftware.com Thu May 7 15:03:51 2009 From: userevolution at dreamscapesoftware.com (Derek Bump - Dreamscape Software) Date: Thu, 07 May 2009 14:03:51 -0500 Subject: answer as sheet showing on wrong stack In-Reply-To: References: <4A0326D3.3050109@dreamscapesoftware.com> Message-ID: <4A033097.3000903@dreamscapesoftware.com> I tried the following tests (one at a time of course) and they all produced the same result... -- Test 1 answer "testing" with "OK" as sheet -- Test 2 set the defaultStack to "jcSetup" answer "testing" with "OK" as sheet -- Test 3 set the defaultStack to "jcSetup" answer "testing" with "OK" as sheet in parentStack I did try one other option... -- Test 4 topLevel "jcSetup" answer "testing" with "OK" as sheet Test #4 worked, but it caused the main stack's handler to begin running again, which is not what I want to happen. Any other ideas would be appreciated. I did run through all of my backups for the last 2 days, and it appears this issue has been around for a while, I just didn't notice it yet. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___________________________________________________________________ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ stephen barncard wrote: > try > > sheet stack [in parentStack] > > ------------------------- > Stephen Barncard > San Francisco > http://barncard.com From userevolution at dreamscapesoftware.com Thu May 7 15:05:52 2009 From: userevolution at dreamscapesoftware.com (Derek Bump - Dreamscape Software) Date: Thu, 07 May 2009 14:05:52 -0500 Subject: answer as sheet showing on wrong stack In-Reply-To: References: <4A0326D3.3050109@dreamscapesoftware.com> Message-ID: <4A033110.1060509@dreamscapesoftware.com> Stephen, The error occured, and then I remembered the update posted last night so I tried updating. Same thing on both versions. This is driving me crazy because I could have sworn that it worked this morning with no problems at all. I'm racking my brains trying to think of what code I changed that could cause this. This is frustrating, and so close to the target launch date to! Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___________________________________________________________________ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ stephen barncard wrote: > I reread your first post. I didn't see that you'd already tried setting the > defaultstack. Are you using the latest version of Rev (rc-2) ? > > ------------------------- > Stephen Barncard > San Francisco > http://barncard.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 francois.chaplais at mines-paristech.fr Thu May 7 15:09:48 2009 From: francois.chaplais at mines-paristech.fr (=?ISO-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Thu, 7 May 2009 21:09:48 +0200 Subject: On-Rev links In-Reply-To: <1izd1fq.vk7fgglx1bd8M%mcdomi@free.fr> References: <1izd1fq.vk7fgglx1bd8M%mcdomi@free.fr> Message-ID: <211F6FCE-E739-4F1C-8D50-321D91089986@mines-paristech.fr> Le 7 mai 09 ? 19:21, Dom a ?crit : > Sarah Reichelt wrote: > >> I am collecting a page of links to On-Rev sites, so we can all see >> what other people are doing and get ideas. > > Thanks, Sarah! > > By the way, I took the plunge, and made a folly, to try a founder on- > rev > hosting ;-) > > I noted, though, that the mail hosting was less than satisfactory > -- but I am not sure whether it's on-rev's fault, or Orange's fault! > (I live in France, and Orange ex-France Telecom is my ISP) > Then you should use smtp-msa.orange.fr with password identification enabled. HTH Fran?ois From stephenREVOLUTION2 at barncard.com Thu May 7 15:24:14 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 7 May 2009 12:24:14 -0700 Subject: answer as sheet showing on wrong stack In-Reply-To: <4A033110.1060509@dreamscapesoftware.com> References: <4A0326D3.3050109@dreamscapesoftware.com> <4A033110.1060509@dreamscapesoftware.com> Message-ID: yes and this has and still works with my just finished project, with stock answer and ask dialogs. Curious, I made two test stacks with ask and answer used in handlers in buttons. I also tried it with a substack. Everything worked as expected. Sheets aren't totally modal, one can navigate to another stack while the dialog sits there on the first stack, but then the dialog goes away if one clicks anywhere else, as expected. ------------------------- Stephen Barncard San Francisco http://barncard.com 2009/5/7 Derek Bump - Dreamscape Software < userevolution at dreamscapesoftware.com> > Stephen, > > The error occured, and then I remembered the update posted last night so > I tried updating. Same thing on both versions. > > This is driving me crazy because I could have sworn that it worked this > morning with no problems at all. I'm racking my brains trying to think > of what code I changed that could cause this. > > This is frustrating, and so close to the target launch date to! > > > Derek Bump > Dreamscape Software > http://www.dreamscapesoftware.com > > ___________________________________________________________________ > Compress your photos quickly and easily with JPEGCompress 2.9! > http://www.dreamscapesoftware.com/products/jpegcompress/ > > > stephen barncard wrote: > > I reread your first post. I didn't see that you'd already tried setting > the > > defaultstack. Are you using the latest version of Rev (rc-2) ? > > > > ------------------------- > > Stephen Barncard > > San Francisco > > http://barncard.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 scott at tactilemedia.com Thu May 7 15:28:32 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 07 May 2009 12:28:32 -0700 Subject: WOW Scott Rossi! In-Reply-To: <001801c9cf43$7c43b3e0$74cb1ba0$@com> Message-ID: Recently, Jim Bufalini wrote: > GREAT article and demo stack in the latest revUP! Fantastic work, Scott. :-) Thanks -- hope you found something of use in there. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From richmondmathewson at gmail.com Thu May 7 15:30:47 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 07 May 2009 22:30:47 +0300 Subject: answer as sheet showing on wrong stack In-Reply-To: <4A033110.1060509@dreamscapesoftware.com> References: <4A0326D3.3050109@dreamscapesoftware.com> <4A033110.1060509@dreamscapesoftware.com> Message-ID: <4A0336E7.9060201@gmail.com> At the risk of over-simplifying things, getting them wrong, and missing the point: I just ran up a stack "QUESTION.rev" (and its now on revOnline under 'Richmond'); it has 2 substacks; one is a 'normal' substack, and one is set up as an answer dialogue. The answer dialogue substack pops up as a sheet from whichever stack it is called. Probably wrong, but Please spare two minutes to give it a try. Derek Bump - Dreamscape Software wrote: > Stephen, > > The error occured, and then I remembered the update posted last night so > I tried updating. Same thing on both versions. > > This is driving me crazy because I could have sworn that it worked this > morning with no problems at all. I'm racking my brains trying to think > of what code I changed that could cause this. > > This is frustrating, and so close to the target launch date to! > > > Derek Bump > Dreamscape Software > http://www.dreamscapesoftware.com > > ___________________________________________________________________ > Compress your photos quickly and easily with JPEGCompress 2.9! > http://www.dreamscapesoftware.com/products/jpegcompress/ > > > stephen barncard wrote: > >> I reread your first post. I didn't see that you'd already tried setting the >> defaultstack. Are you using the latest version of Rev (rc-2) ? >> >> ------------------------- >> Stephen Barncard >> San Francisco >> http://barncard.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 jim at visitrieve.com Thu May 7 16:03:24 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Thu, 7 May 2009 10:03:24 -1000 Subject: Stack updater In-Reply-To: <4A032869.5040003@comcast.net> References: <4A02387E.5030501@comcast.net> <005301c9cebf$0ff8f8a0$2feae9e0$@com> <4A024FEC.9060507@comcast.net> <006501c9cecf$3cd00e30$b6702a90$@com> <4A026928.50409@comcast.net> <006601c9ced1$58e948a0$0abbd9e0$@com> <4A030C21.40907@comcast.net> <4A0316AA.2090002@comcast.net> <001601c9cf3d$bc08d560$341a8020$@com> <4A032869.5040003@comcast.net> Message-ID: <001f01c9cf4e$e1b31b20$a5195160$@com> Hi Marty, Ahh... OK, well that explains everything! ;-) revTemplateScriptEditor is a rev stack and only seems to exist in Rev 3.0. Prior there was a revTemplateScriptEditor. Neither exist in 3.5. The intention here is to set to the font that the user prefers for editing. So, this raised the question of why I and others are not getting the error and you are. ;-) Please click on the Preferences button on the bottom right of Changed Code Picker and under font, select Other and set your preferred font and size. When this is set, it skips over the lines of code that you commented out and uses your preference instead. As you can guess, I had my font and size set in Preferences. ;-) Also, Stephan was not seeing the issue because, if you use GLX2 (which he uses and I do too) it uses the GLX2 preference and again skips over the lines of code you commented out. ;-) If you don't have this preference set to Other and don't use GLX2, it attempts to use the rev editor preference and this stack name has changed over different versions. So just override all of this by implicitly setting the font and size. 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 Marty Knapp > Sent: Thursday, May 07, 2009 8:29 AM > To: How to use Revolution > Subject: Re: Stack updater > > Jim, > > Here's the offending line: > > "put the effective textfont of fld "script" of stack > "revNewScriptEditor" into tFont" > > and the error it's throwing: > > stack "Changed Code Picker": execution error at line 140 (Chunk: no > such object) near "script", char 34 > > I commented this line (and line 141- effecting the font size) and it > seems to work fine. I'm just using the default script editor, not GLX. > > > Marty > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jimaultwins at yahoo.com Thu May 7 16:07:24 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Thu, 7 May 2009 13:07:24 -0700 Subject: [ANN] RevTwitter on RevOnline In-Reply-To: <7c87a2a10905060815p730b33e9sa37e62f45bd5cfb2@mail.gmail.com> References: <7c87a2a10905060815p730b33e9sa37e62f45bd5cfb2@mail.gmail.com> Message-ID: <8AA0E49F-476C-4BD3-B719-46E0ADB7CAF0@yahoo.com> Sounds interesting, Andre but when I go to RevOnline and SoapDog user name, I don't see the stack. Is there another user name to try? Jim Ault Las Vegas On May 6, 2009, at 8:15 AM, Andre Garzia wrote: > Folks, > I've built sometime ago a little toy called RevTwitter. It has a > simple > twitter library for posting, searching and getting timelines. > > I've built a minimal client too so you can play with it. After > loading, > remember to fill your login details by clicking the preferences > button. > > It is a fun toy but the best part is the library which has some real > nice > functions. > > It's on RevOnline, have fun. From jim at visitrieve.com Thu May 7 16:11:14 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Thu, 7 May 2009 10:11:14 -1000 Subject: Stack updater In-Reply-To: <4A032869.5040003@comcast.net> References: <4A02387E.5030501@comcast.net> <005301c9cebf$0ff8f8a0$2feae9e0$@com> <4A024FEC.9060507@comcast.net> <006501c9cecf$3cd00e30$b6702a90$@com> <4A026928.50409@comcast.net> <006601c9ced1$58e948a0$0abbd9e0$@com> <4A030C21.40907@comcast.net> <4A0316AA.2090002@comcast.net> <001601c9cf3d$bc08d560$341a8020$@com> <4A032869.5040003@comcast.net> Message-ID: <002001c9cf4f$f9955810$ecc00830$@com> Obviously I meant to say " revNewScriptEditor" is a rev stack... ;-) Hi Marty, Ahh... OK, well that explains everything! ;-) revTemplateScriptEditor is a rev stack and only seems to exist in Rev 3.0. Prior there was a revTemplateScriptEditor. Neither exist in 3.5. The intention here is to set to the font that the user prefers for editing. So, this raised the question of why I and others are not getting the error and you are. ;-) Please click on the Preferences button on the bottom right of Changed Code Picker and under font, select Other and set your preferred font and size. When this is set, it skips over the lines of code that you commented out and uses your preference instead. As you can guess, I had my font and size set in Preferences. ;-) Also, Stephan was not seeing the issue because, if you use GLX2 (which he uses and I do too) it uses the GLX2 preference and again skips over the lines of code you commented out. ;-) If you don't have this preference set to Other and don't use GLX2, it attempts to use the rev editor preference and this stack name has changed over different versions. So just override all of this by implicitly setting the font and size. 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 Marty Knapp > Sent: Thursday, May 07, 2009 8:29 AM > To: How to use Revolution > Subject: Re: Stack updater > > Jim, > > Here's the offending line: > > "put the effective textfont of fld "script" of stack > "revNewScriptEditor" into tFont" > > and the error it's throwing: > > stack "Changed Code Picker": execution error at line 140 (Chunk: no > such object) near "script", char 34 > > I commented this line (and line 141- effecting the font size) and it > seems to work fine. I'm just using the default script editor, not GLX. > > > Marty > _______________________________________________ > use-revolution mailing list > use-revolution at 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 May 7 16:25:01 2009 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 07 May 2009 13:25:01 -0700 Subject: WOW Scott Rossi! In-Reply-To: References: Message-ID: <4A03439D.5080404@pdslabs.net> Scott, your examples combine visual realism and "surprise" digital capabilities in ways that make me sit here and laugh out loud as I interact with them! Beautifully done - as always. Phil Davis Scott Rossi wrote: > Recently, Jim Bufalini wrote: > > >> GREAT article and demo stack in the latest revUP! Fantastic work, Scott. :-) >> > > Thanks -- hope you found something of use in there. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From userevolution at dreamscapesoftware.com Thu May 7 16:26:12 2009 From: userevolution at dreamscapesoftware.com (Derek Bump - Dreamscape Software) Date: Thu, 07 May 2009 15:26:12 -0500 Subject: answer as sheet showing on wrong stack In-Reply-To: <4A0336E7.9060201@gmail.com> References: <4A0326D3.3050109@dreamscapesoftware.com> <4A033110.1060509@dreamscapesoftware.com> <4A0336E7.9060201@gmail.com> Message-ID: <4A0343E4.7040501@dreamscapesoftware.com> I'm trying to get your stack to appear on RevOnline, but I can't seem to find it, or you. Since they changed it, I can't seem to find anything. What do I need to do to get to the stack? Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___________________________________________________________________ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ Richmond Mathewson wrote: > At the risk of over-simplifying things, getting them wrong, and missing > the point: > > I just ran up a stack "QUESTION.rev" (and its now on revOnline under > 'Richmond'); > > it has 2 substacks; one is a 'normal' substack, and one is set up as an > answer dialogue. > > The answer dialogue substack pops up as a sheet from whichever stack it > is called. > > Probably wrong, but Please spare two minutes to give it a try. > > Derek Bump - Dreamscape Software wrote: >> Stephen, >> >> The error occured, and then I remembered the update posted last night so >> I tried updating. Same thing on both versions. >> >> This is driving me crazy because I could have sworn that it worked this >> morning with no problems at all. I'm racking my brains trying to think >> of what code I changed that could cause this. >> >> This is frustrating, and so close to the target launch date to! >> >> >> Derek Bump >> Dreamscape Software >> http://www.dreamscapesoftware.com >> >> ___________________________________________________________________ >> Compress your photos quickly and easily with JPEGCompress 2.9! >> http://www.dreamscapesoftware.com/products/jpegcompress/ >> >> >> stephen barncard wrote: >> >>> I reread your first post. I didn't see that you'd already tried >>> setting the >>> defaultstack. Are you using the latest version of Rev (rc-2) ? >>> >>> ------------------------- >>> Stephen Barncard >>> San Francisco >>> http://barncard.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 DunbarX at aol.com Thu May 7 16:29:04 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 7 May 2009 16:29:04 EDT Subject: Rev 3.5.0-gm-2 Message-ID: Sure does. I never heard that this fix was reported. Thanks loads. Craig Newman In a message dated 5/6/09 6:43:34 PM, shaosean at wehostmacs.com writes: > Quit Rev > Delete your preference file > Restart Rev > See if that works for you.. I used to have the same issue but seems? > to be working correctly now. > ************** Remember Mom this Mother's Day! Find a florist near you now. (http://yellowpages.aol.com/search?query=florist&ncid=emlcntusyelp00000006) From jim at visitrieve.com Thu May 7 16:30:21 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Thu, 7 May 2009 10:30:21 -1000 Subject: answer as sheet showing on wrong stack In-Reply-To: <4A033110.1060509@dreamscapesoftware.com> References: <4A0326D3.3050109@dreamscapesoftware.com> <4A033110.1060509@dreamscapesoftware.com> Message-ID: <002101c9cf52$a50bc650$ef2352f0$@com> Hi Derek, Try : topLevel stack "jcSetup" answer "This should work" with "OK" as sheet Or, are you calling answer from a modal window? 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 Derek Bump - Dreamscape Software > Sent: Thursday, May 07, 2009 9:06 AM > To: How to use Revolution > Subject: Re: answer as sheet showing on wrong stack > > Stephen, > > The error occured, and then I remembered the update posted last night > so > I tried updating. Same thing on both versions. > > This is driving me crazy because I could have sworn that it worked this > morning with no problems at all. I'm racking my brains trying to think > of what code I changed that could cause this. > > This is frustrating, and so close to the target launch date to! > > > Derek Bump > Dreamscape Software > http://www.dreamscapesoftware.com > > ___________________________________________________________________ > Compress your photos quickly and easily with JPEGCompress 2.9! > http://www.dreamscapesoftware.com/products/jpegcompress/ > > > stephen barncard wrote: > > I reread your first post. I didn't see that you'd already tried > setting the > > defaultstack. Are you using the latest version of Rev (rc-2) ? > > > > ------------------------- > > Stephen Barncard > > San Francisco > > http://barncard.com > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From viktoras at ekoinf.net Thu May 7 16:55:53 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Thu, 07 May 2009 23:55:53 +0300 Subject: WOW Scott Rossi! In-Reply-To: References: Message-ID: <4A034AD9.6010907@ekoinf.net> Thanks Scot, extremely useful information and well done! Best regards Viktoras Scott Rossi wrote: > Recently, Jim Bufalini wrote: > > >> GREAT article and demo stack in the latest revUP! Fantastic work, Scott. :-) >> > > Thanks -- hope you found something of use in there. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & 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 viktoras at ekoinf.net Thu May 7 16:56:06 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Thu, 07 May 2009 23:56:06 +0300 Subject: WOW Scott Rossi! In-Reply-To: References: Message-ID: <4A034AE6.8010909@ekoinf.net> Thanks Scott, extremely useful information and well done! Best regards Viktoras Scott Rossi wrote: > Recently, Jim Bufalini wrote: > > >> GREAT article and demo stack in the latest revUP! Fantastic work, Scott. :-) >> > > Thanks -- hope you found something of use in there. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & 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 Thu May 7 16:58:48 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 7 May 2009 13:58:48 -0700 Subject: answer as sheet showing on wrong stack In-Reply-To: <4A0343E4.7040501@dreamscapesoftware.com> References: <4A0326D3.3050109@dreamscapesoftware.com> <4A033110.1060509@dreamscapesoftware.com> <4A0336E7.9060201@gmail.com> <4A0343E4.7040501@dreamscapesoftware.com> Message-ID: RevOnline is really pretty now, but still hard to find stuff. No 'by author' search. I searched for QUESTION.rev and got 'Times Table Tester" a a result. ------------------------- Stephen Barncard San Francisco http://barncard.com 2009/5/7 Derek Bump - Dreamscape Software < userevolution at dreamscapesoftware.com> > I'm trying to get your stack to appear on RevOnline, but I can't seem to > find it, or you. Since they changed it, I can't seem to find anything. > What do I need to do to get to the stack? > > > Derek Bump > Dreamscape Software > http://www.dreamscapesoftware.com > > ___________________________________________________________________ > Compress your photos quickly and easily with JPEGCompress 2.9! > http://www.dreamscapesoftware.com/products/jpegcompress/ > > > Richmond Mathewson wrote: > > At the risk of over-simplifying things, getting them wrong, and missing > > the point: > > > > I just ran up a stack "QUESTION.rev" (and its now on revOnline under > > 'Richmond'); > > > > it has 2 substacks; one is a 'normal' substack, and one is set up as an > > answer dialogue. > > > > The answer dialogue substack pops up as a sheet from whichever stack it > > is called. > > > > Probably wrong, but Please spare two minutes to give it a try. > > > > Derek Bump - Dreamscape Software wrote: > >> Stephen, > >> > >> The error occured, and then I remembered the update posted last night so > >> I tried updating. Same thing on both versions. > >> > >> This is driving me crazy because I could have sworn that it worked this > >> morning with no problems at all. I'm racking my brains trying to think > >> of what code I changed that could cause this. > >> > >> This is frustrating, and so close to the target launch date to! > >> > >> > >> Derek Bump > >> Dreamscape Software > >> http://www.dreamscapesoftware.com > >> > >> ___________________________________________________________________ > >> Compress your photos quickly and easily with JPEGCompress 2.9! > >> http://www.dreamscapesoftware.com/products/jpegcompress/ > >> > >> > >> stephen barncard wrote: > >> > >>> I reread your first post. I didn't see that you'd already tried > >>> setting the > >>> defaultstack. Are you using the latest version of Rev (rc-2) ? > >>> > >>> ------------------------- > >>> Stephen Barncard > >>> San Francisco > >>> http://barncard.com > >>> _______________________________________________ > >>> use-revolution mailing list > >>> use-revolution at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-revolution > >>> > >>> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > >> > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From palcibiades-first at yahoo.co.uk Thu May 7 17:12:59 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 7 May 2009 14:12:59 -0700 (PDT) Subject: App on Linux - really slow... any ideas why? In-Reply-To: References: <23401344.post@talk.nabble.com> <23407237.post@talk.nabble.com> Message-ID: <23435406.post@talk.nabble.com> Ken Its very strange. I have now tried both Puppy and Slax. One of my own apps which has a splash and then the stack proper starts up and works fine in Puppy in Vesa. In fact its very fast indeed. The color scheme and theme is a little garish and the fonts don't fit quite perfectly, but it works. It will not start at all in Slax. Nothing else seems to want to start either in Slax or Puppy. The IDE when started as the 'open with' app, asks for the registration code again. I didn't have this in the live CD so will have to write it down on paper and then reenter it. Hope that doesn't screw anything up. I think it would not start at all as an executable in either Slax or Puppy. My stuff is very very simple. Maybe the other apps have some commands or functions that are blowing up? It is going to take more systematic work and noting down carefully what is done and what happens. More later. Peter Peter -- View this message in context: http://www.nabble.com/App-on-Linux---really-slow...-any-ideas-why--tp23393374p23435406.html Sent from the Revolution - User mailing list archive at Nabble.com. From runrev260805 at m-r-d.de Thu May 7 17:22:34 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Thu, 7 May 2009 21:22:34 +0000 Subject: Re-2: [ANN] RevTwitter on RevOnline Message-ID: <00036462.4A036D38@the-office.us> Hi Jim, under Revonline (Rev 3.5) search for andre garzia or revtwitter . Regards, Matthias -------- Original Message -------- Subject: Re: [ANN] RevTwitter on RevOnline (07-Mai-2009 22:12) From: Jim Ault To: runrev260805 at m-r-d.de > Sounds interesting, Andre > but when I go to RevOnline and SoapDog user name, I don't see the stack. > Is there another user name to try? > > Jim Ault > Las Vegas > On May 6, 2009, at 8:15 AM, Andre Garzia wrote: > > > Folks, > > I've built sometime ago a little toy called RevTwitter. It has a > > simple > > twitter library for posting, searching and getting timelines. > > > > I've built a minimal client too so you can play with it. After > > loading, > > remember to fill your login details by clicking the preferences > > button. > > > > It is a fun toy but the best part is the library which has some real > > nice > > functions. > > > > It's on RevOnline, have fun. > _______________________________________________ > use-revolution mailing list > use-revolution 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 stephen at networkxfla.com Thu May 7 17:33:44 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Thu, 07 May 2009 17:33:44 -0400 Subject: WOW Scott Rossi! In-Reply-To: <4A034AE6.8010909@ekoinf.net> Message-ID: Add my praise to this chorus. I can't believe some of the things you've down with Revolution. Amazing. Thanks. -Stephen Cox On 5/7/09 4:56 PM, "viktoras d." wrote: > Thanks Scott, > > extremely useful information and well done! > > Best regards > Viktoras > > Scott Rossi wrote: >> Recently, Jim Bufalini wrote: >> >> >>> GREAT article and demo stack in the latest revUP! Fantastic work, Scott. :-) >>> >> >> Thanks -- hope you found something of use in there. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, Multimedia & 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 jimaultwins at yahoo.com Thu May 7 17:33:50 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Thu, 7 May 2009 14:33:50 -0700 Subject: Re-2: [ANN] RevTwitter on RevOnline In-Reply-To: <00036462.4A036D38@the-office.us> References: <00036462.4A036D38@the-office.us> Message-ID: <29AEEF54-64BD-4442-BFE3-F8E8182383BA@yahoo.com> Ah, since I am using Rev 2.9 I don't get to see the same RevOnline library. Jim Ault Las Vegas On May 7, 2009, at 2:22 PM, runrev260805 at m-r-d.de wrote: > Hi Jim, > > under Revonline (Rev 3.5) search for andre garzia or revtwitter . > > Regards, > > Matthias > From DunbarX at aol.com Thu May 7 17:37:37 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 7 May 2009 17:37:37 EDT Subject: Something wrong with revOnLine? Message-ID: I cannot upload a stack, though I have before. Just me? Craig Newman ************** Remember Mom this Mother's Day! Find a florist near you now. (http://yellowpages.aol.com/search?query=florist& ncid=emlcntusyelp00000006) From martyknapp at comcast.net Thu May 7 17:44:24 2009 From: martyknapp at comcast.net (Marty Knapp) Date: Thu, 07 May 2009 14:44:24 -0700 Subject: Stack updater In-Reply-To: <002001c9cf4f$f9955810$ecc00830$@com> References: <4A02387E.5030501@comcast.net> <005301c9cebf$0ff8f8a0$2feae9e0$@com> <4A024FEC.9060507@comcast.net> <006501c9cecf$3cd00e30$b6702a90$@com> <4A026928.50409@comcast.net> <006601c9ced1$58e948a0$0abbd9e0$@com> <4A030C21.40907@comcast.net> <4A0316AA.2090002@comcast.net> <001601c9cf3d$bc08d560$341a8020$@com> <4A032869.5040003@comcast.net> <002001c9cf4f$f9955810$ecc00830$@com> Message-ID: <4A035638.5070405@comcast.net> Thanks Jim - will do. > Obviously I meant to say " revNewScriptEditor" is a rev stack... ;-) > > Hi Marty, > > Ahh... OK, well that explains everything! ;-) revTemplateScriptEditor is a rev stack and only seems to exist in Rev 3.0. Prior there was a revTemplateScriptEditor. Neither exist in 3.5. The intention here is to set to the font that the user prefers for editing. > > So, this raised the question of why I and others are not getting the error and you are. ;-) > Just a special talent that I possess! Marty Knapp From mwieder at ahsoftware.net Thu May 7 17:51:34 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 7 May 2009 14:51:34 -0700 Subject: Re-2: [ANN] RevTwitter on RevOnline In-Reply-To: <29AEEF54-64BD-4442-BFE3-F8E8182383BA@yahoo.com> References: <00036462.4A036D38@the-office.us> <29AEEF54-64BD-4442-BFE3-F8E8182383BA@yahoo.com> Message-ID: <1381468633640.20090507145134@ahsoftware.net> Jim- Thursday, May 7, 2009, 2:33:50 PM, you wrote: > Ah, since I am using Rev 2.9 > I don't get to see the same RevOnline library. You should definitely think about upgrading then. The new revOnline doesn't have the old revOnline contents, and there's no way to move stacks from the old to the new, and you lose the ability to select stacks by user, but now you get pictures. -- -Mark Wieder mwieder at ahsoftware.net From mstuart at adaptcrm.com Thu May 7 18:02:58 2009 From: mstuart at adaptcrm.com (Mark Stuart) Date: Thu, 7 May 2009 15:02:58 -0700 Subject: Something wrong with revOnLine? Message-ID: Written by DunbarX at aol.com on Thu May 7, 2009 - 4:37 PM CDT >I cannot upload a stack, though I have before. Just me? Craig... since the new RevOnline (and this weeks patch), I can't even login to it. Mark Stuart Email has been scanned for viruses by Altman Technologies' email management service - www.altman.co.uk/emailsystems From userevolution at dreamscapesoftware.com Thu May 7 18:42:24 2009 From: userevolution at dreamscapesoftware.com (Derek Bump - Dreamscape Software) Date: Thu, 07 May 2009 17:42:24 -0500 Subject: answer as sheet showing on wrong stack In-Reply-To: <002101c9cf52$a50bc650$ef2352f0$@com> References: <4A0326D3.3050109@dreamscapesoftware.com> <4A033110.1060509@dreamscapesoftware.com> <002101c9cf52$a50bc650$ef2352f0$@com> Message-ID: <4A0363D0.6030109@dreamscapesoftware.com> Hello Jim, Yes, I tried that as well, but I'm calling the answer from a modal window, so that didn't work. I've resorted to removing the "as sheet" from the syntax and the answer box is at least showing up in front of the parent stack (and with the focus as well). Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___________________________________________________________________ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ Jim Bufalini wrote: > Hi Derek, > > Try : > > topLevel stack "jcSetup" > answer "This should work" with "OK" as sheet > > Or, are you calling answer from a modal window? > > 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 Derek Bump - Dreamscape Software >> Sent: Thursday, May 07, 2009 9:06 AM >> To: How to use Revolution >> Subject: Re: answer as sheet showing on wrong stack >> >> Stephen, >> >> The error occured, and then I remembered the update posted last night >> so >> I tried updating. Same thing on both versions. >> >> This is driving me crazy because I could have sworn that it worked this >> morning with no problems at all. I'm racking my brains trying to think >> of what code I changed that could cause this. >> >> This is frustrating, and so close to the target launch date to! >> >> >> Derek Bump >> Dreamscape Software >> http://www.dreamscapesoftware.com >> >> ___________________________________________________________________ >> Compress your photos quickly and easily with JPEGCompress 2.9! >> http://www.dreamscapesoftware.com/products/jpegcompress/ >> >> >> stephen barncard wrote: >>> I reread your first post. I didn't see that you'd already tried >> setting the >>> defaultstack. Are you using the latest version of Rev (rc-2) ? >>> >>> ------------------------- >>> Stephen Barncard >>> San Francisco >>> http://barncard.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 userevolution at dreamscapesoftware.com Thu May 7 18:43:18 2009 From: userevolution at dreamscapesoftware.com (Derek Bump - Dreamscape Software) Date: Thu, 07 May 2009 17:43:18 -0500 Subject: answer as sheet showing on wrong stack In-Reply-To: References: <4A0326D3.3050109@dreamscapesoftware.com> <4A033110.1060509@dreamscapesoftware.com> <4A0336E7.9060201@gmail.com> <4A0343E4.7040501@dreamscapesoftware.com> Message-ID: <4A036406.30205@dreamscapesoftware.com> LOL... my search for the same thing returned nothing at all. RevOnline does look a lot better now, but still needs a lot of improvement. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___________________________________________________________________ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ stephen barncard wrote: > RevOnline is really pretty now, but still hard to find stuff. No 'by author' > search. I searched for QUESTION.rev and got 'Times Table Tester" a a result. > > ------------------------- > Stephen Barncard > San Francisco > http://barncard.com > > > 2009/5/7 Derek Bump - Dreamscape Software < > userevolution at dreamscapesoftware.com> > >> I'm trying to get your stack to appear on RevOnline, but I can't seem to >> find it, or you. Since they changed it, I can't seem to find anything. >> What do I need to do to get to the stack? >> >> >> Derek Bump >> Dreamscape Software >> http://www.dreamscapesoftware.com >> >> ___________________________________________________________________ >> Compress your photos quickly and easily with JPEGCompress 2.9! >> http://www.dreamscapesoftware.com/products/jpegcompress/ >> >> >> Richmond Mathewson wrote: >>> At the risk of over-simplifying things, getting them wrong, and missing >>> the point: >>> >>> I just ran up a stack "QUESTION.rev" (and its now on revOnline under >>> 'Richmond'); >>> >>> it has 2 substacks; one is a 'normal' substack, and one is set up as an >>> answer dialogue. >>> >>> The answer dialogue substack pops up as a sheet from whichever stack it >>> is called. >>> >>> Probably wrong, but Please spare two minutes to give it a try. >>> >>> Derek Bump - Dreamscape Software wrote: >>>> Stephen, >>>> >>>> The error occured, and then I remembered the update posted last night so >>>> I tried updating. Same thing on both versions. >>>> >>>> This is driving me crazy because I could have sworn that it worked this >>>> morning with no problems at all. I'm racking my brains trying to think >>>> of what code I changed that could cause this. >>>> >>>> This is frustrating, and so close to the target launch date to! >>>> >>>> >>>> Derek Bump >>>> Dreamscape Software >>>> http://www.dreamscapesoftware.com >>>> >>>> ___________________________________________________________________ >>>> Compress your photos quickly and easily with JPEGCompress 2.9! >>>> http://www.dreamscapesoftware.com/products/jpegcompress/ >>>> >>>> >>>> stephen barncard wrote: >>>> >>>>> I reread your first post. I didn't see that you'd already tried >>>>> setting the >>>>> defaultstack. Are you using the latest version of Rev (rc-2) ? >>>>> >>>>> ------------------------- >>>>> Stephen Barncard >>>>> San Francisco >>>>> http://barncard.com >>>>> _______________________________________________ >>>>> use-revolution mailing list >>>>> use-revolution at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>>> >>>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jim at visitrieve.com Thu May 7 18:59:44 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Thu, 7 May 2009 12:59:44 -1000 Subject: answer as sheet showing on wrong stack In-Reply-To: <4A0363D0.6030109@dreamscapesoftware.com> References: <4A0326D3.3050109@dreamscapesoftware.com> <4A033110.1060509@dreamscapesoftware.com> <002101c9cf52$a50bc650$ef2352f0$@com> <4A0363D0.6030109@dreamscapesoftware.com> Message-ID: <003101c9cf67$83d1b6b0$8b752410$@com> Hi Derek, > Yes, I tried that as well, but I'm calling the answer from a modal > window, so that didn't work. I may be wrong, but I think this is the real issue. Maybe somebody else can chime in, but I think there are certain parent loc values that are ignored when calling a modal (answer) or a sheet from a modal window or other sheet. I honestly don't remember, but there is some kind of issue with this. > I've resorted to removing the "as sheet" > from the syntax and the answer box is at least showing up in front of > the parent stack (and with the focus as well). Aloha from Hawaii Jim Bufalini From stephenREVOLUTION2 at barncard.com Thu May 7 19:25:58 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 7 May 2009 16:25:58 -0700 Subject: answer as sheet showing on wrong stack In-Reply-To: <003101c9cf67$83d1b6b0$8b752410$@com> References: <4A0326D3.3050109@dreamscapesoftware.com> <4A033110.1060509@dreamscapesoftware.com> <002101c9cf52$a50bc650$ef2352f0$@com> <4A0363D0.6030109@dreamscapesoftware.com> <003101c9cf67$83d1b6b0$8b752410$@com> Message-ID: Whoa, I didn't know you were calling from a modal window. Modals are supposed to be... well.. modal and as such don't really attach to any stack. I put together a custom answer or ask dialog and used the 'sheet stack' command. That should work, but it didn't; the custom sheeted stack didn't work when called from the host stack as modal, it ended up in space somewhere, and the close button I had carefully placed in the substack didn't work either and I had to quit rev (but not forced). ------------------------- Stephen Barncard San Francisco http://barncard.com 2009/5/7 Jim Bufalini > Hi Derek, > > > Yes, I tried that as well, but I'm calling the answer from a modal > > window, so that didn't work. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From userevolution at dreamscapesoftware.com Thu May 7 19:36:27 2009 From: userevolution at dreamscapesoftware.com (Derek Bump - Dreamscape Software) Date: Thu, 07 May 2009 18:36:27 -0500 Subject: answer as sheet showing on wrong stack In-Reply-To: References: <4A0326D3.3050109@dreamscapesoftware.com> <4A033110.1060509@dreamscapesoftware.com> <002101c9cf52$a50bc650$ef2352f0$@com> <4A0363D0.6030109@dreamscapesoftware.com> <003101c9cf67$83d1b6b0$8b752410$@com> Message-ID: <4A03707B.50808@dreamscapesoftware.com> Thank you Stephen! I took what you said and did a test. I created a stack with 1 sub-stack. In the substack I created a button that answers "Hello World" as a sheet. In the mainstack I created a button that modals the substack. The result is that the sheet appears behind the modal stack's very own window... thus answering why it wasn't working (or why it is working, just not the way I want it to). Thank you to everyone for helping me get this figured out. I appreciate it very much. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___________________________________________________________________ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ stephen barncard wrote: > Whoa, I didn't know you were calling from a modal window. Modals are > supposed to be... well.. modal and as such don't really attach to any stack. > I put together a custom answer or ask dialog and used the 'sheet stack' > command. That should work, but it didn't; the custom sheeted stack didn't > work when called from the host stack as modal, it ended up in space > somewhere, and the close button I had carefully placed in the substack > didn't work either and I had to quit rev (but not forced). > ------------------------- > Stephen Barncard > San Francisco > http://barncard.com > > > 2009/5/7 Jim Bufalini > >> Hi Derek, >> >>> Yes, I tried that as well, but I'm calling the answer from a modal >>> window, so that didn't work. >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jimaultwins at yahoo.com Thu May 7 19:56:25 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Thu, 7 May 2009 16:56:25 -0700 Subject: Re-2: [ANN] RevTwitter on RevOnline In-Reply-To: <1381468633640.20090507145134@ahsoftware.net> References: <00036462.4A036D38@the-office.us> <29AEEF54-64BD-4442-BFE3-F8E8182383BA@yahoo.com> <1381468633640.20090507145134@ahsoftware.net> Message-ID: On May 7, 2009, at 2:51 PM, Mark Wieder wrote: > Jim- > Thursday, May 7, 2009, 2:33:50 PM, you wrote: >> Ah, since I am using Rev 2.9 >> I don't get to see the same RevOnline library. > > You should definitely think about upgrading then. My plan is to do this in the next few weeks. Jim Ault Las Vegas From scott at tactilemedia.com Thu May 7 20:15:18 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 07 May 2009 17:15:18 -0700 Subject: Kiosk App In Rev? Message-ID: I'm wondering if anyone has built a kiosk-style app in Rev that works with other apps on the system. I've been messing around with backdrops and trying to figure out if it's possible to keep non-Rev apps in front of the backdrop (ie Word, etc). The mouse-Down/Up-InBackdrop message appears to be broken on Windows (or rather, I'm not getting this message when clicking on the backdrop window) so I'm not sure how one goes about making sure the backdrop stays in the background. Seems like it would useful if there was a window property that was the opposite of the systemWindow and floated *behind* all open applications... Thanks for any suggestions. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From stephenREVOLUTION2 at barncard.com Thu May 7 20:17:52 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 7 May 2009 17:17:52 -0700 Subject: Kiosk App In Rev? In-Reply-To: References: Message-ID: I could be wrong but I think Andre Garzia made an extension for that purpose..... ------------------------- Stephen Barncard San Francisco http://barncard.com 2009/5/7 Scott Rossi > I'm wondering if anyone has built a kiosk-style app in Rev that works with > other apps on the system. I've been messing around with backdrops and > trying to figure out if it's possible to keep non-Rev apps in front of the > backdrop (ie Word, etc). The mouse-Down/Up-InBackdrop message appears to > be > broken on Windows (or rather, I'm not getting this message when clicking on > the backdrop window) so I'm not sure how one goes about making sure the > backdrop stays in the background. > > Seems like it would useful if there was a window property that was the > opposite of the systemWindow and floated *behind* all open applications... > > Thanks for any suggestions. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & 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 wow at together.net Thu May 7 20:38:43 2009 From: wow at together.net (Richard Miller) Date: Thu, 07 May 2009 20:38:43 -0400 Subject: "set the externals" question In-Reply-To: <4A018E48.6050900@together.net> References: <7c87a2a10905051506x4000a213o383d007a2ff7883f@mail.gmail.com> <581297597078.20090505152057@ahsoftware.net> <001f01c9ce3e$f125cb90$d37162b0$@com> <4A01809C.5050900@together.net> <002601c9ce46$83c491a0$8b4db4e0$@com> <4A018E48.6050900@together.net> Message-ID: <4A037F13.1070100@together.net> Jim, Thierry: I did my additional testing with this. For whatever reason, the process works fine on XP but not Vista. Identical code on both units. One works; one doesn't. Any thoughts? I have a standalone... that opens an initial stack... which in turn opens an invisible substack (which remains open). In that substack, the preopenstack handler uses "set the externals of this stack to revvideograbber.dll". The initial stack (not the standalone... which is only the startup engine for this program) contains the main navigation menu. The user then navigates from this initial stack to the video recording stack, which when it first opens, has a preopenstack handler containing "start using" (the invisible stack). Thanks. Richard Richard Miller wrote: > Thanks Jim and Thierry, > > Seems to be working. I've got a bit more testing to do, but so far, so > good. > > Richard > > > Jim Bufalini wrote: >> Hi Richard, >> >> Have one stack that sets the externals. Then *start using* that stack >> from >> anywhere (the preOpenStack of your standalone is fine). This makes >> available >> the externals of that stack to other open stacks. >> >> Aloha from Hawaii, >> >> Jim Bufalini >> >> >>> I have a standalone, which opens several other stacks. Is there a way >>> to >>> have any of these other stacks access an external WITHOUT having to >>> "set >>> the externals" of the standalone? >>> >>> It's much easier for me if I need only modify one of the stacks. I'd >>> like to avoid modifying the standalone. >>> >>> I've tried: >>> >>> 1. using the "set the externals" command in the preopenstack handler in >>> one of the stacks (i.e. not the standalone app), but this didn't work >>> during runtime; >>> >>> 2. setting the externals of one of the stacks in the development >>> environment (so I can see that the external is being referenced in the >>> stack property inspector). This didn't work during runtime. >>> >>> I'm testing this under Windows, but any solution would need to work on >>> a >>> Mac as well. It's the videograbber.dll (in the Rev Externals folder) >>> that I'm trying to access during runtime. >>> >>> 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 >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 May 7 21:05:07 2009 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 8 May 2009 10:05:07 +0900 Subject: WOW Scott Rossi! In-Reply-To: <001801c9cf43$7c43b3e0$74cb1ba0$@com> References: <001801c9cf43$7c43b3e0$74cb1ba0$@com> Message-ID: <1e91b2b70905071805u5a60372blb4bccb27801a150@mail.gmail.com> > GREAT article and demo stack in the latest revUP! Fantastic work, Scott. :-) I can't find a link to this. Anyone, please? Thanks. -- Nicolas Cueto From tsj at unimelb.edu.au Thu May 7 21:06:38 2009 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 08 May 2009 11:06:38 +1000 Subject: "set the externals" question In-Reply-To: <4A037F13.1070100@together.net> Message-ID: Hi Richard, I use a loadExternals handler in the preopenstack handler of my app that looks like this (hmm, now that I look at it I'm not sure if the go stack bit is necessary) and seems to work reliably (I think this approach was originally suggested by Trevor). ON loadExternals put the short name of this stack into tStack put <> into pExternals IF there is not a stack "myExternals" THEN reset templatestack set destroywindow of templatestack to true set destroystack of templatestack to true set visible of templatestack to false set externals of templatestack to pExternals create stack "myExternals" reset templatestack END IF go stack "myExternals" start using stack "myExternals" set the defaultstack to tStack END loadExternals HTH, Terry... On 8/05/09 10:38 AM, "Richard Miller" wrote: > Jim, Thierry: > > I did my additional testing with this. For whatever reason, the process > works fine on XP but not Vista. Identical code on both units. One works; > one doesn't. Any thoughts? > > I have a standalone... that opens an initial stack... which in turn > opens an invisible substack (which remains open). In that substack, the > preopenstack handler uses "set the externals of this stack to > revvideograbber.dll". The initial stack (not the standalone... which is > only the startup engine for this program) contains the main navigation > menu. The user then navigates from this initial stack to the video > recording stack, which when it first opens, has a preopenstack handler > containing "start using" (the invisible stack). > > Thanks. > Richard > > > Richard Miller wrote: >> Thanks Jim and Thierry, >> >> Seems to be working. I've got a bit more testing to do, but so far, so >> good. >> >> Richard >> >> >> Jim Bufalini wrote: >>> Hi Richard, >>> >>> Have one stack that sets the externals. Then *start using* that stack >>> from >>> anywhere (the preOpenStack of your standalone is fine). This makes >>> available >>> the externals of that stack to other open stacks. >>> >>> Aloha from Hawaii, >>> >>> Jim Bufalini >>> >>> >>>> I have a standalone, which opens several other stacks. Is there a way >>>> to >>>> have any of these other stacks access an external WITHOUT having to >>>> "set >>>> the externals" of the standalone? >>>> >>>> It's much easier for me if I need only modify one of the stacks. I'd >>>> like to avoid modifying the standalone. >>>> >>>> I've tried: >>>> >>>> 1. using the "set the externals" command in the preopenstack handler in >>>> one of the stacks (i.e. not the standalone app), but this didn't work >>>> during runtime; >>>> >>>> 2. setting the externals of one of the stacks in the development >>>> environment (so I can see that the external is being referenced in the >>>> stack property inspector). This didn't work during runtime. >>>> >>>> I'm testing this under Windows, but any solution would need to work on >>>> a >>>> Mac as well. It's the videograbber.dll (in the Rev Externals folder) >>>> that I'm trying to access during runtime. >>>> >>>> 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 >>> >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 tsj at unimelb.edu.au Thu May 7 21:07:17 2009 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 08 May 2009 11:07:17 +1000 Subject: WOW Scott Rossi! In-Reply-To: <1e91b2b70905071805u5a60372blb4bccb27801a150@mail.gmail.com> Message-ID: http://www.runrev.com/newsletter/may/issue70/newsletter3.php?id=NW70S34559 On 8/05/09 11:05 AM, "Nicolas Cueto" wrote: >> GREAT article and demo stack in the latest revUP! Fantastic work, Scott. :-) > > I can't find a link to this. Anyone, please? Thanks. > > -- > 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 wow at together.net Thu May 7 21:24:11 2009 From: wow at together.net (Richard Miller) Date: Thu, 07 May 2009 21:24:11 -0400 Subject: "set the externals" question In-Reply-To: References: Message-ID: <4A0389BB.9090101@together.net> Thanks, Terry. Two questions: 1) Have you tried using this in a stack that is opened by a standalone, rather than in the standalone itself? 2) And if so, have you tried this under Vista? Thanks. Richard Terry Judd wrote: > Hi Richard, > > I use a loadExternals handler in the preopenstack handler of my app that > looks like this (hmm, now that I look at it I'm not sure if the go stack bit > is necessary) and seems to work reliably (I think this approach was > originally suggested by Trevor). > > ON loadExternals > put the short name of this stack into tStack > put <> into pExternals > IF there is not a stack "myExternals" THEN > reset templatestack > set destroywindow of templatestack to true > set destroystack of templatestack to true > set visible of templatestack to false > set externals of templatestack to pExternals > create stack "myExternals" > reset templatestack > END IF > go stack "myExternals" > start using stack "myExternals" > set the defaultstack to tStack > END loadExternals > > HTH, > > Terry... > > > On 8/05/09 10:38 AM, "Richard Miller" wrote: > > >> Jim, Thierry: >> >> I did my additional testing with this. For whatever reason, the process >> works fine on XP but not Vista. Identical code on both units. One works; >> one doesn't. Any thoughts? >> >> I have a standalone... that opens an initial stack... which in turn >> opens an invisible substack (which remains open). In that substack, the >> preopenstack handler uses "set the externals of this stack to >> revvideograbber.dll". The initial stack (not the standalone... which is >> only the startup engine for this program) contains the main navigation >> menu. The user then navigates from this initial stack to the video >> recording stack, which when it first opens, has a preopenstack handler >> containing "start using" (the invisible stack). >> >> Thanks. >> Richard >> >> >> Richard Miller wrote: >> >>> Thanks Jim and Thierry, >>> >>> Seems to be working. I've got a bit more testing to do, but so far, so >>> good. >>> >>> Richard >>> >>> >>> Jim Bufalini wrote: >>> >>>> Hi Richard, >>>> >>>> Have one stack that sets the externals. Then *start using* that stack >>>> from >>>> anywhere (the preOpenStack of your standalone is fine). This makes >>>> available >>>> the externals of that stack to other open stacks. >>>> >>>> Aloha from Hawaii, >>>> >>>> Jim Bufalini >>>> >>>> >>>> >>>>> I have a standalone, which opens several other stacks. Is there a way >>>>> to >>>>> have any of these other stacks access an external WITHOUT having to >>>>> "set >>>>> the externals" of the standalone? >>>>> >>>>> It's much easier for me if I need only modify one of the stacks. I'd >>>>> like to avoid modifying the standalone. >>>>> >>>>> I've tried: >>>>> >>>>> 1. using the "set the externals" command in the preopenstack handler in >>>>> one of the stacks (i.e. not the standalone app), but this didn't work >>>>> during runtime; >>>>> >>>>> 2. setting the externals of one of the stacks in the development >>>>> environment (so I can see that the external is being referenced in the >>>>> stack property inspector). This didn't work during runtime. >>>>> >>>>> I'm testing this under Windows, but any solution would need to work on >>>>> a >>>>> Mac as well. It's the videograbber.dll (in the Rev Externals folder) >>>>> that I'm trying to access during runtime. >>>>> >>>>> 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 >>>> >>>> >>>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution 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 jacque at hyperactivesw.com Thu May 7 21:43:32 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 07 May 2009 20:43:32 -0500 Subject: answer as sheet showing on wrong stack In-Reply-To: References: <4A0326D3.3050109@dreamscapesoftware.com> <4A033110.1060509@dreamscapesoftware.com> <4A0336E7.9060201@gmail.com> <4A0343E4.7040501@dreamscapesoftware.com> Message-ID: <4A038E44.8060200@hyperactivesw.com> stephen barncard wrote: > RevOnline is really pretty now, but still hard to find stuff. No 'by author' > search. I searched for QUESTION.rev and got 'Times Table Tester" a a result. You can put the author name into the search box. I just typed in "Jacque" and got all my game stacks. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tsj at unimelb.edu.au Thu May 7 22:15:16 2009 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 08 May 2009 12:15:16 +1000 Subject: "set the externals" question In-Reply-To: <4A0389BB.9090101@together.net> Message-ID: On 8/05/09 11:24 AM, "Richard Miller" wrote: > Thanks, Terry. Two questions: > > 1) Have you tried using this in a stack that is opened by a standalone, > rather than in the standalone itself? Yep/probably/maybe/don't remember. It should work either way. > > 2) And if so, have you tried this under Vista? Nope, but I hope it works for you. Terry... > > Thanks. > Richard > > > Terry Judd wrote: >> Hi Richard, >> >> I use a loadExternals handler in the preopenstack handler of my app that >> looks like this (hmm, now that I look at it I'm not sure if the go stack bit >> is necessary) and seems to work reliably (I think this approach was >> originally suggested by Trevor). >> >> ON loadExternals >> put the short name of this stack into tStack >> put <> into pExternals >> IF there is not a stack "myExternals" THEN >> reset templatestack >> set destroywindow of templatestack to true >> set destroystack of templatestack to true >> set visible of templatestack to false >> set externals of templatestack to pExternals >> create stack "myExternals" >> reset templatestack >> END IF >> go stack "myExternals" >> start using stack "myExternals" >> set the defaultstack to tStack >> END loadExternals >> >> HTH, >> >> Terry... >> >> >> On 8/05/09 10:38 AM, "Richard Miller" wrote: >> >> >>> Jim, Thierry: >>> >>> I did my additional testing with this. For whatever reason, the process >>> works fine on XP but not Vista. Identical code on both units. One works; >>> one doesn't. Any thoughts? >>> >>> I have a standalone... that opens an initial stack... which in turn >>> opens an invisible substack (which remains open). In that substack, the >>> preopenstack handler uses "set the externals of this stack to >>> revvideograbber.dll". The initial stack (not the standalone... which is >>> only the startup engine for this program) contains the main navigation >>> menu. The user then navigates from this initial stack to the video >>> recording stack, which when it first opens, has a preopenstack handler >>> containing "start using" (the invisible stack). >>> >>> Thanks. >>> Richard >>> >>> >>> Richard Miller wrote: >>> >>>> Thanks Jim and Thierry, >>>> >>>> Seems to be working. I've got a bit more testing to do, but so far, so >>>> good. >>>> >>>> Richard >>>> >>>> >>>> Jim Bufalini wrote: >>>> >>>>> Hi Richard, >>>>> >>>>> Have one stack that sets the externals. Then *start using* that stack >>>>> from >>>>> anywhere (the preOpenStack of your standalone is fine). This makes >>>>> available >>>>> the externals of that stack to other open stacks. >>>>> >>>>> Aloha from Hawaii, >>>>> >>>>> Jim Bufalini >>>>> >>>>> >>>>> >>>>>> I have a standalone, which opens several other stacks. Is there a way >>>>>> to >>>>>> have any of these other stacks access an external WITHOUT having to >>>>>> "set >>>>>> the externals" of the standalone? >>>>>> >>>>>> It's much easier for me if I need only modify one of the stacks. I'd >>>>>> like to avoid modifying the standalone. >>>>>> >>>>>> I've tried: >>>>>> >>>>>> 1. using the "set the externals" command in the preopenstack handler in >>>>>> one of the stacks (i.e. not the standalone app), but this didn't work >>>>>> during runtime; >>>>>> >>>>>> 2. setting the externals of one of the stacks in the development >>>>>> environment (so I can see that the external is being referenced in the >>>>>> stack property inspector). This didn't work during runtime. >>>>>> >>>>>> I'm testing this under Windows, but any solution would need to work on >>>>>> a >>>>>> Mac as well. It's the videograbber.dll (in the Rev Externals folder) >>>>>> that I'm trying to access during runtime. >>>>>> >>>>>> 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 >>>>> >>>>> >>>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution 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 shaosean at wehostmacs.com Thu May 7 23:33:02 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Thu, 7 May 2009 23:33:02 -0400 Subject: Kiosk App In Rev? Message-ID: Do not know if this still works on the newer Windows versions, but you can always make one small change to the source code and recompile so that it has the reverse of systemWindow.. replace HWND_TOPMOST with HWND_BOTTOM http://dark.unitz.ca/~shaosean/downloads/alwaysontop102.zip From RevList at CreaTECHSol.com Thu May 7 23:53:55 2009 From: RevList at CreaTECHSol.com (RevList) Date: Thu, 07 May 2009 20:53:55 -0700 Subject: Data Grid Sorts Message-ID: I would like to call a subroutine each time someone clicks on a column on one of my data grid tables. Where do I find the sorting routines? Stewart -------------------------------------------------------------------------------------------------------------------- This message and any attachments are intended only for the use of the individual to whom they are addressed and it may contain information that is privileged or confidential. If you have received this communication by mistake, please notify us immediately. -------------------------------------------------------------------------------------------------------------------- From jim at visitrieve.com Fri May 8 00:56:32 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Thu, 7 May 2009 18:56:32 -1000 Subject: "set the externals" question In-Reply-To: <4A037F13.1070100@together.net> References: <7c87a2a10905051506x4000a213o383d007a2ff7883f@mail.gmail.com> <581297597078.20090505152057@ahsoftware.net> <001f01c9ce3e$f125cb90$d37162b0$@com> <4A01809C.5050900@together.net> <002601c9ce46$83c491a0$8b4db4e0$@com> <4A018E48.6050900@together.net> <4A037F13.1070100@together.net> Message-ID: <003b01c9cf99$5bad74d0$13085e70$@com> Hi Richard, > I did my additional testing with this. For whatever reason, the process > works fine on XP but not Vista. Identical code on both units. One > works; > one doesn't. Any thoughts? I can tell you the simple process of setting the externals in one stack, which is then put in use either from itself or by another stack works on all platforms, including Vista. I have used it on libs for a long time on all platforms and in standalones and IDE. I even have a case of an invisible main stack whose sole purpose is to set the externals to a single, third party DLL (obviously this one is just XP and Vista) and this stack puts itself in use and is periodically opened and closed by other stacks, because the only way in Rev to release a DLL, in Windows memory, is for the stack that has it as an external to close and itself exit from memory. > I have a standalone... that opens an initial stack... which in turn > opens an invisible substack (which remains open). In that substack, the > preopenstack handler uses "set the externals of this stack to > revvideograbber.dll". The initial stack (not the standalone... which is > only the startup engine for this program) contains the main navigation > menu. The user then navigates from this initial stack to the video > recording stack, which when it first opens, has a preopenstack handler > containing "start using" (the invisible stack). First, it sounds a bit convoluted. ;-) Also, you are putting a substack in use? I believe in this case, the "start using" command of the substack should be in the preOpenStack of the main stack of the substack. This is exactly what ListMagic does and as everyone knows it works on all platforms. When you open a main stack, its substacks are automatically opened. So what do you mean you open the substack? and "it" remains open? If "it" remains open, then so must its main stack. Can I suggest you break out this substack into a main stack. It should have its externals already set. It should have its preOpenStack set to how I suggested, where it puts itself in use. Before you need to use its externals, go invisible to the stack. If you want to close those externals, just close the stack. In Rev, the primary differences you run into between XP and Vista have usually to do with graphics, window and menu levels (as in a window or menu showing up behind another window in Vista, when on XP it shows up in front) and, the biggie, user rights and security where access is denied on Vista and XP doesn't care. Aloha from Hawaii, Jim Bufalini > > Thanks. > Richard > > > Richard Miller wrote: > > Thanks Jim and Thierry, > > > > Seems to be working. I've got a bit more testing to do, but so far, > so > > good. > > > > Richard > > > > > > Jim Bufalini wrote: > >> Hi Richard, > >> > >> Have one stack that sets the externals. Then *start using* that > stack > >> from > >> anywhere (the preOpenStack of your standalone is fine). This makes > >> available > >> the externals of that stack to other open stacks. > >> > >> Aloha from Hawaii, > >> > >> Jim Bufalini > >> > >> > >>> I have a standalone, which opens several other stacks. Is there a > way > >>> to > >>> have any of these other stacks access an external WITHOUT having to > >>> "set > >>> the externals" of the standalone? > >>> > >>> It's much easier for me if I need only modify one of the stacks. > I'd > >>> like to avoid modifying the standalone. > >>> > >>> I've tried: > >>> > >>> 1. using the "set the externals" command in the preopenstack > handler in > >>> one of the stacks (i.e. not the standalone app), but this didn't > work > >>> during runtime; > >>> > >>> 2. setting the externals of one of the stacks in the development > >>> environment (so I can see that the external is being referenced in > the > >>> stack property inspector). This didn't work during runtime. > >>> > >>> I'm testing this under Windows, but any solution would need to work > on > >>> a > >>> Mac as well. It's the videograbber.dll (in the Rev Externals > folder) > >>> that I'm trying to access during runtime. > >>> > >>> 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 > >> > >> > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution 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 Fri May 8 01:34:54 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 08 May 2009 08:34:54 +0300 Subject: Something wrong with revOnLine? In-Reply-To: References: Message-ID: <4A03C47E.1040204@gmail.com> As I am going "from zero to hero", or, more prosaically. from 2.6.1 to 4.0 (although I do own a copy of RevMedia 2.9), I uploaded, entirely successfully, to what shows up as revOnline from 2.6.1. DunbarX at aol.com wrote: > I cannot upload a stack, though I have before. Just me? > > Craig Newman > > > ************** > Remember Mom this Mother's Day! Find a florist > near you now. (http://yellowpages.aol.com/search?query=florist& > ncid=emlcntusyelp00000006) > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Fri May 8 01:38:33 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 08 May 2009 08:38:33 +0300 Subject: answer as sheet showing on wrong stack In-Reply-To: <4A038E44.8060200@hyperactivesw.com> References: <4A0326D3.3050109@dreamscapesoftware.com> <4A033110.1060509@dreamscapesoftware.com> <4A0336E7.9060201@gmail.com> <4A0343E4.7040501@dreamscapesoftware.com> <4A038E44.8060200@hyperactivesw.com> Message-ID: <4A03C559.2070400@gmail.com> So, the proable reason no one found my "QUESTION.rev" stack is that nobody wanted to type a taboo name. :) Funny, though, not having a 'by author' search: I suppose the RR folks WILL put that back for 4.0. J. Landman Gay wrote: > stephen barncard wrote: >> RevOnline is really pretty now, but still hard to find stuff. No 'by >> author' >> search. I searched for QUESTION.rev and got 'Times Table Tester" a a >> result. > > You can put the author name into the search box. I just typed in > "Jacque" and got all my game stacks. > From stephen at networkxfla.com Fri May 8 02:25:07 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Fri, 08 May 2009 02:25:07 -0400 Subject: Newbie question - how to check for a varible Message-ID: Really two questions: How do I check if a variable is empty? Sort of like; If !empty(tUsername) // process here Endif Empty() is a Foxpro function that pops if what you are checking is empty. I can?t seem to find it?s equivalent in revolution. Am I approaching this the wrong way? And can I check fields the same way? I suppose I could create an empty variable and just compare the 2? But is there an easier way? Next question; checking the existence of a variable? Now I know I can turn on Strict Compilation (and I have) but I?d rather have the assurance of checking to see if a variable exist? Is this a non-issue in Revolution? Thanks -Stephen Cox From pepetoo at cox.net Fri May 8 02:35:00 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Thu, 7 May 2009 23:35:00 -0700 Subject: Newbie question - how to check for a varible In-Reply-To: References: Message-ID: <4A8F0717-442C-460F-9398-ADC59D9DD3DC@cox.net> Stephen, Without even checking, since it's the way it would be done in HC, just use: if tUsername is empty then .... if tUsername exists then ... You were already there. Didn't you check these out in the messagebox? Joe Wilkins On May 7, 2009, at 11:25 PM, Stephen Cox wrote: > Really two questions: > > How do I check if a variable is empty? Sort of like; > > If !empty(tUsername) > // process here > Endif > > Empty() is a Foxpro function that pops if what you are checking is > empty. I > can?t seem to find it?s equivalent in revolution. Am I approaching > this the > wrong way? And can I check fields the same way? > > I suppose I could create an empty variable and just compare the 2? > But is > there an easier way? > > Next question; checking the existence of a variable? Now I know I > can turn > on Strict Compilation (and I have) but I?d rather have the assurance > of > checking to see if a variable exist? Is this a non-issue in > Revolution? > > Thanks > > -Stephen Cox From m.schonewille at economy-x-talk.com Fri May 8 02:40:57 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 8 May 2009 08:40:57 +0200 Subject: Newbie question - how to check for a varible In-Reply-To: References: Message-ID: <3C3DF8AB-7EBC-4C1C-8B79-243CEA0DEE33@economy-x-talk.com> Hi Stephen, Search the docs for "empty". It will show you things like put empty into x set the cProp to empty So, you will also want to read up on "put" and "set". There is also a function "variableNames", which will probably be very useful to you. Why do you want to check for the existence of a variable? I do this very, very rarely and only in really advanced projects. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum New: Snapper Screen Recorder 2.0.1 Download at http://snapper.economy-x-talk.com On 8 mei 2009, at 08:25, Stephen Cox wrote: > Really two questions: > > How do I check if a variable is empty? Sort of like; > > If !empty(tUsername) > // process here > Endif > > Empty() is a Foxpro function that pops if what you are checking is > empty. I > can?t seem to find it?s equivalent in revolution. Am I approaching > this the > wrong way? And can I check fields the same way? > > I suppose I could create an empty variable and just compare the 2? > But is > there an easier way? > > Next question; checking the existence of a variable? Now I know I > can turn > on Strict Compilation (and I have) but I?d rather have the assurance > of > checking to see if a variable exist? Is this a non-issue in > Revolution? > > Thanks > > -Stephen Cox From stephen at networkxfla.com Fri May 8 02:43:07 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Fri, 08 May 2009 02:43:07 -0400 Subject: Newbie question - how to check for a varible In-Reply-To: <4A8F0717-442C-460F-9398-ADC59D9DD3DC@cox.net> Message-ID: Lol. Of course. I knew it would be easy. Thanks. For the life of me I could not find an example in the docs; the user guild or online. The messagebox? I hardly use it. Gets in the way mostly. I've been using it to look at global variables. I know you can run commands. But if you don't know the commands, it's no help. Or am I wrong about this? On 5/8/09 2:35 AM, "Joe Lewis Wilkins" wrote: > Stephen, > > Without even checking, since it's the way it would be done in HC, just > use: > > if tUsername is empty then .... > > if tUsername exists then ... > > You were already there. Didn't you check these out in the messagebox? > > Joe Wilkins > > On May 7, 2009, at 11:25 PM, Stephen Cox wrote: > >> Really two questions: >> >> How do I check if a variable is empty? Sort of like; >> >> If !empty(tUsername) >> // process here >> Endif >> >> Empty() is a Foxpro function that pops if what you are checking is >> empty. I >> can?t seem to find it?s equivalent in revolution. Am I approaching >> this the >> wrong way? And can I check fields the same way? >> >> I suppose I could create an empty variable and just compare the 2? >> But is >> there an easier way? >> >> Next question; checking the existence of a variable? Now I know I >> can turn >> on Strict Compilation (and I have) but I?d rather have the assurance >> of >> checking to see if a variable exist? Is this a non-issue in >> Revolution? >> >> Thanks >> >> -Stephen Cox > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Fri May 8 02:46:10 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Fri, 8 May 2009 02:46:10 -0400 Subject: Data Grid Sorts Message-ID: <207A464D-D435-4050-96EF-F84CA0E97EC4@wehostmacs.com> In the group script of your data grid, just do your sorting in the "sortDataGridColumn" message.. See the following link for more information.. http://revolution.screenstepslive.com/spaces/revolution_tools/manuals/ datagrid/lessons/3780-How-Do-I-Customize-or-Disable-Column-Sorting- From pepetoo at cox.net Fri May 8 02:47:46 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Thu, 7 May 2009 23:47:46 -0700 Subject: Newbie question - how to check for a varible In-Reply-To: <4A8F0717-442C-460F-9398-ADC59D9DD3DC@cox.net> References: <4A8F0717-442C-460F-9398-ADC59D9DD3DC@cox.net> Message-ID: <33E9025E-2309-49A4-A25B-3576CA647C37@cox.net> Stephen, I should have checked. Check "exists" in the dictionary for the rev syntax. Not quite as straightforward or easy as with HC. Sorry, Joe Wilkins On May 7, 2009, at 11:35 PM, Joe Lewis Wilkins wrote: > Stephen, > > Without even checking, since it's the way it would be done in HC, > just use: > > if tUsername is empty then .... > > if tUsername exists then ... > > You were already there. Didn't you check these out in the messagebox? > > Joe Wilkins > > On May 7, 2009, at 11:25 PM, Stephen Cox wrote: > >> Really two questions: >> >> How do I check if a variable is empty? Sort of like; >> >> If !empty(tUsername) >> // process here >> Endif >> >> Empty() is a Foxpro function that pops if what you are checking is >> empty. I >> can?t seem to find it?s equivalent in revolution. Am I approaching >> this the >> wrong way? And can I check fields the same way? >> >> I suppose I could create an empty variable and just compare the 2? >> But is >> there an easier way? >> >> Next question; checking the existence of a variable? Now I know I >> can turn >> on Strict Compilation (and I have) but I?d rather have the >> assurance of >> checking to see if a variable exist? Is this a non-issue in >> Revolution? >> >> Thanks >> >> -Stephen Cox From stephen at networkxfla.com Fri May 8 02:53:42 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Fri, 08 May 2009 02:53:42 -0400 Subject: Newbie question - how to check for a varible In-Reply-To: <3C3DF8AB-7EBC-4C1C-8B79-243CEA0DEE33@economy-x-talk.com> Message-ID: I did search for "empty" in the Online Dictionary. But all I got were property keywords. I also read the docs on put and answer and saw nothing about empty. Anyway know now, thanks. As for checking for existence of variables.. Just a habit I formed over years writing dbase and c. "Always check the existence of a variable before you take any action on it". The compilers of today are more sophisticated so I'll probably wean my way off it. On 5/8/09 2:40 AM, "Mark Schonewille" wrote: > Hi Stephen, > > > Search the docs for "empty". It will show you things like > > put empty into x > set the cProp to empty > > So, you will also want to read up on "put" and "set". > > There is also a function "variableNames", which will probably be very > useful to you. Why do you want to check for the existence of a > variable? I do this very, very rarely and only in really advanced > projects. > > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > Dutch forum: http://runrev.info/rrforum > > New: Snapper Screen Recorder 2.0.1 > Download at http://snapper.economy-x-talk.com > > On 8 mei 2009, at 08:25, Stephen Cox wrote: > >> Really two questions: >> >> How do I check if a variable is empty? Sort of like; >> >> If !empty(tUsername) >> // process here >> Endif >> >> Empty() is a Foxpro function that pops if what you are checking is >> empty. I >> can?t seem to find it?s equivalent in revolution. Am I approaching >> this the >> wrong way? And can I check fields the same way? >> >> I suppose I could create an empty variable and just compare the 2? >> But is >> there an easier way? >> >> Next question; checking the existence of a variable? Now I know I >> can turn >> on Strict Compilation (and I have) but I?d rather have the assurance >> of >> checking to see if a variable exist? Is this a non-issue in >> Revolution? >> >> Thanks >> >> -Stephen Cox > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephen at networkxfla.com Fri May 8 02:55:46 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Fri, 08 May 2009 02:55:46 -0400 Subject: Newbie question - how to check for a varible In-Reply-To: <33E9025E-2309-49A4-A25B-3576CA647C37@cox.net> Message-ID: Ahhh! "Exists" was there. I was looking at it from the wrong end. Thanks. God I feel like I have to unlearn all my coding habits and thinking. On 5/8/09 2:47 AM, "Joe Lewis Wilkins" wrote: > Stephen, I should have checked. Check "exists" in the dictionary for > the rev syntax. Not quite as straightforward or easy as with HC. > Sorry, > Joe Wilkins > > On May 7, 2009, at 11:35 PM, Joe Lewis Wilkins wrote: > >> Stephen, >> >> Without even checking, since it's the way it would be done in HC, >> just use: >> >> if tUsername is empty then .... >> >> if tUsername exists then ... >> >> You were already there. Didn't you check these out in the messagebox? >> >> Joe Wilkins >> >> On May 7, 2009, at 11:25 PM, Stephen Cox wrote: >> >>> Really two questions: >>> >>> How do I check if a variable is empty? Sort of like; >>> >>> If !empty(tUsername) >>> // process here >>> Endif >>> >>> Empty() is a Foxpro function that pops if what you are checking is >>> empty. I >>> can?t seem to find it?s equivalent in revolution. Am I approaching >>> this the >>> wrong way? And can I check fields the same way? >>> >>> I suppose I could create an empty variable and just compare the 2? >>> But is >>> there an easier way? >>> >>> Next question; checking the existence of a variable? Now I know I >>> can turn >>> on Strict Compilation (and I have) but I?d rather have the >>> assurance of >>> checking to see if a variable exist? Is this a non-issue in >>> Revolution? >>> >>> Thanks >>> >>> -Stephen Cox > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 May 8 03:13:16 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Thu, 7 May 2009 21:13:16 -1000 Subject: Newbie question - how to check for a varible In-Reply-To: References: Message-ID: <004401c9cfac$75c37c80$614a7580$@com> Hi Stephen, > How do I check if a variable is empty? Sort of like; > > If !empty(tUsername) > // process here > Endif > > Empty() is a Foxpro function that pops if what you are checking is > empty. I > can?t seem to find it?s equivalent in revolution. Am I approaching this > the > wrong way? And can I check fields the same way? > > I suppose I could create an empty variable and just compare the 2? But > is > there an easier way? If tUsername = empty then... If tUsername is empty then... If tUsername = "" then... If tUsername is "" then... For Boolean: If tUsername then... true if tUsername is true. False if anything else. If not tUsername then... true if tUsername is false or empty. > Next question; checking the existence of a variable? Now I know I can > turn > on Strict Compilation (and I have) but I?d rather have the assurance of > checking to see if a variable exist? Is this a non-issue in Revolution? Depends on what you mean by existence. ;-) If you have explicit variables on then you must declare a local variable for the compile to succeed. Script locals and globals always need to be declared or they will be interpreted as local. It's good practice to declare all variables to avoid typo errors. If you want to know if you are using a variable name check out *the variableNames* and *the globalNames* in the docs. For objects, you can use syntax like: If there is a stack/card/button/... or other object name ... "theName" then If exists(object) then... There are lots of options in these areas. They are all well documented in the docs. ;-) Just keep in mind that in Rev all variables are essentially strings and so there is not the "type" necessary in other languages. So even if *if myNumericVar is an integer then...* returns true, myNumericVar is still a "string." Now as a newbie this can get a little confusing because the value of a var can be binary and not ASCII. But just think of it as a "string of bytes" of any type that are in a "container" or are a "chunk" of bytes. Hint, hint, look up these words in the docs. ;-) Aloha from Hawaii Jim Bufalini From benr_mc at cogapp.com Thu May 7 19:43:51 2009 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 08 May 2009 00:43:51 +0100 Subject: accessing https URLS with basic authentification Message-ID: <4A037237.2050900@cogapp.com> I can load an "https" URL fine. I can load an "http" URL protected using 'basic' authentification, using either the "http://user:password at www.somewhere.com/" format, or by using the HTTPHeaders property to explicitly add an "Authorization: Basic xxx" header. But I can't load an "https" URL that's protected using basic authentification, using either of the methods described above. Is this a known problem? Can anyone else either reproduce this problem, or alternatively confirm that they _can_ load such a URL? (NB1 this is on Mac OS X, Rev 3.0 and 3.5.) (NB2 I can retrieve the URL fine using "curl" in the terminal - and in fact for now I'm working around the problem by using shell() to invoke curl. But I really want to handle URLs of this form in the same way I'm handling other http URLs in my app, which give me more control.) Any insights gratefully received, TIA Ben From stephen at networkxfla.com Fri May 8 05:43:09 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Fri, 08 May 2009 05:43:09 -0400 Subject: Another newb question - How to you clear a field? Message-ID: Don?t hate me for asking another nub question. ;) I am reading the docs. But this language is so different then what I am used to it?s hard to phrase searches correctly. Ok, so how do I clear the contents of a field? Namely a text Field. I wanna offer a clear button. I?ve been trying various forms of the Delete [Clear} Chunk command. But no luck so far. Then I thought maybe it was related to a property of the Text Field. And still no. Someone mind pointing me in the right direction? Much thanks, -Stephen Cox From stephenREVOLUTION2 at barncard.com Fri May 8 05:48:13 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 8 May 2009 02:48:13 -0700 Subject: Another newb question - How to you clear a field? In-Reply-To: References: Message-ID: put empty into fld x of stack b ------------------------- Stephen Barncard San Francisco http://barncard.com 2009/5/8 Stephen Cox > Don?t hate me for asking another nub question. ;) I am reading the docs. > But > this language is so different then what I am used to it?s hard to phrase > searches correctly. > > Ok, so how do I clear the contents of a field? Namely a text Field. I wanna > offer a clear button. > > I?ve been trying various forms of the Delete [Clear} Chunk command. But no > luck so far. Then I thought maybe it was related to a property of the Text > Field. And still no. > Someone mind pointing me in the right direction? > > Much thanks, > > -Stephen Cox > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From stephen at networkxfla.com Fri May 8 05:52:00 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Fri, 08 May 2009 05:52:00 -0400 Subject: Another newb question - How to you clear a field? In-Reply-To: Message-ID: If you only have 1 stack do you have to include the stack ID? On 5/8/09 5:48 AM, "stephen barncard" wrote: > put empty into fld x of stack b > > ------------------------- > Stephen Barncard > San Francisco > http://barncard.com > > > 2009/5/8 Stephen Cox > >> Don?t hate me for asking another nub question. ;) I am reading the docs. >> But >> this language is so different then what I am used to it?s hard to phrase >> searches correctly. >> >> Ok, so how do I clear the contents of a field? Namely a text Field. I wanna >> offer a clear button. >> >> I?ve been trying various forms of the Delete [Clear} Chunk command. But no >> luck so far. Then I thought maybe it was related to a property of the Text >> Field. And still no. >> Someone mind pointing me in the right direction? >> >> Much thanks, >> >> -Stephen Cox >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 phil at liverpool.ac.uk Fri May 8 05:54:05 2009 From: phil at liverpool.ac.uk (Phil Jimmieson) Date: Fri, 8 May 2009 10:54:05 +0100 Subject: Another newb question - How to you clear a field? In-Reply-To: References: Message-ID: <862C1FBF-A2D8-4C82-88CF-94DE40B85741@liverpool.ac.uk> Hi Stephen, if the field is on your current card then you only need to put empty into field "yourfieldname" You only need to add more specific details if you're referring to some other card and/or some other stack put empty into field "yourfieldname" of card "thatcard" of stack "theotherstack" On 8 May 2009, at 10:52, Stephen Cox wrote: > If you only have 1 stack do you have to include the stack ID? > > > On 5/8/09 5:48 AM, "stephen barncard" > > wrote: > >> put empty into fld x of stack b >> >> ------------------------- >> Stephen Barncard >> San Francisco >> http://barncard.com >> >> >> 2009/5/8 Stephen Cox >> >>> Don?t hate me for asking another nub question. ;) I am reading the >>> docs. >>> But >>> this language is so different then what I am used to it?s hard to >>> phrase >>> searches correctly. >>> >>> Ok, so how do I clear the contents of a field? Namely a text >>> Field. I wanna >>> offer a clear button. >>> >>> I?ve been trying various forms of the Delete [Clear} Chunk >>> command. But no >>> luck so far. Then I thought maybe it was related to a property of >>> the Text >>> Field. And still no. >>> Someone mind pointing me in the right direction? >>> >>> Much thanks, >>> >>> -Stephen Cox >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution 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 -- Phil Jimmieson phil at liverpool.ac.uk (UK) 0151 795 4236 (Mobile) 07976 983164 Computer Science Dept., Liverpool University, Ashton Building, Ashton Street Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. From stephen at networkxfla.com Fri May 8 05:59:27 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Fri, 08 May 2009 05:59:27 -0400 Subject: Another newb question - How to you clear a field? In-Reply-To: <862C1FBF-A2D8-4C82-88CF-94DE40B85741@liverpool.ac.uk> Message-ID: Heh. You know I tried that. But didn't use quotes. So I assume when referring to objects on cards you have to use quotes? On 5/8/09 5:54 AM, "Phil Jimmieson" wrote: > put empty into field "yourfieldname" From phil at liverpool.ac.uk Fri May 8 06:05:56 2009 From: phil at liverpool.ac.uk (Phil Jimmieson) Date: Fri, 8 May 2009 11:05:56 +0100 Subject: Another newb question - How to you clear a field? In-Reply-To: References: Message-ID: <11D112E5-0FAC-466E-BF7A-D1EC0255ABF8@liverpool.ac.uk> Ah, another potential can of worms! Rev normally allows you to use unquoted literal names, except where they're reserved words in the language, or have weird characters in them that would be difficult to parse (like spaces etc). To err on the side of caution I usually always quote my field names (unless of course you're using a variable to refer to the name of a field). There's also a preference setting which switches Rev into a feature which demands quotes around literals. put "myfieldname" into thefieldtouse --sets up a variable with the name of the field I want put empty into field thefieldtouse --this is ok because thefieldtouse is a variable put empty into field "thefieldinquestion" --here thefieldinquestion is actually the name of the field, so I always quote it On 8 May 2009, at 10:59, Stephen Cox wrote: > Heh. > > You know I tried that. But didn't use quotes. So I assume when > referring to > objects on cards you have to use quotes? > > > On 5/8/09 5:54 AM, "Phil Jimmieson" wrote: > >> put empty into field "yourfieldname" > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Jimmieson phil at liverpool.ac.uk (UK) 0151 795 4236 (Mobile) 07976 983164 Computer Science Dept., Liverpool University, Ashton Building, Ashton Street Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. From jrarick at hpsk12.net Fri May 8 06:19:40 2009 From: jrarick at hpsk12.net (Jack Rarick) Date: Fri, 08 May 2009 06:19:40 -0400 Subject: Launching an app with a doc in XP Message-ID: <4A03CEFC020000DC0001D87B@hpsk12.net> Thanks all in advance - as always. My stack writes a text file with the names of avi files that is saved as a .wpl file. It is actually pretty cool. But then I want to start Windows Media Player from the stack and have it use the .wpl file. My question - on Windows 2000 I am able to use "Launch myAviFileList.wpl with windowMediaPlayer.exe and it all works great. It DOES NOT in XP. And .. in XP I am able to use the shell function: get shell("start MyProgram.exe") and start the player but I can't figure out how to have it use my .wpl file that my stack wrote. Any ideas? Thanks again, Jack Rarick Braintree Athletic Systems From shaosean at wehostmacs.com Fri May 8 06:44:34 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Fri, 8 May 2009 06:44:34 -0400 Subject: [ANN] Cryptography Library 1.0.0 Message-ID: <200C8A59-F457-4FF5-847D-8F5DFCE09604@wehostmacs.com> A library with a few encryption/decryption and hashing functions. There are also a slew of helper functions for signed bit math (Rev's internal bit math can only handled unsigned) - cipherSaber1 - cipherSaber2 - sha1 (i released this a long time ago and i believe Mark Smith also released one) - md5 (this is code posted by Dave Cragg to this list) Download from < www.shaosean.tk > For more information about CipherSaber < http:// ciphersaber.gurus.org/ > as well as some test files < http:// ciphersaber.gurus.com/cstest.zip > -Sean From palcibiades-first at yahoo.co.uk Fri May 8 06:53:32 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 8 May 2009 03:53:32 -0700 (PDT) Subject: App on Linux - really slow... any ideas why? In-Reply-To: <251291945718.20090505134646@ahsoftware.net> References: <251291945718.20090505134646@ahsoftware.net> Message-ID: <23443844.post@talk.nabble.com> OK, loaded Puppy 4.2, with the copy to memory option and using Xorg not VESA. Ran the IDE 3.5, and it seemed fine. Fired up a few stacks and they were fine, positively snappy. Ran Stackrunner, and using that, started up Sarah's Barcode key tester. Also Ken's XML editor. Also another xml application stack. All loaded and seemed to work fine. I've previously found the XML editor a little slow on very large files, so speed is a bit hard to judge, but wasn't obviously any worse than it had been on earlier versions of SR. The borders colors and so on in all case are unpleasantly garish, but that must be a feature of the Puppy theme. But otherwise, it ran so fast I thought seriously of moving one installation that only runs one app over to Puppy. Compared to Mandriva it screams along, its like moving back from Vista to Win98 on old hardware. I didn't have any difficulty running the stacks from within the IDE or using StackRunner. Ken, could it be that you do not have file associations set up right? They do not run for me by simple clicking. I'll have another bash at Slax today if poss. Does anyone have a seriously display intensive stack they can post somewhere? It would be nice to have one that definitely does show the problem. Or, Ken, if you want to mail me a compiled version of yours that is causing the problem, I'd be happy to see if I can reproduce and/or do something to eliminate it. It occurs to me that it might be worth trying Slitaz, a true minimalist distro, 30MB or so. If the problemstill happens with Slitaz, its really at a basic level with Linux rather than some dispensable extra bit. Peter -- View this message in context: http://www.nabble.com/App-on-Linux---really-slow...-any-ideas-why--tp23393374p23443844.html Sent from the Revolution - User mailing list archive at Nabble.com. From jim at visitrieve.com Fri May 8 07:13:37 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 8 May 2009 01:13:37 -1000 Subject: Launching an app with a doc in XP In-Reply-To: <4A03CEFC020000DC0001D87B@hpsk12.net> References: <4A03CEFC020000DC0001D87B@hpsk12.net> Message-ID: <004d01c9cfce$094b9250$1be2b6f0$@com> Hi Jack, Shell is just like using the command line. So anything that works, if you go to Start and then run CMD and type something into the command line box will also work in shell. Command line parameters can usually be Googled. Here is the first listing I found for *windows media player command line*: http://msdn.microsoft.com/en-us/library/aa386383(VS.85).aspx it appears, in the case of windowsMediaPayer, you just follow the name of the exe with the name of the file to play in quotes. So, for example, if you typed the following into CMD (and it worked - I didn't try it ;-): windowsMediaPlayer.exe "myAviFileList.wpl" Then the equivalent shell command would be: Get shell("start windowsMediaPlayer.exe" && quote & "myAviFileList.wpl" & quote) If you need to issue multiple lines of commands use && inside the quotes so: Get shell("cd \myDirectory && start myProg.exe") Would change directory to myDirectory and then execute myProg.exe So, be mindful of using && to concatenate strings or inside quotes to indicate another command line. ;-) 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 Jack Rarick > Sent: Friday, May 08, 2009 12:20 AM > To: use-revolution at lists.runrev.com > Subject: Launching an app with a doc in XP > > Thanks all in advance - as always. > > My stack writes a text file with the names of avi files that is saved > as a .wpl file. It is actually pretty cool. > > But then I want to start Windows Media Player from the stack and have > it use the .wpl file. > > My question - on Windows 2000 I am able to use "Launch > myAviFileList.wpl with windowMediaPlayer.exe and it all works great. It > DOES NOT in XP. > > And .. in XP I am able to use the shell function: get shell("start > MyProgram.exe") and start the player but I can't figure out how to have > it use my .wpl file that my stack wrote. > > Any ideas? > > Thanks again, > > Jack Rarick > Braintree Athletic Systems > _______________________________________________ > use-revolution mailing list > use-revolution at 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 May 8 07:24:48 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 8 May 2009 12:24:48 +0100 Subject: accessing https URLS with basic authentification In-Reply-To: <4A037237.2050900@cogapp.com> References: <4A037237.2050900@cogapp.com> Message-ID: Basic Auth should still work with https. I think the problem might be to do with the verification of the SSL certificate. Try running this before you make your https URL call: libUrlSetSSLVerification false The only thing that gives me pause in suggesting this as the cause, is that I would expect curl to also fail if there was a problem with the SSL certificate (i.e. the certification chain is broken). Then again, maybe it is that curl has a chain of certs that will verify the cert of the site you are trying to connect with. (I thought for some years now curl was not supplied with its own certs). Bernard On Fri, May 8, 2009 at 12:43 AM, Ben Rubinstein wrote: > I can load an "https" URL fine. > > I can load an "http" URL protected using 'basic' authentification, using > either the "http://user:password at www.somewhere.com/" format, or by using the > HTTPHeaders property to explicitly add an "Authorization: Basic xxx" header. > > But I can't load an "https" URL that's protected using basic > authentification, using either of the methods described above. > > Is this a known problem? ?Can anyone else either reproduce this problem, or > alternatively confirm that they _can_ load such a URL? > > (NB1 this is on Mac OS X, Rev 3.0 and 3.5.) > > (NB2 I can retrieve the URL fine using "curl" in the terminal - and in fact > for now I'm working around the problem by using shell() to invoke curl. ?But > I really want to handle URLs of this form in the same way I'm handling other > http URLs in my app, which give me more control.) > > Any insights gratefully received, > > TIA > > Ben > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Fri May 8 07:26:53 2009 From: jrarick at hpsk12.net (Jack Rarick) Date: Fri, 08 May 2009 07:26:53 -0400 Subject: Launching an app with a doc in XP In-Reply-To: <004d01c9cfce$094b9250$1be2b6f0$@com> References: <4A03CEFC020000DC0001D87B@hpsk12.net> <004d01c9cfce$094b9250$1be2b6f0$@com> Message-ID: <4A03DEBD020000DC0001D892@hpsk12.net> Now that's what I'm talking about! Wow! Thank you so much! Go Rev Groups and Jim - and what time is it in Hawaii?! >>> "Jim Bufalini" 5/8/2009 7:13 AM >>> Hi Jack, Shell is just like using the command line. So anything that works, if you go to Start and then run CMD and type something into the command line box will also work in shell. Command line parameters can usually be Googled. Here is the first listing I found for *windows media player command line*: http://msdn.microsoft.com/en-us/library/aa386383(VS.85).aspx it appears, in the case of windowsMediaPayer, you just follow the name of the exe with the name of the file to play in quotes. So, for example, if you typed the following into CMD (and it worked - I didn't try it ;-): windowsMediaPlayer.exe "myAviFileList.wpl" Then the equivalent shell command would be: Get shell("start windowsMediaPlayer.exe" && quote & "myAviFileList.wpl" & quote) If you need to issue multiple lines of commands use && inside the quotes so: Get shell("cd \myDirectory && start myProg.exe") Would change directory to myDirectory and then execute myProg.exe So, be mindful of using && to concatenate strings or inside quotes to indicate another command line. ;-) 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 Jack Rarick > Sent: Friday, May 08, 2009 12:20 AM > To: use-revolution at lists.runrev.com > Subject: Launching an app with a doc in XP > > Thanks all in advance - as always. > > My stack writes a text file with the names of avi files that is saved > as a .wpl file. It is actually pretty cool. > > But then I want to start Windows Media Player from the stack and have > it use the .wpl file. > > My question - on Windows 2000 I am able to use "Launch > myAviFileList.wpl with windowMediaPlayer.exe and it all works great. It > DOES NOT in XP. > > And .. in XP I am able to use the shell function: get shell("start > MyProgram.exe") and start the player but I can't figure out how to have > it use my .wpl file that my stack wrote. > > Any ideas? > > Thanks again, > > Jack Rarick > Braintree Athletic Systems > _______________________________________________ > use-revolution mailing list > use-revolution 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 p.williams at alkazar.net Fri May 8 07:42:38 2009 From: p.williams at alkazar.net (Paul Williams) Date: Fri, 08 May 2009 12:42:38 +0100 Subject: accessing https URLS with basic authentification In-Reply-To: References: <4A037237.2050900@cogapp.com>, Message-ID: <4A0428BE.24409.787ADB9B@p.williams.alkazar.net> Don't forget only Rev Enterprise supports https. > Basic Auth should still work with https. > > I think the problem might be to do with the verification of the > SSL > certificate. Try running this before you make your https URL > call: > > libUrlSetSSLVerification false > > The only thing that gives me pause in suggesting this as the cause, > is > that I would expect curl to also fail if there was a problem with > the > SSL certificate (i.e. the certification chain is broken). Then > again, maybe it is that curl has a chain of certs that will verify > the > cert of the site you are trying to connect with. (I thought for > some > years now curl was not supplied with its own certs). > > Bernard > > > On Fri, May 8, 2009 at 12:43 AM, Ben Rubinstein > wrote: > > I can load an "https" URL fine. > > > > I can load an "http" URL protected using 'basic' authentification, > using > > either the "http://user:password at www.somewhere.com/" format, or by > using the > > HTTPHeaders property to explicitly add an "Authorization: Basic > xxx" header. > > > > But I can't load an "https" URL that's protected using basic > > authentification, using either of the methods described above. > > > > Is this a known problem? ?Can anyone else either reproduce this > problem, or > > alternatively confirm that they _can_ load such a URL? > > > > (NB1 this is on Mac OS X, Rev 3.0 and 3.5.) > > > > (NB2 I can retrieve the URL fine using "curl" in the terminal - > and in fact > > for now I'm working around the problem by using shell() to invoke > curl. ?But > > I really want to handle URLs of this form in the same way I'm > handling other > > http URLs in my app, which give me more control.) > > > > Any insights gratefully received, > > > > TIA > > > > Ben > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From david at architex.tv Fri May 8 08:02:47 2009 From: david at architex.tv (David Bovill) Date: Fri, 8 May 2009 13:02:47 +0100 Subject: Tip: fix for broken behavior (just in case) Message-ID: Some times after a crash, Rev will lose it's links between controls and behaviors. It can take a long time to track this down as put the behavior of grp 1 returns as expected. It is just that none of the behavior scripts get called. Restarting does not help. It's happened 3 times for me, so if this happens to you this is the fix: set the behavior of grp 1 to the behavior of grp 1 You only need to do this once for any given behavior, to fix all links for that behavior, but you do need to do it for each behavior you use. See bug #8014 and vote for it if it affects you. From bdrunrev at gmail.com Fri May 8 08:45:53 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 8 May 2009 13:45:53 +0100 Subject: [ANN] Cryptography Library 1.0.0 In-Reply-To: <200C8A59-F457-4FF5-847D-8F5DFCE09604@wehostmacs.com> References: <200C8A59-F457-4FF5-847D-8F5DFCE09604@wehostmacs.com> Message-ID: Thanks Sean. The ciphersabre website made interesting reading. Bernard From lists at mangomultimedia.com Fri May 8 08:54:17 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 8 May 2009 08:54:17 -0400 Subject: DataGrid question simple? In-Reply-To: <0364DAEE-80E0-4C54-939C-6782DE3DCD2A@wehostmacs.com> References: <0364DAEE-80E0-4C54-939C-6782DE3DCD2A@wehostmacs.com> Message-ID: <1EED2589-80C3-419F-8573-7A9DCA8A5980@mangomultimedia.com> On May 7, 2009, at 2:26 PM, Shao Sean wrote: > I included this type of code in the group script of the data grid > object (group "Schema" in your case) > > on mouseUp > local theLine > local theDataA > > put the dgHilitedLines of group "Schema" into theLine > put the dgDataOfLine[theLine] of group "Schema" into theDataA > > put theDataA["Field Name"] into field "tFieldName" > put theDataA["Field Type"] into field "tFieldType" > put theDataA["Field ID"] into field "tFieldID" > end mouseUp This will work fine though you could also use the selectionChanged message like you would in a list field. Take a look at this lesson: Regards, -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.com From luis at anachreon.co.uk Fri May 8 09:33:16 2009 From: luis at anachreon.co.uk (Luis) Date: Fri, 8 May 2009 14:33:16 +0100 Subject: App on Linux - really slow... any ideas why? In-Reply-To: References: Message-ID: <4E26F94F-40A2-4C81-BD86-499DA1F3D5C1@anachreon.co.uk> Hiya, They are in /var/log not sure if this type of thing might show up in / var/log/messages more -f /var/log/messages Are you double-clicking or starting it from the Terminal? The Terminal might throw up what the error is. In some instances I've spotted that the executable bit is mangled if you transfer the installer from a USB/memory stick, had this happen in 8.04 and not in 8.10. Not tested in 9.0x. Wondering if this applies to other distros. Does it run as root? Cheers, Luis. On 7 May 2009, at 18:18, Ken Ray wrote: >> Could be a CPU architecture problem? Any info in the logs? > > Which logs are you talking about - where would I look? > > 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 wow at together.net Fri May 8 10:18:49 2009 From: wow at together.net (Richard Miller) Date: Fri, 08 May 2009 10:18:49 -0400 Subject: "set the externals" question In-Reply-To: References: Message-ID: <4A043F49.2010608@together.net> Terry, Jim: Putting the loadexternals script in one of my main stacks did the trick. Thanks. Richard Terry Judd wrote: > On 8/05/09 11:24 AM, "Richard Miller" wrote: > > >> Thanks, Terry. Two questions: >> >> 1) Have you tried using this in a stack that is opened by a standalone, >> rather than in the standalone itself? >> > > Yep/probably/maybe/don't remember. It should work either way. > >> 2) And if so, have you tried this under Vista? >> > > Nope, but I hope it works for you. > > Terry... > >> Thanks. >> Richard >> >> >> Terry Judd wrote: >> >>> Hi Richard, >>> >>> I use a loadExternals handler in the preopenstack handler of my app that >>> looks like this (hmm, now that I look at it I'm not sure if the go stack bit >>> is necessary) and seems to work reliably (I think this approach was >>> originally suggested by Trevor). >>> >>> ON loadExternals >>> put the short name of this stack into tStack >>> put <> into pExternals >>> IF there is not a stack "myExternals" THEN >>> reset templatestack >>> set destroywindow of templatestack to true >>> set destroystack of templatestack to true >>> set visible of templatestack to false >>> set externals of templatestack to pExternals >>> create stack "myExternals" >>> reset templatestack >>> END IF >>> go stack "myExternals" >>> start using stack "myExternals" >>> set the defaultstack to tStack >>> END loadExternals >>> >>> HTH, >>> >>> Terry... >>> >>> >>> On 8/05/09 10:38 AM, "Richard Miller" wrote: >>> >>> >>> >>>> Jim, Thierry: >>>> >>>> I did my additional testing with this. For whatever reason, the process >>>> works fine on XP but not Vista. Identical code on both units. One works; >>>> one doesn't. Any thoughts? >>>> >>>> I have a standalone... that opens an initial stack... which in turn >>>> opens an invisible substack (which remains open). In that substack, the >>>> preopenstack handler uses "set the externals of this stack to >>>> revvideograbber.dll". The initial stack (not the standalone... which is >>>> only the startup engine for this program) contains the main navigation >>>> menu. The user then navigates from this initial stack to the video >>>> recording stack, which when it first opens, has a preopenstack handler >>>> containing "start using" (the invisible stack). >>>> >>>> Thanks. >>>> Richard >>>> >>>> >>>> Richard Miller wrote: >>>> >>>> >>>>> Thanks Jim and Thierry, >>>>> >>>>> Seems to be working. I've got a bit more testing to do, but so far, so >>>>> good. >>>>> >>>>> Richard >>>>> >>>>> >>>>> Jim Bufalini wrote: >>>>> >>>>> >>>>>> Hi Richard, >>>>>> >>>>>> Have one stack that sets the externals. Then *start using* that stack >>>>>> from >>>>>> anywhere (the preOpenStack of your standalone is fine). This makes >>>>>> available >>>>>> the externals of that stack to other open stacks. >>>>>> >>>>>> Aloha from Hawaii, >>>>>> >>>>>> Jim Bufalini >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> I have a standalone, which opens several other stacks. Is there a way >>>>>>> to >>>>>>> have any of these other stacks access an external WITHOUT having to >>>>>>> "set >>>>>>> the externals" of the standalone? >>>>>>> >>>>>>> It's much easier for me if I need only modify one of the stacks. I'd >>>>>>> like to avoid modifying the standalone. >>>>>>> >>>>>>> I've tried: >>>>>>> >>>>>>> 1. using the "set the externals" command in the preopenstack handler in >>>>>>> one of the stacks (i.e. not the standalone app), but this didn't work >>>>>>> during runtime; >>>>>>> >>>>>>> 2. setting the externals of one of the stacks in the development >>>>>>> environment (so I can see that the external is being referenced in the >>>>>>> stack property inspector). This didn't work during runtime. >>>>>>> >>>>>>> I'm testing this under Windows, but any solution would need to work on >>>>>>> a >>>>>>> Mac as well. It's the videograbber.dll (in the Rev Externals folder) >>>>>>> that I'm trying to access during runtime. >>>>>>> >>>>>>> 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 >>>>>> >>>>>> >>>>>> >>>>>> >>>>> _______________________________________________ >>>>> use-revolution mailing list >>>>> use-revolution at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>>> >>>>> >>>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription >>>> preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >>> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From bobs at twft.com Fri May 8 11:56:46 2009 From: bobs at twft.com (Bob Sneidar) Date: Fri, 8 May 2009 08:56:46 -0700 Subject: [ANN] Cryptography Library 1.0.0 In-Reply-To: <200C8A59-F457-4FF5-847D-8F5DFCE09604@wehostmacs.com> References: <200C8A59-F457-4FF5-847D-8F5DFCE09604@wehostmacs.com> Message-ID: <5777B2C8-F878-49E7-84D3-57488D179FB0@twft.com> Hi Sean. Brilliant! I have been wondering how I was going to implement an SQL based app which accessed a remote database without passing cleartext passwords to the server. I haven't figured out in Rev how to encrypt/ decrypt the password to the database so I can store it locally in a property that someone else cannot simply open and view. I don't want to ask my end users to log into the SQL database every time, so I need to store a hash of the password in a property. Your library should work perfectly for all of that. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On May 8, 2009, at 3:44 AM, Shao Sean wrote: > A library with a few encryption/decryption and hashing functions. > There are also a slew of helper functions for signed bit math (Rev's > internal bit math can only handled unsigned) > > - cipherSaber1 > - cipherSaber2 > - sha1 (i released this a long time ago and i believe Mark Smith > also released one) > - md5 (this is code posted by Dave Cragg to this list) > > Download from < www.shaosean.tk > > For more information about CipherSaber < http:// > ciphersaber.gurus.org/ > as well as some test files < http:// > ciphersaber.gurus.com/cstest.zip > > > -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 mwieder at ahsoftware.net Fri May 8 12:01:01 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 8 May 2009 09:01:01 -0700 Subject: App on Linux - really slow... any ideas why? In-Reply-To: <23443844.post@talk.nabble.com> References: <251291945718.20090505134646@ahsoftware.net> <23443844.post@talk.nabble.com> Message-ID: <801534000609.20090508090101@ahsoftware.net> Peter- Friday, May 8, 2009, 3:53:32 AM, you wrote: > Ran the IDE 3.5, and it seemed fine. Fired up a few stacks and they were > fine, positively snappy. Try loading a script of more than a few hundred lines into the script editor. Then try using the scrollbar to move around in the script. That's where things for me became so slow as to be unusable, usually resulting in an ide crash. If this is working for you then I'm ready to give puppy a try. -- -Mark Wieder mwieder at ahsoftware.net From adrian at clubtype.co.uk Fri May 8 12:24:32 2009 From: adrian at clubtype.co.uk (Adrian Williams) Date: Fri, 8 May 2009 17:24:32 +0100 Subject: Getting the name for a Windows Users 'home' In-Reply-To: <7c87a2a10904241856v49f4170dm4a08c5db0a84d609@mail.gmail.com> References: <00035DC1.49E8EDB9@the-office.us> <225C5835-8E17-443E-9E29-207E73868E13@pacifier.com> <7c87a2a10904241856v49f4170dm4a08c5db0a84d609@mail.gmail.com> Message-ID: <5A2C6C8A-AC8E-4999-AFCB-4E4C78E37636@clubtype.co.uk> Thanks to all for the advice about Mac Users/home. The short version was successful: /Users/~/Library/Fonts I now need to delete files from Windows Users/home. Is there an equivalent short version path for Windows or is 'specialFolderPath' used to get this? If so, how may I use it? On VISTA for examplethe path appears to be: C:\Users\????\AppData\Roaming\Microsoft\Start Menu\ Programs \MyFileToBeDeleted Is the specialFolderPath uses differently in XP and Vista? Any clues would be a great help, Thanks, Adrian ______________________ Club Type http://www.clubtype.co.uk On 25 Apr 2009, at 02:56, Andre Garzia wrote: > also shell("whoami") gives you the name of the logged user. > > On Fri, Apr 24, 2009 at 7:11 PM, Sarah Reichelt >wrote: > >> On Sat, Apr 25, 2009 at 1:28 AM, Adrian Williams > > >> wrote: >>> Hello all, >>> >>> Installing fonts into the Public domain is a breeze: >>> MacHD/Library/Fonts/MyNewFont.ttf >>> >>> But I need to install and uninstall fonts in the Users domain. For >> example: >>> MacHD/Users/someunknownname/Library/Fonts/MyNewFont.ttf >>> >>> How can I retrieve 'someunknownname' from any computer and place >>> it in a >>> variable in the pathname? >> >> $USER gives you the name of the current user. >> However specialFolderPath() might provide the exact folder path you >> need. As well as the docs, check out Ken Ray's list of usable codes >> for this: > > >> >> BTW, in OS X & Rev, you don't need to include the MacHD part in your >> file path. /Users/username/Library.... is the way such folders are >> specified. >> >> Cheers, >> Sarah >> From userevolution at dreamscapesoftware.com Fri May 8 12:38:44 2009 From: userevolution at dreamscapesoftware.com (Derek Bump - Dreamscape Software) Date: Fri, 08 May 2009 11:38:44 -0500 Subject: Preferred Multi-Platform Development Method In-Reply-To: <5A2C6C8A-AC8E-4999-AFCB-4E4C78E37636@clubtype.co.uk> References: <00035DC1.49E8EDB9@the-office.us> <225C5835-8E17-443E-9E29-207E73868E13@pacifier.com> <7c87a2a10904241856v49f4170dm4a08c5db0a84d609@mail.gmail.com> <5A2C6C8A-AC8E-4999-AFCB-4E4C78E37636@clubtype.co.uk> Message-ID: <4A046014.2090605@dreamscapesoftware.com> I'm just curious, but for those of you who have an Enterprise license, how do you develop your stacks/standalones for multiple platforms? Do you keep each platform separate and write the same stack for each platform itself? Or do you have 1 stack file and use Property Profiles and platform() functions to determine functionality? I guess I'm just looking for some incite as to how I should attack each platform with my current and future projects. 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 ambassador at fourthworld.com Fri May 8 13:18:42 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 08 May 2009 10:18:42 -0700 Subject: Preferred Multi-Platform Development Method Message-ID: <4A046972.40504@fourthworld.com> Derek Bump wrote: > I'm just curious, but for those of you who have an Enterprise license, > how do you develop your stacks/standalones for multiple platforms? > > Do you keep each platform separate and write the same stack for each > platform itself? Or do you have 1 stack file and use Property Profiles > and platform() functions to determine functionality? I maintain only one code base, using forked code within specific handlers as needed. For example, most of my apps use an InitApp handler, which call a list of specific handlers like InitPrefs, InitWindows, InitMenus, etc. Each of those handlers takes care of any changes I need for specific platforms. InitWindows sets the backgroundColor, textFont, textSize, and other common properties for each window to match conventions on the target OS. This happens one time before any windows are rendered so the performance hit isn't noticeable (my Rev-based apps generally boot in less than 1/10th the amount of time needed to boot any Adobe app, but that's not really fair since Adobe apps are almost always a favorable performance comparison ). Same with things like Prefs. I have two handlers I use everywhere, fwGetPref and fwSetPref to get and set preference values which are stored as custom props in a stack file. Each of those handlers calls a function named fwPrefsPath to get the path to the stack I use as the prefs file for each platform: for OS X I use specialApplicationFolder("preferences") and for Win I use specialFolderPath("26"), followed by a folder for the publisher and then a folder inside that for the product where I store the actual prefs stackfile. So one handler takes care of the forking, and nothing else in my app needs to care about which platform it's running on to get and set prefs values. A rule of thumb I use for platform-forked code: "Will I need this anywhere else?" Any time I think I might need to fork code by platform, I'll write a separate handler for that so I can just call that and it'll take care of it without me having to ever think about it again. This was especially helpful recently with a project I'm porting to the web, in which we have a fairly complex custom search engine for which all the path references to the index files are handled in generalized handlers that take care of any platform stuff. While we'd been using this in the desktop product for both Mac and Win for years, I was able to just drop that search library onto our Linux server and call it from a CGI without having to modify it at all other than to reformat the output as HTML. :) -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From revdev at pdslabs.net Fri May 8 13:41:50 2009 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 08 May 2009 10:41:50 -0700 Subject: Preferred Multi-Platform Development Method In-Reply-To: <4A046972.40504@fourthworld.com> References: <4A046972.40504@fourthworld.com> Message-ID: <4A046EDE.2060302@pdslabs.net> Richard Gaskin wrote: > Derek Bump wrote: >> I'm just curious, but for those of you who have an Enterprise license, >> how do you develop your stacks/standalones for multiple platforms? >> >> Do you keep each platform separate and write the same stack for each >> platform itself? Or do you have 1 stack file and use Property Profiles >> and platform() functions to determine functionality? > > I maintain only one code base, using forked code within specific > handlers as needed. Ditto. I'm generally not as rigorous as Mr. Gaskin in some of the implementation details, but I definitely subscribe to the same principles. I think you would quickly find that maintaining two copies of an app is more trouble than it's worth. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From palcibiades-first at yahoo.co.uk Fri May 8 13:58:48 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 8 May 2009 10:58:48 -0700 (PDT) Subject: App on Linux - really slow... any ideas why? In-Reply-To: <801534000609.20090508090101@ahsoftware.net> References: <251291945718.20090505134646@ahsoftware.net> <23443844.post@talk.nabble.com> <801534000609.20090508090101@ahsoftware.net> Message-ID: <23450613.post@talk.nabble.com> Mark, don't know if this qualifies, but I did the following in Debian Lenny AMD64 running Gnome - reasonably up to date. Downloaded SVGL from revonline. I thought it would be nice to have a stack we can all play with. The stack script appears to have over 1,000 lines. I scrolled and it moves up and down just fine. Just for the hell of it I put a random comment in, and compiled. Almost instant. Went into browse mode and had it draw the picture of the tiger. A one or two second delay and there it is. My machine is a Sempron, not dual core, not even very fast, socket 754. I am sure that on Puppy it would be even faster, but this is plenty fast enough, I doubt you'd notice any difference. Can you put a script on revonline that has the effects you mention? It gets weirder and weirder, this. Peter Mark Wieder wrote: > > Peter- > > Friday, May 8, 2009, 3:53:32 AM, you wrote: > >> Ran the IDE 3.5, and it seemed fine. Fired up a few stacks and they were >> fine, positively snappy. > > Try loading a script of more than a few hundred lines into the script > editor. Then try using the scrollbar to move around in the script. > That's where things for me became so slow as to be unusable, usually > resulting in an ide crash. If this is working for you then I'm ready > to give puppy a try. > > -- > -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 > > -- View this message in context: http://www.nabble.com/App-on-Linux---really-slow...-any-ideas-why--tp23393374p23450613.html Sent from the Revolution - User mailing list archive at Nabble.com. From kray at sonsothunder.com Fri May 8 14:16:15 2009 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 08 May 2009 13:16:15 -0500 Subject: Getting the name for a Windows Users 'home' In-Reply-To: <5A2C6C8A-AC8E-4999-AFCB-4E4C78E37636@clubtype.co.uk> Message-ID: > Thanks to all for the advice about Mac Users/home. > The short version was successful: > /Users/~/Library/Fonts > > I now need to delete files from Windows Users/home. > Is there an equivalent short version path for Windows or is > 'specialFolderPath' used to get this? > If so, how may I use it? > > On VISTA for examplethe path appears to be: > C:\Users\????\AppData\Roaming\Microsoft\Start Menu\ Programs > \MyFileToBeDeleted > > Is the specialFolderPath uses differently in XP and Vista? > Any clues would be a great help, As Sarah mentioned below, check out this reference: http://www.sonsothunder.com/devres/revolution/tips/file010.htm Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jacque at hyperactivesw.com Fri May 8 14:17:49 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 08 May 2009 13:17:49 -0500 Subject: Preferred Multi-Platform Development Method In-Reply-To: <4A046014.2090605@dreamscapesoftware.com> References: <00035DC1.49E8EDB9@the-office.us> <225C5835-8E17-443E-9E29-207E73868E13@pacifier.com> <7c87a2a10904241856v49f4170dm4a08c5db0a84d609@mail.gmail.com> <5A2C6C8A-AC8E-4999-AFCB-4E4C78E37636@clubtype.co.uk> <4A046014.2090605@dreamscapesoftware.com> Message-ID: <4A04774D.4080309@hyperactivesw.com> Derek Bump - Dreamscape Software wrote: > I'm just curious, but for those of you who have an Enterprise license, > how do you develop your stacks/standalones for multiple platforms? > > Do you keep each platform separate and write the same stack for each > platform itself? Or do you have 1 stack file and use Property Profiles > and platform() functions to determine functionality? Keeping separate copies pretty much removes the advantage of Rev's cross-platform development capabilites. And invariably you'll find if you do that, you'll forget to update one of the copies and it will break. I do what Richard does, forking code as needed, which is required for only a few things. I too have an "init" handler that manages platform display differences when the app launches. Other than that, very little forking is usually necessary. I develop almost exclusively on my Mac for most of the project. When the stack is almost ready, I open it in the Windows version of the IDE for testing and final tweaking. I build for both platforms on the Mac, then test again in Windows to make sure all went well, which is true most of the time. Most of the Mac/Windows issues show up when I test the stack near the end of the development process. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri May 8 14:25:47 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 08 May 2009 13:25:47 -0500 Subject: Newbie question - how to check for a varible In-Reply-To: References: Message-ID: <4A04792B.3040408@hyperactivesw.com> Stephen Cox wrote: > Next question; checking the existence of a variable? Now I know I can turn > on Strict Compilation (and I have) but I?d rather have the assurance of > checking to see if a variable exist? Is this a non-issue in Revolution? It is a non-issue. Rev does not require you to declare variables; they are created automatically just by using them. I have never seen that fail. However, since you have turned on explicit variables, you do have to declare them -- but this relates more to how the the compiler works than how the engine works. I personally do not use explicit variables, I never declare them specifically, and I have never had any problem. I should note that explicit variables is a hot topic, with proponents on both sides, and has been the subject of more than one thread here. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri May 8 14:27:06 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 08 May 2009 13:27:06 -0500 Subject: Another newb question - How to you clear a field? In-Reply-To: References: Message-ID: <4A04797A.1050008@hyperactivesw.com> Stephen Cox wrote: > Don?t hate me for asking another nub question. ;) I embrace you for it, please don't stop. This list gets way too ethereal sometimes, I love the new people. Go for it. Ask everything. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bdrunrev at gmail.com Fri May 8 14:29:20 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 8 May 2009 19:29:20 +0100 Subject: App on Linux - really slow... any ideas why? In-Reply-To: <23450613.post@talk.nabble.com> References: <251291945718.20090505134646@ahsoftware.net> <23443844.post@talk.nabble.com> <801534000609.20090508090101@ahsoftware.net> <23450613.post@talk.nabble.com> Message-ID: I think Mark may be referring to his experiences with 3.0. http://quality.runrev.com/qacenter/show_bug.cgi?id=7162 Peter didn't seem to have problems with the editor in that bug report, but the rest of us did. Maybe that bug is one of the many bugs that Kevin refers to as having been fixed. Maybe they forgot to update the bug report. Bernard On Fri, May 8, 2009 at 6:58 PM, Peter Alcibiades wrote: > > Mark, don't know if this qualifies, but I did the following in Debian Lenny > AMD64 ?running Gnome - reasonably up to date. > > Downloaded SVGL from revonline. ?I thought it would be nice to have a stack > we can all play with. ?The stack script appears to have over 1,000 lines. ?I > scrolled and it moves up and down just fine. ?Just for the hell of it I put > a random comment in, and compiled. ?Almost instant. ?Went into browse mode > and had it draw the picture of the tiger. ?A one or two second delay and > there it is. > > My machine is a Sempron, not dual core, not even very fast, socket 754. > > I am sure that on Puppy it would be even faster, but this is plenty fast > enough, I doubt you'd notice any difference. > > Can you put a script on revonline that has the effects you mention? ?It gets > weirder and weirder, this. > > Peter > > > Mark Wieder wrote: >> >> Peter- >> >> Friday, May 8, 2009, 3:53:32 AM, you wrote: >> >>> Ran the IDE 3.5, and it seemed fine. ?Fired up a few stacks and they were >>> fine, positively snappy. >> >> Try loading a script of more than a few hundred lines into the script >> editor. Then try using the scrollbar to move around in the script. >> That's where things for me became so slow as to be unusable, usually >> resulting in an ide crash. If this is working for you then I'm ready >> to give puppy a try. >> >> -- >> -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 >> >> > > -- > View this message in context: http://www.nabble.com/App-on-Linux---really-slow...-any-ideas-why--tp23393374p23450613.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Fri May 8 14:32:36 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 08 May 2009 13:32:36 -0500 Subject: Another newb question - How to you clear a field? In-Reply-To: References: Message-ID: <4A047AC4.4090905@hyperactivesw.com> Stephen Cox wrote: > Heh. > > You know I tried that. But didn't use quotes. So I assume when referring to > objects on cards you have to use quotes? Literals are always quoted, so this: field "myField" means a field whose name is the literal string "myField". If the quotes are omitted, the engine will try to find a variable named myField. Sometimes the engine is smart enough to realize that if there is no variable with that name, there may be a field with that name which the script has neglected to quote. In that case, the string may resolve correctly to the field name -- but you can't count on it. And if literal names are not quoted, the engine takes twice as long to execute the statement because of the additional lookup. Whether or not the engine can resolve an unquoted literal depends somewhat on the position of the string in the command line. It gets complicated, so the best rule of thumb is: don't quote variables, always quote literal strings. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From david.bovill at gmail.com Fri May 8 14:49:41 2009 From: david.bovill at gmail.com (David Bovill) Date: Fri, 8 May 2009 19:49:41 +0100 Subject: Preferred Multi-Platform Development Method In-Reply-To: <4A04774D.4080309@hyperactivesw.com> References: <00035DC1.49E8EDB9@the-office.us> <225C5835-8E17-443E-9E29-207E73868E13@pacifier.com> <7c87a2a10904241856v49f4170dm4a08c5db0a84d609@mail.gmail.com> <5A2C6C8A-AC8E-4999-AFCB-4E4C78E37636@clubtype.co.uk> <4A046014.2090605@dreamscapesoftware.com> <4A04774D.4080309@hyperactivesw.com> Message-ID: I do roughly the same as the other posters - with the exception that for certain projects where there is quite a bit of platform specific code I branch these not within the handler, but out to platform specific handlers that are then kept in platform specific libraries. That way the switching comes to switching libraries - in cases where you want the same project say on a usb-stick to work on multiple platforms - then you would either have stub handlers that do the switching internally or better have a load library routine that loads the appropriate platform dependent library. Still I use the all contained in one handler technique for most of the simpler cases. From scott at tactilemedia.com Fri May 8 14:50:05 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 08 May 2009 11:50:05 -0700 Subject: Another newb question - How to you clear a field? In-Reply-To: <4A047AC4.4090905@hyperactivesw.com> Message-ID: Recently, J. Landman Gay wrote: > if literal > names are not quoted, the engine takes twice as long to execute the > statement because of the additional lookup. Jacque, is this really true? I've developed a construction/coding style over the years of naming card objects with an underscore ( _coolfield ) and using quotes only for messages ( send "nextMessage" to me in 50 millisecs ) and anything else that *must* be literal ( dynamic object names: field "_cool" & tNum ). I just prefer the appearance of the code -- it's fewer characters and makes the code more readable to me. But if it is true that execution takes longer when referencing object names without quotes, then this would be a good reason to get back into quoting the names. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From johncanmail-all at yahoo.it Fri May 8 15:00:03 2009 From: johncanmail-all at yahoo.it (Giovanni Cannizzaro) Date: Fri, 08 May 2009 21:00:03 +0200 Subject: Math issue, isn't it? Message-ID: <4A048133.8000102@yahoo.it> hi all!!! I've a little math issue!!! Try to put this in ur message box: put 283.67-150.00-133.67>0 It's surely false ('cause 283.67-150.00-133.67 it' equal to 0) but Revolution says me it's TRUE! Can u confirm this? What's the matter? Why this strange behavior? TY. bye- From palcibiades-first at yahoo.co.uk Fri May 8 15:12:36 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 8 May 2009 12:12:36 -0700 (PDT) Subject: App on Linux - really slow... any ideas why? In-Reply-To: References: <251291945718.20090505134646@ahsoftware.net> <23443844.post@talk.nabble.com> <801534000609.20090508090101@ahsoftware.net> <23450613.post@talk.nabble.com> Message-ID: <23451796.post@talk.nabble.com> None of my scripts are very long, that might have been why the problems didn't happen. But I did have a rea editingl slowdown problem even so in 2.8.1. It was not to do with scrolling, but just with typing. Sometimes for no discernable reason, when you typed, it would take almost a second for the character to register. It was so bad I gave up and just used an external text editor. But this seems to have gone away totally with 2.9 and later releases. I had a funny problem with gm1: the browse/pointer tool in the toolbar didn't work properly. There was no pointer icon. You had to select it from the tools menu item. gm2 seems to have fixed this. The other thing that is different about my configuration is that I don't have an Ubuntu installation. My own system is Debian, and the ones my stuff is being used on are Mandriva One KDE - I've kept them to 2008.1, being afraid to inflict KDE 4 on the unwary, but probably will take them to 2009 soon, now that KDE seems to have settled down. -- View this message in context: http://www.nabble.com/App-on-Linux---really-slow...-any-ideas-why--tp23393374p23451796.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Fri May 8 15:13:43 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 08 May 2009 14:13:43 -0500 Subject: Another newb question - How to you clear a field? In-Reply-To: References: Message-ID: <4A048467.90405@hyperactivesw.com> Scott Rossi wrote: > Recently, J. Landman Gay wrote: > >> if literal >> names are not quoted, the engine takes twice as long to execute the >> statement because of the additional lookup. > > Jacque, is this really true? I confess I made up the "twice as long" part, I don't really have any hard numbers on the increase. But as I understand it, it takes longer. Though with Rev being as fast as it is, the delay is probably not very noticeable most of the time. On a tangent, another thing that takes longer is the omission of "the" when refering to properties; again, just because the engine has to do a second level of interpretation. You see a lot of this: set cursor to none set name of field 1 to "whatever" Not a good habit, though the engine has no problem with it. I believe it also takes slightly longer to use abbreviations ("fld", "cd", etc) because that also requires a second-level lookup, but I for one refuse to give those up. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From coiin at rcn.com Fri May 8 15:18:48 2009 From: coiin at rcn.com (Colin Holgate) Date: Fri, 8 May 2009 15:18:48 -0400 Subject: Math issue, isn't it? In-Reply-To: <4A048133.8000102@yahoo.it> References: <4A048133.8000102@yahoo.it> Message-ID: <56A42104-A646-4DA1-8788-EC26362F6B2D@rcn.com> On May 8, 2009, at 3:00 PM, Giovanni Cannizzaro wrote: > It's surely false ('cause 283.67-150.00-133.67 it' equal to 0) > but Revolution says me it's TRUE! > Can u confirm this? > What's the matter? Why this strange behavior? You might think that it equals zero, but it doesn't. Try this test: set the numberformat to "#.00000000000000000" put 283.67-150.00-133.67 you get 0.00000000000002842 I'm guessing it's something to do with the limitations of 32 bit arithmetic. From scott at tactilemedia.com Fri May 8 15:21:34 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 08 May 2009 12:21:34 -0700 Subject: Another newb question - How to you clear a field? In-Reply-To: <4A048467.90405@hyperactivesw.com> Message-ID: Recently, J. Landman Gay wrote: > On a tangent, another thing that takes longer is the omission of "the" > when refering to properties; again, just because the engine has to do a > second level of interpretation. You see a lot of this: > > set cursor to none > set name of field 1 to "whatever" > > Not a good habit, though the engine has no problem with it. I believe it > also takes slightly longer to use abbreviations ("fld", "cd", etc) > because that also requires a second-level lookup, but I for one refuse > to give those up. Good god, I'm guilty of all these things. :-) Actually, it's pretty amusing that one is penalized for being concise. Maybe I'll stick with my "bad" habits (there, I quoted). Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From jacque at hyperactivesw.com Fri May 8 15:25:38 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 08 May 2009 14:25:38 -0500 Subject: Another newb question - How to you clear a field? In-Reply-To: References: Message-ID: <4A048732.5040002@hyperactivesw.com> Scott Rossi wrote: > Recently, J. Landman Gay wrote: > >> On a tangent, another thing that takes longer is the omission of "the" >> when refering to properties; again, just because the engine has to do a >> second level of interpretation. You see a lot of this: >> >> set cursor to none >> set name of field 1 to "whatever" >> >> Not a good habit, though the engine has no problem with it. I believe it >> also takes slightly longer to use abbreviations ("fld", "cd", etc) >> because that also requires a second-level lookup, but I for one refuse >> to give those up. > > Good god, I'm guilty of all these things. :-) LOL! I'm guilty of some of them too, but it's really odd which ones. For example, I *always* include "the" when referring to properties -- except when setting the cursor, which I simply can't force myself to change, so I always write "set cursor to none". Weird, the human mind. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephen at networkxfla.com Fri May 8 15:35:26 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Fri, 08 May 2009 15:35:26 -0400 Subject: Another newb question - How to you clear a field? In-Reply-To: <4A048732.5040002@hyperactivesw.com> Message-ID: And you just answered another question I was about to scan the Dictionary for. Thanks. -Stephen Cox On 5/8/09 3:25 PM, "J. Landman Gay" wrote: > "set cursor to none" From jacque at hyperactivesw.com Fri May 8 15:44:02 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 08 May 2009 14:44:02 -0500 Subject: Another newb question - How to you clear a field? In-Reply-To: References: Message-ID: <4A048B82.6010309@hyperactivesw.com> Stephen Cox wrote: > And you just answered another question I was about to scan the Dictionary > for. Thanks. > > -Stephen Cox > > > On 5/8/09 3:25 PM, "J. Landman Gay" wrote: > >> "set cursor to none" Yeah, well, since you're new, *you* have to write "set the cursor to none". The rest of us will continue to use our bad habits. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From userevolution at dreamscapesoftware.com Fri May 8 15:52:17 2009 From: userevolution at dreamscapesoftware.com (Derek Bump - Dreamscape Software) Date: Fri, 08 May 2009 14:52:17 -0500 Subject: Preferred Multi-Platform Development Method In-Reply-To: <4A046014.2090605@dreamscapesoftware.com> References: <00035DC1.49E8EDB9@the-office.us> <225C5835-8E17-443E-9E29-207E73868E13@pacifier.com> <7c87a2a10904241856v49f4170dm4a08c5db0a84d609@mail.gmail.com> <5A2C6C8A-AC8E-4999-AFCB-4E4C78E37636@clubtype.co.uk> <4A046014.2090605@dreamscapesoftware.com> Message-ID: <4A048D71.4080207@dreamscapesoftware.com> Well thank you Richard, Phil, Jacqueline and David for taking the time to give your opinion. Your answers were excellent and really helped me understand how everyone else is using Revolution on multiple platforms. Some of you did touch on the next question I had. Do you folks prefer to hard-code your interface handlers for each platform, or do any of you utilize the Property Profiles feature? I messed around with Property Profiles a few years ago, but was displeased due to the constant updating of properties that I didn't want updated. Also, the profiles feature was broken in Standalones at the time. Would you folks recommend hard-coding the interface items per platform, or use Property Profiles instead? Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___________________________________________________________________ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ Derek Bump - Dreamscape Software wrote: > I'm just curious, but for those of you who have an Enterprise license, > how do you develop your stacks/standalones for multiple platforms? > > Do you keep each platform separate and write the same stack for each > platform itself? Or do you have 1 stack file and use Property Profiles > and platform() functions to determine functionality? > > I guess I'm just looking for some incite as to how I should attack each > platform with my current and future projects. 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/ > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Fri May 8 15:54:08 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Fri, 8 May 2009 12:54:08 -0700 Subject: Another newb question - How to you clear a field? In-Reply-To: <4A048B82.6010309@hyperactivesw.com> References: <4A048B82.6010309@hyperactivesw.com> Message-ID: <35699700-4B70-4224-AF8C-99A920055110@cox.net> Hey Jacque, Has no one ever put together an FAQ for Rev newbies? I realize that could be a pretty horrendous effort, but should be useful and doable. Joe Wilkins On May 8, 2009, at 12:44 PM, J. Landman Gay wrote: > Yeah, well, since you're new, *you* have to write "set the cursor to > none". The rest of us will continue to use our bad habits. :) > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Joe Lewis Wilkins Architect Director of Product Development for GSI 760-738-1721 From dave.cragg at lacscentre.co.uk Fri May 8 15:59:40 2009 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 8 May 2009 20:59:40 +0100 Subject: Another newb question - How to you clear a field? In-Reply-To: <4A048467.90405@hyperactivesw.com> References: <4A048467.90405@hyperactivesw.com> Message-ID: <00C80CFB-600C-435E-8056-1421E6994073@lacscentre.co.uk> On 8 May 2009, at 20:13, J. Landman Gay wrote: > Scott Rossi wrote: >> Recently, J. Landman Gay wrote: >>> if literal names are not quoted, the engine takes twice as long to >>> execute the >>> statement because of the additional lookup. >> Jacque, is this really true? > > I confess I made up the "twice as long" part, I don't really have > any hard numbers on the increase. I do. :-) I've held the same belief as yourself. It looks like we're wrong. On my machine (an intel mac)), 100,000 accesses of a field (get field whatever) takes about 95ms for both quoted and unquoted field names. (The field contains about 140 characters) Actually, on average, using a quoted name takes about 2ms longer (for 100,000 accesses). Accessing the field by its number takes about 85 ms. And by its ID takes about 80ms. Knowledge is power. I bet Bill Gates doesn't know this. Cheers Dave From bobs at twft.com Fri May 8 16:06:00 2009 From: bobs at twft.com (Bob Sneidar) Date: Fri, 8 May 2009 13:06:00 -0700 Subject: Math issue, isn't it? In-Reply-To: <56A42104-A646-4DA1-8788-EC26362F6B2D@rcn.com> References: <4A048133.8000102@yahoo.it> <56A42104-A646-4DA1-8788-EC26362F6B2D@rcn.com> Message-ID: <0ECBE5BF-4516-4E8C-9CE3-95EBD635B161@twft.com> OK That is scary. 32 bit or no that should not be happening. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On May 8, 2009, at 12:18 PM, Colin Holgate wrote: > > On May 8, 2009, at 3:00 PM, Giovanni Cannizzaro wrote: > >> It's surely false ('cause 283.67-150.00-133.67 it' equal to 0) >> but Revolution says me it's TRUE! >> Can u confirm this? >> What's the matter? Why this strange behavior? > > > You might think that it equals zero, but it doesn't. Try this test: > > set the numberformat to "#.00000000000000000" > put 283.67-150.00-133.67 > > you get 0.00000000000002842 > > I'm guessing it's something to do with the limitations of 32 bit > arithmetic. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephen at networkxfla.com Fri May 8 16:08:34 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Fri, 08 May 2009 16:08:34 -0400 Subject: Another newb question - How to you clear a field? In-Reply-To: <35699700-4B70-4224-AF8C-99A920055110@cox.net> Message-ID: The biggest problem I am having is figuring out what to search for. The language is so unique. So take my question about emptying a field. Be easy in an OOP language: empty(Text_field.text) - or something to that effect. So I would search on "empty" and get tons of info on the function and various examples.. AND user comments. Now in Revolution it's also easy but completely different then any of language. So I search the Dictionary on "empty", got nothing; then "Text Entry Field", got nothing; then asked here. I'm not harping on Revolution. I like it. It's just different from anything else on the market. So a FAQ that shows JAVA or C syntax alongside Revolution would be a god-send. Just some common functions and procedures. The manual is good, but has no reference to other languages. It would help get my head out of OOP into Revolution. On 5/8/09 3:54 PM, "Joe Lewis Wilkins" wrote: > Hey Jacque, > > Has no one ever put together an FAQ for Rev newbies? I realize that > could be a pretty horrendous effort, but should be useful and doable. > > Joe Wilkins > > On May 8, 2009, at 12:44 PM, J. Landman Gay wrote: > >> Yeah, well, since you're new, *you* have to write "set the cursor to >> none". The rest of us will continue to use our bad habits. :) >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com > > Joe Lewis Wilkins > Architect > Director of Product Development for GSI > 760-738-1721 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 May 8 16:08:42 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 8 May 2009 13:08:42 -0700 Subject: Another newb question - How to you clear a field? In-Reply-To: <4A048467.90405@hyperactivesw.com> References: <4A048467.90405@hyperactivesw.com> Message-ID: <411548861906.20090508130842@ahsoftware.net> Jacque- Friday, May 8, 2009, 12:13:43 PM, you wrote: > I confess I made up the "twice as long" part, I don't really have any > hard numbers on the increase. But as I understand it, it takes longer. > Though with Rev being as fast as it is, the delay is probably not very > noticeable most of the time. I don't have hard numbers for this either, but it does take marginally longer. And as Jacque said, probably not enough to worry about unless you're processing a loop. Another thing that surprised me is that saying "the last word" or "the first word" also takes longer to execute than "word -1" or "word 1". I figured "first and "last" would automatically get compiled down to primitive bytecode, but apparently that's not the case. -- -Mark Wieder mwieder at ahsoftware.net From mdswindell at cruzio.com Fri May 8 16:15:43 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Fri, 8 May 2009 13:15:43 -0700 Subject: Math issue, isn't it? In-Reply-To: <56A42104-A646-4DA1-8788-EC26362F6B2D@rcn.com> References: <4A048133.8000102@yahoo.it> <56A42104-A646-4DA1-8788-EC26362F6B2D@rcn.com> Message-ID: <6B8995DD-562A-4CBA-A34B-9A0DFA771C5E@cruzio.com> set the numberFormat to 0.## put 283.67-150.00-133.67 returns 0 _______ set the numberFormat to 0.## put 283.67-150.00-133.67>0 returns true ________ put 0 > 0 returns false On May 8, 2009, at 12:18 PM, Colin Holgate wrote: > > On May 8, 2009, at 3:00 PM, Giovanni Cannizzaro wrote: > >> It's surely false ('cause 283.67-150.00-133.67 it' equal to 0) >> but Revolution says me it's TRUE! >> Can u confirm this? >> What's the matter? Why this strange behavior? > > > You might think that it equals zero, but it doesn't. Try this test: > > set the numberformat to "#.00000000000000000" > put 283.67-150.00-133.67 > > you get 0.00000000000002842 > > I'm guessing it's something to do with the limitations of 32 bit > arithmetic. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Fri May 8 16:28:33 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 08 May 2009 13:28:33 -0700 Subject: Math issue, isn't it? Message-ID: <4A0495F1.9040503@fourthworld.com> Colin Holgate wrote: > On May 8, 2009, at 3:00 PM, Giovanni Cannizzaro wrote: > >> It's surely false ('cause 283.67-150.00-133.67 it' equal to 0) >> but Revolution says me it's TRUE! >> Can u confirm this? >> What's the matter? Why this strange behavior? > > You might think that it equals zero, but it doesn't. Try this test: > > set the numberformat to "#.00000000000000000" > put 283.67-150.00-133.67 > > you get 0.00000000000002842 > > I'm guessing it's something to do with the limitations of 32 bit > arithmetic. Ah, the age-old question left unanswered by the designers of microchip instruction sets: Do machines serve human or do humans serve machines? -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com From devin_asay at byu.edu Fri May 8 16:30:55 2009 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 8 May 2009 14:30:55 -0600 Subject: Another newb question - How to you clear a field? In-Reply-To: References: Message-ID: On May 8, 2009, at 2:08 PM, Stephen Cox wrote: > The biggest problem I am having is figuring out what to search for. > The > language is so unique. So take my question about emptying a field. > Be easy > in an OOP language: empty(Text_field.text) - or something to that > effect. > So I would search on "empty" and get tons of info on the function and > various examples.. AND user comments. > > Now in Revolution it's also easy but completely different then any of > language. So I search the Dictionary on "empty", got nothing; then > "Text > Entry Field", got nothing; then asked here. > > I'm not harping on Revolution. I like it. It's just different from > anything > else on the market. So a FAQ that shows JAVA or C syntax alongside > Revolution would be a god-send. Just some common functions and > procedures. > The manual is good, but has no reference to other languages. It > would help > get my head out of OOP into Revolution. Welcome, Stephen. I teach Revolution classes for complete novices, and I have my tutorials online at http://revolution.byu.edu Even though you're an experienced programmer, you might find some of the tutorials useful, especially the ones on the Revolution scripting language, because I describe how basic concepts in the language work-- things like variables, literals, if-then, and loops. There's another link for Scripting Language Examples, that just shows examples of various statements. And please don't stop asking newbie questions. As Jacque said, we love them, and they're a lot more fun that some of the esoterica we engage in here. Regards, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From coiin at rcn.com Fri May 8 16:30:16 2009 From: coiin at rcn.com (Colin Holgate) Date: Fri, 8 May 2009 16:30:16 -0400 Subject: Math issue, isn't it? In-Reply-To: <6B8995DD-562A-4CBA-A34B-9A0DFA771C5E@cruzio.com> References: <4A048133.8000102@yahoo.it> <56A42104-A646-4DA1-8788-EC26362F6B2D@rcn.com> <6B8995DD-562A-4CBA-A34B-9A0DFA771C5E@cruzio.com> Message-ID: <69E5E3F8-F24A-4548-821F-CDEADF1B8E55@rcn.com> On May 8, 2009, at 4:15 PM, Mark Swindell wrote: > set the numberFormat to 0.## > put 283.67-150.00-133.67 > > returns 0 numberFormat only affects how the number is displayed, it doesn't affect the value of the number behind the scenes. From pepetoo at cox.net Fri May 8 16:38:05 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Fri, 8 May 2009 13:38:05 -0700 Subject: Another newb question - How to you clear a field? In-Reply-To: References: Message-ID: Stephen, The majority of us who use Rev have a background in HyperCard; going way back. There are an abundance of inexpensive, used books on that topic. Since much of the "basic" rev language is derived from HC, reading such a book would be an easy method of cluing you in to Rev's language. For HyperCard the language was called HyperTalk. I wouldn't be surprised if there were a great deal of commentary regarding same on the Web. You might want to Google it and see what you come up with. Otherwise, I suppose this list is your best source for that kind of help. Joe Wilkins On May 8, 2009, at 1:08 PM, Stephen Cox wrote: > The biggest problem I am having is figuring out what to search for. > The > language is so unique. So take my question about emptying a field. > Be easy > in an OOP language: empty(Text_field.text) - or something to that > effect. > So I would search on "empty" and get tons of info on the function and > various examples.. AND user comments. > > Now in Revolution it's also easy but completely different then any of > language. So I search the Dictionary on "empty", got nothing; then > "Text > Entry Field", got nothing; then asked here. > > I'm not harping on Revolution. I like it. It's just different from > anything > else on the market. So a FAQ that shows JAVA or C syntax alongside > Revolution would be a god-send. Just some common functions and > procedures. > The manual is good, but has no reference to other languages. It > would help > get my head out of OOP into Revolution. From mdswindell at cruzio.com Fri May 8 16:40:20 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Fri, 8 May 2009 13:40:20 -0700 Subject: Math issue, isn't it? In-Reply-To: <69E5E3F8-F24A-4548-821F-CDEADF1B8E55@rcn.com> References: <4A048133.8000102@yahoo.it> <56A42104-A646-4DA1-8788-EC26362F6B2D@rcn.com> <6B8995DD-562A-4CBA-A34B-9A0DFA771C5E@cruzio.com> <69E5E3F8-F24A-4548-821F-CDEADF1B8E55@rcn.com> Message-ID: <927C1BB6-9D3C-42DD-B282-C916E8C9C1F2@cruzio.com> I didn't know that. Thanks. On May 8, 2009, at 1:30 PM, Colin Holgate wrote: > > On May 8, 2009, at 4:15 PM, Mark Swindell wrote: > >> set the numberFormat to 0.## >> put 283.67-150.00-133.67 >> >> returns 0 > > numberFormat only affects how the number is displayed, it doesn't > affect the value of the number behind the scenes. > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Fri May 8 16:44:49 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 08 May 2009 23:44:49 +0300 Subject: Math issue, isn't it? In-Reply-To: <4A0495F1.9040503@fourthworld.com> References: <4A0495F1.9040503@fourthworld.com> Message-ID: <4A0499C1.6010706@gmail.com> "Do machines serve human or do humans serve machines? " According to my wife . . . :) Richard Gaskin wrote: > Colin Holgate wrote: > >> On May 8, 2009, at 3:00 PM, Giovanni Cannizzaro wrote: >> >>> It's surely false ('cause 283.67-150.00-133.67 it' equal to 0) >>> but Revolution says me it's TRUE! >>> Can u confirm this? >>> What's the matter? Why this strange behavior? >> >> You might think that it equals zero, but it doesn't. Try this test: >> >> set the numberformat to "#.00000000000000000" >> put 283.67-150.00-133.67 >> >> you get 0.00000000000002842 >> >> I'm guessing it's something to do with the limitations of 32 bit >> arithmetic. > > Ah, the age-old question left unanswered by the designers of microchip > instruction sets: > > Do machines serve human or do humans serve machines? > > > > > -- > Richard Gaskin > Fourth World > Revolution training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bobs at twft.com Fri May 8 16:56:48 2009 From: bobs at twft.com (Bob Sneidar) Date: Fri, 8 May 2009 13:56:48 -0700 Subject: Math issue, isn't it? In-Reply-To: <69E5E3F8-F24A-4548-821F-CDEADF1B8E55@rcn.com> References: <4A048133.8000102@yahoo.it> <56A42104-A646-4DA1-8788-EC26362F6B2D@rcn.com> <6B8995DD-562A-4CBA-A34B-9A0DFA771C5E@cruzio.com> <69E5E3F8-F24A-4548-821F-CDEADF1B8E55@rcn.com> Message-ID: <59BBD2E4-1307-45BC-A804-B4DEA13CF401@twft.com> Then the question becomes, should the IDE be doing math on the real number or the displayed number? I vote for the displayed number because that means I can have some kind of control over the outcome. Clearly if some calculation that comes up with a number cannot be compared to a literal for equal/not equal, then all accounting is out the window. This cannot be an intended behavior!!?! Bob Sneidar IT Manager Logos Management Calvary Chapel CM On May 8, 2009, at 1:30 PM, Colin Holgate wrote: > > On May 8, 2009, at 4:15 PM, Mark Swindell wrote: > >> set the numberFormat to 0.## >> put 283.67-150.00-133.67 >> >> returns 0 > > numberFormat only affects how the number is displayed, it doesn't > affect the value of the number behind the scenes. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephen at networkxfla.com Fri May 8 16:56:54 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Fri, 08 May 2009 16:56:54 -0400 Subject: Newbie question - Set the cursor to.... Message-ID: I?m gonna preface [the subject] all my questions with ?Newbie? so those who have no interest in nubs can move on. Trust, I know it can be painful. ;) I got a card. With a label or button. I want to change the cursor of the mouse to a hand then back to arrow when the user moves on/off the object. on mouseEnter set the cursor to hand end mouseEnter on mouseLeave set the cursor to arrow end mouseLeave The above should work? Or am I missing something about the cursor command? I placed a breakpoint and followed the code. It fires, just doesn?t change the cursor. Maybe I?m using mouseEnter/mouseLeave incorrectly? Thanks for any info. -Stephen Cox From stephen at networkxfla.com Fri May 8 16:58:57 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Fri, 08 May 2009 16:58:57 -0400 Subject: Another newb question - How to you clear a field? In-Reply-To: Message-ID: Bookmarked. In fact, let me spend some time going over it now. Might have to waste less of your time on this list. Thanks. -Stephen Cox On 5/8/09 4:30 PM, "Devin Asay" wrote: > > Welcome, Stephen. > > > I teach Revolution classes for complete novices, and I have my > tutorials online at > > http://revolution.byu.edu > > Even though you're an experienced programmer, you might find some of > the tutorials useful, especially the ones on the Revolution scripting > language, because I describe how basic concepts in the language work-- > things like variables, literals, if-then, and loops. There's another > link for Scripting Language Examples, that just shows examples of > various statements. > From richmondmathewson at gmail.com Fri May 8 17:00:09 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 09 May 2009 00:00:09 +0300 Subject: Another newb question - How to you clear a field? In-Reply-To: References: Message-ID: <4A049D59.9010007@gmail.com> Stephen Cox wrote: "Be easy in an OOP language" that begs the question: Have you ever tried saying "Please can I have a glass of beer?" in Bulgarian? I find it easy, because I speak the language. However, ask me to clear a field in an OOP language and I be quite unable to do it. :) Actually, Joe Lewis Wilkins' advice is very good indeed. Coupled with the PDF file that comes with RR, the in-built Documentation, and; speaking as somebody who works down in the "babyish end" of Runtime Revolution programming: ME. Ask away, and I will either give you an answer, or, at worst, say that I don't know. Luckily this is a fantastic list where most contributors are not going to look down their noses at you, but, more likely, bend over backwards to help you. " It's just different from anything else on the market." Nonsense! :) Supercard (which only works on Mac and Windows) is also descended from Hypercard and uses a programming language that has evolved from Hypertalk. Toolbook has also evolved from the same origins (although the relation is now about as clear as that between an elephant and a hyrax). What is, maybe, different, is the metaphor of a stack of cards, and the idea that every object has its own script that appears in its own instantiation of the script editor - unlike, for instance, the long list of object codes in Visual Basic. The language is, 99% of the time, a lot less obscure than other programming languages because its predecessor, Hypertalk, was initially designed for non-programmers. Once you realise that, relax a bit (the learning curve is not nearly as bad as scaling Mount Everest), and do a bit of thinking about how the metaphor might work you should get up to speed relatively quickly; especially if you can silence all the niggles and doubts leaking in from your knowledge of other programming environments. Joe Lewis Wilkins wrote: > Stephen, > > The majority of us who use Rev have a background in HyperCard; going > way back. There are an abundance of inexpensive, used books on that > topic. Since much of the "basic" rev language is derived from HC, > reading such a book would be an easy method of cluing you in to Rev's > language. For HyperCard the language was called HyperTalk. I wouldn't > be surprised if there were a great deal of commentary regarding same > on the Web. You might want to Google it and see what you come up with. > Otherwise, I suppose this list is your best source for that kind of help. > > Joe Wilkins > > On May 8, 2009, at 1:08 PM, Stephen Cox wrote: > >> The biggest problem I am having is figuring out what to search for. The >> language is so unique. So take my question about emptying a field. Be >> easy >> in an OOP language: empty(Text_field.text) - or something to that >> effect. >> So I would search on "empty" and get tons of info on the function and >> various examples.. AND user comments. >> >> Now in Revolution it's also easy but completely different then any of >> language. So I search the Dictionary on "empty", got nothing; then "Text >> Entry Field", got nothing; then asked here. >> >> I'm not harping on Revolution. I like it. It's just different from >> anything >> else on the market. So a FAQ that shows JAVA or C syntax alongside >> Revolution would be a god-send. Just some common functions and >> procedures. >> The manual is good, but has no reference to other languages. It would >> help >> get my head out of OOP into 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 iowahengst at mac.com Fri May 8 17:06:50 2009 From: iowahengst at mac.com (Randy Hengst) Date: Fri, 08 May 2009 16:06:50 -0500 Subject: Math issue, isn't it? In-Reply-To: <4A048133.8000102@yahoo.it> References: <4A048133.8000102@yahoo.it> Message-ID: If it helps your current issue, using numberFormat as previously mentioned and round will give you the false you're expecting.... set the numberFormat to 0.## put round(283.67-150.00-133.67)>0 However, I've wondered about this myself.... at what point does the error show itself? because using put 10-10>0 in the message box yields false. put 100-90.3- 9.7>0 yields true put 100-90.33- 9.67>0 yields false take care, randy ----- On May 8, 2009, at 2:00 PM, Giovanni Cannizzaro wrote: > hi all!!! > I've a little math issue!!! > Try to put this in ur message box: > > put 283.67-150.00-133.67>0 > > It's surely false ('cause 283.67-150.00-133.67 it' equal to 0) > but Revolution says me it's TRUE! > Can u confirm this? > What's the matter? Why this strange behavior? > > TY. bye- > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Fri May 8 17:07:26 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 09 May 2009 00:07:26 +0300 Subject: Newbie question - Set the cursor to.... In-Reply-To: References: Message-ID: <4A049F0E.9000103@gmail.com> Very badly documented: on mouseEnter set the lockCursor to true set the cursor to hand end mouseEnter on mouseLeave set the cursor to arrow set the lockCursor to false end mouseLeave Stephen Cox wrote: > I?m gonna preface [the subject] all my questions with ?Newbie? so those who > have no interest in nubs can move on. Trust, I know it can be painful. ;) > > I got a card. With a label or button. I want to change the cursor of the > mouse to a hand then back to arrow when the user moves on/off the object. > > on mouseEnter > set the cursor to hand > end mouseEnter > > on mouseLeave > set the cursor to arrow > end mouseLeave > > The above should work? Or am I missing something about the cursor command? I > placed a breakpoint and followed the code. It fires, just doesn?t change the > cursor. > > Maybe I?m using mouseEnter/mouseLeave incorrectly? > > Thanks for any info. > > -Stephen Cox > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From stephen at networkxfla.com Fri May 8 17:09:12 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Fri, 08 May 2009 17:09:12 -0400 Subject: Another newb question - How to you clear a field? In-Reply-To: <4A049D59.9010007@gmail.com> Message-ID: By the way, I got the printed user guide. Now this "guide" is one of the best tech books I've seen. Thank you Revolution for using a font I can actually read without using a magnifier. -Stephen Cox On 5/8/09 5:00 PM, "Richmond Mathewson" wrote: > Coupled with > the PDF file > that comes with RR, From scott at tactilemedia.com Fri May 8 17:11:06 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 08 May 2009 14:11:06 -0700 Subject: Math issue, isn't it? In-Reply-To: <59BBD2E4-1307-45BC-A804-B4DEA13CF401@twft.com> Message-ID: Recently, Bob Sneidar wrote: > Then the question becomes, should the IDE be doing math on the real > number or the displayed number? I vote for the displayed number > because that means I can have some kind of control over the outcome. > Clearly if some calculation that comes up with a number cannot be > compared to a literal for equal/not equal, then all accounting is out > the window. This cannot be an intended behavior!!?! As others have said, the issue arises due to the decimal values -- if integers are used, the comparison works "correctly" (and I'd prefer not to argue over what is "correct"). I don't know if this is an acceptable solution but when I use the value function, I get the expected result: put value(283.67 - 150 - 133.67) = 0 Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From m.schonewille at economy-x-talk.com Fri May 8 17:11:14 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 8 May 2009 23:11:14 +0200 Subject: Newbie question - Set the cursor to.... In-Reply-To: References: Message-ID: <67C1EABD-7BB9-44C3-A0F2-CAA76462B06A@economy-x-talk.com> Hi Stephen, You need to lock the cursor right before or after setting it. Otherwise, the cursor will be reset as soon as the handler finishes running. on mouseEnter lock cursor set the cursor to hand end mouseEnter on mouseLeave set the cursor to arrow unlock cursor end mouseLeave You may need to put the unlock cursor command in multiple places. For example, there may be situation where going to a new cards imlplies a cursor change. on preOpenCard unlock cursor end preOpenCard There is also a property defaultCursor, which might be useful. You can find more about it in the docs. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum New: Snapper Screen Recorder 2.0.1 Download at http://snapper.economy-x-talk.com On 8 mei 2009, at 22:56, Stephen Cox wrote: > I?m gonna preface [the subject] all my questions with ?Newbie? so > those who > have no interest in nubs can move on. Trust, I know it can be > painful. ;) > > I got a card. With a label or button. I want to change the cursor of > the > mouse to a hand then back to arrow when the user moves on/off the > object. > > on mouseEnter > set the cursor to hand > end mouseEnter > > on mouseLeave > set the cursor to arrow > end mouseLeave > > The above should work? Or am I missing something about the cursor > command? I > placed a breakpoint and followed the code. It fires, just doesn?t > change the > cursor. > > Maybe I?m using mouseEnter/mouseLeave incorrectly? > > Thanks for any info. > > -Stephen Cox From pepetoo at cox.net Fri May 8 17:17:51 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Fri, 8 May 2009 14:17:51 -0700 Subject: Newbie question - Set the cursor to.... In-Reply-To: References: Message-ID: <53AAA146-CE40-46F5-9134-1E225A815945@cox.net> Stephen, As the most useful tip I can think of for someone NOT familiar with HC, learn to use the messageBox, which you may display by clicking on the third icon from the left in the Rev Toolbar. It allows you to test bits of code without having to do a lot of development. Importantly, it has two modes: a single line and a multi-line. Anytime you wonder if you have something that may work, test it in the messageBox. With the multi-line mode you can test some pretty advanced scripts. It was one of the very best features brought over to Rev from HC. It is always available when working in the IDE. HTH, Joe Wilkins On May 8, 2009, at 1:56 PM, Stephen Cox wrote: > I?m gonna preface [the subject] all my questions with ?Newbie? so > those who > have no interest in nubs can move on. Trust, I know it can be > painful. ;) > > I got a card. With a label or button. I want to change the cursor of > the > mouse to a hand then back to arrow when the user moves on/off the > object. > > on mouseEnter > set the cursor to hand > end mouseEnter > > on mouseLeave > set the cursor to arrow > end mouseLeave > > The above should work? Or am I missing something about the cursor > command? I > placed a breakpoint and followed the code. It fires, just doesn?t > change the > cursor. > > Maybe I?m using mouseEnter/mouseLeave incorrectly? > > Thanks for any info. > > -Stephen Cox From pepetoo at cox.net Fri May 8 17:26:04 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Fri, 8 May 2009 14:26:04 -0700 Subject: Newbie question - Set the cursor to.... In-Reply-To: <4A049F0E.9000103@gmail.com> References: <4A049F0E.9000103@gmail.com> Message-ID: Stephen, One of the frustrating aspects about both HC and Rev is that the same things may be accomplished in a number of different ways. And assignments are particularly so, since you have to do things like: put 20 into tVar instead of what you might expect tVar = 20 Which is one of the reasons the messageBox is so important. Testing, testing, testing. The set, put and get concepts are fundamental. Joe Wilkins On May 8, 2009, at 2:07 PM, Richmond Mathewson wrote: > Very badly documented: > > on mouseEnter > set the lockCursor to true > set the cursor to hand > end mouseEnter > > on mouseLeave > set the cursor to arrow > set the lockCursor to false > end mouseLeave From david_beck at ministerschedulerpro.com Fri May 8 17:31:58 2009 From: david_beck at ministerschedulerpro.com (David Beck) Date: Fri, 08 May 2009 14:31:58 -0700 Subject: Preferred Multi-Platform Development Method In-Reply-To: <20090508204029.16BDF48B27B@mail.runrev.com> References: <20090508204029.16BDF48B27B@mail.runrev.com> Message-ID: <4A04A4CE.4090809@ministerschedulerpro.com> We are just starting to play around with building stacks for the Mac. We have concentrated exclusively on Windows in the past since that is where the majority of our user base is. However, I have had many requests for a Mac version of the volunteer scheduling software we produce. I can't believe how easy it looks like it will be to migrate to Mac. I tried it the other day and everything just works! It is incredible. Working with Rev just keeps getting better and better! My only question is where to store the preferences that we are storing in the Windows Registry. We do have a mechanism to store preferences, but there are certain preferences that are system wide, and should not change based on the user of the computer (e.g. the install path of a standalone application, etc.). Any advice on where to store these global system-wide preferences on the Mac? Richard, I understand you are using a stackfile for preferences. How exactly do you implement this? That is, what calls do you use to get and set preferences in the stackfile? Does the folder you mentioned (specialApplicationFolder("preferences")) change based on the current user or is it system wide? Also, are there any permissions issues to be careful about? Thanks very much in advance for any guidance! -- David Beck Rotunda Software www.ministryschedulerpro.com From jacque at hyperactivesw.com Fri May 8 17:33:22 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 08 May 2009 16:33:22 -0500 Subject: Another newb question - How to you clear a field? In-Reply-To: References: Message-ID: <4A04A522.4040102@hyperactivesw.com> Stephen Cox wrote: > So I search the Dictionary on "empty", got nothing; It's in there, in its own entry. You do have to make sure that the "all" category is chosen in the left side column though, otherwise the dictionary will filter results to include only those in the selected category. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From johncanmail-all at yahoo.it Fri May 8 17:43:26 2009 From: johncanmail-all at yahoo.it (Giovanni Cannizzaro) Date: Fri, 08 May 2009 23:43:26 +0200 Subject: Math issue, isn't it? Message-ID: <4A04A77E.9060405@yahoo.it> First of all, thank u for ur reply! I've senn my question it's flaming, right now!!! But my last and most important questions are: in what measure I can trust in Revolution's logical valutation? Why Revolution replies in this way to a so simple question? In what condition I've to expect these strange behaviors? Hoping u can open my eyes!!! See u guys! From bobs at twft.com Fri May 8 17:49:44 2009 From: bobs at twft.com (Bob Sneidar) Date: Fri, 8 May 2009 14:49:44 -0700 Subject: Math issue, isn't it? In-Reply-To: References: Message-ID: <67EDCDEC-6D52-4E99-9ABF-A5F03DE3243E@twft.com> Yes, but my point was if someone was creating an Accounting application, he would have to know to wrap all of his equations in value(), otherwise he could not do any logical comparisons on equated values. While your approach works, I think that the better approach is for this issue to be addressed in a future update. If there is no present way to prevent 283.67 - 150 - 133.67 from equaling 0.00000000000002842 other than wrapping it in a conversion function, then that needs to be addressed. I failed 6th grade math and even I know that is wrong! :-) Bob Sneidar IT Manager Logos Management Calvary Chapel CM On May 8, 2009, at 2:11 PM, Scott Rossi wrote: > Recently, Bob Sneidar wrote: > >> Then the question becomes, should the IDE be doing math on the real >> number or the displayed number? I vote for the displayed number >> because that means I can have some kind of control over the outcome. >> Clearly if some calculation that comes up with a number cannot be >> compared to a literal for equal/not equal, then all accounting is out >> the window. This cannot be an intended behavior!!?! > > As others have said, the issue arises due to the decimal values -- if > integers are used, the comparison works "correctly" (and I'd prefer > not to > argue over what is "correct"). I don't know if this is an acceptable > solution but when I use the value function, I get the expected result: > > put value(283.67 - 150 - 133.67) = 0 > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & 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 jacque at hyperactivesw.com Fri May 8 17:55:34 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 08 May 2009 16:55:34 -0500 Subject: Another newb question - How to you clear a field? In-Reply-To: <00C80CFB-600C-435E-8056-1421E6994073@lacscentre.co.uk> References: <4A048467.90405@hyperactivesw.com> <00C80CFB-600C-435E-8056-1421E6994073@lacscentre.co.uk> Message-ID: <4A04AA56.7010703@hyperactivesw.com> Dave Cragg wrote: > > On 8 May 2009, at 20:13, J. Landman Gay wrote: > >> Scott Rossi wrote: >>> Recently, J. Landman Gay wrote: >>>> if literal names are not quoted, the engine takes twice as long to >>>> execute the >>>> statement because of the additional lookup. >>> Jacque, is this really true? >> >> I confess I made up the "twice as long" part, I don't really have any >> hard numbers on the increase. > > I do. :-) > > I've held the same belief as yourself. It looks like we're wrong. On my > machine (an intel mac)), 100,000 accesses of a field (get field > whatever) takes about 95ms for both quoted and unquoted field names. > (The field contains about 140 characters) Actually, on average, using a > quoted name takes about 2ms longer (for 100,000 accesses). Accessing the > field by its number takes about 85 ms. And by its ID takes about 80ms. Okay, so you made me test. :) I get approximately what you do, but it bounces around so much it's hard to say whether one is faster than the other. Sometimes the quoted reference is a little faster, sometimes a hair slower, which makes me think there is hardly any difference at all in the long run. Whaddya know. Maybe everything else I said is wrong too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From devin_asay at byu.edu Fri May 8 18:00:54 2009 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 8 May 2009 16:00:54 -0600 Subject: Preferred Multi-Platform Development Method In-Reply-To: <4A04A4CE.4090809@ministerschedulerpro.com> References: <20090508204029.16BDF48B27B@mail.runrev.com> <4A04A4CE.4090809@ministerschedulerpro.com> Message-ID: <023E06D9-D630-4791-9113-E671F8F621FC@byu.edu> On May 8, 2009, at 3:31 PM, David Beck wrote: > My only question is where to store the preferences that we are storing > in the Windows Registry. We do have a mechanism to store preferences, > but there are certain preferences that are system wide, and should not > change based on the user of the computer (e.g. the install path of a > standalone application, etc.). Any advice on where to store these > global > system-wide preferences on the Mac? The common place for storing global preferences or settings is in / Library or possibly /Library/Application Support/, depending on the type of files you're saving. The latter is what you get with specialFolderPath("asup"). Typically developers create their own directories in that folder: /Library/Application Support/MyApp, then store their files there. > > > Richard, I understand you are using a stackfile for preferences. How > exactly do you implement this? That is, what calls do you use to get > and > set preferences in the stackfile? Does the folder you mentioned > (specialApplicationFolder("preferences")) change based on the current > user or is it system wide? Also, are there any permissions issues to > be > careful about? specialFolderPath("Preferences") is per user. But there are lots of folders you can derive with this function. See Ken Ray's excellent compilation at: http://www.sonsothunder.com/devres/revolution/tips/file010.htm As for permissions, I think the folders in the /Library directory require administrator permissions, but obviously any user can write anywhere in their own home directory. Others will have more things to add to this, I'm sure. Regards, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From jacque at hyperactivesw.com Fri May 8 18:01:55 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 08 May 2009 17:01:55 -0500 Subject: Another newb question - How to you clear a field? In-Reply-To: <35699700-4B70-4224-AF8C-99A920055110@cox.net> References: <4A048B82.6010309@hyperactivesw.com> <35699700-4B70-4224-AF8C-99A920055110@cox.net> Message-ID: <4A04ABD3.1000203@hyperactivesw.com> Joe Lewis Wilkins wrote: > Hey Jacque, > > Has no one ever put together an FAQ for Rev newbies? I realize that > could be a pretty horrendous effort, but should be useful and doable. In addition to Devin's excellent tutorials, there are also the scripting conference stacks: Anyone who goes through these in order should come out on the other end with a good grasp of the basic concepts. These were made for newcomers. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pepetoo at cox.net Fri May 8 18:13:13 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Fri, 8 May 2009 15:13:13 -0700 Subject: Another newb question - How to you clear a field? In-Reply-To: <4A04ABD3.1000203@hyperactivesw.com> References: <4A048B82.6010309@hyperactivesw.com> <35699700-4B70-4224-AF8C-99A920055110@cox.net> <4A04ABD3.1000203@hyperactivesw.com> Message-ID: <45DF9A0A-C036-4944-9081-ED4AEC7919CB@cox.net> Jacque, So, why can't we have a very conspicuously placed "something" that does just what you've done here; lists links to all these great resources and "LABEL" them as being for "Newbies". Like in the very first paragraph of the Users' Guide, or on a button that appears prominently on the Window that appears when we open Revolution. Why make the Newbies hunt and query? Joe Wilkins On May 8, 2009, at 3:01 PM, J. Landman Gay wrote: > Joe Lewis Wilkins wrote: >> Hey Jacque, >> Has no one ever put together an FAQ for Rev newbies? I realize that >> could be a pretty horrendous effort, but should be useful and doable. > > In addition to Devin's excellent tutorials, there are also the > scripting conference stacks: > > > > Anyone who goes through these in order should come out on the other > end with a good grasp of the basic concepts. These were made for > newcomers. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From sarah.reichelt at gmail.com Fri May 8 18:48:25 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 9 May 2009 08:48:25 +1000 Subject: Another newb question - How to you clear a field? In-Reply-To: References: <35699700-4B70-4224-AF8C-99A920055110@cox.net> Message-ID: On Sat, May 9, 2009 at 6:08 AM, Stephen Cox wrote: > The biggest problem I am having is figuring out what to search for. The > language is so unique. So take my question about emptying a field. Be easy > in an OOP language: empty(Text_field.text) - or something to that effect. > So I would search on "empty" and get tons of info on the function and > various examples.. AND user comments. > > Now in Revolution it's also easy but completely different then any of > language. So I search the Dictionary on "empty", got nothing; then "Text > Entry Field", got nothing; then asked here. > > I'm not harping on Revolution. I like it. It's just different from anything > else on the market. So a FAQ that shows JAVA or C syntax alongside > Revolution would be a god-send. Just some common functions and procedures. > The manual is good, but has no reference to other languages. It would help > get my head out of OOP into Revolution. > This page might be useful: Cheers, Sarah From bobs at twft.com Fri May 8 18:56:12 2009 From: bobs at twft.com (Bob Sneidar) Date: Fri, 8 May 2009 15:56:12 -0700 Subject: Another newb question - How to you clear a field? In-Reply-To: <45DF9A0A-C036-4944-9081-ED4AEC7919CB@cox.net> References: <4A048B82.6010309@hyperactivesw.com> <35699700-4B70-4224-AF8C-99A920055110@cox.net> <4A04ABD3.1000203@hyperactivesw.com> <45DF9A0A-C036-4944-9081-ED4AEC7919CB@cox.net> Message-ID: <02BD0DB3-79E5-47B2-B6BE-8D03AF7ECB45@twft.com> Good idea! We could call it "NoobNuggets.com"! Bob Sneidar IT Manager Logos Management Calvary Chapel CM On May 8, 2009, at 3:13 PM, Joe Lewis Wilkins wrote: > Jacque, So, why can't we have a very conspicuously placed "something" > that does just what you've done here; lists links to all these great > resources and "LABEL" them as being for "Newbies". Like in the very > first paragraph of the Users' Guide, or on a button that appears > prominently on the Window that appears when we open Revolution. Why > make the Newbies hunt and query? > > Joe Wilkins > > On May 8, 2009, at 3:01 PM, J. Landman Gay wrote: > >> Joe Lewis Wilkins wrote: >>> Hey Jacque, >>> Has no one ever put together an FAQ for Rev newbies? I realize that >>> could be a pretty horrendous effort, but should be useful and >>> doable. >> >> In addition to Devin's excellent tutorials, there are also the >> scripting conference stacks: >> >> >> >> Anyone who goes through these in order should come out on the other >> end with a good grasp of the basic concepts. These were made for >> newcomers. >> >> -- >> 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 userevolution at dreamscapesoftware.com Fri May 8 18:58:53 2009 From: userevolution at dreamscapesoftware.com (Derek Bump) Date: Fri, 08 May 2009 17:58:53 -0500 Subject: Preferred Multi-Platform Development Method In-Reply-To: <4A04A4CE.4090809@ministerschedulerpro.com> References: <20090508204029.16BDF48B27B@mail.runrev.com> <4A04A4CE.4090809@ministerschedulerpro.com> Message-ID: <4A04B92D.3070309@dreamscapesoftware.com> Hello David, I ran into the same problem with Preferences and the Registry when I started porting my software to Mac. Since I fully intended to eventually port my software to Linux as well, I figured it would be a good idea to move away from using the Registry and any "system-specific" mechanisms. I accomplished this by creating a handler that loads a preferences stack, that is encrypted. You can view the handler here... on doLoadPreferences -- Save the Default Stack put the defaultStack into cDefaultStack -- Determine the Location of the Preferences based on the Operating System if platform() = "MacOS" then put specialFolderPath("Preferences") & "/MyProgram/" into myPreferences else if platform() = "Win32" then put specialFolderPath("0x001a") & "/MyProgram/" into myPreferences else put specialFolderPath("Home") & "/.MyProgram/" into myPreferences end if -- Create the Preferences File if there is not a folder myPreferences then create folder myPreferences put myPreferences & "Preferences.dss" into myPreferences if there is not a file myPreferences then create invisible stack "myPreferences" set the password of stack "myPreferences" to "MyPassword" save stack "myPreferences" as myPreferences else go invisible stack myPreferences end if -- Some Fine Tuning hide stack "myPreferences" set the passKey of stack "myPreferences" to "MyPassword" set the defaultStack to cDefaultStack end doLoadPreferences The hander creates a preference "stack" if needed, and places it in the appropriate location for each operating system. It also loads the Preferences stack into memory, and decrypts it so it can be modified. Then, I created my own versions of the queryRegistry() and getRegistry() functions... function doGetPref prefName if there is a stack "myPreferences" then put the prefName of stack "myPreferences" into theResult return theResult else return "Error: Preferences Unavailable." end if end doGetPref function doSetPref prefName,prefData if there is a stack "myPreferences" then set the prefName of stack "myPreferences" to prefData save stack "myPreferences" return empty else return "Error: Preferences Unavailable." end if end doSetPref This allowed me to stop using the Windows Registry completely, and also created a fully functional mechanism for creating a Preference file on any system. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___________________________________________________________________ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ David Beck wrote: > > We are just starting to play around with building stacks for the Mac. We > have concentrated exclusively on Windows in the past since that is where > the majority of our user base is. However, I have had many requests for > a Mac version of the volunteer scheduling software we produce. > > I can't believe how easy it looks like it will be to migrate to Mac. I > tried it the other day and everything just works! It is incredible. > Working with Rev just keeps getting better and better! > > My only question is where to store the preferences that we are storing > in the Windows Registry. We do have a mechanism to store preferences, > but there are certain preferences that are system wide, and should not > change based on the user of the computer (e.g. the install path of a > standalone application, etc.). Any advice on where to store these global > system-wide preferences on the Mac? > > Richard, I understand you are using a stackfile for preferences. How > exactly do you implement this? That is, what calls do you use to get and > set preferences in the stackfile? Does the folder you mentioned > (specialApplicationFolder("preferences")) change based on the current > user or is it system wide? Also, are there any permissions issues to be > careful about? > > Thanks very much in advance for any guidance! > > -- > David Beck > Rotunda Software > www.ministryschedulerpro.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 johnpatten at mac.com Fri May 8 19:17:05 2009 From: johnpatten at mac.com (John Patten) Date: Fri, 08 May 2009 16:17:05 -0700 Subject: Repeat Process To Check Contents of File on HTTP Server? In-Reply-To: <20090507170003.EC97E48AE58@mail.runrev.com> References: <20090507170003.EC97E48AE58@mail.runrev.com> Message-ID: <42E150C6-F574-4D5F-A172-D9A60629D890@mac.com> Thanks Phil and Bjoernke! That's what I needed..."send" command. Seems so obvious when you see someone else explain it :-) Now, that I understand send, here's my dilemma. What I'm trying to create is a little app that allows a teacher in the classroom to push out a web site they have loaded in their "teacher" browser out to to all 32 student laptops in their classroom. I thought this would be a perfect implementation for revBrowser, a custom web browser. I remember in the past struggling with Rev and opening sockets to try to get two Rev stacks to talk to each other. I never had very much success with that process so I thought I would try to keep it real basic and utilize web sharing and writing out a text file with the teacher's current web site address and time stamp to the local "web sites" folder. The client (student) computers would check that text file every 5 seconds, continually, and then if the time stamp is different from the last web address and time stamp, load the new web address in the client (student) browser. The key word in those run on sentences is "continually." In the examples shared, the scripts handlers are opencard and mousedown. They only run, essentially, one time through and after the time stamp is different, the script would end. I started to mess with an idle handler, but that gets messy real quick. Is what I'm describing possible? To have a script run continually in the background over and over? Or, maybe I'm going at this custom teacher to student web browser thing all wrong? Any ideas greatly appreciated! Thank you! John Patten On May 7, 2009, at 10:00 AM, use-revolution-request at lists.runrev.com wrote: > > 5. Re: Repeat Process To Check Contents of File on HTTP Server? > (Phil Davis) > > 12. Re: Repeat Process To Check Contents of File on HTTP Server? > (Bj?rnke von Gierke) > > > > ------------------------------ > > Message: 5 > Date: Wed, 06 May 2009 23:31:52 -0700 > From: Phil Davis > Subject: Re: Repeat Process To Check Contents of File on HTTP Server? > To: How to use Revolution > Message-ID: <4A028058.9010800 at pdslabs.net> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > John Patten wrote: >> Hi All! >> >> I'm making a little web browser client that needs to check the >> contents of a file on a web server. It needs to be able to do this >> every 5 seconds or so in the background, and then if the contents >> changes in the last line of the file it is checking, it starts >> another >> process in the background. Can this be done in Rev? Would I use two >> stacks, one as the browser and one with the repeat loop? >> >> I'm at a loss for what this might look like in a script? > > Hi John, > > Are you familiar with the "send" command? If not, I think you're about > to be... ;o) > > > -- prep: since you're looking for a change in data values, > -- you need to store its initial value so you have something > -- to compare to > global gOriginalData > > > -- and the data check has to be put into motion: > on openCard > -- store initial value > put url "http://my.website.com/targetfile.txt" into gOriginalData > -- put the data check into motion > send "checkWebFile" to me in 5 secs > end openCard > > > -- the data check > on checkWebFile > -- get fresh copy of the data > put url "http://my.website.com/targetfile.txt" into tCurrData > if (last line of tCurrData <> last line of gOriginalData) then > send ("startOtherProcess" && tCurrData) to me in 1 sec > else -- data hasn't changed, so schedule another check > send "checkWebFile" to me in 5 secs > end if > end checkWebFile > > > -- the other background process > on startOtherProcess pChangedData > -- do your other stuff here > end startOtherProcess > > > The "send... in" construct 'disconnects' the calling and called > handlers > from each other, so the calling one can finish executing before the > called one starts. And by saying "in 5 secs", you insert idle time > when > the UI can be refreshed & interacted with. It keeps the user from > being > locked out of the UI due to continuous running of code you might > have if > you tried using a repeat loop for data checks. > > Hopefully this will get you started. > >> >> Thanks in Advance! >> >> >> John Patten > > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.net > > > > ------------------------------ > > > Message: 12 > Date: Thu, 07 May 2009 15:34:20 +0200 > From: Bj?rnke von Gierke > Subject: Re: Repeat Process To Check Contents of File on HTTP Server? > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes > > I suggest to use the "put" command with the "url" keyword, using a > "send in time" structure: > > on mouseUp > checkWebsite "" > end mouseUp > > on checkWebsite thePrev > put line -1 of url "http://yoursite.com/yourfile" into theCurrent > if thePrev <> theCurrent then > --do your stuff here, it changed! > end if > send checkWebsite theCurrent to me in 4.5 seconds > --slightly less then 5 seconds, assuming the download of the whole > file takes ca. 0.5 seconds > end checkWebsite > > > Be aware that clicking the button twice would have your code execute > twice every 4.5 seconds, so maybe you should check the pendingMessages > somehwere. The docu on that property also shows on how to stop the > repeating. > > On 7 May 2009, at 05:43, John Patten wrote: > >> Hi All! >> >> I'm making a little web browser client that needs to check the >> contents of a file on a web server. It needs to be able to do this >> every 5 seconds or so in the background, and then if the contents >> changes in the last line of the file it is checking, it starts >> another process in the background. Can this be done in Rev? Would I >> use two stacks, one as the browser and one with the repeat loop? >> >> I'm at a loss for what this might look like in a script? >> >> Thanks in Advance! >> >> >> 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 > > > > -- > > official ChatRev page: > http://bjoernke.com/runrev/chatrev.php > > Chat with other RunRev developers: > go stack URL "http://bjoernke.com/stacks/chatrev/chatrev1.3b3.rev" > > > > ------------------------------ > > > End of use-revolution Digest, Vol 68, Issue 15 > ********************************************** From bobs at twft.com Fri May 8 19:41:08 2009 From: bobs at twft.com (Bob Sneidar) Date: Fri, 8 May 2009 16:41:08 -0700 Subject: Another newb question - How to you clear a field? In-Reply-To: <4A049D59.9010007@gmail.com> References: <4A049D59.9010007@gmail.com> Message-ID: Actually, I would like to see someone bend over backwards and THEN look down their noses. Now THAT would be entertainment! Bob Sneidar IT Manager Logos Management Calvary Chapel CM On May 8, 2009, at 2:00 PM, Richmond Mathewson wrote: > Actually, Joe Lewis Wilkins' advice is very good indeed. Coupled with > the PDF file > that comes with RR, the in-built Documentation, and; speaking as > somebody > who works down in the "babyish end" of Runtime Revolution programming: > ME. Ask away, and I will either give you an answer, or, at worst, > say that I > don't know. Luckily this is a fantastic list where most contributors > are not > going to look down their noses at you, but, more likely, bend over > backwards > to help you. From mwieder at ahsoftware.net Fri May 8 20:38:57 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 8 May 2009 17:38:57 -0700 Subject: Another newb question - How to you clear a field? In-Reply-To: <45DF9A0A-C036-4944-9081-ED4AEC7919CB@cox.net> References: <4A048B82.6010309@hyperactivesw.com> <35699700-4B70-4224-AF8C-99A920055110@cox.net> <4A04ABD3.1000203@hyperactivesw.com> <45DF9A0A-C036-4944-9081-ED4AEC7919CB@cox.net> Message-ID: <1931565076437.20090508173857@ahsoftware.net> Joe- Friday, May 8, 2009, 3:13:13 PM, you wrote: > Jacque, So, why can't we have a very conspicuously placed "something" > that does just what you've done here; lists links to all these great > resources and "LABEL" them as being for "Newbies". Like in the very > first paragraph of the Users' Guide, or on a button that appears > prominently on the Window that appears when we open Revolution. Why > make the Newbies hunt and query? ...and *WHY* isn't there a link on the runrev site to the scripting conferences? WHY do you have to know where they are in order to get to them (and then type in the secret hidden url)? -- -Mark Wieder mwieder at ahsoftware.net From jperryl at ecs.fullerton.edu Fri May 8 20:49:58 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 8 May 2009 17:49:58 -0700 (PDT) Subject: Another newb question - How to you clear a field? In-Reply-To: <45DF9A0A-C036-4944-9081-ED4AEC7919CB@cox.net> References: <4A048B82.6010309@hyperactivesw.com> <35699700-4B70-4224-AF8C-99A920055110@cox.net> <4A04ABD3.1000203@hyperactivesw.com> <45DF9A0A-C036-4944-9081-ED4AEC7919CB@cox.net> Message-ID: I have a few such links on my mostly neglected blog: http://revined.blogspot.com Hope I didn't miss anybody! If I did, let me know! Judy On Fri, 8 May 2009, Joe Lewis Wilkins wrote: > Jacque, So, why can't we have a very conspicuously placed "something" that > does just what you've done here; lists links to all these great resources and > "LABEL" them as being for "Newbies". Like in the very first paragraph of the > Users' Guide, or on a button that appears prominently on the Window that > appears when we open Revolution. Why make the Newbies hunt and query? From jperryl at ecs.fullerton.edu Fri May 8 20:50:53 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 8 May 2009 17:50:53 -0700 (PDT) Subject: Another newb question - How to you clear a field? In-Reply-To: <45DF9A0A-C036-4944-9081-ED4AEC7919CB@cox.net> References: <4A048B82.6010309@hyperactivesw.com> <35699700-4B70-4224-AF8C-99A920055110@cox.net> <4A04ABD3.1000203@hyperactivesw.com> <45DF9A0A-C036-4944-9081-ED4AEC7919CB@cox.net> Message-ID: Oh, but mine's for normal people ;-P Not programmers. Judy From pepetoo at cox.net Fri May 8 20:55:46 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Fri, 8 May 2009 17:55:46 -0700 Subject: Another newb question - How to you clear a field? In-Reply-To: <1931565076437.20090508173857@ahsoftware.net> References: <4A048B82.6010309@hyperactivesw.com> <35699700-4B70-4224-AF8C-99A920055110@cox.net> <4A04ABD3.1000203@hyperactivesw.com> <45DF9A0A-C036-4944-9081-ED4AEC7919CB@cox.net> <1931565076437.20090508173857@ahsoftware.net> Message-ID: Mark: Or even that there have been such conferences and may be more in the future! Joe Wilkins On May 8, 2009, at 5:38 PM, Mark Wieder wrote: > ...and *WHY* isn't there a link on the runrev site to the scripting > conferences? WHY do you have to know where they are in order to get to > them (and then type in the secret hidden url)? > > -- > -Mark Wieder > mwieder at ahsoftware.net From jacque at hyperactivesw.com Fri May 8 21:53:38 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 08 May 2009 20:53:38 -0500 Subject: Another newb question - How to you clear a field? In-Reply-To: <45DF9A0A-C036-4944-9081-ED4AEC7919CB@cox.net> References: <4A048B82.6010309@hyperactivesw.com> <35699700-4B70-4224-AF8C-99A920055110@cox.net> <4A04ABD3.1000203@hyperactivesw.com> <45DF9A0A-C036-4944-9081-ED4AEC7919CB@cox.net> Message-ID: <4A04E222.3070402@hyperactivesw.com> Joe Lewis Wilkins wrote: > Jacque, So, why can't we have a very conspicuously placed "something" > that does just what you've done here; lists links to all these great > resources and "LABEL" them as being for "Newbies". Yeah, RR needs to do that. In the meantime, I'd be happy to compile a list and post it to my site. If anyone wants their links included, please let me know offlist. I've already got Devin's and the scripting conferences (which are already mirrored on my site) and I'll prowl Judy's links too. Emphasis should be on info for new Revolutionaries. Maybe RR can post a link to my links...even better, they can have my list when I'm done if they want it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From nealk3nc at gmail.com Sat May 9 02:35:23 2009 From: nealk3nc at gmail.com (Neal Campbell) Date: Sat, 9 May 2009 02:35:23 -0400 Subject: Another newb question - How to you clear a field? In-Reply-To: <4A04E222.3070402@hyperactivesw.com> References: <4A048B82.6010309@hyperactivesw.com> <35699700-4B70-4224-AF8C-99A920055110@cox.net> <4A04ABD3.1000203@hyperactivesw.com> <45DF9A0A-C036-4944-9081-ED4AEC7919CB@cox.net> <4A04E222.3070402@hyperactivesw.com> Message-ID: <325413300905082335j7fe19af9s9cb1596ac7f26db@mail.gmail.com> I actually think that Rev is easier for newbies than converts. For those of us that spend/spent a great deal of time in C/Java/C++/C#, Rev is non-intuitive until you swap your old brain out. I found that if I typed how I would explain what I was doing to my wife (a non-programmer) it helped tremendously. The keywords would often be incorrect but thats what the dictionary is for. But the structure of what I was trying to do was closer to the language than for(i=1;i < z;i++){ .... }. The other side of my argument is that Rev is superficially too simple, it hides the fact that its a serious language that can do almost anything that any other language can do. Thats where all of the reading becomes vital. The only real solution is coding. Thats where you learn what works, how it works and whether you want to do it that way. Also, the message box is your Yoda, it allows you to see if your idea of how it works really does! The learning curve is both shorter and longer than you expect! Neal Campbell Abroham Neal Software Programming Services for Windows, OS X and Linux www.abrohamnealsoftware.com (540) 242 0911 On Fri, May 8, 2009 at 9:53 PM, J. Landman Gay wrote: > Joe Lewis Wilkins wrote: >> >> Jacque, So, why can't we have a very conspicuously placed "something" that >> does just what you've done here; lists links to all these great resources >> and "LABEL" them as being for "Newbies". > > Yeah, RR needs to do that. In the meantime, I'd be happy to compile a list > and post it to my site. If anyone wants their links included, please let me > know offlist. I've already got Devin's and the scripting conferences (which > are already mirrored on my site) and I'll prowl Judy's links too. Emphasis > should be on info for new Revolutionaries. > > Maybe RR can post a link to my links...even better, they can have my list > when I'm done if they want 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 martinblackman at gmail.com Sat May 9 02:44:38 2009 From: martinblackman at gmail.com (Martin Blackman) Date: Sat, 9 May 2009 14:44:38 +0800 Subject: Newbie question - how to check for a varible In-Reply-To: <4A04792B.3040408@hyperactivesw.com> References: <4A04792B.3040408@hyperactivesw.com> Message-ID: <79d1bee70905082344o68394a5aw7c3d13bdccec484c@mail.gmail.com> There is a gotcha to be aware of here. Checking if a previously unused variable is empty returns false. That has caught me out a few times. I wonder why the answer is false. I think the engine interprets the variable as a string instead, in the same way that 'answer hello' without quotes around hello works. From palcibiades-first at yahoo.co.uk Sat May 9 02:59:08 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 9 May 2009 07:59:08 +0100 Subject: Why Rev needs a cookbook (newb questions) Message-ID: <200905090759.08807.palcibiades-first@yahoo.co.uk> I said this before, but its why Rev needs a cookbook on the lines of Carla Schroder's great "Linux Cookbook" Steven Cox's queries illustrate the problem very clearly. Imagine a kitchen with lots of pots and pans and ingredients in it. It comes with a 400 page guide detailing the function of every one. We now have an intelligent Martian who has just been employed as a cook. His first assignment is spaghetti carbonara, or cassoulet. Where does he start? What he has is a superb kitchen manual. What he wants is a cookbook, with a systematic set of entries like this (from the Rev for C programmers page): "To filter a handler so that it only responds to certain objects, rather than every object below it in the hierarchy, use the target function to determine which object originally received the message being handled. "To create a code library, place the handlers you want to re-use in any object that?s available in your a stack, then use the insert script command to add that object to the hierarchy." So what Steven is looking for is a cookbook with entries like "to empty a field......" "to check for a variable.....". "to make elements in a list field clickable...." "to change the mouse to a hand while hovering..." Without this, learning becomes a Zen like experience. You know the story of the young man wanting to learn swordsmanship? He enrols with a master, and the first day when expecting to meet for a lesson, is astonished to be hit violently over the head with a stick. His master has sneaked up on him. As time goes by the attacks continue and become more and more devious. One day he is about to enter a room and something makes him pause. His master emerges from behind the door and bows deeply. Its OK.... but a recipe book is easier. Peter From lan.kc.macmail at gmail.com Sat May 9 03:04:55 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 9 May 2009 15:04:55 +0800 Subject: answer as sheet showing on wrong stack In-Reply-To: <4A03C559.2070400@gmail.com> References: <4A0326D3.3050109@dreamscapesoftware.com> <4A033110.1060509@dreamscapesoftware.com> <4A0336E7.9060201@gmail.com> <4A0343E4.7040501@dreamscapesoftware.com> <4A038E44.8060200@hyperactivesw.com> <4A03C559.2070400@gmail.com> Message-ID: On Fri, May 8, 2009 at 1:38 PM, Richmond Mathewson < richmondmathewson at gmail.com> wrote: > So, the proable reason no one found my "QUESTION.rev" stack is that nobody > wanted to type a taboo name. :) > I believe the real reason is that you uploaded your stack to the OLD RevOnline whilst those that did the searching did it on the NEW RevOnline. Not only has the RevOnline interface been vastly updated in 3.5 but my understanding is that the whole back-end is new too. Nothing on the OLD RevOnline exists on the NEW RevOnline unless individuals have intentionally uploaded their old content using Rev 3.5 to get it onto the NEW RevOnline. Rev 3.5 can't upload or look into the OLD RevOnline and Rev 3.0 or earlier can't upload or look into the NEW RevOnline. I may be wrong, but it's what you get for being part of the revolution ;-) From johncanmail-all at yahoo.it Sat May 9 03:23:32 2009 From: johncanmail-all at yahoo.it (Giovanni Cannizzaro) Date: Sat, 09 May 2009 09:23:32 +0200 Subject: Math issue, isn't it? Message-ID: <4A052F74.5030402@yahoo.it> After re-read all ur replies to my question my doubts are still there. I don't understand why a simple math calculation beetween not-in-other-way-calculated numbers can generate round problems. Using the value function (i've tried put value(283.67-150.00-133.67)>0 instead of put (283.67-150.00-133.67)>0 as suggested by Scott Rossi) temporarily solve my problems but I think it's a Revolution bug so I make my bug-report 'caus i'm a jolly good fellow!!! Bye- From mickclns at mac.com Sat May 9 03:29:27 2009 From: mickclns at mac.com (Mick Collins) Date: Sat, 09 May 2009 03:29:27 -0400 Subject: Math issue, isn't it? In-Reply-To: <20090509005106.F019F48B2F3@mail.runrev.com> References: <20090509005106.F019F48B2F3@mail.runrev.com> Message-ID: <9D7AFD8E-B382-48A2-9C55-9C57366C5C26@mac.com> Until the matter is finished being debated and a plan of action is decided on, a function could be used such as function numsAreEqual n1, n2, epsilon return abs(n1 - n2) < epsilon end numsAreEqual If your testing of the immediate comparison indicates to you that there are no roundoff problems, then use =, otherwise use this function or your own variant with an epsilon that seems prudent. > Date: Fri, 8 May 2009 14:49:44 -0700 > From: Bob Sneidar > Subject: Re: Math issue, isn't it? > To: How to use Revolution > Message-ID: <67EDCDEC-6D52-4E99-9ABF-A5F03DE3243E at twft.com> > Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes > > Yes, but my point was if someone was creating an Accounting > application, he would have to know to wrap all of his equations in > value(), otherwise he could not do any logical comparisons on equated > values. While your approach works, I think that the better approach is > for this issue to be addressed in a future update. If there is no > present way to prevent 283.67 - 150 - 133.67 from equaling > 0.00000000000002842 other than wrapping it in a conversion function, > then that needs to be addressed. I failed 6th grade math and even I > know that is wrong! :-) > > Bob Sneidar > IT Manager > Logos Management > Calvary Chapel CM > > On May 8, 2009, at 2:11 PM, Scott Rossi wrote: > >> Recently, Bob Sneidar wrote: >> >>> Then the question becomes, should the IDE be doing math on the real >>> number or the displayed number? I vote for the displayed number >>> because that means I can have some kind of control over the outcome. >>> Clearly if some calculation that comes up with a number cannot be >>> compared to a literal for equal/not equal, then all accounting is >>> out >>> the window. This cannot be an intended behavior!!?! >> >> As others have said, the issue arises due to the decimal values -- if >> integers are used, the comparison works "correctly" (and I'd prefer >> not to >> argue over what is "correct"). I don't know if this is an acceptable >> solution but when I use the value function, I get the expected >> result: >> >> put value(283.67 - 150 - 133.67) = 0 >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, Multimedia & 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 richmondmathewson at gmail.com Sat May 9 05:12:24 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 09 May 2009 12:12:24 +0300 Subject: Why Rev needs a cookbook (newb questions) In-Reply-To: <200905090759.08807.palcibiades-first@yahoo.co.uk> References: <200905090759.08807.palcibiades-first@yahoo.co.uk> Message-ID: <4A0548F8.4090503@gmail.com> Well, I don't know, but most of my programming ideas come as intuitive flashes: "learning becomes a Zen like experience" when all the reasoning has fled and my mind runs screaming through the halls of . . . Oh, sorry, I didn't know we had to pretend that computer programming was a logical 'science' that could be learnt by ostension. :) A cookbook would be a jolly good idea (may be Jilly Cooper could be hired . . .), but, as with any other manual of any type, would only get the learner to a certain stage: of course if that stage is the one where the learner begins to intuit what is needed then the cookbook will have done a far better job than most manuals. The only problem about 'systematic' is whose 'systematic' do you mean; taxonomy has always been notoriously subjective. Of course if any one wants to go to work on my moribund RunRev learning wiki . . . Peter Alcibiades wrote: > I said this before, but its why Rev needs a cookbook on the lines of Carla > Schroder's great "Linux Cookbook" > > Steven Cox's queries illustrate the problem very clearly. Imagine a kitchen > with lots of pots and pans and ingredients in it. It comes with a 400 > page guide detailing the function of every one. > > We now have an intelligent Martian who has just been employed as a cook. > His first assignment is spaghetti carbonara, or cassoulet. Where does he > start? > > What he has is a superb kitchen manual. What he wants is a cookbook, with > a systematic set of entries like this (from the Rev for C programmers > page): > > "To filter a handler so that it only responds to certain objects, rather > than every object below it in the hierarchy, use the target function to > determine which object originally received the message being handled. > > "To create a code library, place the handlers you want to re-use in any > object that?s available in your a stack, then use the insert script > command to add that object to the hierarchy." > > So what Steven is looking for is a cookbook with entries like "to empty a > field......" "to check for a variable.....". "to make elements in a > list field clickable...." "to change the mouse to a hand while > hovering..." > > Without this, learning becomes a Zen like experience. You know the story > of the young man wanting to learn swordsmanship? He enrols with a master, > and the first day when expecting to meet for a lesson, is astonished to be > hit violently over the head with a stick. His master has sneaked up on > him. As time goes by the attacks continue and become more and more > devious. One day he is about to enter a room and something makes him > pause. His master emerges from behind the door and bows deeply. > > Its OK.... but a recipe book is easier. > > 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 richmondmathewson at gmail.com Sat May 9 05:17:27 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 09 May 2009 12:17:27 +0300 Subject: answer as sheet showing on wrong stack In-Reply-To: References: <4A0326D3.3050109@dreamscapesoftware.com> <4A033110.1060509@dreamscapesoftware.com> <4A0336E7.9060201@gmail.com> <4A0343E4.7040501@dreamscapesoftware.com> <4A038E44.8060200@hyperactivesw.com> <4A03C559.2070400@gmail.com> Message-ID: <4A054A27.5020001@gmail.com> Sorry, but I am part of the revolution (if, admittedly, only the boy who throws eggs at the Tsar) as I am signed, and paid-up for the conference, and so, in line to receive "4"; meanwhile, tootling around with 2.6.1 I am, of necessity, confined to the old revOnline. Of course, anybody who stopped a minute and thought, would have kept old versions of RR for "magical moments" such as these. I have RR 1 - 2.0.1 tucked away for various reasons; and from time to time they all prove useful. Kay C Lan wrote: > On Fri, May 8, 2009 at 1:38 PM, Richmond Mathewson < > richmondmathewson at gmail.com> wrote: > > >> So, the proable reason no one found my "QUESTION.rev" stack is that nobody >> wanted to type a taboo name. :) >> >> > > I believe the real reason is that you uploaded your stack to the OLD > RevOnline whilst those that did the searching did it on the NEW RevOnline. > > Not only has the RevOnline interface been vastly updated in 3.5 but my > understanding is that the whole back-end is new too. Nothing on the OLD > RevOnline exists on the NEW RevOnline unless individuals have intentionally > uploaded their old content using Rev 3.5 to get it onto the NEW RevOnline. > > Rev 3.5 can't upload or look into the OLD RevOnline and Rev 3.0 or earlier > can't upload or look into the NEW RevOnline. > > I may be wrong, but it's what you get for being part of the revolution ;-) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From psahores at free.fr Sat May 9 07:11:27 2009 From: psahores at free.fr (Pierre Sahores) Date: Sat, 9 May 2009 13:11:27 +0200 Subject: App on Linux - really slow... any ideas why? In-Reply-To: <9B5A813E-E246-4A71-9FF8-6446363D49C3@sonsothunder.com> References: <23401344.post@talk.nabble.com> <9B5A813E-E246-4A71-9FF8-6446363D49C3@sonsothunder.com> Message-ID: <2D35C49A-9FC7-4CC5-AFE2-C9D7EFA261BF@free.fr> Hi Ken, About the subject, see this (Linux only) : http://www2.sahores-conseil.com/insead/index_en.html Kind Regards, -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com Le 6 mai 09 ? 20:12, Kennan Ray a ?crit : > Excuse my ignorance, but how do you launch a stack with an "rc2 > shell script"? > > And would doing so still display my GUI as if it were a standalone? > > Ken Ray > Sons of Thunder Software > > On May 6, 2009, at 3:34 AM, Pierre Sahores wrote: > >> In my experience, this slowness has mainly to do with X11. Any MC >> engine (need confirmation for Rev) started in the background in >> launching a service stack via an rc2 shell script will run faster >> under Linux than the service stack can run under windows or OS X in >> graphical mode. >> >> Kind Regards, >> -- >> Pierre Sahores >> mobile : 06 03 95 77 70 >> www.sahores-conseil.com >> >> >> Le 6 mai 09 ? 09:20, Peter Alcibiades a ?crit : >> >>> >>> Mandriva isn't Slackware based of course, didn't mean to give that >>> impression. So that would be a test of a third branch of the tree. >>> -- >>> View this message in context: http://www.nabble.com/App-on-Linux---really-slow...-any-ideas-why--tp23393374p23401344.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 > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Sat May 9 08:23:48 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 09 May 2009 08:23:48 -0400 Subject: Another newb question - How to you clear a field? In-Reply-To: <4A04A522.4040102@hyperactivesw.com> References: <4A04A522.4040102@hyperactivesw.com> Message-ID: > On May 8, 2009, at 5:33 PM, J. Landman Gay wrote: > Stephen Cox wrote: >> So I search the Dictionary on "empty", got nothing; > > It's in there, in its own entry. You do have to make sure that the > "all" category is chosen in the left side column though, otherwise > the dictionary will filter results to include only those in the > selected category. > > -- Don't forget to also use the "See Also" section for each Dictionary entry. Click on any word in that list to jump to that definition. 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 david at architex.tv Sat May 9 10:08:01 2009 From: david at architex.tv (David Bovill) Date: Sat, 9 May 2009 15:08:01 +0100 Subject: Datagrid: help with "EditFieldText" Message-ID: I have a datagrid form, with a custom row template. I am having problems with a field that will not update the dgData when edited. The others work fine and their properties (ie "autotab" seem to be identical). I have named the fields the same as the keys in dgData. Having problems debuging, as the debugger is not playing well with the behaviors. on mouseDoubleUp pMouseBtnNum > if pMouseBtnNum is 1 then > if the dgProps["allow editing"] of the dgControl of me then > put the long id of the target into targetObject > put the short name of targetObject into theKey > put the dgIndex of me into lineNum > > switch > case theKey is among the items of "title,ruggedID,helpURL" > EditFieldText targetObject, lineNum, theKey > break > end switch > end if > end if > pass mouseDoubleUp > end mouseDoubleUp > Any idea what to look for? From jerry.daniels at me.com Sat May 9 10:29:04 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Sat, 09 May 2009 09:29:04 -0500 Subject: [ANN] Rev Mentor Top Ten - video, charts, analyzer stack Message-ID: <423B7024-3EDB-4DA8-BF32-375FA14A86F1@me.com> Revolutionaries, Here, friends, is a link to the Rev Mentor Top Ten: http://www.revmentor.com/revolution-top-ten-video-charts-and-analyzer-4 It's an analysis of the emails posted to this list. When you click on that link above, you will have access to the following: 1. Some charts showing the top ten topics, authors, terms 2. A video commentary on the posts and some of the statistics (mostly it's just me mouthing off) 3. The stack I use to do the analysis. Some people use this to read the week's postings to the list. Best, Jerry Daniels Host of Rev Mentor http://www.revmentor.com From lan.kc.macmail at gmail.com Sat May 9 10:31:57 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 9 May 2009 22:31:57 +0800 Subject: answer as sheet showing on wrong stack In-Reply-To: <4A054A27.5020001@gmail.com> References: <4A0326D3.3050109@dreamscapesoftware.com> <4A033110.1060509@dreamscapesoftware.com> <4A0336E7.9060201@gmail.com> <4A0343E4.7040501@dreamscapesoftware.com> <4A038E44.8060200@hyperactivesw.com> <4A03C559.2070400@gmail.com> <4A054A27.5020001@gmail.com> Message-ID: On Sat, May 9, 2009 at 5:17 PM, Richmond Mathewson < richmondmathewson at gmail.com> wrote: > > Of course, anybody who stopped a minute and thought, would > have kept old versions of RR for "magical moments" such as these. > Which of course is a lot less time than what is wasted looking for a stack in the wrong RevOnline. I can't keep up with what OS most List members are on much less which version of Rev they might be using. Others on this List will undoubtedly have much better memories than I, but it may be just easier for anyone announcing that they've uploaded something to RevOnline to kindly include whether it's to OLD RevOnline or NEW RevOnline, that way we can crank up the old version of Rev if necessary rather than waste time in the wrong RevOnline or incorrectly concluding that the NEW RevOnline still has a few wrinkles to iron out. Just a thought. From coiin at rcn.com Sat May 9 10:54:08 2009 From: coiin at rcn.com (Colin Holgate) Date: Sat, 9 May 2009 10:54:08 -0400 Subject: Math issue, isn't it? In-Reply-To: <4A052F74.5030402@yahoo.it> References: <4A052F74.5030402@yahoo.it> Message-ID: <8A13A8FD-04E8-4C44-9F71-53BE0183E596@rcn.com> On May 9, 2009, at 3:23 AM, Giovanni Cannizzaro wrote: > Using the value function (i've tried put > value(283.67-150.00-133.67)>0 instead of > put (283.67-150.00-133.67)>0 as suggested by Scott Rossi) > temporarily solve my > problems but I think it's a Revolution bug so I make my bug-report > 'caus i'm a jolly good fellow!!! It's not a Revolution bug, it's a system or computer math processor limitation. The exact same problem shows in Flash and Director for example. From pepetoo at cox.net Sat May 9 11:03:42 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sat, 9 May 2009 08:03:42 -0700 Subject: answer as sheet showing on wrong stack In-Reply-To: References: <4A0326D3.3050109@dreamscapesoftware.com> <4A033110.1060509@dreamscapesoftware.com> <4A0336E7.9060201@gmail.com> <4A0343E4.7040501@dreamscapesoftware.com> <4A038E44.8060200@hyperactivesw.com> <4A03C559.2070400@gmail.com> <4A054A27.5020001@gmail.com> Message-ID: Wouldn't it make even more sense to have a prominent link on the New RevOnLine to the Old RevOnLine? And vice versa? But that's too obvious! Joe Wilkins On May 9, 2009, at 7:31 AM, Kay C Lan wrote: > On Sat, May 9, 2009 at 5:17 PM, Richmond Mathewson < > richmondmathewson at gmail.com> wrote: > >> >> Of course, anybody who stopped a minute and thought, would >> have kept old versions of RR for "magical moments" such as these. >> > > Which of course is a lot less time than what is wasted looking for a > stack > in the wrong RevOnline. I can't keep up with what OS most List > members are > on much less which version of Rev they might be using. Others on > this List > will undoubtedly have much better memories than I, but it may be > just easier > for anyone announcing that they've uploaded something to RevOnline > to kindly > include whether it's to OLD RevOnline or NEW RevOnline, that way we > can > crank up the old version of Rev if necessary rather than waste time > in the > wrong RevOnline or incorrectly concluding that the NEW RevOnline > still has a > few wrinkles to iron out. > > Just a thought. From effendi at wanadoo.fr Sat May 9 11:10:04 2009 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sat, 9 May 2009 17:10:04 +0200 Subject: Another newb question - How to you clear a field? Message-ID: <1EA3BE08-8DB1-4F53-AE2C-A8762DDCE293@wanadoo.fr> Hi from Paris, Jacqueline, Did I correctly understand what you put in your recent post : > And if literal > names are not quoted, the engine takes twice as long to execute the > statement because of the additional lookup. Do you mean that the statement : If field "MyField" = "YES" then ....... executes twice as fast as : If field MyField = "YES" then ....... If this is true, then I am glad I got into the habit of "quoting" all my field and button statements. It also means that my scripts execute at twice the speed of light :>) Thanks for the info. -Francis "This is not your real life ! It is only a test run. If it had been your real life, you would have been given much better instructions !" From alex at tweedly.net Sat May 9 11:31:33 2009 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 09 May 2009 16:31:33 +0100 Subject: Should this not be an error ? Message-ID: <4A05A1D5.8070105@tweedly.net> I have a line of script that *should* have read if the last line of t is empty then delete line -1 of t but I mis-typed it, and instead of the '1' key, I hit the adjacent key, and got a back quote (`), so I had if the last line of t is empty then delete line -` of t This script compiled OK, but obviously did the wrong thing (I'm not sure what it did - I can't find the back-quote in the dctionary). Shouldn't this be a compile error ? Or is it a missing dictionary entry, and the line has some real but obscure interpretation ? -- Alex. From alex at tweedly.net Sat May 9 11:54:33 2009 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 09 May 2009 16:54:33 +0100 Subject: Another "should be an error" ? Message-ID: <4A05A739.3090703@tweedly.net> Here's what my script *should* have said > repeat while the last char of temp is CR > delete the last char of temp > end repeat and if it has done, then it would have worked. But by mistake, I typed in > repeat while the last chr of temp is CR > delete the last char of temp > end repeat (Note the missing in the first line .... 'last chr' instead of 'last char' ) which doesn't ever delete that last character. Shouldn't this have been a compilation error ? -- Alex. From david at architex.tv Sat May 9 11:57:43 2009 From: david at architex.tv (David Bovill) Date: Sat, 9 May 2009 16:57:43 +0100 Subject: Datagrid: help with "EditFieldText" In-Reply-To: References: Message-ID: Update - started working after quitting Rev and coming back to work - ah the magical wonders of a cup of tea :) 2009/5/9 David Bovill > I have a datagrid form, with a custom row template. I am having problems > with a field that will not update the dgData when edited. The others work > fine and their properties (ie "autotab" seem to be identical). I have named > the fields the same as the keys in dgData. Having problems debuging, as the > debugger is not playing well with the behaviors. > > on mouseDoubleUp pMouseBtnNum >> if pMouseBtnNum is 1 then >> if the dgProps["allow editing"] of the dgControl of me then >> put the long id of the target into targetObject >> put the short name of targetObject into theKey >> put the dgIndex of me into lineNum >> >> switch >> case theKey is among the items of "title,ruggedID,helpURL" >> EditFieldText targetObject, lineNum, theKey >> break >> end switch >> end if >> end if >> pass mouseDoubleUp >> end mouseDoubleUp >> > > Any idea what to look for? > From lan.kc.macmail at gmail.com Sat May 9 12:05:51 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 10 May 2009 00:05:51 +0800 Subject: answer as sheet showing on wrong stack In-Reply-To: References: <4A0326D3.3050109@dreamscapesoftware.com> <4A0336E7.9060201@gmail.com> <4A0343E4.7040501@dreamscapesoftware.com> <4A038E44.8060200@hyperactivesw.com> <4A03C559.2070400@gmail.com> <4A054A27.5020001@gmail.com> Message-ID: On Sat, May 9, 2009 at 11:03 PM, Joe Lewis Wilkins wrote: > Wouldn't it make even more sense to have a prominent link on the New > RevOnLine to the Old RevOnLine? And vice versa? But that's too obvious! > Ah I don't think it's that easy. New RevOnline doesn't run in Rev 3.0 or earlier, so anyone going to RevOnline in Rev 2.6.1 will get Old RevOnline. Having a link to New RevOnline is pointless if they don't have Rev 3.5. The same could be said for those on Rev 3.5 who don't have an older copy, but for those who do have old copies of Rev, whilst a link in New RevOnline to Old RevOnline might be workable I don't see how this is going to prevent wasted time looking for stacks in the wrong RevOnline if the creator doesn't announce which particular RevOnline they've uploaded to. To me it's like stating "I've made an OS X app" vs "I've made a Leopard app". One will have a bunch of Jaguar and Tiger users wasting time trying to figure out why your app doesn't work. Reminds me of recent thread about speaking accurately but still being ambiguous. From stephenREVOLUTION2 at barncard.com Sat May 9 12:09:23 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 9 May 2009 09:09:23 -0700 Subject: answer as sheet showing on wrong stack In-Reply-To: References: <4A0326D3.3050109@dreamscapesoftware.com> <4A0343E4.7040501@dreamscapesoftware.com> <4A038E44.8060200@hyperactivesw.com> <4A03C559.2070400@gmail.com> <4A054A27.5020001@gmail.com> Message-ID: Like some politicians we have known. 2009/5/9 Kay C Lan > Reminds me of recent thread about > speaking accurately but still being ambiguous > ------------------------- Stephen Barncard San Francisco http://barncard.com From runrev260805 at m-r-d.de Sat May 9 12:21:00 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Sat, 9 May 2009 16:21:00 +0000 Subject: Why Rev needs a cookbook (newb questions) Message-ID: <00036524.4A05C98B@the-office.us> Hi, a cookbook would be a good idea not only for beginners. Btw.: I am using THE SCRIPTER'S SCRAPBOOK from Flexible Learning as a cookbook. I am collecting all code snippets, i find usefull, in it. There are so many tricks, hints and code sample in this uselist, which i might need some time. So the SSBK is ideal for that. Regards, Matthias -------- Original Message -------- Subject: Why Rev needs a cookbook (newb questions) (09-Mai-2009 9:02) From: Peter Alcibiades To: runrev260805 at m-r-d.de > I said this before, but its why Rev needs a cookbook on the lines of Carla > Schroder's great "Linux Cookbook" > > Steven Cox's queries illustrate the problem very clearly. Imagine a kitchen > > with lots of pots and pans and ingredients in it. It comes with a 400 > page guide detailing the function of every one. > > We now have an intelligent Martian who has just been employed as a cook. > His first assignment is spaghetti carbonara, or cassoulet. Where does he > start? > > What he has is a superb kitchen manual. What he wants is a cookbook, with > a systematic set of entries like this (from the Rev for C programmers > page): > > "To filter a handler so that it only responds to certain objects, rather > than every object below it in the hierarchy, use the target function to > determine which object originally received the message being handled. > > "To create a code library, place the handlers you want to re-use in any > object that?s available in your a stack, then use the insert script > command to add that object to the hierarchy." > > So what Steven is looking for is a cookbook with entries like "to empty a > field......" "to check for a variable.....". "to make elements in a > list field clickable...." "to change the mouse to a hand while > hovering..." > > Without this, learning becomes a Zen like experience. You know the story > of the young man wanting to learn swordsmanship? He enrols with a master, > and the first day when expecting to meet for a lesson, is astonished to be > hit violently over the head with a stick. His master has sneaked up on > him. As time goes by the attacks continue and become more and more > devious. One day he is about to enter a room and something makes him > pause. His master emerges from behind the door and bows deeply. > > Its OK.... but a recipe book is easier. > > 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 > > > > > To: use-revolution at lists.runrev.com From jacque at hyperactivesw.com Sat May 9 12:27:45 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 May 2009 11:27:45 -0500 Subject: Another newb question - How to you clear a field? In-Reply-To: <1EA3BE08-8DB1-4F53-AE2C-A8762DDCE293@wanadoo.fr> References: <1EA3BE08-8DB1-4F53-AE2C-A8762DDCE293@wanadoo.fr> Message-ID: <4A05AF01.8060601@hyperactivesw.com> Francis Nugent Dixon wrote: > Hi from Paris, > > Jacqueline, > > Did I correctly understand what you put in your recent post : > >> And if literal >> names are not quoted, the engine takes twice as long to execute the >> statement because of the additional lookup. > > Do you mean that the statement : > > If field "MyField" = "YES" then ....... > > executes twice as fast as : > > If field MyField = "YES" then ....... Yes, that is what I meant. But Dave Cragg disproved my theory, since apparently the engine works at the same speed in either case (but I am still having trouble believing it; it seems counter-intuitive.) I think it is better scripting form to quote literals in any case though. It saves misinterpretation later on when you re-read your scripts, and in some cases could prevent the engine from mis-interpreting your literal values as variable names. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From devin_asay at byu.edu Sat May 9 12:29:32 2009 From: devin_asay at byu.edu (Devin Asay) Date: Sat, 9 May 2009 10:29:32 -0600 Subject: Why Rev needs a cookbook (newb questions) In-Reply-To: <200905090759.08807.palcibiades-first@yahoo.co.uk> References: <200905090759.08807.palcibiades-first@yahoo.co.uk> Message-ID: <7BCA1C11-50B9-45E0-9B62-B13BB62AC821@byu.edu> On May 9, 2009, at 12:59 AM, Peter Alcibiades wrote: > I said this before, but its why Rev needs a cookbook on the lines of > Carla > Schroder's great "Linux Cookbook" > > Steven Cox's queries illustrate the problem very clearly. Imagine a > kitchen > with lots of pots and pans and ingredients in it. It comes with a 400 > page guide detailing the function of every one. > > We now have an intelligent Martian who has just been employed as a > cook. > His first assignment is spaghetti carbonara, or cassoulet. Where > does he > start? > > What he has is a superb kitchen manual. What he wants is a > cookbook, with > a systematic set of entries like this (from the Rev for C programmers > page): > > "To filter a handler so that it only responds to certain objects, > rather > than every object below it in the hierarchy, use the target function > to > determine which object originally received the message being handled. > > "To create a code library, place the handlers you want to re-use in > any > object that?s available in your a stack, then use the insert script > command to add that object to the hierarchy." > > So what Steven is looking for is a cookbook with entries like "to > empty a > field......" "to check for a variable.....". "to make elements > in a > list field clickable...." "to change the mouse to a hand while > hovering..." Hi Peter, We've had discussions like this on the list before, and a lot of the answers are something like: "It's there, you just need to know where to find it." That is still true today, although Rev 3.0 and 3.5 have gone a long way in making that material easier to find. Here's a short list I recommend: For Rev 3.x Resource Center > Sample Scripts This is in effect what you're talking about, isn't it? As I understand it, it's a reworking of Jeanne DeVoto's original "cookbook" examples that came with Rev 1.x through 2.5(?) Help > Revolution Search Engine > Web Database This overlooked and under-appreciated tool by the late, great Eric Chatonet lets you search a whole list of great 3rd party Revolution sites. For instance, on my web site I have a page with simple examples at http://revolution.byu.edu/transcript/LectureExamples.php All of the other sites have many very good ones as well. V. 3.5 gives us a much richer collection of tools for sharing from the developer community. -We now have User Contributed Notes in the Dictionary. Anyone with a Rev Online account can submit example scripts and tips. Rev Online. As of 3.5 we can submit code snippets. While the new ROL is not perfect yet, I think it's a big improvement. It's got a growing collection of great stacks to look at. Especially with the latter two tools, we as a developer community can go a long way toward filling the void of simple, instructive examples for folks new to Rev. Regards, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From stephen at networkxfla.com Sat May 9 12:30:20 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Sat, 09 May 2009 12:30:20 -0400 Subject: Newbie question - how to check for a varible In-Reply-To: <79d1bee70905082344o68394a5aw7c3d13bdccec484c@mail.gmail.com> Message-ID: Wait. I don't get this. You saying that checking if an unused variable is empty returns false? Does revolution put some data in a variable when created? On 5/9/09 2:44 AM, "Martin Blackman" wrote: > There is a gotcha to be aware of here. > > Checking if a previously unused variable is empty returns false. That > has caught me out a few times. I wonder why the answer is false. I > think the engine interprets the variable as a string instead, in the > same way that 'answer hello' without quotes around hello works. > _______________________________________________ > use-revolution mailing list > use-revolution at 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 May 9 12:32:06 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 May 2009 11:32:06 -0500 Subject: answer as sheet showing on wrong stack In-Reply-To: References: <4A0326D3.3050109@dreamscapesoftware.com> <4A033110.1060509@dreamscapesoftware.com> <4A0336E7.9060201@gmail.com> <4A0343E4.7040501@dreamscapesoftware.com> <4A038E44.8060200@hyperactivesw.com> <4A03C559.2070400@gmail.com> <4A054A27.5020001@gmail.com> Message-ID: <4A05B006.30305@hyperactivesw.com> Joe Lewis Wilkins wrote: > Wouldn't it make even more sense to have a prominent link on the New > RevOnLine to the Old RevOnLine? And vice versa? But that's too obvious! It can't be done. The two systems use different back-end databases, different log-ins, and a completely rewritten RevOnline stack with different code. People using older copies of Rev can't access the new database, and vice versa. Those who have both older and newer copies of Rev could upload twice if they are in a sharing mood. That's about the only way to do it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sat May 9 12:30:40 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 May 2009 09:30:40 -0700 Subject: Another "should be an error" ? In-Reply-To: <4A05A739.3090703@tweedly.net> References: <4A05A739.3090703@tweedly.net> Message-ID: <511622180078.20090509093040@ahsoftware.net> Alex- Saturday, May 9, 2009, 8:54:33 AM, you wrote: > Shouldn't this have been a compilation error ? Not necessarily. One of the wonders of explictVars is that the compiler will catch this kind of error for you. If you don't have explictVars turned on then you're left to your own devices wondering why your code doesn't work... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat May 9 12:33:49 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 May 2009 09:33:49 -0700 Subject: Should this not be an error ? In-Reply-To: <4A05A1D5.8070105@tweedly.net> References: <4A05A1D5.8070105@tweedly.net> Message-ID: <1511622368796.20090509093349@ahsoftware.net> Alex- Saturday, May 9, 2009, 8:31:33 AM, you wrote: > Shouldn't this be a compile error ? Same answer as the other question. If tracking this kind of error down seems like a pain then turn on explictVars and get in the habit of declaring variables. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat May 9 12:38:07 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 May 2009 09:38:07 -0700 Subject: Newbie question - how to check for a varible In-Reply-To: <4A04792B.3040408@hyperactivesw.com> References: <4A04792B.3040408@hyperactivesw.com> Message-ID: <1591622627031.20090509093807@ahsoftware.net> Jacque- Friday, May 8, 2009, 11:25:47 AM, you wrote: > how the engine works. I personally do not use explicit variables, I > never declare them specifically, and I have never had any problem. ...the first step in recovery is recognizing you have a problem... -- -Mark Wieder mwieder at ahsoftware.net From stephen at networkxfla.com Sat May 9 12:39:27 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Sat, 09 May 2009 12:39:27 -0400 Subject: Newbie... Strict Compilation mode Message-ID: I've run across something. Even with Strict Compilation Mode on the compiler doesn't throw out an error if it sees some undeclared variables. So... Local temp Put "1234" into temp Put "1234" into kemp The compiles misses this completely. Of course it works cause you can create variables on the fly. But isn't the point of Strict Compilation Mode to force you to declare all variables before use? -Stephen Cox From jacque at hyperactivesw.com Sat May 9 12:45:48 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 May 2009 11:45:48 -0500 Subject: Newbie question - how to check for a varible In-Reply-To: <1591622627031.20090509093807@ahsoftware.net> References: <4A04792B.3040408@hyperactivesw.com> <1591622627031.20090509093807@ahsoftware.net> Message-ID: <4A05B33C.2060305@hyperactivesw.com> Mark Wieder wrote: > Jacque- > > Friday, May 8, 2009, 11:25:47 AM, you wrote: > >> how the engine works. I personally do not use explicit variables, I >> never declare them specifically, and I have never had any problem. > > ...the first step in recovery is recognizing you have a problem... > Bah. Don't start with me. ;) Explict variables are for people who want their code to look more complicated than it is, perhaps to impress someone. :P -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sat May 9 12:53:31 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 May 2009 09:53:31 -0700 Subject: App on Linux - really slow... any ideas why? In-Reply-To: <23407970.post@talk.nabble.com> References: <4A009682.8020107@gmail.com> <23407970.post@talk.nabble.com> Message-ID: <1071623551000.20090509095331@ahsoftware.net> Peter- Wednesday, May 6, 2009, 7:58:58 AM, you wrote: > Oh dear what a dispiriting thread. I haven't experienced all this stuff, Thanks to this thread I've gone back and loaded the latest rev 3.5 build onto my Ubuntu installation and find that it's much improved, to the point of having a usable IDE once again. Using scrollbars is still somewhat of a hit-or-miss situation, but the whole IDE is much more responsive, even when editing large scripts. RevOnline and GLX2 are both working smoothly and so far all the plugins I had installed seem to be working the way they should. Multiple desktops do *not* work, and it would be nice if they did, but I'm sure this will get sorted out in time. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Sat May 9 12:57:07 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 May 2009 11:57:07 -0500 Subject: Newbie question - how to check for a varible In-Reply-To: References: Message-ID: <4A05B5E3.1050203@hyperactivesw.com> Stephen Cox wrote: > Wait. I don't get this. You saying that checking if an unused variable is > empty returns false? Does revolution put some data in a variable when > created? Sort of, but only in specific cases, which is mostly a side-effect of how friendly Rev's interpreter is and how it deals with strings. (The discussion about quoted field names shows how flexible Rev is with strings.) If a variable is not specifically created with a value, the value of the variable is the variable's name itself. This creates a variable without assigning it any value: on mouseup put (var = empty) && "Var = " & var end mouseup You get: false var = var But this assigns a value and gives what you'd expect: on mouseUp put empty into var put (var = empty) && "Var = " & var end mouseUp Gives: true var = -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sat May 9 12:57:52 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 May 2009 09:57:52 -0700 Subject: Newbie... Strict Compilation mode In-Reply-To: References: Message-ID: <811623811656.20090509095752@ahsoftware.net> Stephen- Saturday, May 9, 2009, 9:39:27 AM, you wrote: > I've run across something. Even with Strict Compilation Mode on the compiler > doesn't throw out an error if it sees some undeclared variables. So... > Local temp > Put "1234" into temp > Put "1234" into kemp > The compiles misses this completely. Of course it works cause you can create > variables on the fly. But isn't the point of Strict Compilation Mode to > force you to declare all variables before use? I get "compilation error at line 5 (Chunk: can't create a variable with that name (explicitVariables?)) near "kemp", char 15" -- -Mark Wieder mwieder at ahsoftware.net From bryan at deepfoo.com Sat May 9 13:08:39 2009 From: bryan at deepfoo.com (Bryan McCormick) Date: Sat, 09 May 2009 13:08:39 -0400 Subject: Multi-cores and standalones Message-ID: <4A05B897.1040107@deepfoo.com> Does anyone know how or if multiple standalones use memory space or cores? I realize they are not multi-threaded or multi-core aware. But let's say you had five or six standalones running. Are they all in the same space, using the same core? Or does the system dispatch and allocate them? I am asking as I have a large computation project where multiple standalones make sense just from an i/o perspective. I am curious about how efficient this really is in terms of how they behave in a multi-core/large memory space. From irog at mac.com Sat May 9 13:11:23 2009 From: irog at mac.com (Roger Guay) Date: Sat, 09 May 2009 10:11:23 -0700 Subject: Dynamically resize members of a group In-Reply-To: <20090509170004.947F448B2EC@mail.runrev.com> References: <20090509170004.947F448B2EC@mail.runrev.com> Message-ID: <525F9423-85EB-4E71-BD80-F98B6AC4E0A3@mac.com> Can anyone suggest a way to dynamically resizing objects of a group as the group is resized? Specifically, I have a pair of lines who's lengths I would like to adjust by resizing the group they belong to. Thanks for your help. Cheers, Roger From pepetoo at cox.net Sat May 9 13:14:30 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sat, 9 May 2009 10:14:30 -0700 Subject: answer as sheet showing on wrong stack In-Reply-To: References: <4A0326D3.3050109@dreamscapesoftware.com> <4A0336E7.9060201@gmail.com> <4A0343E4.7040501@dreamscapesoftware.com> <4A038E44.8060200@hyperactivesw.com> <4A03C559.2070400@gmail.com> <4A054A27.5020001@gmail.com> Message-ID: Kay C: I figured that was probably an issue, but didn't take the time to explore and think it through. Sorry, Joe Wilkins On May 9, 2009, at 9:05 AM, Kay C Lan wrote: > On Sat, May 9, 2009 at 11:03 PM, Joe Lewis Wilkins > wrote: > >> Wouldn't it make even more sense to have a prominent link on the New >> RevOnLine to the Old RevOnLine? And vice versa? But that's too >> obvious! >> > > Ah I don't think it's that easy. > > New RevOnline doesn't run in Rev 3.0 or earlier, so anyone going to > RevOnline in Rev 2.6.1 will get Old RevOnline. Having a link to New > RevOnline is pointless if they don't have Rev 3.5. > > The same could be said for those on Rev 3.5 who don't have an older > copy, > but for those who do have old copies of Rev, whilst a link in New > RevOnline > to Old RevOnline might be workable I don't see how this is going to > prevent > wasted time looking for stacks in the wrong RevOnline if the creator > doesn't > announce which particular RevOnline they've uploaded to. > > To me it's like stating "I've made an OS X app" vs "I've made a > Leopard > app". One will have a bunch of Jaguar and Tiger users wasting time > trying to > figure out why your app doesn't work. Reminds me of recent thread > about > speaking accurately but still being ambiguous. From pepetoo at cox.net Sat May 9 13:20:00 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sat, 9 May 2009 10:20:00 -0700 Subject: answer as sheet showing on wrong stack In-Reply-To: <4A05B006.30305@hyperactivesw.com> References: <4A0326D3.3050109@dreamscapesoftware.com> <4A033110.1060509@dreamscapesoftware.com> <4A0336E7.9060201@gmail.com> <4A0343E4.7040501@dreamscapesoftware.com> <4A038E44.8060200@hyperactivesw.com> <4A03C559.2070400@gmail.com> <4A054A27.5020001@gmail.com> <4A05B006.30305@hyperactivesw.com> Message-ID: <4DA29BEB-E258-464B-ACF0-AE5B94C11FA3@cox.net> So perhaps, on further reflection, we just need some sort of "caveat" dialog on the two sites, that let users know this problem exists when they can't find that for which they're searching. Would save the list having to "re-explain" this condition ad nauseam. I'm always looking for simplistic solutions. Simple people do that! (smile) Joe Wilkins On May 9, 2009, at 9:32 AM, J. Landman Gay wrote: > Joe Lewis Wilkins wrote: >> Wouldn't it make even more sense to have a prominent link on the >> New RevOnLine to the Old RevOnLine? And vice versa? But that's too >> obvious! > > It can't be done. The two systems use different back-end databases, > different log-ins, and a completely rewritten RevOnline stack with > different code. People using older copies of Rev can't access the > new database, and vice versa. > > Those who have both older and newer copies of Rev could upload twice > if they are in a sharing mood. That's about the only way to do it. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From jim at visitrieve.com Sat May 9 13:21:57 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Sat, 9 May 2009 07:21:57 -1000 Subject: Multi-cores and standalones In-Reply-To: <4A05B897.1040107@deepfoo.com> References: <4A05B897.1040107@deepfoo.com> Message-ID: <007e01c9d0ca$a8369390$f8a3bab0$@com> Bryan McCormick wrote: > Does anyone know how or if multiple standalones use memory space or > cores? I realize they are not multi-threaded or multi-core aware. But > let's say you had five or six standalones running. Are they all in the > same space, using the same core? Or does the system dispatch and > allocate them? On PC anyway, the each occupy their own memory space. Aloha from Hawaii, Jim Bufalini From david at architex.tv Sat May 9 13:33:50 2009 From: david at architex.tv (David Bovill) Date: Sat, 9 May 2009 18:33:50 +0100 Subject: AppReg3.db Message-ID: Anyone no where this file is from - it's been in "My Revolution..." folder for a while, is ti a rev thing or a GLX2 thing? Time for a spring clean - would like to throw it out :) From effendi at wanadoo.fr Sat May 9 13:50:21 2009 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sat, 9 May 2009 19:50:21 +0200 Subject: e: Why Rev needs a cookbook ? Message-ID: Hi from Paris, I never invented a single thing - this I left to the real brainies. However, I inspected, copied, extrapolated, USED (unashamedly) other peoples code, and turned it to my advantage. So learning Revolution was not, and is not, my problem. There is so much brilliant code flying around on RevOnline, and on the forum, that I could never analyse it all and use it well. Of course, perhaps the "Newbies" could benefit from a little help in some of this code (there is quite a lot of code that I still cannot get my head around !) My problem is elsewhere. I have never written a line of HTML, have never written commands to access, upload, download, FTP, anything to or from the Internet. I have 40 years of programming expertise, and I don't know where to start off writing code for my Internet sites, or how to put them in place (I have detailed plans for 3 sites and nowhere to go as yet !). I feel that using Rev code inside HTML code could be an enormous benefit to me. I have just lashed out $500 for an On-Rev access, feeling in my bones that it was the right thing to do ....... and I don't even know where to start ..... Maybe the little blog written by Andr? Garzia will help me to "lift-off". Cook-Books - Certainly - But what to put in them ? -Francis "Nothing should ever be done for the first time !" From stephen at networkxfla.com Sat May 9 14:02:29 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Sat, 09 May 2009 14:02:29 -0400 Subject: Newbie... Strict Compilation mode In-Reply-To: <811623811656.20090509095752@ahsoftware.net> Message-ID: Humm I just compiled this and get nothing. On 5/9/09 12:57 PM, "Mark Wieder" wrote: > Stephen- > > Saturday, May 9, 2009, 9:39:27 AM, you wrote: > >> I've run across something. Even with Strict Compilation Mode on the compiler >> doesn't throw out an error if it sees some undeclared variables. So... > >> Local temp >> Put "1234" into temp >> Put "1234" into kemp > >> The compiles misses this completely. Of course it works cause you can create >> variables on the fly. But isn't the point of Strict Compilation Mode to >> force you to declare all variables before use? > > I get "compilation error at line 5 (Chunk: can't create a variable with that > name (explicitVariables?)) near "kemp", char 15" From mwieder at ahsoftware.net Sat May 9 14:01:55 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 May 2009 11:01:55 -0700 Subject: Dynamically resize members of a group In-Reply-To: <525F9423-85EB-4E71-BD80-F98B6AC4E0A3@mac.com> References: <20090509170004.947F448B2EC@mail.runrev.com> <525F9423-85EB-4E71-BD80-F98B6AC4E0A3@mac.com> Message-ID: <841627655062.20090509110155@ahsoftware.net> Roger- Saturday, May 9, 2009, 10:11:23 AM, you wrote: > Can anyone suggest a way to dynamically resizing objects of a group as > the group is resized? Specifically, I have a pair of lines who's > lengths I would like to adjust by resizing the group they belong to. > Thanks for your help. In rev 3.5 the resizeControl message is now sent to the group first. I handle it there and then resize the grouped controls individually. -- -Mark Wieder mwieder at ahsoftware.net From stephen at networkxfla.com Sat May 9 14:10:46 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Sat, 09 May 2009 14:10:46 -0400 Subject: Newbie... Strict Compilation mode In-Reply-To: <811623811656.20090509095752@ahsoftware.net> Message-ID: Ok I just created a new stack and put: local temp put "1234" into temp put "1234" into kemp And it compiles with no errors. Maybe I missed a checkbox someplace. Is "Strict Compilation Mode" in the Script Editor section the only option that has to be enabled? On 5/9/09 12:57 PM, "Mark Wieder" wrote: > Stephen- > > Saturday, May 9, 2009, 9:39:27 AM, you wrote: > >> I've run across something. Even with Strict Compilation Mode on the compiler >> doesn't throw out an error if it sees some undeclared variables. So... > >> Local temp >> Put "1234" into temp >> Put "1234" into kemp > >> The compiles misses this completely. Of course it works cause you can create >> variables on the fly. But isn't the point of Strict Compilation Mode to >> force you to declare all variables before use? > > I get "compilation error at line 5 (Chunk: can't create a variable with that > name (explicitVariables?)) near "kemp", char 15" From stephen at networkxfla.com Sat May 9 14:15:01 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Sat, 09 May 2009 14:15:01 -0400 Subject: Newbie question - how to check for a varible In-Reply-To: <4A05B5E3.1050203@hyperactivesw.com> Message-ID: By the way, off topic a bit: Wouldn't "I" && "am" be the same as "I " & "am"? ((notice the space after "I" in the second example")). On 5/9/09 12:57 PM, "J. Landman Gay" wrote: > Stephen Cox wrote: >> Wait. I don't get this. You saying that checking if an unused variable is >> empty returns false? Does revolution put some data in a variable when >> created? > > Sort of, but only in specific cases, which is mostly a side-effect of > how friendly Rev's interpreter is and how it deals with strings. (The > discussion about quoted field names shows how flexible Rev is with > strings.) If a variable is not specifically created with a value, the > value of the variable is the variable's name itself. > > This creates a variable without assigning it any value: > > on mouseup > put (var = empty) && "Var = " & var > end mouseup > > You get: false var = var > > But this assigns a value and gives what you'd expect: > > on mouseUp > put empty into var > put (var = empty) && "Var = " & var > end mouseUp > > Gives: true var = From stephenREVOLUTION2 at barncard.com Sat May 9 14:18:39 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 9 May 2009 11:18:39 -0700 Subject: AppReg3.db In-Reply-To: References: Message-ID: It is a MySQLLite database file ------------------------- Stephen Barncard San Francisco http://barncard.com 2009/5/9 David Bovill > Anyone no where this file is from - it's been in "My Revolution..." folder > for a while, is ti a rev thing or a GLX2 thing? Time for a spring clean - > would like to throw it out :) > _______________________________________________ > use-revolution mailing list > use-revolution at 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 May 9 14:18:43 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sat, 9 May 2009 11:18:43 -0700 Subject: Newbie question - how to check for a varible In-Reply-To: References: Message-ID: <71000266-CE99-4A0B-8B92-2774A788DD87@cox.net> Certainly should be the same. Isn't it? It is for me with 3.5. Joe Wilkins On May 9, 2009, at 11:15 AM, Stephen Cox wrote: > By the way, off topic a bit: > > Wouldn't "I" && "am" be the same as "I " & "am"? ((notice the space > after > "I" in the second example")). > From jacque at hyperactivesw.com Sat May 9 14:21:57 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 May 2009 13:21:57 -0500 Subject: Newbie question - how to check for a varible In-Reply-To: References: Message-ID: <4A05C9C5.1040208@hyperactivesw.com> Stephen Cox wrote: > By the way, off topic a bit: > > Wouldn't "I" && "am" be the same as "I " & "am"? ((notice the space after > "I" in the second example")). Yup. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sat May 9 14:24:18 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 May 2009 11:24:18 -0700 Subject: Newbie... Strict Compilation mode In-Reply-To: References: Message-ID: <1421628998125.20090509112418@ahsoftware.net> Stephen- Saturday, May 9, 2009, 11:10:46 AM, you wrote: > Ok I just created a new stack and put: > local temp > put "1234" into temp > put "1234" into kemp > And it compiles with no errors. Maybe I missed a checkbox someplace. Is > "Strict Compilation Mode" in the Script Editor section the only option that > has to be enabled? OK - I think I see what you're doing. If I just put that into a script then I can compile it with or without strict compilation mode. But then there's nothing to execute. I'm not really clear on what is getting compiled at that point. I think as far as the compiler is concerned there's no code to run, so there's nothing to compile. Try this: on mouseUp local temp put "1234" into temp put "1234" into kemp end mouseUp -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat May 9 14:27:06 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 May 2009 11:27:06 -0700 Subject: Newbie question - how to check for a varible In-Reply-To: References: Message-ID: <1941629165593.20090509112706@ahsoftware.net> Stephen- Saturday, May 9, 2009, 11:15:01 AM, you wrote: > Wouldn't "I" && "am" be the same as "I " & "am"? ((notice the space after > "I" in the second example")). also the same as "I" & " am" ...and just for good measure... "I" & space & "am" -- -Mark Wieder mwieder at ahsoftware.net From jim at visitrieve.com Sat May 9 14:29:01 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Sat, 9 May 2009 08:29:01 -1000 Subject: Newbie... Strict Compilation mode In-Reply-To: References: <811623811656.20090509095752@ahsoftware.net> Message-ID: <007f01c9d0d4$06f407b0$14dc1710$@com> Stephen Cox wrote: > Ok I just created a new stack and put: > > local temp > put "1234" into temp > put "1234" into kemp > > And it compiles with no errors. Maybe I missed a checkbox someplace. Is > "Strict Compilation Mode" in the Script Editor section the only option > that > has to be enabled? For what it's worth, in the Rev editor, I get: button "Button": compilation error at line 6 (Chunk: can't create a variable with that name (explicitVariables?)) near "kemp", char 12 And in GLX2: Script error Saturday, May 09, 2009 8:24:08 AM Error 44: Chunk: can't create a variable with that name (explicitVariables?) Why? put: bad chunk Handler: error in command Handler: error in handler Error at char 12 of line 6 in handler kemp Code: kemp How I got here: Object: Execution Context: And while it used to be called explicitVariables, it has been replaced by the more wordy Strict Compilation Mode and, as far as I know, this is all that has to be checked. This is on PC, Rev 3.5, GM-2 Aloha from Hawaii, Jim Bufalini From mwieder at ahsoftware.net Sat May 9 14:49:06 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 May 2009 11:49:06 -0700 Subject: Another newb question - How to you clear a field? In-Reply-To: References: Message-ID: <1601630485796.20090509114906@ahsoftware.net> Stephen- Friday, May 8, 2009, 1:08:34 PM, you wrote: > The manual is good, but has no reference to other languages. It would help > get my head out of OOP into Revolution. Don't get your head *too* far out of OOP. Revolution's got encapsulation, inheritance of a sort, and polymorphism is up to you to implement, as always. We don't have true subclassing, but the new rev 3.5 behaviors are a step in that direction. If you haven't seen it yet, check out Richard Gaskin's writeup on message inheritance: http://www.fourthworld.com/embassy/articles/revolution_message_path.html -- -Mark Wieder mwieder at ahsoftware.net From jim at visitrieve.com Sat May 9 14:50:51 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Sat, 9 May 2009 08:50:51 -1000 Subject: Newbie... Strict Compilation mode In-Reply-To: <1421628998125.20090509112418@ahsoftware.net> References: <1421628998125.20090509112418@ahsoftware.net> Message-ID: <008c01c9d0d7$138b1d80$3aa15880$@com> Mark Wieder wrote: > OK - I think I see what you're doing. If I just put that into a script > then I can compile it with or without strict compilation mode. But > then there's nothing to execute. I'm not really clear on what is > getting compiled at that point. I think as far as the compiler is > concerned there's no code to run, so there's nothing to compile. You are correct Mark. The errant code has to be in a handler inside of a script to get the error. Outside a handler in a script, it's not executable, and is therefore not compiled because the whole block, with the exception of the local declaration, which would become a script local, is meaningless. I tested this way and got the same result of no compile error. ;-) Aloha from Hawaii, Jim Bufalini From shaosean at wehostmacs.com Sat May 9 15:00:57 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Sat, 9 May 2009 15:00:57 -0400 Subject: [ANN] Cryptography Library 1.0.0 Message-ID: Thanks to Mark Smith for pointing this out (off-list) but it seems there is an issue with the SHA-1 and Intel-based Macs. From bryan at deepfoo.com Sat May 9 15:13:22 2009 From: bryan at deepfoo.com (Bryan McCormick) Date: Sat, 09 May 2009 15:13:22 -0400 Subject: Multi-cores and standalones Message-ID: <4A05D5D2.9090804@deepfoo.com> Thanks Jim, that's issue 1 out of the way. Now for the mystery of how apps are handled in multicore environments. From jperryl at ecs.fullerton.edu Sat May 9 15:27:50 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sat, 9 May 2009 12:27:50 -0700 (PDT) Subject: Why Rev needs a cookbook (newb questions) In-Reply-To: <4A0548F8.4090503@gmail.com> References: <200905090759.08807.palcibiades-first@yahoo.co.uk> <4A0548F8.4090503@gmail.com> Message-ID: What was the url to that beast again? Judy On Sat, 9 May 2009, Richmond Mathewson wrote: > Of course if any one wants to go to work on my moribund > RunRev learning wiki . . . From jhj at jhj.com Sat May 9 15:46:24 2009 From: jhj at jhj.com (Jerry J) Date: Sat, 9 May 2009 12:46:24 -0700 Subject: Another newb question - How to you clear a field? In-Reply-To: <20090509163227.734D348A6DB@mail.runrev.com> References: <20090509163227.734D348A6DB@mail.runrev.com> Message-ID: <2E9E7115-56F5-4E2C-9637-991BB412799B@jhj.com> > From: "J. Landman Gay" > > Yes, that is what I meant. But Dave Cragg disproved my theory, since > apparently the engine works at the same speed in either case (but I am > still having trouble believing it; it seems counter-intuitive.) I > think > it is better scripting form to quote literals in any case though. It > saves misinterpretation later on when you re-read your scripts, and in > some cases could prevent the engine from mis-interpreting your literal > values as variable names. Wouldn't the decision whether something is a variable or a literal be done just once at *compile* time, not a run time? After deciding, the compiler would point to either the location of a variable or the location of a literal string - either would be equally fast. So it doesn't matter how many loops - actually fewer might show up the slower decision making process during compilation, but even that is doubtful. Now if the benchmark had 100000 different unquoted literals, we would see the difference! I heartily agree that literals should be quoted for all those other good reasons. Cheer, Jerry Jensen From richmondmathewson at gmail.com Sat May 9 16:09:34 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 09 May 2009 23:09:34 +0300 Subject: Newbie... Strict Compilation mode In-Reply-To: <1421628998125.20090509112418@ahsoftware.net> References: <1421628998125.20090509112418@ahsoftware.net> Message-ID: <4A05E2FE.20404@gmail.com> Funny, I've never declared a variable in Runtime Revolution; I thought that was something that went out with PASCAL: even my BBC doesn't require me to that in BBC BASIC. I remember feeling 'odd' when I got my BBC (ah, all those years ago, out in the desert) that BBC BASIC didn't even need the LET statement anymore. May be this is a goofy question; but it can probably bear the asking one more time: What, if any, is the advantage of declaring variables in RR ? and, just to show you exactly how goofy I am: How do you declare variables in RR ? Mark Wieder wrote: > Stephen- > > Saturday, May 9, 2009, 11:10:46 AM, you wrote: > > >> Ok I just created a new stack and put: >> > > >> local temp >> put "1234" into temp >> put "1234" into kemp >> > > >> And it compiles with no errors. Maybe I missed a checkbox someplace. Is >> "Strict Compilation Mode" in the Script Editor section the only option that >> has to be enabled? >> > > OK - I think I see what you're doing. If I just put that into a script > then I can compile it with or without strict compilation mode. But > then there's nothing to execute. I'm not really clear on what is > getting compiled at that point. I think as far as the compiler is > concerned there's no code to run, so there's nothing to compile. > > Try this: > > on mouseUp > local temp > > put "1234" into temp > put "1234" into kemp > end mouseUp > > From richmondmathewson at gmail.com Sat May 9 16:14:47 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 09 May 2009 23:14:47 +0300 Subject: Newbie Question 5 of N Message-ID: <4A05E437.9060007@gmail.com> Just found 'strict compilation' in my trial of RR 3.5; but couldn't find anything about what it actually is (which makes Stephen Cox, who is passing himself off as a Newbie, look much longer in the tooth than I am). So; what is 'strict compilation', and why should we be interested? From richmondmathewson at gmail.com Sat May 9 16:16:40 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 09 May 2009 23:16:40 +0300 Subject: Why Rev needs a cookbook (newb questions) In-Reply-To: References: <200905090759.08807.palcibiades-first@yahoo.co.uk> <4A0548F8.4090503@gmail.com> Message-ID: <4A05E4A8.1070300@gmail.com> http://richmondsrevolution.pbworks.com/FrontPage mind you; the word 'beast' is apposite, in the sense that it resembles something big, ungainly and of little apparent use, at least at present. Judy Perry wrote: > What was the url to that beast again? > > Judy > > On Sat, 9 May 2009, Richmond Mathewson wrote: > >> Of course if any one wants to go to work on my moribund >> RunRev learning wiki . . . > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Sat May 9 16:24:09 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 09 May 2009 23:24:09 +0300 Subject: Why Rev needs a cookbook (newb questions) In-Reply-To: References: <200905090759.08807.palcibiades-first@yahoo.co.uk> <4A0548F8.4090503@gmail.com> Message-ID: <4A05E669.3010702@gmail.com> However, in the light of questions from the likes of Stephen Cox, I for one won't even consider touching that Wiki until after the conference, when I should be the proud owner of something 'slightly' newer than RevMedia 2.9. I do hope that with the launch of '4' the central GUI will remain the same for some time. Judy Perry wrote: > What was the url to that beast again? > > Judy > > On Sat, 9 May 2009, Richmond Mathewson wrote: > >> Of course if any one wants to go to work on my moribund >> RunRev learning wiki . . . > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Sat May 9 16:29:25 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 9 May 2009 13:29:25 -0700 Subject: Newbie... Strict Compilation mode In-Reply-To: <4A05E2FE.20404@gmail.com> References: <1421628998125.20090509112418@ahsoftware.net> <4A05E2FE.20404@gmail.com> Message-ID: 2009/5/9 Richmond Mathewson > What, if any, is the advantage of declaring variables in RR ? > Better error checking, I guess. > How do you declare variables in RR ? > local tLocalVar = "This is a local string" local x,y,z global tGlobalvar = "This is a global string" ------------------------- Stephen Barncard San Francisco http://barncard.com From mwieder at ahsoftware.net Sat May 9 16:31:57 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 May 2009 13:31:57 -0700 Subject: Newbie Question 5 of N In-Reply-To: <4A05E437.9060007@gmail.com> References: <4A05E437.9060007@gmail.com> Message-ID: <551636656671.20090509133157@ahsoftware.net> Richmond- Saturday, May 9, 2009, 1:14:47 PM, you wrote: > So; what is 'strict compilation', and why should we be > interested? "Strict compilation" was formerly referred to as "explictVars". Setting the checkbox *forces* you to declare all your variables or be faced with compile errors. The advantage is that it cuts down dramaticly on the number of bugs in one's coding. You can't, for example, mistakenly type and compile put the last chr of line x of field 3 or put thevariablenames into field 1 -- -Mark Wieder mwieder at ahsoftware.net From david.bovill at gmail.com Sat May 9 16:35:05 2009 From: david.bovill at gmail.com (David Bovill) Date: Sat, 9 May 2009 21:35:05 +0100 Subject: AppReg3.db In-Reply-To: References: Message-ID: Thanks Stephen - I guess what i need to know is if a Rev plugin or framework needs this file - or if it is just hanging around from a tutorial stack. I'll try moving it away and see if anything breaks - trouble is everything is very broken :( Getting a crash every 5 minutes at the moment - reverting to 3.5-gm1 does not seem to be helping much - nor does using the Rev Script Editor over GLX2 - wish I could track down what was causing everything to be so unstable :( 2009/5/9 stephen barncard > It is a MySQLLite database file From devin_asay at byu.edu Sat May 9 16:35:47 2009 From: devin_asay at byu.edu (Devin Asay) Date: Sat, 9 May 2009 14:35:47 -0600 Subject: e: Why Rev needs a cookbook ? In-Reply-To: References: Message-ID: <2DA3D0F4-A69B-41D0-B956-A097F7F37799@byu.edu> On May 9, 2009, at 11:50 AM, Francis Nugent Dixon wrote: > I have never written a line of HTML, have never > written commands to access, upload, download, > FTP, anything to or from the Internet. I have 40 years > of programming expertise, and I don't know where > to start off writing code for my Internet sites, or how > to put them in place (I have detailed plans for 3 sites > and nowhere to go as yet !). I feel that using Rev code > inside HTML code could be an enormous benefit to me. > > I have just lashed out $500 for an On-Rev access, > feeling in my bones that it was the right thing to do > ....... and I don't even know where to start ..... > > Maybe the little blog written by Andr? Garzia will > help me to "lift-off". Sarah Reichelt is collecting links to examples of Rev server side scripting. That would be an excellent starting point. The link is: HTH Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From richmondmathewson at gmail.com Sat May 9 16:38:48 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 09 May 2009 23:38:48 +0300 Subject: Newbie... Strict Compilation mode In-Reply-To: References: <1421628998125.20090509112418@ahsoftware.net> <4A05E2FE.20404@gmail.com> Message-ID: <4A05E9D8.5070004@gmail.com> Beats me: I think I'll continue 'conjuring variables out of the air': put "Who's afraid of undeclared variables?" && "bah, humbug!" into POOBAH :) stephen barncard wrote: > 2009/5/9 Richmond Mathewson > > >> What, if any, is the advantage of declaring variables in RR ? >> >> > > Better error checking, I guess. > > > >> How do you declare variables in RR ? >> >> > > local tLocalVar = "This is a local string" > local x,y,z > > global tGlobalvar = "This is a global string" > > > > > ------------------------- > Stephen Barncard > San Francisco > http://barncard.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 DunbarX at aol.com Sat May 9 16:45:34 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Sat, 9 May 2009 16:45:34 EDT Subject: Why Rev needs a cookbook (newb questions) Message-ID: Where is Danny Goodman? ************** Remember Mom this Mother's Day! Find a florist near you now. (http://yellowpages.aol.com/search?query=florist& ncid=emlcntusyelp00000006) From stephenREVOLUTION2 at barncard.com Sat May 9 17:00:27 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 9 May 2009 14:00:27 -0700 Subject: AppReg3.db In-Reply-To: References: Message-ID: No, it's just a data file. If you are not using MySQL-Lite then delete it. But it doesn't execute. If you ever fired up MySQL-Lite then I think that's the default name. ------------------------- Stephen Barncard San Francisco http://barncard.com 2009/5/9 David Bovill > Thanks Stephen - I guess what i need to know is if a Rev plugin or > framework > needs this file - or if it is just hanging around from a tutorial stack. > From stephenREVOLUTION2 at barncard.com Sat May 9 17:01:33 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 9 May 2009 14:01:33 -0700 Subject: AppReg3.db In-Reply-To: References: Message-ID: Have you deleted the rev preferences? ------------------------- Stephen Barncard San Francisco http://barncard.com 2009/5/9 David Bovill > Thanks Stephen - I guess what i need to know is if a Rev plugin or > framework > needs this file - or if it is just hanging around from a tutorial stack. > I'll try moving it away and see if anything breaks - trouble is everything > is very broken :( Getting a crash every 5 minutes at the moment - reverting > to 3.5-gm1 does not seem to be helping much - nor does using the Rev Script > Editor over GLX2 - wish I could track down what was causing everything to > be > so unstable :( > > 2009/5/9 stephen barncard > > > It is a MySQLLite database file > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From irog at mac.com Sat May 9 17:04:54 2009 From: irog at mac.com (Roger Guay) Date: Sat, 09 May 2009 14:04:54 -0700 Subject: Dynamically resize members of a group In-Reply-To: <20090509210031.3362148B353@mail.runrev.com> References: <20090509210031.3362148B353@mail.runrev.com> Message-ID: On May 9, 2009, at 2:00 PM, use-revolution-request at lists.runrev.com wrote: > Roger- > > Saturday, May 9, 2009, 10:11:23 AM, you wrote: > >> Can anyone suggest a way to dynamically resizing objects of a group >> as >> the group is resized? Specifically, I have a pair of lines who's >> lengths I would like to adjust by resizing the group they belong to. >> Thanks for your help. > > In rev 3.5 the resizeControl message is now sent to the group first. I > handle it there and then resize the grouped controls individually. > > -- > -Mark Wieder Thank you, Mark. Here is a script that answers my own question: local foo1Pts,foo2Pts,y1,y2 on selectedObjectChanged put line 1 of the points of grc foo1 into foo1Pts put line 1 of the points of grc foo2 into foo2Pts put item 2 of line 2 of the points of grc foo1 into y1 put item 2 of line 2 of the points of grc foo2 into y2 pass selectedObjectChanged end selectedObjectChanged on moveControl put line 1 of the points of grc foo1 into foo1Pts put line 1 of the points of grc foo2 into foo2Pts put item 2 of line 2 of the points of grc foo1 into y1 put item 2 of line 2 of the points of grc foo2 into y2 pass moveControl end moveControl on resizeControl put the mouseH into newX set the points of grc foo1 to foo1Pts,newx,y1 set the points of grc foo2 to foo2Pts,newx,y2 end resizeControl Thanks and cheers, Roger From kray at sonsothunder.com Sat May 9 17:10:04 2009 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 09 May 2009 16:10:04 -0500 Subject: App on Linux - really slow... any ideas why? In-Reply-To: <23443844.post@talk.nabble.com> Message-ID: > OK, loaded Puppy 4.2, with the copy to memory option and using Xorg not VESA. > > Ran the IDE 3.5, and it seemed fine. Fired up a few stacks and they were > fine, positively snappy. I couldn't even get *that* far... I'm using 4.2, and Xorg (not sure if I have copy to memory on - where would I check?) and downloaded Rev 3.5. Went to launch it and nothing happened. When I tried to launch it in from the console I got all sorts of GDK error messages, starting with "Unable to get 32-bit visual, not using XFT". Not sure what to do about that... > Does anyone have a seriously display intensive stack they can post > somewhere? It would be nice to have one that definitely does show the > problem. Or, Ken, if you want to mail me a compiled version of yours that > is causing the problem, I'd be happy to see if I can reproduce and/or do > something to eliminate it. Sure, I can send it to you; I'll do that so you can see what I'm seeing (hopefully). > It occurs to me that it might be worth trying Slitaz, a true minimalist > distro, 30MB or so. If the problemstill happens with Slitaz, its really at > a basic level with Linux rather than some dispensable extra bit. OK, I'll try that when I get a chance. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From 54481C0151652ADE at architex.tv Sat May 9 17:11:58 2009 From: 54481C0151652ADE at architex.tv (54481C0151652ADE at architex.tv) Date: Sat, 9 May 2009 22:11:58 +0100 Subject: AppReg3.db In-Reply-To: References: Message-ID: No - I haven't - think I've tracked it to using GLX2 clairvoyance in the message box - I guess that is active even when the Script Editor isn't. 2009/5/9 stephen barncard > Have you deleted the rev preferences? > > ------------------------- > Stephen Barncard > San Francisco > http://barncard.com > > > 2009/5/9 David Bovill > > > Thanks Stephen - I guess what i need to know is if a Rev plugin or > > framework > > needs this file - or if it is just hanging around from a tutorial stack. > > I'll try moving it away and see if anything breaks - trouble is > everything > > is very broken :( Getting a crash every 5 minutes at the moment - > reverting > > to 3.5-gm1 does not seem to be helping much - nor does using the Rev > Script > > Editor over GLX2 - wish I could track down what was causing everything to > > be > > so unstable :( > > > > 2009/5/9 stephen barncard > > > > > It is a MySQLLite database file > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From david at architex.tv Sat May 9 17:12:32 2009 From: david at architex.tv (David Bovill) Date: Sat, 9 May 2009 22:12:32 +0100 Subject: AppReg3.db In-Reply-To: References: Message-ID: No - I haven't - think I've tracked it to using GLX2 clairvoyance in the message box - I guess that is active even when the Script Editor isn't. 2009/5/9 stephen barncard > Have you deleted the rev preferences? > > ------------------------- > Stephen Barncard > San Francisco > http://barncard.com > > > 2009/5/9 David Bovill > > > Thanks Stephen - I guess what i need to know is if a Rev plugin or > > framework > > needs this file - or if it is just hanging around from a tutorial stack. > > I'll try moving it away and see if anything breaks - trouble is > everything > > is very broken :( Getting a crash every 5 minutes at the moment - > reverting > > to 3.5-gm1 does not seem to be helping much - nor does using the Rev > Script > > Editor over GLX2 - wish I could track down what was causing everything to > > be > > so unstable :( > > > > 2009/5/9 stephen barncard > > > > > It is a MySQLLite database file > > _______________________________________________ > > use-revolution mailing list > > use-revolution 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 Sat May 9 17:21:59 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 10 May 2009 00:21:59 +0300 Subject: Why Rev needs a cookbook (newb questions) In-Reply-To: References: Message-ID: <4A05F3F7.4080608@gmail.com> Do you mean 'Danny Goodman' the man, or 'Danny Goodman' the wonderful book about Hypercard? As far as I know the man is "off, elsewhere"; i.e. not interested in Hypercard's successors: http://www.dannyg.com/ I have a copy of the book; currently languishing in my attic in Scotland, it will be retrieved AFTER the conference. Among my many other misplaced fantasies, which rarely bear fruit, is the idea of "doing a Goodman:' or, to put it more crudely, following his book, almost page for page, to produce a Runtime Revolution equivalent. His HC book, while being interesting historical reading for folk like me, is now so distant, time-wise, and so out-dated, that as such I don't think it would be much use for new RR users. However, what his book can serve as is a skeleton on which to build an "intro to RR" book, as it has a very good series of fairly clearly demarcated steps. DunbarX at aol.com wrote: > Where is Danny Goodman? > > > ************** > Remember Mom this Mother's Day! Find a > florist near you now. (http://yellowpages.aol.com/search?query=florist& > ncid=emlcntusyelp00000006) > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Sat May 9 17:24:47 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 10 May 2009 00:24:47 +0300 Subject: Newbie Question 5 of N In-Reply-To: <551636656671.20090509133157@ahsoftware.net> References: <4A05E437.9060007@gmail.com> <551636656671.20090509133157@ahsoftware.net> Message-ID: <4A05F49F.5020807@gmail.com> Writing as someone who, generally, learns from his errors, and trying to work out why they are error, this sounds as if it would not be a great advantage to me. Probably much more useful for somebody trying to belt out something with a very quick SDLC or turn-around. Mark Wieder wrote: > Richmond- > > Saturday, May 9, 2009, 1:14:47 PM, you wrote: > > >> So; what is 'strict compilation', and why should we be >> interested? >> > > "Strict compilation" was formerly referred to as "explictVars". > Setting the checkbox *forces* you to declare all your variables or be > faced with compile errors. The advantage is that it cuts down > dramaticly on the number of bugs in one's coding. You can't, for > example, mistakenly type and compile > > put the last chr of line x of field 3 > or > put thevariablenames into field 1 > > From stephenREVOLUTION2 at barncard.com Sat May 9 18:02:28 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 9 May 2009 15:02:28 -0700 Subject: App on Linux - really slow... any ideas why? In-Reply-To: References: <23443844.post@talk.nabble.com> Message-ID: I just tried the Slitaz distro on my MacBook Pro. looks really good .. but ... I can't get it to eject the CD image. Holding down the C key does not work.... HELP this is the first Linux distro I've tried in years... ------------------------- Stephen Barncard San Francisco http://barncard.com 2009/5/9 Ken Ray > > It occurs to me that it might be worth trying Slitaz, a true minimalist > > distro, 30MB or so. If the problemstill happens with Slitaz, its really > at > > a basic level with Linux rather than some dispensable extra bit. > > OK, I'll try that when I get a chance. > > Ken Ray From stephen at networkxfla.com Sat May 9 18:04:17 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Sat, 09 May 2009 18:04:17 -0400 Subject: Newbie... Strict Compilation mode In-Reply-To: <4A05E2FE.20404@gmail.com> Message-ID: Force of habit. And there are many languages that require variable checking. And indeed typing. Like C, C++, C#, VB , Python, JS, AS, ST, Perl, and on and on. Anyway it's one of Revolution strengths not to requiring variable typing and creation. On 5/9/09 4:09 PM, "Richmond Mathewson" wrote: > Funny, I've never declared a variable in Runtime Revolution; I thought that > was something that went out with PASCAL: even my BBC doesn't require me > to that in BBC BASIC. I remember feeling 'odd' when I got my BBC (ah, all > those years ago, out in the desert) that BBC BASIC didn't even need the > LET statement > anymore. > > May be this is a goofy question; but it can probably bear > the asking one more time: > > What, if any, is the advantage of declaring variables in RR ? > > and, just to show you exactly how goofy I am: > > How do you declare variables in RR ? > > Mark Wieder wrote: >> Stephen- >> >> Saturday, May 9, 2009, 11:10:46 AM, you wrote: >> >> >>> Ok I just created a new stack and put: >>> >> >> >>> local temp >>> put "1234" into temp >>> put "1234" into kemp >>> >> >> >>> And it compiles with no errors. Maybe I missed a checkbox someplace. Is >>> "Strict Compilation Mode" in the Script Editor section the only option that >>> has to be enabled? >>> >> >> OK - I think I see what you're doing. If I just put that into a script >> then I can compile it with or without strict compilation mode. But >> then there's nothing to execute. I'm not really clear on what is >> getting compiled at that point. I think as far as the compiler is >> concerned there's no code to run, so there's nothing to compile. >> >> Try this: >> >> on mouseUp >> local temp >> >> put "1234" into temp >> put "1234" into kemp >> 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 Sat May 9 18:03:12 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 May 2009 15:03:12 -0700 Subject: App on Linux - really slow... any ideas why? In-Reply-To: References: Message-ID: <331642132078.20090509150312@ahsoftware.net> Ken- Saturday, May 9, 2009, 2:10:04 PM, you wrote: > I couldn't even get *that* far... I'm using 4.2, and Xorg (not sure if I > have copy to memory on - where would I check?) and downloaded Rev 3.5. Went > to launch it and nothing happened. When I tried to launch it in from the > console I got all sorts of GDK error messages, starting with "Unable to get > 32-bit visual, not using XFT". Not sure what to do about that... Anything like BZ #5382? -- -Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION2 at barncard.com Sat May 9 18:17:02 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 9 May 2009 15:17:02 -0700 Subject: App on Linux - really slow... any ideas why? In-Reply-To: References: <23443844.post@talk.nabble.com> Message-ID: Never mind, I figured it out. 2009/5/9 stephen barncard > I just tried the Slitaz distro on my MacBook Pro. looks really good > .. but ... I can't get it to eject the CD image. Holding down the C > key does not work.... HELP > From stephen at networkxfla.com Sat May 9 19:34:37 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Sat, 09 May 2009 19:34:37 -0400 Subject: Why Rev needs a cookbook (newb questions) In-Reply-To: <200905090759.08807.palcibiades-first@yahoo.co.uk> Message-ID: Why not just comment - leave notes - in the online Dictionary? That be easy for all to di and help a lot. On 5/9/09 2:59 AM, "Peter Alcibiades" wrote: > I said this before, but its why Rev needs a cookbook on the lines of Carla > Schroder's great "Linux Cookbook" > > Steven Cox's queries illustrate the problem very clearly. Imagine a kitchen > with lots of pots and pans and ingredients in it. It comes with a 400 > page guide detailing the function of every one. > > We now have an intelligent Martian who has just been employed as a cook. > His first assignment is spaghetti carbonara, or cassoulet. Where does he > start? > > What he has is a superb kitchen manual. What he wants is a cookbook, with > a systematic set of entries like this (from the Rev for C programmers > page): > > "To filter a handler so that it only responds to certain objects, rather > than every object below it in the hierarchy, use the target function to > determine which object originally received the message being handled. > > "To create a code library, place the handlers you want to re-use in any > object that?s available in your a stack, then use the insert script > command to add that object to the hierarchy." > > So what Steven is looking for is a cookbook with entries like "to empty a > field......" "to check for a variable.....". "to make elements in a > list field clickable...." "to change the mouse to a hand while > hovering..." > > Without this, learning becomes a Zen like experience. You know the story > of the young man wanting to learn swordsmanship? He enrols with a master, > and the first day when expecting to meet for a lesson, is astonished to be > hit violently over the head with a stick. His master has sneaked up on > him. As time goes by the attacks continue and become more and more > devious. One day he is about to enter a room and something makes him > pause. His master emerges from behind the door and bows deeply. > > Its OK.... but a recipe book is easier. > > 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 stephenREVOLUTION2 at barncard.com Sat May 9 19:39:15 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 9 May 2009 16:39:15 -0700 Subject: Why Rev needs a cookbook (newb questions) In-Reply-To: References: <200905090759.08807.palcibiades-first@yahoo.co.uk> Message-ID: The notes can't be entered by users in earlier versions. The comments are tied into the NEW revonline. ------------------------- Stephen Barncard San Francisco http://barncard.com 2009/5/9 Stephen Cox > Why not just comment - leave notes - in the online Dictionary? That be easy > for all to di and help a lot. > > > On 5/9/09 2:59 AM, "Peter Alcibiades" > wrote: > > > I said this before, but its why Rev needs a cookbook on the lines of > Carla > > Schroder's great "Linux Cookbook" > > > > Steven Cox's queries illustrate the problem very clearly. Imagine a > kitchen > > with lots of pots and pans and ingredients in it. It comes with a 400 > > page guide detailing the function of every one. > > > > We now have an intelligent Martian who has just been employed as a cook. > > His first assignment is spaghetti carbonara, or cassoulet. Where does he > > start? > > > > What he has is a superb kitchen manual. What he wants is a cookbook, > with > > a systematic set of entries like this (from the Rev for C programmers > > page): > > > > "To filter a handler so that it only responds to certain objects, rather > > than every object below it in the hierarchy, use the target function to > > determine which object originally received the message being handled. > > > > "To create a code library, place the handlers you want to re-use in any > > object that?s available in your a stack, then use the insert script > > command to add that object to the hierarchy." > > > > So what Steven is looking for is a cookbook with entries like "to empty a > > field......" "to check for a variable.....". "to make elements in a > > list field clickable...." "to change the mouse to a hand while > > hovering..." > > > > Without this, learning becomes a Zen like experience. You know the story > > of the young man wanting to learn swordsmanship? He enrols with a > master, > > and the first day when expecting to meet for a lesson, is astonished to > be > > hit violently over the head with a stick. His master has sneaked up on > > him. As time goes by the attacks continue and become more and more > > devious. One day he is about to enter a room and something makes him > > pause. His master emerges from behind the door and bows deeply. > > > > Its OK.... but a recipe book is easier. > > > > 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 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From stephen at networkxfla.com Sat May 9 19:45:49 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Sat, 09 May 2009 19:45:49 -0400 Subject: Newbie Question 5 of N In-Reply-To: <4A05F49F.5020807@gmail.com> Message-ID: Actually I'm not so sure it even matters, considering this isn't a typed language. I was just surprised when I ran my first try at code and had errors at runtime. Almost every compiler I've used checked variables. Why I asked in the first place. On 5/9/09 5:24 PM, "Richmond Mathewson" wrote: > Writing as someone who, generally, learns from his errors, and > trying to work out why they are error, this sounds as if it would > not be a great advantage to me. > > Probably much more useful for somebody trying to belt out > something with a very quick SDLC or turn-around. > > Mark Wieder wrote: >> Richmond- >> >> Saturday, May 9, 2009, 1:14:47 PM, you wrote: >> >> >>> So; what is 'strict compilation', and why should we be >>> interested? >>> >> >> "Strict compilation" was formerly referred to as "explictVars". >> Setting the checkbox *forces* you to declare all your variables or be >> faced with compile errors. The advantage is that it cuts down >> dramaticly on the number of bugs in one's coding. You can't, for >> example, mistakenly type and compile >> >> put the last chr of line x of field 3 >> or >> put thevariablenames into field 1 >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jim at visitrieve.com Sat May 9 19:56:11 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Sat, 9 May 2009 13:56:11 -1000 Subject: Newbie... Strict Compilation mode In-Reply-To: <4A05E2FE.20404@gmail.com> References: <1421628998125.20090509112418@ahsoftware.net> <4A05E2FE.20404@gmail.com> Message-ID: <00a501c9d101$bb4789d0$31d69d70$@com> Richmond Mathewson wrote: > May be this is a goofy question; but it can probably bear > the asking one more time: > > What, if any, is the advantage of declaring variables in RR ? - Unles yu ar an perfct typst who has nevr made a typo and nevar use a speel checker, explicitVariables instantly indicates a speling eror at compile tim and alows you too quikly corect. - This is also very helpful to people to whom English is a second language and English spelling is not intuitive and they can and often do put one r or l in one place and two r's or ll's in another and other such typical English spelling errors. - It allows you to distinguish globals from script locals and constants both at the script level and handler level. - It allows you to declare globals from inside a handler (which creates a "semi" global that is only available to other handlers that also declare the same global). - It makes your code much more readable, not only to others, but to yourself, when you are troubleshooting a problem weeks or months or years later. - It is "polite" to others with whom you may want to share your code and they have explicitVariables turned on. They are not going to turn it off for a large project just to look at few lines of your code. - If you use GLX2, it allows GLX2 to offer you variable completion after typing four chars of a declared variable name. - The reason the name was changed is probably because it also checks that you have not spelled reserved words incorrectly. *set the locaton of this stack to screnLoc* will not give a compile time error if Strict Compilation Mode is turned off. If it is on, you get an error. If you are just learning the language, this is big help. Lastly, although you can "create" variables without declaration, the fact is, variables cannot be created on-the-fly at runtime. Only array variables and custom property variables can be created on-the-fly. Otherwise, you must use a *do* statement, which has limitations, is slow because it is complied at runtime and can be tedious and error prone to write a long one. All other variables are whatever you typed on compile. So, given these facts, the real question is: What, if any, is the advantage of NOT declaring variables? ;-) Aloha from Hawaii, Jim Bufalini From mwieder at ahsoftware.net Sat May 9 20:00:38 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 May 2009 17:00:38 -0700 Subject: Newbie Question 5 of N In-Reply-To: <4A05F49F.5020807@gmail.com> References: <4A05E437.9060007@gmail.com> <551636656671.20090509133157@ahsoftware.net> <4A05F49F.5020807@gmail.com> Message-ID: <221649178203.20090509170038@ahsoftware.net> Richmond- Saturday, May 9, 2009, 2:24:47 PM, you wrote: > Writing as someone who, generally, learns from his errors, and > trying to work out why they are error, this sounds as if it would > not be a great advantage to me. Not to worry - there's plenty of errors to go around... ...I'd be happy to let you have some of mine... -- -Mark Wieder mwieder at ahsoftware.net From psahores at free.fr Sat May 9 20:04:32 2009 From: psahores at free.fr (Pierre Sahores) Date: Sun, 10 May 2009 02:04:32 +0200 Subject: Multi-cores and standalones In-Reply-To: <007e01c9d0ca$a8369390$f8a3bab0$@com> References: <4A05B897.1040107@deepfoo.com> <007e01c9d0ca$a8369390$f8a3bab0$@com> Message-ID: The same with mac os x (10.5) : 2 apps = 2 cores at work. -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com Le 9 mai 09 ? 19:21, Jim Bufalini a ?crit : > Bryan McCormick wrote: > >> Does anyone know how or if multiple standalones use memory space or >> cores? I realize they are not multi-threaded or multi-core aware. But >> let's say you had five or six standalones running. Are they all in >> the >> same space, using the same core? Or does the system dispatch and >> allocate them? > > On PC anyway, the each occupy their own memory space. > > 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 alex at tweedly.net Sat May 9 20:10:44 2009 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 10 May 2009 01:10:44 +0100 Subject: Should this not be an error ? In-Reply-To: <1511622368796.20090509093349@ahsoftware.net> References: <4A05A1D5.8070105@tweedly.net> <1511622368796.20090509093349@ahsoftware.net> Message-ID: <4A061B84.3010802@tweedly.net> Mark Wieder wrote: > Alex- > > Saturday, May 9, 2009, 8:31:33 AM, you wrote: > > >> Shouldn't this be a compile error ? >> > > Same answer as the other question. If tracking this kind of error down > seems like a pain then turn on explictVars and get in the habit of > declaring variables. > I accept that for 'chr' (though I wonder what "the last myVar of temp" means) ? But for the other example, I don't get it. Why is > if the last line of t is empty then delete line -` of t affected by variable checking ? Is ` a variable name ? Oops - just tried it and it *is* ? I am amazed :-) Is there anywhere defined the set of characters that can be used in a variable name ? -- Alex. From mwieder at ahsoftware.net Sat May 9 20:14:05 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 May 2009 17:14:05 -0700 Subject: revOnline Message-ID: <261649984421.20090509171405@ahsoftware.net> All- The new revOnline browser is a bit of a mystery to me. Over on the left there's a kind of filter and I've figured out how the filtering works, although (nudge, nudge, wink to the rev team) it would be more useful if the various keywords also displayed how many entries I could expect to find in each category. But the keywords themselves (I'm assuming that's what they are) are in some random order and there doesn't seem to be a way to sort them alphabetically or otherwise. Right now they just read like free association poetry: files blur sepia resize They're not grouped by any structure that makes sense to me. I suppose I'm assuming that the organization does make sense to somebody... -- -Mark Wieder mwieder at ahsoftware.net From alex at tweedly.net Sat May 9 20:16:10 2009 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 10 May 2009 01:16:10 +0100 Subject: Newbie... Strict Compilation mode In-Reply-To: <4A05E2FE.20404@gmail.com> References: <1421628998125.20090509112418@ahsoftware.net> <4A05E2FE.20404@gmail.com> Message-ID: <4A061CCA.60101@tweedly.net> Richmond Mathewson wrote: > Funny, I've never declared a variable in Runtime Revolution; I thought > that > was something that went out with PASCAL: even my BBC doesn't require me > to that in BBC BASIC. I remember feeling 'odd' when I got my BBC (ah, > all > those years ago, out in the desert) that BBC BASIC didn't even need > the LET statement > anymore. > > May be this is a goofy question; but it can probably bear > the asking one more time: > > What, if any, is the advantage of declaring variables in RR ? > The advantage is that if yuor tipyng is as dab as nime tehn oyur erorrs teg caugth soneer :-) -- Alex. From sarah.reichelt at gmail.com Sat May 9 20:22:27 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 10 May 2009 10:22:27 +1000 Subject: AppReg3.db In-Reply-To: References: Message-ID: On Sun, May 10, 2009 at 3:33 AM, David Bovill wrote: > Anyone no where this file is from - it's been in "My Revolution..." folder > for a while, is ti a rev thing or a GLX2 thing? Time for a spring clean - > would like to throw it out :) It's the demo SQLite database created by the SQLite sample stack. You can throw it out as it will be re-created if you run the demo again. Cheers, Sarah From sarah.reichelt at gmail.com Sat May 9 20:36:13 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 10 May 2009 10:36:13 +1000 Subject: e: Why Rev needs a cookbook ? In-Reply-To: References: Message-ID: > My problem is elsewhere. > > I have never written a line of HTML, have never > written commands to access, upload, download, > FTP, anything to or from the Internet. I have 40 years > of programming expertise, and I don't know where > to start off writing code for my Internet sites, or how > to put them in place (I have detailed plans for 3 sites > and nowhere to go as yet !). I feel that using Rev code > inside HTML code could be an enormous benefit to me. > > I have just lashed out $500 for an On-Rev access, > feeling in my bones that it was the right thing to do > ....... and I don't even know where to start ..... Hi Francis, Firstly, you can use the On-Rev web hosting service without knowing any html. You do have to be able to create a web site, but if you use iWeb or some similar program, that can be easily done. Then you need to upload this site to the On-Rev servers. Your introductory email from On-Rev has info on the settings needed for this - you can do it through the cPanel web interface, or get iWeb to do it for you, or use an FTP program like CyberDuck. BUT..... you are not going to get the most out of on-rev unless you learn some simple HTML. It's great feature is in allowing you to alter or create html on the fly using Revolution scripting. As an example, go to this page: It's not very exciting, but it does some maths as well as reporting various system parameters. Now go to this page: This shows the script of the irev file that generates the first page. The data you see on the first page is NOT contained in the script, but the script contains Rev commands to get the data with the html tags to display it in the required format. The ability to mix & match the HTML with the Rev scripting gives incredible power and flexibility. I am still only scratching the surface of what can be done. So I recommend that you read Mark's engine notes and follow his examples . You can do this using the On-Rev application. Then I suggest going to and learning the basics of HTML. I dislike using forums, but the on-rev forum is very helpful and lots of people are posting examples, so join in and ask questions. Cheers, Sarah From mwieder at ahsoftware.net Sat May 9 20:37:13 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 May 2009 17:37:13 -0700 Subject: Should this not be an error ? In-Reply-To: <4A061B84.3010802@tweedly.net> References: <4A05A1D5.8070105@tweedly.net> <1511622368796.20090509093349@ahsoftware.net> <4A061B84.3010802@tweedly.net> Message-ID: <1891651372437.20090509173713@ahsoftware.net> Alex- Saturday, May 9, 2009, 5:10:44 PM, you wrote: > I accept that for 'chr' (though I wonder what "the last myVar of temp" > means) ? > But for the other example, I don't get it. Why is >> if the last line of t is empty then delete line -` of t > affected by variable checking ? Is ` a variable name ? > Oops - just tried it and it *is* ? I am amazed :-) > Is there anywhere defined the set of characters that can be used in a > variable name ? Not that I know of. I was also surprised that ` was allowed. But put 42 into ` is a valid statement. It seems like more of a parlor trick than something that could be turned into a clever hack. And I also think it's a bug resulting from the ` character's place in the ASCII table. I notice that @ and _ and ? are also accepted as variable names. That's just wrong. You can hurt yourself playing around with these things. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat May 9 20:42:36 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 May 2009 17:42:36 -0700 Subject: Newbie... Strict Compilation mode In-Reply-To: <4A061CCA.60101@tweedly.net> References: <1421628998125.20090509112418@ahsoftware.net> <4A05E2FE.20404@gmail.com> <4A061CCA.60101@tweedly.net> Message-ID: <701651696062.20090509174236@ahsoftware.net> Alex- Saturday, May 9, 2009, 5:16:10 PM, you wrote: > The advantage is that if yuor tipyng is as dab as nime tehn oyur erorrs > teg caugth soneer :-) Would that it worked that way. But if you type put 42 into myVarr instead of put 42 into myVar then rev will happily create a new variable for you at compile time and runtime and leave you to your own devices to find why your code isn't running the way you *know* it should. With Strict Compilation you'll know *before* you get into trouble. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Sat May 9 21:01:53 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 May 2009 20:01:53 -0500 Subject: Newbie... Strict Compilation mode In-Reply-To: <00a501c9d101$bb4789d0$31d69d70$@com> References: <1421628998125.20090509112418@ahsoftware.net> <4A05E2FE.20404@gmail.com> <00a501c9d101$bb4789d0$31d69d70$@com> Message-ID: <4A062781.8030505@hyperactivesw.com> Jim Bufalini wrote: > - It allows you to distinguish globals from script locals and constants both > at the script level and handler level. You can do that without declaring them explicitly too. > - It allows you to declare globals from inside a handler (which creates a > "semi" global that is only available to other handlers that also declare the > same global). You can also do this without turning on explictVars. It is, in fact, a direct feature port from HyperCard circa 1989. I also routinely declare script constants, locals and globals at the top of scripts, because that is the only way to get them. But that isn't the same as requiring a mess of declarations inside every single handler. > - It makes your code much more readable, not only to others, but to > yourself, when you are troubleshooting a problem weeks or months or years > later. Disagree. It makes your code messy, adds tons of extra lines that you have to skip over to get to the real code, isn't necessary, and clutters up the script with top junk. It isn't clean and I find it much less readable. I would go so far as to say it is inelegant. It is the opposite of writing the smallest, most concise code possible. To understand my scripts later, I add comments and choose self-commenting variable names. Declarations aren't as informative as good commenting. > What, if any, is the advantage of NOT declaring variables? ;-) Here's the response I gave 2 years ago when this came up: 1. The main strength of xtalk is that you do not have to declare or type variables. Sticking them up there at the top of every handler removes one of the main advantages of using Rev in the first place. 2. You can't comment out a long handler using a single set of hyphens before the "on" statement. (I often write multiple versions of handlers and switch between them.) As soon as you do that, all those "local" declarations become script locals and everything goes haywire. You have to comment out all of the declarations. If they aren't all at the top, you have to comment out the whole handler. That's more work than it needs to be if you're going back and forth between a few copies to see which one works best. 3. It looks busy and it makes scripts denser and more complicated than necessary. I've seen handlers where the declarations can take up almost as much room as the code. It's hard to read other people's scripts if they use explicitVars because you have to skip over so much junk to get to the real business. In large projects it can add significantly to the file size on disk. 4. If you change a variable name, you have to go back and change the declaration. It's more work to maintain, for something that isn't even required by the engine. (I have wondered if people sometimes do it to make their code look more like "real" programming to other people.) 5. And finally, what's wrong with being lazy? :) The smart programmer finds the easiest way to do things. That's what Rev is all about. None of these things is outweighed for me by the fact that explicitVars might catch a few typos. The engine catches most of those anyway and throws an error. Back to today's response: The debugger pinpoints the exact source of the misspelling if it happens; how hard is that? I'm a pretty good typist though, so I don't get caught out too often. I suppose if you are really as bad a typist as your theoretical example, then yes, you'd want some help. ;) I once took over a project from someone who used explicit variables. I stripped out all the declarations so I could read the scripts comfortably. The stack size was cut in half (!). No lie. There were all kinds of handlers in there with something like 8 lines of declarations and three lines of actual script. Waste of time and space. My fourteen cents. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat May 9 21:13:26 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 May 2009 20:13:26 -0500 Subject: revOnline In-Reply-To: <261649984421.20090509171405@ahsoftware.net> References: <261649984421.20090509171405@ahsoftware.net> Message-ID: <4A062A36.5060102@hyperactivesw.com> Mark Wieder wrote: > All- > > The new revOnline browser is a bit of a mystery to me. Over on the > left there's a kind of filter and I've figured out how the filtering > works, although (nudge, nudge, wink to the rev team) it would be more > useful if the various keywords also displayed how many entries I could > expect to find in each category. But the keywords themselves (I'm > assuming that's what they are) are in some random order and there > doesn't seem to be a way to sort them alphabetically or otherwise. > Right now they just read like free association poetry: > > files blur sepia resize > > They're not grouped by any structure that makes sense to me. I suppose > I'm assuming that the organization does make sense to somebody... > They are a compilation of all the keywords that contributors assign to their stacks. When I first saw the new RevOnline there were only a handful of "categories". Now there are dozens in no particular order. It is bound to get worse. It would probably be better to store free-form keywords from contributors for searching, but only allow pre-defined categories for the left-hand list. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bvg at mac.com Sat May 9 21:25:21 2009 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 10 May 2009 03:25:21 +0200 Subject: revOnline In-Reply-To: <4A062A36.5060102@hyperactivesw.com> References: <261649984421.20090509171405@ahsoftware.net> <4A062A36.5060102@hyperactivesw.com> Message-ID: <8B67AA04-B6CA-4661-886B-3D2D804B8D83@mac.com> I made a bug regarding that in december, it's unconfirmed, so i assume no one from runrev ever looked at it: http://quality.runrev.com/qacenter/show_bug.cgi?id=7566 If I remember correctly, my one week prediction was off by about -2 days... On 10 May 2009, at 03:13, J. Landman Gay wrote: > They are a compilation of all the keywords that contributors assign > to their stacks. When I first saw the new RevOnline there were only > a handful of "categories". Now there are dozens in no particular > order. It is bound to get worse. It would probably be better to > store free-form keywords from contributors for searching, but only > allow pre-defined categories for the left-hand list. -- official ChatRev page: http://bjoernke.com/runrev/chatrev.php Chat with other RunRev developers: go stack URL "http://bjoernke.com/stacks/chatrev/chatrev1.3b3.rev" From mwieder at ahsoftware.net Sat May 9 23:47:06 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 May 2009 20:47:06 -0700 Subject: Newbie... Strict Compilation mode In-Reply-To: <4A062781.8030505@hyperactivesw.com> References: <1421628998125.20090509112418@ahsoftware.net> <4A05E2FE.20404@gmail.com> <00a501c9d101$bb4789d0$31d69d70$@com> <4A062781.8030505@hyperactivesw.com> Message-ID: <1541662765546.20090509204706@ahsoftware.net> Jacque- Saturday, May 9, 2009, 6:01:53 PM, you wrote: Ah... I *knew* this would push Jacque's buttons... > 1. The main strength of xtalk is that you do not have to declare or type > variables. Sticking them up there at the top of every handler removes > one of the main advantages of using Rev in the first place. I seriously take issue with that being "the main strength" of xtalk. > 5. And finally, what's wrong with being lazy? :) The smart programmer > finds the easiest way to do things. That's what Rev is all about. Laziness is one of the big reasons I *do* declare my variables. If the compiler is smart enough to catch all kinds of errors for me, why should I go through all the debugging work at runtime? I believe in letting the computer do the hard work for me, otherwise I might as well just be coding the cpu's opcodes by hand. > None of these things is outweighed for me by the fact that explicitVars > might catch a few typos. The engine catches most of those anyway and > throws an error. > Back to today's response: > The debugger pinpoints the exact source of the misspelling if it > happens; how hard is that? I'm a pretty good typist though, so I don't > get caught out too often. I suppose if you are really as bad a typist as > your theoretical example, then yes, you'd want some help. ;) ...Jacque, you ignorant slut... You're missing the point. The purpose of explicitVars is to catch things that slip by the compiler otherwise. If it's just a simple misspelling of a keyword the compiler will catch it anyway, as you pointed out. But explicitVars will let you know if you've mistyped a variable name when the "friendly" compiler would helpfully generate a new variable instead of using the one you intended. And it will help when your fingers forget to place a space after "the" and instead of the variableNames ending up in a variable you end up with empty. > I once took over a project from someone who used explicit variables. I > stripped out all the declarations so I could read the scripts > comfortably. The stack size was cut in half (!). No lie. There were all > kinds of handlers in there with something like 8 lines of declarations > and three lines of actual script. Waste of time and space. I recognize hyperbole when I see it, but nonetheless I don't think you can have 8 lines of declarations and three lines of actual script (and of course someone will post some code that proves me wrong). If you come across a handler like this then you have at least five lines of declarations that are not being used. And then you're absolutely right to strip them out . -- -Mark Wieder mwieder at ahsoftware.net From jim at visitrieve.com Sat May 9 23:56:11 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Sat, 9 May 2009 17:56:11 -1000 Subject: Newbie... Strict Compilation mode In-Reply-To: <4A062781.8030505@hyperactivesw.com> References: <1421628998125.20090509112418@ahsoftware.net> <4A05E2FE.20404@gmail.com> <00a501c9d101$bb4789d0$31d69d70$@com> <4A062781.8030505@hyperactivesw.com> Message-ID: <00a601c9d123$42296740$c67c35c0$@com> Dear Jacque, To each his/her own. ;-) And, of course, we all know you are a novelist (in English) and one who probably doesn't use a spell checker. ;-) But, just to clarify, so that what I said is not misinterpreted. I never said there is anything you cannot "do" without explicitVariables turned on. What I was actually trying to communicate is that while it may take a little more time up front, and add some chars to your code, it "can" save a tremendous amount of time in the long run, especially if you work in collaboration with others, are just starting out with the language, have to work quickly with someone else's code, or have to return to code that you wrote under a different mindset and with somebody else. In my case, I worked in collaboration for years with a person who spoke English as a second language and refused to even look at, much less to work with any code that didn't declare clearly descriptive variables and handler names, because he knew he was prone to English spelling errors and my cryptic variable and handler names were meaningless to him. And, as it turned out, I came to realize this benefited me also. ;-) The practice also came in handy working with others whose primary language was C++ because they were able to "read" my code. I will give you a recent example. A bug was reported with ListMagic where you couldn't set the alternating colors of lists to different colors for multiple lists on the same card. I confirmed the issue and built a test stack, confident I would find the issue quickly. After a couple of hours, it seemed like issues were increasing incrementally with everything I did! I even wrote Trevor to see if he had run into anything like what I was seeing in his work on the Data Grid. You know what it turned out to be? I was testing for alternating "stripes" and Eric had them as alternating "strips" ;-) Now it was right there in front of me the whole time. I was staring right at the two words. But, I didn't "see" it because I was "looking" for other things. Had they been variables, I would have caught the spelling issue the very first time I hit compile on my first test stack. But, because it was a string in a custom property, this is not caught by the compiler. I wasted hours and as I later told Trevor barking up all the wrong trees for what ultimately took 20 minutes to fix and was staring me in the face the whole time. So, I have come to believe that long, descriptive variable names and explicit variables are the lazy man's programming because it has allowed me to be lazy and let the compiler find my and other people's errors for me. ;-) It also requires less commenting. So this has become my personal preference. You have yours. ;-) However, personal preferences aside, the main strength of Revolution is not that you don't have to declare variables, but that you can choose to declare or not to declare depending on your circumstances. And, in fact, it is this amazing flexibility in the language, not just in variable declaration, but many, many other ways, that allows someone, like yourself, who has worked with xtalk a long time, and someone who is just moving over from C++, and another who needs a dictionary by their side to even read this list, all find a convenient and familiar way to work with and learn the language, as they each grow and experience their own ongoing "revolution." So, my intention was not to convince others that they "should" use expicitVariables, but only to point out the value that I have come to appreciate of this "optional feature." Now if you'd like for me to write an argument of the advantages of extremely short, non-declared, non-descriptive (except in the programmer's mind) var and handler names and never putting multiple lines of code for what you can squeeze into one line with parens, I can do it, because I used to write that way when the memory and storage of machines were calculated in kilobytes. Who knows, maybe for mobile devices, I will have to again. ;-) But then Rev allows for this. Therein lies its real strength. ;-) Aloha from Hawaii Jim Bufalini J. Landman Gay wrote: > > - It allows you to distinguish globals from script locals and > constants both > > at the script level and handler level. > > You can do that without declaring them explicitly too. > > > - It allows you to declare globals from inside a handler (which > creates a > > "semi" global that is only available to other handlers that also > declare the > > same global). > > You can also do this without turning on explictVars. It is, in fact, a > direct feature port from HyperCard circa 1989. I also routinely declare > script constants, locals and globals at the top of scripts, because > that > is the only way to get them. But that isn't the same as requiring a > mess > of declarations inside every single handler. > > > - It makes your code much more readable, not only to others, but to > > yourself, when you are troubleshooting a problem weeks or months or > years > > later. > > Disagree. It makes your code messy, adds tons of extra lines that you > have to skip over to get to the real code, isn't necessary, and > clutters > up the script with top junk. It isn't clean and I find it much less > readable. I would go so far as to say it is inelegant. It is the > opposite of writing the smallest, most concise code possible. To > understand my scripts later, I add comments and choose self-commenting > variable names. Declarations aren't as informative as good commenting. > > > What, if any, is the advantage of NOT declaring variables? ;-) > > Here's the response I gave 2 years ago when this came up: > > 1. The main strength of xtalk is that you do not have to declare or > type > variables. Sticking them up there at the top of every handler removes > one of the main advantages of using Rev in the first place. > > 2. You can't comment out a long handler using a single set of hyphens > before the "on" statement. (I often write multiple versions of handlers > and switch between them.) As soon as you do that, all those "local" > declarations become script locals and everything goes haywire. You have > to comment out all of the declarations. If they aren't all at the top, > you have to comment out the whole handler. That's more work than it > needs to be if you're going back and forth between a few copies to see > which one works best. > > 3. It looks busy and it makes scripts denser and more complicated than > necessary. I've seen handlers where the declarations can take up almost > as much room as the code. It's hard to read other people's scripts if > they use explicitVars because you have to skip over so much junk to get > to the real business. In large projects it can add significantly to the > file size on disk. > > 4. If you change a variable name, you have to go back and change the > declaration. It's more work to maintain, for something that isn't even > required by the engine. (I have wondered if people sometimes do it to > make their code look more like "real" programming to other people.) > > 5. And finally, what's wrong with being lazy? :) The smart programmer > finds the easiest way to do things. That's what Rev is all about. > > None of these things is outweighed for me by the fact that explicitVars > might catch a few typos. The engine catches most of those anyway and > throws an error. > > Back to today's response: > > The debugger pinpoints the exact source of the misspelling if it > happens; how hard is that? I'm a pretty good typist though, so I don't > get caught out too often. I suppose if you are really as bad a typist > as > your theoretical example, then yes, you'd want some help. ;) > > I once took over a project from someone who used explicit variables. I > stripped out all the declarations so I could read the scripts > comfortably. The stack size was cut in half (!). No lie. There were all > kinds of handlers in there with something like 8 lines of declarations > and three lines of actual script. Waste of time and space. > > My fourteen cents. > > -- > 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 kray at sonsothunder.com Sun May 10 00:59:51 2009 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 09 May 2009 23:59:51 -0500 Subject: App on Linux - really slow... any ideas why? In-Reply-To: <331642132078.20090509150312@ahsoftware.net> Message-ID: On 5/9/09 5:03 PM, "Mark Wieder" wrote: > Ken- > > Saturday, May 9, 2009, 2:10:04 PM, you wrote: > >> I couldn't even get *that* far... I'm using 4.2, and Xorg (not sure if I >> have copy to memory on - where would I check?) and downloaded Rev 3.5. Went >> to launch it and nothing happened. When I tried to launch it in from the >> console I got all sorts of GDK error messages, starting with "Unable to get >> 32-bit visual, not using XFT". Not sure what to do about that... > > Anything like BZ #5382? No, thse are all related to colormaps and screen updating, like: (:8601): Gtk-CRITICAL **: gdk_colormap_new: assertion `GDK_IS_VISUAL (visual) failed Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jim at visitrieve.com Sun May 10 01:02:33 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Sat, 9 May 2009 19:02:33 -1000 Subject: Newbie... Strict Compilation mode In-Reply-To: <1541662765546.20090509204706@ahsoftware.net> References: <1421628998125.20090509112418@ahsoftware.net> <4A05E2FE.20404@gmail.com> <00a501c9d101$bb4789d0$31d69d70$@com> <4A062781.8030505@hyperactivesw.com> <1541662765546.20090509204706@ahsoftware.net> Message-ID: <00a701c9d12c$87b0ffe0$9712ffa0$@com> Mark Wieder wrote: > I recognize hyperbole when I see it, but nonetheless I don't think you > can have 8 lines of declarations and three lines of actual script (and > of course someone will post some code that proves me wrong). If you > come across a handler like this then you have at least five lines of > declarations that are not being used. And then you're absolutely right > to strip them out . LOL. Actually, maybe not quite that much, but when I first write a handler or move it over from one project to another, I do things like assign everything like *the result* to variables, declare the variables one per line, make everything verbose like if then else statements a minimum of five lines, etc. This way, if I need to debug I can put in a breakpoint and hit trace, sip coffee and watch which part of an if then else gets hit and variables change, including ones that don't show up normally in the debugger, because lots of times just putting such things to the message box can affect the program itself or flash by too fast and I always miss deleting at least one of those puts. ;-) Then when I'm happy, I can clearly see the vars that need to be removed and then put the remaining all in one declaration line per type and shorten up structure like if then else, etc. But, if you looked at something of mine, in progress, you could see close to what she described. But there is a "lazy" method to my madness, even if looks like more work up front. ;-) It also allows me to leave working on something in mid-thought and return to it a week later and quickly remember where I left off. Aloha from Hawaii Jim Bufalini From pepetoo at cox.net Sun May 10 01:09:15 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sat, 9 May 2009 22:09:15 -0700 Subject: OT Re: Newbie... Strict Compilation mode In-Reply-To: <1541662765546.20090509204706@ahsoftware.net> References: <1421628998125.20090509112418@ahsoftware.net> <4A05E2FE.20404@gmail.com> <00a501c9d101$bb4789d0$31d69d70$@com> <4A062781.8030505@hyperactivesw.com> <1541662765546.20090509204706@ahsoftware.net> Message-ID: <71BB50AA-80A6-4F8B-BB32-C28688FF5D15@cox.net> Following this thread has pushed another one of my buttons and I cannot resist getting on my soap-box and inserting my two-bits. We have "all" become accustomed to protecting ourselves from ourselves. To the point where some of us pass laws requiring that everyone protect themselves. I'm talking about INSURANCE. The best "insurance" against having anything happen is an alert and active mind. Insurance merely puts us to sleep; allowing us to be less than vigilant and knowledgeable within all aspects of our lives. Not declaring vars merely promotes sloppiness and, eventually, stupidity. The President is going to spend enormous sums of money promoting Health Insurance, when the best insurance is almost free; preventive medicine which we have neglected for decades. We just need to be diligent about all things. Education, eduction, education!!!!!!!! Joe Wilkins On May 9, 2009, at 8:47 PM, Mark Wieder wrote: > Jacque- > > Saturday, May 9, 2009, 6:01:53 PM, you wrote: > > Ah... I *knew* this would push Jacque's buttons... > >> 1. The main strength of xtalk is that you do not have to declare or >> type >> variables. Sticking them up there at the top of every handler removes >> one of the main advantages of using Rev in the first place. > > I seriously take issue with that being "the main strength" of xtalk. > >> 5. And finally, what's wrong with being lazy? :) The smart programmer >> finds the easiest way to do things. That's what Rev is all about. > > Laziness is one of the big reasons I *do* declare my variables. If the > compiler is smart enough to catch all kinds of errors for me, why > should I go through all the debugging work at runtime? I believe in > letting the computer do the hard work for me, otherwise I might as > well just be coding the cpu's opcodes by hand. > >> None of these things is outweighed for me by the fact that >> explicitVars >> might catch a few typos. The engine catches most of those anyway and >> throws an error. > >> Back to today's response: > >> The debugger pinpoints the exact source of the misspelling if it >> happens; how hard is that? I'm a pretty good typist though, so I >> don't >> get caught out too often. I suppose if you are really as bad a >> typist as >> your theoretical example, then yes, you'd want some help. ;) > > > ...Jacque, you ignorant slut... > > You're missing the point. The purpose of explicitVars is to catch > things that slip by the compiler otherwise. If it's just a simple > misspelling of a keyword the compiler will catch it anyway, as you > pointed out. But explicitVars will let you know if you've mistyped a > variable name when the "friendly" compiler would helpfully generate a > new variable instead of using the one you intended. And it will help > when your fingers forget to place a space after "the" and instead of > the variableNames ending up in a variable you end up with empty. > >> I once took over a project from someone who used explicit >> variables. I >> stripped out all the declarations so I could read the scripts >> comfortably. The stack size was cut in half (!). No lie. There were >> all >> kinds of handlers in there with something like 8 lines of >> declarations >> and three lines of actual script. Waste of time and space. > > I recognize hyperbole when I see it, but nonetheless I don't think you > can have 8 lines of declarations and three lines of actual script (and > of course someone will post some code that proves me wrong). If you > come across a handler like this then you have at least five lines of > declarations that are not being used. And then you're absolutely right > to strip them out . > > -- > -Mark Wieder > mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun May 10 01:22:03 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 May 2009 22:22:03 -0700 Subject: App on Linux - really slow... any ideas why? In-Reply-To: References: Message-ID: <01668462515.20090509222203@ahsoftware.net> Ken- Saturday, May 9, 2009, 9:59:51 PM, you wrote: >> Anything like BZ #5382? > No, thse are all related to colormaps and screen updating, like: > (:8601): Gtk-CRITICAL **: gdk_colormap_new: assertion > `GDK_IS_VISUAL (visual) failed I love it when you talk dirty. Look farther down in BZ #5382 and you'll see that stuff. Something changed with 2.9: (:12630): Gdk-CRITICAL **: gdk_pixmap_foreign_new_for_display: assertion '(anid != 0)' failed (:12630): Gdk-CRITICAL **: gdk_draw_drawable: assertion 'src != NULL' failed (:12630): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed etc -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun May 10 01:28:21 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 May 2009 22:28:21 -0700 Subject: OT Re: Newbie... Strict Compilation mode In-Reply-To: <71BB50AA-80A6-4F8B-BB32-C28688FF5D15@cox.net> References: <1421628998125.20090509112418@ahsoftware.net> <4A05E2FE.20404@gmail.com> <00a501c9d101$bb4789d0$31d69d70$@com> <4A062781.8030505@hyperactivesw.com> <1541662765546.20090509204706@ahsoftware.net> <71BB50AA-80A6-4F8B-BB32-C28688FF5D15@cox.net> Message-ID: <1171668840406.20090509222821@ahsoftware.net> Joe- Saturday, May 9, 2009, 10:09:15 PM, you wrote: >vigilant and knowledgeable within all aspects of our lives. Not >declaring vars merely promotes sloppiness and, eventually, stupidity. I've found that I can declare vars and still be perfectly stupid, thank you. -- -Mark Wieder mwieder at ahsoftware.net From stephen at networkxfla.com Sun May 10 01:49:01 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Sun, 10 May 2009 01:49:01 -0400 Subject: OT Re: Newbie... Strict Compilation mode In-Reply-To: <71BB50AA-80A6-4F8B-BB32-C28688FF5D15@cox.net> Message-ID: Well.. God.. Sorry all for starting this. :) Use what you want. I'll keep it on cause I'm used to that type of environment. Used to declaring variables. And it's in my head. On 5/10/09 1:09 AM, "Joe Lewis Wilkins" wrote: > Following this thread has pushed another one of my buttons and I > cannot resist getting on my soap-box and inserting my two-bits. > > We have "all" become accustomed to protecting ourselves from > ourselves. To the point where some of us pass laws requiring that > everyone protect themselves. I'm talking about INSURANCE. The best > "insurance" against having anything happen is an alert and active > mind. Insurance merely puts us to sleep; allowing us to be less than > vigilant and knowledgeable within all aspects of our lives. Not > declaring vars merely promotes sloppiness and, eventually, stupidity. > The President is going to spend enormous sums of money promoting > Health Insurance, when the best insurance is almost free; preventive > medicine which we have neglected for decades. We just need to be > diligent about all things. Education, eduction, education!!!!!!!! > > Joe Wilkins > > On May 9, 2009, at 8:47 PM, Mark Wieder wrote: > >> Jacque- >> >> Saturday, May 9, 2009, 6:01:53 PM, you wrote: >> >> Ah... I *knew* this would push Jacque's buttons... >> >>> 1. The main strength of xtalk is that you do not have to declare or >>> type >>> variables. Sticking them up there at the top of every handler removes >>> one of the main advantages of using Rev in the first place. >> >> I seriously take issue with that being "the main strength" of xtalk. >> >>> 5. And finally, what's wrong with being lazy? :) The smart programmer >>> finds the easiest way to do things. That's what Rev is all about. >> >> Laziness is one of the big reasons I *do* declare my variables. If the >> compiler is smart enough to catch all kinds of errors for me, why >> should I go through all the debugging work at runtime? I believe in >> letting the computer do the hard work for me, otherwise I might as >> well just be coding the cpu's opcodes by hand. >> >>> None of these things is outweighed for me by the fact that >>> explicitVars >>> might catch a few typos. The engine catches most of those anyway and >>> throws an error. >> >>> Back to today's response: >> >>> The debugger pinpoints the exact source of the misspelling if it >>> happens; how hard is that? I'm a pretty good typist though, so I >>> don't >>> get caught out too often. I suppose if you are really as bad a >>> typist as >>> your theoretical example, then yes, you'd want some help. ;) >> >> >> ...Jacque, you ignorant slut... >> >> You're missing the point. The purpose of explicitVars is to catch >> things that slip by the compiler otherwise. If it's just a simple >> misspelling of a keyword the compiler will catch it anyway, as you >> pointed out. But explicitVars will let you know if you've mistyped a >> variable name when the "friendly" compiler would helpfully generate a >> new variable instead of using the one you intended. And it will help >> when your fingers forget to place a space after "the" and instead of >> the variableNames ending up in a variable you end up with empty. >> >>> I once took over a project from someone who used explicit >>> variables. I >>> stripped out all the declarations so I could read the scripts >>> comfortably. The stack size was cut in half (!). No lie. There were >>> all >>> kinds of handlers in there with something like 8 lines of >>> declarations >>> and three lines of actual script. Waste of time and space. >> >> I recognize hyperbole when I see it, but nonetheless I don't think you >> can have 8 lines of declarations and three lines of actual script (and >> of course someone will post some code that proves me wrong). If you >> come across a handler like this then you have at least five lines of >> declarations that are not being used. And then you're absolutely right >> to strip them out . >> >> -- >> -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 stephen at networkxfla.com Sun May 10 02:20:51 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Sun, 10 May 2009 02:20:51 -0400 Subject: Mac icons Message-ID: I was wondering what icons ya use for your projects (on Mac)? Looks like Revolution uses Carbon (when are they moving to Cocoa ? Carbon is being dropped VERY soon). Has anyone used the Cocoa icons? Or is there a set I can buy, for Revolution? Thanks -Stephen Cox From richmondmathewson at gmail.com Sun May 10 02:50:50 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 10 May 2009 09:50:50 +0300 Subject: OT Re: Newbie... Strict Compilation mode In-Reply-To: References: Message-ID: <4A06794A.9010003@gmail.com> God may forgive you, but the rest of us will . . . love you and cherish you for initiating a useful and stimulating discussion! And, the moral of the story is: you can be bl**dy-minded like me, or you can be bl**dy-minded like somebody else, or (what a luxury) you can be bl**dy-minded in you own way. To my mind, the 'tolerance' of Runtime Revolution is what makes it so much more accessible than most other programming environments. Stephen Cox wrote: > Well.. God.. Sorry all for starting this. :) > > Use what you want. I'll keep it on cause I'm used to that type of > environment. Used to declaring variables. And it's in my head. > > > > On 5/10/09 1:09 AM, "Joe Lewis Wilkins" wrote: > > >> Following this thread has pushed another one of my buttons and I >> cannot resist getting on my soap-box and inserting my two-bits. >> >> We have "all" become accustomed to protecting ourselves from >> ourselves. To the point where some of us pass laws requiring that >> everyone protect themselves. I'm talking about INSURANCE. The best >> "insurance" against having anything happen is an alert and active >> mind. Insurance merely puts us to sleep; allowing us to be less than >> vigilant and knowledgeable within all aspects of our lives. Not >> declaring vars merely promotes sloppiness and, eventually, stupidity. >> The President is going to spend enormous sums of money promoting >> Health Insurance, when the best insurance is almost free; preventive >> medicine which we have neglected for decades. We just need to be >> diligent about all things. Education, eduction, education!!!!!!!! >> >> Joe Wilkins >> >> On May 9, 2009, at 8:47 PM, Mark Wieder wrote: >> >> >>> Jacque- >>> >>> Saturday, May 9, 2009, 6:01:53 PM, you wrote: >>> >>> Ah... I *knew* this would push Jacque's buttons... >>> >>> >>>> 1. The main strength of xtalk is that you do not have to declare or >>>> type >>>> variables. Sticking them up there at the top of every handler removes >>>> one of the main advantages of using Rev in the first place. >>>> >>> I seriously take issue with that being "the main strength" of xtalk. >>> >>> >>>> 5. And finally, what's wrong with being lazy? :) The smart programmer >>>> finds the easiest way to do things. That's what Rev is all about. >>>> >>> Laziness is one of the big reasons I *do* declare my variables. If the >>> compiler is smart enough to catch all kinds of errors for me, why >>> should I go through all the debugging work at runtime? I believe in >>> letting the computer do the hard work for me, otherwise I might as >>> well just be coding the cpu's opcodes by hand. >>> >>> >>>> None of these things is outweighed for me by the fact that >>>> explicitVars >>>> might catch a few typos. The engine catches most of those anyway and >>>> throws an error. >>>> >>>> Back to today's response: >>>> >>>> The debugger pinpoints the exact source of the misspelling if it >>>> happens; how hard is that? I'm a pretty good typist though, so I >>>> don't >>>> get caught out too often. I suppose if you are really as bad a >>>> typist as >>>> your theoretical example, then yes, you'd want some help. ;) >>>> >>> >>> ...Jacque, you ignorant slut... >>> >>> You're missing the point. The purpose of explicitVars is to catch >>> things that slip by the compiler otherwise. If it's just a simple >>> misspelling of a keyword the compiler will catch it anyway, as you >>> pointed out. But explicitVars will let you know if you've mistyped a >>> variable name when the "friendly" compiler would helpfully generate a >>> new variable instead of using the one you intended. And it will help >>> when your fingers forget to place a space after "the" and instead of >>> the variableNames ending up in a variable you end up with empty. >>> >>> >>>> I once took over a project from someone who used explicit >>>> variables. I >>>> stripped out all the declarations so I could read the scripts >>>> comfortably. The stack size was cut in half (!). No lie. There were >>>> all >>>> kinds of handlers in there with something like 8 lines of >>>> declarations >>>> and three lines of actual script. Waste of time and space. >>>> >>> I recognize hyperbole when I see it, but nonetheless I don't think you >>> can have 8 lines of declarations and three lines of actual script (and >>> of course someone will post some code that proves me wrong). If you >>> come across a handler like this then you have at least five lines of >>> declarations that are not being used. And then you're absolutely right >>> to strip them out . >>> >>> -- >>> -Mark Wieder >>> mwieder at ahsoftware.net >>> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From richmondmathewson at gmail.com Sun May 10 02:53:51 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 10 May 2009 09:53:51 +0300 Subject: Mac icons In-Reply-To: References: Message-ID: <4A0679FF.2070802@gmail.com> If you have the Development tools installed there is a 'Icon Composer' program lurking there (in the Utilities folder); drag your RR images there and they will be 'magically' made into icons for you. Alternatively, just use a PNG image. :) Stephen Cox wrote: > I was wondering what icons ya use for your projects (on Mac)? Looks like > Revolution uses Carbon (when are they moving to Cocoa ? Carbon is being > dropped VERY soon). Has anyone used the Cocoa icons? Or is there a set I can > buy, for Revolution? > > Thanks > > -Stephen Cox > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From stephen at networkxfla.com Sun May 10 02:55:13 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Sun, 10 May 2009 02:55:13 -0400 Subject: OT Re: Newbie... Strict Compilation mode In-Reply-To: <4A06794A.9010003@gmail.com> Message-ID: Agreed. Now must I send bribes to end this "debate"? On 5/10/09 2:50 AM, "Richmond Mathewson" wrote: > God may forgive you, but the rest of us will . . . > > love you and cherish you for initiating a useful and > stimulating discussion! > > And, the moral of the story is: you can be bl**dy-minded like me, > or you can be bl**dy-minded like somebody else, or (what a luxury) > you can be bl**dy-minded in you own way. > > To my mind, the 'tolerance' of Runtime Revolution is what makes it > so much more accessible than most other programming environments. > > Stephen Cox wrote: >> Well.. God.. Sorry all for starting this. :) >> >> Use what you want. I'll keep it on cause I'm used to that type of >> environment. Used to declaring variables. And it's in my head. >> >> >> >> On 5/10/09 1:09 AM, "Joe Lewis Wilkins" wrote: >> >> >>> Following this thread has pushed another one of my buttons and I >>> cannot resist getting on my soap-box and inserting my two-bits. >>> >>> We have "all" become accustomed to protecting ourselves from >>> ourselves. To the point where some of us pass laws requiring that >>> everyone protect themselves. I'm talking about INSURANCE. The best >>> "insurance" against having anything happen is an alert and active >>> mind. Insurance merely puts us to sleep; allowing us to be less than >>> vigilant and knowledgeable within all aspects of our lives. Not >>> declaring vars merely promotes sloppiness and, eventually, stupidity. >>> The President is going to spend enormous sums of money promoting >>> Health Insurance, when the best insurance is almost free; preventive >>> medicine which we have neglected for decades. We just need to be >>> diligent about all things. Education, eduction, education!!!!!!!! >>> >>> Joe Wilkins >>> >>> On May 9, 2009, at 8:47 PM, Mark Wieder wrote: >>> >>> >>>> Jacque- >>>> >>>> Saturday, May 9, 2009, 6:01:53 PM, you wrote: >>>> >>>> Ah... I *knew* this would push Jacque's buttons... >>>> >>>> >>>>> 1. The main strength of xtalk is that you do not have to declare or >>>>> type >>>>> variables. Sticking them up there at the top of every handler removes >>>>> one of the main advantages of using Rev in the first place. >>>>> >>>> I seriously take issue with that being "the main strength" of xtalk. >>>> >>>> >>>>> 5. And finally, what's wrong with being lazy? :) The smart programmer >>>>> finds the easiest way to do things. That's what Rev is all about. >>>>> >>>> Laziness is one of the big reasons I *do* declare my variables. If the >>>> compiler is smart enough to catch all kinds of errors for me, why >>>> should I go through all the debugging work at runtime? I believe in >>>> letting the computer do the hard work for me, otherwise I might as >>>> well just be coding the cpu's opcodes by hand. >>>> >>>> >>>>> None of these things is outweighed for me by the fact that >>>>> explicitVars >>>>> might catch a few typos. The engine catches most of those anyway and >>>>> throws an error. >>>>> >>>>> Back to today's response: >>>>> >>>>> The debugger pinpoints the exact source of the misspelling if it >>>>> happens; how hard is that? I'm a pretty good typist though, so I >>>>> don't >>>>> get caught out too often. I suppose if you are really as bad a >>>>> typist as >>>>> your theoretical example, then yes, you'd want some help. ;) >>>>> >>>> >>>> ...Jacque, you ignorant slut... >>>> >>>> You're missing the point. The purpose of explicitVars is to catch >>>> things that slip by the compiler otherwise. If it's just a simple >>>> misspelling of a keyword the compiler will catch it anyway, as you >>>> pointed out. But explicitVars will let you know if you've mistyped a >>>> variable name when the "friendly" compiler would helpfully generate a >>>> new variable instead of using the one you intended. And it will help >>>> when your fingers forget to place a space after "the" and instead of >>>> the variableNames ending up in a variable you end up with empty. >>>> >>>> >>>>> I once took over a project from someone who used explicit >>>>> variables. I >>>>> stripped out all the declarations so I could read the scripts >>>>> comfortably. The stack size was cut in half (!). No lie. There were >>>>> all >>>>> kinds of handlers in there with something like 8 lines of >>>>> declarations >>>>> and three lines of actual script. Waste of time and space. >>>>> >>>> I recognize hyperbole when I see it, but nonetheless I don't think you >>>> can have 8 lines of declarations and three lines of actual script (and >>>> of course someone will post some code that proves me wrong). If you >>>> come across a handler like this then you have at least five lines of >>>> declarations that are not being used. And then you're absolutely right >>>> to strip them out . >>>> >>>> -- >>>> -Mark Wieder >>>> mwieder at ahsoftware.net >>>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephen at networkxfla.com Sun May 10 02:55:58 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Sun, 10 May 2009 02:55:58 -0400 Subject: Mac icons In-Reply-To: <4A0679FF.2070802@gmail.com> Message-ID: Much thanks. I got the dev tools installed. On 5/10/09 2:53 AM, "Richmond Mathewson" wrote: > If you have the Development tools installed there is a 'Icon Composer' > program lurking there (in the Utilities folder); drag your RR images > there and they will be 'magically' made into icons for you. > > Alternatively, just use a PNG image. :) > > Stephen Cox wrote: >> I was wondering what icons ya use for your projects (on Mac)? Looks like >> Revolution uses Carbon (when are they moving to Cocoa ? Carbon is being >> dropped VERY soon). Has anyone used the Cocoa icons? Or is there a set I can >> buy, for Revolution? >> >> Thanks >> >> -Stephen Cox >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 lan.kc.macmail at gmail.com Sun May 10 03:17:11 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 10 May 2009 15:17:11 +0800 Subject: OT Re: Newbie... Strict Compilation mode In-Reply-To: References: <4A06794A.9010003@gmail.com> Message-ID: Personally, I think all the wrong thinking people in this world are right. From mwieder at ahsoftware.net Sun May 10 03:15:47 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 10 May 2009 00:15:47 -0700 Subject: OT Re: Newbie... Strict Compilation mode In-Reply-To: References: Message-ID: <481675287390.20090510001547@ahsoftware.net> Stephen- Saturday, May 9, 2009, 11:55:13 PM, you wrote: > Now must I send bribes to end this "debate"? ROTFL. Not to worry - comes up once a year or so, along with the "what's wrong with globals?" question, just enough to rattle folks' cages, then dies down for a while. Feel free to chime in the next time it rolls around. -- -Mark Wieder mwieder at ahsoftware.net From palcibiades-first at yahoo.co.uk Sun May 10 03:24:10 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sun, 10 May 2009 00:24:10 -0700 (PDT) Subject: App on Linux - really slow... any ideas why? In-Reply-To: References: <251291945718.20090505134646@ahsoftware.net> <23443844.post@talk.nabble.com> Message-ID: <23467732.post@talk.nabble.com> This is something to do with 32 bit fonts, isn't it, but its hard to see why one machine running Puppy should get it and not another. Loading Puppy into memory is done at startup - you have a screen which lets you enter boot parameters, and you just key it in. Its 'puppy' followed by a string of some sort. But again, why that should make a difference is not obvious. It will be interesting to use the app and see what's happening. Slitaz is really amazingly tiny. Of course it is very limited, and the fonts are particularly limited, think there only was one or maybe two! But if you are looking for a turnkey fast platform to ship with an application, this has to be a candidate. Its smaller than DSL and much more normal looking. And you can add the fonts you're using. Peter Ken Ray wrote: > > > I couldn't even get *that* far... I'm using 4.2, and Xorg (not sure if I > have copy to memory on - where would I check?) and downloaded Rev 3.5. > Went > to launch it and nothing happened. When I tried to launch it in from the > console I got all sorts of GDK error messages, starting with "Unable to > get > 32-bit visual, not using XFT". Not sure what to do about that... > > -- View this message in context: http://www.nabble.com/App-on-Linux---really-slow...-any-ideas-why--tp23393374p23467732.html Sent from the Revolution - User mailing list archive at Nabble.com. From lan.kc.macmail at gmail.com Sun May 10 03:34:54 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 10 May 2009 15:34:54 +0800 Subject: Should this not be an error ? In-Reply-To: <1891651372437.20090509173713@ahsoftware.net> References: <4A05A1D5.8070105@tweedly.net> <1511622368796.20090509093349@ahsoftware.net> <4A061B84.3010802@tweedly.net> <1891651372437.20090509173713@ahsoftware.net> Message-ID: On Sun, May 10, 2009 at 8:37 AM, Mark Wieder wrote: > I was also surprised that ` was allowed. But > > put 42 into ` > > is a valid statement. It seems like more of a parlor trick than > something that could be turned into a clever hack. And I also think > it's a bug resulting from the ` character's place in the ASCII table. > I notice that @ and _ and ? are also accepted as variable names. > That's just wrong. You can hurt yourself playing around with these > things. > This is certainly not consistent with the User Manual: 5.5.5 Variable Names The names of variables must consist of a single word and may contain any combination of letters, digits, and underscores (_). The first character must be either a letter or an underscore. You cannot use any Revolution Revolution language word as a name of a variable. Whilst I understand that Explicit Variables is the answer to the previous example, in this case it looks like the Docs should be updated to reflect reality, or if such chars are dangerous to use, then it should be filed as a bug. From richmondmathewson at gmail.com Sun May 10 03:42:45 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 10 May 2009 10:42:45 +0300 Subject: Newbie Question 5 of N In-Reply-To: <221649178203.20090509170038@ahsoftware.net> References: <4A05E437.9060007@gmail.com> <551636656671.20090509133157@ahsoftware.net> <4A05F49F.5020807@gmail.com> <221649178203.20090509170038@ahsoftware.net> Message-ID: <4A068575.8070907@gmail.com> Well, as well as all the other useful things that everybody is proposing how about a sort of "Top of the Pops" of errors? My personal favourite crops up all the time: flase, fales, flsae . . . but, very rarely 'false' Now . . . variables . . . -------------------------------------------------------------------------------------------- Pompous Section starts here. -------------------------------------------------------------------------------------------- Way back when, 'while dinosaurs ruled the earth' (as my kids say), I was studying PASCAL 5, and rapidly discovered the easiest way to keep track of variables was to stop calling them names such as 'X', 'Y' and 'Z'. Having jumped from PASCAL and BASIC to Hypercard without looking sideways I have always followed the following policy: name variables in such a way as they have some connexion with what they do. for instance; if you poke around in my stacks you will find variables with names such as 'KOUNT1', 'ADDER'. 'HITE', 'WIDD', and a whole lot with either Scots or Bulgarian names, which proves useful when the obvious names for those variables in English are reserved words. similarly with fields, which I always prefix with a lower case 'f'; 'fTANK', 'fBANK', 'fENTRY', 'fRESULT' now this maybe unconventional, but when I look back at code 3 or 4 years down the line I find it more informative than 'nGrav' or 'asTpX', even if those have been declared. After all, when I see: put vRESULT into fld "fRESULT" it shouldn't be hard to work out what's going on. ------------------------------------------------------------------------------------------ Now, I agree with the various remarks about non-native speakers who are coding in Revolution only insofar as they need to understand some of the quasi-English terms; but I am not entirely sure how Strict Compilation is going to help with that. Surely what is needed is an IN-BUILT spell checker attached to the Script Editor. Mark Wieder wrote: > Richmond- > > Saturday, May 9, 2009, 2:24:47 PM, you wrote: > > >> Writing as someone who, generally, learns from his errors, and >> trying to work out why they are error, this sounds as if it would >> not be a great advantage to me. >> > > Not to worry - there's plenty of errors to go around... > > ...I'd be happy to let you have some of mine... > > From bdrunrev at gmail.com Sun May 10 04:04:38 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sun, 10 May 2009 09:04:38 +0100 Subject: Should this not be an error ? In-Reply-To: References: <4A05A1D5.8070105@tweedly.net> <1511622368796.20090509093349@ahsoftware.net> <4A061B84.3010802@tweedly.net> <1891651372437.20090509173713@ahsoftware.net> Message-ID: Maybe these should be listed under this enhancement request (although maybe the request should be a bug report instead): http://quality.runrev.com/qacenter/show_bug.cgi?id=7791 Bernard On Sun, May 10, 2009 at 8:34 AM, Kay C Lan wrote: > On Sun, May 10, 2009 at 8:37 AM, Mark Wieder wrote: > >> I was also surprised that ` was allowed. But >> >> put 42 into ` >> >> is a valid statement. It seems like more of a parlor trick than >> something that could be turned into a clever hack. And I also think >> it's a bug resulting from the ` character's place in the ASCII table. >> I notice that @ and _ and ? are also accepted as variable names. >> That's just wrong. You can hurt yourself playing around with these >> things. >> > > This is certainly not consistent with the User Manual: > > 5.5.5 Variable Names > The names of variables must consist of a single word and may contain any > combination > of letters, digits, and underscores (_). The first character must be either > a letter or an > underscore. You cannot use any Revolution Revolution language word as a name > of a > variable. > > Whilst I understand that Explicit Variables is the answer to the previous > example, in this case it looks like the Docs should be updated to reflect > reality, or if such chars are dangerous to use, then it should be filed as a > bug. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From palcibiades-first at yahoo.co.uk Sun May 10 04:12:06 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sun, 10 May 2009 01:12:06 -0700 (PDT) Subject: App on Linux - really slow... any ideas why? In-Reply-To: References: <251291945718.20090505134646@ahsoftware.net> <23443844.post@talk.nabble.com> <331642132078.20090509150312@ahsoftware.net> Message-ID: <23468050.post@talk.nabble.com> I ran Rev a bit differently, don't know if that would affect it. I booted from Puppy's CD on my usual machine with Debian installed on the hard drive, then navigated to the copy of Rev on my hard drive and ran that one. It still required a registration code, but it ran. Whereas you have downloaded a fresh copy into Puppy and then ran that. Again, its hard to see why that should make a difference, but we are not doing exactly the same thing. I'll have a go downloading it with Puppy and then running it and see if I get the same thing. -- View this message in context: http://www.nabble.com/App-on-Linux---really-slow...-any-ideas-why--tp23393374p23468050.html Sent from the Revolution - User mailing list archive at Nabble.com. From lan.kc.macmail at gmail.com Sun May 10 04:15:28 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 10 May 2009 16:15:28 +0800 Subject: OT Re: Newbie... Strict Compilation mode In-Reply-To: <481675287390.20090510001547@ahsoftware.net> References: <481675287390.20090510001547@ahsoftware.net> Message-ID: On Sun, May 10, 2009 at 3:15 PM, Mark Wieder wrote: > > Saturday, May 9, 2009, 11:55:13 PM, you wrote: > > > Now must I send bribes to end this "debate"? > > ROTFL. Not to worry - comes up once a year or so, along with the > "what's wrong with globals?" question, just enough to rattle folks' > cages, then dies down for a while. Yes, or that other annual favourite, Stephen just suggest Rev should be Open Source and the explicit variable thread will instantly die. From stephenREVOLUTION2 at barncard.com Sun May 10 04:20:20 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 10 May 2009 01:20:20 -0700 Subject: Newbie... Strict Compilation mode In-Reply-To: <00a701c9d12c$87b0ffe0$9712ffa0$@com> References: <1421628998125.20090509112418@ahsoftware.net> <4A05E2FE.20404@gmail.com> <00a501c9d101$bb4789d0$31d69d70$@com> <4A062781.8030505@hyperactivesw.com> <1541662765546.20090509204706@ahsoftware.net> <00a701c9d12c$87b0ffe0$9712ffa0$@com> Message-ID: I love it when the Titans of Transcript battle.... we learn so much.... ------------------------- Stephen Barncard San Francisco http://barncard.com 2009/5/9 Jim Bufalini > Mark Wieder wrote: > > > I recognize hyperbole when I see it, but nonetheless I don't think you > > can have 8 lines of declarations and three lines of actual script (and > From bdrunrev at gmail.com Sun May 10 05:08:09 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sun, 10 May 2009 10:08:09 +0100 Subject: Newbie... Strict Compilation mode In-Reply-To: References: <1421628998125.20090509112418@ahsoftware.net> <4A05E2FE.20404@gmail.com> <00a501c9d101$bb4789d0$31d69d70$@com> <4A062781.8030505@hyperactivesw.com> <1541662765546.20090509204706@ahsoftware.net> <00a701c9d12c$87b0ffe0$9712ffa0$@com> Message-ID: The interesting thing is that both Jim/Mark & Jacques are right. Like Jacques I rarely have a major problem with mis-spelt variables. On the occasions when I do have a problem then the error message will usually point me to where the problem lies, and if not then the fact that a variable contains its own name as a value shows me that it was never touched. But maybe it takes a long time of using Rev to understand such error situations, so explicit variables might well be useful to newbies even if long-in-the-tooth users such as myself usually operate without them. There are still occasions when I think to myself "Hmm... maybe it would be better if I used explicit variable checking". But when I started out with Rev I tried turning on explicit variables over several releases, but it was so broken that the IDE stopped working (it must have had undeclared variables in it). So after years of not using explict vars, it seems onerous to now switch it on. One could argue against Jacques' claims of unnecessary clutter, that such clutter can be minimized by declaring multiple variables on one line ("local tVar1, tVar2"). But I think there is a wider issue with reducing error incidence by restricting the way in which variables come into being. Jim's example about custom properties not being checked by explicit vars highlights this problem - a mis-spelling was staring him in the face. Jim thought he didn't have to be concerned with variable mis-spelling, because he had explicit vars turned on. Jaqcues and I would both be on the look out for misspellings :-) (That's not to elevate myself to the same level of programming ability shared by Jacques and Jim.) Given how much use I make of custom properties and array keys as ways of structuring my code, there is always going to be a problem with mis-spellings in such dynamic constructs. In addition to that, there are other things that the compiler doesn't check but should: http://quality.runrev.com/qacenter/show_bug.cgi?id=7791 Strangely enough one of those errors is caught by having explicit variables turned on. The others are not. I can see the benefit in having explicit variable checking and in not having it. But I hesitate to call it "Strict Compilation Mode" when the compiler is so lax about language use that appears as ungrammatical as in that bug report. Bernard On Sun, May 10, 2009 at 9:20 AM, stephen barncard wrote: > I love it when the Titans of Transcript battle.... we learn so much.... > > ------------------------- > Stephen Barncard > San Francisco > http://barncard.com > > > 2009/5/9 Jim Bufalini > >> Mark Wieder wrote: >> >> > I recognize hyperbole when I see it, but nonetheless I don't think you >> > can have 8 lines of declarations and three lines of actual script (and >> From bdrunrev at gmail.com Sun May 10 05:17:35 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sun, 10 May 2009 10:17:35 +0100 Subject: Newbie question - how to check for a varible In-Reply-To: References: <4A8F0717-442C-460F-9398-ADC59D9DD3DC@cox.net> Message-ID: The message box is an amazing feature. You can use it in a debugging session to work with the state of your code at the breakpoint. Bernard On Fri, May 8, 2009 at 7:43 AM, Stephen Cox wrote: > Lol. Of course. I knew it would be easy. Thanks. > > For the life of me I could not find an example in the docs; the user guild > or online. > > The messagebox? I hardly use it. Gets in the way mostly. I've been using it > to look at global variables. I know you can run commands. But if you don't > know the commands, it's no help. Or am I wrong about this? > > > On 5/8/09 2:35 AM, "Joe Lewis Wilkins" wrote: > >> Stephen, >> >> Without even checking, since it's the way it would be done in HC, just >> use: >> >> if tUsername is empty then .... >> >> if tUsername exists then ... >> >> You were already there. Didn't you check these out in the messagebox? >> >> Joe Wilkins >> >> On May 7, 2009, at 11:25 PM, Stephen Cox wrote: >> >>> Really two questions: >>> >>> How do I check if a variable is empty? Sort of like; >>> >>> If !empty(tUsername) >>> ? ?// process here >>> Endif >>> >>> Empty() is a Foxpro function that pops if what you are checking is >>> empty. I >>> can?t seem to find it?s equivalent in revolution. Am I approaching >>> this the >>> wrong way? And can I check fields the same way? >>> >>> I suppose I could create an empty variable and just compare the 2? >>> But is >>> there an easier way? >>> >>> Next question; checking the existence of a variable? Now I know I >>> can turn >>> on Strict Compilation (and I have) but I?d rather have the assurance >>> of >>> checking to see if a variable exist? Is this a non-issue in >>> Revolution? >>> >>> Thanks >>> >>> -Stephen Cox >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From livfoss at mac.com Sun May 10 05:18:54 2009 From: livfoss at mac.com (Graham Samuel) Date: Sun, 10 May 2009 11:18:54 +0200 Subject: Newbie... Strict Compilation mode In-Reply-To: <20090510034936.8E81D48B3A7@mail.runrev.com> References: <20090510034936.8E81D48B3A7@mail.runrev.com> Message-ID: <49ED344D-A57F-4267-BD54-AC55BF1C4DE7@mac.com> I think all this proves that different people can and do use Revolution / xTalk differently. Personally I am persuaded by Jim's argument, and indeed I have changed: when I first came to xTalk after years of using languages where declaration of variables was mandatory, I relished the freedom of not having to do so. But gradually I got tired of debugging my own spelling mistakes and moved over. However I have enormous respect for the Jacque and Richmond, who are clearly highly productive NOT using Strict Compilation, so I'm glad there are the two ways of doing it... BTW I can't quite follow Richmond when he says > Funny, I've never declared a variable in Runtime Revolution Do you never carry values from stack to stack or handler to handler via globals? Maybe you always use custom props. But AFAIK, when you write: put "Richmond" into myGlobal in a handler without a corresponding 'global' declaration, and then in another one in a different galaxy, far away, you write: put myGlobal you won't see "Richmond" in the message box, will you? As an aside, I noticed that if I start a repeat statement with something like: repeat with i = 1 to 20 even with ExplicitVars on, the local variable "i" does not have to be declared. I could not find an explanation of this in the docs, but perhaps I didn't look hard enough. I admit I find this useful, but then I am a convert as explained. Graham On Sat, 9 May 2009 13:56:11 -1000, u "Jim Bufalini" wrote: > > Richmond Mathewson wrote: > >> May be this is a goofy question; but it can probably bear >> the asking one more time: >> >> What, if any, is the advantage of declaring variables in RR ? > > - Unles yu ar an perfct typst who has nevr made a typo and nevar use > a speel > checker, explicitVariables instantly indicates a speling eror at > compile tim > and alows you too quikly corect. > - This is also very helpful to people to whom English is a second > language > and English spelling is not intuitive and they can and often do put > one r > or l in one place and two r's or ll's in another and other such > typical > English spelling errors. > - It allows you to distinguish globals from script locals and > constants both > at the script level and handler level. > - It allows you to declare globals from inside a handler (which > creates a > "semi" global that is only available to other handlers that also > declare the > same global). > - It makes your code much more readable, not only to others, but to > yourself, when you are troubleshooting a problem weeks or months or > years > later. > - It is "polite" to others with whom you may want to share your code > and > they have explicitVariables turned on. They are not going to turn it > off for > a large project just to look at few lines of your code. > - If you use GLX2, it allows GLX2 to offer you variable completion > after > typing four chars of a declared variable name. > - The reason the name was changed is probably because it also checks > that > you have not spelled reserved words incorrectly. *set the locaton of > this > stack to screnLoc* will not give a compile time error if Strict > Compilation > Mode is turned off. If it is on, you get an error. If you are just > learning > the language, this is big help. > > Lastly, although you can "create" variables without declaration, the > fact > is, variables cannot be created on-the-fly at runtime. Only array > variables > and custom property variables can be created on-the-fly. Otherwise, > you must > use a *do* statement, which has limitations, is slow because it is > complied > at runtime and can be tedious and error prone to write a long one. > All > other variables are whatever you typed on compile. > > So, given these facts, the real question is: > > What, if any, is the advantage of NOT declaring variables? ;-) > > Aloha from Hawaii, > > Jim Bufalini From effendi at wanadoo.fr Sun May 10 05:20:24 2009 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sun, 10 May 2009 11:20:24 +0200 Subject: Why Rev needs a cookbook ? Message-ID: <443320CC-71D0-4B9E-A1A2-CEB513174290@wanadoo.fr> Hi from Paris, Thanks to Sarah and Devin for pointing me in the right direction. > As an example, go to this page: > It's not very exciting, but it does some maths as well as reporting > various system parameters. > > Now go to this page: > > This shows the script of the irev file that generates the first page. > The data you see on the first page is NOT contained in the script, but > the script contains Rev commands to get the data with the html tags to > display it in the required format. And I will keep a trace of my blunderings as I try and get my head around On-Rev, until finally I get something up and running. Now THAT may be worth putting in a Cook Book ! -Francis "Nothing should ever be done for the first time !" From bdrunrev at gmail.com Sun May 10 05:35:10 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sun, 10 May 2009 10:35:10 +0100 Subject: Newbie... Strict Compilation mode In-Reply-To: References: <1421628998125.20090509112418@ahsoftware.net> <4A05E2FE.20404@gmail.com> <00a501c9d101$bb4789d0$31d69d70$@com> <4A062781.8030505@hyperactivesw.com> <1541662765546.20090509204706@ahsoftware.net> <00a701c9d12c$87b0ffe0$9712ffa0$@com> Message-ID: Another side-effect of explicit variables is that some code may well behave differently. Consider this: local tVar, tSQL if tVar is empty then ... Since explict vars requires the declaration, it will affect the result of the following conditional. With the declaration then the condition will be true; without the declration the condition will be false. Bernard From richmondmathewson at gmail.com Sun May 10 05:46:45 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 10 May 2009 12:46:45 +0300 Subject: Newbie... Strict Compilation mode In-Reply-To: <49ED344D-A57F-4267-BD54-AC55BF1C4DE7@mac.com> References: <20090510034936.8E81D48B3A7@mail.runrev.com> <49ED344D-A57F-4267-BD54-AC55BF1C4DE7@mac.com> Message-ID: <4A06A285.1070404@gmail.com> What constitutes "declaring a variable" is difficult to define because the minute I type: put "Graham" into SAMUEL, the variable SAMUEL "pops into existence", and it could be argued that the first mention of a variable constitutes its declaration. And if that is what constitutes "declaring a variable" I could hardly claim "I've never declared a variable in Runtime Revolution". However, I understand "declaring a variable" to mean an explicit declaration (without assigning a value) at the start of a block of code. And, I have never done that in Runtime Revolution, not, for that matter, in BBC BASIC . . . :) Did it until I was blue in the face way back with MiniFortran (OUCH!), Fortran 4 and PASCAL 5; thought I'd never see the likes of it again. ----------------------------------------------------------------------------------------------------- Section follows where Richmond puts a baited hook into the Use-List ----------------------------------------------------------------------------------------------------- Hey, when is Runtime Revolution going to go Open Source? ---------------------------------------------------------------------------------------------------- well, you know, wouldn't want to disappoint Kay C Lan now would we ? ---------------------------------------------------------------------------------------------------- However (getting back on topic with an extreme effort of will), when I have developed software for others than myself I have done this sort of thing: on mouseUp put fld "fENTRY" into VALWUN -- VALWUN is the seed that the end-user entered into the field "fENTRY" -- the seed can now be run through the algorithm end mouseUp while this is not declaring variable it is, at least, giving some explanation of what the variable is/contains and/or what it is used for. As I pointed out in an earlier post, one can do one's own bl**dy-minded thing with Runtime Revolution far more than with many other programming suites; this, of course, can have 2 sides: 1. You can program away in a style that suits your way of thinking and organisation. 2. It can make other people, who don't share your way of thinking and organisation find things hard going when they want to understand your code. Obviously one of the ways to minimise this is by explicit declaration of variables, another way is by extensive annotation within the body of the code, as per my example above. Graham Samuel wrote: > I think all this proves that different people can and do use > Revolution / xTalk differently. Personally I am persuaded by Jim's > argument, and indeed I have changed: when I first came to xTalk after > years of using languages where declaration of variables was mandatory, > I relished the freedom of not having to do so. But gradually I got > tired of debugging my own spelling mistakes and moved over. However I > have enormous respect for the Jacque and Richmond, who are clearly > highly productive NOT using Strict Compilation, so I'm glad there are > the two ways of doing it... > > BTW I can't quite follow Richmond when he says > >> Funny, I've never declared a variable in Runtime Revolution > > Do you never carry values from stack to stack or handler to handler > via globals? Maybe you always use custom props. But AFAIK, when you > write: > > put "Richmond" into myGlobal > > in a handler without a corresponding 'global' declaration, and then in > another one in a different galaxy, far away, you write: > > put myGlobal > > you won't see "Richmond" in the message box, will you? > > As an aside, I noticed that if I start a repeat statement with > something like: > > repeat with i = 1 to 20 > > even with ExplicitVars on, the local variable "i" does not have to be > declared. I could not find an explanation of this in the docs, but > perhaps I didn't look hard enough. I admit I find this useful, but > then I am a convert as explained. > > Graham > > > On Sat, 9 May 2009 13:56:11 -1000, u "Jim Bufalini" > wrote: >> >> Richmond Mathewson wrote: >> >>> May be this is a goofy question; but it can probably bear >>> the asking one more time: >>> >>> What, if any, is the advantage of declaring variables in RR ? >> >> - Unles yu ar an perfct typst who has nevr made a typo and nevar use >> a speel >> checker, explicitVariables instantly indicates a speling eror at >> compile tim >> and alows you too quikly corect. >> - This is also very helpful to people to whom English is a second >> language >> and English spelling is not intuitive and they can and often do put >> one r >> or l in one place and two r's or ll's in another and other such typical >> English spelling errors. >> - It allows you to distinguish globals from script locals and >> constants both >> at the script level and handler level. >> - It allows you to declare globals from inside a handler (which >> creates a >> "semi" global that is only available to other handlers that also >> declare the >> same global). >> - It makes your code much more readable, not only to others, but to >> yourself, when you are troubleshooting a problem weeks or months or >> years >> later. >> - It is "polite" to others with whom you may want to share your code and >> they have explicitVariables turned on. They are not going to turn it >> off for >> a large project just to look at few lines of your code. >> - If you use GLX2, it allows GLX2 to offer you variable completion after >> typing four chars of a declared variable name. >> - The reason the name was changed is probably because it also checks >> that >> you have not spelled reserved words incorrectly. *set the locaton of >> this >> stack to screnLoc* will not give a compile time error if Strict >> Compilation >> Mode is turned off. If it is on, you get an error. If you are just >> learning >> the language, this is big help. >> >> Lastly, although you can "create" variables without declaration, the >> fact >> is, variables cannot be created on-the-fly at runtime. Only array >> variables >> and custom property variables can be created on-the-fly. Otherwise, >> you must >> use a *do* statement, which has limitations, is slow because it is >> complied >> at runtime and can be tedious and error prone to write a long one. All >> other variables are whatever you typed on compile. >> >> So, given these facts, the real question is: >> >> What, if any, is the advantage of NOT declaring variables? ;-) >> >> 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 m.schonewille at economy-x-talk.com Sun May 10 06:19:55 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 10 May 2009 12:19:55 +0200 Subject: Mac icons In-Reply-To: References: Message-ID: <578B1E90-4F03-4DE1-97FA-EF0BAF208772@economy-x-talk.com> Dear Stephen, Do you want to create an icon to display on your standalone application package in the Finder, or are you looking for pictures that you can use as icons in your interface? You can use Icon Composer to create icons from almost any picture. Icon composer creates icns files, which you can use in the standalone settings of Revolution. There are several sources where you can download interface icons. Here are a few sources: I created an unsophisticated set of small icons, which you can find here: -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum New: Snapper Screen Recorder 2.0.1 Download at http://snapper.economy-x-talk.com On 10 mei 2009, at 08:20, Stephen Cox wrote: > I was wondering what icons ya use for your projects (on Mac)? Looks > like > Revolution uses Carbon (when are they moving to Cocoa ? Carbon is > being > dropped VERY soon). Has anyone used the Cocoa icons? Or is there a > set I can > buy, for Revolution? > > Thanks > > -Stephen Cox From palcibiades-first at yahoo.co.uk Sun May 10 09:49:35 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sun, 10 May 2009 06:49:35 -0700 (PDT) Subject: Why Rev needs a cookbook (newb questions) In-Reply-To: <00036524.4A05C98B@the-office.us> References: <200905090759.08807.palcibiades-first@yahoo.co.uk> <00036524.4A05C98B@the-office.us> Message-ID: <23470257.post@talk.nabble.com> Someone suggested entering 'empty' into the dictionary. Try it. You get 30-40 entries, with 'empty' as a property, and one with it as a constant, and two with it as an option on commands. One of these may or may not tell you how to set a variable to empty. This is a bit like setting out to make spaghetti carbonara, and discovering that you can look up spaghetti in the manual. There are lots of entries for the diferent sorts of spaghetti, thick, thin, fresh, wholewheat... You look up bacon. Lots of entries, back, streaky, smoked, pancetta..... What you need is a book organised by Things You Want to Make. Carbonara, Bolognese, Cheese. Broccoli and achovies, Putanesca... I am getting hungry thinking about it. So similarly what Rev needs is a book which does not, when you look up 'empty' have all those 40-50 entries. Instead it has some along the lines of 'How to empty a variable, field.....'. Carla's book is a model. Here is her table of contents http://oreilly.com/catalog/9780596006402/toc.html?CMP=ILL-4GV796923290 And here is an excerpt to show exactly how it works: Problem You need to know what files are installed on your system when you install a program from source code, so that you can find and remove all of them if you decide you don't want them anymore. Some program authors thoughtfully include a "make uninstall" target to perform a clean uninstall, but many do not. Solution You can use standard Linux utilities to generate a pre-installation list of all files on your system. Then generate a post-installation list, and diff the two lists to make a list of newly-installed files. This example uses JOE: Joe's Own Editor: # find / | grep -v -e ^/proc/ -e ^/tmp/ -e ^/dev/ > joe-preinstall.list Compile and install your new program, then generate the post-installation list: # find / | grep -v -e ^/proc/ -e ^/tmp/ -e ^/dev/ > joe-postinstall.list Then create a list of files installed by Joe by diffing the two lists: $ diff joe-preinstall.list joe-postinstall.list > joe-installed.list There are a few more examples here: http://www.linuxdevcenter.com/pub/a/linux/excerpt/lnxckbk_1/index.html Its all organized along the lines of, you are engaged in doing something and find you would like to do X, This is how to do it. Sometimes (as in this case) there is a discussion (here omitted) afterwards about how it works and what to be careful of. You can see, its a dictionary, but organized by problems which in turn are all grouped under tasks. You need both kinds. I am not criticizing the Rev materials, which are (a) much improved and (b) excellent as what they are. But you do need both. Especially for those starting out with it. My own example was a problem which Jim Ault was kind enough to show me how to manage, using 'filter'. Filter was there in the dictionary all the time, I'd just not realized that this was what you used or how you used it to solve my problem. But had there been an entry on the lines of, how to eliminate dupes, or some ways of doing lookups and matches, it would have been in there. It would be natural to get contributions in the form of a wiki, and then have someone edit them into a structure. Most of the material is probably around somewhere, just not organized like this. -- View this message in context: http://www.nabble.com/Why-Rev-needs-a-cookbook-%28newb-questions%29-tp23457871p23470257.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sun May 10 10:12:58 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 10 May 2009 17:12:58 +0300 Subject: Why Rev needs a cookbook (newb questions) In-Reply-To: <23470257.post@talk.nabble.com> References: <200905090759.08807.palcibiades-first@yahoo.co.uk> <00036524.4A05C98B@the-office.us> <23470257.post@talk.nabble.com> Message-ID: <4A06E0EA.80706@gmail.com> Apart from your obvious fixation on spaghetti :) The only problem about these types of recipe books is that it is well-nigh impossible to guess all the recipes that will be required: after all, if it were, there would be no original programs or ideas within programs. While answers to questions such as "how to I clear a field of data?' may be straightforward, and, almost everybody is going to ask that question sooner rather than later, questions such as How to I download pictures, music and film clips from seven different websites, arrange them across a number of cards, embedding some of the imported data in fields according to type, and export selected parts into a variety of image formats? Are rather more difficult to foresee, and may not always be capable of being broken down into lesser questions demanding less elaborate and specific answers. All of us have come across books with titles such as "Moron's guide to Spaghetti", and, apart from the fact that the title's sound rather insulting, they do tend to "talk down" provide a 2-dimensional view of things which may be all well and good if all you want to do is belt out endless plates of spaghetti-cheese and spaghetti-with-some-indefinable-unidentifiable-brown-sludgy-sauce; but misses one of the main points about cooking (and, oddly enough, computer programming); the creative possibility that makes all the difference between the type of people who used to dish up some 'orrible filth they passed-off as 'Four Seasons Spaghetti' at my school, and REAL cooks who make you rush back for more. Surely, one of the joys of cooking is the possibility for endless experimentation. Aah . . . wait a minute . . . I seem to remember one Dr Alex Comfort . . . who wrote a book . . . about . . . Hey! "The Joy of Runtime Revolution" complete with line illustrations of all sorts of interesting object layouts. Peter Alcibiades wrote: > Someone suggested entering 'empty' into the dictionary. Try it. You get > 30-40 entries, with 'empty' as a property, and one with it as a constant, > and two with it as an option on commands. One of these may or may not tell > you how to set a variable to empty. > > This is a bit like setting out to make spaghetti carbonara, and discovering > that you can look up spaghetti in the manual. There are lots of entries for > the diferent sorts of spaghetti, thick, thin, fresh, wholewheat... You look > up bacon. Lots of entries, back, streaky, smoked, pancetta..... What you > need is a book organised by Things You Want to Make. Carbonara, Bolognese, > Cheese. Broccoli and achovies, Putanesca... I am getting hungry thinking > about it. > > So similarly what Rev needs is a book which does not, when you look up > 'empty' have all those 40-50 entries. Instead it has some along the lines > of 'How to empty a variable, field.....'. > > Carla's book is a model. Here is her table of contents > > http://oreilly.com/catalog/9780596006402/toc.html?CMP=ILL-4GV796923290 > > And here is an excerpt to show exactly how it works: > > Problem > > You need to know what files are installed on your system when you install a > program from source code, so that you can find and remove all of them if you > decide you don't want them anymore. Some program authors thoughtfully > include a "make uninstall" target to perform a clean uninstall, but many do > not. > > Solution > > You can use standard Linux utilities to generate a pre-installation list of > all files on your system. Then generate a post-installation list, and diff > the two lists to make a list of newly-installed files. This example uses > JOE: Joe's Own Editor: > > # find / | grep -v -e ^/proc/ -e ^/tmp/ -e ^/dev/ > joe-preinstall.list > > Compile and install your new program, then generate the post-installation > list: > > # find / | grep -v -e ^/proc/ -e ^/tmp/ -e ^/dev/ > joe-postinstall.list > > Then create a list of files installed by Joe by diffing the two lists: > > $ diff joe-preinstall.list joe-postinstall.list > joe-installed.list > > There are a few more examples here: > > http://www.linuxdevcenter.com/pub/a/linux/excerpt/lnxckbk_1/index.html > > Its all organized along the lines of, you are engaged in doing something and > find you would like to do X, This is how to do it. Sometimes (as in this > case) there is a discussion (here omitted) afterwards about how it works and > what to be careful of. > > You can see, its a dictionary, but organized by problems which in turn are > all grouped under tasks. You need both kinds. I am not criticizing the Rev > materials, which are (a) much improved and (b) excellent as what they are. > But you do need both. Especially for those starting out with it. My own > example was a problem which Jim Ault was kind enough to show me how to > manage, using 'filter'. Filter was there in the dictionary all the time, > I'd just not realized that this was what you used or how you used it to > solve my problem. But had there been an entry on the lines of, how to > eliminate dupes, or some ways of doing lookups and matches, it would have > been in there. > > It would be natural to get contributions in the form of a wiki, and then > have someone edit them into a structure. Most of the material is probably > around somewhere, just not organized like this. > From mwieder at ahsoftware.net Sun May 10 10:51:08 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 10 May 2009 07:51:08 -0700 Subject: Should this not be an error ? In-Reply-To: References: <4A05A1D5.8070105@tweedly.net> <1511622368796.20090509093349@ahsoftware.net> <4A061B84.3010802@tweedly.net> <1891651372437.20090509173713@ahsoftware.net> Message-ID: <871702610890.20090510075108@ahsoftware.net> Bernard- Sunday, May 10, 2009, 1:04:38 AM, you wrote: > Maybe these should be listed under this enhancement request (although > maybe the request should be a bug report instead): > http://quality.runrev.com/qacenter/show_bug.cgi?id=7791 The aggregate bug report is bz #4727. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun May 10 11:03:37 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 10 May 2009 08:03:37 -0700 Subject: Newbie... Strict Compilation mode In-Reply-To: <4A06A285.1070404@gmail.com> References: <20090510034936.8E81D48B3A7@mail.runrev.com> <49ED344D-A57F-4267-BD54-AC55BF1C4DE7@mac.com> <4A06A285.1070404@gmail.com> Message-ID: <1501703359921.20090510080337@ahsoftware.net> Richmond- Sunday, May 10, 2009, 2:46:45 AM, you wrote: > What constitutes "declaring a variable" is difficult to define because Semantic games aside, the act of "declaring" a variable is a statement of the form "I intend to use a variable of name x in my code" thusly: local x the other process, where rev implicitly creates a variable for you on first use, is sometimes referred to as "instantiation". -- -Mark Wieder mwieder at ahsoftware.net From jim at visitrieve.com Sun May 10 11:13:53 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Sun, 10 May 2009 05:13:53 -1000 Subject: Newbie... Strict Compilation mode In-Reply-To: <49ED344D-A57F-4267-BD54-AC55BF1C4DE7@mac.com> References: <20090510034936.8E81D48B3A7@mail.runrev.com> <49ED344D-A57F-4267-BD54-AC55BF1C4DE7@mac.com> Message-ID: <00a801c9d181$ee9bbce0$cbd336a0$@com> Graham Samuel wrote: > As an aside, I noticed that if I start a repeat statement with > something like: > > repeat with i = 1 to 20 > > even with ExplicitVars on, the local variable "i" does not have to be > declared. I could not find an explanation of this in the docs, but > perhaps I didn't look hard enough. I admit I find this useful, but > then I am a convert as explained. This is also true for: Function myFunction pListOfLinesParam if pListOfLinesParam <> empty then repeat for each line tLine in pListOfLinesParam ... end repeat end if return tLine end myFunction Neither tLine or pListOfLinesParam needs to be declared even if expicitVariables is on. And, pListOfLinesParam will return empty (and not its own var name) if nothing is passed. I've never seen it documented either, but I "think" tLine is considered a "param" of the repeat and treated the same as a param of the function, which is that it is considered declared (there is an some official name for this I think). Just a guess. Both of these I also find useful and would prefer it not change. ;-) Aloha from Hawaii, Jim Bufalini From mwieder at ahsoftware.net Sun May 10 11:28:59 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 10 May 2009 08:28:59 -0700 Subject: Newbie... Strict Compilation mode In-Reply-To: References: <1421628998125.20090509112418@ahsoftware.net> <4A05E2FE.20404@gmail.com> <00a501c9d101$bb4789d0$31d69d70$@com> <4A062781.8030505@hyperactivesw.com> <1541662765546.20090509204706@ahsoftware.net> <00a701c9d12c$87b0ffe0$9712ffa0$@com> Message-ID: <751704882312.20090510082859@ahsoftware.net> Bernard- Sunday, May 10, 2009, 2:08:09 AM, you wrote: > The interesting thing is that both Jim/Mark & Jacques are right. ...and *that* I think is the real strength of rev/xtalk. Not that there aren't "wrong" ways to do things (been there, done that, got the t-shirt), but there are many "right" ways to approach any task. I love the diversity of learning new ways to do things from folks who do things differently from me. > But when I started out with Rev I tried turning on explicit variables > over several releases, but it was so broken that the IDE stopped > working (it must have had undeclared variables in it). So after years > of not using explict vars, it seems onerous to now switch it on. That was ages ago, and yes, it was most definitely a problem. I have explicitVars enabled at all times except when I need to work with someone else's code whose religious preferences are different. And by doing so I've been able to report bugs against the IDE which should never have gotten out the door if the IDE code were explicitVars-safe. -- -Mark Wieder mwieder at ahsoftware.net From bdrunrev at gmail.com Sun May 10 11:57:15 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sun, 10 May 2009 16:57:15 +0100 Subject: Should this not be an error ? In-Reply-To: <871702610890.20090510075108@ahsoftware.net> References: <4A05A1D5.8070105@tweedly.net> <1511622368796.20090509093349@ahsoftware.net> <4A061B84.3010802@tweedly.net> <1891651372437.20090509173713@ahsoftware.net> <871702610890.20090510075108@ahsoftware.net> Message-ID: Mark, I must be misunderstanding something. 4727 is about junk following the end of a grammatical statement. 7791 is about the acceptance of ungrammatical statements. I'd say that maybe 4727 should be subsumed under 7791, but certainly not the other way round. Bernard On Sun, May 10, 2009 at 3:51 PM, Mark Wieder wrote: > Bernard- > > Sunday, May 10, 2009, 1:04:38 AM, you wrote: > >> Maybe these should be listed under this enhancement request (although >> maybe the request should be a bug report instead): > >> http://quality.runrev.com/qacenter/show_bug.cgi?id=7791 > > The aggregate bug report is bz #4727. > > -- > -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 jacque at hyperactivesw.com Sun May 10 12:22:07 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 10 May 2009 11:22:07 -0500 Subject: OT Re: Newbie... Strict Compilation mode In-Reply-To: <481675287390.20090510001547@ahsoftware.net> References: <481675287390.20090510001547@ahsoftware.net> Message-ID: <4A06FF2F.4040202@hyperactivesw.com> Mark Wieder wrote: > Stephen- > > Saturday, May 9, 2009, 11:55:13 PM, you wrote: > >> Now must I send bribes to end this "debate"? > > ROTFL. Not to worry - comes up once a year or so, along with the > "what's wrong with globals?" question, just enough to rattle folks' > cages, then dies down for a while. Feel free to chime in the next time > it rolls around. > BTW, just so everyone knows, Mark and I have known each other for -- what? 20 years? -- and I can vouch for the fact that we can disagree and still like each other. We've gone at this before, it's sort of a diversion. Personally I think we should next discuss the practice of putting little sticker labels on every single individual piece of fruit in the supermarket. If you really want to push my buttons, that'll do it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun May 10 12:23:38 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 10 May 2009 11:23:38 -0500 Subject: OT Re: Newbie... Strict Compilation mode In-Reply-To: <481675287390.20090510001547@ahsoftware.net> References: <481675287390.20090510001547@ahsoftware.net> Message-ID: <4A06FF8A.2000507@hyperactivesw.com> > Now must I send bribes to end this "debate"? On second thought, yes, please send bribes. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sun May 10 12:41:16 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 10 May 2009 19:41:16 +0300 Subject: OT Re: Newbie... Strict Compilation mode In-Reply-To: <4A06FF2F.4040202@hyperactivesw.com> References: <481675287390.20090510001547@ahsoftware.net> <4A06FF2F.4040202@hyperactivesw.com> Message-ID: <4A0703AC.3020601@gmail.com> J. Landman Gay wrote: > Personally I think we should next discuss the practice of putting > little sticker labels on every single individual piece of fruit in the > supermarket. If you really want to push my buttons, that'll do it. 'Tis nothing! I know a chap in Bulgaria who sticks sticky labels on each apricot while they are still green and hanging on the tree with their predicted dates of ripening. Presumably on the appointed dates he lies under the trees with his mouth open waiting for the fruit to drop. Dunno why, but it reminds me of declaring variables miles and miles away from where they are used. :) From mwieder at ahsoftware.net Sun May 10 13:03:35 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 10 May 2009 10:03:35 -0700 Subject: Completely OT by now: fruit stickers In-Reply-To: <4A06FF2F.4040202@hyperactivesw.com> References: <481675287390.20090510001547@ahsoftware.net> <4A06FF2F.4040202@hyperactivesw.com> Message-ID: <1211710558859.20090510100335@ahsoftware.net> Jacque- Sunday, May 10, 2009, 9:22:07 AM, you wrote: > Personally I think we should next discuss the practice of putting little > sticker labels on every single individual piece of fruit in the > supermarket. If you really want to push my buttons, that'll do it. Ever notice that they're coded: Conventionally-grown fruit has four digits Organic fruit has five digits starting with a nine GMO fruit has five digits starting with an eight -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Sun May 10 13:15:39 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 10 May 2009 12:15:39 -0500 Subject: Completely OT by now: fruit stickers In-Reply-To: <1211710558859.20090510100335@ahsoftware.net> References: <481675287390.20090510001547@ahsoftware.net> <4A06FF2F.4040202@hyperactivesw.com> <1211710558859.20090510100335@ahsoftware.net> Message-ID: <4A070BBB.20907@hyperactivesw.com> Mark Wieder wrote: > Jacque- > > Sunday, May 10, 2009, 9:22:07 AM, you wrote: > >> Personally I think we should next discuss the practice of putting little >> sticker labels on every single individual piece of fruit in the >> supermarket. If you really want to push my buttons, that'll do it. > > Ever notice that they're coded: The ones I see here have a grower symbol on them and no codes. I'd understand if there were codes, but these are just stupid. I can't count how many labels I accidentally ate at first. Then my stomach walls stuck together. I'm gonna sue. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun May 10 13:17:09 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 10 May 2009 12:17:09 -0500 Subject: OT Re: Newbie... Strict Compilation mode (and fruit) In-Reply-To: <4A0703AC.3020601@gmail.com> References: <481675287390.20090510001547@ahsoftware.net> <4A06FF2F.4040202@hyperactivesw.com> <4A0703AC.3020601@gmail.com> Message-ID: <4A070C15.8080806@hyperactivesw.com> Richmond Mathewson wrote: > J. Landman Gay wrote: >> Personally I think we should next discuss the practice of putting >> little sticker labels on every single individual piece of fruit in the >> supermarket. If you really want to push my buttons, that'll do it. > > 'Tis nothing! I know a chap in Bulgaria who sticks sticky labels on > each apricot while they are still green and hanging on the tree with > their predicted dates of ripening. You made that up, right? ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephen at networkxfla.com Sun May 10 13:37:41 2009 From: stephen at networkxfla.com (Stephen Cox) Date: Sun, 10 May 2009 13:37:41 -0400 Subject: Mac icons In-Reply-To: <578B1E90-4F03-4DE1-97FA-EF0BAF208772@economy-x-talk.com> Message-ID: Thanks. -Stephen COx On 5/10/09 6:19 AM, "Mark Schonewille" wrote: > Dear Stephen, > > Do you want to create an icon to display on your standalone > application package in the Finder, or are you looking for pictures > that you can use as icons in your interface? > > You can use Icon Composer to create icons from almost any picture. > Icon composer creates icns files, which you can use in the standalone > settings of Revolution. > > There are several sources where you can download interface icons. Here > are a few sources: > > > > > > > I created an unsophisticated set of small icons, which you can find > here: > > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > Dutch forum: http://runrev.info/rrforum > > New: Snapper Screen Recorder 2.0.1 > Download at http://snapper.economy-x-talk.com > > On 10 mei 2009, at 08:20, Stephen Cox wrote: > >> I was wondering what icons ya use for your projects (on Mac)? Looks >> like >> Revolution uses Carbon (when are they moving to Cocoa ? Carbon is >> being >> dropped VERY soon). Has anyone used the Cocoa icons? Or is there a >> set I can >> buy, for Revolution? >> >> Thanks >> >> -Stephen Cox > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 architex.tv Sun May 10 13:38:13 2009 From: david at architex.tv (David Bovill) Date: Sun, 10 May 2009 18:38:13 +0100 Subject: Command line wants an editor Message-ID: > > error: Terminal is dumb but no VISUAL nor EDITOR defined. > Please supply the message using either -m or -F option. > There are quite a few command lines programs that do this - any way to hook things up so that Rev acts as the editor - so you can shell(someshell) and when shell asks for an editor....? Not sure how to handle it? From kray at sonsothunder.com Sun May 10 14:00:57 2009 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 10 May 2009 13:00:57 -0500 Subject: App on Linux - really slow... any ideas why? In-Reply-To: <23467732.post@talk.nabble.com> Message-ID: > It will be interesting to use the app and see what's happening. I'm starting to track this down a bit... today when I launched the program, it didn't get all the way through it's load process, but got all the windows up. When I switched between windows, it was pretty fast. Once I got the bug fixed and it managed to load properly, it was slow again. It now looks like there's definitely something in the code I'm using because when I have the System Monitor running I see the CPU at about 5%, but when I click on the main stage window where there's a default stick figure drawn, it cranks up to 100% CPU for a few seconds, so there's something going on during the resumeStack sequence on this stack that's cranking the CPU way high. Now that I have a clue, I don't think I need to send you a copy Peter (unless you really want one)... if so, let me know. In any event, I'll keep everyone posted, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jim at visitrieve.com Sun May 10 14:02:42 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Sun, 10 May 2009 08:02:42 -1000 Subject: Command line wants an editor In-Reply-To: References: Message-ID: <00a901c9d199$841e0090$8c5a01b0$@com> Hi David, Would you provide the actual shell command you are using? Thanks. Aloha from Hawaii, Jim Bufalini > > error: Terminal is dumb but no VISUAL nor EDITOR defined. > > Please supply the message using either -m or -F option. > > > > There are quite a few command lines programs that do this - any way to > hook > things up so that Rev acts as the editor - so you can shell(someshell) > and > when shell asks for an editor....? Not sure how to handle it? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From richmondmathewson at gmail.com Sun May 10 14:11:59 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 10 May 2009 21:11:59 +0300 Subject: OT Re: Newbie... Strict Compilation mode (and fruit) In-Reply-To: <4A070C15.8080806@hyperactivesw.com> References: <481675287390.20090510001547@ahsoftware.net> <4A06FF2F.4040202@hyperactivesw.com> <4A0703AC.3020601@gmail.com> <4A070C15.8080806@hyperactivesw.com> Message-ID: <4A0718EF.1070003@gmail.com> Well, I don't know about anything else, but you can, at least, pat yourself on the back for spotting a HUGE leg-pull! Love and kisses, Richmond. J. Landman Gay wrote: > Richmond Mathewson wrote: >> J. Landman Gay wrote: >>> Personally I think we should next discuss the practice of putting >>> little sticker labels on every single individual piece of fruit in >>> the supermarket. If you really want to push my buttons, that'll do it. >> >> 'Tis nothing! I know a chap in Bulgaria who sticks sticky labels on >> each apricot while they are still green and hanging on the tree with >> their predicted dates of ripening. > > You made that up, right? ;) > From richmondmathewson at gmail.com Sun May 10 14:17:20 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 10 May 2009 21:17:20 +0300 Subject: Completely OT by now: fruit stickers In-Reply-To: <4A070BBB.20907@hyperactivesw.com> References: <481675287390.20090510001547@ahsoftware.net> <4A06FF2F.4040202@hyperactivesw.com> <1211710558859.20090510100335@ahsoftware.net> <4A070BBB.20907@hyperactivesw.com> Message-ID: <4A071A30.6070006@gmail.com> Life's much simpler here in Bulgaria; you just know that every thing is oozing with nitrates, phosphates and anything else you can imagine. Which is why I have just returned from our villa out in the coutry, all sweaty from pruning our own fruit trees; which we manure with what comes out of a cow's bottom. :) And what does this tell us about RR programming, pray tell? Remind me, if you should run into the conference, and I will regale you with the usual sh*t. :) J. Landman Gay wrote: > Mark Wieder wrote: >> Jacque- >> >> Sunday, May 10, 2009, 9:22:07 AM, you wrote: >> >>> Personally I think we should next discuss the practice of putting >>> little >>> sticker labels on every single individual piece of fruit in the >>> supermarket. If you really want to push my buttons, that'll do it. >> >> Ever notice that they're coded: > > The ones I see here have a grower symbol on them and no codes. I'd > understand if there were codes, but these are just stupid. I can't > count how many labels I accidentally ate at first. Then my stomach > walls stuck together. I'm gonna sue. > From scott at tactilemedia.com Sun May 10 14:38:17 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 10 May 2009 11:38:17 -0700 Subject: OT Re: Newbie... Strict Compilation mode In-Reply-To: <4A06FF2F.4040202@hyperactivesw.com> Message-ID: Recently, J. Landman Gay wrote: > Personally I think we should next discuss the practice of putting little > sticker labels on every single individual piece of fruit in the > supermarket. If you really want to push my buttons, that'll do it. Dude: I saw a food-related program about a company who has developed a way to laser-etch the skin of the fruit with the product digits and spray the etched regions with a small bit of food coloring to make them legible. In effect: editable labels. I think this is the most phenomenal thing ever, yet there are those who say this process contaminates the food and want to continue using stickers. [sigh] Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From jperryl at ecs.fullerton.edu Sun May 10 14:42:07 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 10 May 2009 11:42:07 -0700 (PDT) Subject: Why Rev needs a cookbook (newb questions) In-Reply-To: <4A06E0EA.80706@gmail.com> References: <200905090759.08807.palcibiades-first@yahoo.co.uk> <00036524.4A05C98B@the-office.us> <23470257.post@talk.nabble.com> <4A06E0EA.80706@gmail.com> Message-ID: Well, not quite. For example, there are things that keep coming up (how to do tabs, for instance; custom properties as another). Things like that are obvious. Just because one conceivably can't know them all doesn't mean that those that are known can't be put into some sort of FAQ. Judy On Sun, 10 May 2009, Richmond Mathewson wrote: > The only problem about these types of recipe books is that it is well-nigh > impossible to guess > all the recipes that will be required: after all, if it were, there would be > no original programs > or ideas within programs. From jperryl at ecs.fullerton.edu Sun May 10 14:43:41 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 10 May 2009 11:43:41 -0700 (PDT) Subject: Completely OT by now: fruit stickers In-Reply-To: <1211710558859.20090510100335@ahsoftware.net> References: <481675287390.20090510001547@ahsoftware.net> <4A06FF2F.4040202@hyperactivesw.com> <1211710558859.20090510100335@ahsoftware.net> Message-ID: You have wayyyyyy too much time on your hands ;-) Judy On Sun, 10 May 2009, Mark Wieder wrote: > Ever notice that they're coded: > > Conventionally-grown fruit has four digits > Organic fruit has five digits starting with a nine > GMO fruit has five digits starting with an eight From mwieder at ahsoftware.net Sun May 10 15:33:18 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 10 May 2009 12:33:18 -0700 Subject: OT Re: Newbie... Strict Compilation mode In-Reply-To: References: Message-ID: <1771719541906.20090510123318@ahsoftware.net> Scott- Sunday, May 10, 2009, 11:38:17 AM, you wrote: > Recently, J. Landman Gay wrote: >> Personally I think we should next discuss the practice of putting little >> sticker labels on every single individual piece of fruit in the >> supermarket. If you really want to push my buttons, that'll do it. > Dude: I saw a food-related program about a company who has developed a way > to laser-etch the skin of the fruit with the product digits and spray the > etched regions with a small bit of food coloring to make them legible. In > effect: editable labels. I think this is the most phenomenal thing ever, > yet there are those who say this process contaminates the food and want to > continue using stickers. [sigh] You ain't seen nothing yet... http://www.telegraph.co.uk/finance/newsbysector/retailandconsumer/4343032/RipeSense-labels-will-tell-you-when-fruit-is-ripe.html http://www.dailymail.co.uk/news/article-1127504/Colour-coded-sensor-labels-tell-customers-perfect-time-eat-fruit.html (I get all the best info from the Daily Mail...) -- -Mark Wieder mwieder at ahsoftware.net From jim at visitrieve.com Sun May 10 15:43:49 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Sun, 10 May 2009 09:43:49 -1000 Subject: Completely OT by now: fruit stickers In-Reply-To: References: <481675287390.20090510001547@ahsoftware.net> <4A06FF2F.4040202@hyperactivesw.com> <1211710558859.20090510100335@ahsoftware.net> Message-ID: <00aa01c9d1a7$a43db1a0$ecb914e0$@com> On the other hand, we may be on the precipice of a major serendipity breakthrough! We have one thread on cookbooks and another on fruit. What will happens when those two merge? It boggles the mind! Then again, maybe everyone is just hungry? ;-) Aloha from Hawaii, Jim Bufalini > You have wayyyyyy too much time on your hands ;-) > > Judy > > On Sun, 10 May 2009, Mark Wieder wrote: > > > Ever notice that they're coded: > > > > Conventionally-grown fruit has four digits > > Organic fruit has five digits starting with a nine > > GMO fruit has five digits starting with an eight > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jperryl at ecs.fullerton.edu Sun May 10 15:53:30 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 10 May 2009 12:53:30 -0700 (PDT) Subject: OT Re: Newbie... Strict Compilation mode In-Reply-To: <1771719541906.20090510123318@ahsoftware.net> References: <1771719541906.20090510123318@ahsoftware.net> Message-ID: The first one at least "reacts" to aromas given off... like our own noses couldn't do that :-P Judy On Sun, 10 May 2009, Mark Wieder wrote: > http://www.telegraph.co.uk/finance/newsbysector/retailandconsumer/4343032/RipeSense-labels-will-tell-you-when-fruit-is-ripe.html > http://www.dailymail.co.uk/news/article-1127504/Colour-coded-sensor-labels-tell-customers-perfect-time-eat-fruit.html > > (I get all the best info from the Daily Mail...) From david.bovill at gmail.com Sun May 10 16:40:59 2009 From: david.bovill at gmail.com (David Bovill) Date: Sun, 10 May 2009 21:40:59 +0100 Subject: Command line wants an editor In-Reply-To: <00a901c9d199$841e0090$8c5a01b0$@com> References: <00a901c9d199$841e0090$8c5a01b0$@com> Message-ID: Thanks Jim, got around it, by digging into the man pages. As an example though: svn commit 2009/5/10 Jim Bufalini > Hi David, > > Would you provide the actual shell command you are using? Thanks. > > From richmondmathewson at gmail.com Sun May 10 16:48:12 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 10 May 2009 23:48:12 +0300 Subject: OT Re: Newbie... Strict Compilation mode In-Reply-To: References: <1771719541906.20090510123318@ahsoftware.net> Message-ID: <4A073D8C.8070604@gmail.com> Well, at last I understand a man in his 50s who worked with me in Saudi Arabia who said something about old fruits being able to recognise each other from a distance. Judy Perry wrote: > The first one at least "reacts" to aromas given off... like our own > noses couldn't do that :-P > > Judy > > On Sun, 10 May 2009, Mark Wieder wrote: > >> http://www.telegraph.co.uk/finance/newsbysector/retailandconsumer/4343032/RipeSense-labels-will-tell-you-when-fruit-is-ripe.html >> >> http://www.dailymail.co.uk/news/article-1127504/Colour-coded-sensor-labels-tell-customers-perfect-time-eat-fruit.html >> >> >> (I get all the best info from the Daily Mail...) > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Sun May 10 17:55:39 2009 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sun, 10 May 2009 23:55:39 +0200 Subject: How to join the Teton Range and the Alps (was: Joining 2 images) Message-ID: <4A074D5B.9060605@hrz.uni-kassel.de> I have been touring through the German "National Park Berchtesgaden" (about 12 miles from Salzburg, where Mozart was born and lived part of his life) for the last two weeks. While I was able to monitor the discussion about "Joining 2 images" via my cellphone, I was unable to contribute anything to this thread - being busy with climbing up and down the snow-capped mountains and having no computer at my disposal. I was impressed and fascinated by this beautiful part of the Alps, and much of it reminded me of the Teton Range in the "Grand Teton National Park" in Wyoming near Yellowstone Park. I thought this to be a good starting point for a belated contribution to thread "Joining 2 images". I put together a sample stack focusing on joining and partially blending two images, using an image of the Teton Range (not by me) and a photography of the Watzmann Peaks from my recent series, the second highest German mountain. When a blending range of 300 pixels is applied (given the size of the sample photos in the stack) IMO it seems to create a very presentable melting of Teton Range and the Watzmann part of the Alps. Apart from the "blending" script the stack contains Mark Smith's "joining" script of May 3 (use-revolution list) and an alternative "joining" script by myself on card 2. Mark's script is surely the fastest solution possible when joining two images by "appending" lines of bytes/chars. Such an "appending" approach - using "put after" - is useful and possible with lines or successions of chars when either the char values remain unchanged or each char of the imagedata is modified in the same way and by that independantly of any other char or its own position in the imagedata. If, however, you have to compute new char values by taking into account for example surrounding pixels (like with filter scripts; compare my "blur" filters in stack "Imagedata Toolkit") or you wish to embed a smaller image into a larger one with a perfect blending etc. etc., then you have to apply a technique where the location of the individual chars is clearly defined by their horizontal and vertical positions inside the imagedata. My alternative script on card 2 - although very much slower for the purpose of just joining two images - demonstrates such a positional approach. My script for combining two images with a definable overlapping area also uses this positional approach. For those who do not wish to download my sample stack, but would like to have a quick look at the script, here is just the text of this script: ========================================== And for those who are just interested in the processed photos and the combined result, here are these images in a somewhat bigger format: and the resulting blended image: . While it appeared to me that the "National Park Berchtesgaden" and the "Grand Teton National Park" have so much in common, I have to point out that there are still some differences. Take - as an example - the following buildings in Berchtesgarden: You surely will not find such churches and farm houses in the Teton region.- ========================================= Other less visual differences that come to my mind: The best way to reach the Teton region is to fly to Jackson Hole and rent a car from Alamo to be able to tour the region. The best way to reach the National Park Berchtesgaden is to come by train and then use your "Kurkarte" (which you get when you have booked a room for your stay) for "free" traveling with public transport in the whole region. There are some trails in the Teton Range and Yellowstone Park where you are asked to leave your address and phone number for better identification of your remains - for the case that you would be approached by an unfriendly grizzly. In the Alps a single brown bear was spotted last year - possibly coming from the Balkan area - who was immediately "eliminated", which raised a heated discussion in the European press. While it feasable to communicate in an English-like language in the Teton region (at least when you listen closely), in Berchtesgaden you have to take into account that the so-called "free state" of Bavaria (still part of Germany) to which the area belongs, has certain privileges and peculiarities, among them an indigenous vernacular, a Bavarian dialect that is nowhere else taught and understood in Germany or elsewhere. This influences political proceedings in Germany to a substantial degree, because it makes it difficult to speak "with one voice" in international matters. Before you enter a restaurant in the Teton region, you have to make sure that the restaurant has a license for liquors. Otherwise you might end up digesting your steak with biologically correct water or, what is worse, Coca Cola. Mormon country is near. But there is hope: Even in Salt Lake City, not far from the Tabernacle, there is (or was?) a Mexican restaurant - favoured by students of Brigham Young University (Devin Asay will surely know) - that serves spicy dishes along with alcoholic beverages. In Berchtesgaden one of the favourite drinks is "Enzian", a liquor made form the roots of a blue or yellow flower with a distinctive earthen, but wonderful flavor. Best regards, Wilhelm Sanke From jmyepes at mac.com Sun May 10 18:54:06 2009 From: jmyepes at mac.com (Josep) Date: Sun, 10 May 2009 15:54:06 -0700 (PDT) Subject: Combobox filled from database Message-ID: <23474905.post@talk.nabble.com> Hi all, I need any help about how to set up some combobox that is filled from a database. The question is how to show value A but link to the database by the value B. I fill the combobox with: Many tabs to hide from the visible area. But when select the value from the database I don't see how to select the correct value. Maybe is a stupid question but I don't see how to do... Salut, Josep -- View this message in context: http://www.nabble.com/Combobox-filled-from-database-tp23474905p23474905.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Sun May 10 19:35:57 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 10 May 2009 16:35:57 -0700 Subject: Should this not be an error ? In-Reply-To: References: <4A05A1D5.8070105@tweedly.net> <1511622368796.20090509093349@ahsoftware.net> <4A061B84.3010802@tweedly.net> <1891651372437.20090509173713@ahsoftware.net> <871702610890.20090510075108@ahsoftware.net> Message-ID: <471734100625.20090510163557@ahsoftware.net> Bernard- Sunday, May 10, 2009, 8:57:15 AM, you wrote: > Mark, I must be misunderstanding something. 4727 is about junk > following the end of a grammatical statement. 7791 is about the > acceptance of ungrammatical statements. > I'd say that maybe 4727 should be subsumed under 7791, but certainly > not the other way round. You are correct. Mark Waddingham aggregated several bug reports into 4727, but there are other outstanding issues with the parser as well. -- -Mark Wieder mwieder at ahsoftware.net From jim at visitrieve.com Sun May 10 21:49:40 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Sun, 10 May 2009 15:49:40 -1000 Subject: Combobox filled from database In-Reply-To: <23474905.post@talk.nabble.com> References: <23474905.post@talk.nabble.com> Message-ID: <00b701c9d1da$c04ff0f0$40efd2d0$@com> Hi Joseph > I need any help about how to set up some combobox that is filled from a > database. The question is how to show value A but link to the database > by > the value B. I fill the combobox with: > > > > Many tabs to hide from the visible area. > > But when select the value from the database I don't see how to select > the > correct value. Maybe is a stupid question but I don't see how to do... I think you may be trying to use a combo box for a purpose for which it is not intended. ;-) Since I know you have ListMagic, maybe a quick and easy way to do what you need is set up a ListMagic widget into which you populate with two columns in the form of tab cr tab but make only the first column of the widget visible. I assume there will be more than one from which the person selects (otherwise why a combo box?). So when the person selects from the visible list of column a, you grab column b (which is invisible to the user but available to your code) of the returned line they selected. Then process any way you wish. Let me know if this is what you are trying to do. Aloha from Hawaii, Jim Bufalini From jmyepes at mac.com Mon May 11 02:51:58 2009 From: jmyepes at mac.com (Josep) Date: Sun, 10 May 2009 23:51:58 -0700 (PDT) Subject: Combobox filled from database In-Reply-To: <00b701c9d1da$c04ff0f0$40efd2d0$@com> References: <23474905.post@talk.nabble.com> <00b701c9d1da$c04ff0f0$40efd2d0$@com> Message-ID: <23477979.post@talk.nabble.com> Hi, I want that the list of options will be showed as combobox. The use if for example to select the currency by name, but in the database the currency is stored as one number, or select one category name but in the database is stored as number. I think that can store as custom property the codes for the "visible" names, but I don't know how to search inside and select the item... With ListMagic can be usefully but I want the combobox visualization. Salut, Josep Jim Bufalini-3 wrote: > > Hi Joseph > >> I need any help about how to set up some combobox that is filled from a >> database. The question is how to show value A but link to the database >> by >> the value B. I fill the combobox with: >> >> >> >> Many tabs to hide from the visible area. >> >> But when select the value from the database I don't see how to select >> the >> correct value. Maybe is a stupid question but I don't see how to do... > > I think you may be trying to use a combo box for a purpose for which it is > not intended. ;-) > > Since I know you have ListMagic, maybe a quick and easy way to do what you > need is set up a ListMagic widget into which you populate with two columns > in the form of > > tab cr tab > > but make only the first column of the widget visible. I assume there will > be > more than one from which the person selects (otherwise why a > combo > box?). > > So when the person selects from the visible list of column a, you grab > column b (which is invisible to the user but available to your code) of > the > returned line they selected. Then process any way you wish. > > Let me know if this is what you are trying to do. > > 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 > > -- View this message in context: http://www.nabble.com/Combobox-filled-from-database-tp23474905p23477979.html Sent from the Revolution - User mailing list archive at Nabble.com. From jmyepes at mac.com Mon May 11 03:16:48 2009 From: jmyepes at mac.com (Josep) Date: Mon, 11 May 2009 00:16:48 -0700 (PDT) Subject: Combobox filled from database In-Reply-To: <23477979.post@talk.nabble.com> References: <23474905.post@talk.nabble.com> <00b701c9d1da$c04ff0f0$40efd2d0$@com> <23477979.post@talk.nabble.com> Message-ID: <23478253.post@talk.nabble.com> Well, I found that with lineoffset ("Choice 1", button cb_manufacturer) I obtain the line where the value is. Great... but now I need to select this line... Salut, Josep -- View this message in context: http://www.nabble.com/Combobox-filled-from-database-tp23474905p23478253.html Sent from the Revolution - User mailing list archive at Nabble.com. From revdev at pdslabs.net Mon May 11 03:25:09 2009 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 11 May 2009 00:25:09 -0700 Subject: Repeat Process To Check Contents of File on HTTP Server? In-Reply-To: <42E150C6-F574-4D5F-A172-D9A60629D890@mac.com> References: <20090507170003.EC97E48AE58@mail.runrev.com> <42E150C6-F574-4D5F-A172-D9A60629D890@mac.com> Message-ID: <4A07D2D5.4000803@pdslabs.net> Hi John, I'm assuming the following things are true: * everyone is using Windows, or at least all the kids * all the computers have access to the same shared hard disk, whether it's a file server or one person's computer. * there's a 'GoodLinks' folder on the shared disk where your links to web pages go. * I actually understand what you want to accomplish (that's probably the most iffy part) On those assumptions, you could do this pretty simply. See if the following work flow would accomplish your goal. First, your actions (or "use case" to make it sound more technical): 1. The shared disk is mounted on your computer (and on all the client computers), and you have a shortcut to the shared 'GoodLinks' folder sitting on your desktop. 2. You find a web page you want to share. 3. You drag the web page's icon from the browser URL box onto the 'GoodLinks' shortcut. This creates a "myGreatLink.URL" file in the GoodLinks folder on the server/shared disk. Now the students' actions: 1. When their computers start, a 'Checker' app (see code below) is launched and runs quietly in the background. 2. Checker looks at the names of files in the 'GoodLinks' folder on the shared disk every x seconds (using the "send... in" command). When it finds a new file, it launches it. I think that's everything. Now the code: -- Checker stack script on openStack send "checkForLinks" to me in 5 secs end openStack on checkForLinks -- get all link names set the defaultFolder to "X:/GoodLinks" put the detailed files into tList -- pick the most recently created link filter tList with "*.URL,*" -- to remove non-links from list sort lines of tList numeric descending by item 4 of each put line 1 of tList into tMostRecentLink put item 4 of tMostRecentLink into tMostRecentUpdate -- open link in browser if link is new if tMostRecentUpdate > (the seconds - 5) then launch document (urlDecode(item 1 of tMostRecentLink)) end if -- schedule next execution send "checkForLinks" to me in 5 secs end checkForLinks A few points about this approach: * This way you don't need to store any previous values. * the code assumes that everyone's computer times are close to correct. If some student computer has their clock set to yesterday or tomorrow or last year, this code won't work as expected. * If you're using Macs in the classroom you'll probably need to change the "filter" command to look for a different file type (maybe .webloc), but otherwise it should work. * you notice there's no use of http or sockets - it's all done with file references. I hope I got the problem right! I think accurate problem definition is about 70% of the solution. Phil Davis John Patten wrote: > Thanks Phil and Bjoernke! > > That's what I needed..."send" command. Seems so obvious when you see > someone else explain it :-) > > Now, that I understand send, here's my dilemma. What I'm trying to > create is a little app that allows a teacher in the classroom to push > out a web site they have loaded in their "teacher" browser out to to > all 32 student laptops in their classroom. I thought this would be a > perfect implementation for revBrowser, a custom web browser. I > remember in the past struggling with Rev and opening sockets to try to > get two Rev stacks to talk to each other. I never had very much > success with that process so I thought I would try to keep it real > basic and utilize web sharing and writing out a text file with the > teacher's current web site address and time stamp to the local "web > sites" folder. The client (student) computers would check that text > file every 5 seconds, continually, and then if the time stamp is > different from the last web address and time stamp, load the new web > address in the client (student) browser. The key word in those run on > sentences is "continually." > > In the examples shared, the scripts handlers are opencard and > mousedown. They only run, essentially, one time through and after the > time stamp is different, the script would end. > > I started to mess with an idle handler, but that gets messy real > quick. Is what I'm describing possible? To have a script run > continually in the background over and over? Or, maybe I'm going at > this custom teacher to student web browser thing all wrong? Any ideas > greatly appreciated! > > Thank you! > > John Patten -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From wjm at wjm.org Mon May 11 06:19:50 2009 From: wjm at wjm.org (Bill Marriott) Date: Mon, 11 May 2009 06:19:50 -0400 Subject: Combobox filled from database References: <23474905.post@talk.nabble.com><00b701c9d1da$c04ff0f0$40efd2d0$@com><23477979.post@talk.nabble.com> <23478253.post@talk.nabble.com> Message-ID: The predefined options of a combo box = the text of btn "combo" The currently specified value of a combo box = the label of btn "combo" Please note that a combo box by definition allows the specification of values that are not pre-defined, and would seem to be a poor choice for an indexed value list, as someone could enter "poodle" or anything they wanted into the box. An Option menu does not have this problem. If you were to have an Option menu in which you can get and set according to an index n (1,2,3...) then: -- set the menu choice set the label of btn "option" to line n of the text of btn "option" -- get the menu choice put lineOffset ("Euro", btn "option") into n Hope that helps. Bill "Josep" wrote in message news:23478253.post at talk.nabble.com... > > Well, I found that with > > lineoffset ("Choice 1", button cb_manufacturer) > > I obtain the line where the value is. Great... but now I need to select > this > line... > > Salut, > Josep From wjm at wjm.org Mon May 11 06:25:41 2009 From: wjm at wjm.org (Bill Marriott) Date: Mon, 11 May 2009 06:25:41 -0400 Subject: On-Rev links References: <1izd1fq.vk7fgglx1bd8M%mcdomi@free.fr> <211F6FCE-E739-4F1C-8D50-321D91089986@mines-paristech.fr> Message-ID: Why was it less than satisfactory? Just a wild guess here that if you cannot send email, your ISP (Orange) is blocking port 25 and you should instead use 587. > I noted, though, that the mail hosting was less than satisfactory > -- but I am not sure whether it's on-rev's fault, or Orange's fault! > (I live in France, and Orange ex-France Telecom is my ISP) From jmyepes at mac.com Mon May 11 06:29:51 2009 From: jmyepes at mac.com (Josep) Date: Mon, 11 May 2009 03:29:51 -0700 (PDT) Subject: Combobox filled from database In-Reply-To: References: <23474905.post@talk.nabble.com> <00b701c9d1da$c04ff0f0$40efd2d0$@com> <23477979.post@talk.nabble.com> <23478253.post@talk.nabble.com> Message-ID: <23480818.post@talk.nabble.com> Yes, I better with a button option but how can limit the visible items when click? I need the combo presentation so in other cases exist many values... Salut, Josep -- View this message in context: http://www.nabble.com/Combobox-filled-from-database-tp23474905p23480818.html Sent from the Revolution - User mailing list archive at Nabble.com. From r.venzl-schubert at macbay.de Mon May 11 06:33:36 2009 From: r.venzl-schubert at macbay.de (Reinhold Venzl-Schubert) Date: Mon, 11 May 2009 12:33:36 +0200 Subject: sort cards dateTime by field "day" dont works Message-ID: <1AFEDECC-3401-4E7A-8647-722C44264A37@macbay.de> Hi! I have a stack "work" with 14 cards. Each has a field "day". I create a new card with the script: create cd put the short system date into fld "day" Then I want to sort the card by field "day" with the script sort cds of stack "work" dateTime by fld "day" But I failed. My cards are orderd in this way (content of field "day"): 11.05.09 07.05.09 21.01.09 22.01.09 ... 30.01.09 01.02.09 05.05.09 What is my mistake? Thanks Reinhold From wjm at wjm.org Mon May 11 06:33:52 2009 From: wjm at wjm.org (Bill Marriott) Date: Mon, 11 May 2009 06:33:52 -0400 Subject: Combobox filled from database References: <23474905.post@talk.nabble.com><00b701c9d1da$c04ff0f0$40efd2d0$@com><23477979.post@talk.nabble.com> <23478253.post@talk.nabble.com> <23480818.post@talk.nabble.com> Message-ID: Hi Josep, > Yes, I better with a button option but how can limit the visible items > when > click? I need the combo presentation so in other cases exist many > values... I am not sure I understand this issue? The syntax for working with a combo box and option menu are identical. The only difference between the two is than a combo box allows entry of arbitrary values. From klaus at major.on-rev.com Mon May 11 06:45:02 2009 From: klaus at major.on-rev.com (klaus at major.on-rev.com) Date: Mon, 11 May 2009 12:45:02 +0200 Subject: sort cards dateTime by field "day" dont works In-Reply-To: <1AFEDECC-3401-4E7A-8647-722C44264A37@macbay.de> References: <1AFEDECC-3401-4E7A-8647-722C44264A37@macbay.de> Message-ID: Hi Reinhold, > Hi! > > I have a stack "work" with 14 cards. Each has a field "day". > I create a new card with the script: > > create cd > put the short system date into fld "day" > > Then I want to sort the card by field "day" with the script > > sort cds of stack "work" dateTime by fld "day" > > But I failed. My cards are orderd in this way (content of field > "day"): > > 11.05.09 > 07.05.09 > 21.01.09 > 22.01.09 > ... > 30.01.09 > 01.02.09 > 05.05.09 > > What is my mistake? The engine is english, so you have to tell her that you are not :-D ... ## Force the engine to use your (local german) format for your "dateitem" sort: set the usesystemdate to true sort cds of stack "work" dateTime by fld "day" ... Should to the trick. > Thanks > Reinhold Best Klaus -- Klaus Major http://www.major.on-rev.com klaus at major.on-rev.com From janschenkel at yahoo.com Mon May 11 06:45:10 2009 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 11 May 2009 03:45:10 -0700 (PDT) Subject: sort cards dateTime by field "day" dont works In-Reply-To: <1AFEDECC-3401-4E7A-8647-722C44264A37@macbay.de> Message-ID: <734879.66904.qm@web65411.mail.ac4.yahoo.com> --- On Mon, 5/11/09, Reinhold Venzl-Schubert wrote: > From: Reinhold Venzl-Schubert > Subject: sort cards dateTime by field "day" dont works > To: use-revolution at lists.runrev.com > Date: Monday, May 11, 2009, 3:33 AM > Hi! > > I have a stack "work" with 14 cards. Each has a > field "day". > I create a new card with the script: > > create cd > put the short system date into fld "day" > > Then I want to sort the card by field "day" with > the script > > sort cds of stack "work" dateTime by fld > "day" > > But I failed. My cards are orderd in this way (content of > field "day"): > > 11.05.09 > 07.05.09 > 21.01.09 > 22.01.09 > ... > 30.01.09 > 01.02.09 > 05.05.09 > > What is my mistake? > > Thanks > Reinhold > Unfortunately, dateTime assumes en english date, rather than a system date as its sorting source. So, you could have two fields (one hidden, containing the english date; and one for display, containing the system date) and then sort on the hidden field. 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 luis at anachreon.co.uk Mon May 11 06:57:59 2009 From: luis at anachreon.co.uk (Luis) Date: Mon, 11 May 2009 11:57:59 +0100 Subject: App on Linux - really slow... any ideas why? In-Reply-To: <1071623551000.20090509095331@ahsoftware.net> References: <4A009682.8020107@gmail.com> <23407970.post@talk.nabble.com> <1071623551000.20090509095331@ahsoftware.net> Message-ID: Hiya, Erm... GLX2 on Linux?! Did I miss a post/update? Cheers, Luis. On 9 May 2009, at 17:53, Mark Wieder wrote: > Peter- > > Wednesday, May 6, 2009, 7:58:58 AM, you wrote: > >> Oh dear what a dispiriting thread. I haven't experienced all this >> stuff, > > Thanks to this thread I've gone back and loaded the latest rev 3.5 > build onto my Ubuntu installation and find that it's much improved, to > the point of having a usable IDE once again. Using scrollbars is still > somewhat of a hit-or-miss situation, but the whole IDE is much more > responsive, even when editing large scripts. RevOnline and GLX2 are > both working smoothly and so far all the plugins I had installed seem > to be working the way they should. Multiple desktops do *not* work, > and it would be nice if they did, but I'm sure this will get sorted > out in time. > > -- > -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 jmyepes at mac.com Mon May 11 06:56:26 2009 From: jmyepes at mac.com (Josep) Date: Mon, 11 May 2009 03:56:26 -0700 (PDT) Subject: Combobox filled from database In-Reply-To: References: <23474905.post@talk.nabble.com> <00b701c9d1da$c04ff0f0$40efd2d0$@com> <23477979.post@talk.nabble.com> <23478253.post@talk.nabble.com> <23480818.post@talk.nabble.com> Message-ID: <23481063.post@talk.nabble.com> Yes, the syntax is the same, but how combo or option show the values when click is different. In combo you have a scrollbar to move between the values and with option all the values are showed.. Bill Marriott wrote: > > Hi Josep, > >> Yes, I better with a button option but how can limit the visible items >> when >> click? I need the combo presentation so in other cases exist many >> values... > > I am not sure I understand this issue? The syntax for working with a combo > box and option menu are identical. The only difference between the two is > than a combo box allows entry of arbitrary values. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/Combobox-filled-from-database-tp23474905p23481063.html Sent from the Revolution - User mailing list archive at Nabble.com. From jim at visitrieve.com Mon May 11 07:08:05 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Mon, 11 May 2009 01:08:05 -1000 Subject: Combobox filled from database In-Reply-To: References: <23474905.post@talk.nabble.com><00b701c9d1da$c04ff0f0$40efd2d0$@com><23477979.post@talk.nabble.com> <23478253.post@talk.nabble.com> <23480818.post@talk.nabble.com> Message-ID: <00c701c9d228$c2aa3830$47fea890$@com> Hi Joseph, Put the into a combo box. Put the corresponding into a custom property of the combo box. Let's say you call this custom property "uValueB" Then on menuPick do something like: Get line (the menuHistory of me) of the "uValueB" of me Aloha from Hawaii Jim Bufalini > Hi Josep, > > > Yes, I better with a button option but how can limit the visible > items > > when > > click? I need the combo presentation so in other cases exist many > > values... > > I am not sure I understand this issue? The syntax for working with a > combo > box and option menu are identical. The only difference between the two > is > than a combo box allows entry of arbitrary values. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From r.venzl-schubert at macbay.de Mon May 11 07:14:16 2009 From: r.venzl-schubert at macbay.de (Reinhold Venzl-Schubert) Date: Mon, 11 May 2009 13:14:16 +0200 Subject: sort cards dateTime by field "day" dont works In-Reply-To: <20090511104516.7E3E448B8B7@mail.runrev.com> References: <20090511104516.7E3E448B8B7@mail.runrev.com> Message-ID: <530BEEC4-3491-4EF5-8C5C-5F127B0176E8@macbay.de> Hi Klaus, What a stupid mistake ;-) > The engine is english, so you have to tell her that you are not :-D > > ... > ## Force the engine to use your (local german) format for your > "dateitem" sort: > set the usesystemdate to true > sort cds of stack "work" dateTime by fld "day" > ... Thanks from old "Scheitelbein" Reinhold From jim at visitrieve.com Mon May 11 07:30:59 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Mon, 11 May 2009 01:30:59 -1000 Subject: Combobox filled from database In-Reply-To: <00c701c9d228$c2aa3830$47fea890$@com> References: <23474905.post@talk.nabble.com><00b701c9d1da$c04ff0f0$40efd2d0$@com><23477979.post@talk.nabble.com> <23478253.post@talk.nabble.com> <23480818.post@talk.nabble.com> <00c701c9d228$c2aa3830$47fea890$@com> Message-ID: <00c801c9d22b$f605c610$e2115230$@com> When I saw my own response come through I saw a syntax error. ;-) Leave out the quotes around uValueB. Also, use an option menu instead of a combo box. Aloha from Hawaii, Jim bufalini > Hi Joseph, > > Put the into a combo box. Put the corresponding > into a > custom property of the combo box. Let's say you call this custom > property > "uValueB" > > Then on menuPick do something like: > > Get line (the menuHistory of me) of the "uValueB" of me > > Aloha from Hawaii > > Jim Bufalini > > > > Hi Josep, > > > > > Yes, I better with a button option but how can limit the visible > > items > > > when > > > click? I need the combo presentation so in other cases exist many > > > values... > > > > I am not sure I understand this issue? The syntax for working with a > > combo > > box and option menu are identical. The only difference between the > two > > is > > than a combo box allows entry of arbitrary values. > > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From livfoss at mac.com Mon May 11 09:00:27 2009 From: livfoss at mac.com (Graham Samuel) Date: Mon, 11 May 2009 15:00:27 +0200 Subject: Just one more question for Richmond re globals In-Reply-To: <20090510170004.7AAE248A795@mail.runrev.com> References: <20090510170004.7AAE248A795@mail.runrev.com> Message-ID: I can't help flogging this moribund nag, because I did not understand Richmond's response to my question. Do you NEVER use globals, Richmond? I think that would make you pretty unusual, unless you are completely sold on custom props... Just curious really. Graham Richmond Mathewson recently wrote: >> BTW I can't quite follow Richmond when he says >> >>> Funny, I've never declared a variable in Runtime Revolution >> >> Do you never carry values from stack to stack or handler to handler >> via globals? Maybe you always use custom props. But AFAIK, when you >> write: >> >> put "Richmond" into myGlobal >> >> in a handler without a corresponding 'global' declaration, and then >> in >> another one in a different galaxy, far away, you write: >> >> put myGlobal >> >> you won't see "Richmond" in the message box, will you? From david_beck at ministerschedulerpro.com Mon May 11 09:47:15 2009 From: david_beck at ministerschedulerpro.com (David Beck) Date: Mon, 11 May 2009 06:47:15 -0700 Subject: Preferred Multi-Platform Development Method In-Reply-To: <20090509005106.F019F48B2F3@mail.runrev.com> References: <20090509005106.F019F48B2F3@mail.runrev.com> Message-ID: <4A082C63.2060804@ministerschedulerpro.com> Devin and Derrik, Thanks very much for sharing your expertise in this area! I'll likely write global install-time preferences on the Mac to a folder in: /Library/Application Support/ And use a forking method similar to what Richard and Derrik shared. David Beck Rotunda Software From DunbarX at aol.com Mon May 11 11:00:31 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Mon, 11 May 2009 11:00:31 EDT Subject: revOnLine upLoad problem Message-ID: It seems I can upload any stack I wish to, except one. I tried several others, they went in fine, and I deleted them. The one I want to upload, though, just will not go. I am led to random, already uploaded stacks by others, instead of the open input arena where one writes tags, instructions, etc. What I am missing? Craig Newman ************** Recession-proof vacation ideas. Find free things to do in the U.S. (http://travel.aol.com/travel-ideas/domestic/national-tourism-week?ncid=emlcntustrav00000002) From shaosean at wehostmacs.com Mon May 11 11:30:41 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Mon, 11 May 2009 11:30:41 -0400 Subject: interesting things hiding in rev Message-ID: <5C785B77-6A8E-42BD-BB34-7458622F31F6@wehostmacs.com> been busy snooping around rev and noticed some undocumented "features" these show up in the "commandNames": _internal rsadecrypt rsaencrypt rsasign rsaverify We know that "_internal" is currently used for script colourization in the new engine and can only be used in the IDE (does not work in compiled apps). It can also be used to create a UUID. _internal script colorize char 1 to (the number of chars of fld "script") of fld "script" _internal call "generate_uuid"; put the result How to get the RSA ones to work? these show up in the "propertyNames" _hscrollbarid _ideoverride _unplacedgroupids _vscrollbarid implementation lzwkey messagemessages revavailablehandlers revavailablevariables revlicenseinfo revlicenselimits revlicensewatermark revmessageboxredirect revruntimebehaviour revunplacedgroupids watchedvariables I am assuming "lzwkey" is for registering the extra license for gif. "revLicenseInfo" returns a list of information about your license (your name, company, type of licensee, version of rev, expiry date and the number of seats?) "revLicenseWatermark" returns binary data and I cannot be bothered to see what it really is "_ideoverride" looks like a new window mode(?) set the _ideoverride of to TRUE; toplevel this will allow you to have non-editable toplevel windows.. the mode of returns 2 set it to FALSE and then toplevel the stack to return it to mode 1 (editable) Anyone have any info about the rest? From richmondmathewson at gmail.com Mon May 11 11:53:17 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 11 May 2009 18:53:17 +0300 Subject: Just one more question for Richmond re globals In-Reply-To: References: <20090510170004.7AAE248A795@mail.runrev.com> Message-ID: <4A0849ED.9010604@gmail.com> Ahh. Now that is not as quite as simple as it looks. I never use globals for the simple reason that my programs are for teaching English as a Foreign Language and, therefore, not highly mathematical. Most of my programs consist of dragging small images around, typing text into fields, playing 1-10 word dialogue sound files and so on. Graham Samuel wrote: > I can't help flogging this moribund nag, because I did not understand > Richmond's response to my question. Do you NEVER use globals, > Richmond? I think that would make you pretty unusual, unless you are > completely sold on custom props... > > Just curious really. > > Graham > > Richmond Mathewson recently wrote: > >>> BTW I can't quite follow Richmond when he says >>> >>>> Funny, I've never declared a variable in Runtime Revolution >>> >>> Do you never carry values from stack to stack or handler to handler >>> via globals? Maybe you always use custom props. But AFAIK, when you >>> write: >>> >>> put "Richmond" into myGlobal >>> >>> in a handler without a corresponding 'global' declaration, and then in >>> another one in a different galaxy, far away, you write: >>> >>> put myGlobal >>> >>> you won't see "Richmond" in the message box, will you? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From benr at cogapp.com Mon May 11 12:05:28 2009 From: benr at cogapp.com (Ben Rubinstein) Date: Mon, 11 May 2009 17:05:28 +0100 Subject: accessing https URLS with basic authentification In-Reply-To: <4A0428BE.24409.787ADB9B@p.williams.alkazar.net> References: <4A037237.2050900@cogapp.com>, <4A0428BE.24409.787ADB9B@p.williams.alkazar.net> Message-ID: <4A084CC8.9040906@cogapp.com> On 8/5/09 12:42, Paul Williams wrote: > Don't forget only Rev Enterprise supports https. On 8/5/09 12:24, Bernard Devlin wrote: > Basic Auth should still work with https. > > I think the problem might be to do with the verification of the SSL > certificate. Try running this before you make your https URL call: > > libUrlSetSSLVerification false Thanks both for your replies. I am using Enterprise, and can retrieve https from a site not requiring basic auth fine. I've tried Bernard's suggestion of libUrlSetSSLVerification (btw I notice that there's no documentation for this command - Bernard can I ask where you found out about it?) - however the setting of this seems to make no difference. As noted, curl is fine (as is Firefox). Normally in this sort of situation, I can watch the network traffic to pin down the difference between the exchange that works and the (Rev) exchange that doesn't - but in this case it's a load of encrypted stuff! All I can see is the pattern of blocks, as below - but as I don't know anything about the https protocol, I don't understand its significance, if any. Does it indicate that Rev has missed out a step? Or that Rev has in somehow encoded the authorisation in a way that the server doesn't like, hence the final block in the conversation with Rev is an 'unauthorised, please go away', while the conversation with curl starts to deliver the actual data? Rev curl --- ---- client: 0 bytes client: 0 bytes server: 0 bytes server: 0 bytes client: 0 bytes client: 0 bytes client: 118 bytes client: 102 bytes server: 0 bytes server: 0 bytes server: 1368 bytes server: 1368 bytes server: 1368 bytes server: 1368 bytes client: 0 bytes client: 0 bytes server: 1368 bytes server: 1368 bytes client: 0 bytes server: 935 bytes server: 935 bytes client: 0 bytes client: 0 bytes client: 198 bytes client: 198 bytes server: 59 bytes server: 59 bytes client: 0 bytes client: 0 bytes client: 218 bytes client: 277 bytes server: 0 bytes client: 277 bytes server: 554 bytes server: 0 bytes client: 0 bytes server: 1368 bytes server: 1368 bytes server: 10 bytes client: 0 bytes client: 0 bytes client: 37 bytes client: 0 bytes server: 0 bytes server: 37 bytes client: 0 bytes server: 0 bytes client: 0 bytes server: 0 bytes client: 0 bytes I also no longer seem to be able to step into libURL code in the debugger - is this something we lost in the 3.0 rollout? Any further suggestions gratefully received... Ben >> On Fri, May 8, 2009 at 12:43 AM, Ben Rubinstein >> wrote: >>> I can load an "https" URL fine. >>> >>> I can load an "http" URL protected using 'basic' authentification, >> using >>> either the "http://user:password at www.somewhere.com/" format, or by >> using the >>> HTTPHeaders property to explicitly add an "Authorization: Basic >> xxx" header. >>> But I can't load an "https" URL that's protected using basic >>> authentification, using either of the methods described above. >>> >>> Is this a known problem? Can anyone else either reproduce this >> problem, or >>> alternatively confirm that they _can_ load such a URL? >>> >>> (NB1 this is on Mac OS X, Rev 3.0 and 3.5.) >>> >>> (NB2 I can retrieve the URL fine using "curl" in the terminal - >> and in fact >>> for now I'm working around the problem by using shell() to invoke >> curl. But >>> I really want to handle URLs of this form in the same way I'm >> handling other >>> http URLs in my app, which give me more control.) >>> >>> Any insights gratefully received, >>> >>> TIA >>> >>> Ben From bobs at twft.com Mon May 11 12:11:04 2009 From: bobs at twft.com (Bob Sneidar) Date: Mon, 11 May 2009 09:11:04 -0700 Subject: Math issue, isn't it? In-Reply-To: <8A13A8FD-04E8-4C44-9F71-53BE0183E596@rcn.com> References: <4A052F74.5030402@yahoo.it> <8A13A8FD-04E8-4C44-9F71-53BE0183E596@rcn.com> Message-ID: I think we are mincing words here. It's a simple matter of changing the way the math function works. It should be doing math on the displayed value not the stored value, because that is what a human being who doesn't know about processor math errors would expect. And by the way I think it's a bug in the way the processor does math myself. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On May 9, 2009, at 7:54 AM, Colin Holgate wrote: > > On May 9, 2009, at 3:23 AM, Giovanni Cannizzaro wrote: > >> Using the value function (i've tried put >> value(283.67-150.00-133.67)>0 instead of >> put (283.67-150.00-133.67)>0 as suggested by Scott Rossi) >> temporarily solve my >> problems but I think it's a Revolution bug so I make my bug-report >> 'caus i'm a jolly good fellow!!! > > It's not a Revolution bug, it's a system or computer math processor > limitation. The exact same problem shows in Flash and Director for > example. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From wjm at wjm.org Mon May 11 12:19:11 2009 From: wjm at wjm.org (Bill Marriott) Date: Mon, 11 May 2009 12:19:11 -0400 Subject: Combobox filled from database References: <23474905.post@talk.nabble.com><00b701c9d1da$c04ff0f0$40efd2d0$@com><23477979.post@talk.nabble.com> <23478253.post@talk.nabble.com> <23480818.post@talk.nabble.com> <23481063.post@talk.nabble.com> Message-ID: Only on Mac. Windows shows a scrollbar for both.... So if you use the built-in controls you'll have to choose between the untidy screen presentation of a long list, or the potential for someone to enter arbitrary data into the box that is not part of the index. Either way the two script lines I supplied will work. You might consider building a custom control using parent scripts, which could solve both issues of the appearance and the indexing. (You could even implement keyboard support.) "Josep" wrote in message news:23481063.post at talk.nabble.com... > > Yes, the syntax is the same, but how combo or option show the values when > click is different. In combo you have a scrollbar to move between the > values > and with option all the values are showed.. > > > > Bill Marriott wrote: >> >> Hi Josep, >> >>> Yes, I better with a button option but how can limit the visible items >>> when >>> click? I need the combo presentation so in other cases exist many >>> values... >> >> I am not sure I understand this issue? The syntax for working with a >> combo >> box and option menu are identical. The only difference between the two is >> than a combo box allows entry of arbitrary values. From mwieder at ahsoftware.net Mon May 11 12:26:31 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 11 May 2009 09:26:31 -0700 Subject: interesting things hiding in rev In-Reply-To: <5C785B77-6A8E-42BD-BB34-7458622F31F6@wehostmacs.com> References: <5C785B77-6A8E-42BD-BB34-7458622F31F6@wehostmacs.com> Message-ID: <1201794735375.20090511092631@ahsoftware.net> S- Monday, May 11, 2009, 8:30:41 AM, you wrote: > watchedvariables > Anyone have any info about the rest? The watchedvariables is a list of variable contexts (one per line) that you would like to trigger breakpoints. The format is context,handler,variable,value Probably not useful unless you're writing your own variable watcher / debugger combination. -- -Mark Wieder mwieder at ahsoftware.net From coiin at rcn.com Mon May 11 12:36:56 2009 From: coiin at rcn.com (Colin Holgate) Date: Mon, 11 May 2009 12:36:56 -0400 Subject: Math issue, isn't it? In-Reply-To: References: <4A052F74.5030402@yahoo.it> <8A13A8FD-04E8-4C44-9F71-53BE0183E596@rcn.com> Message-ID: <2C187227-DC12-4E98-B997-CDC35DB42A09@rcn.com> On May 11, 2009, at 12:11 PM, Bob Sneidar wrote: > I think we are mincing words here. It's a simple matter of changing > the way the math function works. I understand that it's an oddity that the computer doesn't quite see how simple the numbers are, but that happens for humans too. Take a simple case of expressing 2/3 as a floating point decimal number, you can't actually type out the exact value, even with unlimited monkeys to do the typing for you. That's a case where decimal has its limitations. Computers have different limitation cases, because they're working in binary. That said, having a mathPrecision equivalent to numberFormat would solve the issue too, any tiny amounts below the mathPrecision value would be rounded up or down. From briany at qldlearning.com Mon May 11 12:45:48 2009 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 11 May 2009 09:45:48 -0700 Subject: Math issue, isn't it? In-Reply-To: <2C187227-DC12-4E98-B997-CDC35DB42A09@rcn.com> References: <4A052F74.5030402@yahoo.it> <8A13A8FD-04E8-4C44-9F71-53BE0183E596@rcn.com> <2C187227-DC12-4E98-B997-CDC35DB42A09@rcn.com> Message-ID: Agree on the mathPrecision value. While it is true that floating point values are an issue in any programming language, Rev should NOT be failing on simple comparisons with two decimal places. Computers are limited in floating point math, but they are perfectly capable of handling 2 decimals places!! An alternative would be to delve into significant digits, but I'm afraid that would cause more confusion than anything... > > On May 11, 2009, at 12:11 PM, Bob Sneidar wrote: > >> I think we are mincing words here. It's a simple matter of changing >> the way the math function works. > > I understand that it's an oddity that the computer doesn't quite see > how simple the numbers are, but that happens for humans too. Take a > simple case of expressing 2/3 as a floating point decimal number, > you can't actually type out the exact value, even with unlimited > monkeys to do the typing for you. That's a case where decimal has > its limitations. Computers have different limitation cases, because > they're working in binary. > > That said, having a mathPrecision equivalent to numberFormat would > solve the issue too, any tiny amounts below the mathPrecision value > would be rounded up or down. From bdrunrev at gmail.com Mon May 11 12:47:06 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 11 May 2009 17:47:06 +0100 Subject: accessing https URLS with basic authentification In-Reply-To: <4A084CC8.9040906@cogapp.com> References: <4A037237.2050900@cogapp.com> <4A0428BE.24409.787ADB9B@p.williams.alkazar.net> <4A084CC8.9040906@cogapp.com> Message-ID: http://www.lacscentre.com/liburl/liburldoc.html#libUrlSetSSLVerification For some strange reason there is additional libURL documentation that is not included with Rev. Bernard On Mon, May 11, 2009 at 5:05 PM, Ben Rubinstein wrote: > I've tried Bernard's suggestion of libUrlSetSSLVerification (btw I notice > that there's no documentation for this command - Bernard can I ask where you > found out about it?) - however the setting of this seems to make no > difference. From david.bovill at gmail.com Mon May 11 12:47:33 2009 From: david.bovill at gmail.com (David Bovill) Date: Mon, 11 May 2009 17:47:33 +0100 Subject: accessing https URLS with basic authentification In-Reply-To: <4A084CC8.9040906@cogapp.com> References: <4A037237.2050900@cogapp.com> <4A0428BE.24409.787ADB9B@p.williams.alkazar.net> <4A084CC8.9040906@cogapp.com> Message-ID: 2009/5/11 Ben Rubinstein > > Any insights gratefully received, >>> >>> None I can think of Ben - had a similar problem trying to debug an https connection. The only thing I can think of is changing HTTP Agent in the headers - it is the sort of thing that https sites do block. AFAIK - https conections are completely wrap http connectionas within an ssl layer? If so - then basic auth should not be affected in any way at all. Let us know if you figure out a way to debug HTTPS connections :) From bobs at twft.com Mon May 11 13:21:45 2009 From: bobs at twft.com (Bob Sneidar) Date: Mon, 11 May 2009 10:21:45 -0700 Subject: Math issue, isn't it? In-Reply-To: References: <4A052F74.5030402@yahoo.it> <8A13A8FD-04E8-4C44-9F71-53BE0183E596@rcn.com> <2C187227-DC12-4E98-B997-CDC35DB42A09@rcn.com> Message-ID: <5431B36A-E0BB-4E1F-ADC7-F423A7258488@twft.com> I was thinking of a new property called MathPrecision or something. Set the mathprecision to -2 would round to 2 decimal places for the result of any math equasion. Set the mathprecision to 2 would round to the nearest 100. The default could be -9 in which case the prior error in floating point math that started this thread would not have occurred. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On May 11, 2009, at 9:45 AM, Brian Yennie wrote: > Agree on the mathPrecision value. While it is true that floating point > values are an issue in any programming language, Rev should NOT be > failing on simple comparisons with two decimal places. Computers are > limited in floating point math, but they are perfectly capable of > handling 2 decimals places!! > > An alternative would be to delve into significant digits, but I'm > afraid that would cause more confusion than anything... > >> >> On May 11, 2009, at 12:11 PM, Bob Sneidar wrote: >> >>> I think we are mincing words here. It's a simple matter of changing >>> the way the math function works. >> >> I understand that it's an oddity that the computer doesn't quite see >> how simple the numbers are, but that happens for humans too. Take a >> simple case of expressing 2/3 as a floating point decimal number, >> you can't actually type out the exact value, even with unlimited >> monkeys to do the typing for you. That's a case where decimal has >> its limitations. Computers have different limitation cases, because >> they're working in binary. >> >> That said, having a mathPrecision equivalent to numberFormat would >> solve the issue too, any tiny amounts below the mathPrecision value >> would be rounded up or 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 jacque at hyperactivesw.com Mon May 11 14:38:24 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 11 May 2009 13:38:24 -0500 Subject: Quoted or unquoted literals Message-ID: <4A0870A0.3060108@hyperactivesw.com> I was curious about the time difference between quoted and unquoted literals, which we were discussing in another thread. Though our tests seemed to show there is no significant difference, conceptually it didn't make any sense to me. So I asked one of the engineers at RR about it and got some interesting info. As Jerry J suggested, it's true that any unquoted literal is resolved at compile time, and after that it acts just as a quoted literal would. A temporary variable is created and given the value of its own name if you don't supply a different value, so myFld becomes a variable named "myFld" with a value of "myFld". A compile usually happens every time the script is run for the first time during a session. In real world applications, the difference in speed would be unnoticeable because the resolution only has to happen once. These would both take about the same amount of time after the first usage: get fld testFld get fld "testFld" Our original tests, which ran a repeat loop inside a single handler, would only have to resolve the field name once, and after that all references to the field behaved as though they were a quoted field name -- which in essence, they were. But there is a case where the engine recompiles the script on every access, and that is when using the "send" command. The engine re-parses the script on each call before it handles the message. So a better test would be to run a repeat loop that sends a command to another object. We set up a test to do that: # Btn 1 script: on mouseUp put the milliseconds into start repeat 100000 send "test" to btn 2 end repeat put the milliseconds - start into tTest1 put the milliseconds into start repeat 100000 send "test" to btn 3 end repeat put the milliseconds - start into tTest2 put tTest1 && tTest2 end mouseUp # Btn 2 script (quoted field name): on test get the text of fld "testFld" end test # Btn 3 script (unquoted field name): on test get the text of fld testFld end test The difference in speed is apparent using this benchmark. The engine has to reparse the field name on every call. On the RR machine the difference was about 20ms. On my slower machine, it was 54ms. In real-world situations, there probably isn't much difference between quoted and unquoted literals, unless you are sending thousands of requests to other objects. If your scripts are only using an unquoted literal locally, it will be resolved the first time the engine sees it and behave just like a quoted literal for the remainder of that particular script. I repeated the test to see if including "the" when refering to properties made a difference. In buttons 2 and 3: get rect of fld "testFld" get the rect of fld "testFld" In this test only the word "the" varies. The difference in speed when omitting "the" from property references is much smaller than when dealing with unquoted literals, but it still exists. In real-world usage it probably doesn't matter much. Geek trivia. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From devin_asay at byu.edu Mon May 11 14:46:07 2009 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 11 May 2009 12:46:07 -0600 Subject: Quoted or unquoted literals In-Reply-To: <4A0870A0.3060108@hyperactivesw.com> References: <4A0870A0.3060108@hyperactivesw.com> Message-ID: <07F10FD5-AD12-471A-99CD-2D2DFD676362@byu.edu> On May 11, 2009, at 12:38 PM, J. Landman Gay wrote: > I was curious about the time difference between quoted and unquoted > literals, which we were discussing in another thread. Though our tests > seemed to show there is no significant difference, conceptually it > didn't make any sense to me. So I asked one of the engineers at RR > about > it and got some interesting info. > In this test only the word "the" varies. The difference in speed when > omitting "the" from property references is much smaller than when > dealing with unquoted literals, but it still exists. In real-world > usage > it probably doesn't matter much. > > Geek trivia. :) And I am totally geeking out! Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From jacque at hyperactivesw.com Mon May 11 14:49:41 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 11 May 2009 13:49:41 -0500 Subject: Combobox filled from database In-Reply-To: <23481063.post@talk.nabble.com> References: <23474905.post@talk.nabble.com> <00b701c9d1da$c04ff0f0$40efd2d0$@com> <23477979.post@talk.nabble.com> <23478253.post@talk.nabble.com> <23480818.post@talk.nabble.com> <23481063.post@talk.nabble.com> Message-ID: <4A087345.30809@hyperactivesw.com> Josep wrote: > Yes, the syntax is the same, but how combo or option show the values when > click is different. In combo you have a scrollbar to move between the values > and with option all the values are showed.. I agree with Bill that a combo box isn't the best choice for this, but you could do it like this: Create a custom property of the button with the real list you want to use. Separate the two values on each line with a comma (or a tab if you prefer), like this: Color,pink Shape,square Visible,true In the button's menu, put only the first item of each line: Color Shape Visible When the user chooses an item, it will be returned to the menupick handler as the first parameter. Then you search the custom property to get the second value: on menuPick which put the cValues of me into values put lineoffset(which, values) into lineNum put item 2 of line lineNum of values into userChoice end menuPick The variable "userChoice" now contains the second item in the chosen line. You will have to determine what to do when the user types an entry into the combobox that does not exist in your property list. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Mon May 11 15:17:40 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 11 May 2009 22:17:40 +0300 Subject: [OT] GIMP paint studio Message-ID: <4A0879D4.70308@gmail.com> Those of you who cannot afford Photoshop, have 'funny feelings' about proprietary software, don't "do" either Macintosh or Windows, can afford Photoshop but would rather spend the money on Runtime Revolution :) (err, why would you spend an awful lot of money on something when there is something just as good available for FREE? Much more sensible to spend it on something that is extremely good and is not available for FREE . . . Runtime Revolution) might well give this a look: http://webupd8.blogspot.com/2009/05/gim-paint-studio-gimp-optimized-for.html It presupposes you already have GIMP installed: http://www.gimp.org/ It is "poly-platform"! From janschenkel at yahoo.com Mon May 11 15:40:14 2009 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 11 May 2009 12:40:14 -0700 (PDT) Subject: Math issue, isn't it? In-Reply-To: <5431B36A-E0BB-4E1F-ADC7-F423A7258488@twft.com> Message-ID: <360197.71771.qm@web65410.mail.ac4.yahoo.com> --- On Mon, 5/11/09, Bob Sneidar wrote: > From: Bob Sneidar > Subject: Re: Math issue, isn't it? > To: "How to use Revolution" > Date: Monday, May 11, 2009, 10:21 AM > I was thinking of a new property called MathPrecision or > something. Set the mathprecision to -2 would round to 2 > decimal places for the result of any math equasion. Set the > mathprecision to 2 would round to the nearest 100. The > default could be -9 in which case the prior error in > floating point math that started this thread would not have > occurred. > > Bob Sneidar > IT Manager > Logos Management > Calvary Chapel CM > HyperCard used 'byte arithmetic' for its calculations - where numbers are stored as strings and each digit occupies a byte. While you still couldn't accurately represent a number with an infinite number of decimals (like 1/3 = 0.3333333...) it allowed for high precision mathematics. But this came at the cost of performance: CPU architectures come with multiple integer and floating point arithmetic units, where numebrs are represented in a 'condensed' binary form of 4 to 16 bytes. Some numbers simply can't be represented accurately in binary form and will soon result in small differences. In Java, you have to choose between integer/double or BigInteger/BigDecimal numbers for your arithmetics. The former are just as fast as their native counterparts, but the latter are an order of magnitude slower but provide excellent precision - so that's why they're uaually employed for business apps inspite of the added complexity. Scott Raney - the original developer of Metacard, the underlying engine for Revolution - opted for the better speed of CPU-native numbers, instead of the byte arithmetic algorithm as implemented in HyperCard. For most purposes, floating-point calculations using doubles provides more than sufficient precision; but there will always be corner cases. I'm intrigued by the idea of a 'mathPrecision' local property, but I'm afraid it would be a serious undertaking to modify the engine - especially multiplying numbers that have a high number of digits could suffer from additional compounded rounding errors. And to finish off: there are so many ways to handle rounding itself that it isn't even funny, unless you're an engineer; here's a link to a webpage with more information about rounding than you might ever want to know: 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 coiin at rcn.com Mon May 11 16:09:07 2009 From: coiin at rcn.com (Colin Holgate) Date: Mon, 11 May 2009 16:09:07 -0400 Subject: Math issue, isn't it? In-Reply-To: <360197.71771.qm@web65410.mail.ac4.yahoo.com> References: <360197.71771.qm@web65410.mail.ac4.yahoo.com> Message-ID: On May 11, 2009, at 3:40 PM, Jan Schenkel wrote: > Scott Raney - the original developer of Metacard, the underlying > engine for Revolution - opted for the better speed of CPU-native > numbers, instead of the byte arithmetic algorithm as implemented in > HyperCard While that is interesting, HyperCard also has the same math issue. So does Javascript (I know that's not like Java, but you might think that its math was on the same lines): on mouseUp set the numberformat to "#.0000000000000000" answer 283.67-150.00-133.67 end mouseUp shows an answer of .0000000000000284. This: