From josh at dvcreators.net Thu Nov 1 03:12:32 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 1 Nov 2007 00:12:32 -0700 Subject: Convert from URL to File Path String? In-Reply-To: <854E125C-99F1-4C55-BBBD-6ED6B3217B6C@looktowindward.com> References: <47285080.7000501@academica.com> <938B8D42-9B01-4A69-81C2-63BE410977D6@economy-x-talk.com> <4728A5F3.7060508@academica.com> <20071031132903067463.bf808b66@sonsothunder.com> <854E125C-99F1-4C55-BBBD-6ED6B3217B6C@looktowindward.com> Message-ID: <618CE20F-B0B1-443D-ACE3-5B2C048A9A15@dvcreators.net> if "file://localhost/" will always be the part you want to get rid of, if your variable is called "tLoc", you can do this: replace "file://localhost/" with empty in tLoc --- If you need to create local folders to match your remote path, see: http://revcoders.org/create-folder/#comment-31 On Oct 31, 2007, at 4:38 PM, Dave wrote: > Hi, > > I have a URL of the form: > > file://localhost/Users/Dave/Folder/Folder/filex.xxx > > and I want to convert it to: > > /Users/Dave/Folder/Folder/filex.xxx > > Is there a function to do this, or do I just have to remove "file;// > localhost" from the front of the string? > > Thanks a lot > All the Best > Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From shaosean at wehostmacs.com Thu Nov 1 03:22:50 2007 From: shaosean at wehostmacs.com (Shao Sean) Date: Thu, 1 Nov 2007 03:22:50 -0400 Subject: [ANN] Revolution IDE Fixes - Back online Message-ID: What I did was go through the bug database and fixed some bugs and have made the modified IDE components available for download.. The patched files are for Rev 2.8.0 or 2.8.1 ONLY! I've noticed a few of the bugs have been fixed in 2.9.0-dp-1 hopefully more are to follow in newer builds.. If there is an interest to have older versions of Rev patched or if you have any bugs that you'd like to see patched please let me know.. < support AT shaosean DOT tk > Download site: http://shaosean.tk/revide.php Bugs fixed: 4146, 4217, 4318, 4319, 4429, 4430, 4431, 4432, 4434, 4435, 4436, 4437, 4440, 4441, 4442, 4733, 4760, 4765, 4864 Rev has fixed the following bugs in 2.9.0-dp-1 4318, 4437, 4441, 4442, 4722, 4765 From palcibiades-first at yahoo.co.uk Thu Nov 1 03:40:37 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 1 Nov 2007 07:40:37 +0000 Subject: "proof-of-concept" Revolution Online Open Dictionary at revcoders.org Message-ID: <200711010740.37469.palcibiades-first@yahoo.co.uk> Ken puts it exactly, and far far better than I managed to. Sorry. A trivial example from my early days with Rev. I had a scrolling field into which a user pastes lines of text by hitting enter. At a certain point the text gets too long for the window, and he/she has to scroll down. I realize this is a chore, and want the window to scroll with the entries so the last one is always visible. But how? Imagine you're a real novice with Rev. How do you set about finding out? You just start looking things up. You look up 'scroll', 'autoscroll', 'find', 'select', 'put'....and so on. It is like trying to find the French for 'dog' from a French-English dictionary. If only you knew it was 'chien' you could look it up.... Now I don't personally mind this way of learning, or the fact that you learn a lot of stuff which is irrelevant to your immediate purpose on the way. But a lot of people just cannot hack it, and these are the ones you'll lose if you don't have a more immediate way of getting to purposes. Yes, what Ken describes is a good way of doing it. Peter From josh at dvcreators.net Thu Nov 1 04:09:46 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 1 Nov 2007 01:09:46 -0700 Subject: "proof-of-concept" Revolution Online Open Dictionary at revcoders.org In-Reply-To: <200711010740.37469.palcibiades-first@yahoo.co.uk> References: <200711010740.37469.palcibiades-first@yahoo.co.uk> Message-ID: <8678400F-B2D6-4A5A-914C-D61B7C5E9235@dvcreators.net> Good example! I posted a code snippet to do this here: http://revcoders.org/vScroll/#comment-32 Of course, presently, you would have to know to look under "vscroll"... so I am working on a much better search page. For someone new to Revolution, the best thing is not reading the term dictionary, but a step-by-step tutorial that introduces the student to Revolution and the foundations of RAD, then guides them through the creation of a complete project, hands-on. Richard's idea of building a word processor is a good one, it covers many commonly used functions. The open dictionary is not for learning Revolution, it is for reference on specific terms for someone who has been through the basic tutorials and just needs examples of how to accomplish common tasks. On Nov 1, 2007, at 12:40 AM, Peter Alcibiades wrote: > Ken puts it exactly, and far far better than I managed to. Sorry. > > A trivial example from my early days with Rev. I had a scrolling > field into > which a user pastes lines of text by hitting enter. At a certain > point the > text gets too long for the window, and he/she has to scroll down. > I realize > this is a chore, and want the window to scroll with the entries so > the last > one is always visible. But how? > > Imagine you're a real novice with Rev. How do you set about > finding out? You > just start looking things up. You look > up 'scroll', 'autoscroll', 'find', 'select', 'put'....and so on. > > It is like trying to find the French for 'dog' from a French-English > dictionary. If only you knew it was 'chien' you could look it up.... > > Now I don't personally mind this way of learning, or the fact that > you learn a > lot of stuff which is irrelevant to your immediate purpose on the > way. But a > lot of people just cannot hack it, and these are the ones you'll > lose if you > don't have a more immediate way of getting to purposes. > > Yes, what Ken describes is a good way of doing it. > > 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 janschenkel at yahoo.com Thu Nov 1 05:03:54 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 1 Nov 2007 02:03:54 -0700 (PDT) Subject: Problem with revExecuteSQL - More In-Reply-To: <9D7A6A86-05D4-4779-9B55-B06724DA8408@looktowindward.com> Message-ID: <253088.82914.qm@web60515.mail.yahoo.com> --- Dave wrote: > Hi, > > I am also getting an [unrecognized token: "") "] > error, in this case > this is the string I pass in: > > [snip] > > Thanks a lot > All the Best > Dave > Hi Dave, Looking at your query, I'd say the following string is the culprit: "Finally (7"Choice Mix)" Whether you use an apostrophe or a quote to delineate strings, you must escape them if they occur inside the string. How to escape them depends a bit on the database. Some will want you to 'double' the character to escape it. Others want a backslash or even a tilde in front of the offending character. Hope this helped, 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) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From janschenkel at yahoo.com Thu Nov 1 05:07:56 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 1 Nov 2007 02:07:56 -0700 (PDT) Subject: Problem with revExecuteSQL In-Reply-To: Message-ID: <64963.85030.qm@web60511.mail.yahoo.com> --- Dave wrote: > Hi, > > I am getting an invalid token error from > revExecuteSQL, when I look > at the data being inserted, it contains a ":" > character following by > a number (a date field in the form DD:MM:YY. How do > I insert this data? > > Here is the code: > > put "INSERT INTO " & theTableName & " (" & > myTempKeyList & ") " & \ > " VALUES (" & myValueList & ") " into > mySQLCode > > revExecuteSQL theDatabaseID,mySQLCode > put the result into myResult > > if myResult <> empty then > if myResult is not an integer then > answer error "Error in UtilDBInsertRecord, > revExecuteSQL:" > && myResult > breakpoint > end if > end if > > > Thanks a lot > All the Best > Dave > Hi Dave et al, While the above approach will work fine as long as you control the data that goes into this query string, you should always be careful about so-called "sql injection". Here's a link to a lovely cartoon that shows what can happen if you blindly execute a query that was cobbled together from user input: Enjoy, 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) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From dave at looktowindward.com Thu Nov 1 05:17:10 2007 From: dave at looktowindward.com (Dave) Date: Thu, 1 Nov 2007 09:17:10 +0000 Subject: Problem with revExecuteSQL - More In-Reply-To: <253088.82914.qm@web60515.mail.yahoo.com> References: <253088.82914.qm@web60515.mail.yahoo.com> Message-ID: <3B75E204-56E1-45AF-B1FE-E833E087947F@looktowindward.com> Hi, I am using SQLIte, I can't seem to find anything that says what the escape sequence character is. Does anyone know if this is possible with SQLite? Also, is this the same problem that I am getting with the ":" characters in the date field? If so, is the solution the same? Thanks a lot All the Best Dave On 1 Nov 2007, at 09:03, Jan Schenkel wrote: > --- Dave wrote: >> Hi, >> >> I am also getting an [unrecognized token: "") "] >> error, in this case >> this is the string I pass in: >> >> [snip] >> >> Thanks a lot >> All the Best >> Dave >> > > Hi Dave, > > Looking at your query, I'd say the following string is > the culprit: > "Finally (7"Choice Mix)" > Whether you use an apostrophe or a quote to delineate > strings, you must escape them if they occur inside the > string. > > How to escape them depends a bit on the database. Some > will want you to 'double' the character to escape it. > Others want a backslash or even a tilde in front of > the offending character. > > Hope this helped, > > 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) > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From janschenkel at yahoo.com Thu Nov 1 05:22:25 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 1 Nov 2007 02:22:25 -0700 (PDT) Subject: We are not alone - Latest Java and Leopard In-Reply-To: <006d01c81b17$ace90810$6501a8c0@GATEWAY> Message-ID: <873895.51799.qm@web60517.mail.yahoo.com> --- Lynn Fredricks wrote: > > http://www.regdeveloper.co.uk/2007/10/29/no_java_for_leopard/ > > I guess Sun is having their issues too... > > Best regards, > > Lynn Fredricks > The Java situation is quite different from the Revolution situation. Sun has no influence on Java on the MacOS X platform, as Apple insists on complete control of the Mac experience. Apple is late porting Java 6 to MacOS X. They did put a lot of work into updating Java 5 for MacOS X Leopard and making it easier for developers to make Java applications that look native. One can't help but wonder if Apple is just not interested in developers that don't develop exclusively for Mac using Cocoa and XCode. And to stay completely silent is not in Apple's best interest. Then again, they're not ctaering to the enterprise market. Oh well, I was going to wait until 10.5.1 anyway before installing it, so I'll continue to use the Java6 Developer Preview for a little while longer. 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) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From janschenkel at yahoo.com Thu Nov 1 05:27:45 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 1 Nov 2007 02:27:45 -0700 (PDT) Subject: Problem with revExecuteSQL - More In-Reply-To: <3B75E204-56E1-45AF-B1FE-E833E087947F@looktowindward.com> Message-ID: <506206.20776.qm@web60514.mail.yahoo.com> --- Dave wrote: > Hi, > > I am using SQLIte, I can't seem to find anything > that says what the > escape sequence character is. Does anyone know if > this is possible > with SQLite? > > Also, is this the same problem that I am getting > with the ":" > characters in the date field? If so, is the solution > the same? > > Thanks a lot > All the Best > Dave > Hi Dave, I took a quick glance at the sqlite.org website: where they advise you to use apostrophe instead of quote, and that you should double the apostrophe when it occurs within the string. As for the colon, try using apostrophe first instead of quotes. SQLite doesn't have real date-time fields so they're stored as strings anyway. Hope this helped, 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) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From m.schonewille at economy-x-talk.com Thu Nov 1 05:29:55 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 1 Nov 2007 10:29:55 +0100 Subject: Runrev handling of imported bitmaps In-Reply-To: <13521479.post@talk.nabble.com> References: <13521479.post@talk.nabble.com> Message-ID: Hi Alejandro, I'd make a list of all the properties you want to transfer from one image to the next and use a repeat loop like this: put "rect,ink,blendlevel" into myList repeat for each item myProp in myList repeat with x = 2 to (number of images) do "set the" && myProp && "of img" && x && \ "to the" && myProp && "of img 1" end repeat end repeat If the images are really equal, you should not use image objects. Make one image and many buttons. Set the icon of the buttons to the id number of the image. This way, you can re-use the same image many times without using much more memory. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 1-nov-2007, om 1:31 heeft capellan het volgende geschreven: > > Hi all, > > Recently i was creating a simple stack image library utility > to reuse images multiple times in a stack. > > The result is unworthy to post in this mail list, but > it opened many questions: > > How could i recreate the changes in dimensions, ink-effects > rotations, flipping, etc for all the images used in a card, > taken from a library stack? > > For example, Xara X1 has a ?zero-memory footprint? > approach in which each new image copy requires > no additional memory or file space. Every transformation > to any image is redraw at runtime, so Xara X1 just keep one > original image and in every instance where the image appears, > it is transformed starting from the single untouched original image. > One single image reused multiple times with any kind of > transformations applied to them. > > For example, i will like to apply many different ink effects > to instances of a single image and make a composition > with these parts. > > Is this somehow possible in Runrev? > > Notice, i know that this is possible with multiple > copies of the images, but i look for economy of size > of the stack. > > Thanks in advance! > > alejandro > > > -- > View this message in context: http://www.nabble.com/Runrev-handling- > of-imported-bitmaps-tf4728814.html#a13521479 > 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 runrev at academica.com Thu Nov 1 05:44:38 2007 From: runrev at academica.com (Sakari Ruoho) Date: Thu, 01 Nov 2007 11:44:38 +0200 Subject: Grouping Inside Groups In-Reply-To: <20071031132903067463.bf808b66@sonsothunder.com> References: <47285080.7000501@academica.com> <938B8D42-9B01-4A69-81C2-63BE410977D6@economy-x-talk.com> <4728A5F3.7060508@academica.com> <20071031132903067463.bf808b66@sonsothunder.com> Message-ID: <4729A006.8080300@academica.com> Hi Ken, I got it working this way as I mentioned in my first post(it might have been confusing since it did not show HTML in it). I was wondering why Revolution behaves this way and why these kind of features are not documented. Sakari Ken Ray wrote: > On Wed, 31 Oct 2007 17:57:39 +0200, Sakari Ruoho wrote: > > >> Cheers for your answer Mark, >> >> You could do it like this... create a stack with a button and image >> called 'test'. Now heres the button's script: >> >> on mouseUp >> group image "test" >> end mouseUp >> All u need to do is to press the button two times. First time it >> creates the group, but next time u will get the error. >> >> Start editing does not work in this case, since it opens the group >> visually(lock screen does not seem to work on here) and that is >> undesirable behavior for the software I'm working on. >> > > Try this: > > Make three buttons on a card. Select them all and group them. Then > execute this code: > > on mouseUp > select empty -- make sure nothing else is selected > set the selected of btn 1 to true > set the selected of btn 2 to true > group > select empty -- remove the rectangles > end mouseup > > This should leave you with an external group of all three buttons, but > an internal group of just two of them with the third not part of the > internal group. > > You can wrap these in lock/unlock screen and change the tool to browse > if you like to make sure it's not seen by the user. > > > 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 eric.chatonet at sosmartsoftware.com Thu Nov 1 05:55:26 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 1 Nov 2007 10:55:26 +0100 Subject: Place to stash a text file in Vista thats shared by all users? In-Reply-To: <8C9EA009469DA99-DF8-54AE@Webmail-mg10.sysops.aol.com> References: <8C9EA009469DA99-DF8-54AE@Webmail-mg10.sysops.aol.com> Message-ID: Hello, Le 31 oct. 07 ? 19:11, rgould8 at aol.com a ?crit : > Can anyone tell me if there's a directory somewhere in Windows > Vista that is accessible by all users of the PC?? I need to find a > place to stash a preference file for my app that can be accessed, > no matter which user is logged in. specialFoderPath(35) (C:/ProgramData) seems the directory you need. But don't use Program Files: any file modified in this directory would be virtualized by Vista :-( Check http://www.sonsothunder.com/devres/revolution/tips/env007.htm, a great article from Ken about virtualization. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From dam-pro.girard at laposte.net Thu Nov 1 05:56:49 2007 From: dam-pro.girard at laposte.net (GIRARD Damien) Date: Thu, 01 Nov 2007 10:56:49 +0100 Subject: About Applications under MacOS X. Message-ID: <4729A2E1.6040701@laposte.net> Hi all, Under MacOS X, an application is a package, and it seen as file, under Windows, we see this package as folder. When I copy a package, may I use revCopyFile or RevCopyFolder ? (Under MacOS X). My Mac is down and I can't try now. Thanks, Damien From eric.chatonet at sosmartsoftware.com Thu Nov 1 05:58:23 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 1 Nov 2007 10:58:23 +0100 Subject: About Applications under MacOS X. In-Reply-To: <4729A2E1.6040701@laposte.net> References: <4729A2E1.6040701@laposte.net> Message-ID: <8127CEE7-2A3F-43A3-BD6A-5FCABF483361@sosmartsoftware.com> Bonjour Damien, RevCopyFolder :-) Le 1 nov. 07 ? 10:56, GIRARD Damien a ?crit : > Hi all, > > Under MacOS X, an application is a package, and it seen as file, > under Windows, we see this package as folder. > > When I copy a package, may I use revCopyFile or RevCopyFolder ? > (Under MacOS X). > > My Mac is down and I can't try now. > > Thanks, Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From dam-pro.girard at laposte.net Thu Nov 1 06:08:17 2007 From: dam-pro.girard at laposte.net (GIRARD Damien) Date: Thu, 01 Nov 2007 11:08:17 +0100 Subject: About Applications under MacOS X. In-Reply-To: <8127CEE7-2A3F-43A3-BD6A-5FCABF483361@sosmartsoftware.com> References: <4729A2E1.6040701@laposte.net> <8127CEE7-2A3F-43A3-BD6A-5FCABF483361@sosmartsoftware.com> Message-ID: <4729A591.8060303@laposte.net> Bonjour Eric, Thanks, now I can finish my MacOS X installer. Eric Chatonet a ?crit : > Bonjour Damien, > > RevCopyFolder :-) > > Le 1 nov. 07 ? 10:56, GIRARD Damien a ?crit : > >> Hi all, >> >> Under MacOS X, an application is a package, and it seen as file, >> under Windows, we see this package as folder. >> >> When I copy a package, may I use revCopyFile or RevCopyFolder ? >> (Under MacOS X). >> >> My Mac is down and I can't try now. >> >> Thanks, > > > Best regards from Paris, > Eric Chatonet. > ---------------------------------------------------------------- > Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ > Email: eric.chatonet at sosmartsoftware.com/ > ---------------------------------------------------------------- > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From dave at looktowindward.com Thu Nov 1 06:10:57 2007 From: dave at looktowindward.com (Dave) Date: Thu, 1 Nov 2007 10:10:57 +0000 Subject: Problem with revExecuteSQL - More In-Reply-To: <506206.20776.qm@web60514.mail.yahoo.com> References: <506206.20776.qm@web60514.mail.yahoo.com> Message-ID: Hi Jan, Thanks a lot, yes, a great help, Where exactly did you see the description of how to do this in the SQLite docs? I had a quick look again but still couldn't find it! Thanks again All the Best Dave On 1 Nov 2007, at 09:27, Jan Schenkel wrote: > --- Dave wrote: >> Hi, >> >> I am using SQLIte, I can't seem to find anything >> that says what the >> escape sequence character is. Does anyone know if >> this is possible >> with SQLite? >> >> Also, is this the same problem that I am getting >> with the ":" >> characters in the date field? If so, is the solution >> the same? >> >> Thanks a lot >> All the Best >> Dave >> > > Hi Dave, > > I took a quick glance at the sqlite.org website: > > where they advise you to use apostrophe instead of > quote, and that you should double the apostrophe when > it occurs within the string. > > As for the colon, try using apostrophe first instead > of quotes. SQLite doesn't have real date-time fields > so they're stored as strings anyway. > > Hope this helped, > > 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) > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dave at looktowindward.com Thu Nov 1 06:22:03 2007 From: dave at looktowindward.com (Dave) Date: Thu, 1 Nov 2007 10:22:03 +0000 Subject: Geometry in latest version of RunRev In-Reply-To: <47293ACA.5020609@fourthworld.com> References: <47293ACA.5020609@fourthworld.com> Message-ID: <4E3B3D57-3A57-48F4-83B4-C34A25AAF8A0@looktowindward.com> On 1 Nov 2007, at 02:32, Richard Gaskin wrote: > > Sounds a lot like the GM to me. It handles a lot of basic > situations well. Yes, but at the drop of a hat it goes Beswick! > > >> I hate using hard object names in scripts and in fact I never do >> except in a demo or test app. > > There are three main ways to refer to objects with Rev: ordinal > number, name, or ID. > > The ordinal number is usually the most error-prone, as it changes > whenever you add or remove objects. > > The ID is unique and usually immutable, but has zero mnemonic value > so it makes scripts very difficult to read. > > Unlike an ID, the name of an object is up to the developer so it > can have strong mnemonic value. And since just about every Rev > object which can display its name also provides a label property, > you can change the visible label of the object without ever needing > to change the name. > > So I tend to use names much like IDs, but more memorable. I can > change the label at any time without ever needing to change the name. > > Which of these three ways to refer to objects do you use? None of them! I set a "listen" (Based on a MessageID and MessageKind) in the object that wants to get the message, then I just send to this MessageID and MessageKind. The object receives the message, and, since it's running in the object's script, can use "me". That way I can copy objects around, dupe them, whatever and other parts of the stack(s) don't break! All the Best Dave From janschenkel at yahoo.com Thu Nov 1 06:24:03 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 1 Nov 2007 03:24:03 -0700 (PDT) Subject: Problem with revExecuteSQL - More In-Reply-To: Message-ID: <369660.48866.qm@web60522.mail.yahoo.com> --- Dave wrote: > Hi Jan, > > Thanks a lot, yes, a great help, Where exactly did > you see the > description of how to do this in the SQLite docs? I > had a quick look > again but still couldn't find it! > > Thanks again > All the Best > Dave > Hi Dave, And we're back to the chicken-and-egg problem of documentation - you have to know what you're looking for, in order to find it in an efficient manner :-) In this case, I did a google search for 'sqlite escaping characters'. That brought as first hit: And there I did a find for 'escape'. Hope this helped, 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) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From len-morgan at crcom.net Thu Nov 1 06:40:52 2007 From: len-morgan at crcom.net (Len Morgan) Date: Thu, 01 Nov 2007 05:40:52 -0500 Subject: Problem with revExecuteSQL - More In-Reply-To: References: <506206.20776.qm@web60514.mail.yahoo.com> Message-ID: <4729AD34.5030907@crcom.net> I've been using various versions of SQL (Postgres, mySQL, Oracle, etc) for several years now and the only character I've ever been able to use to delimit strings is the apostrophe. As Jan recommended, try that first and you'll probably see most of your problems go away. BTW: having a " inside of ' ' is just fine. No escaping required. When you are actually executing the revExecuteSQL command, if you don't get back an error from rev, the problem is most likely in the SQL so you should always include that. len morgan Dave wrote: > Hi Jan, > > Thanks a lot, yes, a great help, Where exactly did you see the > description of how to do this in the SQLite docs? I had a quick look > again but still couldn't find it! > > Thanks again > All the Best > Dave > > On 1 Nov 2007, at 09:27, Jan Schenkel wrote: > >> --- Dave wrote: >>> Hi, >>> >>> I am using SQLIte, I can't seem to find anything >>> that says what the >>> escape sequence character is. Does anyone know if >>> this is possible >>> with SQLite? >>> >>> Also, is this the same problem that I am getting >>> with the ":" >>> characters in the date field? If so, is the solution >>> the same? >>> >>> Thanks a lot >>> All the Best >>> Dave >>> >> >> Hi Dave, >> >> I took a quick glance at the sqlite.org website: >> >> where they advise you to use apostrophe instead of >> quote, and that you should double the apostrophe when >> it occurs within the string. >> >> As for the colon, try using apostrophe first instead >> of quotes. SQLite doesn't have real date-time fields >> so they're stored as strings anyway. >> >> Hope this helped, >> >> 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) >> >> __________________________________________________ >> Do You Yahoo!? >> Tired of spam? Yahoo! Mail has the best spam protection around >> http://mail.yahoo.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From eric.chatonet at sosmartsoftware.com Thu Nov 1 07:27:19 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 1 Nov 2007 12:27:19 +0100 Subject: About Applications under MacOS X. In-Reply-To: <4729A591.8060303@laposte.net> References: <4729A2E1.6040701@laposte.net> <8127CEE7-2A3F-43A3-BD6A-5FCABF483361@sosmartsoftware.com> <4729A591.8060303@laposte.net> Message-ID: <7F0B779E-D41C-490C-B17B-7A52666CF2F6@sosmartsoftware.com> Hi again, Just some more information: Create a new folder in Mac OSX and name it Myapp.app: It becomes a bundle and you can see that the system changes the icon folder for the default app icon. But it is still a folder :-) A double click will attempt to launch MyApp.app/Contents/MacOS/MyApp Contextual menu will contain an item 'Show bundle contents' that actually opens the folder. The system uses this way of handling things to simplify user's life but the contextual menu always allows you to watch all files. Le 1 nov. 07 ? 11:08, GIRARD Damien a ?crit : > Bonjour Eric, > > Thanks, now I can finish my MacOS X installer. > > Eric Chatonet a ?crit : >> Bonjour Damien, >> >> RevCopyFolder :-) >> >> Le 1 nov. 07 ? 10:56, GIRARD Damien a ?crit : >> >>> Hi all, >>> >>> Under MacOS X, an application is a package, and it seen as file, >>> under Windows, we see this package as folder. >>> >>> When I copy a package, may I use revCopyFile or RevCopyFolder ? >>> (Under MacOS X). >>> >>> My Mac is down and I can't try now. >>> >>> Thanks, Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From lists at mangomultimedia.com Thu Nov 1 08:14:48 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 1 Nov 2007 08:14:48 -0400 Subject: We are not alone - Latest Java and Leopard In-Reply-To: <873895.51799.qm@web60517.mail.yahoo.com> References: <873895.51799.qm@web60517.mail.yahoo.com> Message-ID: <298B144A-6B2D-43EC-A19B-0048E5FE7526@mangomultimedia.com> On Nov 1, 2007, at 5:22 AM, Jan Schenkel wrote: > One can't help but wonder if Apple is just not > interested in developers that don't develop > exclusively for Mac using Cocoa and XCode. And to stay > completely silent is not in Apple's best interest. > Then again, they're not ctaering to the enterprise > market. Some interesting comments on Daring Fireball concerning this - -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From dave at looktowindward.com Thu Nov 1 08:45:34 2007 From: dave at looktowindward.com (David Burgun) Date: Thu, 1 Nov 2007 12:45:34 +0000 Subject: More problems with revExecuteSQL Message-ID: <4D6A0101-15BE-4691-9803-7AB1FA8FE2AB@looktowindward.com> Hi, After finding out that the data I was sending with revExecuteSQL needed to be escaped if it contains double-quotes or colon etc. I decided it would be better to put the data into an array and use the parameter substitution feature. When I run it now, I get the following error: unrecognized token: "13T01" And I can't figure out could be wrong! Please see of the function where this occurs followed by the contents of the variables. Anyone got any ideas or what could be wrong? Not sure what to do now! I need to be able to write arbitrary UTF8 string to a SQLite database. Doesn't seem a lot to ask! lol All the Best Dave -------------------------------------------------------------- -- -- UtilDBInsertRecord -- --------------------------------------------------------------- function UtilDBInsertRecord theDatabaseID,theTableName,theRecordKeyArray local mySQLCode local myKeyList local myKeyName local myKeyText local myResult local myTempKeyList local myValueList local myParameterList local myParameterArray local myParameterNumber put the keys of theRecordKeyArray into myKeyList if myKeyList <> empty then sort lines of myKeyList put replaceText(myKeyList,cr,",") into myTempKeyList --delete char -1 of myTempKeyList put empty into myParameterArray put empty into myParameterList put empty into myValueList put 1 into myParameterNumber repeat for each line myKeyName in myKeyList put ":" & myParameterNumber & "," after myParameterList put theRecordKeyArray[myKeyName] into myParameterArray [myParameterNumber] add 1 to myParameterNumber end repeat delete char -1 of myParameterList put "INSERT INTO " & theTableName & " (" & myTempKeyList & ") " & \ " VALUES (" & myParameterList & ") " into mySQLCode revExecuteSQL theDatabaseID,mySQLCode,"myParameterArray" put the result into myResult if myResult <> empty then if myResult is not an integer then answer error "Error in UtilDBInsertRecord, revExecuteSQL:" && myResult breakpoint end if end if end if return myResult end UtilDBInsertRecord ------------------------------------------------------------------------ -------------------------------- Variable dump when the error occurs: mySQLCode: INSERT INTO MusicBase (AlbumName,AlbumRating,AlbumRatingKind,ArtistName,BitRate,BPM,DateAdded, Duration,FileLocation,FileSizeBytes,Genre,ModDate,PlayedCount,PlayedDate ,SampleRate,TrackName,TrackRating,TrackRatingKind,TrackSkippedCount,Trac kSkippedDate,UnplayedFlag) VALUES (: 1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,:14,:15,:16,:17,:18,:19,:20,:2 1) myResult unrecognized token: "13T01" myParameterList : 1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,:14,:15,:16,:17,:18,:19,:20,:2 1 myParameterArray: [1] The Best Of Bob Dylan I [2] 0 [3] computed [4] Bob Dylan [5] 192 [6] 0 [7] 2007-10-29T10:25:04Z [8] 168463 [9] file://localhost/Users/Dave/Music/iTunes/iTunes Music/Bob Dylan/ The Best Of Bob Dylan I/01 Blowin' In The Wind.mp3 [10] 4045324 [11] Rock [12] 2003-07-13T01:58:33Z [13] 0 [14] missing value [15] 44100 [16] Blowin' In The Wind [17] 0 [18] computed [19] 0 [20] missing value [21] ***NULL*** From len-morgan at crcom.net Thu Nov 1 08:53:43 2007 From: len-morgan at crcom.net (Len Morgan) Date: Thu, 01 Nov 2007 07:53:43 -0500 Subject: More problems with revExecuteSQL In-Reply-To: <4D6A0101-15BE-4691-9803-7AB1FA8FE2AB@looktowindward.com> References: <4D6A0101-15BE-4691-9803-7AB1FA8FE2AB@looktowindward.com> Message-ID: <4729CC57.4040103@crcom.net> I believe that even with variable substitution, you have to put ' around any non-numeric parameter. Your SQL statement doesn't have that. The 13T01 is the time. It appears that the expression for the date is getting evaluated as a math function. I think your template SQL statement should be something like: ... VALUES (':1',':2',... Hope that helps len morgan David Burgun wrote: > Hi, > > After finding out that the data I was sending with revExecuteSQL > needed to be escaped if it contains double-quotes or colon etc. I > decided it would be better to put the data into an array and use the > parameter substitution feature. When I run it now, I get the > following error: unrecognized token: "13T01" > > And I can't figure out could be wrong! Please see of the function > where this occurs followed by the contents of the variables. > > Anyone got any ideas or what could be wrong? Not sure what to do now! > I need to be able to write arbitrary UTF8 string to a SQLite database. > Doesn't seem a lot to ask! lol > > All the Best > Dave > > -------------------------------------------------------------- > -- > -- UtilDBInsertRecord > -- > --------------------------------------------------------------- > function UtilDBInsertRecord theDatabaseID,theTableName,theRecordKeyArray > local mySQLCode > local myKeyList > local myKeyName > local myKeyText > local myResult > local myTempKeyList > local myValueList > local myParameterList > local myParameterArray > local myParameterNumber > > put the keys of theRecordKeyArray into myKeyList > if myKeyList <> empty then > sort lines of myKeyList > put replaceText(myKeyList,cr,",") into myTempKeyList > --delete char -1 of myTempKeyList > > put empty into myParameterArray > put empty into myParameterList > put empty into myValueList > put 1 into myParameterNumber > repeat for each line myKeyName in myKeyList > put ":" & myParameterNumber & "," after myParameterList > put theRecordKeyArray[myKeyName] into > myParameterArray[myParameterNumber] > add 1 to myParameterNumber > end repeat > > delete char -1 of myParameterList > put "INSERT INTO " & theTableName & " (" & myTempKeyList & ") " & \ > " VALUES (" & myParameterList & ") " into mySQLCode > > revExecuteSQL theDatabaseID,mySQLCode,"myParameterArray" > put the result into myResult > > if myResult <> empty then > if myResult is not an integer then > answer error "Error in UtilDBInsertRecord, revExecuteSQL:" && > myResult > breakpoint > end if > end if > end if > > return myResult > end UtilDBInsertRecord > > -------------------------------------------------------------------------------------------------------- > > Variable dump when the error occurs: > > > mySQLCode: > > INSERT INTO MusicBase > (AlbumName,AlbumRating,AlbumRatingKind,ArtistName,BitRate,BPM,DateAdded,Duration,FileLocation,FileSizeBytes,Genre,ModDate,PlayedCount,PlayedDate,SampleRate,TrackName,TrackRating,TrackRatingKind,TrackSkippedCount,TrackSkippedDate,UnplayedFlag) > VALUES > (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,:14,:15,:16,:17,:18,:19,:20,:21) > > > > myResult unrecognized token: "13T01" > > myParameterList > :1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,:14,:15,:16,:17,:18,:19,:20,:21 > > > myParameterArray: > > [1] The Best Of Bob Dylan I > [2] 0 > [3] computed > [4] Bob Dylan > [5] 192 > [6] 0 > [7] 2007-10-29T10:25:04Z > [8] 168463 > [9] file://localhost/Users/Dave/Music/iTunes/iTunes Music/Bob > Dylan/The Best Of Bob Dylan I/01 Blowin' In The Wind.mp3 > [10] 4045324 > [11] Rock > [12] 2003-07-13T01:58:33Z > [13] 0 > [14] missing value > [15] 44100 > [16] Blowin' In The Wind > [17] 0 > [18] computed > [19] 0 > [20] missing value > [21] ***NULL*** > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From dave at looktowindward.com Thu Nov 1 09:03:27 2007 From: dave at looktowindward.com (David Burgun) Date: Thu, 1 Nov 2007 13:03:27 +0000 Subject: More problems with revExecuteSQL In-Reply-To: <4729CC57.4040103@crcom.net> References: <4D6A0101-15BE-4691-9803-7AB1FA8FE2AB@looktowindward.com> <4729CC57.4040103@crcom.net> Message-ID: <20D7B6D0-3E8D-4851-8A3B-F476C9774EE3@looktowindward.com> Hi, > I believe that even with variable substitution, you have to put ' > around any non-numeric parameter. Do you mean the data in the array? The reason I moved from just sending the data in the SQL Statement directly was to get around the problem that there may be quotes in the data to be inserted. > Your SQL statement doesn't have that. The 13T01 is the time. It > appears that the expression for the date is getting evaluated as a > math function. But why? And how do I stop it! There may well be single quotes in the data. The data can be any UTF8 character. > I think your template SQL statement should be something like: > > ... VALUES (':1',':2',... Not according to the documentation: revExecuteSQL myID,"insert into emp() values(:1,:2,:1)",\ "valueX","valueY" The content of the variable valueX is substituted for the ":1" in the SQLQuery (in both places where ":1" appears), and the content of valueY is substituted for ":2". If you specify an arrayName rather than a list of ordinary variables, the revExecuteSQL command substitutes the corresponding element of the array for each of the placeholders in the query: revExecuteSQL myID,"insert into emp() values(:1,:2,:1)","myArray" The content of the element myArray[1] is substituted for the ":1" in the SQLQuery (in both places where ":1" appears), and the content of myArray[2] is substituted for ":2". Anyone have any idea how to do this simple thing? All the Best Dave On 1 Nov 2007, at 12:53, Len Morgan wrote: > I believe that even with variable substitution, you have to put ' > around any non-numeric parameter. Your SQL statement doesn't have > that. The 13T01 is the time. It appears that the expression for > the date is getting evaluated as a math function. > > I think your template SQL statement should be something like: > > ... VALUES (':1',':2',... > > Hope that helps > > len morgan > > > David Burgun wrote: >> Hi, >> >> After finding out that the data I was sending with revExecuteSQL >> needed to be escaped if it contains double-quotes or colon etc. I >> decided it would be better to put the data into an array and use >> the parameter substitution feature. When I run it now, I get the >> following error: unrecognized token: "13T01" >> >> And I can't figure out could be wrong! Please see of the function >> where this occurs followed by the contents of the variables. >> >> Anyone got any ideas or what could be wrong? Not sure what to do >> now! I need to be able to write arbitrary UTF8 string to a SQLite >> database. Doesn't seem a lot to ask! lol >> >> All the Best >> Dave >> >> -------------------------------------------------------------- >> -- >> -- UtilDBInsertRecord >> -- >> --------------------------------------------------------------- >> function UtilDBInsertRecord >> theDatabaseID,theTableName,theRecordKeyArray >> local mySQLCode >> local myKeyList >> local myKeyName >> local myKeyText >> local myResult >> local myTempKeyList >> local myValueList >> local myParameterList >> local myParameterArray >> local myParameterNumber >> >> put the keys of theRecordKeyArray into myKeyList >> if myKeyList <> empty then >> sort lines of myKeyList >> put replaceText(myKeyList,cr,",") into myTempKeyList >> --delete char -1 of myTempKeyList >> >> put empty into myParameterArray >> put empty into myParameterList >> put empty into myValueList >> put 1 into myParameterNumber >> repeat for each line myKeyName in myKeyList >> put ":" & myParameterNumber & "," after myParameterList >> put theRecordKeyArray[myKeyName] into myParameterArray >> [myParameterNumber] >> add 1 to myParameterNumber >> end repeat >> >> delete char -1 of myParameterList >> put "INSERT INTO " & theTableName & " (" & myTempKeyList & ") >> " & \ >> " VALUES (" & myParameterList & ") " into mySQLCode >> >> revExecuteSQL theDatabaseID,mySQLCode,"myParameterArray" >> put the result into myResult >> >> if myResult <> empty then >> if myResult is not an integer then >> answer error "Error in UtilDBInsertRecord, revExecuteSQL:" >> && myResult >> breakpoint >> end if >> end if >> end if >> >> return myResult >> end UtilDBInsertRecord >> >> --------------------------------------------------------------------- >> ----------------------------------- >> Variable dump when the error occurs: >> >> >> mySQLCode: >> >> INSERT INTO MusicBase >> (AlbumName,AlbumRating,AlbumRatingKind,ArtistName,BitRate,BPM,DateAdd >> ed,Duration,FileLocation,FileSizeBytes,Genre,ModDate,PlayedCount,Play >> edDate,SampleRate,TrackName,TrackRating,TrackRatingKind,TrackSkippedC >> ount,TrackSkippedDate,UnplayedFlag) VALUES (: >> 1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,:14,:15,:16,:17,:18,:19,:20 >> ,:21) >> >> >> myResult unrecognized token: "13T01" >> >> myParameterList : >> 1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,:14,:15,:16,:17,:18,:19,:20 >> ,:21 >> >> myParameterArray: >> >> [1] The Best Of Bob Dylan I >> [2] 0 >> [3] computed >> [4] Bob Dylan >> [5] 192 >> [6] 0 >> [7] 2007-10-29T10:25:04Z >> [8] 168463 >> [9] file://localhost/Users/Dave/Music/iTunes/iTunes Music/Bob >> Dylan/The Best Of Bob Dylan I/01 Blowin' In The Wind.mp3 >> [10] 4045324 >> [11] Rock >> [12] 2003-07-13T01:58:33Z >> [13] 0 >> [14] missing value >> [15] 44100 >> [16] Blowin' In The Wind >> [17] 0 >> [18] computed >> [19] 0 >> [20] missing value >> [21] ***NULL*** >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 len-morgan at crcom.net Thu Nov 1 09:25:49 2007 From: len-morgan at crcom.net (Len Morgan) Date: Thu, 01 Nov 2007 08:25:49 -0500 Subject: More problems with revExecuteSQL In-Reply-To: <20D7B6D0-3E8D-4851-8A3B-F476C9774EE3@looktowindward.com> References: <4D6A0101-15BE-4691-9803-7AB1FA8FE2AB@looktowindward.com> <4729CC57.4040103@crcom.net> <20D7B6D0-3E8D-4851-8A3B-F476C9774EE3@looktowindward.com> Message-ID: <4729D3DD.1070004@crcom.net> David Burgun wrote: > Hi, > >> I believe that even with variable substitution, you have to put ' >> around any non-numeric parameter. > > Do you mean the data in the array? The reason I moved from just > sending the data in the SQL Statement directly was to get around the > problem that there may be quotes in the data to be inserted. > >> Your SQL statement doesn't have that. The 13T01 is the time. It >> appears that the expression for the date is getting evaluated as a >> math function. > > But why? And how do I stop it! There may well be single quotes in the > data. The data can be any UTF8 character. > You might try creating a dbQuote function that specifically looks for the "no-no" characters and replaces them with something else. In my code, I replace ' with ` when I'm writing and do the reverse before I use the contents. Yes, I have sacrificed one possible character (the `) but in all the code I've written over the last 10 years, that's never been a problem. You can also use the "legal" escape sequence for your database. For example, I could have replaced every ' with '' (two apostrophes in a row) and accomplished the same thing. > Not according to the documentation: > > revExecuteSQL myID,"insert into emp() values(:1,:2,:1)",\ > "valueX","valueY" > > The content of the variable valueX is substituted for the ":1" in the > SQLQuery (in both places where ":1" appears), and the content of > valueY is substituted for ":2". > > If you specify an arrayName rather than a list of ordinary variables, > the revExecuteSQL command substitutes the corresponding element of the > array for each of the placeholders in the query: > > revExecuteSQL myID,"insert into emp() values(:1,:2,:1)","myArray" > > The content of the element myArray[1] is substituted for the ":1" in > the SQLQuery (in both places where ":1" appears), and the content of > myArray[2] is substituted for ":2". > > I've never actually used the variable substitution technique (and therefore not read the documentation either). From what you (the documentation) wrote, it appears that it is possible to do what you want the way you want to do it. Might I suggest that try a simple example and try to insert 1 string value into a table using (:1) and see if it throws and error. If it doesn't, try storing 'test' in the variable (i.e., you add the single quotes to the variable) and try again and see what happens. Unfortunately, you can't see the generated sql that is being sent to sqlLite. Is there anyway to tell sqlLite to echo it's queries to the console? That way you would be able to see what Revolution is sending. The error your getting appears to be from the database and not from Rev. len > Anyone have any idea how to do this simple thing? > > All the Best > Dave > > > On 1 Nov 2007, at 12:53, Len Morgan wrote: > >> I believe that even with variable substitution, you have to put ' >> around any non-numeric parameter. Your SQL statement doesn't have >> that. The 13T01 is the time. It appears that the expression for the >> date is getting evaluated as a math function. >> >> I think your template SQL statement should be something like: >> >> ... VALUES (':1',':2',... >> >> Hope that helps >> >> len morgan >> >> >> David Burgun wrote: >>> Hi, >>> >>> After finding out that the data I was sending with revExecuteSQL >>> needed to be escaped if it contains double-quotes or colon etc. I >>> decided it would be better to put the data into an array and use the >>> parameter substitution feature. When I run it now, I get the >>> following error: unrecognized token: "13T01" >>> >>> And I can't figure out could be wrong! Please see of the function >>> where this occurs followed by the contents of the variables. >>> >>> Anyone got any ideas or what could be wrong? Not sure what to do >>> now! I need to be able to write arbitrary UTF8 string to a SQLite >>> database. Doesn't seem a lot to ask! lol >>> >>> All the Best >>> Dave >>> >>> -------------------------------------------------------------- >>> -- >>> -- UtilDBInsertRecord >>> -- >>> --------------------------------------------------------------- >>> function UtilDBInsertRecord >>> theDatabaseID,theTableName,theRecordKeyArray >>> local mySQLCode >>> local myKeyList >>> local myKeyName >>> local myKeyText >>> local myResult >>> local myTempKeyList >>> local myValueList >>> local myParameterList >>> local myParameterArray >>> local myParameterNumber >>> >>> put the keys of theRecordKeyArray into myKeyList >>> if myKeyList <> empty then >>> sort lines of myKeyList >>> put replaceText(myKeyList,cr,",") into myTempKeyList >>> --delete char -1 of myTempKeyList >>> >>> put empty into myParameterArray >>> put empty into myParameterList >>> put empty into myValueList >>> put 1 into myParameterNumber >>> repeat for each line myKeyName in myKeyList >>> put ":" & myParameterNumber & "," after myParameterList >>> put theRecordKeyArray[myKeyName] into >>> myParameterArray[myParameterNumber] >>> add 1 to myParameterNumber >>> end repeat >>> >>> delete char -1 of myParameterList >>> put "INSERT INTO " & theTableName & " (" & myTempKeyList & ") " & \ >>> " VALUES (" & myParameterList & ") " into mySQLCode >>> >>> revExecuteSQL theDatabaseID,mySQLCode,"myParameterArray" >>> put the result into myResult >>> >>> if myResult <> empty then >>> if myResult is not an integer then >>> answer error "Error in UtilDBInsertRecord, revExecuteSQL:" >>> && myResult >>> breakpoint >>> end if >>> end if >>> end if >>> >>> return myResult >>> end UtilDBInsertRecord >>> >>> -------------------------------------------------------------------------------------------------------- >>> >>> Variable dump when the error occurs: >>> >>> >>> mySQLCode: >>> >>> INSERT INTO MusicBase >>> (AlbumName,AlbumRating,AlbumRatingKind,ArtistName,BitRate,BPM,DateAdded,Duration,FileLocation,FileSizeBytes,Genre,ModDate,PlayedCount,PlayedDate,SampleRate,TrackName,TrackRating,TrackRatingKind,TrackSkippedCount,TrackSkippedDate,UnplayedFlag) >>> VALUES >>> (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,:14,:15,:16,:17,:18,:19,:20,:21) >>> >>> >>> >>> myResult unrecognized token: "13T01" >>> >>> myParameterList >>> :1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,:14,:15,:16,:17,:18,:19,:20,:21 >>> >>> >>> myParameterArray: >>> >>> [1] The Best Of Bob Dylan I >>> [2] 0 >>> [3] computed >>> [4] Bob Dylan >>> [5] 192 >>> [6] 0 >>> [7] 2007-10-29T10:25:04Z >>> [8] 168463 >>> [9] file://localhost/Users/Dave/Music/iTunes/iTunes Music/Bob >>> Dylan/The Best Of Bob Dylan I/01 Blowin' In The Wind.mp3 >>> [10] 4045324 >>> [11] Rock >>> [12] 2003-07-13T01:58:33Z >>> [13] 0 >>> [14] missing value >>> [15] 44100 >>> [16] Blowin' In The Wind >>> [17] 0 >>> [18] computed >>> [19] 0 >>> [20] missing value >>> [21] ***NULL*** >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution 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 lists at mangomultimedia.com Thu Nov 1 10:07:28 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 1 Nov 2007 10:07:28 -0400 Subject: More problems with revExecuteSQL In-Reply-To: <20D7B6D0-3E8D-4851-8A3B-F476C9774EE3@looktowindward.com> References: <4D6A0101-15BE-4691-9803-7AB1FA8FE2AB@looktowindward.com> <4729CC57.4040103@crcom.net> <20D7B6D0-3E8D-4851-8A3B-F476C9774EE3@looktowindward.com> Message-ID: Dave, Variable substitution doesn't escape characters for in version of Rev prior to 2.9. Just run all values you want to insert into the database through a function such as the following. Note that the PostGreSQL switch statement is based on what I read in the docs. I haven't used PostGreSQL myself so I haven't tested it. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com on _escapeStringByRef pDBType, @pString switch word 1 of pDBType case "valentina" replace numtochar(92) with numtochar(92) & numtochar(92) in pString --> \ to \\ replace numtochar(39) with numtochar(39) & numtochar(39) in pString --> ' to '' break case "mysql" replace numtochar(92) with numtochar(92) & numtochar(92) in pString --> \ to \\ replace numtochar(39) with numtochar(92) & numtochar(39) in pString --> ' to \' replace numtochar(34) with numtochar(92) & numtochar(34) in pString --> " to \" replace numtochar(0) with numtochar(92) & numtochar(48) in pString --> NULL to \0 replace numtochar(26) with numtochar(92) & numtochar(90) in pString --> Control-Z to \Z replace numtochar(10) with numtochar(92) & numtochar (110) in pString --> newline to \n replace numtochar(13) with numtochar(92) & numtochar (114) in pString --> carriage return to \r replace numtochar(9) with numtochar(92) & numtochar(116) in pString --> tab to \t replace numtochar(8) with numtochar(92) & numtochar(98) in pString --> backspace to \b break case "postgresql" replace numtochar(92) with numtochar(92) & numtochar(92) in pString --> \ to \\ replace numtochar(39) with numtochar(39) & numtochar(39) in pString --> ' to '' replace numtochar(12) with numtochar(92) & numtochar (102) in pString --> formfeed to \f replace numtochar(10) with numtochar(92) & numtochar (110) in pString --> newline to \n replace numtochar(13) with numtochar(92) & numtochar (114) in pString --> carriage return to \r replace numtochar(9) with numtochar(92) & numtochar(116) in pString --> tab to \t replace numtochar(8) with numtochar(92) & numtochar(98) in pString --> backspace to \b break case "sqlite" default replace numtochar(39) with numtochar(39) & numtochar(39) in pString --> ' to '' break end SWITCH end _escapeStringByRef From lfredricks at proactive-intl.com Thu Nov 1 10:30:16 2007 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 1 Nov 2007 07:30:16 -0700 Subject: We are not alone - Latest Java and Leopard In-Reply-To: <298B144A-6B2D-43EC-A19B-0048E5FE7526@mangomultimedia.com> References: <873895.51799.qm@web60517.mail.yahoo.com> <298B144A-6B2D-43EC-A19B-0048E5FE7526@mangomultimedia.com> Message-ID: <027001c81c93$b94646e0$6501a8c0@GATEWAY> > > One can't help but wonder if Apple is just not interested in > > developers that don't develop exclusively for Mac using Cocoa and > > XCode. And to stay completely silent is not in Apple's best > interest. > > Then again, they're not ctaering to the enterprise market. > > Some interesting comments on Daring Fireball concerning this - > > That's absolutely true. Instead of the real estate's ABC's (Always Be Closing) you have software ABS's (Always Be Shipping) :-) Most people will not pay for beta software unless they have no other choice and the solution gives them a huge competitive advantage - sounds like early adopter types, right? There is a finite number of them as well. Best regards, Lynn Fredricks Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From RobertEppich at epsi.bc.ca Thu Nov 1 10:41:20 2007 From: RobertEppich at epsi.bc.ca (Robert Eppich) Date: Thu, 1 Nov 2007 07:41:20 -0700 Subject: Problem with revExecuteSQL - More In-Reply-To: <20071101071238.D8CBB488F16@mail.runrev.com> References: <20071101071238.D8CBB488F16@mail.runrev.com> Message-ID: Hi Dave, I am no pro at SQL, (just started 3 weeks ago with MS SQL Server), but it looks to me that your values are using quotation marks instead of apostrophes. Try something simple like the following: INSERT INTO MusicBase (AlbumName,AlbumRating) VALUES ('FINALLY', '0') hope this works for you. Robert Eppich On Nov 1, 2007, at 12:12 AM, dave at looktowindward wrote: > > I am also getting an [unrecognized token: "") "] error, in this case > this is the string I pass in: > > INSERT INTO MusicBase > (AlbumName,AlbumRating,AlbumRatingKind,ArtistName,BitRate,BPM,DateAdde > d, > Duration,FileLocation,FileSizeBytes,Genre,ModDate,PlayedCount,PlayedDa > te > ,SampleRate,TrackName,TrackRating,TrackRatingKind,TrackSkippedCount,Tr > ac > kSkippedDate,UnplayedFlag) VALUES ("Finally","0","computed","Ce Ce > Peniston","160","0","2005-07-30T16:07:37Z","250174","file://localhost/ > Users/Dave/Music/iTunes/iTunes Music/Ce Ce Peniston/Finally/02 > Finally (7_Choice > Mix).mp3","5005741","Rock","2005-06-08T17:49:38Z","0","missing > value","44100","Finally (7"Choice Mix)","0","computed","0","missing > value","***NULL***") > > All the values look ok to me, why should it fail? > > All the Best > Dave > > Hi, > > I am getting an invalid token error from revExecuteSQL, when I look > at the data being inserted, it contains a ":" character following by > a number (a date field in the form DD:MM:YY. How do I insert this > data? > > Here is the code: > > put "INSERT INTO " & theTableName & " (" & myTempKeyList & ") " & \ > " VALUES (" & myValueList & ") " into mySQLCode > > revExecuteSQL theDatabaseID,mySQLCode > put the result into myResult > > if myResult <> empty then > if myResult is not an integer then > answer error "Error in UtilDBInsertRecord, revExecuteSQL:" > && myResult > breakpoint > end if > end if > > > Thanks a lot > All the Best > Dave From lfredricks at proactive-intl.com Thu Nov 1 10:49:58 2007 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 1 Nov 2007 07:49:58 -0700 Subject: We are not alone - Latest Java and Leopard In-Reply-To: <873895.51799.qm@web60517.mail.yahoo.com> References: <006d01c81b17$ace90810$6501a8c0@GATEWAY> <873895.51799.qm@web60517.mail.yahoo.com> Message-ID: <029401c81c96$9bde7a20$6501a8c0@GATEWAY> > Then again, they're not ctaering to the enterprise market. > Oh well, I was going to wait until 10.5.1 anyway before > installing it, so I'll continue to use the > Java6 Developer Preview for a little while longer. Its funny but I attended in Seattle the Tech Talk on developing for the iPhone. Historically I have found Apple's developer relations at times aloof (with a few exceptions), but they really impressed me in the level of interest in 3rd party solutions. I cant go into detail about it but they had not only their full developer relations team, but also a "bug report" guy for Mac OS X, the manager of Quicktime and more - and they were willing to sit down with just about everyone. And the bug report guy was more than happy to take down issues. Best regards, Lynn Fredricks Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From ambassador at fourthworld.com Thu Nov 1 11:07:12 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 01 Nov 2007 08:07:12 -0700 Subject: Geometry in latest version of RunRev Message-ID: <4729EBA0.9060704@fourthworld.com> Dave wrote: >> Sounds a lot like the GM to me. It handles a lot of basic >> situations well. > > Yes, but at the drop of a hat it goes Beswick! That may not be merely a limitation of the GM, but possibly a bug. Did you report it? It'd be interesting to run the sample stack submitted with the report to find how it could be repaired. >> There are three main ways to refer to objects with Rev: ordinal >> number, name, or ID. ... >> Which of these three ways to refer to objects do you use? > > None of them! I set a "listen" (Based on a MessageID and MessageKind) > in the object that wants to get the message, then I just send to this > MessageID and MessageKind. The object receives the message, and, > since it's running in the object's script, can use "me". I think I may be slow this morning, as I'm not following this method. The resizeStack message is sent to the card, not the controls on the card. So how do these controls get notification to update themselve without something referring to them without using one of the three ways to refer to objects? > That way I can copy objects around, dupe them, whatever and other > parts of the stack(s) don't break! If the resizeStack handlers are replicated in the objects themselves, how do you handle situations like my example, where some object positions are determined by others? And in such a case, how would the object whose position is dependent on another know the other object's position without referring to it? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Thu Nov 1 11:19:15 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 01 Nov 2007 08:19:15 -0700 Subject: Place to stash a text file in Vista thats shared by all users? Message-ID: <4729EE73.7010106@fourthworld.com> Eric Chatonet wrote: > Le 31 oct. 07 ? 19:11, rgould8 at aol.com a ?crit : > >> Can anyone tell me if there's a directory somewhere in Windows >> Vista that is accessible by all users of the PC?? > > specialFoderPath(35) (C:/ProgramData) seems the directory you need. Good find, Eric. Thanks! Some months ago we had a discussion here looking for such a directory, and no one could turn up one which was writable by even non-admin accounts. But I was able to verify that specialFolderPath(35) can indeed be written to and read from by admin and non-admin accounts. Good sleuthing! -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From cmsheffield at gmail.com Thu Nov 1 11:33:41 2007 From: cmsheffield at gmail.com (Chris Sheffield) Date: Thu, 1 Nov 2007 09:33:41 -0600 Subject: Place to stash a text file in Vista thats shared by all users? In-Reply-To: <4729EE73.7010106@fourthworld.com> References: <4729EE73.7010106@fourthworld.com> Message-ID: <60ED60EB-5BDC-4517-BB54-3F444D4EFC4D@gmail.com> Watch out for this though. It's been my experience, and maybe it's just some sort of bug for now in Vista that will later be fixed, that even sometimes writing to C:\ProgramData will cause things to be redirected to the user's VirtualStore, which in some cases may be okay, but in other's not okay at all. I found the Public Documents folder to be about the safest place for me. I realize it's maybe not the best place to store a prefs file, but it seems to work best as far as all users being able to access it, without things being redirected to the VirtualStore. The official path is C:\Users\Public\Public Documents. My two cents... Chris Sheffield On Nov 1, 2007, at 9:19 AM, Richard Gaskin wrote: > Eric Chatonet wrote: >> Le 31 oct. 07 ? 19:11, rgould8 at aol.com a ?crit : >>> Can anyone tell me if there's a directory somewhere in Windows >>> Vista that is accessible by all users of the PC?? >> specialFoderPath(35) (C:/ProgramData) seems the directory you need. > > Good find, Eric. Thanks! > > Some months ago we had a discussion here looking for such a > directory, and no one could turn up one which was writable by even > non-admin accounts. > > But I was able to verify that specialFolderPath(35) can indeed be > written to and read from by admin and non-admin accounts. > > Good sleuthing! > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Thu Nov 1 12:24:07 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 1 Nov 2007 17:24:07 +0100 Subject: Place to stash a text file in Vista thats shared by all users? In-Reply-To: <60ED60EB-5BDC-4517-BB54-3F444D4EFC4D@gmail.com> References: <4729EE73.7010106@fourthworld.com> <60ED60EB-5BDC-4517-BB54-3F444D4EFC4D@gmail.com> Message-ID: <22DC97A6-16CA-40E9-9269-E05CC467A2B1@sosmartsoftware.com> Chris and Richard, I was confronted with this problem and the 'horrible' way Vista makes its own of all it wants as it wants. But you know this too... Sometimes, I do regret to not be obliged to work on my Mac only ;-) I had noticed that Norton LiveUpdate folder and others significant data that have to be updated frequently were there... And as far as I can agree (!!!) the way Vista makes its job, I assume that C:/ProgramData (the name itself is significant) could be the right place and it works for me AFAIK. Chris, you say that some files you put in it were nevertheless virtualized? It would be interesting to go to the bottom of this: can you share circumstances when it happened? Best regards from Paris, Eric Chatonet. Le 1 nov. 07 ? 16:33, Chris Sheffield a ?crit : > Watch out for this though. It's been my experience, and maybe it's > just some sort of bug for now in Vista that will later be fixed, > that even sometimes writing to C:\ProgramData will cause things to > be redirected to the user's VirtualStore, which in some cases may > be okay, but in other's not okay at all. > > I found the Public Documents folder to be about the safest place > for me. I realize it's maybe not the best place to store a prefs > file, but it seems to work best as far as all users being able to > access it, without things being redirected to the VirtualStore. The > official path is C:\Users\Public\Public Documents. > > My two cents... > > Chris Sheffield > > > On Nov 1, 2007, at 9:19 AM, Richard Gaskin wrote: > >> Eric Chatonet wrote: >>> Le 31 oct. 07 ? 19:11, rgould8 at aol.com a ?crit : >>>> Can anyone tell me if there's a directory somewhere in Windows >>>> Vista that is accessible by all users of the PC?? >>> specialFoderPath(35) (C:/ProgramData) seems the directory you need. >> >> Good find, Eric. Thanks! >> >> Some months ago we had a discussion here looking for such a >> directory, and no one could turn up one which was writable by even >> non-admin accounts. >> >> But I was able to verify that specialFolderPath(35) can indeed be >> written to and read from by admin and non-admin accounts. >> >> Good sleuthing! >> >> -- >> Richard Gaskin >> Managing Editor, revJournal >> _______________________________________________________ >> Rev tips, tutorials and more: http://www.revJournal.com ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From dave at looktowindward.com Thu Nov 1 14:01:26 2007 From: dave at looktowindward.com (Dave) Date: Thu, 1 Nov 2007 18:01:26 +0000 Subject: Problem with revExecuteSQL - More In-Reply-To: References: <20071101071238.D8CBB488F16@mail.runrev.com> Message-ID: Hi, This works ok with the addition of a line to check for embedded apostrophes: put replace(myText,"'","''") into myText However I now have a another weird problem, I have a field that represents a file path, in this case the path is: /Users/Dave/Music/iTunes/iTunes Music/Blank & Jones/Addicted To Trance (Disc 1)/11 DJs, Fans And Freaks.mp3 However a "if there is a file" fails on this path. When I look I can't see the & in the file name. I'm guessing it's something to do with UTF16 vs UTF8 or something, but I'm not sure how to resolve it. The database I am writing is set to UTF8 which AFAIK is the only option for SQLite. Any ideas what how to overcome this problem? Thanks a lot for all your help All the Best Dave On 1 Nov 2007, at 14:41, Robert Eppich wrote: > Hi Dave, > > I am no pro at SQL, (just started 3 weeks ago with MS SQL Server), > but it looks to me that your values are using quotation marks > instead of apostrophes. Try something simple like the following: > > INSERT INTO MusicBase (AlbumName,AlbumRating) VALUES ('FINALLY', '0') > > hope this works for you. > Robert Eppich > > > > On Nov 1, 2007, at 12:12 AM, dave at looktowindward wrote: > >> >> I am also getting an [unrecognized token: "") "] error, in this case >> this is the string I pass in: >> >> INSERT INTO MusicBase >> (AlbumName,AlbumRating,AlbumRatingKind,ArtistName,BitRate,BPM,DateAdd >> ed, >> Duration,FileLocation,FileSizeBytes,Genre,ModDate,PlayedCount,PlayedD >> ate >> ,SampleRate,TrackName,TrackRating,TrackRatingKind,TrackSkippedCount,T >> rac >> kSkippedDate,UnplayedFlag) VALUES ("Finally","0","computed","Ce Ce >> Peniston","160","0","2005-07-30T16:07:37Z","250174","file:// >> localhost/ >> Users/Dave/Music/iTunes/iTunes Music/Ce Ce Peniston/Finally/02 >> Finally (7_Choice >> Mix).mp3","5005741","Rock","2005-06-08T17:49:38Z","0","missing >> value","44100","Finally (7"Choice Mix)","0","computed","0","missing >> value","***NULL***") >> >> All the values look ok to me, why should it fail? >> >> All the Best >> Dave >> >> Hi, >> >> I am getting an invalid token error from revExecuteSQL, when I look >> at the data being inserted, it contains a ":" character following by >> a number (a date field in the form DD:MM:YY. How do I insert this >> data? >> >> Here is the code: >> >> put "INSERT INTO " & theTableName & " (" & myTempKeyList & ") " & \ >> " VALUES (" & myValueList & ") " into mySQLCode >> >> revExecuteSQL theDatabaseID,mySQLCode >> put the result into myResult >> >> if myResult <> empty then >> if myResult is not an integer then >> answer error "Error in UtilDBInsertRecord, revExecuteSQL:" >> && myResult >> breakpoint >> end if >> end if >> >> >> Thanks a lot >> All the Best >> Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From len-morgan at crcom.net Thu Nov 1 14:28:03 2007 From: len-morgan at crcom.net (Len Morgan) Date: Thu, 01 Nov 2007 13:28:03 -0500 Subject: Problem with revExecuteSQL - More In-Reply-To: References: <20071101071238.D8CBB488F16@mail.runrev.com> Message-ID: <472A1AB3.4060909@crcom.net> Dave wrote: > > However I now have a another weird problem, I have a field that > represents a file path, in this case the path is: > > /Users/Dave/Music/iTunes/iTunes Music/Blank & Jones/Addicted To > Trance (Disc 1)/11 DJs, Fans And Freaks.mp3 > > However a "if there is a file" fails on this path. When I look I can't > see the & in the file name. I'm guessing it's something to do with > UTF16 vs UTF8 or something, but I'm not sure how to resolve it. The > database I am writing is set to UTF8 which AFAIK is the only option > for SQLite. > > Any ideas what how to overcome this problem? 1) Is the & part of the filename? 2) Can you type the filename "by hand" 3) Do you need the ENTIRE filename or is the "/Users/Dave/Music/iTunes/iTunes Music/" part common to all the files? If it's common, you might consider saving this part in a separate variable. 4) If you look at the htmlText (you might have to put the path into a field variable to do this, is the & there? 5) This might be an OS issue (i.e., the OS is playing with the displayed text). Have you tried getting the length of the string before and after putting it into the field? If it's translating the code & into a single character, the displayed length should be shorter than what you've typed (by 4 characters I think). 6) Just for my own curiousity, what IS &? len morgan From dave at looktowindward.com Thu Nov 1 14:49:28 2007 From: dave at looktowindward.com (Dave) Date: Thu, 1 Nov 2007 18:49:28 +0000 Subject: Problem with revExecuteSQL - More In-Reply-To: <472A1AB3.4060909@crcom.net> References: <20071101071238.D8CBB488F16@mail.runrev.com> <472A1AB3.4060909@crcom.net> Message-ID: Hi, If I look at the folder in question in the finder is says "Blank & Jones", and if I select the file in iTunes and do a "Show File in Finder" then it takes me to the file ok. However, when I read the Database file the weird characters are present. At a Guess I'd say there was a non-showing character after the & which is being interpreted as #38; As far as I can tell this is the only file that has this problem so I'm tempted to just write it off as one of those things. I'm a bit worried in case it comes back to bite me though. Just did a search on the database and *wherever* there is an ampersand "&" character is is followed by #38; This MUST point to something! Just not sure what! I am looking into this a bit deeper now. All the BEst Dave On 1 Nov 2007, at 18:28, Len Morgan wrote: > Dave wrote: >> >> However I now have a another weird problem, I have a field that >> represents a file path, in this case the path is: >> >> /Users/Dave/Music/iTunes/iTunes Music/Blank & Jones/Addicted >> To Trance (Disc 1)/11 DJs, Fans And Freaks.mp3 >> >> However a "if there is a file" fails on this path. When I look I >> can't see the & in the file name. I'm guessing it's something >> to do with UTF16 vs UTF8 or something, but I'm not sure how to >> resolve it. The database I am writing is set to UTF8 which AFAIK >> is the only option for SQLite. >> >> Any ideas what how to overcome this problem? > 1) Is the & part of the filename? > 2) Can you type the filename "by hand" > 3) Do you need the ENTIRE filename or is the "/Users/Dave/Music/ > iTunes/iTunes Music/" part common to all the files? If it's > common, you might consider saving this part in a separate variable. > 4) If you look at the htmlText (you might have to put the path > into a field variable to do this, is the & there? > 5) This might be an OS issue (i.e., the OS is playing with the > displayed text). Have you tried getting the length of the string > before and after putting it into the field? If it's translating > the code & into a single character, the displayed length should > be shorter than what you've typed (by 4 characters I think). > 6) Just for my own curiousity, what IS &? > > len morgan > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Nov 1 14:57:21 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 01 Nov 2007 11:57:21 -0700 Subject: Problem with revExecuteSQL - More In-Reply-To: Message-ID: On 11/1/07 11:01 AM, "Dave" wrote: > This works ok with the addition of a line to check for embedded > apostrophes: > > put replace(myText,"'","''") into myText > > However I now have a another weird problem, I have a field that > represents a file path, in this case the path is: > > /Users/Dave/Music/iTunes/iTunes Music/Blank & Jones/Addicted To > Trance (Disc 1)/11 DJs, Fans And Freaks.mp3 > > However a "if there is a file" fails on this path. When I look I > can't see the & in the file name. I'm guessing it's something to > do with UTF16 vs UTF8 or something, but I'm not sure how to resolve > it. The database I am writing is set to UTF8 which AFAIK is the only > option for SQLite. > > Any ideas what how to overcome this problem? > Basically, you are including control characters in the data you are trying to store, so Sql does not see those characters as *data*. You need to read the docs carefully to identify these characters and take action One method as given earlier in this thread is to escape them (tell the Sql engine to use them as data, NOT control characters) Another method as given earlier in this thread is to use Rev to replace these characters with non-control characters before sending the data to the Sql engine A third method is to encode the data (especially file paths, network locations, and web urls). This is not the same as UTF8, which is merely a superset of ASCII. >From Wikipedia: UTF-8 is a superset of ASCII. Since a plain ASCII string is also a valid UTF-8 string, no conversion needs to be done for existing ASCII text. Software designed for traditional non-extended ASCII character sets can generally be used with UTF-8 with few or no changes. In short, UTF8 encoding does not change normal ASCII characters and control characters will still appear as control characters to Sql. They need to be changed or escaped. Encoding can be done different ways and converts a data string into alternate character symbols that allow decoding to get back the original string. Your example of (&) is an html entity which makes sense to a web browser, but not Sql. The ampersand is a control character for Sql, and in this case, the Sql engine must be told to treat it as a data character (or encoded to some other character) Also remember that spaces in file names can be problematic, depending on the platform and how you are using them. You may have to make adjustments and quote them appropriately for the complete path name to be understood. Do a google search for "sql escape characters escaping encode decode" to find work done by others. One difficulty with quick easy answers is that different databases and languages use different control characters. You have landed squarely in the world of character conversion depending on the environments you wish to use. You need to create your own map and methods to get from point A to B to C and back again. If you are trying to do multi-lingual and unicode, things get a bit more complicated. I could be wrong on some of this, as I have not built an Sql database, but I have spent time working through string conversions with Rev, text file, file paths, Html, Applescript, PHP, and Apache protocols. Same game, just different team colors. Hope this helps Jim Ault Las Vegas From dave at looktowindward.com Thu Nov 1 15:12:49 2007 From: dave at looktowindward.com (Dave) Date: Thu, 1 Nov 2007 19:12:49 +0000 Subject: Problem with revExecuteSQL - More In-Reply-To: References: Message-ID: <3BC87D69-DEFE-43EE-B351-756A115842CA@looktowindward.com> On 1 Nov 2007, at 18:57, Jim Ault wrote: > On 11/1/07 11:01 AM, "Dave" wrote: > >> This works ok with the addition of a line to check for embedded >> apostrophes: >> >> put replace(myText,"'","''") into myText >> >> However I now have a another weird problem, I have a field that >> represents a file path, in this case the path is: >> >> /Users/Dave/Music/iTunes/iTunes Music/Blank & Jones/Addicted To >> Trance (Disc 1)/11 DJs, Fans And Freaks.mp3 >> >> However a "if there is a file" fails on this path. When I look I >> can't see the & in the file name. I'm guessing it's something to >> do with UTF16 vs UTF8 or something, but I'm not sure how to resolve >> it. The database I am writing is set to UTF8 which AFAIK is the only >> option for SQLite. >> >> Any ideas what how to overcome this problem? >> > > Basically, you are including control characters in the data you are > trying > to store, so Sql does not see those characters as *data*. This has nothing to do with SQL, this is before the data is written, in fact I can insert the data ok. The problem is that some of the data has these weird characters. I am dealing with a "typical" MusicBase. From looking at the track that have these characters in then I'd say they came from a PC. I seem to remember somewhere now that said you have to do something to the data you wrote to ensure it will work on a Mac and PC. Does anyone remember?? > > You need to read the docs carefully to identify these characters > and take > action > One method as given earlier in this thread is to escape them (tell > the Sql > engine to use them as data, NOT control characters) > > Another method as given earlier in this thread is to use Rev to > replace > these characters with non-control characters before sending the > data to the > Sql engine > > A third method is to encode the data (especially file paths, network > locations, and web urls). This is not the same as UTF8, which is > merely a > superset of ASCII. > >> From Wikipedia: > UTF-8 is a superset of ASCII. Since a plain ASCII string is also a > valid > UTF-8 string, no conversion needs to be done for existing ASCII text. > Software designed for traditional non-extended ASCII character sets > can > generally be used with UTF-8 with few or no changes. > > In short, UTF8 encoding does not change normal ASCII characters and > control > characters will still appear as control characters to Sql. They > need to be > changed or escaped. > > corrections on > my post in the coming days (or minutes) > > > Encoding can be done different ways and converts a data string into > alternate character symbols that allow decoding to get back the > original > string. Your example of (&) is an html entity which makes > sense to a > web browser, but not Sql. The ampersand is a control character for > Sql, and > in this case, the Sql engine must be told to treat it as a data > character > (or encoded to some other character) > > Also remember that spaces in file names can be problematic, > depending on the > platform and how you are using them. You may have to make > adjustments and > quote them appropriately for the complete path name to be understood. > > Do a google search for "sql escape characters escaping encode > decode" to > find work done by others. One difficulty with quick easy answers > is that > different databases and languages use different control characters. > > You have landed squarely in the world of character conversion > depending on > the environments you wish to use. You need to create your own map and > methods to get from point A to B to C and back again. > > If you are trying to do multi-lingual and unicode, things get a bit > more > complicated. > > I could be wrong on some of this, as I have not built an Sql > database, but I > have spent time working through string conversions with Rev, text > file, file > paths, Html, Applescript, PHP, and Apache protocols. Same game, just > different team colors. > > Hope this helps > > Jim Ault > Las Vegas All the Best Dave From revlist at azurevision.co.uk Thu Nov 1 15:22:01 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 1 Nov 2007 19:22:01 +0000 Subject: Problem with revExecuteSQL - More In-Reply-To: References: <20071101071238.D8CBB488F16@mail.runrev.com> Message-ID: <3A485E66-8664-45F4-9163-0A44B0F1BCB7@azurevision.co.uk> It looks like the folder name has been abbreviated at some stage by an OS that didn't understand file/folder names that long. Where *exactly* is the filepath coming from? Ian On 1 Nov 2007, at 18:01, Dave wrote: > However I now have a another weird problem, I have a field that > represents a file path, in this case the path is: > > /Users/Dave/Music/iTunes/iTunes Music/Blank & Jones/Addicted To > Trance (Disc 1)/11 DJs, Fans And Freaks.mp3 > > However a "if there is a file" fails on this path. When I look I > can't see the & in the file name. I'm guessing it's something > to do with UTF16 vs UTF8 or something, but I'm not sure how to > resolve it. The database I am writing is set to UTF8 which AFAIK is > the only option for SQLite. From dave at looktowindward.com Thu Nov 1 15:25:40 2007 From: dave at looktowindward.com (Dave) Date: Thu, 1 Nov 2007 19:25:40 +0000 Subject: Problem with revExecuteSQL - More In-Reply-To: <3A485E66-8664-45F4-9163-0A44B0F1BCB7@azurevision.co.uk> References: <20071101071238.D8CBB488F16@mail.runrev.com> <3A485E66-8664-45F4-9163-0A44B0F1BCB7@azurevision.co.uk> Message-ID: <3736C84E-01A4-43FD-AA14-A26E739D8D19@looktowindward.com> Hi, The path is coming out of the iTunes XML file. It's not just this path, it's a load of them, for instance there are a lot of instances that wherever there is an ampersand it is followed by #38; There are files that have funny accents that cause the problem too, If I read back the same track using AppleScript the weird characters are not there. I think that the tracks where this occurs were imported from a PC. Thanks a lot All the Best Dave On 1 Nov 2007, at 19:22, Ian Wood wrote: > It looks like the folder name has been abbreviated at some stage by > an OS that didn't understand file/folder names that long. > > Where *exactly* is the filepath coming from? > > Ian > > On 1 Nov 2007, at 18:01, Dave wrote: > >> However I now have a another weird problem, I have a field that >> represents a file path, in this case the path is: >> >> /Users/Dave/Music/iTunes/iTunes Music/Blank & Jones/Addicted >> To Trance (Disc 1)/11 DJs, Fans And Freaks.mp3 >> >> However a "if there is a file" fails on this path. When I look I >> can't see the & in the file name. I'm guessing it's something >> to do with UTF16 vs UTF8 or something, but I'm not sure how to >> resolve it. The database I am writing is set to UTF8 which AFAIK >> is the only option for SQLite. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revlist at azurevision.co.uk Thu Nov 1 15:33:13 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 1 Nov 2007 19:33:13 +0000 Subject: Problem with revExecuteSQL - More In-Reply-To: <3736C84E-01A4-43FD-AA14-A26E739D8D19@looktowindward.com> References: <20071101071238.D8CBB488F16@mail.runrev.com> <3A485E66-8664-45F4-9163-0A44B0F1BCB7@azurevision.co.uk> <3736C84E-01A4-43FD-AA14-A26E739D8D19@looktowindward.com> Message-ID: <20E51390-6540-4533-B773-691399215314@azurevision.co.uk> On 1 Nov 2007, at 19:25, Dave wrote: > The path is coming out of the iTunes XML file. It's not just this > path, it's a load of them, for instance there are a lot of > instances that wherever there is an ampersand it is followed by > #38; There are files that have funny accents that cause the problem > too, If I read back the same track using AppleScript the weird > characters are not there. > > I think that the tracks where this occurs were imported from a PC. Are any of them old enough to have to have passed through OS9? Unless you had the Joliet extension installed, PC-written CDs could get dropped down to '8+3' naming. I've a feeling that Applescript can cope with the abbreviated filepaths, you may have to write a quick script, maybe something like convert to a Mac path and feed to Applescript, then get a POSIX path back from the script. But it's definitely a name-shortening problem. Ian From mb.userev at harbourhosting.co.uk Thu Nov 1 16:05:32 2007 From: mb.userev at harbourhosting.co.uk (Martin Baxter) Date: Thu, 01 Nov 2007 20:05:32 +0000 Subject: Problem with revExecuteSQL - More In-Reply-To: <3736C84E-01A4-43FD-AA14-A26E739D8D19@looktowindward.com> References: <20071101071238.D8CBB488F16@mail.runrev.com> <3A485E66-8664-45F4-9163-0A44B0F1BCB7@azurevision.co.uk> <3736C84E-01A4-43FD-AA14-A26E739D8D19@looktowindward.com> Message-ID: <472A318C.4090702@harbourhosting.co.uk> Hi Dave, Looks like at some point the ampersand is being converted to an entity reference of itself. ampersand is character number 38 The entity reference for that is & That means that the ampersand you see is no longer a literal character in this case, but indicates the beginning of a character entity reference. The semicolon indicates the end. The entity reference is presumably intended to ensure that the original ampersand in your data doesn't get interpreted as a control character. % is the entity reference for % (percent), $ is the reference for $ dollar and so forth. I don't know what is doing this in your case, but I think this must be what's happening. Hope that sheds some light. Martin Dave wrote: > Hi, > > The path is coming out of the iTunes XML file. It's not just this path, > it's a load of them, for instance there are a lot of instances that > wherever there is an ampersand it is followed by #38; There are files > that have funny accents that cause the problem too, If I read back the > same track using AppleScript the weird characters are not there. > > I think that the tracks where this occurs were imported from a PC. > > Thanks a lot > All the Best > Dave > > On 1 Nov 2007, at 19:22, Ian Wood wrote: > >> It looks like the folder name has been abbreviated at some stage by an >> OS that didn't understand file/folder names that long. >> >> Where *exactly* is the filepath coming from? >> >> Ian >> >> On 1 Nov 2007, at 18:01, Dave wrote: >> >>> However I now have a another weird problem, I have a field that >>> represents a file path, in this case the path is: >>> >>> /Users/Dave/Music/iTunes/iTunes Music/Blank & Jones/Addicted To >>> Trance (Disc 1)/11 DJs, Fans And Freaks.mp3 >>> >>> However a "if there is a file" fails on this path. When I look I >>> can't see the & in the file name. I'm guessing it's something to >>> do with UTF16 vs UTF8 or something, but I'm not sure how to resolve >>> it. The database I am writing is set to UTF8 which AFAIK is the only >>> option for SQLite. >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 briany at qldlearning.com Thu Nov 1 15:59:12 2007 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 1 Nov 2007 12:59:12 -0700 Subject: Problem with revExecuteSQL - More In-Reply-To: <3736C84E-01A4-43FD-AA14-A26E739D8D19@looktowindward.com> References: <20071101071238.D8CBB488F16@mail.runrev.com> <3A485E66-8664-45F4-9163-0A44B0F1BCB7@azurevision.co.uk> <3736C84E-01A4-43FD-AA14-A26E739D8D19@looktowindward.com> Message-ID: <76677C48-3460-44FB-A596-4A015EF7C7F9@qldlearning.com> Dave, I think all of these character set / UTF8 / shortened file path threads may be leading you on a wild goose chase. Certain characters must be escaped in XML, and ampersand is one of them. I believe you just need to unescape them. Check this page: http://www.asciitable.com/ & is just an HTML/XML encoded entity for the ampersand. This is untested, but you may be able to just do this: set the htmlText of fld "hiddenField" to tFileName put fld "hiddenField" into tFileName The field should handle the HTML entities for you. HTH, Brian > Hi, > > The path is coming out of the iTunes XML file. It's not just this > path, it's a load of them, for instance there are a lot of > instances that wherever there is an ampersand it is followed by > #38; There are files that have funny accents that cause the problem > too, If I read back the same track using AppleScript the weird > characters are not there. > > I think that the tracks where this occurs were imported from a PC. > > Thanks a lot > All the Best > Dave > > On 1 Nov 2007, at 19:22, Ian Wood wrote: > >> It looks like the folder name has been abbreviated at some stage >> by an OS that didn't understand file/folder names that long. >> >> Where *exactly* is the filepath coming from? >> >> Ian >> >> On 1 Nov 2007, at 18:01, Dave wrote: >> >>> However I now have a another weird problem, I have a field that >>> represents a file path, in this case the path is: >>> >>> /Users/Dave/Music/iTunes/iTunes Music/Blank & Jones/Addicted >>> To Trance (Disc 1)/11 DJs, Fans And Freaks.mp3 >>> >>> However a "if there is a file" fails on this path. When I look I >>> can't see the & in the file name. I'm guessing it's something >>> to do with UTF16 vs UTF8 or something, but I'm not sure how to >>> resolve it. The database I am writing is set to UTF8 which AFAIK >>> is the only option for SQLite. From kray at sonsothunder.com Thu Nov 1 16:12:13 2007 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 1 Nov 2007 15:12:13 -0500 Subject: "proof-of-concept" Revolution Online Open Dictionary at revcoders.org In-Reply-To: <8678400F-B2D6-4A5A-914C-D61B7C5E9235@dvcreators.net> References: <200711010740.37469.palcibiades-first@yahoo.co.uk> <8678400F-B2D6-4A5A-914C-D61B7C5E9235@dvcreators.net> Message-ID: <20071101151213194810.d40a86b3@sonsothunder.com> On Thu, 1 Nov 2007 01:09:46 -0700, Josh Mellicker wrote: > Good example! > > I posted a code snippet to do this here: > > http://revcoders.org/vScroll/#comment-32 > > Of course, presently, you would have to know to look under > "vscroll"... so I am working on a much better search page. > > For someone new to Revolution, the best thing is not reading the term > dictionary, but a step-by-step tutorial that introduces the student > to Revolution and the foundations of RAD, then guides them through > the creation of a complete project, hands-on. Richard's idea of > building a word processor is a good one, it covers many commonly used > functions. > > The open dictionary is not for learning Revolution, it is for > reference on specific terms for someone who has been through the > basic tutorials and just needs examples of how to accomplish common > tasks. Sorry to dissent here, Josh, but I think there's a middle-point that's not being addressed. You'r correct that someone who is new to Rev needs tutorials to walk them through. But I think the "dictionary only" approach addresses someone who is very familiar with the language, but can't recall the syntax of a particular command, or like "I know there's a property for buttons that does ___ but I don't know what it's called". The "gap" between the two is addressed by the Lexical and Procedural indices to the Dictionary - it allows everyone (especially those from the "newbie" through "almost intermediate" stages) to locate the particular commands/functions/etc. for the task or object that they want to work with by looking up synonyms to the tasks/etc. they want to accomplish and get redirected back to the actual language to get the job done. Combine this with a handful of short, useful, *applicable* examples for each entry (whether initially provided or eventually provided by the community), and people can cruise right along without frustration. For example, suppose someone wants to implement a contextual menu on an object. They should be able to look up "right-click", "control-click", "contextual menu", "menu", etc. and have them all point back to the "popup" command. The the popup command Dictionary entry would have an example that shows how to use a contextual popup menu (which is the primary reason for the popup command), including what object(s) need to be created, and script(s) are needed, and that (hopefully) could be copied and pasted into their code if they want to try it out. Something similar to the current docs on the 'popup' command, but perhaps more explanatory, like: ------- You can use the mouse button parameter of the 'mouseDown' message to specify that a contextual menu (the menu that is displayed when the user right-clicks (on Unix, Windows, or Mac OS/OS X systems), or Control-clicks (Mac OS/OS X systems)) should appear. Example: Displaying a Contextual Menu For a Field Scenario: You have a field that has text in it, and you'd like to display a menu with "Cut", "Copy", and "Paste" options that is based on whether the user has any text selected. This example assumes that the field that will display the contextual menu already exists, and that it is unlocked (the "Lock text" checkbox in then Inspector is unchecked). Approach: (1) Create a popup menu button that will contain the menu items for selection and hide it so the user doesn't see it; (2) script it so that it will perform the correct actions when a menu item is selected; (3) call it from the field using the 'popup' command. Step 1) Create a popup menu button, and set the following properties: Name: EditPop Menu Items: Cut, Copy, Paste (each on its own line) Visible: Unchecked TraversalOn*: False Step 2) Set the script of the popup button as follows: on menuPick pChoice switch pChoice case "Cut" cut break case "Copy" copy break case "Paste" paste break end switch end menuPick Step 3) Set the script of the field as follows: on mouseDown pButton -- pButton is "3" if the user right/control-clicks if pButton is 3 then popup button "EditPop" else -- allow the message to pass pass mouseDown end if end mouseDown * In order to display a contextual menu in an unlocked field and still maintain the current text selection, you need to make sure that the 'traversalOn' property (displayed as "Focusable" on the Inspector palette) of the popup menu button is set to 'false'. This is because when a button is activated with the 'traversalOn' property set to 'true', the focus is "stolen" from the object that currently has the focus, which would remove the insertion point or any text selection you had in the field. Currently the Inspector palette does not show "Focusable" as a settable property for popup menu buttons (although it's displayed for other kinds of buttons), so you will need to do this by using the Message Box: Choose "Message Box" from the Tools menu, and type the following line of script in the main (top) field and execute it by hitting the Enter key: set the traversalOn of button "EditPop" to false What Happens: When you 'mouseDown' on the field, the contextual menu ("EditPop") will appear. When you select from that menu, the "EditPop" popup button is sent a 'menuPick' message along with the name of the menu item you selected. The popup button's script then handles what to do based on the selected menu item. Special Considerations: You will most likely need to adjust which items or enabled or disabled in the contextual menu based on the current situation (for example, you don't want to show "Cut" and "Copy" enabled if there is no current text selection, nor do you want to show "Paste" enabled if there is no text on the clipboard). A good time to do that is just before you execute the 'popup' command. For more on enabling/disabling menu items in a popup menu, see the entries for 'disable menu' and 'enable menu'. ------- Of course this is only a proposed section of the full entry (there would be the caveats on setting the menuMouseButton, info on using 'popup' with stacks, syntax, etc.), but you get the idea. I know this seems like a lot of description, and that veteran users will not get as much (or any) benefit out of the explanations, but it is a *goldmine* to anyone who's on the learning curve to Revolution. It gives them something concrete to play with, explains why everything works the way it does (to eliminate mystery), points them to other related tokens, and IMHO gives them a sense of comfort and not trepidation about learning the language. Just my 2 cents (of course), Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From FlexibleLearning at aol.com Thu Nov 1 17:12:23 2007 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Thu, 1 Nov 2007 17:12:23 EDT Subject: "Windows - No Disk" ERR Message-ID: When trying to resolve a path that refers to an empty drive (like a Zip drive with no disk in it), there seems no way to avoid the "Windows - No Disk... Exception Processing message" error w/ nasty sound from the (XP) OS. Using a Try/Catch doesn't. Anyone got a solution to gracefully avoid or handle this error msg? /H From userev at canelasoftware.com Thu Nov 1 17:43:44 2007 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 01 Nov 2007 14:43:44 -0700 Subject: "proof-of-concept" Revolution Online Open Dictionary at revcoders.org In-Reply-To: <20071101151213194810.d40a86b3@sonsothunder.com> References: <200711010740.37469.palcibiades-first@yahoo.co.uk> <8678400F-B2D6-4A5A-914C-D61B7C5E9235@dvcreators.net> <20071101151213194810.d40a86b3@sonsothunder.com> Message-ID: <9277A4A5-A560-418D-BB31-30213F2CF366@canelasoftware.com> On Nov 1, 2007, at 1:12 PM, Ken Ray wrote: > Of course this is only a proposed section of the full entry (there > would be the caveats on setting the menuMouseButton, info on using > 'popup' with stacks, syntax, etc.), but you get the idea. I know this > seems like a lot of description, and that veteran users will not > get as > much (or any) benefit out of the explanations, but it is a *goldmine* > to anyone who's on the learning curve to Revolution. It gives them > something concrete to play with, explains why everything works the way > it does (to eliminate mystery), points them to other related tokens, > and IMHO gives them a sense of comfort and not trepidation about > learning the language. That was excellent! Reminds me of the SuperCard manual. I loved that book. Mark Talluto -- CANELA Software http://www.canelasoftware.com From kray at sonsothunder.com Thu Nov 1 17:57:03 2007 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 1 Nov 2007 16:57:03 -0500 Subject: "Windows - No Disk" ERR In-Reply-To: References: Message-ID: <20071101165703722487.874f6ef2@sonsothunder.com> On Thu, 1 Nov 2007 17:12:23 EDT, FlexibleLearning at aol.com wrote: > When trying to resolve a path that refers to an empty drive (like a Zip > drive with no disk in it), there seems no way to avoid the "Windows > - No Disk... > Exception Processing message" error w/ nasty sound from the (XP) OS. > Using a > Try/Catch doesn't. > > Anyone got a solution to gracefully avoid or handle this error msg? Take a look here: http://www.sonsothunder.com/devres/revolution/tips/disk005.htm The tip's kind of old, but the bottom portion (labelled "Update") is a script-only implementation that *should* work... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From JimAultWins at yahoo.com Thu Nov 1 18:41:18 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 01 Nov 2007 15:41:18 -0700 Subject: Problem with revExecuteSQL - More In-Reply-To: <3BC87D69-DEFE-43EE-B351-756A115842CA@looktowindward.com> Message-ID: Sorry about that, Dave, I thought you were referring to the INSERT command in Sql. My mistake. >> >> Basically, you are including control characters in the data you are >> trying >> to store, so Sql does not see those characters as *data*. > > This has nothing to do with SQL, this is before the data is written, > in fact I can insert the data ok. The problem is that some of the > data has these weird characters. I am dealing with a "typical" > MusicBase. From looking at the track that have these characters in > then I'd say they came from a PC. I seem to remember somewhere now > that said you have to do something to the data you wrote to ensure it > will work on a Mac and PC. Does anyone remember?? The weird characters are the code for special characters in HTML and XML. Browsers will decode these so the view of the page will see only the single character represented. Your program has to do the same thing as a browser, parse the file paths to detect and convert these codes. Eric Chatonet wrote a web page tag cleaning routine that did just this (quite a while ago). I cannot remember which stack it was, but this would be a repeat loop where a whole set of these html entities will be converted. Perhaps he will chime in and remind us. Ken Ray has very good info on how to detect the platform and adjust the file path to work in Rev. http://sonsothunder.com/devres/revolution/revolution.htm About half way down the page are some goodies. Also, you should use the following: if not(there is a file tPathFilename) then answer "ooops" if not(there is a folder tFoldername) then answer "ooops" Hope this is of more help. I thought you were trying to move data in and out of Sql. Jim Ault Las Vegas From dave at looktowindward.com Thu Nov 1 19:27:38 2007 From: dave at looktowindward.com (Dave) Date: Thu, 1 Nov 2007 23:27:38 +0000 Subject: Problem with revExecuteSQL - More In-Reply-To: References: Message-ID: <46151944-B82B-462A-B3DB-80AC064D6572@looktowindward.com> Yo Jim, I knew someone would remember! Guess I've been on here to long to not think that! Thanks Y'All! I just knew it would be something like that. This is a place where the documentation is poor, just a mention about this in anyone of the "database" related topics of the online help would have made it sooooooooooooo much easier. This is my main gripe with RunRev really. There are three features that I've used lately (and not used before), advertised to death on the news letters, etc. And when you use them, god help you if you want to do anything other than the rather plain examples. As soon as you get into a "real-life" situation RunRev (in my experience) lets you down. Hours coding and design takes a day or more to get right, just because of the documentation and the lack of central place and bad support. Oh well such is life................... All take and thanks for the help, Eric if you read this and have the code, please send me a link??? All the Best Dave On 1 Nov 2007, at 22:41, Jim Ault wrote: > Sorry about that, Dave, I thought you were referring to the > INSERT command in Sql. My mistake. > >>> >>> Basically, you are including control characters in the data you are >>> trying >>> to store, so Sql does not see those characters as *data*. >> >> This has nothing to do with SQL, this is before the data is written, >> in fact I can insert the data ok. The problem is that some of the >> data has these weird characters. I am dealing with a "typical" >> MusicBase. From looking at the track that have these characters in >> then I'd say they came from a PC. I seem to remember somewhere now >> that said you have to do something to the data you wrote to ensure it >> will work on a Mac and PC. Does anyone remember?? > > The weird characters are the code for special characters in HTML > and XML. > Browsers will decode these so the view of the page will see only > the single > character represented. Your program has to do the same thing as a > browser, > parse the file paths to detect and convert these codes. > > Eric Chatonet wrote a web page tag cleaning routine that did just this > (quite a while ago). I cannot remember which stack it was, but > this would > be a repeat loop where a whole set of these html entities will be > converted. > Perhaps he will chime in and remind us. > > Ken Ray has very good info on how to detect the platform and adjust > the file > path to work in Rev. > http://sonsothunder.com/devres/revolution/revolution.htm > About half way down the page are some goodies. > > Also, you should use the following: > if not(there is a file tPathFilename) then answer "ooops" > > if not(there is a folder tFoldername) then answer "ooops" > > Hope this is of more help. I thought you were trying to move data > in and > out of Sql. > > Jim Ault > Las Vegas > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dave at looktowindward.com Thu Nov 1 19:31:24 2007 From: dave at looktowindward.com (Dave) Date: Thu, 1 Nov 2007 23:31:24 +0000 Subject: More problems with revExecuteSQL In-Reply-To: References: <4D6A0101-15BE-4691-9803-7AB1FA8FE2AB@looktowindward.com> <4729CC57.4040103@crcom.net> <20D7B6D0-3E8D-4851-8A3B-F476C9774EE3@looktowindward.com> Message-ID: <3CD8617D-97B8-4076-B6A1-FFDC7EDA8F2F@looktowindward.com> Thanks Trevor, I found it by experimenting and from what others had said. I then looked at your library stack and say the (very nicely formatted and well written code). I forgot I could use your library as an abstraction layer. All the Best Dave On 1 Nov 2007, at 14:07, Trevor DeVore wrote: > Dave, > > Variable substitution doesn't escape characters for in version of > Rev prior to 2.9. Just run all values you want to insert into the > database through a function such as the following. Note that the > PostGreSQL switch statement is based on what I read in the docs. I > haven't used PostGreSQL myself so I haven't tested it. > > -- > Trevor DeVore > Blue Mango Learning Systems > www.bluemangolearning.com - www.screensteps.com > > > > on _escapeStringByRef pDBType, @pString > switch word 1 of pDBType > case "valentina" > replace numtochar(92) with numtochar(92) & numtochar > (92) in pString --> \ to \\ > replace numtochar(39) with numtochar(39) & > numtochar(39) in pString --> ' to '' > break > > case "mysql" > replace numtochar(92) with numtochar(92) & numtochar > (92) in pString --> \ to \\ > replace numtochar(39) with numtochar(92) & > numtochar(39) in pString --> ' to \' > replace numtochar(34) with numtochar(92) & numtochar > (34) in pString --> " to \" > replace numtochar(0) with numtochar(92) & numtochar(48) > in pString --> NULL to \0 > replace numtochar(26) with numtochar(92) & numtochar > (90) in pString --> Control-Z to \Z > replace numtochar(10) with numtochar(92) & numtochar > (110) in pString --> newline to \n > replace numtochar(13) with numtochar(92) & numtochar > (114) in pString --> carriage return to \r > replace numtochar(9) with numtochar(92) & numtochar > (116) in pString --> tab to \t > replace numtochar(8) with numtochar(92) & numtochar(98) > in pString --> backspace to \b > break > case "postgresql" > replace numtochar(92) with numtochar(92) & numtochar > (92) in pString --> \ to \\ > replace numtochar(39) with numtochar(39) & > numtochar(39) in pString --> ' to '' > replace numtochar(12) with numtochar(92) & numtochar > (102) in pString --> formfeed to \f > replace numtochar(10) with numtochar(92) & numtochar > (110) in pString --> newline to \n > replace numtochar(13) with numtochar(92) & numtochar > (114) in pString --> carriage return to \r > replace numtochar(9) with numtochar(92) & numtochar > (116) in pString --> tab to \t > replace numtochar(8) with numtochar(92) & numtochar(98) > in pString --> backspace to \b > break > case "sqlite" > default > replace numtochar(39) with numtochar(39) & numtochar > (39) in pString --> ' to '' > break > end SWITCH > end _escapeStringByRef > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From luis at anachreon.co.uk Thu Nov 1 19:31:44 2007 From: luis at anachreon.co.uk (Luis) Date: Thu, 01 Nov 2007 23:31:44 +0000 Subject: "proof-of-concept" Revolution Online Open Dictionary at revcoders.org In-Reply-To: <20071101151213194810.d40a86b3@sonsothunder.com> References: <200711010740.37469.palcibiades-first@yahoo.co.uk> <8678400F-B2D6-4A5A-914C-D61B7C5E9235@dvcreators.net> <20071101151213194810.d40a86b3@sonsothunder.com> Message-ID: <472A61E0.8070401@anachreon.co.uk> Ken Ray wrote: > Of course this is only a proposed section of the full entry (there > would be the caveats on setting the menuMouseButton, info on using > 'popup' with stacks, syntax, etc.), but you get the idea. I know this > seems like a lot of description, and that veteran users will not get as > much (or any) benefit out of the explanations, but it is a *goldmine* > to anyone who's on the learning curve to Revolution. It gives them > something concrete to play with, explains why everything works the way > it does (to eliminate mystery), points them to other related tokens, > and IMHO gives them a sense of comfort and not trepidation about > learning the language. > > Just my 2 cents (of course), Thoroughly undersold. I would add a good few zeroes to that. Cheers, Luis. From luis at anachreon.co.uk Thu Nov 1 19:32:46 2007 From: luis at anachreon.co.uk (Luis) Date: Thu, 01 Nov 2007 23:32:46 +0000 Subject: "proof-of-concept" Revolution Online Open Dictionary at revcoders.org In-Reply-To: <9277A4A5-A560-418D-BB31-30213F2CF366@canelasoftware.com> References: <200711010740.37469.palcibiades-first@yahoo.co.uk> <8678400F-B2D6-4A5A-914C-D61B7C5E9235@dvcreators.net> <20071101151213194810.d40a86b3@sonsothunder.com> <9277A4A5-A560-418D-BB31-30213F2CF366@canelasoftware.com> Message-ID: <472A621E.3020500@anachreon.co.uk> If possible, then WikiBook it, parcel it up as a PDF for printing or purchase through something like Cafepress. Cheers, Luis. Mark Talluto wrote: > > On Nov 1, 2007, at 1:12 PM, Ken Ray wrote: > >> Of course this is only a proposed section of the full entry (there >> would be the caveats on setting the menuMouseButton, info on using >> 'popup' with stacks, syntax, etc.), but you get the idea. I know this >> seems like a lot of description, and that veteran users will not get as >> much (or any) benefit out of the explanations, but it is a *goldmine* >> to anyone who's on the learning curve to Revolution. It gives them >> something concrete to play with, explains why everything works the way >> it does (to eliminate mystery), points them to other related tokens, >> and IMHO gives them a sense of comfort and not trepidation about >> learning the language. > > > That was excellent! Reminds me of the SuperCard manual. I loved that > book. > > > Mark Talluto From briany at qldlearning.com Thu Nov 1 19:43:21 2007 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 1 Nov 2007 16:43:21 -0700 Subject: Problem with revExecuteSQL - More In-Reply-To: <46151944-B82B-462A-B3DB-80AC064D6572@looktowindward.com> References: <46151944-B82B-462A-B3DB-80AC064D6572@looktowindward.com> Message-ID: Dave, I feel your pain, but unfortunately I don't think it is possible for the Rev documentation to encompass all of the nuances of working with XML and databases. There are entire libraries dedicated to those subjects, and there are times when Rev will only be able to provide a bridge. It's always nice when the Rev docs can predict and document common tasks, but the reality is that if you are working with XML extensively, you'll want to grab a reference on XML (which would cover encoding/decoding special characters). Ditto for databases - Rev supports several, but can hardly document all of the nuances of each or even begin to deal with SQL in general. With that said, there is a bright side - the expertise of this list =) !!! - Brian > Yo Jim, > > I knew someone would remember! Guess I've been on here to long to > not think that! Thanks Y'All! > > I just knew it would be something like that. This is a place where > the documentation is poor, just a mention about this in anyone of > the "database" related topics of the online help would have made it > sooooooooooooo much easier. > > This is my main gripe with RunRev really. There are three features > that I've used lately (and not used before), advertised to death on > the news letters, etc. And when you use them, god help you if you > want to do anything other than the rather plain examples. As soon > as you get into a "real-life" situation RunRev (in my experience) > lets you down. > > Hours coding and design takes a day or more to get right, just > because of the documentation and the lack of central place and bad > support. > > Oh well such is life................... > > All take and thanks for the help, Eric if you read this and have > the code, please send me a link??? > > All the Best > Dave > > > On 1 Nov 2007, at 22:41, Jim Ault wrote: > >> Sorry about that, Dave, I thought you were referring to the >> INSERT command in Sql. My mistake. >> >>>> >>>> Basically, you are including control characters in the data you are >>>> trying >>>> to store, so Sql does not see those characters as *data*. >>> >>> This has nothing to do with SQL, this is before the data is written, >>> in fact I can insert the data ok. The problem is that some of the >>> data has these weird characters. I am dealing with a "typical" >>> MusicBase. From looking at the track that have these characters in >>> then I'd say they came from a PC. I seem to remember somewhere now >>> that said you have to do something to the data you wrote to >>> ensure it >>> will work on a Mac and PC. Does anyone remember?? >> >> The weird characters are the code for special characters in HTML >> and XML. >> Browsers will decode these so the view of the page will see only >> the single >> character represented. Your program has to do the same thing as a >> browser, >> parse the file paths to detect and convert these codes. >> >> Eric Chatonet wrote a web page tag cleaning routine that did just >> this >> (quite a while ago). I cannot remember which stack it was, but >> this would >> be a repeat loop where a whole set of these html entities will be >> converted. >> Perhaps he will chime in and remind us. >> >> Ken Ray has very good info on how to detect the platform and >> adjust the file >> path to work in Rev. >> http://sonsothunder.com/devres/revolution/revolution.htm >> About half way down the page are some goodies. >> >> Also, you should use the following: >> if not(there is a file tPathFilename) then answer "ooops" >> >> if not(there is a folder tFoldername) then answer "ooops" >> >> Hope this is of more help. I thought you were trying to move data >> in and >> out of Sql. >> >> Jim Ault >> Las Vegas >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution From JimAultWins at yahoo.com Thu Nov 1 21:03:50 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 01 Nov 2007 18:03:50 -0700 Subject: Problem with revExecuteSQL - More In-Reply-To: <46151944-B82B-462A-B3DB-80AC064D6572@looktowindward.com> Message-ID: On 11/1/07 4:27 PM, "Dave" wrote: > This is my main gripe with RunRev really. There are three features > that I've used lately (and not used before), advertised to death on > the news letters, etc. And when you use them, god help you if you > want to do anything other than the rather plain examples. As soon as > you get into a "real-life" situation RunRev (in my experience) lets > you down. > (hopefully everyone except Eric Chatonet will read this. He already knows this stuff. He wrote it.) The reality of the situation is that databases are many and have nothing to do with Rev docs. The "real-life" solutions you refer to almost always involve considerable study, such as syntax and encoding. There is no way Rev could document all of these areas. HOWEVER :-) see the next part --------------------- Don't forget to do the following: Open Rev, open Documentation, then click on Search, say yes to the update. Now you can search across the Dictionary {drop down menu choices } Mail Archive {drop down choices[ Gmane Nable Google etc] } RevOnline {drop down choices [RevNet RevOnline WebDatabase] } ....across sites (such as Eric Chatonet, Ken, Chipp) } Google {drop down choices [Google, MSN, Yahoo, etc]} RevOnline search will find example stacks. Click Display to download them. WebDatabase searching 'sql' finds Chipp, Trevor, Ken 'XML' finds 9 hits, one of which is a Scripting Conference stack by Rev on XML ----->The XML Guide is a comprehensive workshop that shows you how to use XML in Revolution. To download click here... right on the Rev web site! This stack was kindly contributed by Sarah Reichelt of TrozWare. --------------------------------- Rev Search was ** written by Eric Chatonet for Rev = very powerful !! Think of this list and Google as your friends when you begin to travel in the complex areas. For example, PHP is on virtually every web server, used by many thousands of programmers and is now at version 5.2+ The docs change frequently. Each version that is released has bugs, function and syntax changes, so that programmers have to constantly study the new docs and find their own ways to update older code. That's right, version 4.1.3 code will probably break if run on an updated server, even 4.4.4. In the PHP world, this is normal. I have done some Rev-XML parsing work recently, and had to dive into XML docs on the web and Sarah's stack to learn the standards. No way can Rev docs keep up with all the other communities. What are the three features you tried? XML? SQL? ?? Sql is beyond the Rev docs, but Rev allows us to connect easily with Sql databases. XML is beyond the Rev docs, even though you can build parsers, etc in Rev. > Hours coding and design takes a day or more to get right, just > because of the documentation and the lack of central place and bad > support 'Only a day or more'... wow! you are much faster than I am at getting my head around other protocols and languages. Jim Ault Las Vegas From dave at looktowindward.com Thu Nov 1 21:28:43 2007 From: dave at looktowindward.com (Dave) Date: Fri, 2 Nov 2007 01:28:43 +0000 Subject: Problem with revExecuteSQL - More In-Reply-To: References: <46151944-B82B-462A-B3DB-80AC064D6572@looktowindward.com> Message-ID: <423A0978-1C3E-4223-AAA5-85774261BD1B@looktowindward.com> On 1 Nov 2007, at 23:43, Brian Yennie wrote: > Dave, > > I feel your pain, but unfortunately I don't think it is possible > for the Rev documentation to encompass all of the nuances of > working with XML and databases. There are entire libraries > dedicated to those subjects, and there are times when Rev will only > be able to provide a bridge. > > It's always nice when the Rev docs can predict and document common > tasks, but the reality is that if you are working with XML > extensively, you'll want to grab a reference on XML (which would > cover encoding/decoding special characters). Ditto for databases - > Rev supports several, but can hardly document all of the nuances of > each or even begin to deal with SQL in general. > > With that said, there is a bright side - the expertise of this list > =) !!! Yes, but there really is no need for it. Right now this information could be posted online and integrated into the RunRev Doc window. Then *anyone* could post updates, hints, etc. By anyone I mean someone who has signed up and who is trusted. Newbies would have instant access to new info, etc. There would have to be rules and regs of course, but, lets get with 2007????? Cheers and thanks a lot for your help All the Best Dave From dave at looktowindward.com Thu Nov 1 21:29:52 2007 From: dave at looktowindward.com (Dave) Date: Fri, 2 Nov 2007 01:29:52 +0000 Subject: Problem with revExecuteSQL - More In-Reply-To: References: Message-ID: Thanks a bunch, I've been working like a dog on this project and this is a major milestone. Cheers! Take Care Dave On 2 Nov 2007, at 01:03, Jim Ault wrote: > On 11/1/07 4:27 PM, "Dave" wrote: >> This is my main gripe with RunRev really. There are three features >> that I've used lately (and not used before), advertised to death on >> the news letters, etc. And when you use them, god help you if you >> want to do anything other than the rather plain examples. As soon as >> you get into a "real-life" situation RunRev (in my experience) lets >> you down. >> > (hopefully everyone except Eric Chatonet will read this. He > already knows > this stuff. He wrote it.) > > The reality of the situation is that databases are many and have > nothing to > do with Rev docs. The "real-life" solutions you refer to almost > always > involve considerable study, such as syntax and encoding. There is > no way > Rev could document all of these areas. HOWEVER :-) see the next part > --------------------- > Don't forget to do the following: > Open Rev, open Documentation, then click on Search, say yes to the > update. > Now you can search across the > Dictionary {drop down menu choices } > Mail Archive {drop down choices[ Gmane Nable Google etc] } > RevOnline {drop down choices [RevNet RevOnline WebDatabase] } > ....across sites (such as Eric Chatonet, Ken, Chipp) } > Google {drop down choices [Google, MSN, Yahoo, etc]} > > RevOnline search will find example stacks. Click Display to > download them. > WebDatabase searching 'sql' finds Chipp, Trevor, Ken > 'XML' finds 9 hits, one of which is a Scripting Conference stack by > Rev on > XML > ----->The XML Guide is a comprehensive workshop that shows you how > to use > XML in Revolution. > To download click here... right on the Rev web site! > This stack was kindly contributed by Sarah Reichelt of TrozWare. > --------------------------------- > > Rev Search was ** written by Eric Chatonet for Rev = very powerful !! > > > > Think of this list and Google as your friends when you begin to > travel in > the complex areas. > > For example, PHP is on virtually every web server, used by many > thousands of > programmers and is now at version 5.2+ The docs change frequently. > > Each version that is released has bugs, function and syntax > changes, so that > programmers have to constantly study the new docs and find their > own ways to > update older code. That's right, version 4.1.3 code will probably > break if > run on an updated server, even 4.4.4. In the PHP world, this is > normal. > > I have done some Rev-XML parsing work recently, and had to dive > into XML > docs on the web and Sarah's stack to learn the standards. > > No way can Rev docs keep up with all the other communities. > > What are the three features you tried? XML? SQL? ?? > Sql is beyond the Rev docs, but Rev allows us to connect easily > with Sql > databases. > XML is beyond the Rev docs, even though you can build parsers, etc > in Rev. > >> Hours coding and design takes a day or more to get right, just >> because of the documentation and the lack of central place and bad >> support > 'Only a day or more'... wow! you are much faster than I am at > getting my > head around other protocols and languages. > > Jim Ault > Las Vegas > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dave at looktowindward.com Thu Nov 1 21:41:41 2007 From: dave at looktowindward.com (Dave) Date: Fri, 2 Nov 2007 01:41:41 +0000 Subject: Geometry in latest version of RunRev In-Reply-To: <4729EBA0.9060704@fourthworld.com> References: <4729EBA0.9060704@fourthworld.com> Message-ID: <6B221108-41E8-4800-A99E-C1E1D3D04B4F@looktowindward.com> On 1 Nov 2007, at 15:07, Richard Gaskin wrote: > Dave wrote: > >>> Sounds a lot like the GM to me. It handles a lot of basic >>> situations well. >> Yes, but at the drop of a hat it goes Beswick! > > That may not be merely a limitation of the GM, but possibly a bug. > Did you report it? It'd be interesting to run the sample stack > submitted with the report to find how it could be repaired. > > >>> There are three main ways to refer to objects with Rev: ordinal >>> number, name, or ID. > ... >>> Which of these three ways to refer to objects do you use? >> None of them! I set a "listen" (Based on a MessageID and >> MessageKind) in the object that wants to get the message, then I >> just send to this MessageID and MessageKind. The object receives >> the message, and, since it's running in the object's script, can >> use "me". > > I think I may be slow this morning, as I'm not following this method. > > The resizeStack message is sent to the card, not the controls on > the card. So how do these controls get notification to update > themselve without something referring to them without using one of > the three ways to refer to objects? Well, in this case the resizeStack message in the Card Script would send a "xxxResizeStack" message and any object listening for this message would get called. The calling handler would then resize itself using "me". No reference explicit reference to an object, therefore any object can be cut and pasted anywhere are they will still work and the place where they were removed from won't break. I developed a Library ages ago I call ISM. It allows objects to "listen" for messages on a certain key and another object to send message to this "key" and have all "listening" objects receive the message. For me, it's the only way to develop modular objects that I can more around at will with no or little backwork. > >> That way I can copy objects around, dupe them, whatever and other >> parts of the stack(s) don't break! > > If the resizeStack handlers are replicated in the objects > themselves, how do you handle situations like my example, where > some object positions are determined by others? > When the object gets initialized it sends a message saying what it where it is. > And in such a case, how would the object whose position is > dependent on another know the other object's position without > referring to it? The handler in the current object would refer to "me" and would receive messages telling it where the other objects it has to worry about are located and how to position itself relative to them. Doing it this way makes life a LOT easier! All the Best Dave From josh at dvcreators.net Fri Nov 2 04:21:46 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 2 Nov 2007 01:21:46 -0700 Subject: "proof-of-concept" Revolution Online Open Dictionary at revcoders.org In-Reply-To: <313B4421-4660-40F3-9C23-40B1522CBB99@dvcreators.net> References: <313B4421-4660-40F3-9C23-40B1522CBB99@dvcreators.net> Message-ID: <831B8C5C-A167-42EA-B94F-ACFE856FBBCA@dvcreators.net> I think this "proof-of-concept" experiment has now crossed the line into "no going back" :-) I have uploaded a stack here: http://revcoders.org/resources/revcoders_db_api.rev.zip It is a Revolution stack that: - filters a list of Revolution dictionary terms with each character typed in a search box - once a term is clicked on in the list, grabs the Revolution Open Access Dictionary term definition from the database along with all user-provided tips and code snippets for that term - allows you to add your own helpful tip, code snippet, caveat or link to your stack or webpage relevant to that term (try one of the below, those are the ones with comments so far) * vScroll * create folder * binaryEncode * binaryDecode * pendingMessages --------------------- features: - a scrolling group of groups - a "live search" text box - a smart scrollbar that turns on when needed - a demonstration of seamless interaction with a remote database Hope you enjoy it. PLEASE take a moment and add just one helpful tip or nifty code snippet to a term, it would be a valuable experiment to see how this could work. There is plenty yet to be done... please reply if you have suggestions for next steps, or what could be done to make it more useful than what you're using now, or would like to help. From josh at dvcreators.net Fri Nov 2 04:30:52 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 2 Nov 2007 01:30:52 -0700 Subject: "proof-of-concept" Revolution Online Open Dictionary at revcoders.org In-Reply-To: <20071101151213194810.d40a86b3@sonsothunder.com> References: <200711010740.37469.palcibiades-first@yahoo.co.uk> <8678400F-B2D6-4A5A-914C-D61B7C5E9235@dvcreators.net> <20071101151213194810.d40a86b3@sonsothunder.com> Message-ID: <8EE397C3-612A-4383-B60E-81CF90CC3A04@dvcreators.net> Hi Ken, That is a brilliant tutorial... and I understand what you mean by Lexical and Procedural indices. Give me a bit to get those things, and the link structure worked out... In the meantime, ROAD (Revolution Open Access Dictionary) is open for comments! Cheers Josh On Nov 1, 2007, at 1:12 PM, Ken Ray wrote: > On Thu, 1 Nov 2007 01:09:46 -0700, Josh Mellicker wrote: > >> Good example! >> >> I posted a code snippet to do this here: >> >> http://revcoders.org/vScroll/#comment-32 >> >> Of course, presently, you would have to know to look under >> "vscroll"... so I am working on a much better search page. >> >> For someone new to Revolution, the best thing is not reading the term >> dictionary, but a step-by-step tutorial that introduces the student >> to Revolution and the foundations of RAD, then guides them through >> the creation of a complete project, hands-on. Richard's idea of >> building a word processor is a good one, it covers many commonly used >> functions. >> >> The open dictionary is not for learning Revolution, it is for >> reference on specific terms for someone who has been through the >> basic tutorials and just needs examples of how to accomplish common >> tasks. > > Sorry to dissent here, Josh, but I think there's a middle-point that's > not being addressed. You'r correct that someone who is new to Rev > needs > tutorials to walk them through. But I think the "dictionary only" > approach addresses someone who is very familiar with the language, but > can't recall the syntax of a particular command, or like "I know > there's a property for buttons that does ___ but I don't know what > it's > called". > > The "gap" between the two is addressed by the Lexical and Procedural > indices to the Dictionary - it allows everyone (especially those from > the "newbie" through "almost intermediate" stages) to locate the > particular commands/functions/etc. for the task or object that they > want to work with by looking up synonyms to the tasks/etc. they > want to > accomplish and get redirected back to the actual language to get the > job done. > > Combine this with a handful of short, useful, *applicable* examples > for > each entry (whether initially provided or eventually provided by the > community), and people can cruise right along without frustration. > > For example, suppose someone wants to implement a contextual menu > on an > object. They should be able to look up "right-click", "control-click", > "contextual menu", "menu", etc. and have them all point back to the > "popup" command. The the popup command Dictionary entry would have an > example that shows how to use a contextual popup menu (which is the > primary reason for the popup command), including what object(s) > need to > be created, and script(s) are needed, and that (hopefully) could be > copied and pasted into their code if they want to try it out. > > Something similar to the current docs on the 'popup' command, but > perhaps more explanatory, like: > ------- > You can use the mouse button parameter of the 'mouseDown' message to > specify that a contextual menu (the menu that is displayed when the > user right-clicks (on Unix, Windows, or Mac OS/OS X systems), or > Control-clicks (Mac OS/OS X systems)) should appear. > > Example: Displaying a Contextual Menu For a Field > Scenario: You have a field that has text in it, and you'd like to > display a menu with "Cut", "Copy", and "Paste" options that is > based on > whether the user has any text selected. This example assumes that the > field that will display the contextual menu already exists, and > that it > is unlocked (the "Lock text" checkbox in then Inspector is unchecked). > Approach: (1) Create a popup menu button that will contain the > menu items for selection and hide it so the user doesn't see it; (2) > script it so that it will perform the correct actions when a menu item > is selected; (3) call it from the field using the 'popup' command. > > Step 1) Create a popup menu button, and set the following > properties: > Name: EditPop > Menu Items: Cut, Copy, Paste (each on its own > line) > Visible: Unchecked > TraversalOn*: False > > Step 2) Set the script of the popup button as follows: > > on menuPick pChoice > switch pChoice > case "Cut" > cut > break > case "Copy" > copy > break > case "Paste" > paste > break > end switch > end menuPick > > Step 3) Set the script of the field as follows: > > on mouseDown pButton > -- pButton is "3" if the user > right/control-clicks > if pButton is 3 then > popup button "EditPop" > else > -- allow the message to pass > pass mouseDown > end if > end mouseDown > > * In order to display a contextual menu in an unlocked field and > still maintain the current text selection, you need to make sure that > the 'traversalOn' property (displayed as "Focusable" on the Inspector > palette) of the popup menu button is set to 'false'. This is because > when a button is activated with the 'traversalOn' property set to > 'true', the focus is "stolen" from the object that currently has the > focus, which would remove the insertion point or any text selection > you > had in the field. > Currently the Inspector palette does not show "Focusable" as a > settable property for popup menu buttons (although it's displayed for > other kinds of buttons), so you will need to do this by using the > Message Box: Choose "Message Box" from the Tools menu, and type the > following line of script in the main (top) field and execute it by > hitting the Enter key: > > set the traversalOn of button "EditPop" to false > > What Happens: > When you 'mouseDown' on the field, the contextual menu > ("EditPop") will appear. When you select from that menu, the "EditPop" > popup button is sent a 'menuPick' message along with the name of the > menu item you selected. The popup button's script then handles what to > do based on the selected menu item. > > Special Considerations: > You will most likely need to adjust which items or enabled > or disabled in the contextual menu based on the current situation (for > example, you don't want to show "Cut" and "Copy" enabled if there > is no > current text selection, nor do you want to show "Paste" enabled if > there is no text on the clipboard). A good time to do that is just > before you execute the 'popup' command. For more on enabling/disabling > menu items in a popup menu, see the entries for 'disable menu' and > 'enable menu'. > > > ------- > > Of course this is only a proposed section of the full entry (there > would be the caveats on setting the menuMouseButton, info on using > 'popup' with stacks, syntax, etc.), but you get the idea. I know this > seems like a lot of description, and that veteran users will not > get as > much (or any) benefit out of the explanations, but it is a *goldmine* > to anyone who's on the learning curve to Revolution. It gives them > something concrete to play with, explains why everything works the way > it does (to eliminate mystery), points them to other related tokens, > and IMHO gives them a sense of comfort and not trepidation about > learning the language. > > Just my 2 cents (of course), > > 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 shaosean at wehostmacs.com Fri Nov 2 05:21:53 2007 From: shaosean at wehostmacs.com (Shao Sean) Date: Fri, 2 Nov 2007 05:21:53 -0400 Subject: [ANN] Script Editor Modification Message-ID: Personally I tend to use somewhat long handler names and as such they get truncated in the handler list of the script editor. I modified the script editor to include a splitter control between the handler list and the script area. This is for Rev 2.8 ONLY ! Screenshot < http://shaosean.tk/_resources/images/revscripteditor.png > Download < http://shaosean.tk/revide.php > Q&D Instructions - quit Rev - go to the "toolset" folder - move the "revscripteditor.rev" file some where safe - move in the copy you downloaded from the link above - relaunch Rev - enjoy :-) -Sean From josh at dvcreators.net Fri Nov 2 05:25:52 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 2 Nov 2007 02:25:52 -0700 Subject: "proof-of-concept" Revolution Online Open Dictionary at revcoders.org In-Reply-To: <831B8C5C-A167-42EA-B94F-ACFE856FBBCA@dvcreators.net> References: <313B4421-4660-40F3-9C23-40B1522CBB99@dvcreators.net> <831B8C5C-A167-42EA-B94F-ACFE856FBBCA@dvcreators.net> Message-ID: SORRY! There is a bug in this stack when sending multiline comments. So you cannot currently add comments with it :-( The website still works fine though :-) On Nov 2, 2007, at 1:21 AM, Josh Mellicker wrote: > I think this "proof-of-concept" experiment has now crossed the line > into "no going back" :-) > > > I have uploaded a stack here: > > http://revcoders.org/resources/revcoders_db_api.rev.zip > > > It is a Revolution stack that: > > - filters a list of Revolution dictionary terms with each > character typed in a search box > > - once a term is clicked on in the list, grabs the Revolution Open > Access Dictionary term definition from the database along with all > user-provided tips and code snippets for that term > > - allows you to add your own helpful tip, code snippet, caveat or > link to your stack or webpage relevant to that term > > (try one of the below, those are the ones with comments so far) > > * vScroll > * create folder > * binaryEncode > * binaryDecode > * pendingMessages > > --------------------- > > features: > > - a scrolling group of groups > > - a "live search" text box > > - a smart scrollbar that turns on when needed > > - a demonstration of seamless interaction with a remote database > > Hope you enjoy it. > > PLEASE take a moment and add just one helpful tip or nifty code > snippet to a term, it would be a valuable experiment to see how > this could work. > > There is plenty yet to be done... please reply if you have > suggestions for next steps, or what could be done to make it more > useful than what you're using now, or would like to help. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dave at looktowindward.com Fri Nov 2 06:09:16 2007 From: dave at looktowindward.com (Dave) Date: Fri, 2 Nov 2007 10:09:16 +0000 Subject: Problem with revExecuteSQL - More In-Reply-To: References: Message-ID: On 1 Nov 2007, at 22:41, Jim Ault wrote: > > The weird characters are the code for special characters in HTML > and XML. > Browsers will decode these so the view of the page will see only > the single > character represented. Your program has to do the same thing as a > browser, > parse the file paths to detect and convert these codes. > > Eric Chatonet wrote a web page tag cleaning routine that did just this > (quite a while ago). I cannot remember which stack it was, but > this would > be a repeat loop where a whole set of these html entities will be > converted. > Perhaps he will chime in and remind us. > > Ken Ray has very good info on how to detect the platform and adjust > the file > path to work in Rev. > http://sonsothunder.com/devres/revolution/revolution.htm > About half way down the page are some goodies Thanks a lot, I took a look I'm not sure which article you are referring to. Which section is it in? All the Best Dave > Also, you should use the following: > if not(there is a file tPathFilename) then answer "ooops" > > if not(there is a folder tFoldername) then answer "ooops" > > Hope this is of more help. I thought you were trying to move data > in and > out of Sql. I was and am, I thought the weird characters were caused when writing to the database, but it turns out to be a PC/Mac issue. > > Jim Ault > Las Vegas > All the Best Dave From eric.chatonet at sosmartsoftware.com Fri Nov 2 06:42:02 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 2 Nov 2007 11:42:02 +0100 Subject: Stripping html tags (was Re: Problem with revExecuteSQL - More) In-Reply-To: References: Message-ID: <67045B99-586D-4E04-8226-99194BD505CC@sosmartsoftware.com> Hi Jim and Dave, Sorry I did not read this thread too much... I should have :-) Not sure that I understand Dave's request because I have not read all novels posted in this thread :-) Probably, Jim makes an allusion to the StripTags function that is in the script of the unique card of the Rev Search Engine? I hope so... Best regards from Paris, Eric Chatonet. Le 2 nov. 07 ? 02:03, Jim Ault a ?crit : > On 11/1/07 4:27 PM, "Dave" wrote: >> This is my main gripe with RunRev really. There are three features >> that I've used lately (and not used before), advertised to death on >> the news letters, etc. And when you use them, god help you if you >> want to do anything other than the rather plain examples. As soon as >> you get into a "real-life" situation RunRev (in my experience) lets >> you down. >> > (hopefully everyone except Eric Chatonet will read this. He > already knows > this stuff. He wrote it.) > > The reality of the situation is that databases are many and have > nothing to > do with Rev docs. The "real-life" solutions you refer to almost > always > involve considerable study, such as syntax and encoding. There is > no way > Rev could document all of these areas. HOWEVER :-) see the next part > --------------------- > Don't forget to do the following: > Open Rev, open Documentation, then click on Search, say yes to the > update. > Now you can search across the > Dictionary {drop down menu choices } > Mail Archive {drop down choices[ Gmane Nable Google etc] } > RevOnline {drop down choices [RevNet RevOnline WebDatabase] } > ....across sites (such as Eric Chatonet, Ken, Chipp) } > Google {drop down choices [Google, MSN, Yahoo, etc]} > > RevOnline search will find example stacks. Click Display to > download them. > WebDatabase searching 'sql' finds Chipp, Trevor, Ken > 'XML' finds 9 hits, one of which is a Scripting Conference stack by > Rev on > XML > ----->The XML Guide is a comprehensive workshop that shows you how > to use > XML in Revolution. > To download click here... right on the Rev web site! > This stack was kindly contributed by Sarah Reichelt of TrozWare. > --------------------------------- > > Rev Search was ** written by Eric Chatonet for Rev = very powerful !! > > > > Think of this list and Google as your friends when you begin to > travel in > the complex areas. > > For example, PHP is on virtually every web server, used by many > thousands of > programmers and is now at version 5.2+ The docs change frequently. > > Each version that is released has bugs, function and syntax > changes, so that > programmers have to constantly study the new docs and find their > own ways to > update older code. That's right, version 4.1.3 code will probably > break if > run on an updated server, even 4.4.4. In the PHP world, this is > normal. > > I have done some Rev-XML parsing work recently, and had to dive > into XML > docs on the web and Sarah's stack to learn the standards. > > No way can Rev docs keep up with all the other communities. > > What are the three features you tried? XML? SQL? ?? > Sql is beyond the Rev docs, but Rev allows us to connect easily > with Sql > databases. > XML is beyond the Rev docs, even though you can build parsers, etc > in Rev. > >> Hours coding and design takes a day or more to get right, just >> because of the documentation and the lack of central place and bad >> support > 'Only a day or more'... wow! you are much faster than I am at > getting my > head around other protocols and languages. > > Jim Ault > Las Vegas ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From revolution at derbrill.de Fri Nov 2 07:25:22 2007 From: revolution at derbrill.de (Malte Brill) Date: Fri, 2 Nov 2007 12:25:22 +0100 Subject: [ANN] Script Editor Modification In-Reply-To: <20071102012956.B7967489BC1@mail.runrev.com> References: <20071102012956.B7967489BC1@mail.runrev.com> Message-ID: <6CCC4F98-F118-4990-95E8-66D7AB5B486F@derbrill.de> Hey S. Very nice patch! Many thanks for that!! Atb, Malte From eric.chatonet at sosmartsoftware.com Fri Nov 2 07:27:24 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 2 Nov 2007 12:27:24 +0100 Subject: ABout the Rev Search Engine (was: Re: Problem with revExecuteSQL - More) In-Reply-To: References: Message-ID: <3AA29155-272C-4574-AF8D-9CAF91C21F6C@sosmartsoftware.com> Hi all, The Rev Search Engine (that was first a plugin of mine named 'Resources Picker' prior Rev 2.7) is not easy to find unless you are curious enough to click on 'Search' (last button in Rev Docs tool bar) then explore it. The Rev Search Engine searches for information from 4 main sources: . Revolution documentation: FAQ*, sample scripts, dictionary, topics section* and cookbook* . Revolution related mailing lists. Additional links to Google Advanced Search, Gmane by threads, Mail Archive, users groups, etc. . Revolution related relevant web resources through a local customizable database. . Rev Online search using keywords . RevNet search using keywords . "All the Web" with a choice of three engines * That's true for the plugin available from my website but these options are disabled in the Rev IDE version. In addition, the Rev Search Engine provides goodies as giving you the list of recent stacks uploaded to RevOnline, images search on the web, Rev quick reference guides access, direct links to 'gurus' websites, etc. I can just say I use it myself very often especially to find some stuff about any precise topic. And AFAIK it always brings to me relevant results that enhance my knowledge :-) In a next version, I think of adding a Wikipedia search and convince Runrev to put back Jeanne de Voto cookbook, so valuable for beginners... Best regards from Paris, Eric Chatonet. Le 2 nov. 07 ? 02:03, Jim Ault a ?crit : > Don't forget to do the following: > Open Rev, open Documentation, then click on Search, say yes to the > update. > Now you can search across the > Dictionary {drop down menu choices } > Mail Archive {drop down choices[ Gmane Nable Google etc] } > RevOnline {drop down choices [RevNet RevOnline WebDatabase] } > ....across sites (such as Eric Chatonet, Ken, Chipp) } > Google {drop down choices [Google, MSN, Yahoo, etc]} > > RevOnline search will find example stacks. Click Display to > download them. > WebDatabase searching 'sql' finds Chipp, Trevor, Ken > 'XML' finds 9 hits, one of which is a Scripting Conference stack by > Rev on > XML > ----->The XML Guide is a comprehensive workshop that shows you how > to use > XML in Revolution. > To download click here... right on the Rev web site! ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From sarah.reichelt at gmail.com Fri Nov 2 07:45:10 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 2 Nov 2007 21:45:10 +1000 Subject: ABout the Rev Search Engine (was: Re: Problem with revExecuteSQL - More) In-Reply-To: <3AA29155-272C-4574-AF8D-9CAF91C21F6C@sosmartsoftware.com> References: <3AA29155-272C-4574-AF8D-9CAF91C21F6C@sosmartsoftware.com> Message-ID: > In a next version, I think of adding a Wikipedia search and convince > Runrev to put back Jeanne de Voto cookbook, so valuable for beginners... Eric, I agree entirely. The cookbook was brilliant and should have been expanded instead of dropped. Cheers, Sarah From eric.chatonet at sosmartsoftware.com Fri Nov 2 09:02:13 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 2 Nov 2007 14:02:13 +0100 Subject: Jeanne de Voto cookbook (was Re: ABout the Rev Search Engine (was: Re: Problem with revExecuteSQL - More)) In-Reply-To: References: <3AA29155-272C-4574-AF8D-9CAF91C21F6C@sosmartsoftware.com> Message-ID: Hi Sarah and all, Actually I have already asked Mark Waddingham to put back the cookbook (or let me doing it :-) in the next release of Rev. I would like all of you who know this valuable stuff (that was shipped until Rev 2.5 AFAIK) to post their feeling about a possible 'come back' on this list. Then it will be easier to convince Runrev. And, may be, Jeanne feeling also? :-) Le 2 nov. 07 ? 12:45, Sarah Reichelt a ?crit : >> In a next version, I think of adding a Wikipedia search and convince >> Runrev to put back Jeanne de Voto cookbook, so valuable for >> beginners... > > Eric, I agree entirely. The cookbook was brilliant and should have > been expanded instead of dropped. > > Cheers, > Sarah Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From devin_asay at byu.edu Fri Nov 2 10:05:56 2007 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 2 Nov 2007 08:05:56 -0600 Subject: "proof-of-concept" Revolution Online Open Dictionary at revcoders.org In-Reply-To: <831B8C5C-A167-42EA-B94F-ACFE856FBBCA@dvcreators.net> References: <313B4421-4660-40F3-9C23-40B1522CBB99@dvcreators.net> <831B8C5C-A167-42EA-B94F-ACFE856FBBCA@dvcreators.net> Message-ID: Great work, Josh! But we seem to have two competing (and very similar) efforts going on. There is Bj?rnke's very nice BvG Docu stack that was recently patched by Andre to allow web notes to be posted and displayed in the stack. See . I've been using Andre's patched version, and it's really quite slick. Would there be a way to combine the best of both worlds, to let Bj?rnke/Andre's project work with your online database, Josh? Bj?rnke's stack, being older, is farther along than yours, and that would free you up to concentrate on the web/backend pieces. Devin On Nov 2, 2007, at 2:21 AM, Josh Mellicker wrote: > I think this "proof-of-concept" experiment has now crossed the line > into "no going back" :-) > > > I have uploaded a stack here: > > http://revcoders.org/resources/revcoders_db_api.rev.zip > > > It is a Revolution stack that: > > - filters a list of Revolution dictionary terms with each > character typed in a search box > > - once a term is clicked on in the list, grabs the Revolution Open > Access Dictionary term definition from the database along with all > user-provided tips and code snippets for that term > > - allows you to add your own helpful tip, code snippet, caveat or > link to your stack or webpage relevant to that term > > (try one of the below, those are the ones with comments so far) > > * vScroll > * create folder > * binaryEncode > * binaryDecode > * pendingMessages > > --------------------- > > features: > > - a scrolling group of groups > > - a "live search" text box > > - a smart scrollbar that turns on when needed > > - a demonstration of seamless interaction with a remote database > > Hope you enjoy it. > > PLEASE take a moment and add just one helpful tip or nifty code > snippet to a term, it would be a valuable experiment to see how > this could work. > > There is plenty yet to be done... please reply if you have > suggestions for next steps, or what could be done to make it more > useful than what you're using now, or would like to help. On Oct. 27, 2007, at 06:54, Andre Garzia wrote : > Hello Friends, > > I've patched BvG Docu + Webnotes to work with my new server. Those > wanting to see this system working need to download again, my new > server uses a different scheme for the FTP users so the old login > can't be used. > > More info and download at: http://andregarzia.com/docuwebnotes.html > > Please take note that all the documentation stuff is done by BvG, I > just did the webnotes part. This system is naive, we could do > something better if we worked together. > > :-D > > anyway, it is a cool way to share information. There are some test > notes in there... > Devin Asay Humanities Technology and Research Support Center Brigham Young University From bvg at mac.com Fri Nov 2 10:19:23 2007 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 2 Nov 2007 15:19:23 +0100 Subject: "proof-of-concept" Revolution Online Open Dictionary at revcoders.org In-Reply-To: References: <313B4421-4660-40F3-9C23-40B1522CBB99@dvcreators.net> <831B8C5C-A167-42EA-B94F-ACFE856FBBCA@dvcreators.net> Message-ID: Secret black ops departement says: We are working on that... Bj?rnke says: I have not much time currently, but maybe I get a productive day next week... On 02 Nov 2007, at 15:05, Devin Asay wrote: > Great work, Josh! > > But we seem to have two competing (and very similar) efforts going on. > There is Bj?rnke's very nice BvG Docu stack that was recently patched > by Andre to allow web notes to be posted and displayed in the stack. > See . I've been using > Andre's patched version, and it's really quite slick. > > Would there be a way to combine the best of both worlds, to let > Bj?rnke/Andre's project work with your online database, Josh? > Bj?rnke's stack, being older, is farther along than yours, and that > would free you up to concentrate on the web/backend pieces. > > Devin > > On Nov 2, 2007, at 2:21 AM, Josh Mellicker wrote: > >> I think this "proof-of-concept" experiment has now crossed the line >> into "no going back" :-) >> >> >> I have uploaded a stack here: >> >> http://revcoders.org/resources/revcoders_db_api.rev.zip >> >> >> It is a Revolution stack that: >> >> - filters a list of Revolution dictionary terms with each character >> typed in a search box >> >> - once a term is clicked on in the list, grabs the Revolution Open >> Access Dictionary term definition from the database along with all >> user-provided tips and code snippets for that term >> >> - allows you to add your own helpful tip, code snippet, caveat or >> link to your stack or webpage relevant to that term >> >> (try one of the below, those are the ones with comments so far) >> >> * vScroll >> * create folder >> * binaryEncode >> * binaryDecode >> * pendingMessages >> >> --------------------- >> >> features: >> >> - a scrolling group of groups >> >> - a "live search" text box >> >> - a smart scrollbar that turns on when needed >> >> - a demonstration of seamless interaction with a remote database >> >> Hope you enjoy it. >> >> PLEASE take a moment and add just one helpful tip or nifty code >> snippet to a term, it would be a valuable experiment to see how this >> could work. >> >> There is plenty yet to be done... please reply if you have >> suggestions for next steps, or what could be done to make it more >> useful than what you're using now, or would like to help. > > On Oct. 27, 2007, at 06:54, Andre Garzia wrote : > >> Hello Friends, >> >> I've patched BvG Docu + Webnotes to work with my new server. Those >> wanting to see this system working need to download again, my new >> server uses a different scheme for the FTP users so the old login >> can't be used. >> >> More info and download at: http://andregarzia.com/docuwebnotes.html >> >> Please take note that all the documentation stuff is done by BvG, I >> just did the webnotes part. This system is naive, we could do >> something better if we worked together. >> >> :-D >> >> anyway, it is a cool way to share information. There are some test >> notes in there... >> > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From Roger.E.Eller at sealedair.com Fri Nov 2 10:27:09 2007 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Fri, 2 Nov 2007 10:27:09 -0400 Subject: [ANN] Script Editor Modification In-Reply-To: Message-ID: When I saw the png picture of this enhancement, I knew I HAD TO download it. Sadly, in WinXP it doesn't work (for me anyway). The split control is there, but I can't drag it over. I would be happy to test another version if you don't have XP. :-) Roger Eller From devin_asay at byu.edu Fri Nov 2 10:39:52 2007 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 2 Nov 2007 08:39:52 -0600 Subject: "proof-of-concept" Revolution Online Open Dictionary at revcoders.org In-Reply-To: References: <313B4421-4660-40F3-9C23-40B1522CBB99@dvcreators.net> <831B8C5C-A167-42EA-B94F-ACFE856FBBCA@dvcreators.net> Message-ID: <37B7832E-408B-4E71-A74A-D53BE1D554CA@byu.edu> On Nov 2, 2007, at 8:19 AM, Bj?rnke von Gierke wrote: > Secret black ops departement says: > We are working on that... Cool! I mean... Hey, look over there! Is that Halley's Comet? [slipping away into the shadows] Sssshhh! :-) Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From ambassador at fourthworld.com Fri Nov 2 10:41:37 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 02 Nov 2007 07:41:37 -0700 Subject: Jeanne de Voto cookbook (was Re: ABout the Rev Search Engine (was: Re: Problem with revExecuteSQL - More)) Message-ID: <472B3721.70600@fourthworld.com> Eric Chatonet wrote: > Actually I have already asked Mark Waddingham to put back the > cookbook (or let me doing it :-) in the next release of Rev. > I would like all of you who know this valuable stuff (that was > shipped until Rev 2.5 AFAIK) to post their feeling about a possible > 'come back' on this list. > Then it will be easier to convince Runrev. It may be easier to make a persuasive case if we knew their reasoning in dropping it. Does anyone here know? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From devin_asay at byu.edu Fri Nov 2 10:52:01 2007 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 2 Nov 2007 08:52:01 -0600 Subject: ABout the Rev Search Engine (was: Re: Problem with revExecuteSQL - More) In-Reply-To: References: <3AA29155-272C-4574-AF8D-9CAF91C21F6C@sosmartsoftware.com> Message-ID: <8045C355-442C-49E8-A65F-9A9FFE36D4C6@byu.edu> On Nov 2, 2007, at 5:45 AM, Sarah Reichelt wrote: >> In a next version, I think of adding a Wikipedia search and convince >> Runrev to put back Jeanne de Voto cookbook, so valuable for >> beginners... > > Eric, I agree entirely. The cookbook was brilliant and should have > been expanded instead of dropped. But isn't this the same material that's now in Documentation > Getting Started > Sample Scripts? If so, the issue is more about making it easier to find than about making it available. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From eric.chatonet at sosmartsoftware.com Fri Nov 2 11:41:17 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 2 Nov 2007 16:41:17 +0100 Subject: ABout the Rev Search Engine (was: Re: Problem with revExecuteSQL - More) In-Reply-To: <8045C355-442C-49E8-A65F-9A9FFE36D4C6@byu.edu> References: <3AA29155-272C-4574-AF8D-9CAF91C21F6C@sosmartsoftware.com> <8045C355-442C-49E8-A65F-9A9FFE36D4C6@byu.edu> Message-ID: Hi Devin, LOL and LOL... Actually Jeanne de Voto's cookbook is now the 'Sample scripts' section of the 'Getting started' section of the docs. You are completely right. In addition, the Rev Search Engine is able to search this section and displays all sample scripts where a specified keyword has been found. So what to say? Probably that accessing information in Rev is actually difficult even for me who wrote the Rev Search Engine ;-) FYI, Jeanne's cookbook has been transformed in custom properties in / Documentation/rev/scripts.rev Le 2 nov. 07 ? 15:52, Devin Asay a ?crit : > On Nov 2, 2007, at 5:45 AM, Sarah Reichelt wrote: > >>> In a next version, I think of adding a Wikipedia search and convince >>> Runrev to put back Jeanne de Voto cookbook, so valuable for >>> beginners... >> >> Eric, I agree entirely. The cookbook was brilliant and should have >> been expanded instead of dropped. > > But isn't this the same material that's now in Documentation > > Getting Started > Sample Scripts? If so, the issue is more about > making it easier to find than about making it available. > > Devin > > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From cmsheffield at gmail.com Fri Nov 2 11:58:54 2007 From: cmsheffield at gmail.com (Chris Sheffield) Date: Fri, 2 Nov 2007 09:58:54 -0600 Subject: Place to stash a text file in Vista thats shared by all users? In-Reply-To: <22DC97A6-16CA-40E9-9269-E05CC467A2B1@sosmartsoftware.com> References: <4729EE73.7010106@fourthworld.com> <60ED60EB-5BDC-4517-BB54-3F444D4EFC4D@gmail.com> <22DC97A6-16CA-40E9-9269-E05CC467A2B1@sosmartsoftware.com> Message-ID: <78900CCD-96A9-4C7F-AAAC-2FFE00FCB2B4@gmail.com> Hi Eric, Honestly I don't recall the exact circumstances, as it has now been some time ago. But my company was doing an update to our software back when Vista was first hitting the market, and we wanted everything to be Vista-compatible. We also needed a place to store a prefs file that was accessible to all users. We first went with C:\ProgramData, as that seemed to be the logical choice. However, after doing some testing, we discovered that in some cases, not all, and I'm still not totally sure why, our prefs file was getting virtualized, which of course was causing all kinds of strange things to happen with our program. All I was doing was writing the file to our own folder inside ProgramData. I'm not sure if it had something to do with the type of Vista installation or what. We were mostly testing on the Business and Ultimate flavors. But it was then that I had to research other locations and found Public Documents to be the best place. Not sure if that really answers your questions or not. :-) Chris -- Chris Sheffield Read Naturally, Inc. On Nov 1, 2007, at 10:24 AM, Eric Chatonet wrote: > hris and Richard, > > I was confronted with this problem and the 'horrible' way Vista > makes its own of all it wants as it wants. > But you know this too... > Sometimes, I do regret to not be obliged to work on my Mac only ;-) > > I had noticed that Norton LiveUpdate folder and others significant > data that have to be updated frequently were there... > And as far as I can agree (!!!) the way Vista makes its job, I > assume that C:/ProgramData (the name itself is significant) could be > the right place and it works for me AFAIK. > > Chris, you say that some files you put in it were nevertheless > virtualized? > It would be interesting to go to the bottom of this: can you share > circumstances when it happened? > > Best regards from Paris, > Eric Chatonet. From andre at andregarzia.com Fri Nov 2 12:01:16 2007 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 2 Nov 2007 13:01:16 -0300 Subject: ABout the Rev Search Engine (was: Re: Problem with revExecuteSQL - More) In-Reply-To: References: <3AA29155-272C-4574-AF8D-9CAF91C21F6C@sosmartsoftware.com> <8045C355-442C-49E8-A65F-9A9FFE36D4C6@byu.edu> Message-ID: <7c87a2a10711020901j2669f761ufa8f1e0d089e0d3@mail.gmail.com> The buried treasures of Revolution Documentation... After you master these, you can move to the secrets of undocumented calls and beyond! Cheers andre On 11/2/07, Eric Chatonet wrote: > Hi Devin, > > LOL and LOL... > Actually Jeanne de Voto's cookbook is now the 'Sample scripts' > section of the 'Getting started' section of the docs. > You are completely right. > In addition, the Rev Search Engine is able to search this section and > displays all sample scripts where a specified keyword has been found. > > So what to say? > Probably that accessing information in Rev is actually difficult even > for me who wrote the Rev Search Engine ;-) > > FYI, Jeanne's cookbook has been transformed in custom properties in / > Documentation/rev/scripts.rev > > Le 2 nov. 07 ? 15:52, Devin Asay a ?crit : > > > On Nov 2, 2007, at 5:45 AM, Sarah Reichelt wrote: > > > >>> In a next version, I think of adding a Wikipedia search and convince > >>> Runrev to put back Jeanne de Voto cookbook, so valuable for > >>> beginners... > >> > >> Eric, I agree entirely. The cookbook was brilliant and should have > >> been expanded instead of dropped. > > > > But isn't this the same material that's now in Documentation > > > Getting Started > Sample Scripts? If so, the issue is more about > > making it easier to find than about making it available. > > > > Devin > > > > > > Devin Asay > > Humanities Technology and Research Support Center > > Brigham Young University > > Best regards from Paris, > Eric Chatonet. > ---------------------------------------------------------------- > Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ > Email: eric.chatonet at sosmartsoftware.com/ > ---------------------------------------------------------------- > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From dave at looktowindward.com Fri Nov 2 12:08:44 2007 From: dave at looktowindward.com (Dave) Date: Fri, 2 Nov 2007 16:08:44 +0000 Subject: Stripping html tags (was Re: Problem with revExecuteSQL - More) In-Reply-To: <67045B99-586D-4E04-8226-99194BD505CC@sosmartsoftware.com> References: <67045B99-586D-4E04-8226-99194BD505CC@sosmartsoftware.com> Message-ID: <3CCD8AE2-6879-425C-9B1F-0B4DCAC997D5@looktowindward.com> Hi Eric, Yes, I'm sure thats the function we were talking about! Where can I get it from? Thanks a lot All the Best Dave On 2 Nov 2007, at 10:42, Eric Chatonet wrote: > Hi Jim and Dave, > > Sorry I did not read this thread too much... > I should have :-) > > Not sure that I understand Dave's request because I have not read > all novels posted in this thread :-) > Probably, Jim makes an allusion to the StripTags function that is > in the script of the unique card of the Rev Search Engine? > I hope so... > > Best regards from Paris, > Eric Chatonet. > > Le 2 nov. 07 ? 02:03, Jim Ault a ?crit : > >> On 11/1/07 4:27 PM, "Dave" wrote: >>> This is my main gripe with RunRev really. There are three features >>> that I've used lately (and not used before), advertised to death on >>> the news letters, etc. And when you use them, god help you if you >>> want to do anything other than the rather plain examples. As soon as >>> you get into a "real-life" situation RunRev (in my experience) lets >>> you down. >>> >> (hopefully everyone except Eric Chatonet will read this. He >> already knows >> this stuff. He wrote it.) >> >> The reality of the situation is that databases are many and have >> nothing to >> do with Rev docs. The "real-life" solutions you refer to almost >> always >> involve considerable study, such as syntax and encoding. There is >> no way >> Rev could document all of these areas. HOWEVER :-) see the next >> part >> --------------------- >> Don't forget to do the following: >> Open Rev, open Documentation, then click on Search, say yes to the >> update. >> Now you can search across the >> Dictionary {drop down menu choices } >> Mail Archive {drop down choices[ Gmane Nable Google etc] } >> RevOnline {drop down choices [RevNet RevOnline WebDatabase] } >> ....across sites (such as Eric Chatonet, Ken, Chipp) } >> Google {drop down choices [Google, MSN, Yahoo, etc]} >> >> RevOnline search will find example stacks. Click Display to >> download them. >> WebDatabase searching 'sql' finds Chipp, Trevor, Ken >> 'XML' finds 9 hits, one of which is a Scripting Conference stack >> by Rev on >> XML >> ----->The XML Guide is a comprehensive workshop that shows you how >> to use >> XML in Revolution. >> To download click here... right on the Rev web site! >> This stack was kindly contributed by Sarah Reichelt of TrozWare. >> --------------------------------- >> >> Rev Search was ** written by Eric Chatonet for Rev = very powerful !! >> >> >> >> Think of this list and Google as your friends when you begin to >> travel in >> the complex areas. >> >> For example, PHP is on virtually every web server, used by many >> thousands of >> programmers and is now at version 5.2+ The docs change frequently. >> >> Each version that is released has bugs, function and syntax >> changes, so that >> programmers have to constantly study the new docs and find their >> own ways to >> update older code. That's right, version 4.1.3 code will probably >> break if >> run on an updated server, even 4.4.4. In the PHP world, this is >> normal. >> >> I have done some Rev-XML parsing work recently, and had to dive >> into XML >> docs on the web and Sarah's stack to learn the standards. >> >> No way can Rev docs keep up with all the other communities. >> >> What are the three features you tried? XML? SQL? ?? >> Sql is beyond the Rev docs, but Rev allows us to connect easily >> with Sql >> databases. >> XML is beyond the Rev docs, even though you can build parsers, etc >> in Rev. >> >>> Hours coding and design takes a day or more to get right, just >>> because of the documentation and the lack of central place and bad >>> support >> 'Only a day or more'... wow! you are much faster than I am at >> getting my >> head around other protocols and languages. >> >> Jim Ault >> Las Vegas > > ---------------------------------------------------------------- > Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ > Email: eric.chatonet at sosmartsoftware.com/ > ---------------------------------------------------------------- > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bvg at mac.com Fri Nov 2 12:14:10 2007 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 2 Nov 2007 17:14:10 +0100 Subject: Jeanne de Voto cookbook (was Re: ABout the Rev Search Engine (was: Re: Problem with revExecuteSQL - More)) In-Reply-To: References: <3AA29155-272C-4574-AF8D-9CAF91C21F6C@sosmartsoftware.com> Message-ID: <2aadcf145bf677c8c59fd5b915d75afb@mac.com> I don't care much for the cookbook. However I really loved the "About" pages. Actually these where the single rreason why I became the Rev coder I am today. I personally prefer to learn stuff by association, and a single stop short (sometimes not short enough) description about how exactly the stuff I was trying to do could be in a broader concept teached me much. For example I was very quick to learn custom properties, but arrays took me ages (and arrays weren't covered in the "about..." pages). The PDF is a single document, not something I'd want to look trough to find out how to use custom properties and what they are. (especially If I don't know what they're called). So, who's gonna rewrite/update those for us? Bj?rnke On 02 Nov 2007, at 14:02, Eric Chatonet wrote: > Hi Sarah and all, > > Actually I have already asked Mark Waddingham to put back the cookbook > (or let me doing it :-) in the next release of Rev. > I would like all of you who know this valuable stuff (that was shipped > until Rev 2.5 AFAIK) to post their feeling about a possible 'come > back' on this list. > Then it will be easier to convince Runrev. > And, may be, Jeanne feeling also? > :-) > > Le 2 nov. 07 ? 12:45, Sarah Reichelt a ?crit : > >>> In a next version, I think of adding a Wikipedia search and convince >>> Runrev to put back Jeanne de Voto cookbook, so valuable for >>> beginners... >> >> Eric, I agree entirely. The cookbook was brilliant and should have >> been expanded instead of dropped. >> >> Cheers, >> Sarah > > Best regards from Paris, > Eric Chatonet. > ---------------------------------------------------------------- > Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ > Email: eric.chatonet at sosmartsoftware.com/ > ---------------------------------------------------------------- > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Fri Nov 2 12:17:58 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 02 Nov 2007 09:17:58 -0700 Subject: Stripping html tags (was Re: Problem with revExecuteSQL - More) Message-ID: <472B4DB6.6050000@fourthworld.com> Dave wrote: > Yes, I'm sure thats the function we were talking about! > > Where can I get it from? I don't know where that one resides, but when I need to strip HTML tags from text I just set the htmlText of a field and then get the text of that field. Ken Ray recently discovered this works with the templateField as well, so you don't need to rely on a physical field to do this: function html2text pHtml put the htmlText of the templateField into tSaveData set the htmlText of the templateField to pHtml get the text of the templateField set the htmlText of the templateField to tSaveData return it end html2Text -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From andre at andregarzia.com Fri Nov 2 12:18:25 2007 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 2 Nov 2007 13:18:25 -0300 Subject: "proof-of-concept" Revolution Online Open Dictionary at revcoders.org In-Reply-To: References: <313B4421-4660-40F3-9C23-40B1522CBB99@dvcreators.net> <831B8C5C-A167-42EA-B94F-ACFE856FBBCA@dvcreators.net> Message-ID: <7c87a2a10711020918o1810a917ofcf10da3380470d@mail.gmail.com> Hello Devin et al, To make this work well with Rev is fairly easy if we take a simple approach. I don't know what WIKI Josh is using but if he could have a unique URL to retrieve an HTML page for the comments for a given keyword then we could simply make a little RevBrowser window to display it. I was thinking about something like: revcoders.org/wiki/vScroll/comments --> returns an HTML with the comments for vScroll. Also I've noticed that on revcoders.org the pages are named with numbers, like 384.xml, is there a way to change that? It makes harder to cross link stuff from outside the wiki. If this can't be changed from inside wordpress, then, one can write a simple CGI and some entries in .htaccess file to make those smart URLs work, I have done this kind of work before. Cheers andre On 11/2/07, Devin Asay wrote: > Great work, Josh! > > But we seem to have two competing (and very similar) efforts going > on. There is Bj?rnke's very nice BvG Docu stack that was recently > patched by Andre to allow web notes to be posted and displayed in the > stack. See . I've been > using Andre's patched version, and it's really quite slick. > > Would there be a way to combine the best of both worlds, to let > Bj?rnke/Andre's project work with your online database, Josh? > Bj?rnke's stack, being older, is farther along than yours, and that > would free you up to concentrate on the web/backend pieces. > > Devin > -- http://www.andregarzia.com All We Do Is Code. From JimAultWins at yahoo.com Fri Nov 2 12:23:23 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 02 Nov 2007 09:23:23 -0700 Subject: Stripping html tags (was Re: Problem with revExecuteSQL - More) In-Reply-To: <67045B99-586D-4E04-8226-99194BD505CC@sosmartsoftware.com> Message-ID: On 11/2/07 3:42 AM, "Eric Chatonet" wrote: > Hi Jim and Dave, > > Sorry I did not read this thread too much... > I should have :-) > > Not sure that I understand Dave's request because I have not read all > novels posted in this thread :-) > Probably, Jim makes an allusion to the StripTags function that is in > the script of the unique card of the Rev Search Engine? > I hope so... Found the handler: this will strip tags and parse things like "'" Caution: It has been modified to work with a particular app I wrote, so step through it and adjust to your recipe. --watch out for the word wrap that your email client may have used function StripTags pHtml local tRegex,tPrevText get ("é,à,ç") get it & (",>,<,ê") get it & (",è,©,•") get it & (",',·,&") -- add more chars if you wish, then... constant kHtml = it constant kConvertedHtml = "?,?,?,>,<,?,?,?" --using contants means you cannot accidentally -- modify these vars and damage the results ----- replace numtochar(13) with empty in pHtml replace tab with empty in pHtml replace "","") into pHtml put replacetext(pHtml,"(?Usi)","") into pHtml put replacetext(pHtml,"(?Usi)<\?.*\?>","") into pHtml ----- replace " " with space in pHtml replace "
" with return in pHtml replace "

" with return in pHtml ----- put "<[^><]*>" into tRegex put replacetext(pHtml,tRegex,"") into pHtml put replacetext(pHtml,tRegex,"") into pHtml ----- repeat replacements until there are no changes repeat until tPrevText is pHtml put pHtml into tPrevText put replacetext(pHtml," +",space) into pHtml put replacetext(pHtml,"^ ","") into pHtml end repeat ----- replace (space & return) with return in pHtml replace (return & space) with return in pHtml filter pHtml without empty replace numtochar(160) with empty in pHtml ----- replace """ with quote in pHtml repeat with i = 1 to the number of items of kHtml replace item i of kHtml with item i of kConvertedHtml in pHtml end repeat ----- --put pHtml into msg --let's you see the result in the msg box return pHtml end StripTags Jim Ault Las Vegas From ambassador at fourthworld.com Fri Nov 2 12:29:30 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 02 Nov 2007 09:29:30 -0700 Subject: Geometry in latest version of RunRev Message-ID: <472B506A.5050808@fourthworld.com> Dave - > On 1 Nov 2007, at 15:07, Richard Gaskin wrote: >> That may not be merely a limitation of the GM, but possibly a bug. >> Did you report it? It'd be interesting to run the sample stack >> submitted with the report to find how it could be repaired. I missed your reply to this. If you have the BZ report # handy I'd be happy to post a verification to help expedite the fix. >> The resizeStack message is sent to the card, not the controls on >> the card. So how do these controls get notification to update >> themselve without something referring to them without using one of >> the three ways to refer to objects? > > Well, in this case the resizeStack message in the Card Script would > send a "xxxResizeStack" message and any object listening for this > message would get called. The calling handler would then resize > itself using "me". No reference explicit reference to an object, > therefore any object can be cut and pasted anywhere are they will > still work and the place where they were removed from won't break. > > I developed a Library ages ago I call ISM. It allows objects to > "listen" for messages on a certain key and another object to send > message to this "key" and have all "listening" objects receive the > message. > > For me, it's the only way to develop modular objects that I can more > around at will with no or little backwork. Interesting approach. I use a similar "listener" method for data binding, but for non-data controls I just use the native message path. But if you're getting the productivity you're after, more power to you. Good job. >> And in such a case, how would the object whose position is >> dependent on another know the other object's position without >> referring to it? > > The handler in the current object would refer to "me" and would > receive messages telling it where the other objects it has to worry > about are located and how to position itself relative to them. > > Doing it this way makes life a LOT easier! ...provided this system has some means of ensuring the order in which messages are sent. Do you flag the properties driving this in a way that maintains a predictable firing order? The firing order seems to be the weak part of the GM, and with complex interdependencies among object positions it can be daunting with a property-driven approach. Not impossible, but in addition to the other data it would also need to store an ordinal reference of some sort, since property array elements are not inherently ordered and of course object order is always subject to change. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From andre at andregarzia.com Fri Nov 2 12:32:41 2007 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 2 Nov 2007 13:32:41 -0300 Subject: Stripping html tags (was Re: Problem with revExecuteSQL - More) In-Reply-To: <472B4DB6.6050000@fourthworld.com> References: <472B4DB6.6050000@fourthworld.com> Message-ID: <7c87a2a10711020932y34226472vd6fe77c133c0ff12@mail.gmail.com> Richard, doesn't that function makes you loose markup that is not displayed by rev implementation of htmltext. For example, if you have

tag that is not understood by htmltext, do you still get its content when querying the text of the field? I don't know... Andre On 11/2/07, Richard Gaskin wrote: > Dave wrote: > > Yes, I'm sure thats the function we were talking about! > > > > Where can I get it from? > > I don't know where that one resides, but when I need to strip HTML tags > from text I just set the htmlText of a field and then get the text of > that field. > > Ken Ray recently discovered this works with the templateField as well, > so you don't need to rely on a physical field to do this: > > function html2text pHtml > put the htmlText of the templateField into tSaveData > set the htmlText of the templateField to pHtml > get the text of the templateField > set the htmlText of the templateField to tSaveData > return it > end html2Text > > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From eric.chatonet at sosmartsoftware.com Fri Nov 2 12:38:09 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 2 Nov 2007 17:38:09 +0100 Subject: Stripping html tags (was Re: Problem with revExecuteSQL - More) In-Reply-To: <472B4DB6.6050000@fourthworld.com> References: <472B4DB6.6050000@fourthworld.com> Message-ID: Hi Richard, Thanks to you for sharing this code snippet from Ken: I was not using the field method (we discussed about this may be two years ago) because, if I remember well (but it's a bit confused in my mind), we found it had to be placed in a substack to avoid some problem I don't even remember, etc. But using a virtual field sounds really great :-) Kudos to Ken to have had this illumination! I am not so surprised... Nevertheless, stripTags function can help because it is able to master special tags that may be Rev just suppress... This is for Andre :-) I saw that Jim posted the function a bit modified. The one used in the Rev Search Engine is, as I said, in the card's script and is not protected then accessible by all who have Rev 2.7 of later. Le 2 nov. 07 ? 17:17, Richard Gaskin a ?crit : > Dave wrote: >> Yes, I'm sure thats the function we were talking about! >> Where can I get it from? > > I don't know where that one resides, but when I need to strip HTML > tags from text I just set the htmlText of a field and then get the > text of that field. > > Ken Ray recently discovered this works with the templateField as > well, so you don't need to rely on a physical field to do this: > > function html2text pHtml > put the htmlText of the templateField into tSaveData > set the htmlText of the templateField to pHtml > get the text of the templateField > set the htmlText of the templateField to tSaveData > return it > end html2Text > > > -- > Richard Gaskin > Managing Editor, revJournal Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From josh at dvcreators.net Fri Nov 2 12:50:22 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 2 Nov 2007 09:50:22 -0700 Subject: "proof-of-concept" Revolution Online Open Dictionary at revcoders.org In-Reply-To: References: <313B4421-4660-40F3-9C23-40B1522CBB99@dvcreators.net> <831B8C5C-A167-42EA-B94F-ACFE856FBBCA@dvcreators.net> Message-ID: Hi Devin, I have been talking with Bj?rnke but my stack and system is not far enough along yet to merit any serious collaboration. Once I get some basic stuff nailed down, then absolutely! On Nov 2, 2007, at 7:05 AM, Devin Asay wrote: > Great work, Josh! > > But we seem to have two competing (and very similar) efforts going > on. There is Bj?rnke's very nice BvG Docu stack that was recently > patched by Andre to allow web notes to be posted and displayed in > the stack. See . I've > been using Andre's patched version, and it's really quite slick. > > Would there be a way to combine the best of both worlds, to let > Bj?rnke/Andre's project work with your online database, Josh? > Bj?rnke's stack, being older, is farther along than yours, and that > would free you up to concentrate on the web/backend pieces. > > Devin > > On Nov 2, 2007, at 2:21 AM, Josh Mellicker wrote: > >> I think this "proof-of-concept" experiment has now crossed the >> line into "no going back" :-) >> >> >> I have uploaded a stack here: >> >> http://revcoders.org/resources/revcoders_db_api.rev.zip >> >> >> It is a Revolution stack that: >> >> - filters a list of Revolution dictionary terms with each >> character typed in a search box >> >> - once a term is clicked on in the list, grabs the Revolution >> Open Access Dictionary term definition from the database along >> with all user-provided tips and code snippets for that term >> >> - allows you to add your own helpful tip, code snippet, caveat or >> link to your stack or webpage relevant to that term >> >> (try one of the below, those are the ones with comments so far) >> >> * vScroll >> * create folder >> * binaryEncode >> * binaryDecode >> * pendingMessages >> >> --------------------- >> >> features: >> >> - a scrolling group of groups >> >> - a "live search" text box >> >> - a smart scrollbar that turns on when needed >> >> - a demonstration of seamless interaction with a remote database >> >> Hope you enjoy it. >> >> PLEASE take a moment and add just one helpful tip or nifty code >> snippet to a term, it would be a valuable experiment to see how >> this could work. >> >> There is plenty yet to be done... please reply if you have >> suggestions for next steps, or what could be done to make it more >> useful than what you're using now, or would like to help. > > On Oct. 27, 2007, at 06:54, Andre Garzia wrote : > >> Hello Friends, >> >> I've patched BvG Docu + Webnotes to work with my new server. Those >> wanting to see this system working need to download again, my new >> server uses a different scheme for the FTP users so the old login >> can't be used. >> >> More info and download at: http://andregarzia.com/docuwebnotes.html >> >> Please take note that all the documentation stuff is done by BvG, I >> just did the webnotes part. This system is naive, we could do >> something better if we worked together. >> >> :-D >> >> anyway, it is a cool way to share information. There are some test >> notes in there... >> > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From josh at dvcreators.net Fri Nov 2 12:55:36 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 2 Nov 2007 09:55:36 -0700 Subject: "proof-of-concept" Revolution Online Open Dictionary at revcoders.org In-Reply-To: <7c87a2a10711020918o1810a917ofcf10da3380470d@mail.gmail.com> References: <313B4421-4660-40F3-9C23-40B1522CBB99@dvcreators.net> <831B8C5C-A167-42EA-B94F-ACFE856FBBCA@dvcreators.net> <7c87a2a10711020918o1810a917ofcf10da3380470d@mail.gmail.com> Message-ID: Hi Andre, I was working with a name approach, but terms like: $ @ ^ \ / and so on were NOT URL friendly! And causing problems getting to pages in a browser. (I thought about renaming these "dollar sign", "at symbol", etc, but that's too weird) So last night I switched to a number based page name... You are right, with .htaccess we could write lines of rewrite rules that would translate, that would be nice, for now I have a simple lookup table that you can get this way: put "SELECT post_title, ID from wp_posts WHERE post_type = 'post' ORDER BY post_title" into tSQL put send2db(tSQL) into tData replace "rowstart!|" with empty in tData With the 'send2db' handler you're good to go. This returns a list of term name & "|" & post number... On Nov 2, 2007, at 9:18 AM, Andre Garzia wrote: > Hello Devin et al, > > To make this work well with Rev is fairly easy if we take a simple > approach. I don't know what WIKI Josh is using but if he could have a > unique URL to retrieve an HTML page for the comments for a given > keyword then we could simply make a little RevBrowser window to > display it. > > I was thinking about something like: > revcoders.org/wiki/vScroll/comments --> returns an HTML with the > comments for vScroll. > > Also I've noticed that on revcoders.org the pages are named with > numbers, like 384.xml, is there a way to change that? It makes harder > to cross link stuff from outside the wiki. If this can't be changed > from inside wordpress, then, one can write a simple CGI and some > entries in .htaccess file to make those smart URLs work, I have done > this kind of work before. > > Cheers > andre > > > > On 11/2/07, Devin Asay wrote: >> Great work, Josh! >> >> But we seem to have two competing (and very similar) efforts going >> on. There is Bj?rnke's very nice BvG Docu stack that was recently >> patched by Andre to allow web notes to be posted and displayed in the >> stack. See . I've been >> using Andre's patched version, and it's really quite slick. >> >> Would there be a way to combine the best of both worlds, to let >> Bj?rnke/Andre's project work with your online database, Josh? >> Bj?rnke's stack, being older, is farther along than yours, and that >> would free you up to concentrate on the web/backend pieces. >> >> Devin >> > -- > 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 devin_asay at byu.edu Fri Nov 2 13:06:05 2007 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 2 Nov 2007 11:06:05 -0600 Subject: Jeanne de Voto cookbook (was Re: ABout the Rev Search Engine (was: Re: Problem with revExecuteSQL - More)) In-Reply-To: <2aadcf145bf677c8c59fd5b915d75afb@mac.com> References: <3AA29155-272C-4574-AF8D-9CAF91C21F6C@sosmartsoftware.com> <2aadcf145bf677c8c59fd5b915d75afb@mac.com> Message-ID: On Nov 2, 2007, at 10:14 AM, Bj?rnke von Gierke wrote: > I don't care much for the cookbook. > > However I really loved the "About" pages. Actually these where the > single rreason why I became the Rev coder I am today. I personally > prefer to learn stuff by association, and a single stop short > (sometimes not short enough) description about how exactly the > stuff I was trying to do could be in a broader concept teached me > much. For example I was very quick to learn custom properties, but > arrays took me ages (and arrays weren't covered in the "about..." > pages). Oh, arrays were covered, alright. In the section called "Containers, variables, and sources of value". Nowadays, it's in the PDF manual, in section 5.5.7, page 123. But that's just the point, isn't it? I dug around awhile before I found it. Once I did, the information was clear and helpful. So the issue is not "There isn't any documentation." It's "Where the heck do I learn about X?" Eric's Search Tool is a huge help, but it's an unappreciated, hidden gem. Right now there is no comprehensive search tool it the online docs that will search all of the documentation. That's the piece that's lacking, and that was better, frankly (if a bit slow) in versions pre 2.7. As I have compiled my tutorials for my students over the years (http://revolution.byu.edu), I have had to plow through all sorts of scattered, but high-quality docs. A killer search tool is what is needed. Regards, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From ambassador at fourthworld.com Fri Nov 2 13:30:26 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 02 Nov 2007 10:30:26 -0700 Subject: Jeanne de Voto cookbook (was Re: ABout the Rev Search Engine (was: Re: Problem with revExecuteSQL - More)) Message-ID: <472B5EB2.1050802@fourthworld.com> Devin Asay wrote: > Oh, arrays were covered, alright. In the section called "Containers, > variables, and sources of value". Nowadays, it's in the PDF manual, > in section 5.5.7, page 123. But that's just the point, isn't it? I > dug around awhile before I found it. Once I did, the information was > clear and helpful. So the issue is not "There isn't any > documentation." It's "Where the heck do I learn about X?" Eric's > Search Tool is a huge help, but it's an unappreciated, hidden gem. > Right now there is no comprehensive search tool it the online docs > that will search all of the documentation. That's the piece that's > lacking, and that was better, frankly (if a bit slow) in versions pre > 2.7. This leaves two options, either of which would benefit us: - RunRev would move the documentation back into a fully-Rev format, not only integrating it into as more cohesive whole but also inspiring the many developers who look to Rev as a solution for delivering hypermedia documents. - RunRev would develop a PFD decoder, which they could ue to make their PDFs searchable, and so could we in our own apps. I'd be very happy to see either solution. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Fri Nov 2 13:46:28 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 02 Nov 2007 10:46:28 -0700 Subject: Stripping html tags (was Re: Problem with revExecuteSQL - More) Message-ID: <472B6274.6030908@fourthworld.com> Andre Garzia wrote: > doesn't that function makes you loose markup that is not displayed by > rev implementation of htmltext. For example, if you have
tag > that is not understood by htmltext, do you still get its content when > querying the text of the field? Good question. I just opened up my tester stack, which has a field containing styled text which is used as the source htmlText. Right after I put the htmlText of that field into a var named tData, I added this line: put "
Some DIV data
"&cr before tData Both my and Jim's stripper functions return the same result, which includes in the first line: Some DIV data There may be other tags which don't work well, and I'd be interested if we could find specific examples. But IIRC, for tags Rev doesn't interpret when setting htmlText, it doesn't display the tag but does display the content. This has been a long-standing annoyance with the engine among some people, because it renders the content of elements like which are not normally seen in a browser but would be seen in a Rev field. But if the rule is indeed "When in doubt, leave it in" it would seem more beneficial for the greatest number of uses, since it's easy enough to strip any specific unwanted elements. This discussion had me wondering, "What does Rev do about comments?", so I added this line and ran my test again: put ""&cr before tData Interestingly, it seems comments are removed when rendered as htmlText, which seems appropriate for most uses. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From eric.chatonet at sosmartsoftware.com Fri Nov 2 13:51:45 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 2 Nov 2007 18:51:45 +0100 Subject: Jeanne de Voto cookbook (was Re: ABout the Rev Search Engine (was: Re: Problem with revExecuteSQL - More)) In-Reply-To: <472B5EB2.1050802@fourthworld.com> References: <472B5EB2.1050802@fourthworld.com> Message-ID: <37EFC9F0-E627-41ED-86BE-F9194A6F35F8@sosmartsoftware.com> May be Jan Schenkel could have an idea? :-) Adobe products (Mac or PC) allow to search a pdf document and, for instance, searching for 'Array' in the pdf doc, the first entry displayed is 5.5.6 Special Variable Types page 120... So the problem is elsewhere: Probably most people need to be taken by the hand and this is named ergonomics :-) Le 2 nov. 07 ? 18:30, Richard Gaskin a ?crit : > Devin Asay wrote: > >> Oh, arrays were covered, alright. In the section called >> "Containers, variables, and sources of value". Nowadays, it's in >> the PDF manual, in section 5.5.7, page 123. But that's just the >> point, isn't it? I dug around awhile before I found it. Once I >> did, the information was clear and helpful. So the issue is not >> "There isn't any documentation." It's "Where the heck do I learn >> about X?" Eric's Search Tool is a huge help, but it's an >> unappreciated, hidden gem. Right now there is no comprehensive >> search tool it the online docs that will search all of the >> documentation. That's the piece that's lacking, and that was >> better, frankly (if a bit slow) in versions pre 2.7. > > This leaves two options, either of which would benefit us: > > - RunRev would move the documentation back into a fully-Rev > format, not only integrating it into as more cohesive > whole but also inspiring the many developers who look to > Rev as a solution for delivering hypermedia documents. > > - RunRev would develop a PFD decoder, which they could ue > to make their PDFs searchable, and so could we in our > own apps. > > I'd be very happy to see either solution. > > -- > Richard Gaskin > Managing Editor, revJournal Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From josh at dvcreators.net Fri Nov 2 14:11:16 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 2 Nov 2007 11:11:16 -0700 Subject: "proof-of-concept" Revolution Online Open Dictionary at revcoders.org In-Reply-To: <831B8C5C-A167-42EA-B94F-ACFE856FBBCA@dvcreators.net> References: <313B4421-4660-40F3-9C23-40B1522CBB99@dvcreators.net> <831B8C5C-A167-42EA-B94F-ACFE856FBBCA@dvcreators.net> Message-ID: <610C03C6-9ECC-45D2-82BD-8AE6DF542A59@dvcreators.net> FIXED! The below stack now adds comments. http://revcoders.org/resources/revcoders_db_api.rev.zip By the way, this stack interacts with the remote database by sending data encrypted with blowfish-ecb at 128 bit to a serverside PHP script. The PHP script decrypts, filters out potentially harmful commands, and passes the command along to the database, then returns results to Rev. From my tests so far there is no performance hit, it works great! And far more secure than a database which is open to any command. From mdswindell at cruzio.com Fri Nov 2 14:52:37 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Fri, 2 Nov 2007 11:52:37 -0700 Subject: ABout the Rev Search Engine (was: Re: Problem with revExecuteSQL - More) In-Reply-To: References: <3AA29155-272C-4574-AF8D-9CAF91C21F6C@sosmartsoftware.com> <8045C355-442C-49E8-A65F-9A9FFE36D4C6@byu.edu> Message-ID: <6E8A9A49-3907-4FAE-B5EB-699753E366B1@cruzio.com> Funny, this. Just the other day I came across the "cookbook" as a link in the Scripter's Conference stacks (a great, but also disjointed resource). I was impressed, and surprised that I had never seen it. Come to snoop a little deeper, and I discovered it was indeed a part of the documentation, but in a place I'd never persevered in exploring before (some of the other links there are for videos, which I don't like at all, and wanted me to download plugins that I didn't want to download). There is so much good stuff, but integration remains the issue. Mark On Nov 2, 2007, at 8:41 AM, Eric Chatonet wrote: > Actually Jeanne de Voto's cookbook is now the 'Sample scripts' > section of the 'Getting started' section of the docs. > You are completely right. > In addition, the Rev Search Engine is able to search this section > and displays all sample scripts where a specified keyword has been > found. > > So what to say? -Mark From mdswindell at cruzio.com Fri Nov 2 14:54:55 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Fri, 2 Nov 2007 11:54:55 -0700 Subject: "proof-of-concept" Revolution Online Open Dictionary at revcoders.org In-Reply-To: <610C03C6-9ECC-45D2-82BD-8AE6DF542A59@dvcreators.net> References: <313B4421-4660-40F3-9C23-40B1522CBB99@dvcreators.net> <831B8C5C-A167-42EA-B94F-ACFE856FBBCA@dvcreators.net> <610C03C6-9ECC-45D2-82BD-8AE6DF542A59@dvcreators.net> Message-ID: <19FC91D0-95F1-47CA-9AC3-20E548B850B6@cruzio.com> Nice! On Nov 2, 2007, at 11:11 AM, Josh Mellicker wrote: > FIXED! > > The below stack now adds comments. > > http://revcoders.org/resources/revcoders_db_api.rev.zip > > > By the way, this stack interacts with the remote database by > sending data encrypted with blowfish-ecb at 128 bit to a serverside > PHP script. The PHP script decrypts, filters out potentially > harmful commands, and passes the command along to the database, > then returns results to Rev. > > From my tests so far there is no performance hit, it works great! > And far more secure than a database which is open to any command. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -Mark From wdurden at gmail.com Fri Nov 2 15:15:45 2007 From: wdurden at gmail.com (wayne durden) Date: Fri, 2 Nov 2007 15:15:45 -0400 Subject: Jeanne de Voto cookbook (was Re: ABout the Rev Search Engine (was: Re: Problem with revExecuteSQL - More)) In-Reply-To: <37EFC9F0-E627-41ED-86BE-F9194A6F35F8@sosmartsoftware.com> References: <472B5EB2.1050802@fourthworld.com> <37EFC9F0-E627-41ED-86BE-F9194A6F35F8@sosmartsoftware.com> Message-ID: <29bc7bd40711021215j179c44fcldaffda95c2f00a1b@mail.gmail.com> The bottom line is it's one of those Christopher Alexander Pattern Language problems... There is an overall quality of goodness we can't really capture from any one aspect, we just know what we have had so far isn't quite it... Longness or shortness, I don't know. I got immense value out of both the Hypercard Handbook and conversely Lon Poole's little bitty book that summarized with an example virtually all of the commands. That was actually my favorite, and because it was so small, I would page through it manually and learn things about commands I didn't even know. That's what I feel I need most, but at the same time absolutely new users might need some Hypercard Handbook introduction to the architectural concepts of stack based software... I have not seen this Supercard manual, but from the commentary, I would like to now. Surely at least all this focus is moving things in the right direction! Wayne On Nov 2, 2007 1:51 PM, Eric Chatonet wrote: > May be Jan Schenkel could have an idea? > :-) > > Adobe products (Mac or PC) allow to search a pdf document and, for > instance, searching for 'Array' in the pdf doc, the first entry > displayed is 5.5.6 Special Variable Types page 120... > So the problem is elsewhere: > Probably most people need to be taken by the hand and this is named > ergonomics :-) > > Le 2 nov. 07 ? 18:30, Richard Gaskin a ?crit : > > > Devin Asay wrote: > > > >> Oh, arrays were covered, alright. In the section called > >> "Containers, variables, and sources of value". Nowadays, it's in > >> the PDF manual, in section 5.5.7, page 123. But that's just the > >> point, isn't it? I dug around awhile before I found it. Once I > >> did, the information was clear and helpful. So the issue is not > >> "There isn't any documentation." It's "Where the heck do I learn > >> about X?" Eric's Search Tool is a huge help, but it's an > >> unappreciated, hidden gem. Right now there is no comprehensive > >> search tool it the online docs that will search all of the > >> documentation. That's the piece that's lacking, and that was > >> better, frankly (if a bit slow) in versions pre 2.7. > > > > This leaves two options, either of which would benefit us: > > > > - RunRev would move the documentation back into a fully-Rev > > format, not only integrating it into as more cohesive > > whole but also inspiring the many developers who look to > > Rev as a solution for delivering hypermedia documents. > > > > - RunRev would develop a PFD decoder, which they could ue > > to make their PDFs searchable, and so could we in our > > own apps. > > > > I'd be very happy to see either solution. > > > > -- > > Richard Gaskin > > Managing Editor, revJournal > > Best regards from Paris, > Eric Chatonet. > ---------------------------------------------------------------- > Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ > Email: eric.chatonet at sosmartsoftware.com/ > ---------------------------------------------------------------- > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From josh at dvcreators.net Fri Nov 2 16:04:02 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 2 Nov 2007 13:04:02 -0700 Subject: "proof-of-concept" Revolution Open Access Dictionary at revcoders.org In-Reply-To: <19FC91D0-95F1-47CA-9AC3-20E548B850B6@cruzio.com> References: <313B4421-4660-40F3-9C23-40B1522CBB99@dvcreators.net> <831B8C5C-A167-42EA-B94F-ACFE856FBBCA@dvcreators.net> <610C03C6-9ECC-45D2-82BD-8AE6DF542A59@dvcreators.net> <19FC91D0-95F1-47CA-9AC3-20E548B850B6@cruzio.com> Message-ID: <257A6BD4-437E-44B4-B6E8-6F363FE53DB9@dvcreators.net> Just uploaded another version... This one just uses the Wordpress post function, so it is a lot cleaner. Comments now open for business at ROAD (Revolution Open Access Dictionary)! My apologies for the snafu last night. If you could take a moment and contribute a small tip or code snippet on a term, just to help gauge what the future usefulness of this might be, it would be very much appreciated! p.s. you can use the stack here: http://revcoders.org/resources/revcoders_db_api.rev.zip or just the website if you prefer: http://revcoders.org On Nov 2, 2007, at 11:54 AM, Mark Swindell wrote: > Nice! > > On Nov 2, 2007, at 11:11 AM, Josh Mellicker wrote: > >> FIXED! >> >> The below stack now adds comments. >> >> http://revcoders.org/resources/revcoders_db_api.rev.zip >> >> >> By the way, this stack interacts with the remote database by >> sending data encrypted with blowfish-ecb at 128 bit to a >> serverside PHP script. The PHP script decrypts, filters out >> potentially harmful commands, and passes the command along to the >> database, then returns results to Rev. >> >> From my tests so far there is no performance hit, it works great! >> And far more secure than a database which is open to any command. >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > -Mark > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jperryl at ecs.fullerton.edu Fri Nov 2 16:32:13 2007 From: jperryl at ecs.fullerton.edu (User) Date: Fri, 2 Nov 2007 13:32:13 -0700 (PDT) Subject: Flipped PNG loses transparency?? In-Reply-To: <257A6BD4-437E-44B4-B6E8-6F363FE53DB9@dvcreators.net> References: <313B4421-4660-40F3-9C23-40B1522CBB99@dvcreators.net> <831B8C5C-A167-42EA-B94F-ACFE856FBBCA@dvcreators.net> <610C03C6-9ECC-45D2-82BD-8AE6DF542A59@dvcreators.net> <19FC91D0-95F1-47CA-9AC3-20E548B850B6@cruzio.com> <257A6BD4-437E-44B4-B6E8-6F363FE53DB9@dvcreators.net> Message-ID: Is this a known issue? It's only happening with a PNG prepared in Photoshop Elements. I import it, duplicate it, and take one of the duplicates and use the flip feature in the menu... It stays transparent while on that card, but if I navigate away and come back, the transparency is lost on just that one image. Kindest thanks, Judy From mdswindell at cruzio.com Fri Nov 2 17:06:01 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Fri, 2 Nov 2007 14:06:01 -0700 Subject: "proof-of-concept" Revolution Open Access Dictionary at revcoders.org In-Reply-To: <257A6BD4-437E-44B4-B6E8-6F363FE53DB9@dvcreators.net> References: <313B4421-4660-40F3-9C23-40B1522CBB99@dvcreators.net> <831B8C5C-A167-42EA-B94F-ACFE856FBBCA@dvcreators.net> <610C03C6-9ECC-45D2-82BD-8AE6DF542A59@dvcreators.net> <19FC91D0-95F1-47CA-9AC3-20E548B850B6@cruzio.com> <257A6BD4-437E-44B4-B6E8-6F363FE53DB9@dvcreators.net> Message-ID: <33A72251-7198-4C8B-A094-A8EB90E89C48@cruzio.com> There is no place to type in anything... no empty gray box to type in anything helpful (or not). :( Mac OS X 10.4 Intel MacBook Pro, 2.9.0 dp 1 Mark On Nov 2, 2007, at 1:04 PM, Josh Mellicker wrote: > Just uploaded another version... > > This one just uses the Wordpress post function, so it is a lot > cleaner. > > Comments now open for business at ROAD (Revolution Open Access > Dictionary)! > > My apologies for the snafu last night. > > If you could take a moment and contribute a small tip or code > snippet on a term, just to help gauge what the future usefulness of > this might be, it would be very much appreciated! > > > p.s. you can use the stack here: > > http://revcoders.org/resources/revcoders_db_api.rev.zip > > > or just the website if you prefer: > > http://revcoders.org > > > > On Nov 2, 2007, at 11:54 AM, Mark Swindell wrote: > >> Nice! >> >> On Nov 2, 2007, at 11:11 AM, Josh Mellicker wrote: >> >>> FIXED! >>> >>> The below stack now adds comments. >>> >>> http://revcoders.org/resources/revcoders_db_api.rev.zip >>> >>> >>> By the way, this stack interacts with the remote database by >>> sending data encrypted with blowfish-ecb at 128 bit to a >>> serverside PHP script. The PHP script decrypts, filters out >>> potentially harmful commands, and passes the command along to the >>> database, then returns results to Rev. >>> >>> From my tests so far there is no performance hit, it works great! >>> And far more secure than a database which is open to any command. >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> -Mark >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -Mark From ambassador at fourthworld.com Fri Nov 2 17:38:02 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 02 Nov 2007 14:38:02 -0700 Subject: Option controls on Windows Message-ID: <472B98BA.3060800@fourthworld.com> On Windows it's possible to tab to an option control, hit the space bar to pop up its menu, use the arrow keys to navigate that menu, then hit the space bar or Enter key to set the selection. Except in Reg. :( If what I'm seeing is true, Rev does not send the menuPick message when an option control has a new value selected via these keyboard shortcuts. Anyone there see otherwise? Is there a workaround? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From josh at dvcreators.net Fri Nov 2 18:25:30 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 2 Nov 2007 15:25:30 -0700 Subject: "proof-of-concept" Revolution Open Access Dictionary at revcoders.org In-Reply-To: <33A72251-7198-4C8B-A094-A8EB90E89C48@cruzio.com> References: <313B4421-4660-40F3-9C23-40B1522CBB99@dvcreators.net> <831B8C5C-A167-42EA-B94F-ACFE856FBBCA@dvcreators.net> <610C03C6-9ECC-45D2-82BD-8AE6DF542A59@dvcreators.net> <19FC91D0-95F1-47CA-9AC3-20E548B850B6@cruzio.com> <257A6BD4-437E-44B4-B6E8-6F363FE53DB9@dvcreators.net> <33A72251-7198-4C8B-A094-A8EB90E89C48@cruzio.com> Message-ID: <2865C934-3909-40A3-AD84-0402BF8042D0@dvcreators.net> Hi Mark, Did you click on a term in the list on the left? Thanks On Nov 2, 2007, at 2:06 PM, Mark Swindell wrote: > There is no place to type in anything... no empty gray box to type > in anything helpful (or not). :( > > Mac OS X 10.4 Intel MacBook Pro, 2.9.0 dp 1 > > Mark > > On Nov 2, 2007, at 1:04 PM, Josh Mellicker wrote: > >> Just uploaded another version... >> >> This one just uses the Wordpress post function, so it is a lot >> cleaner. >> >> Comments now open for business at ROAD (Revolution Open Access >> Dictionary)! >> >> My apologies for the snafu last night. >> >> If you could take a moment and contribute a small tip or code >> snippet on a term, just to help gauge what the future usefulness >> of this might be, it would be very much appreciated! >> >> >> p.s. you can use the stack here: >> >> http://revcoders.org/resources/revcoders_db_api.rev.zip >> >> >> or just the website if you prefer: >> >> http://revcoders.org >> >> >> >> On Nov 2, 2007, at 11:54 AM, Mark Swindell wrote: >> >>> Nice! >>> >>> On Nov 2, 2007, at 11:11 AM, Josh Mellicker wrote: >>> >>>> FIXED! >>>> >>>> The below stack now adds comments. >>>> >>>> http://revcoders.org/resources/revcoders_db_api.rev.zip >>>> >>>> >>>> By the way, this stack interacts with the remote database by >>>> sending data encrypted with blowfish-ecb at 128 bit to a >>>> serverside PHP script. The PHP script decrypts, filters out >>>> potentially harmful commands, and passes the command along to >>>> the database, then returns results to Rev. >>>> >>>> From my tests so far there is no performance hit, it works >>>> great! And far more secure than a database which is open to any >>>> command. >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>> >>> -Mark >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > -Mark > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mdswindell at cruzio.com Fri Nov 2 18:35:10 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Fri, 2 Nov 2007 15:35:10 -0700 Subject: "proof-of-concept" Revolution Open Access Dictionary at revcoders.org In-Reply-To: <2865C934-3909-40A3-AD84-0402BF8042D0@dvcreators.net> References: <313B4421-4660-40F3-9C23-40B1522CBB99@dvcreators.net> <831B8C5C-A167-42EA-B94F-ACFE856FBBCA@dvcreators.net> <610C03C6-9ECC-45D2-82BD-8AE6DF542A59@dvcreators.net> <19FC91D0-95F1-47CA-9AC3-20E548B850B6@cruzio.com> <257A6BD4-437E-44B4-B6E8-6F363FE53DB9@dvcreators.net> <33A72251-7198-4C8B-A094-A8EB90E89C48@cruzio.com> <2865C934-3909-40A3-AD84-0402BF8042D0@dvcreators.net> Message-ID: <3C332398-1639-4BB9-BEF4-657543818A3D@cruzio.com> Hmmmm... I certainly thought I had. But I just restarted Rev and and looked again, and now the fields are available. So... maybe I didn't... But until I clicked on an entry even the center definition field was blank, and I don't believe that was the case. Mark On Nov 2, 2007, at 3:25 PM, Josh Mellicker wrote: > Hi Mark, > > Did you click on a term in the list on the left? > > Thanks > > > On Nov 2, 2007, at 2:06 PM, Mark Swindell wrote: > >> There is no place to type in anything... no empty gray box to type >> in anything helpful (or not). :( >> >> Mac OS X 10.4 Intel MacBook Pro, 2.9.0 dp 1 >> >> Mark >> >> On Nov 2, 2007, at 1:04 PM, Josh Mellicker wrote: >> >>> Just uploaded another version... >>> >>> This one just uses the Wordpress post function, so it is a lot >>> cleaner. >>> >>> Comments now open for business at ROAD (Revolution Open Access >>> Dictionary)! >>> >>> My apologies for the snafu last night. >>> >>> If you could take a moment and contribute a small tip or code >>> snippet on a term, just to help gauge what the future usefulness >>> of this might be, it would be very much appreciated! >>> >>> >>> p.s. you can use the stack here: >>> >>> http://revcoders.org/resources/revcoders_db_api.rev.zip >>> >>> >>> or just the website if you prefer: >>> >>> http://revcoders.org >>> >>> >>> >>> On Nov 2, 2007, at 11:54 AM, Mark Swindell wrote: >>> >>>> Nice! >>>> >>>> On Nov 2, 2007, at 11:11 AM, Josh Mellicker wrote: >>>> >>>>> FIXED! >>>>> >>>>> The below stack now adds comments. >>>>> >>>>> http://revcoders.org/resources/revcoders_db_api.rev.zip >>>>> >>>>> >>>>> By the way, this stack interacts with the remote database by >>>>> sending data encrypted with blowfish-ecb at 128 bit to a >>>>> serverside PHP script. The PHP script decrypts, filters out >>>>> potentially harmful commands, and passes the command along to >>>>> the database, then returns results to Rev. >>>>> >>>>> From my tests so far there is no performance hit, it works >>>>> great! And far more secure than a database which is open to any >>>>> command. >>>>> _______________________________________________ >>>>> use-revolution mailing list >>>>> use-revolution at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>>> >>>> >>>> -Mark >>>> >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> -Mark >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -Mark From josh at dvcreators.net Fri Nov 2 19:23:15 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 2 Nov 2007 16:23:15 -0700 Subject: "proof-of-concept" Revolution Open Access Dictionary at revcoders.org In-Reply-To: <3C332398-1639-4BB9-BEF4-657543818A3D@cruzio.com> References: <313B4421-4660-40F3-9C23-40B1522CBB99@dvcreators.net> <831B8C5C-A167-42EA-B94F-ACFE856FBBCA@dvcreators.net> <610C03C6-9ECC-45D2-82BD-8AE6DF542A59@dvcreators.net> <19FC91D0-95F1-47CA-9AC3-20E548B850B6@cruzio.com> <257A6BD4-437E-44B4-B6E8-6F363FE53DB9@dvcreators.net> <33A72251-7198-4C8B-A094-A8EB90E89C48@cruzio.com> <2865C934-3909-40A3-AD84-0402BF8042D0@dvcreators.net> <3C332398-1639-4BB9-BEF4-657543818A3D@cruzio.com> Message-ID: <1A9C3536-0C27-413C-BECD-C5044F0A29D4@dvcreators.net> Ah, well, it is a work in progress. Has anyone else looked at it? On Nov 2, 2007, at 3:35 PM, Mark Swindell wrote: > Hmmmm... I certainly thought I had. But I just restarted Rev and > and looked again, and now the fields are available. So... maybe I > didn't... > > But until I clicked on an entry even the center definition field > was blank, and I don't believe that was the case. > > Mark > > On Nov 2, 2007, at 3:25 PM, Josh Mellicker wrote: > >> Hi Mark, >> >> Did you click on a term in the list on the left? >> >> Thanks >> >> >> On Nov 2, 2007, at 2:06 PM, Mark Swindell wrote: >> >>> There is no place to type in anything... no empty gray box to >>> type in anything helpful (or not). :( >>> >>> Mac OS X 10.4 Intel MacBook Pro, 2.9.0 dp 1 >>> >>> Mark >>> >>> On Nov 2, 2007, at 1:04 PM, Josh Mellicker wrote: >>> >>>> Just uploaded another version... >>>> >>>> This one just uses the Wordpress post function, so it is a lot >>>> cleaner. >>>> >>>> Comments now open for business at ROAD (Revolution Open Access >>>> Dictionary)! >>>> >>>> My apologies for the snafu last night. >>>> >>>> If you could take a moment and contribute a small tip or code >>>> snippet on a term, just to help gauge what the future usefulness >>>> of this might be, it would be very much appreciated! >>>> >>>> >>>> p.s. you can use the stack here: >>>> >>>> http://revcoders.org/resources/revcoders_db_api.rev.zip >>>> >>>> >>>> or just the website if you prefer: >>>> >>>> http://revcoders.org >>>> >>>> >>>> >>>> On Nov 2, 2007, at 11:54 AM, Mark Swindell wrote: >>>> >>>>> Nice! >>>>> >>>>> On Nov 2, 2007, at 11:11 AM, Josh Mellicker wrote: >>>>> >>>>>> FIXED! >>>>>> >>>>>> The below stack now adds comments. >>>>>> >>>>>> http://revcoders.org/resources/revcoders_db_api.rev.zip >>>>>> >>>>>> >>>>>> By the way, this stack interacts with the remote database by >>>>>> sending data encrypted with blowfish-ecb at 128 bit to a >>>>>> serverside PHP script. The PHP script decrypts, filters out >>>>>> potentially harmful commands, and passes the command along to >>>>>> the database, then returns results to Rev. >>>>>> >>>>>> From my tests so far there is no performance hit, it works >>>>>> great! And far more secure than a database which is open to >>>>>> any command. >>>>>> _______________________________________________ >>>>>> use-revolution mailing list >>>>>> use-revolution at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage >>>>>> your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>>>> >>>>> >>>>> -Mark >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-revolution mailing list >>>>> use-revolution at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>> >>> -Mark >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > -Mark > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From iowahengst at mac.com Fri Nov 2 21:21:03 2007 From: iowahengst at mac.com (Randy Hengst) Date: Fri, 2 Nov 2007 20:21:03 -0500 Subject: Flipped PNG loses transparency?? In-Reply-To: References: <313B4421-4660-40F3-9C23-40B1522CBB99@dvcreators.net> <831B8C5C-A167-42EA-B94F-ACFE856FBBCA@dvcreators.net> <610C03C6-9ECC-45D2-82BD-8AE6DF542A59@dvcreators.net> <19FC91D0-95F1-47CA-9AC3-20E548B850B6@cruzio.com> <257A6BD4-437E-44B4-B6E8-6F363FE53DB9@dvcreators.net> Message-ID: <6956357E-FFAB-4025-8F58-57C444F37421@mac.com> Hi Judy, I am using OSX.4.10, Rev 2.8.1 Studio, and Photoshop Elements 4.0.1. I am not able to duplicate your problem. take care, randy hengst ----- On Nov 2, 2007, at 3:32 PM, User wrote: > Is this a known issue? > > It's only happening with a PNG prepared in Photoshop Elements. I > import it, duplicate it, and take one of the duplicates and use the > flip feature in the menu... It stays transparent while on that > card, but if I navigate away and come back, the transparency is > lost on just that one image. > > Kindest thanks, > > Judy > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Fri Nov 2 21:26:49 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 2 Nov 2007 21:26:49 -0400 Subject: Flipped PNG loses transparency?? In-Reply-To: References: <313B4421-4660-40F3-9C23-40B1522CBB99@dvcreators.net> <831B8C5C-A167-42EA-B94F-ACFE856FBBCA@dvcreators.net> <610C03C6-9ECC-45D2-82BD-8AE6DF542A59@dvcreators.net> <19FC91D0-95F1-47CA-9AC3-20E548B850B6@cruzio.com> <257A6BD4-437E-44B4-B6E8-6F363FE53DB9@dvcreators.net> Message-ID: On Nov 2, 2007, at 4:32 PM, User wrote: > Is this a known issue? > > It's only happening with a PNG prepared in Photoshop Elements. I > import it, duplicate it, and take one of the duplicates and use the > flip feature in the menu... It stays transparent while on that > card, but if I navigate away and come back, the transparency is lost > on just that one image. Perhaps it is the same problem as reported in bug 4512 "Alpha data is lost when flipping an image". http://quality.runrev.com/qacenter/show_bug.cgi?id=4512 -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From katir at hindu.org Fri Nov 2 22:26:14 2007 From: katir at hindu.org (Sivakatirswami) Date: Fri, 02 Nov 2007 16:26:14 -1000 Subject: OT: AJAX: Interesting Future for the Web Message-ID: <472BDC46.4090305@hindu.org> http://developer.mozilla.org/presentations/eich-ajax-experience-2007/photos.svg Where will Rev fit in this sandbox? From chipp at chipp.com Fri Nov 2 22:50:00 2007 From: chipp at chipp.com (Chipp Walters) Date: Fri, 2 Nov 2007 20:50:00 -0600 Subject: Asus eee laptop? Message-ID: <7aa52a210711021950j8199423i1d6a0846f44f48f1@mail.gmail.com> Anyone here try RunRev on one of these puppies? Man, it looks like the ultimate vert niche product for RunRev developers. Can't you just see Real Estate agents running around with one of these $399 Linux laptops in their purse? Some very interesting possibilities... From jperryl at ecs.fullerton.edu Fri Nov 2 22:59:35 2007 From: jperryl at ecs.fullerton.edu (User) Date: Fri, 2 Nov 2007 19:59:35 -0700 (PDT) Subject: Flipped PNG loses transparency?? In-Reply-To: References: <313B4421-4660-40F3-9C23-40B1522CBB99@dvcreators.net> <831B8C5C-A167-42EA-B94F-ACFE856FBBCA@dvcreators.net> <610C03C6-9ECC-45D2-82BD-8AE6DF542A59@dvcreators.net> <19FC91D0-95F1-47CA-9AC3-20E548B850B6@cruzio.com> <257A6BD4-437E-44B4-B6E8-6F363FE53DB9@dvcreators.net> Message-ID: Thank you, Trevor (and Randy!). I am feeling slightly more sane now. If it helps, I am using Studio 2.8.1 on a MacTel, OS 10.4.10 Oh, and I also can't build a standalone. The only script library I use is TTS. The stack doesn't do anything terribly complicated -- it's a little children's poem/book with some animated images (using the move command) and allowing a mouseEnter to trigger TTS of the word in the field... Judy On Fri, 2 Nov 2007, Trevor DeVore wrote: > On Nov 2, 2007, at 4:32 PM, User wrote: > >> Is this a known issue? >> >> It's only happening with a PNG prepared in Photoshop Elements. I import >> it, duplicate it, and take one of the duplicates and use the flip feature >> in the menu... It stays transparent while on that card, but if I navigate >> away and come back, the transparency is lost on just that one image. > > Perhaps it is the same problem as reported in bug 4512 "Alpha data is lost > when flipping an image". > > http://quality.runrev.com/qacenter/show_bug.cgi?id=4512 > > -- > Trevor DeVore > Blue Mango Learning Systems > www.bluemangolearning.com - www.screensteps.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Sat Nov 3 00:57:21 2007 From: chipp at chipp.com (Chipp Walters) Date: Fri, 2 Nov 2007 22:57:21 -0600 Subject: Asus eee laptop? In-Reply-To: <7aa52a210711021950j8199423i1d6a0846f44f48f1@mail.gmail.com> References: <7aa52a210711021950j8199423i1d6a0846f44f48f1@mail.gmail.com> Message-ID: <7aa52a210711022157w66898bc0oddf693f8fc63a18@mail.gmail.com> For those who don't know what it is.. http://www.pcmag.com/article2/0,1759,2209845,00.asp From FlexibleLearning at aol.com Sat Nov 3 04:48:29 2007 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sat, 3 Nov 2007 04:48:29 EDT Subject: Stripping html tags Message-ID: This is a seriously detailed stripper, Jim! Small error in syntax: replace "" in pHtml Also, a couple of lines were posted html2Txt-mangled. Could you clarify: ----- replace " " with space in pHtml replace " " with return in pHtml replace " " with return in pHtml ----- If you post the handler as plain text, any html formatted text should be correctly handled by the emailer. /H ------------------------------- ------------------------------------------------- function StripTags pHtml local tRegex,tPrevText get ("é,à,ç") get it & (",>,<,ê") get it & (",è,©,•") get it & (",',·,&") -- add more chars if you wish, then... constant kHtml = it constant kConvertedHtml = "?,?,?,>,<,?,?,?" --using contants means you cannot accidentally -- modify these vars and damage the results ----- replace numtochar(13) with empty in pHtml replace tab with empty in pHtml replace "","") into pHtml put replacetext(pHtml,"(?Usi)","") into pHtml put replacetext(pHtml,"(?Usi)<\?.*\?>","") into pHtml ----- replace " " with space in pHtml replace " " with return in pHtml replace " " with return in pHtml ----- put "<[^><]*>" into tRegex put replacetext(pHtml,tRegex,"") into pHtml put replacetext(pHtml,tRegex,"") into pHtml ----- repeat replacements until there are no changes repeat until tPrevText is pHtml put pHtml into tPrevText put replacetext(pHtml," +",space) into pHtml put replacetext(pHtml,"^ ","") into pHtml end repeat ----- replace (space & return) with return in pHtml replace (return & space) with return in pHtml filter pHtml without empty replace numtochar(160) with empty in pHtml ----- replace """ with quote in pHtml repeat with i = 1 to the number of items of kHtml replace item i of kHtml with item i of kConvertedHtml in pHtml end repeat ----- --put pHtml into msg --let's you see the result in the msg box return pHtml end StripTags Jim Ault Las Vegas ------------------------------------------------ -------------------------------- From palcibiades-first at yahoo.co.uk Sat Nov 3 04:49:22 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 3 Nov 2007 08:49:22 +0000 Subject: Asus eee laptop? Message-ID: <200711030849.22405.palcibiades-first@yahoo.co.uk> No, but I have run Rev on a 700mhz PIII under Puppy (in case some are not familiar, its a 100Mb stripped down Linux using JWM as the desktop). Amazing. It ran perfectly and was very fast. Mean to see how Rev runs under the even smaller and faster DSL, which is only 50Mb. I am also running a Rev app on a 500mhz PIII with 200Mb memory, with the whole works installed - Mandriva 2006 under Gnome. That also runs very snappily, though its a bit slow to boot, and its eaten a big chunk of the hard drive. If we put in Puppy or DSL or one of the distros below, it would probably scream along. Based on this, I'd be sure the Asus will run Rev just fine. If some are not familiar with the interesting and wonderful world of minimalist Linux distros and window managers, other minimalist distros worth considering if you have clients who are in search of cheap hardware for Rev would be Absolute, and Fluxbuntu. Absolute is Slackware based, and a minimal Slack install with Fluxbox as the WM would also work well on minimal hardware. If you want turnkey systems in appliance mode, some of the minimalist tabbed window managers (maybe on Debian or Slack) are ways to get there. They are very fast indeed. Ion3 is one. wmii is another. They make Fluxbox seem bloated. They are definitely appliance mode for ordinary users, but not necessarily one app only. Ion3 will let you have multiple apps running with tab switching in a way that any user will be able to grasp at once. I've wondered about setting up a simple user with (say) email and web and simple WP using one of these window managers on three tabs. You can get Win98 speed if you configure these right, but with modern security and features, at least for a restricted set of apps. Peter From lan.kc.macmail at gmail.com Sat Nov 3 07:07:52 2007 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 3 Nov 2007 19:07:52 +0800 Subject: Problem with revExecuteSQL In-Reply-To: References: <8C9EA009469DA99-DF8-54AE@Webmail-mg10.sysops.aol.com> Message-ID: On 11/1/07, Dave wrote: > > Hi, > > I am getting an invalid token error from revExecuteSQL, when I look > at the data being inserted, it contains a ":" character following by > a number (a date field in the form DD:MM:YY. How do I insert this data? You didn't mention if you were using mySQL or some other flavour, but assuming that you are, then DD:MM:YY is not a valid date format. You may need to redefine your db column as a VARCHAR column and do all the data validation in Rev, or you need to ensure dates are entered in the mySQL valid YYYY-MM-DD format. See the mySQL manual, Chapter 11.3.1 The DATETIME, DATE and TIMESTAMP types. Two short quotes: Starting from MySQL 5.0.2, MySQL gives warnings/errors if you try to insert an illegal date. ? The relaxed format allowed for values specified as strings can be deceiving. For example, a value such as '10:11:12' might look like a time value because of the ':' delimiter, but if used in a date context is interpreted as the year '2010-11-12'. The value '10:45:15' is converted to '0000-00-00' because '45' is not a legal month. HTH From lan.kc.macmail at gmail.com Sat Nov 3 07:12:15 2007 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 3 Nov 2007 19:12:15 +0800 Subject: About Applications under MacOS X. In-Reply-To: <8127CEE7-2A3F-43A3-BD6A-5FCABF483361@sosmartsoftware.com> References: <4729A2E1.6040701@laposte.net> <8127CEE7-2A3F-43A3-BD6A-5FCABF483361@sosmartsoftware.com> Message-ID: On 11/1/07, Eric Chatonet wrote: > > Bonjour Damien, > > RevCopyFolder :-) Are you sure about this. The 2.8.1 docs, under revCopyFolder says: Note: To copy a bundle on Mac OS X systems, use the revCopyFile command HTH From revolution at jaedworks.com Sat Nov 3 08:51:08 2007 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Sat, 3 Nov 2007 05:51:08 -0700 Subject: Option controls on Windows In-Reply-To: <472B98BA.3060800@fourthworld.com> References: <472B98BA.3060800@fourthworld.com> Message-ID: At 2:38 PM -0700 11/2/2007, Richard Gaskin wrote: >If what I'm seeing is true, Rev does not send the menuPick message >when an option control has a new value selected via these keyboard >shortcuts. I'm seeing menuPick here when using the keyboard-only method (Vista with Rev 2.8.1). Does the menu button have its traversalOn set to true? That might make a difference. -- Jeanne A. E. DeVoto, Transcript Language Curmudgeon revolution at jaedworks.com http://www.jaedworks.com From JimAultWins at yahoo.com Sat Nov 3 11:53:27 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 03 Nov 2007 08:53:27 -0700 Subject: Stripping html tags In-Reply-To: Message-ID: The 'seriously detailed stripper' was written by Eric, and I made some adjustments for converting a web page to a formatted data set, therefore some special lines were added. I did not post the complete version, since it was a custom solution. Sorry about the confusion when the subject was simply 'tag stripping' Step 1 You correction is not actually the right way: The function here is to add numtoChar(160) before every tag " replace " should be... > replace "" in pHtml so replace "... to avoid this. ----- replace " " with space in pHtml replace "" with return in pHtml --BR replace "" with return in pHtml --p tag ----- so.... in a web page, white space and returns mean nothing to the browser, except for the single space. A run of spaces in a web html document are interpreted as a single space to the viewer, so we spend a few lines in transcript converting   to a space char, then dealing with what the space characters will mean as data separators (eg a table of values). In this case, I wanted to convert spaces in part of a web doc to tabs, but other sections of the document could be discarded, so this worked well for my app. In addition, returns mean nothing to a web browser so they can be replaced with empty. Also important for me was the specific order of replacements to extract the data from a web page. Hope this clarifies some of the gymnastics I went through for tag stripping and data mining. Jim Ault Las Vegas On 11/3/07 1:48 AM, "FlexibleLearning at aol.com" wrote: > > This is a seriously detailed stripper, Jim! > > Small error in syntax: > > replace " should be... > replace "" in pHtml > > Also, a couple of lines were posted html2Txt-mangled. Could you clarify: > ----- > replace " " with space in pHtml > replace " > " with return in pHtml > replace " > > " with return in pHtml > ----- > > If you post the handler as plain text, any html formatted text should be > correctly handled by the emailer. > > > /H > > ------------------------------- > ------------------------------------------------- > function StripTags pHtml > local tRegex,tPrevText > get ("é,à,ç") > get it & (",>,<,ê") > get it & (",è,©,•") > get it & (",',·,&") > -- add more chars if you wish, then... > constant kHtml = it > constant kConvertedHtml = "?,?,?,>,<,?,?,?" > --using contants means you cannot accidentally > -- modify these vars and damage the results > ----- > replace numtochar(13) with empty in pHtml > replace tab with empty in pHtml > replace " ----- > put replacetext(pHtml,"(?Usi)","") into pHtml > put replacetext(pHtml,"(?Usi)","") into pHtml > put replacetext(pHtml,"(?Usi)<\?.*\?>","") into pHtml > ----- > replace " " with space in pHtml > replace " > " with return in pHtml > replace " > > " with return in pHtml > ----- > put "<[^><]*>" into tRegex > put replacetext(pHtml,tRegex,"") into pHtml > put replacetext(pHtml,tRegex,"") into pHtml > > ----- repeat replacements until there are no changes > repeat until tPrevText is pHtml > put pHtml into tPrevText > put replacetext(pHtml," +",space) into pHtml > put replacetext(pHtml,"^ ","") into pHtml > end repeat > ----- > replace (space & return) with return in pHtml > replace (return & space) with return in pHtml > filter pHtml without empty > replace numtochar(160) with empty in pHtml > ----- > replace """ with quote in pHtml > repeat with i = 1 to the number of items of kHtml > replace item i of kHtml with item i of kConvertedHtml in pHtml > end repeat > ----- > --put pHtml into msg --let's you see the result in the msg box > return pHtml > end StripTags > > > Jim Ault > Las Vegas > > ------------------------------------------------ > -------------------------------- > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Sat Nov 3 12:20:35 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 03 Nov 2007 09:20:35 -0700 Subject: Option controls on Windows Message-ID: <472C9FD3.8050506@fourthworld.com> Jeanne A. E. DeVoto wrote: > At 2:38 PM -0700 11/2/2007, Richard Gaskin wrote: >>If what I'm seeing is true, Rev does not send the menuPick message >>when an option control has a new value selected via these keyboard >>shortcuts. > > I'm seeing menuPick here when using the keyboard-only method (Vista > with Rev 2.8.1). Does the menu button have its traversalOn set to > true? That might make a difference. Yes, the traversalOn is true (not sure how I'd be able to interact with it via the keyboard without that). Thank you for looking into this. With your good result I was prompted to look further, and found the true issue: The menupick message is indeed being sent, but the menuhistory is not updated when the control is manipulated via the keyboard as it is with the mouse. This simple script let me check this out as I tested: on menupick put the params && the menuhistory of the target end menupick I've just posted this bug to the QAC: http://quality.runrev.com/qacenter/show_bug.cgi?id=5505 Any of you using option controls on Windows may want to vote for this, since unless you've already scripted workarounds you'll find that relying on the value of the menuhistory may yield bugs in your application from a mismatch between what the user sees as the control value and what the engine thinks the control value is. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From pmbrig at gmail.com Sat Nov 3 14:49:45 2007 From: pmbrig at gmail.com (Peter Brigham) Date: Sat, 3 Nov 2007 14:49:45 -0400 Subject: "proof-of-concept" Revolution Online Open Dictionary at revcoders.org Message-ID: on Fri, 2 Nov 2007 11:11:16 -0700 Josh Mellicker wrote: ***** FIXED! The below stack now adds comments. http://revcoders.org/resources/revcoders_db_api.rev.zip By the way... ***** The stack isn't displaying the definitions for me in the field at center. The SQL query return empty tData. I know zilch about SQL/ database stuff. Is there something I should be doing? I'm using Rev Studio 2.8.1 build 471, Mac iBook G4, OS 10.4.10. Also, a cosmetic issue: min width is too wide for me to run this in the IDE on my machine (display 1024 x 768). I adjusted this (width = 930), but the fields on the right don't adjust for smaller stack size. The stack looks to be quite useful, if it can be tweaked a bit... -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig/ "I haven't failed. I've just found 10,000 ways that won't work." | -- Thomas Alva Edison From jp.poccard at neuf.fr Sat Nov 3 19:26:25 2007 From: jp.poccard at neuf.fr (Jean-Paul Poccard) Date: Sun, 04 Nov 2007 00:26:25 +0100 Subject: Flipped PNG loses transparency?? In-Reply-To: <20071103155339.B06D1489055@mail.runrev.com> References: <20071103155339.B06D1489055@mail.runrev.com> Message-ID: Le 3 nov. 07, ? 16:53, use-revolution-request at lists.runrev.com a ?crit : > > Is this a known issue? > > It's only happening with a PNG prepared in Photoshop Elements. I > import > it, duplicate it, and take one of the duplicates and use the flip > feature > in the menu... It stays transparent while on that card, but if I > navigate > away and come back, the transparency is lost on just that one image. > > Kindest thanks, > > Judy > Are you sure the same problem does not arise with other PNG imported images with transparent zones ? (created with the rubber for instance ?) Does the problem arise when the image has not been flipped ? a mail about this issue has been sent to the list in december 2006 by Paolo Mazza and I confirmed I found the same symptoms. This seems to be linked with bug 1090 http://quality.runrev.com/qacenter/show_bug.cgi?id=1090 I suggest that the victims of this bug vote for its treatment Cordialement Jean-Paul Poccard. From martinblackman at gmail.com Sat Nov 3 22:55:18 2007 From: martinblackman at gmail.com (Martin Blackman) Date: Sun, 4 Nov 2007 11:55:18 +0900 Subject: Geometry in latest version of RunRev In-Reply-To: <472B506A.5050808@fourthworld.com> References: <472B506A.5050808@fourthworld.com> Message-ID: <79d1bee70711031955p6de4ba7cq833632fa5663b4ce@mail.gmail.com> I find the free plug-in AltLayoutManager kindly provided by Altuit to be excellent for geometry management. http://www.altuit.com/webs/altuit2/altPluginDownload/Downloads.htm From josh at dvcreators.net Sun Nov 4 02:01:51 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Sun, 4 Nov 2007 00:01:51 -0700 Subject: "proof-of-concept" Revolution Online Open Dictionary at revcoders.org In-Reply-To: References: Message-ID: On Nov 3, 2007, at 11:49 AM, Peter Brigham wrote: > > The stack isn't displaying the definitions for me in the field at > center. The SQL query return empty tData. Hmmm.... you could try grabbing it again, I posted a few versions Friday. When you click on a term in the list nothing happens? > I know zilch about SQL/database stuff. Is there something I should > be doing? I'm using Rev Studio 2.8.1 build 471, Mac iBook G4, OS > 10.4.10. > > Also, a cosmetic issue: min width is too wide for me to run this in > the IDE on my machine (display 1024 x 768). I adjusted this (width > = 930), but the fields on the right don't adjust for smaller stack > size. > > The stack looks to be quite useful, if it can be tweaked a bit... It is a work in progress... I am hoping everyone will take a minute and post a tip, that way we can all see what an Open Dictionary could mean for the Revolution developer community. Until then, I will keep working on it! Thanks for your comments. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig/ > > "I haven't failed. I've just found 10,000 ways that won't > work." | > -- Thomas Alva Edison > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dave at looktowindward.com Sun Nov 4 08:36:44 2007 From: dave at looktowindward.com (Dave) Date: Sun, 4 Nov 2007 13:36:44 +0000 Subject: Stripping html tags (was Re: Problem with revExecuteSQL - More) In-Reply-To: References: <472B4DB6.6050000@fourthworld.com> Message-ID: <8FABC08F-4C9C-4977-8EE1-2FB1727105FF@looktowindward.com> Hi One word of warning on using a field to strip HTML text - it's VERY slow. When I ran the app on a 10,000 track database, without the put/get field, it took 80 seconds to complete, when I ran it with the put/get field the time went up to 327 seconds!!! Will the template field be quicker?? All the Best Dave On 2 Nov 2007, at 16:38, Eric Chatonet wrote: > Hi Richard, > > Thanks to you for sharing this code snippet from Ken: > I was not using the field method (we discussed about this may be > two years ago) because, if I remember well (but it's a bit confused > in my mind), we found it had to be placed in a substack to avoid > some problem I don't even remember, etc. > > But using a virtual field sounds really great :-) > Kudos to Ken to have had this illumination! > I am not so surprised... > > Nevertheless, stripTags function can help because it is able to > master special tags that may be Rev just suppress... > This is for Andre :-) > > I saw that Jim posted the function a bit modified. > The one used in the Rev Search Engine is, as I said, in the card's > script and is not protected then accessible by all who have Rev 2.7 > of later. > > Le 2 nov. 07 ? 17:17, Richard Gaskin a ?crit : > >> Dave wrote: >>> Yes, I'm sure thats the function we were talking about! >>> Where can I get it from? >> >> I don't know where that one resides, but when I need to strip HTML >> tags from text I just set the htmlText of a field and then get the >> text of that field. >> >> Ken Ray recently discovered this works with the templateField as >> well, so you don't need to rely on a physical field to do this: >> >> function html2text pHtml >> put the htmlText of the templateField into tSaveData >> set the htmlText of the templateField to pHtml >> get the text of the templateField >> set the htmlText of the templateField to tSaveData >> return it >> end html2Text >> >> >> -- >> Richard Gaskin >> Managing Editor, revJournal > > > Best regards from Paris, > Eric Chatonet. > ---------------------------------------------------------------- > Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ > Email: eric.chatonet at sosmartsoftware.com/ > ---------------------------------------------------------------- > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dave at looktowindward.com Sun Nov 4 08:43:16 2007 From: dave at looktowindward.com (Dave) Date: Sun, 4 Nov 2007 13:43:16 +0000 Subject: [ANN] Script Editor Modification In-Reply-To: References: Message-ID: Hi Sean, I tried to download this, I can open the page but none of the links work. Is the web site broken? Thanks a lot Dave On 2 Nov 2007, at 09:21, Shao Sean wrote: > Personally I tend to use somewhat long handler names and as such > they get truncated in the handler list of the script editor. I > modified the script editor to include a splitter control between > the handler list and the script area. > > This is for Rev 2.8 ONLY ! > > Screenshot < http://shaosean.tk/_resources/images/ > revscripteditor.png > > Download < http://shaosean.tk/revide.php > > > Q&D Instructions > - quit Rev > - go to the "toolset" folder > - move the "revscripteditor.rev" file some where safe > - move in the copy you downloaded from the link above > - relaunch Rev > - enjoy :-) > > -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 stephenREVOLUTION2 at barncard.com Sun Nov 4 09:12:37 2007 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Sun, 4 Nov 2007 07:12:37 -0700 Subject: Stripping html tags (was Re: Problem with revExecuteSQL - More) In-Reply-To: <8FABC08F-4C9C-4977-8EE1-2FB1727105FF@looktowindward.com> References: <472B4DB6.6050000@fourthworld.com> <8FABC08F-4C9C-4977-8EE1-2FB1727105FF@looktowindward.com> Message-ID: Did you lock/unlock the screen? VERY important. >Hi > >One word of warning on using a field to strip HTML text - it's VERY slow. > >When I ran the app on a 10,000 track database, without the put/get >field, it took 80 seconds to complete, when I ran it with the >put/get field the time went up to 327 seconds!!! > >Will the template field be quicker?? > >All the Best >Dave > > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From dave at looktowindward.com Sun Nov 4 10:31:21 2007 From: dave at looktowindward.com (Dave) Date: Sun, 4 Nov 2007 15:31:21 +0000 Subject: Stripping html tags (was Re: Problem with revExecuteSQL - More) In-Reply-To: References: <472B4DB6.6050000@fourthworld.com> <8FABC08F-4C9C-4977-8EE1-2FB1727105FF@looktowindward.com> Message-ID: <1A392BEA-2072-4A4B-8D9B-A317BF29A903@looktowindward.com> Hi, I added this and the time went up to 99 seconds as apposed to 80 without putting it into a field, WAY better than 327 tho! Thanks All the Best Dave On 4 Nov 2007, at 14:12, Stephen Barncard wrote: > Did you lock/unlock the screen? VERY important. > > >> Hi >> >> One word of warning on using a field to strip HTML text - it's >> VERY slow. >> >> When I ran the app on a 10,000 track database, without the put/get >> field, it took 80 seconds to complete, when I ran it with the put/ >> get field the time went up to 327 seconds!!! >> >> Will the template field be quicker?? >> >> All the Best >> Dave >> >> > > > -- > > > stephen barncard > s a n f r a n c i s c o > - - - - - - - - - - - - > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dave at looktowindward.com Sun Nov 4 10:33:16 2007 From: dave at looktowindward.com (Dave) Date: Sun, 4 Nov 2007 15:33:16 +0000 Subject: Stripping html tags In-Reply-To: References: Message-ID: Hi, I am having a problem getting this to compile, do you think you could email it in a stack? Or post it somewhere and I'll download it. Thanks a lot All the Best Dave On 3 Nov 2007, at 15:53, Jim Ault wrote: > The 'seriously detailed stripper' was written by Eric, and I made some > adjustments for converting a web page to a formatted data set, > therefore > some special lines were added. I did not post the complete > version, since > it was a custom solution. > Sorry about the confusion when the subject was simply 'tag stripping' > > Step 1 > You correction is not actually the right way: > The function here is to add numtoChar(160) before every tag "> replace "> should be... >> replace "" in pHtml > so > replace " is intended. Later numtochar(160) will be replaced with a cr. In > the full > workflow, numtochar(160) will occur for many reasons and in the end > stage > all of these will be converted to cr to create a table of the core > data. > > Step 2 > Yes, emailers can morph the tags. > Should have posted between
...
to avoid this. > > ----- > replace " " with space in pHtml > replace "" with return in pHtml --BR > replace "" with return in pHtml --p tag > ----- > so.... > in a web page, white space and returns mean nothing to the browser, > except > for the single space. A run of spaces in a web html document are > interpreted as a single space to the viewer, so we spend a few > lines in > transcript converting   to a space char, then dealing with > what the > space characters will mean as data separators (eg a table of > values). In > this case, I wanted to convert spaces in part of a web doc to tabs, > but > other sections of the document could be discarded, so this worked > well for > my app. > > In addition, returns mean nothing to a web browser so they can be > replaced > with empty. > > Also important for me was the specific order of replacements to > extract the > data from a web page. > > Hope this clarifies some of the gymnastics I went through for tag > stripping > and data mining. > > Jim Ault > Las Vegas > > On 11/3/07 1:48 AM, "FlexibleLearning at aol.com" > > wrote: > >> >> This is a seriously detailed stripper, Jim! >> >> Small error in syntax: >> >> replace "> should be... >> replace "" in pHtml >> >> Also, a couple of lines were posted html2Txt-mangled. Could you >> clarify: >> ----- >> replace " " with space in pHtml >> replace " >> " with return in pHtml >> replace " >> >> " with return in pHtml >> ----- >> >> If you post the handler as plain text, any html formatted text >> should be >> correctly handled by the emailer. >> >> >> /H >> >> ------------------------------- >> ------------------------------------------------- >> function StripTags pHtml >> local tRegex,tPrevText >> get ("é,à,ç") >> get it & (",>,<,ê") >> get it & (",è,©,•") >> get it & (",',·,&") >> -- add more chars if you wish, then... >> constant kHtml = it >> constant kConvertedHtml = "?,?,?,>,<,?,?,?" >> --using contants means you cannot accidentally >> -- modify these vars and damage the results >> ----- >> replace numtochar(13) with empty in pHtml >> replace tab with empty in pHtml >> replace "> ----- >> put replacetext(pHtml,"(?Usi)","") into pHtml >> put replacetext(pHtml,"(?Usi)","") into pHtml >> put replacetext(pHtml,"(?Usi)<\?.*\?>","") into pHtml >> ----- >> replace " " with space in pHtml >> replace " >> " with return in pHtml >> replace " >> >> " with return in pHtml >> ----- >> put "<[^><]*>" into tRegex >> put replacetext(pHtml,tRegex,"") into pHtml >> put replacetext(pHtml,tRegex,"") into pHtml >> >> ----- repeat replacements until there are no changes >> repeat until tPrevText is pHtml >> put pHtml into tPrevText >> put replacetext(pHtml," +",space) into pHtml >> put replacetext(pHtml,"^ ","") into pHtml >> end repeat >> ----- >> replace (space & return) with return in pHtml >> replace (return & space) with return in pHtml >> filter pHtml without empty >> replace numtochar(160) with empty in pHtml >> ----- >> replace """ with quote in pHtml >> repeat with i = 1 to the number of items of kHtml >> replace item i of kHtml with item i of kConvertedHtml in pHtml >> end repeat >> ----- >> --put pHtml into msg --let's you see the result in the msg box >> return pHtml >> end StripTags >> >> >> Jim Ault >> Las Vegas >> >> ------------------------------------------------ >> -------------------------------- >> >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dave at looktowindward.com Sun Nov 4 10:51:12 2007 From: dave at looktowindward.com (Dave) Date: Sun, 4 Nov 2007 15:51:12 +0000 Subject: Problem with Accented Characters In-Reply-To: References: Message-ID: <81722DA9-943F-4D16-BF00-3DB689B26DAD@looktowindward.com> Hi, I am not getting rid of the HTML and most tracks are ok now, however there is a problem with accented characters in File/Folder names. Beyonce (with an accent on the "e") is an example of the where there occurs. When I do a check "is there a file" and a folder or file name has an accented character in it, the file is not found. Any ideas? Thanks a lot All the Best Dave From dave at looktowindward.com Sun Nov 4 10:52:27 2007 From: dave at looktowindward.com (Dave) Date: Sun, 4 Nov 2007 15:52:27 +0000 Subject: Problem with Accented Characters In-Reply-To: References: Message-ID: <215A1910-086A-473F-9404-2572C9BADE80@looktowindward.com> Opps! That should read: I am *now* getting rid of the HTML tags ok,........................ Hi, I am not getting rid of the HTML and most tracks are ok now, however there is a problem with accented characters in File/Folder names. Beyonce (with an accent on the "e") is an example of the where there occurs. When I do a check "is there a file" and a folder or file name has an accented character in it, the file is not found. Any ideas? Thanks a lot All the Best Dave _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From claus at dreischer.de Sun Nov 4 11:02:16 2007 From: claus at dreischer.de (Claus Dreischer) Date: Sun, 4 Nov 2007 17:02:16 +0100 Subject: Problem with FocusIn Message-ID: Hi, i have problems with the focusIn message. What i want to achive is to remember the value of a field when the user is editing it (on focusIn). After that (on focusOut), i would like to check the new value against the remembered one. If they are different, the change has to be saved, so i ask the user to do so when he's leaving the card. I think the focusIn message is not sent because even something like on focusIn beep end focusIn does not work. Even the example in the dictionary is not working. Obviously i am missing something here. Any ideas? Regards, Claus. BTW: It's 2.9.0 dp1 on a Win2k box -- http://www.danasoft.com/sig/dsagsdg.jpg From dave at looktowindward.com Sun Nov 4 11:05:40 2007 From: dave at looktowindward.com (Dave) Date: Sun, 4 Nov 2007 16:05:40 +0000 Subject: More - Problem with Accented Characters In-Reply-To: References: Message-ID: Hi, A bit more information, the string I am getting is this: Locationfile://localhost/Users/Dave/Music/iTunes/ iTunes%20Music/Beyonce%CC%81/Dangerously%20In%20Love/02%20Naughty% 20Girl.mp3 I assume that the %CC%81 is the accent data, as in: Beyonce%CC%81 Thanks a lot All the Best Dave Opps! That should read: I am *now* getting rid of the HTML tags ok,........................ Hi, I am not getting rid of the HTML and most tracks are ok now, however there is a problem with accented characters in File/Folder names. Beyonce (with an accent on the "e") is an example of the where there occurs. When I do a check "is there a file" and a folder or file name has an accented character in it, the file is not found. Any ideas? Thanks a lot All the Best Dave _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION2 at barncard.com Sun Nov 4 10:06:14 2007 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Sun, 4 Nov 2007 08:06:14 -0700 Subject: Problem with FocusIn In-Reply-To: References: Message-ID: check the field locking. from the docs: If the control is an unlocked field or a button whose menuMode is "comboBox", the openField message is sent to it instead of the focusIn message. A locked field receives the focusIn message when the user tabs to it or otherwise makes it active (focused), or when text in it is selected by a handler. >Hi, > >i have problems with the focusIn message. > >What i want to achive is to remember the value of a field >when the user is editing it (on focusIn). After that (on focusOut), >i would like to check the new value against the remembered one. >If they are different, the change has to be saved, >so i ask the user to do so when he's leaving the card. > >I think the focusIn message is not sent because even something like > >on focusIn > beep >end focusIn > >does not work. >Even the example in the dictionary is not working. > >Obviously i am missing something here. Any ideas? > >Regards, > Claus. > >BTW: It's 2.9.0 dp1 on a Win2k box >-- >http://www.danasoft.com/sig/dsagsdg.jpg >_______________________________________________ -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From claus at dreischer.de Sun Nov 4 11:16:18 2007 From: claus at dreischer.de (Claus Dreischer) Date: Sun, 4 Nov 2007 17:16:18 +0100 Subject: Problem with FocusIn In-Reply-To: References: Message-ID: Hi, on a side note: It's nice that some people are trying to improve the documentation (wiki, etc.), but on the other hand, there are people (me) who even can't read the existing documentaion =:-/ The solution to my problem is the closeField message, which is only sent when the content *has* changed. Thanks Stephen! Regards, Claus. >check the field locking. > >from the docs: > >If the control is an unlocked field or a button whose menuMode is >"comboBox", the openField message is sent to it instead of the >focusIn message. > >A locked field receives the focusIn message when the user tabs to it >or otherwise makes it active (focused), or when text in it is >selected by a handler. > >>Hi, >> >>i have problems with the focusIn message. >> >>What i want to achive is to remember the value of a field >>when the user is editing it (on focusIn). After that (on focusOut), >>i would like to check the new value against the remembered one. >>If they are different, the change has to be saved, >>so i ask the user to do so when he's leaving the card. >> >>I think the focusIn message is not sent because even something like >> >>on focusIn >> beep >>end focusIn >> >>does not work. ... -- http://www.danasoft.com/sig/dsagsdg.jpg From runrev260805 at m-r-d.de Sun Nov 4 11:40:09 2007 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Sun, 4 Nov 2007 16:40:09 +0000 Subject: Re-2: [ANN] Script Editor Modification Message-ID: Hi, tried it here on my XP machine. It does work without problem. I can resize. Regards, Matthias Original Message processed by David InfoCenter Subject: Re: [ANN] Script Editor Modification (02-Nov-2007 15:31) From: Roger.E.Eller at sealedair.com To: runrev260805 at m-r-d.de When I saw the png picture of this enhancement, I knew I HAD TO download it. Sadly, in WinXP it doesn't work (for me anyway). The split control is there, but I can't drag it over. I would be happy to test another version if you don't have XP. :-) Roger Eller _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution To: use-revolution at lists.runrev.com From runrev260805 at m-r-d.de Sun Nov 4 11:40:10 2007 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Sun, 4 Nov 2007 16:40:10 +0000 Subject: Re-2: [ANN] Script Editor Modification Message-ID: Tried it here, the download links work. Regards, Matthias Original Message processed by David InfoCenter Subject: Re: [ANN] Script Editor Modification (04-Nov-2007 14:46) From: Dave To: runrev260805 at m-r-d.de Hi Sean, I tried to download this, I can open the page but none of the links work. Is the web site broken? Thanks a lot Dave On 2 Nov 2007, at 09:21, Shao Sean wrote: > Personally I tend to use somewhat long handler names and as such > they get truncated in the handler list of the script editor. I > modified the script editor to include a splitter control between > the handler list and the script area. > > This is for Rev 2.8 ONLY ! > > Screenshot < http://shaosean.tk/_resources/images/ > revscripteditor.png > > Download < http://shaosean.tk/revide.php > > > Q&D Instructions > - quit Rev > - go to the "toolset" folder > - move the "revscripteditor.rev" file some where safe > - move in the copy you downloaded from the link above > - relaunch Rev > - enjoy :-) > > -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 _______________________________________________ use-revolution mailing list use-revolution 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 mdswindell at cruzio.com Sun Nov 4 11:40:27 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Sun, 4 Nov 2007 08:40:27 -0800 Subject: Problem with FocusIn In-Reply-To: References: Message-ID: On Nov 4, 2007, at 8:16 AM, Claus Dreischer wrote: > > It's nice that some people are trying to improve the documentation > (wiki, etc.), > but on the other hand, there are people (me) who even can't read > the existing documentaion =:-/ With the new and improved interactive mechanisms being explored, you ought to be able to add a comment to the focusin keyword that describes what you just went through, and which would point a future user to a more successful pathway. What if you had found that information as a user comment? I'm optimistic that BvG and Josh Melliker's solution can come together to provide a great service for the Rev community. Mark From ambassador at fourthworld.com Sun Nov 4 11:42:30 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 04 Nov 2007 08:42:30 -0800 Subject: Stripping html tags (was Re: Problem with revExecuteSQL - More) Message-ID: <472DF676.4010609@fourthworld.com> Dave wrote: > One word of warning on using a field to strip HTML text - it's VERY > slow. When a field is on the current card, the engine makes the reasonable assumption that it may be used for editing, and does extra stuff to the object record to make sure it renders well. That extra stuff slows down access, a lot, and much more so when the screen is unlocked. For stripping htmlText, since this operation doesn't need a visible field you can use one on any unopened card or stack, which speeds things up at least several times. In my tests here, using the templateField measures about the same as using an off-screen field. And depending on how you run your test, you may see an order of magnitude or more performance increase using either the templateField or an offscreen field rather than a lengthy handler to do the stripping. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From dave at looktowindward.com Sun Nov 4 12:12:02 2007 From: dave at looktowindward.com (Dave) Date: Sun, 4 Nov 2007 17:12:02 +0000 Subject: Re-2: [ANN] Script Editor Modification In-Reply-To: References: Message-ID: <8BE8A9E0-6986-4165-A35D-4E8F1C96C5BF@looktowindward.com> Are you on a Mac and Running Safari? Thanks Dave On 4 Nov 2007, at 16:40, runrev260805 at m-r-d.de wrote: > > Tried it here, the download links work. > > Regards, > > Matthias > > > Original Message processed by David InfoCenter > Subject: Re: [ANN] Script Editor Modification (04-Nov-2007 14:46) > From: Dave > To: runrev260805 at m-r-d.de > > > Hi Sean, > > I tried to download this, I can open the page but none of the links > work. Is the web site broken? > > Thanks a lot > Dave > > > On 2 Nov 2007, at 09:21, Shao Sean wrote: > >> Personally I tend to use somewhat long handler names and as such >> they get truncated in the handler list of the script editor. I >> modified the script editor to include a splitter control between >> the handler list and the script area. >> >> This is for Rev 2.8 ONLY ! >> >> Screenshot < http://shaosean.tk/_resources/images/ >> revscripteditor.png > >> Download < http://shaosean.tk/revide.php > >> >> Q&D Instructions >> - quit Rev >> - go to the "toolset" folder >> - move the "revscripteditor.rev" file some where safe >> - move in the copy you downloaded from the link above >> - relaunch Rev >> - enjoy :-) >> >> -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 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > To: use-revolution at lists.runrev.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Sun Nov 4 12:23:53 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 4 Nov 2007 18:23:53 +0100 Subject: Re-2: [ANN] Script Editor Modification In-Reply-To: <8BE8A9E0-6986-4165-A35D-4E8F1C96C5BF@looktowindward.com> References: <8BE8A9E0-6986-4165-A35D-4E8F1C96C5BF@looktowindward.com> Message-ID: <2A84C15A-26D8-4B28-BBD7-18ADA1D3F7CE@economy-x-talk.com> Dave, Works for me, on Mac running Safari. Sean, thanks! Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 4-nov-2007, om 18:12 heeft Dave het volgende geschreven: > Are you on a Mac and Running Safari? > > Thanks > Dave > > On 4 Nov >> Hi Sean, >> >> I tried to download this, I can open the page but none of the links >> work. Is the web site broken? >> >> Thanks a lot >> Dave >> From dave at looktowindward.com Sun Nov 4 13:17:28 2007 From: dave at looktowindward.com (Dave) Date: Sun, 4 Nov 2007 18:17:28 +0000 Subject: Re-2: [ANN] Script Editor Modification In-Reply-To: <2A84C15A-26D8-4B28-BBD7-18ADA1D3F7CE@economy-x-talk.com> References: <8BE8A9E0-6986-4165-A35D-4E8F1C96C5BF@looktowindward.com> <2A84C15A-26D8-4B28-BBD7-18ADA1D3F7CE@economy-x-talk.com> Message-ID: Hi, I just tried it again and still doesn't work. Could you tell me the URL for the actual download? Maybe I can get to it directly. Thanks a lot All the Best Dave On 4 Nov 2007, at 17:23, Mark Schonewille wrote: > Dave, > > Works for me, on Mac running Safari. > > Sean, thanks! > > Best regards, > > Mark Schonewille > > -- > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Quickly extract data from your HyperCard stacks with DIFfersifier. > http://differsifier.economy-x-talk.com > > > Op 4-nov-2007, om 18:12 heeft Dave het volgende geschreven: > >> Are you on a Mac and Running Safari? >> >> Thanks >> Dave >> >> On 4 Nov >>> Hi Sean, >>> >>> I tried to download this, I can open the page but none of the links >>> work. Is the web site broken? >>> >>> Thanks a lot >>> Dave >>> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sims at ezpzapps.com Sun Nov 4 13:21:54 2007 From: sims at ezpzapps.com (Jim Sims) Date: Sun, 4 Nov 2007 19:21:54 +0100 Subject: Leopard-Spotlight-Applescript Message-ID: Looks like I will not have a copy of Leopard very soon (living on far & distant planets has pluses and minuses) so could some kind soul please test the following Applescript on Leopard for me? If it works it will open a spotlight search for "bob". TIA sims tell application "Finder" set the search_string to "bob" end tell tell application "System Events" keystroke " " using {option down, command down} delay 1 keystroke search_string delay 1 end tell From klaus at major-k.de Sun Nov 4 13:27:54 2007 From: klaus at major-k.de (Klaus Major) Date: Sun, 4 Nov 2007 19:27:54 +0100 Subject: Leopard-Spotlight-Applescript In-Reply-To: References: Message-ID: <6BC3DAE2-5E84-4F88-8316-803B51E0F064@major-k.de> Hi sims, > Looks like I will not have a copy of Leopard very soon > (living on far & distant planets has pluses and minuses) > so could some kind soul please test the following Applescript > on Leopard for me? > > If it works it will open a spotlight search for "bob". > > TIA > sims > > tell application "Finder" > set the search_string to "bob" > end tell > tell application "System Events" > keystroke " " using {option down, command down} > delay 1 > keystroke search_string > delay 1 > end tell works fine, did open a Finderweindow with the search results. Best Klaus Major klaus at major-k.de http://www.major-k.de From dave at looktowindward.com Sun Nov 4 14:53:33 2007 From: dave at looktowindward.com (Dave) Date: Sun, 4 Nov 2007 19:53:33 +0000 Subject: 32 Bit Hash Function? Message-ID: <19EB062C-FF5C-48F7-B667-A295AF6902C0@looktowindward.com> Hi All, I have to generate a 32-bit hash value and before I re-invent the wheel wondering if anyone had already written one? Thanks a lot All the Best Dave From revolution at jaedworks.com Sun Nov 4 10:14:17 2007 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Sun, 4 Nov 2007 08:14:17 -0700 Subject: Option controls on Windows In-Reply-To: <472C9FD3.8050506@fourthworld.com> References: <472C9FD3.8050506@fourthworld.com> Message-ID: At 9:20 AM -0700 11/3/2007, Richard Gaskin wrote: >Yes, the traversalOn is true (not sure how I'd be able to interact >with it via the keyboard without that). For some reason, I was able to use the keyboard navigation even with traversalOn false (but menuPick wasn't getting sent when I pressed the Enter key in that configuration). The ways of Transcript are mysterious indeed, or something. ;-) -- Jeanne A. E. DeVoto, Transcript Language Curmudgeon revolution at jaedworks.com http://www.jaedworks.com From songe at agate.plala.or.jp Sun Nov 4 16:58:48 2007 From: songe at agate.plala.or.jp (Jonathan Scott) Date: Mon, 5 Nov 2007 06:58:48 +0900 Subject: Newbie Questions Message-ID: <9E21C0EC-D7DC-41ED-B74E-A2C8E9FC4E29@agate.plala.or.jp> Hi, My name is Jonathan Scott. I was using SuperCard for quite a while. Hypercard before that. I recently moved over to RunRev. I'm sorry to bug you with simple stuff, but I don't seem to be able to find the answers on my own. I have a stack that is supposed to write out text files. When I use the normal file writing procedure (as shown below): open file thisfile for write write thisstuff to file thisfile close file thisfile I can get the files to show up, but they don't appear immediately. Even if I reboot the computer, the files won't show up. The only way to get them to show up is to do a search of my hard drive for the file name and then, the computer will tell me about them. So, I switched to the put thisstuff into URL "file:thisfile" method. And that works a whole lot better. Here's the problem though: I can't get either of these methods to work in a standalone. When I save the stacks out as a standalone, no files ever get written, no matter what I do. ---------- Next problem: send "mouseUp" to bg btn "Bob" doesn't work for me at all when I put it in the openstack handler. I researched it out on the net, and they said that this was a problem with the preferences file getting corrupted. The suggested advice was to throw away the preferences file. I did this, but, it still didn't work. It goes without saying that it was also unsuccessful in a standalone. Thanks. I'm sorry to bother you with trivial matters. P.S. I'm on a mac running Tiger. Thank you again. From sarah.reichelt at gmail.com Sun Nov 4 17:17:33 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 5 Nov 2007 08:17:33 +1000 Subject: Leopard-Spotlight-Applescript In-Reply-To: References: Message-ID: On 11/5/07, Jim Sims wrote: > Looks like I will not have a copy of Leopard very soon > (living on far & distant planets has pluses and minuses) > so could some kind soul please test the following Applescript > on Leopard for me? > > If it works it will open a spotlight search for "bob". > > TIA > sims > > tell application "Finder" > set the search_string to "bob" > end tell > tell application "System Events" > keystroke " " using {option down, command down} > delay 1 > keystroke search_string > delay 1 > end tell > Not only does it work perfectly, but I plan to use that trick of setting the search string. Thanks! Mac OS X 10.5, Intel Core 2 Duo iMac. Cheers, Sarah From m.schonewille at economy-x-talk.com Sun Nov 4 17:30:07 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 4 Nov 2007 23:30:07 +0100 Subject: Newbie Questions In-Reply-To: <9E21C0EC-D7DC-41ED-B74E-A2C8E9FC4E29@agate.plala.or.jp> References: <9E21C0EC-D7DC-41ED-B74E-A2C8E9FC4E29@agate.plala.or.jp> Message-ID: <74ED1987-8502-4567-86DA-897865C84721@economy-x-talk.com> Hi Jonathan, Nice to see you here. Welcome to the Rev community. I am pretty sure that something is wrong with the path. Note that Rev paths don't use colons but slashes to delimit the components of the path. Do you see similar problems if you run the following script? on foo ask file "Save as..." if it is not empty then put it into myFile open file myFile for write write "some string" to file myFile close file myFile put "You can find your file at:" && myFile end if end foo Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 4-nov-2007, om 22:58 heeft Jonathan Scott het volgende geschreven: > Hi, > My name is Jonathan Scott. I was using SuperCard for quite a > while. Hypercard before that. I recently moved over to RunRev. > I'm sorry to bug you with simple stuff, but I don't seem to be able > to find the answers on my own. > I have a stack that is supposed to write out text files. When I > use the normal file writing procedure (as shown below): > > open file thisfile for write > write thisstuff to file thisfile > close file thisfile > > I can get the files to show up, but they don't appear > immediately. Even if I reboot the computer, the files won't show > up. The only way to get them to show up is to do a search of my > hard drive for the file name and then, the computer will tell me > about them. > So, I switched to the put thisstuff into URL "file:thisfile" > method. And that works a whole lot better. > > Here's the problem though: I can't get either of these methods to > work in a standalone. When I save the stacks out as a standalone, > no files ever get written, no matter what I do. > > ---------- > > Next problem: > > send "mouseUp" to bg btn "Bob" doesn't work for me at all when I > put it in the openstack handler. > I researched it out on the net, and they said that this was a > problem with the preferences file getting corrupted. The suggested > advice was to throw away the preferences file. I did this, but, it > still didn't work. It goes without saying that it was also > unsuccessful in a standalone. > > Thanks. I'm sorry to bother you with trivial matters. > > P.S. I'm on a mac running Tiger. Thank you again. > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Nov 4 17:32:47 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 5 Nov 2007 08:32:47 +1000 Subject: Newbie Questions In-Reply-To: <9E21C0EC-D7DC-41ED-B74E-A2C8E9FC4E29@agate.plala.or.jp> References: <9E21C0EC-D7DC-41ED-B74E-A2C8E9FC4E29@agate.plala.or.jp> Message-ID: Welcome to the Revolution, Jonathan :-) And please don;t apologize for asking questions. I think a lot of people are too nervous to ask, so it is great when someone like you actually does. The information will be of use to a lot more than just you. > My name is Jonathan Scott. I was using SuperCard for quite a > while. Hypercard before that. I recently moved over to RunRev. I'm > sorry to bug you with simple stuff, but I don't seem to be able to > find the answers on my own. > I have a stack that is supposed to write out text files. When I use > the normal file writing procedure (as shown below): > > open file thisfile for write > write thisstuff to file thisfile > close file thisfile > > I can get the files to show up, but they don't appear immediately. > Even if I reboot the computer, the files won't show up. The only way > to get them to show up is to do a search of my hard drive for the > file name and then, the computer will tell me about them. I have had this happen sometimes when writing files to the Desktop. Unfortunately, I think it is Tiger's fault, not something that Rev can fix. Leopard is supposed to be much better at keeping the Finder display current. > So, I switched to the put thisstuff into URL "file:thisfile" > method. And that works a whole lot better. Yes, and it's much easier to write. I never use the other method any more. > Here's the problem though: I can't get either of these methods to > work in a standalone. When I save the stacks out as a standalone, no > files ever get written, no matter what I do. This is odd. If you were not using local files, I would think that the URL library was getting left out of your standalone, but I don't think that matters for just writing to your own drives. Put a check after the line that saves the data and see what "the result" is set to. If there is a problem, "the result" should tell you what it is. > Next problem: > > send "mouseUp" to bg btn "Bob" doesn't work for me at all when I put > it in the openstack handler. > I researched it out on the net, and they said that this was a > problem with the preferences file getting corrupted. The suggested > advice was to throw away the preferences file. I did this, but, it > still didn't work. It goes without saying that it was also > unsuccessful in a standalone. Unless you have opened a HyperCard stack in Rev, you don't need to specify "bg" or "cd" for any object. If you opened an HC stack directly, then the global property HCaddressing will be set to true and then you do specify cd or bg, but usually, you won't. So maybe the problem is that the button is not being found. Do you get an error or does nothing happen at all? Try adding another command like a beep to the openStack handler to make sure it is actually being called. HTH, Sarah From sarah.reichelt at gmail.com Sun Nov 4 17:51:41 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 5 Nov 2007 08:51:41 +1000 Subject: "proof-of-concept" Revolution Open Access Dictionary at revcoders.org In-Reply-To: <1A9C3536-0C27-413C-BECD-C5044F0A29D4@dvcreators.net> References: <313B4421-4660-40F3-9C23-40B1522CBB99@dvcreators.net> <831B8C5C-A167-42EA-B94F-ACFE856FBBCA@dvcreators.net> <610C03C6-9ECC-45D2-82BD-8AE6DF542A59@dvcreators.net> <19FC91D0-95F1-47CA-9AC3-20E548B850B6@cruzio.com> <257A6BD4-437E-44B4-B6E8-6F363FE53DB9@dvcreators.net> <33A72251-7198-4C8B-A094-A8EB90E89C48@cruzio.com> <2865C934-3909-40A3-AD84-0402BF8042D0@dvcreators.net> <3C332398-1639-4BB9-BEF4-657543818A3D@cruzio.com> <1A9C3536-0C27-413C-BECD-C5044F0A29D4@dvcreators.net> Message-ID: I've had a look Josh. I started the stack and got this error: executing at 8:48:26 AM Type Chunk: can't find background Object termCommentMaker Line setBottom the name of grp "comments" Hint stack "/Users/sarah/Downloads/revcoders_db_api.rev" However after that I could select a term and get to the web page. From the web page, I found searching does not yet work. No matter what I typed in, I got a list starting with the "with" entry. One time I got a short list which didn't seem to have any connection to my search term. I clicked "Show more.." or something like that, but now I can only get to the more verbose list of search results. I added a comment for testing purposes. Cheers, Sarah From mark at maseurope.net Sun Nov 4 18:11:19 2007 From: mark at maseurope.net (Mark Smith) Date: Sun, 4 Nov 2007 18:11:19 -0500 Subject: 32 Bit Hash Function? In-Reply-To: <19EB062C-FF5C-48F7-B667-A295AF6902C0@looktowindward.com> References: <19EB062C-FF5C-48F7-B667-A295AF6902C0@looktowindward.com> Message-ID: I don't know of one, but couldn't you use the built in md5 and do something simple to reduce it from 128 to 32 bits (maybe average the four groups of 32 bits) ? Best, Mark On 4 Nov 2007, at 14:53, Dave wrote: > Hi All, > > I have to generate a 32-bit hash value and before I re-invent the > wheel wondering if anyone had already written one? > > Thanks a lot > All the Best > Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JimAultWins at yahoo.com Sun Nov 4 17:15:33 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 04 Nov 2007 15:15:33 -0700 Subject: Newbie Questions In-Reply-To: <9E21C0EC-D7DC-41ED-B74E-A2C8E9FC4E29@agate.plala.or.jp> Message-ID: On 11/4/07 2:58 PM, "Jonathan Scott" wrote: > I have a stack that is supposed to write out text files. When I use > the normal file writing procedure (as shown below): > > open file thisfile for write > write thisstuff to file thisfile > close file thisfile > --hint: it might be better to add the extension, eg. ".txt" --URL file: only works for 'text' files, not images or other binary code files. --the path you specify must exist --the defaultfolder always has a setting to something --------- copy code below this line--------- answer "a file will be written to :" & cr & the defaultFolder answer folder "Choose a folder... any folder" put it into fullPathName answer fullPathName answer file "Choose a file ... any file " put it into fullFileName answer fullFileName put fullPathName & cr & fullFileName into msg set the defaultFolder to fullPathName put the seconds & " seconds " & cr & msg into url ("file:thisfile.txt") answer "my new file exists =" & (there is a file "thisfile.txt") set the defaultFolder to specialFolderPath("Desktop") put the ticks & " ticks" & cr & msg into url ("file:thisfile.txt") answer "my new file exists =" & (there is a file "thisfile.txt") ----------------- end copy code above this line ------------ Copy the above lines (without the ----------- lines), go to Rev, activate the message box click on the second tab (multi-line messages) paste in the code lines, then hit the enterkey to execute Follow the bouncing dialog boxes. This should get you pretty far down the path :-) Jim Ault Las Vegas From devin_asay at byu.edu Sun Nov 4 19:52:06 2007 From: devin_asay at byu.edu (Devin Asay) Date: Sun, 4 Nov 2007 17:52:06 -0700 Subject: Problem with FocusIn In-Reply-To: References: Message-ID: <661DB588-4A03-49BC-8A44-C613F1CE72EE@byu.edu> Hello Claus, On Nov 4, 2007, at 9:16 AM, Claus Dreischer wrote: > Hi, > > on a side note: > It's nice that some people are trying to improve the documentation > (wiki, etc.), > but on the other hand, there are people (me) who even can't read > the existing documentaion =:-/ > > The solution to my problem is the closeField message, which is only > sent when the content *has* changed. What you want is the exitField message. It is sent when leaving the field and the content has not changed. Devin > > >> check the field locking. >> >> from the docs: >> >> If the control is an unlocked field or a button whose menuMode is >> "comboBox", the openField message is sent to it instead of the >> focusIn message. >> >> A locked field receives the focusIn message when the user tabs to >> it or otherwise makes it active (focused), or when text in it is >> selected by a handler. >> >>> Hi, >>> >>> i have problems with the focusIn message. >>> >>> What i want to achive is to remember the value of a field >>> when the user is editing it (on focusIn). After that (on focusOut), >>> i would like to check the new value against the remembered one. >>> If they are different, the change has to be saved, >>> so i ask the user to do so when he's leaving the card. >>> >>> I think the focusIn message is not sent because even something like >>> >>> on focusIn >>> beep >>> end focusIn >>> >>> does not work. > Devin Asay Humanities Technology and Research Support Center Brigham Young University From jacque at hyperactivesw.com Mon Nov 5 00:20:17 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 04 Nov 2007 23:20:17 -0600 Subject: Newbie Questions In-Reply-To: References: Message-ID: <472EA811.4040205@hyperactivesw.com> Jim Ault wrote: > --URL file: only works for 'text' files, not images > or other binary code files. I misread this for a moment before I understood what Jim meant. In case anyone else did the same thing, the above means that the URL "file" specification only works on text files. It doesn't mean you can't write binary files using the URL keyword. To write binary data to a file using the URL keyword, substitute "binfile" for "file". Examples: put myTextData into url ("file:"& myPath) -- text files only put myBinaryData into url ("binfile:" & myPath) -- binary files -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From shaosean at wehostmacs.com Mon Nov 5 00:58:25 2007 From: shaosean at wehostmacs.com (Shao Sean) Date: Mon, 5 Nov 2007 00:58:25 -0500 Subject: Re-2: [ANN] Script Editor Modification Message-ID: <847B86CE-20E3-4190-98C3-79CB14D10AB1@wehostmacs.com> Sorry, I was away for the weekend.. I did manage to test it on Windows XP before leaving and it did seem work.. Also, if you're having problems with the download links you may have cookies turned off in web browser but if you do require a directly email < support AT shaosean DOT tk > directly -Sean From palcibiades-first at yahoo.co.uk Mon Nov 5 01:10:37 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 5 Nov 2007 06:10:37 +0000 Subject: Klaus' problem with focus Message-ID: <200711050610.37097.palcibiades-first@yahoo.co.uk> This is another classic example of what Ken expressed so clearly. I read the entry in the dictionary several times, and even knowing the answer, had to work hard at grasping that this what what to use when you wanted to to check for if the user wants to save changes before exiting a card. The entry itself would have been enormously increased in usefulness if there were a section below it called 'Main things you can use this for'. Even more so if in addition to this there had been a link from an entry like 'confirm changes' or 'ask whether to save'. Peter From claus at dreischer.de Mon Nov 5 05:55:48 2007 From: claus at dreischer.de (Claus Dreischer) Date: Mon, 5 Nov 2007 11:55:48 +0100 (MET) Subject: Problem with FocusIn Message-ID: <200711051055.lA5AtmE9002432@post.webmailer.de> Hello Devin, i think i do want to use the closeField message :-) because i want to know when a field *has* changed. Context: The card has several fields like name, company, street, address, etc. a save button, to buttons for up and down paging, a "new" button and a "delete" button. What i'd like to achive is to remember the user to save his changes, when he changed a field and not saved it by pushing the "save" button. So i need a flag like "some-fields-have-changed" to evaluate when he is pressing the "up" or "down" button, or when he's leaving the card. Regards, Claus. > Hello Claus, ... > > The solution to my problem is the closeField message, which is only > > sent when the content *has* changed. > > What you want is the exitField message. It is sent when leaving the > field and the content has not changed. > > Devin > > > > > > >> check the field locking. > >> > >> from the docs: > >> > >> If the control is an unlocked field or a button whose menuMode is > >> "comboBox", the openField message is sent to it instead of the > >> focusIn message. > >> > >> A locked field receives the focusIn message when the user tabs to > >> it or otherwise makes it active (focused), or when text in it is > >> selected by a handler. > >> > >>> Hi, > >>> > >>> i have problems with the focusIn message. > >>> > >>> What i want to achive is to remember the value of a field > >>> when the user is editing it (on focusIn). After that (on focusOut), > >>> i would like to check the new value against the remembered one. > >>> If they are different, the change has to be saved, > >>> so i ask the user to do so when he's leaving the card. > >>> > >>> I think the focusIn message is not sent because even something like > >>> > >>> on focusIn > >>> beep > >>> end focusIn > >>> > >>> does not work. > > > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University From claus at dreischer.de Mon Nov 5 06:03:35 2007 From: claus at dreischer.de (Claus Dreischer) Date: Mon, 5 Nov 2007 12:03:35 +0100 (MET) Subject: Klaus' problem with focus Message-ID: <200711051103.lA5B3Zjx019320@post.webmailer.de> Hello Peter, it was so very obvious to me that it has to be something with "focus" that i would have sworn Klaus' left hand for that ... Glad he wasn't around ;-) Regards, Claus. > This is another classic example of what Ken expressed so clearly. > > I read the entry in the dictionary several times, and even knowing the > answer, > had to work hard at grasping that this what what to use when you wanted to > to > check for if the user wants to save changes before exiting a card. > > The entry itself would have been enormously increased in usefulness if there > > were a section below it called 'Main things you can use this for'. > > Even more so if in addition to this there had been a link from an entry > like 'confirm changes' or 'ask whether to save'. > > Peter From eric.chatonet at sosmartsoftware.com Mon Nov 5 06:04:20 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 5 Nov 2007 12:04:20 +0100 Subject: Problem with FocusIn In-Reply-To: <200711051055.lA5AtmE9002432@post.webmailer.de> References: <200711051055.lA5AtmE9002432@post.webmailer.de> Message-ID: Hello Claus, I think you are right when wanting to use closeField. In the script of the card: local lChangedFlag -- local script variable on closeField put true into lChangedFlag -- will be set to true for any change in any field in the card end closeField on closeCard if lChangedFlag then put false into lChangedFlag end closeCard Best regards from Paris, Eric Chatonet. Le 5 nov. 07 ? 11:55, Claus Dreischer a ?crit : > Hello Devin, > > i think i do want to use the closeField message :-) > because i want to know when a field *has* changed. > > Context: > The card has several fields like name, company, street, address, etc. > a save button, to buttons for up and down paging, a "new" button > and a "delete" button. > > What i'd like to achive is to remember the user to save his changes, > when he changed a field and not saved it by pushing the "save" button. > So i need a flag like "some-fields-have-changed" to evaluate when > he is pressing the "up" or "down" button, > or when he's leaving the card. > > Regards, > Claus. > > >> Hello Claus, > > ... > >>> The solution to my problem is the closeField message, which is only >>> sent when the content *has* changed. >> >> What you want is the exitField message. It is sent when leaving the >> field and the content has not changed. >> >> Devin >> >>> >>> >>>> check the field locking. >>>> >>>> from the docs: >>>> >>>> If the control is an unlocked field or a button whose menuMode is >>>> "comboBox", the openField message is sent to it instead of the >>>> focusIn message. >>>> >>>> A locked field receives the focusIn message when the user tabs to >>>> it or otherwise makes it active (focused), or when text in it is >>>> selected by a handler. >>>> >>>>> Hi, >>>>> >>>>> i have problems with the focusIn message. >>>>> >>>>> What i want to achive is to remember the value of a field >>>>> when the user is editing it (on focusIn). After that (on >>>>> focusOut), >>>>> i would like to check the new value against the remembered one. >>>>> If they are different, the change has to be saved, >>>>> so i ask the user to do so when he's leaving the card. >>>>> >>>>> I think the focusIn message is not sent because even something >>>>> like >>>>> >>>>> on focusIn >>>>> beep >>>>> end focusIn >>>>> >>>>> does not work. >>> >> >> Devin Asay >> Humanities Technology and Research Support Center >> Brigham Young University > ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From klaus at major-k.de Mon Nov 5 06:08:15 2007 From: klaus at major-k.de (Klaus Major) Date: Mon, 5 Nov 2007 12:08:15 +0100 Subject: Klaus' problem with focus In-Reply-To: <200711051103.lA5B3Zjx019320@post.webmailer.de> References: <200711051103.lA5B3Zjx019320@post.webmailer.de> Message-ID: <90CE8193-A78E-4CD0-B92C-312745894FB8@major-k.de> Hi Claus, > Hello Peter, > > it was so very obvious to me that it has to be something with > "focus" that i would have sworn Klaus' left hand for that ... > Glad he wasn't around ;-) I'm ALWAYS around! :-D > Regards, > Claus. Best Klaus Major klaus at major-k.de http://www.major-k.de From andre at andregarzia.com Mon Nov 5 09:47:35 2007 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 5 Nov 2007 12:47:35 -0200 Subject: Asus eee laptop? In-Reply-To: <7aa52a210711022157w66898bc0oddf693f8fc63a18@mail.gmail.com> References: <7aa52a210711021950j8199423i1d6a0846f44f48f1@mail.gmail.com> <7aa52a210711022157w66898bc0oddf693f8fc63a18@mail.gmail.com> Message-ID: <7c87a2a10711050647s3eb8d73fn15d2d420f81e5043@mail.gmail.com> Chipp, I've seen a review at download squad telling that Asus modified Xandros OS does not offer a way to add custom software to their launcher... you can still use a terminal to launch applications but there's no way to add software to those panels... very very very strange... Andre On 11/3/07, Chipp Walters wrote: > For those who don't know what it is.. > > http://www.pcmag.com/article2/0,1759,2209845,00.asp > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From devin_asay at byu.edu Mon Nov 5 10:09:43 2007 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 5 Nov 2007 08:09:43 -0700 Subject: Problem with FocusIn In-Reply-To: <200711051055.lA5AtmE9002432@post.webmailer.de> References: <200711051055.lA5AtmE9002432@post.webmailer.de> Message-ID: <81DB1372-CB82-4CF4-BAF2-FBAFC21936A1@byu.edu> Hi Claus, I see that I misread your message, and that closeField was what you needed. Very often in situations like yours I write both a closeField and exitField handler so that I can account for all possible outcomes. Sorry for misreading; hope I didn't add to the confusion. :-P Devin On Nov 5, 2007, at 3:55 AM, Claus Dreischer wrote: > Hello Devin, > > i think i do want to use the closeField message :-) > because i want to know when a field *has* changed. > > Context: > The card has several fields like name, company, street, address, etc. > a save button, to buttons for up and down paging, a "new" button > and a "delete" button. > > What i'd like to achive is to remember the user to save his changes, > when he changed a field and not saved it by pushing the "save" button. > So i need a flag like "some-fields-have-changed" to evaluate when > he is pressing the "up" or "down" button, > or when he's leaving the card. > > Regards, > Claus. > > >> Hello Claus, > > ... > >>> The solution to my problem is the closeField message, which is only >>> sent when the content *has* changed. >> >> What you want is the exitField message. It is sent when leaving the >> field and the content has not changed. >> >> Devin >> >>> >>> >>>> check the field locking. >>>> >>>> from the docs: >>>> >>>> If the control is an unlocked field or a button whose menuMode is >>>> "comboBox", the openField message is sent to it instead of the >>>> focusIn message. >>>> >>>> A locked field receives the focusIn message when the user tabs to >>>> it or otherwise makes it active (focused), or when text in it is >>>> selected by a handler. >>>> >>>>> Hi, >>>>> >>>>> i have problems with the focusIn message. >>>>> >>>>> What i want to achive is to remember the value of a field >>>>> when the user is editing it (on focusIn). After that (on >>>>> focusOut), >>>>> i would like to check the new value against the remembered one. >>>>> If they are different, the change has to be saved, >>>>> so i ask the user to do so when he's leaving the card. >>>>> >>>>> I think the focusIn message is not sent because even something >>>>> like >>>>> >>>>> on focusIn >>>>> beep >>>>> end focusIn >>>>> >>>>> does not work. >>> >> >> Devin Asay >> Humanities Technology and Research Support Center >> Brigham Young University > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Devin Asay Humanities Technology and Research Support Center Brigham Young University From dave at looktowindward.com Mon Nov 5 10:22:38 2007 From: dave at looktowindward.com (Dave) Date: Mon, 5 Nov 2007 15:22:38 +0000 Subject: Question on RunRev/SQLite Message-ID: Hi All, According to the SQLite Documentation, it seems you can use a "pragma" statement to select the character encoding for the database when it is created. Using the RunRev interface how and when do I specify this pragma? The URL for the SQLite documentation is: http://www.sqlite.org/pragma.html Scroll down to the "PRAGMA encoding; " Section. Thanks a lot All the Best Dave From bvg at mac.com Mon Nov 5 11:29:46 2007 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 5 Nov 2007 17:29:46 +0100 Subject: Question on RunRev/SQLite In-Reply-To: References: Message-ID: On 05 Nov 2007, at 16:22, Dave wrote: > Using the RunRev interface how and when do I specify this pragma? Try the revExecuteSQL command For example this should work (untested): revExecuteSQL theDatabaseID, "PRAGMA auto_vacuum = 0" -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From chipp at chipp.com Mon Nov 5 11:33:09 2007 From: chipp at chipp.com (Chipp Walters) Date: Mon, 5 Nov 2007 10:33:09 -0600 Subject: Asus eee laptop? In-Reply-To: <7c87a2a10711050647s3eb8d73fn15d2d420f81e5043@mail.gmail.com> References: <7aa52a210711021950j8199423i1d6a0846f44f48f1@mail.gmail.com> <7aa52a210711022157w66898bc0oddf693f8fc63a18@mail.gmail.com> <7c87a2a10711050647s3eb8d73fn15d2d420f81e5043@mail.gmail.com> Message-ID: <7aa52a210711050833r3c5e0828rbac3040fa358c63b@mail.gmail.com> Hi Andre. Yeah, but there are workarounds..and I expect someone like you or Chris could figure out the launcher issue in a sec-- it's been out less than a week. Probably some custom config file with associated icons. Check out: http://forum.eeeuser.com/viewtopic.php?id=808 Also, people are successfully installing both Ubuntu and WinXP on this small computer. And, boy is it tiny- but supposedly one can still touch type. I'll have to see. -Chipp On 11/5/07, Andre Garzia wrote: > Chipp, > > I've seen a review at download squad telling that Asus modified > Xandros OS does not offer a way to add custom software to their > launcher... you can still use a terminal to launch applications but > there's no way to add software to those panels... From songe at agate.plala.or.jp Fri Nov 2 07:24:22 2007 From: songe at agate.plala.or.jp (Jonathan Scott) Date: Fri, 2 Nov 2007 20:24:22 +0900 Subject: openstack Message-ID: Hi, My name is songe. I'm new to runrev. I'm trying to do something simple and can't figure out how to do it. I need a button to be activated as soon as the stack is opened. So, in the stack script I put the following line: send "mouseUp" to bg btn id XXX. When I quit out of it all and then come back into it though, the button is not activated. Could you please tell me what I am doing wrong? Thank you. From devin_asay at byu.edu Mon Nov 5 12:55:00 2007 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 5 Nov 2007 10:55:00 -0700 Subject: openstack In-Reply-To: References: Message-ID: <445063E5-33B6-41E3-8E39-513741D00AFF@byu.edu> Hi Jonathan, Welcome to the Revolution. I see a couple of possible problems. One is that in Revolution, as opposed to HyperCard, you don't normally refer to objects as background or card objects, just field, button, group, image, whatever. (The exception is when you have directly imported a HyperCard stack. In that case Revolution sets the HCaddressing property to true so that it can understand HyperCard object references.) So you could try: send "mouseUp" to btn id xxx You might also try specifying the object more fully: send "mouseUp" to btn id xxx of card X It may also be a matter of where you put the command--in which handler. For example, the startup message doesn't get sent to your stack in the Development environment, so nothing in 'on startup' would run when you open the stack. The startup message will only get sent when you create a standalone from your stack. Finally, have you tried putting the command in an openCard or preOpenCard handler? Because of the order that libraries load, certain commands may not work in a stack that's been made into a standalone. Hope something here helps. Devin On Nov 2, 2007, at 5:24 AM, Jonathan Scott wrote: > Hi, > My name is songe. I'm new to runrev. I'm trying to do something > simple and can't figure out how to do it. > > I need a button to be activated as soon as the stack is opened. > So, in the stack script I put the following line: > > send "mouseUp" to bg btn id XXX. > > When I quit out of it all and then come back into it though, the > button is not activated. Could you please tell me what I am doing > wrong? Thank you. Devin Asay Humanities Technology and Research Support Center Brigham Young University From mail at richard-hillen.de Mon Nov 5 16:16:47 2007 From: mail at richard-hillen.de (R. Hillen) Date: Mon, 5 Nov 2007 22:16:47 +0100 Subject: put into URL() on windows Message-ID: Hello list, On OS X I often wrote such like: put aa.txt into myfilename put seconds() into url("file://" & myfilename), which worked ok. Standalones for OS X also worked, but a standalone for windows put the result "can?t open file". What is wrong? Thank you for your help. Richard. From lists at mangomultimedia.com Mon Nov 5 16:50:45 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 5 Nov 2007 16:50:45 -0500 Subject: Question on RunRev/SQLite In-Reply-To: References: Message-ID: <32B1F242-71ED-45A8-965A-672678C1CC15@mangomultimedia.com> On Nov 5, 2007, at 10:22 AM, Dave wrote: > > According to the SQLite Documentation, it seems you can use a > "pragma" statement to select the character encoding for the database > when it is created. Using the RunRev interface how and when do I > specify this pragma? For PRAGMA calls that return records use the same calls as you would for SELECT statements (i.e. revQueryDatabase). For PRAGMA calls that don't return records use revExeucteSQL. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From jbv.silences at club-internet.fr Mon Nov 5 17:34:28 2007 From: jbv.silences at club-internet.fr (jbv) Date: Mon, 05 Nov 2007 23:34:28 +0100 Subject: Rev cgi on Win 2K server, anyone ? Message-ID: <472F9A73.42A14D6E@club-internet.fr> Hi list, I need to install Rev cgi on a Win 2003 server, with connections to mySQL 5+. I'm doing this because I want to reuse some older scripts and lack the time (and motivation) to rewrite everything in php. I've found some advices / tutorials in the list archives, but most of them are at least 18 months old... I was wondering if anyone had a more recent experience and was willing to share it with someone who has always used Rev cgi under Linux so far... Thanks in advance, JB From mark at maseurope.net Mon Nov 5 19:08:08 2007 From: mark at maseurope.net (Mark Smith) Date: Mon, 5 Nov 2007 19:08:08 -0500 Subject: put into URL() on windows In-Reply-To: References: Message-ID: Richard, the "file://" should be simply "file:" - I'm surprised it worked at all, maybe Windows is a bit pickier than OS X.... Best, Mark On 5 Nov 2007, at 16:16, R. Hillen wrote: > Hello list, > > On OS X I often wrote such like: > > put aa.txt into myfilename > put seconds() into url("file://" & myfilename), > > which worked ok. Standalones for OS X also worked, > but a standalone for windows put the result "can?t open file". > > What is wrong? > > Thank you for your help. > > Richard._______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From cszasz at mac.com Mon Nov 5 20:40:01 2007 From: cszasz at mac.com (Charles Szasz) Date: Mon, 5 Nov 2007 17:40:01 -0800 (PST) Subject: Has anybody run into this problem? Message-ID: <13598967.post@talk.nabble.com> I have testing my application on both the Mac and Windows. I am using Rev. 2.8.1 Built 472. I am testing my Windows app using Parallels on OS 10.4.11. The Mac app runs fine. The Windows app runs once on Windows 98 but then it will not run again. You have to reboot to run it again. And then you can only run it once before rebooting again. Has anybody run into this problem? -- View this message in context: http://www.nabble.com/Has-anybody-run-into-this-problem--tf4755463.html#a13598967 Sent from the Revolution - User mailing list archive at Nabble.com. From chipp at chipp.com Mon Nov 5 23:00:39 2007 From: chipp at chipp.com (Chipp Walters) Date: Mon, 5 Nov 2007 22:00:39 -0600 Subject: Built with rev studio In-Reply-To: <13479344.post@talk.nabble.com> References: <13479344.post@talk.nabble.com> Message-ID: <7aa52a210711052000w4006391bp50e225acaa29029c@mail.gmail.com> Nice job John. Hope you have much success! From songe at agate.plala.or.jp Tue Nov 6 03:14:43 2007 From: songe at agate.plala.or.jp (Jonathan Scott) Date: Tue, 6 Nov 2007 17:14:43 +0900 Subject: use-revolution Digest, Vol 50, Issue 10 In-Reply-To: <20071105180004.E033748940C@mail.runrev.com> References: <20071105180004.E033748940C@mail.runrev.com> Message-ID: <1D5D5E87-92A6-4862-A6B4-FCA941011EC2@agate.plala.or.jp> Howdy, Thank you to everyone who pointed me towards my solutions. I still don't know exactly what is going on, but here are the solutions I figured out after receiving your advice: openstack not functioning I just put in a new card with nothing on it (as the first card in the stack). In it's handler I put in an "on idle" handler that does nothing but issue "send 'mouseUp'" statements and then moves the user to another card afterward (to a place where there is no "on idle" handler). text files not being written The big problem was that text files were actually being written. I just couldn't find them for a few minutes sometimes. Sometimes I'd have to wait a very long time for the files to pop up on the screen. My assumption was that the finder's ability to update every viewable portion of the hard drive can take a lot of time. IOW, the file was there, it was just that the finder hadn't moved in to update that part of the screen yet. So, my workaround was to have all files be saved to a folder on the desktop. Because the desktop is closer to the top of the hierarchical structure, it is probably updated with much greater frequency. I still don't know if this is a good decision. It works though, so I'm happy. Thanks again everybody. On Nov 6, 2007, at 3:00 AM, use-revolution-request at lists.runrev.com wrote: > Hi Jonathan, > > Nice to see you here. Welcome to the Rev community. > > I am pretty sure that something is wrong with the path. Note that Rev > paths don't use colons but slashes to delimit the components of the > path. > > Do you see similar problems if you run the following script? > > on foo > ask file "Save as..." > if it is not empty then > put it into myFile > open file myFile for write > write "some string" to file myFile > close file myFile > put "You can find your file at:" && myFile > end if > end foo > > Best regards, > > Mark Schonewille From runrev260805 at m-r-d.de Tue Nov 6 03:39:17 2007 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Tue, 6 Nov 2007 08:39:17 +0000 Subject: Has anybody run into this problem? Message-ID: Hi Charles, it could be, that your app did not close properly. It could be, that it still remains as a process, even if it is not visible anymore. I do not remember, if the taskmanager under Win98 is able to show running processes. So look here http://www.microsoft.com/technet/sysinternals/utilities/processexplorer.mspx for a tool which shows you the running processes under windows, even win 98. If you can see your app in the list of running processes try to "kill" that process. You can find a tool named kill.exe under ftp://ftp.microsoft.com/services/technet/samples/ps/win98/reskit/diagnose/ After killing that process you should be able to run you app again. After that you should verify, if your app is running on other machines/OS without that problem. Best regards, Matthias Original Message processed by David InfoCenter Subject: Has anybody run into this problem? (06-Nov-2007 6:40) From: Charles Szasz To: runrev260805 at m-r-d.de I have testing my application on both the Mac and Windows. I am using Rev. 2.8.1 Built 472. I am testing my Windows app using Parallels on OS 10.4.11. The Mac app runs fine. The Windows app runs once on Windows 98 but then it will not run again. You have to reboot to run it again. And then you can only run it once before rebooting again. Has anybody run into this problem? -- View this message in context: http://www.nabble.com/Has-anybody-run-into-this-problem--tf4755463.html#a13598967 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 To: use-revolution at lists.runrev.com From jbv.silences at club-internet.fr Tue Nov 6 07:19:13 2007 From: jbv.silences at club-internet.fr (jbv) Date: Tue, 06 Nov 2007 13:19:13 +0100 Subject: where to download an old Rev cgi engine for Windows ? Message-ID: <47305BBB.DC76E352@club-internet.fr> Hi, Does anyone know where to download an old Rev cgi engine for Windows (like 2.5) ? thanks, JB From m.schonewille at economy-x-talk.com Tue Nov 6 08:06:54 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 6 Nov 2007 14:06:54 +0100 Subject: Idle handlers and Text files In-Reply-To: <1D5D5E87-92A6-4862-A6B4-FCA941011EC2@agate.plala.or.jp> References: <20071105180004.E033748940C@mail.runrev.com> <1D5D5E87-92A6-4862-A6B4-FCA941011EC2@agate.plala.or.jp> Message-ID: <86C2FBB2-7693-4611-9BC4-5E4B6BCE291B@economy-x-talk.com> Hi Jonathan, It is recommended to use the send command instead of the idle handler. on preOpenStack send "foo" to me in 0 millisecs pass preOpenStack end preOpenStack on foo -- do something here send "foo" to me in 200 millisecs end foo If the preOpenStack handler doesn't allow you to do this, you made a mistake somewhere, which needs to be corrected to avoid problems in the future. If I understand you correctly, you can't send a mouseUp message automatically after opening the stack. That also means you made a mistake somewhere, which needs to be corrected. I don't think that using the idle handler, or send, is a good alternative in this case. My advice would be to find out why you can't send that mouseUp command. The Finder simply updates open windows once in a while, including the desktop. It doesn't matter at which level in the hierarchy they are. However, if you add or remove a folder, the window gets updated instantly. Not sure that it helps you, but if I do a test writing files to a folder or the desktop, I see the file appear instantly on my local disks, but not that quickly on network disks. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 6-nov-2007, om 9:14 heeft Jonathan Scott het volgende geschreven: > Howdy, > Thank you to everyone who pointed me towards my solutions. > I still don't know exactly what is going on, but here are the > solutions I figured out after receiving your advice: > > openstack not functioning > I just put in a new card with nothing on it (as the first card in > the stack). In it's handler I put in an "on idle" handler that > does nothing but issue "send 'mouseUp'" statements and then moves > the user to another card afterward (to a place where there is no > "on idle" handler). > > text files not being written > The big problem was that text files were actually being written. > I just couldn't find them for a few minutes sometimes. Sometimes > I'd have to wait a very long time for the files to pop up on the > screen. My assumption was that the finder's ability to update > every viewable portion of the hard drive can take a lot of time. > IOW, the file was there, it was just that the finder hadn't moved > in to update that part of the screen yet. So, my workaround was to > have all files be saved to a folder on the desktop. Because the > desktop is closer to the top of the hierarchical structure, it is > probably updated with much greater frequency. I still don't know > if this is a good decision. It works though, so I'm happy. > > Thanks again everybody. > From len-morgan at crcom.net Tue Nov 6 08:49:54 2007 From: len-morgan at crcom.net (Len Morgan) Date: Tue, 06 Nov 2007 07:49:54 -0600 Subject: Idle handlers and Text files In-Reply-To: <86C2FBB2-7693-4611-9BC4-5E4B6BCE291B@economy-x-talk.com> References: <20071105180004.E033748940C@mail.runrev.com> <1D5D5E87-92A6-4862-A6B4-FCA941011EC2@agate.plala.or.jp> <86C2FBB2-7693-4611-9BC4-5E4B6BCE291B@economy-x-talk.com> Message-ID: <47307102.2050104@crcom.net> Along the lines of this discussion, I think someone mentioned that the preOpenStack message is NOT sent when you are using the IDE. Is this true? If so, where can I put start-up code so that I set things up before an app gets going in both the IDE and a stand-alone? Thanks! len Mark Schonewille wrote: > Hi Jonathan, > > It is recommended to use the send command instead of the idle handler. > > on preOpenStack > send "foo" to me in 0 millisecs > pass preOpenStack > end preOpenStack > > on foo > -- do something here > send "foo" to me in 200 millisecs > end foo > > If the preOpenStack handler doesn't allow you to do this, you made a > mistake somewhere, which needs to be corrected to avoid problems in > the future. > > If I understand you correctly, you can't send a mouseUp message > automatically after opening the stack. That also means you made a > mistake somewhere, which needs to be corrected. I don't think that > using the idle handler, or send, is a good alternative in this case. > My advice would be to find out why you can't send that mouseUp command. > > The Finder simply updates open windows once in a while, including the > desktop. It doesn't matter at which level in the hierarchy they are. > However, if you add or remove a folder, the window gets updated > instantly. Not sure that it helps you, but if I do a test writing > files to a folder or the desktop, I see the file appear instantly on > my local disks, but not that quickly on network disks. > > Best regards, > > Mark Schonewille > > -- > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Quickly extract data from your HyperCard stacks with DIFfersifier. > http://differsifier.economy-x-talk.com > > > Op 6-nov-2007, om 9:14 heeft Jonathan Scott het volgende geschreven: > >> Howdy, >> Thank you to everyone who pointed me towards my solutions. >> I still don't know exactly what is going on, but here are the >> solutions I figured out after receiving your advice: >> >> openstack not functioning >> I just put in a new card with nothing on it (as the first card in >> the stack). In it's handler I put in an "on idle" handler that does >> nothing but issue "send 'mouseUp'" statements and then moves the user >> to another card afterward (to a place where there is no "on idle" >> handler). >> >> text files not being written >> The big problem was that text files were actually being written. >> I just couldn't find them for a few minutes sometimes. Sometimes I'd >> have to wait a very long time for the files to pop up on the screen. >> My assumption was that the finder's ability to update every viewable >> portion of the hard drive can take a lot of time. IOW, the file was >> there, it was just that the finder hadn't moved in to update that >> part of the screen yet. So, my workaround was to have all files be >> saved to a folder on the desktop. Because the desktop is closer to >> the top of the hierarchical structure, it is probably updated with >> much greater frequency. I still don't know if this is a good >> decision. It works though, so I'm happy. >> >> Thanks again everybody. >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From m.schonewille at economy-x-talk.com Tue Nov 6 09:03:29 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 6 Nov 2007 15:03:29 +0100 Subject: Idle handlers and Text files In-Reply-To: <47307102.2050104@crcom.net> References: <20071105180004.E033748940C@mail.runrev.com> <1D5D5E87-92A6-4862-A6B4-FCA941011EC2@agate.plala.or.jp> <86C2FBB2-7693-4611-9BC4-5E4B6BCE291B@economy-x-talk.com> <47307102.2050104@crcom.net> Message-ID: <662E28D7-8AAF-4433-A898-6966D02BBAA0@economy-x-talk.com> Hi Len, The preOpenStack message should be sent in the IDE when a stack opens. I believe there was a bug in a particular version of Revolution, which prevented the message from being sent under particular circumstances. The message that is never sent to a stack in the IDE is the startUp message. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 6-nov-2007, om 14:49 heeft Len Morgan het volgende geschreven: > Along the lines of this discussion, I think someone mentioned that > the preOpenStack message is NOT sent when you are using the IDE. > Is this true? If so, where can I put start-up code so that I set > things up before an app gets going in both the IDE and a stand-alone? > > Thanks! > > len > > From ambassador at fourthworld.com Tue Nov 6 09:37:43 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 06 Nov 2007 06:37:43 -0800 Subject: Idle handlers and Text files Message-ID: <47307C37.3010000@fourthworld.com> Len Morgan wrote: > Along the lines of this discussion, I think someone mentioned that the > preOpenStack message is NOT sent when you are using the IDE. Is this > true? I don't believe so; AFAIK the IDE does not prevent your stack from getting preOpenStack messages. Perhaps you were thinking of startup? > If so, where can I put start-up code so that I set things up > before an app gets going in both the IDE and a stand-alone? I do initialization from a preOpenStack handler in the card script of the first card of the stack file which will be made into a standalone. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From niggemann at uni-wh.de Tue Nov 6 09:50:23 2007 From: niggemann at uni-wh.de (BNig) Date: Tue, 6 Nov 2007 06:50:23 -0800 (PST) Subject: Idle handlers and Text files In-Reply-To: <86C2FBB2-7693-4611-9BC4-5E4B6BCE291B@economy-x-talk.com> References: <1D5D5E87-92A6-4862-A6B4-FCA941011EC2@agate.plala.or.jp> <86C2FBB2-7693-4611-9BC4-5E4B6BCE291B@economy-x-talk.com> Message-ID: <13608036.post@talk.nabble.com> Hi, in my experience at times the Finder can be slow to update a file but most of the times this is not a problem for me. If I really depend on the Finder to be up to date on the file I'm creating I update the Finder with an applescript. This forces the Finder to update the file. You can do this from Revolution: on mouseUp answer file "choose document" if it is empty then exit mouseUp -- it contains a path to a file including the filename in revolution style put it into theRevPathFile -- convert the the path from revolution style to mac style for applescript put revMacFromUnixPath (theRevPathFile) into theFile -- build the applescript command put "tell application " & quote & "Finder" & quote into UpDateFileWithAppleScript put return & "update file " & quote & theFile & quote after UpDateFileWithAppleScript put return & "end tell" after UpDateFileWithAppleScript -- do the applescript do UpDateFileWithAppleScript as applescript -- if something went wrong in the applescript the result is not empty if the result is not empty then put the result end mouseUp of course this only shows how it works, to put it into a mouseUp handler with a choose file will probably not work on a file, which is not yet updated by the Finder... So just take the inner part of the handler and provide it with a complete path (rev style) to the file you want to update after you created it. fwiw Bernd Mark Schonewille-3 wrote: > > Hi Jonathan, > > > The Finder simply updates open windows once in a while, including the > desktop. It doesn't matter at which level in the hierarchy they are. > However, if you add or remove a folder, the window gets updated > instantly. Not sure that it helps you, but if I do a test writing > files to a folder or the desktop, I see the file appear instantly on > my local disks, but not that quickly on network disks. > > Best regards, > > Mark Schonewille > > > Op 6-nov-2007, om 9:14 heeft Jonathan Scott het volgende geschreven: > >> Howdy, >> Thank you to everyone who pointed me towards my solutions. >> I still don't know exactly what is going on, but here are the >> solutions I figured out after receiving your advice: >> >> openstack not functioning >> I just put in a new card with nothing on it (as the first card in >> the stack). In it's handler I put in an "on idle" handler that >> does nothing but issue "send 'mouseUp'" statements and then moves >> the user to another card afterward (to a place where there is no >> "on idle" handler). >> >> text files not being written >> The big problem was that text files were actually being written. >> I just couldn't find them for a few minutes sometimes. Sometimes >> I'd have to wait a very long time for the files to pop up on the >> screen. My assumption was that the finder's ability to update >> every viewable portion of the hard drive can take a lot of time. >> IOW, the file was there, it was just that the finder hadn't moved >> in to update that part of the screen yet. So, my workaround was to >> have all files be saved to a folder on the desktop. Because the >> desktop is closer to the top of the hierarchical structure, it is >> probably updated with much greater frequency. I still don't know >> if this is a good decision. It works though, so I'm happy. >> >> Thanks again everybody. >> > _______________________________________________ > use-revolution mailing list > use-revolution 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/Re%3A-use-revolution-Digest%2C-Vol-50%2C-Issue-10-tf4756652.html#a13608036 Sent from the Revolution - User mailing list archive at Nabble.com. From revolution at derbrill.de Tue Nov 6 10:11:11 2007 From: revolution at derbrill.de (Malte Brill) Date: Tue, 6 Nov 2007 16:11:11 +0100 Subject: Idle handlers and Text files In-Reply-To: <20071104180005.5AF2C489281@mail.runrev.com> References: <20071104180005.5AF2C489281@mail.runrev.com> Message-ID: > I don't believe so; AFAIK the IDE does not prevent your stack from > getting preOpenStack messages. Perhaps you were thinking of startup? Well, my experience is that it does not get sent if Rev is not yet open and you double click on a stack file, or drag the stack to the rev icon in the Dock under Os X. If Rev is already open stacks Do get preOpenstack and openStack. (latest 2.8 version, GLX installed, but I think the reason is the normal IDE not GLX) ATB, Malte From klaus at major-k.de Tue Nov 6 10:20:13 2007 From: klaus at major-k.de (Klaus Major) Date: Tue, 6 Nov 2007 16:20:13 +0100 Subject: Idle handlers and Text files In-Reply-To: References: <20071104180005.5AF2C489281@mail.runrev.com> Message-ID: <09195A03-36E2-4435-82F1-4CB13857CCDC@major-k.de> Hi all, > > I don't believe so; AFAIK the IDE does not prevent your stack from > > getting preOpenStack messages. Perhaps you were thinking of > startup? > > Well, my experience is that it does not get sent if Rev is not yet > open and you double click on a stack file, or drag the stack to the > rev icon in the Dock under Os X. > If Rev is already open stacks Do get preOpenstack and openStack. > > (latest 2.8 version, GLX installed, but I think the reason is the > normal IDE not GLX) and the IDE definitively catches a "custom" shutdownrequest handler. In our current project we make a data "backup" before the user quits, that is triggered by a "shutdownrequest" handler in a stack that is also being "use"d!, but in the IDE, the app quits WITHOUT making any backup. > ATB, > > Malte Regards Klaus Major klaus at major-k.de http://www.major-k.de From ambassador at fourthworld.com Tue Nov 6 10:27:02 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 06 Nov 2007 07:27:02 -0800 Subject: Idle handlers and Text files Message-ID: <473087C6.2040608@fourthworld.com> Malte Brill wrote: > > I don't believe so; AFAIK the IDE does not prevent your stack from > > getting preOpenStack messages. Perhaps you were thinking of startup? > > Well, my experience is that it does not get sent if Rev is not yet > open and you double click on a stack file, or drag the stack to the > rev icon in the Dock under Os X. > If Rev is already open stacks Do get preOpenstack and openStack. Thanks for the clarification, Malte. The engine's sending it -- do you know why it isn't be passed? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From userev at canelasoftware.com Tue Nov 6 10:36:26 2007 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 06 Nov 2007 07:36:26 -0800 Subject: Has anybody run into this problem? In-Reply-To: References: Message-ID: <1D323BEA-331A-4DE9-8900-CA95D095F6B4@canelasoftware.com> On Nov 6, 2007, at 12:39 AM, runrev260805 at m-r-d.de wrote: > it could be, that your app did not close properly. It could be, > that it still remains as a process, even if it is not visible anymore. This is usually caused by having Pending Messages that have not completed their tasks before closing. Mark Talluto -- CANELA Software http://www.canelasoftware.com From userev at canelasoftware.com Tue Nov 6 10:33:43 2007 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 06 Nov 2007 07:33:43 -0800 Subject: where to download an old Rev cgi engine for Windows ? In-Reply-To: <47305BBB.DC76E352@club-internet.fr> References: <47305BBB.DC76E352@club-internet.fr> Message-ID: On Nov 6, 2007, at 4:19 AM, jbv wrote: > Hi, > > Does anyone know where to download an old Rev cgi engine > for Windows (like 2.5) ? I have all the old MC engines at: Mark Talluto -- CANELA Software http://www.canelasoftware.com From len-morgan at crcom.net Tue Nov 6 10:43:09 2007 From: len-morgan at crcom.net (Len Morgan) Date: Tue, 06 Nov 2007 09:43:09 -0600 Subject: Idle handlers and Text files In-Reply-To: <47307C37.3010000@fourthworld.com> References: <47307C37.3010000@fourthworld.com> Message-ID: <47308B8D.1040004@crcom.net> I probably did confuse the "startup" message with preOpenStack however, I put a simple debug message in my preOpenStack handler (which is the STACK script) and it doesn't ever fire (when running in the IDE). The last line of your response brings up a question though: Why would you put a preOpenStack message in the first card instead of the stack script? This seems counterintuitive to me. For what it's worth, I am NOT starting up my stack by double clicking on it. I start up the Rev IDE first (w/ GLX2) and then use File->Open Stack to pick my stack. Len Morgan Richard Gaskin wrote: > Len Morgan wrote: > > Along the lines of this discussion, I think someone mentioned that the > > preOpenStack message is NOT sent when you are using the IDE. Is this > > true? > > I don't believe so; AFAIK the IDE does not prevent your stack from > getting preOpenStack messages. Perhaps you were thinking of startup? > > > If so, where can I put start-up code so that I set things up > > before an app gets going in both the IDE and a stand-alone? > > I do initialization from a preOpenStack handler in the card script of > the first card of the stack file which will be made into a standalone. > From m.schonewille at economy-x-talk.com Tue Nov 6 10:53:09 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 6 Nov 2007 16:53:09 +0100 Subject: Idle handlers and Text files In-Reply-To: <47308B8D.1040004@crcom.net> References: <47307C37.3010000@fourthworld.com> <47308B8D.1040004@crcom.net> Message-ID: <4A9BF34D-732A-4D95-BD93-27BE0D0D65FF@economy-x-talk.com> Hi Len, You'd put a preOpenStack handler into the card script of the mainstack if you want that script to run only when the mainstack opens and not when substacks open. Otherwise, the preOpenStack handler would be send up the message hierarchy each time a substack is opened. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 6-nov-2007, om 16:43 heeft Len Morgan het volgende geschreven: > I probably did confuse the "startup" message with preOpenStack > however, I put a simple debug message in my preOpenStack handler > (which is the STACK script) and it doesn't ever fire (when running > in the IDE). > > The last line of your response brings up a question though: Why > would you put a preOpenStack message in the first card instead of > the stack script? This seems counterintuitive to me. > > For what it's worth, I am NOT starting up my stack by double > clicking on it. I start up the Rev IDE first (w/ GLX2) and then > use File->Open Stack to pick my stack. > > Len Morgan > From devin_asay at byu.edu Tue Nov 6 11:00:12 2007 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 6 Nov 2007 09:00:12 -0700 Subject: Idle handlers and Text files In-Reply-To: <47308B8D.1040004@crcom.net> References: <47307C37.3010000@fourthworld.com> <47308B8D.1040004@crcom.net> Message-ID: <6AECAF01-8A06-426C-A762-BFB1057916CE@byu.edu> On Nov 6, 2007, at 8:43 AM, Len Morgan wrote: > I probably did confuse the "startup" message with preOpenStack > however, I put a simple debug message in my preOpenStack handler > (which is the STACK script) and it doesn't ever fire (when running > in the IDE). > > The last line of your response brings up a question though: Why > would you put a preOpenStack message in the first card instead of > the stack script? This seems counterintuitive to me. One good reason to do this is that when you make the stack into a standalone application, the stack in effect becomes the engine. Therefore, it is the final stop in the message hierarchy. That means that any substack or other stack that your standalone opens, if it doesn't have its own preOpenStack handler, will pass the preOpenStack message to the engine. You may not want the preOpenStack handler there to be activated for other stacks. On the other hand, if you put it in the first card's script, it will only run when the application is launched (because a stack by default opens to the first card.) > > For what it's worth, I am NOT starting up my stack by double > clicking on it. I start up the Rev IDE first (w/ GLX2) and then > use File->Open Stack to pick my stack. > > Len Morgan > > > Richard Gaskin wrote: >> Len Morgan wrote: >> > Along the lines of this discussion, I think someone mentioned >> that the >> > preOpenStack message is NOT sent when you are using the IDE. Is >> this >> > true? >> >> I don't believe so; AFAIK the IDE does not prevent your stack from >> getting preOpenStack messages. Perhaps you were thinking of startup? >> >> > If so, where can I put start-up code so that I set things up >> > before an app gets going in both the IDE and a stand-alone? >> >> I do initialization from a preOpenStack handler in the card script >> of the first card of the stack file which will be made into a >> standalone. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From len-morgan at crcom.net Tue Nov 6 11:13:08 2007 From: len-morgan at crcom.net (Len Morgan) Date: Tue, 06 Nov 2007 10:13:08 -0600 Subject: Idle handlers and Text files In-Reply-To: <4A9BF34D-732A-4D95-BD93-27BE0D0D65FF@economy-x-talk.com> References: <47307C37.3010000@fourthworld.com> <47308B8D.1040004@crcom.net> <4A9BF34D-732A-4D95-BD93-27BE0D0D65FF@economy-x-talk.com> Message-ID: <47309294.2070501@crcom.net> Hello Mark! If my first wife had not asked me to get the "big snip" as an anniversary present many years ago, I'd name my next male child after you for that little tidbit. I may still consider re-naming my first born male child after you, although at 22, he may have some thoughts on the matter. You have saved me DAYS of frustration in tracking down why my preOpenStack is getting executed AGAIN when I quit the app! Is that little item documented anywhere? Now that I see it in writing and knowing (a little) about how the message path works, it makes perfect sense. I guess I always figured that when I opened another stack, the message was sent to it. It never occurred that if there was no preOpenStack message, that it would get passed back to the caller! Perhaps that is obvious to everyone but me. Thanks again!!! len morgan Mark Schonewille wrote: > Hi Len, > > You'd put a preOpenStack handler into the card script of the mainstack > if you want that script to run only when the mainstack opens and not > when substacks open. Otherwise, the preOpenStack handler would be send > up the message hierarchy each time a substack is opened. > > Best regards, > > Mark Schonewille > > -- > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Quickly extract data from your HyperCard stacks with DIFfersifier. > http://differsifier.economy-x-talk.com From m.schonewille at economy-x-talk.com Tue Nov 6 11:47:28 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 6 Nov 2007 17:47:28 +0100 Subject: Idle handlers and Text files In-Reply-To: <47309294.2070501@crcom.net> References: <47307C37.3010000@fourthworld.com> <47308B8D.1040004@crcom.net> <4A9BF34D-732A-4D95-BD93-27BE0D0D65FF@economy-x-talk.com> <47309294.2070501@crcom.net> Message-ID: <9BCBD7D4-2285-4912-9F18-02970C70FB02@economy-x-talk.com> Hi Len, That's really too much honour for me, but I'm always glad to help. There is a nice stack by Richard, explaining the message hierarchy. You can find it here: The message hierarchy is extensively documented in the HyperCard literature. I don't know of any good reference directly connected with Revolution, except fo page 103 of the user manual PDF included with Revolution 2.7.1 and later. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 6-nov-2007, om 17:13 heeft Len Morgan het volgende geschreven: > Hello Mark! > > If my first wife had not asked me to get the "big snip" as an > anniversary present many years ago, I'd name my next male child > after you for that little tidbit. I may still consider re-naming > my first born male child after you, although at 22, he may have > some thoughts on the matter. > > You have saved me DAYS of frustration in tracking down why my > preOpenStack is getting executed AGAIN when I quit the app! Is > that little item documented anywhere? Now that I see it in writing > and knowing (a little) about how the message path works, it makes > perfect sense. I guess I always figured that when I opened another > stack, the message was sent to it. It never occurred that if there > was no preOpenStack message, that it would get passed back to the > caller! Perhaps that is obvious to everyone but me. > > Thanks again!!! > > len morgan > From JimAultWins at yahoo.com Tue Nov 6 11:48:43 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 06 Nov 2007 08:48:43 -0800 Subject: Idle handlers and Text files In-Reply-To: <47309294.2070501@crcom.net> Message-ID: I think you could put a preOpenStack handler in every stack or substack at the stack script level and choose not to send it along the hierarchy. This would allow the use of preOpenStack in the substacks when desired. However, this would not be correct if the preOpenStack message actually got sent to the main stack in either the IDE or the stand alone. I have little experience with apps and preOpenStack, so others can give wiser advice. Jim Ault Las Vegas On 11/6/07 8:13 AM, "Len Morgan" wrote: > Hello Mark! > > If my first wife had not asked me to get the "big snip" as an > anniversary present many years ago, I'd name my next male child after > you for that little tidbit. I may still consider re-naming my first > born male child after you, although at 22, he may have some thoughts on > the matter. > > You have saved me DAYS of frustration in tracking down why my > preOpenStack is getting executed AGAIN when I quit the app! Is that > little item documented anywhere? Now that I see it in writing and > knowing (a little) about how the message path works, it makes perfect > sense. I guess I always figured that when I opened another stack, the > message was sent to it. It never occurred that if there was no > preOpenStack message, that it would get passed back to the caller! > Perhaps that is obvious to everyone but me. > > Thanks again!!! > > len morgan > > > Mark Schonewille wrote: >> Hi Len, >> >> You'd put a preOpenStack handler into the card script of the mainstack >> if you want that script to run only when the mainstack opens and not >> when substacks open. Otherwise, the preOpenStack handler would be send >> up the message hierarchy each time a substack is opened. >> >> Best regards, >> >> Mark Schonewille >> >> -- >> >> Economy-x-Talk Consulting and Software Engineering >> http://economy-x-talk.com >> http://www.salery.biz >> >> Quickly extract data from your HyperCard stacks with DIFfersifier. >> http://differsifier.economy-x-talk.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 Tue Nov 6 11:44:13 2007 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Tue, 6 Nov 2007 09:44:13 -0700 Subject: Idle handlers and Text files In-Reply-To: <47309294.2070501@crcom.net> References: <47307C37.3010000@fourthworld.com> <47308B8D.1040004@crcom.net> <4A9BF34D-732A-4D95-BD93-27BE0D0D65FF@economy-x-talk.com> <47309294.2070501@crcom.net> Message-ID: although somewhat off-topic, this might be a good time to add that Dar Scott's 'Message Mechanics Primer' example stack will help one wrap one's head around the oft-confusing world of messages: http://www.swcp.com/dsc/revstacks.html A Primer on Message Mechanics. This module (stack file) is a primer on using send, cancel, pendingMessages and callbacks. Those are the basic Revolution components needed to get your stacks to do several things at the same time. The primer starts from the basics and builds on those, providing examples and details along the way. It is 88 tiny pages long and if that is not long enough for you, note that it is set up so you can add your own pages. It is fun and... It is Free! sqb >Hello Mark! > >If my first wife had not asked me to get the "big snip" as an >anniversary present many years ago, I'd name my next male child >after you for that little tidbit. I may still consider re-naming my >first born male child after you, although at 22, he may have some >thoughts on the matter. > >You have saved me DAYS of frustration in tracking down why my >preOpenStack is getting executed AGAIN when I quit the app! Is that >little item documented anywhere? Now that I see it in writing and >knowing (a little) about how the message path works, it makes >perfect sense. I guess I always figured that when I opened another >stack, the message was sent to it. It never occurred that if there >was no preOpenStack message, that it would get passed back to the >caller! Perhaps that is obvious to everyone but me. > >Thanks again!!! > >len morgan > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From mark at maseurope.net Tue Nov 6 15:29:45 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 6 Nov 2007 15:29:45 -0500 Subject: Idle handlers and Text files In-Reply-To: <47309294.2070501@crcom.net> References: <47307C37.3010000@fourthworld.com> <47308B8D.1040004@crcom.net> <4A9BF34D-732A-4D95-BD93-27BE0D0D65FF@economy-x-talk.com> <47309294.2070501@crcom.net> Message-ID: Also worth remembering is that the openStack/preOpenStack message is sent by the engine to the first in the mainstack, which is another reason one might want to handle it there. Best, Mark From ambassador at fourthworld.com Tue Nov 6 15:52:10 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 06 Nov 2007 12:52:10 -0800 Subject: More option control anomalies on Windows Message-ID: <4730D3FA.80106@fourthworld.com> In addition to the oddities noted here: ...I now have a tougher challenge: On Windows it's customary to allow navigation of the popup menu in an option control by typing the first letter of an item in that menu. So for example if the popup contains: Ken Jacque Jeanne Richard ...then typing "r" will select "Richard", and typing "k" will select "Ken". While the user is navigating the menu it remains popped up, until either cancelled with the Escape key or confirmed with the Enter key. Apparently Rev doesn't support this. Arghhh. How does one provide this common functionality via script? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Tue Nov 6 16:16:30 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 06 Nov 2007 13:16:30 -0800 Subject: More option control anomalies on Windows Message-ID: <4730D9AE.9010205@fourthworld.com> I just filed a bug report for this: Any of you using Windows? Clients asking you for these common behaviors? Feel free to add you vote.... -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com > In addition to the oddities noted here: > > > ...I now have a tougher challenge: > > On Windows it's customary to allow navigation of the popup menu in an > option control by typing the first letter of an item in that menu. > > So for example if the popup contains: > > Ken > Jacque > Jeanne > Richard > > ...then typing "r" will select "Richard", and typing "k" will select > "Ken". While the user is navigating the menu it remains popped up, > until either cancelled with the Escape key or confirmed with the Enter key. > > Apparently Rev doesn't support this. > > Arghhh. > > How does one provide this common functionality via script? From jperryl at ecs.fullerton.edu Tue Nov 6 16:22:33 2007 From: jperryl at ecs.fullerton.edu (User) Date: Tue, 6 Nov 2007 13:22:33 -0800 (PST) Subject: Script being inherited by other objects; bug? In-Reply-To: <4730D3FA.80106@fourthworld.com> References: <4730D3FA.80106@fourthworld.com> Message-ID: Hi everyone, I'm working on some very simple storybooks in Rev for my children to help them learn to read. These stacks have text (each word is its own field) that have scripts attached to change the cursor to a hand, change the foregroundcolor of the text to red, and use revspeak to speak the word. There are also simple graphics to illustrate the story. I have a script attached to an image of a green arrow that I've turned into a group with background behavior that also uses a mouseEnter/mouseLeave with cursor changes. Problem is: the cursor change happens with ALL visible images, even thouse not having any scripts attached to them. It also happens in "development" mode. Does this sound like a bug? I sent the stack (a whole, whopping 2 cards worth) to another Rev user; he couldn't save any changes to the stack, confirmed the behavior and, what's more, when he tried to save changes to the stack, Rev crashed on him. I'm on Mac OS Leopard, RevStudio 2.8.1 on a MacTel machine; he's on MacOS Tiger (I think), RevStudio 2.8.1`and PPC machine. Kindest thanks, Judy From m.schonewille at economy-x-talk.com Tue Nov 6 16:32:05 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 6 Nov 2007 22:32:05 +0100 Subject: Script being inherited by other objects; bug? In-Reply-To: References: <4730D3FA.80106@fourthworld.com> Message-ID: <59A3EEAA-A147-42FD-B60D-D5A831D1B22B@economy-x-talk.com> Hi Judy, This sounds like a recursion problem. I wouldn't say it is a bug, yet. Want to send me the stack as well? Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 6-nov-2007, om 22:22 heeft User het volgende geschreven: > Hi everyone, > > I'm working on some very simple storybooks in Rev for my children > to help them learn to read. > > These stacks have text (each word is its own field) that have > scripts attached to change the cursor to a hand, change the > foregroundcolor of the text to red, and use revspeak to speak the > word. > > There are also simple graphics to illustrate the story. > > I have a script attached to an image of a green arrow that I've > turned into a group with background behavior that also uses a > mouseEnter/mouseLeave with cursor changes. > > Problem is: the cursor change happens with ALL visible images, > even thouse not having any scripts attached to them. It also > happens in "development" mode. > > Does this sound like a bug? I sent the stack (a whole, whopping 2 > cards worth) to another Rev user; he couldn't save any changes to > the stack, confirmed the behavior and, what's more, when he tried > to save changes to the stack, Rev crashed on him. > > I'm on Mac OS Leopard, RevStudio 2.8.1 on a MacTel machine; he's on > MacOS Tiger (I think), RevStudio 2.8.1`and PPC machine. > > Kindest thanks, > > Judy From len-morgan at crcom.net Tue Nov 6 16:55:58 2007 From: len-morgan at crcom.net (Len Morgan) Date: Tue, 06 Nov 2007 15:55:58 -0600 Subject: Script being inherited by other objects; bug? In-Reply-To: References: <4730D3FA.80106@fourthworld.com> Message-ID: <4730E2EE.1030403@crcom.net> Were the other images copied from the green arrow image? I'm thinking it may have something to do with the background behavior. len User wrote: > I have a script attached to an image of a green arrow that I've turned > into a group with background behavior that also uses a > mouseEnter/mouseLeave with cursor changes. > > Problem is: the cursor change happens with ALL visible images, even > thouse not having any scripts attached to them. It also happens in > "development" mode. > From dave.cragg at lacscentre.co.uk Tue Nov 6 17:26:45 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 6 Nov 2007 22:26:45 +0000 Subject: Script being inherited by other objects; bug? In-Reply-To: References: <4730D3FA.80106@fourthworld.com> Message-ID: <702ED55A-F1B3-4B99-A403-4D2E76C89001@lacscentre.co.uk> On 6 Nov 2007, at 21:22, User wrote: > I have a script attached to an image of a green arrow that I've > turned into a group with background behavior that also uses a > mouseEnter/mouseLeave with cursor changes. > > Problem is: the cursor change happens with ALL visible images, > even thouse not having any scripts attached to them. It also > happens in "development" mode. > > Does this sound like a bug? I sent the stack (a whole, whopping 2 > cards worth) to another Rev user; he couldn't save any changes to > the stack, confirmed the behavior and, what's more, when he tried > to save changes to the stack, Rev crashed on him. Are the mouseEnter/mouseLeave handlers in the group script or the image script? If they are in the group script, this doesn't sound like a bug (apart from the crash). If you have backgroundBehavior turned on, messages will pass from object to card to background (group). So a mouseEnter message on any object on the card will be handled by the background script (if it isn't handled earlier). Possible workarounds: -- Turn off background behavior of the group. -- Check "the target" in the handlers to confirm it is the right object generating the mouseEnter message. -- Put the script in the image object and not the group. Cheers Dave From jperryl at ecs.fullerton.edu Tue Nov 6 17:33:45 2007 From: jperryl at ecs.fullerton.edu (User) Date: Tue, 6 Nov 2007 14:33:45 -0800 (PST) Subject: Script being inherited by other objects; bug? In-Reply-To: <4730E2EE.1030403@crcom.net> References: <4730D3FA.80106@fourthworld.com> <4730E2EE.1030403@crcom.net> Message-ID: That's what Mark was telling me... But they were not. I thought you needed a pass statement for the message to be passed. Mind you, I haven't done much with Rev in more than a year but I didn't think my brain had deteriorated that much :-/ Judy On Tue, 6 Nov 2007, Len Morgan wrote: > Were the other images copied from the green arrow image? I'm thinking it may > have something to do with the background behavior. > > len > > > User wrote: >> I have a script attached to an image of a green arrow that I've turned into >> a group with background behavior that also uses a mouseEnter/mouseLeave >> with cursor changes. >> >> Problem is: the cursor change happens with ALL visible images, even thouse >> not having any scripts attached to them. It also happens in "development" >> mode. >> > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Tue Nov 6 17:35:14 2007 From: jperryl at ecs.fullerton.edu (User) Date: Tue, 6 Nov 2007 14:35:14 -0800 (PST) Subject: Script being inherited by other objects; bug? In-Reply-To: <702ED55A-F1B3-4B99-A403-4D2E76C89001@lacscentre.co.uk> References: <4730D3FA.80106@fourthworld.com> <702ED55A-F1B3-4B99-A403-4D2E76C89001@lacscentre.co.uk> Message-ID: Thanks, Dave, > Are the mouseEnter/mouseLeave handlers in the group script or the image > script? If they are in the group script, this doesn't sound like a bug (apart > from the crash). > > If you have backgroundBehavior turned on, messages will pass from object to > card to background (group). So a mouseEnter message on any object on the card > will be handled by the background script (if it isn't handled earlier). But, wouldn't this require a mouseEnter etc. handler in those objects? There isn't one. Judy From dave.cragg at lacscentre.co.uk Tue Nov 6 17:37:38 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 6 Nov 2007 22:37:38 +0000 Subject: Script being inherited by other objects; bug? In-Reply-To: References: <4730D3FA.80106@fourthworld.com> <702ED55A-F1B3-4B99-A403-4D2E76C89001@lacscentre.co.uk> Message-ID: On 6 Nov 2007, at 22:35, User wrote: > Thanks, Dave, > >> Are the mouseEnter/mouseLeave handlers in the group script or the >> image script? If they are in the group script, this doesn't sound >> like a bug (apart from the crash). >> >> If you have backgroundBehavior turned on, messages will pass from >> object to card to background (group). So a mouseEnter message on >> any object on the card will be handled by the background script >> (if it isn't handled earlier). > > But, wouldn't this require a mouseEnter etc. handler in those > objects? There isn't one. No. A handler in the other object would only trap the message. Whenever the mouse enters any object, a mouseEnter message is passed. The first mouseEnter handler found in the message path will handle the message. Cheers Dave From jperryl at ecs.fullerton.edu Tue Nov 6 17:43:42 2007 From: jperryl at ecs.fullerton.edu (User) Date: Tue, 6 Nov 2007 14:43:42 -0800 (PST) Subject: Script being inherited by other objects; bug? In-Reply-To: References: <4730D3FA.80106@fourthworld.com> <702ED55A-F1B3-4B99-A403-4D2E76C89001@lacscentre.co.uk> Message-ID: Well, don't I feel stupid now? ;-) I could figure out work-arounds but wanted to understand why it was happening. Like I said, my Rev brain has been parked for a while... Time to go back and revisit Richard's stack on the subject! Thanks! Judy On Tue, 6 Nov 2007, Dave Cragg wrote: > On 6 Nov 2007, at 22:35, User wrote: > >> But, wouldn't this require a mouseEnter etc. handler in those objects? >> There isn't one. > > No. A handler in the other object would only trap the message. Whenever the > mouse enters any object, a mouseEnter message is passed. The first mouseEnter > handler found in the message path will handle the message. From burrton at gmail.com Tue Nov 6 18:14:17 2007 From: burrton at gmail.com (Burrton Woodruff) Date: Tue, 6 Nov 2007 18:14:17 -0500 Subject: use-revolution Digest, Vol 50, Issue 11 In-Reply-To: <20071106180005.95480489017@mail.runrev.com> References: <20071106180005.95480489017@mail.runrev.com> Message-ID: Hi Folk, I've started having problems using the encrypt command with Rev Enterprise (2.7, 2.8, and 2.9 on the Macintosh running 10.5). The ssl library isn't found. This problem occurs in the IDE. This is not a problem with a standalone. Earlier I was not having this problem. Nor does the problem occur with the IDE in Windows XP Pro running under VMware Fusion. Where is the ssl library so I can start using it or help rev discover it's location. I very much appreciate whatever thoughts you might have. Burt Woodruff RippleSoft Software From dave.cragg at lacscentre.co.uk Tue Nov 6 18:38:39 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 6 Nov 2007 23:38:39 +0000 Subject: Script being inherited by other objects; bug? In-Reply-To: References: <4730D3FA.80106@fourthworld.com> <702ED55A-F1B3-4B99-A403-4D2E76C89001@lacscentre.co.uk> Message-ID: Hi Judy I just realised it was yourself. > Well, don't I feel stupid now? ;-) We all know that feeling. But I learned something while answering your mail. To check what I wrote, I used an image with a transparent middle. (Like a doughnut.) As you pass the mouse over the transparent part, mouseLeave and mouseEnter messages get sent. I guess it makes sense, but I hadn't encountered it before. It would have caught me out one day. So thanks. Cheers Dave From songe at agate.plala.or.jp Tue Nov 6 18:50:10 2007 From: songe at agate.plala.or.jp (Jonathan Scott) Date: Wed, 7 Nov 2007 08:50:10 +0900 Subject: Idle handlers and Text files In-Reply-To: <20071106180006.0A90148906C@mail.runrev.com> References: <20071106180006.0A90148906C@mail.runrev.com> Message-ID: <34A60414-F7DC-4009-A8DF-EF79CAB89A01@agate.plala.or.jp> on openstack send "mouseUp" to btn "foo" pass openstack close openstack Is this wrong? It's such a simple procedure. How could it be wrong? If it is, please fill me in on it. On Nov 7, 2007, at 3:00 AM, use-revolution-request at lists.runrev.com wrote: > If I understand you correctly, you can't send a mouseUp message > automatically after opening the stack. That also means you made a > mistake somewhere, which needs to be corrected. I don't think that > using the idle handler, or send, is a good alternative in this case. > My advice would be to find out why you can't send that mouseUp > command. > > The Finder simply updates open windows once in a while, including the > desktop. It doesn't matter at which level in the hierarchy they are. > However, if you add or remove a folder, the window gets updated > instantly. Not sure that it helps you, but if I do a test writing > files to a folder or the desktop, I see the file appear instantly on > my local disks, but not that quickly on network disks. > > Best regards, > > Mark Schonewille From m.schonewille at economy-x-talk.com Tue Nov 6 19:12:19 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 7 Nov 2007 01:12:19 +0100 Subject: Idle handlers and Text files In-Reply-To: <34A60414-F7DC-4009-A8DF-EF79CAB89A01@agate.plala.or.jp> References: <20071106180006.0A90148906C@mail.runrev.com> <34A60414-F7DC-4009-A8DF-EF79CAB89A01@agate.plala.or.jp> Message-ID: Hi Jonathan, Your brief handler should be correct, but from here I can't see whether you lock any mesages that prevent the openStack handler from being sent or whether you have any openStack handler at a lower lever in the message hierarchy. There must be something in your stack that causes the problem. The fact that your script works in an otherwise empty stack but not in the mainstack of your project supports my suspicion that something is wrong with your mainstack. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 7-nov-2007, om 0:50 heeft Jonathan Scott het volgende geschreven: > on openstack > send "mouseUp" to btn "foo" > pass openstack > close openstack > > Is this wrong? It's such a simple procedure. How could it be > wrong? If it is, please fill me in on it. > > > From mwieder at ahsoftware.net Tue Nov 6 21:48:59 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 6 Nov 2007 18:48:59 -0800 Subject: Rev cgi on Win 2K server, anyone ? In-Reply-To: <472F9A73.42A14D6E@club-internet.fr> References: <472F9A73.42A14D6E@club-internet.fr> Message-ID: <1541722785083.20071106184859@ahsoftware.net> jbv- Monday, November 5, 2007, 2:34:28 PM, you wrote: > I've found some advices / tutorials in the list archives, but most > of them are at least 18 months old... Hmmm... 18 months sounds like you're looking at my posting of instructions on how to do this in IIS. I undertook that when I was working on my rev-to-web converter, and running the whole thing under Windows server was just one more part of that masochistic process. The instructions still work with the latest IIS. But my advice, having been through this once, would be to ignore my previous instructions (!) and install Apache. Forget you ever heard of IIS, disable the service, and just let Apache take over the web server tasks. You'll make your life much simpler, the server will be more stable and easier to manage, and you may be able to reuse most of the configuration files you have set up on your linux server. ...and remember, of course, that the line endings are annoyingly different on Windows cgi scripts... -- -Mark Wieder mwieder at ahsoftware.net From xavier.bury at clearstream.com Wed Nov 7 02:44:42 2007 From: xavier.bury at clearstream.com (xavier.bury at clearstream.com) Date: Wed, 7 Nov 2007 08:44:42 +0100 Subject: More option control anomalies on Windows In-Reply-To: <4730D9AE.9010205@fourthworld.com> Message-ID: Hi Richard, I think i filed that bug long long long ago - along with mousewheel problems, and navigation keys that dont work either (not that they work the way windows users are used to either)! In that respect there's still lots of issues outstanding... Unfortunately someone in their mis-wisedom decided to rename my name in my bugzillas and can't find it anymore ;-( I can find 3 bugzillas only out of the 100's i wrote... after half hour... I found it... http://quality.runrev.com/qacenter/show_bug.cgi?id=1639 You have to love the "cant reproduce" comments X2 there... cheers ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server use-revolution-bounces at lists.runrev.com wrote on 06/11/2007 22:16:30: > > I just filed a bug report for this: > > > Any of you using Windows? Clients asking you for these common > behaviors? Feel free to add you vote.... > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > In addition to the oddities noted here: > > > > > > ...I now have a tougher challenge: > > > > On Windows it's customary to allow navigation of the popup menu in an > > option control by typing the first letter of an item in that menu. > > > > So for example if the popup contains: > > > > Ken > > Jacque > > Jeanne > > Richard > > > > ...then typing "r" will select "Richard", and typing "k" will select > > "Ken". While the user is navigating the menu it remains popped up, > > until either cancelled with the Escape key or confirmed with the Enter key. > > > > Apparently Rev doesn't support this. > > > > Arghhh. > > > > How does one provide this common functionality via script? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ---------------------------------------------------------------------------- Clearstream Services S.A. 42 Avenue JF Kennedy, L-1855 Luxembourg Soci?t? anonyme is organised with limited liability in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911. ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. Legally required information for business correspondence/ Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: http://deutsche-boerse.com/letterhead END OF DISCLAIMER From revolution at derbrill.de Wed Nov 7 02:49:08 2007 From: revolution at derbrill.de (Malte Brill) Date: Wed, 7 Nov 2007 08:49:08 +0100 Subject: Idle handlers and Text files In-Reply-To: <20071106180006.0A90148906C@mail.runrev.com> References: <20071106180006.0A90148906C@mail.runrev.com> Message-ID: <55BE0D5C-B0D5-45DD-B8D9-489DE950D511@derbrill.de> > Is this wrong? It's such a simple procedure. How could it be > wrong? If it is, please fill me in on it. I?m suspecting the last line of your script is a typo. Should read end openStack However, is button "foo" on the first card? All the best, Malte From shaosean at wehostmacs.com Wed Nov 7 03:26:23 2007 From: shaosean at wehostmacs.com (Shao Sean) Date: Wed, 7 Nov 2007 03:26:23 -0500 Subject: [UPD] Script Editor Mod 002 Message-ID: <26509490-11DF-4B6F-AC0B-D851A2409B3A@wehostmacs.com> Just a quick note to let those interested that a new version of the script editor modification has been released. - added script line numbering - fixed a menu flickering problem - clicking between handlers updates the handler list much quicker - cleaned up some of the code with the splitter Screenshot: http://shaosean.tk/_resources/images/image.png Download: http://shaosean.tk/revide.php There are still a few little quirks that I can't seem to iron out so if anyone is interested in helping out, please contact me directly. -Sean From m.schonewille at economy-x-talk.com Wed Nov 7 04:25:56 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 7 Nov 2007 10:25:56 +0100 Subject: Idle handlers and Text files In-Reply-To: <55BE0D5C-B0D5-45DD-B8D9-489DE950D511@derbrill.de> References: <20071106180006.0A90148906C@mail.runrev.com> <55BE0D5C-B0D5-45DD-B8D9-489DE950D511@derbrill.de> Message-ID: Yes, and I missed it. Sorry. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 7-nov-2007, om 8:49 heeft Malte Brill het volgende geschreven: > > I?m suspecting the last line of your script is a typo. Should read > > end openStack > > However, is button "foo" on the first card? > > All the best, > > Malte From runrev260805 at m-r-d.de Wed Nov 7 04:34:47 2007 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Wed, 7 Nov 2007 09:34:47 +0000 Subject: [UPD] Script Editor Mod 002 Message-ID: Hi, thanks for that enhancement. One little thing about line numbering here with windows version of Rev. If i open a new script the cursor is betwenn "on mouseup" and "end mouseup". If i enter code, the first line i enter is line 1, instead of "on mouseup" I have to put the cursor before "on mouseup" and press enter to get this text as line 1. It?s not really important, but i thought i should mention. Regards, Matthias Original Message processed by David InfoCenter Subject: [UPD] Script Editor Mod 002 (07-Nov-2007 9:27) From: Shao Sean To: runrev260805 at m-r-d.de Just a quick note to let those interested that a new version of the script editor modification has been released. - added script line numbering - fixed a menu flickering problem - clicking between handlers updates the handler list much quicker - cleaned up some of the code with the splitter Screenshot: http://shaosean.tk/_resources/images/image.png Download: http://shaosean.tk/revide.php There are still a few little quirks that I can't seem to iron out so if anyone is interested in helping out, please contact me directly. -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 To: use-revolution at lists.runrev.com From janschenkel at yahoo.com Wed Nov 7 06:16:07 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 7 Nov 2007 03:16:07 -0800 (PST) Subject: [ANN] Quartam PDF Library joins RevSelect program Message-ID: <87507.51747.qm@web60521.mail.yahoo.com> [For those who haven't read the Revolution Newsletter] Quartam PDF Library for Revolution joins RevSelect program Powerful add-on helps developers create high-resolution documents in industry-standard format. Edinburgh, Scotland, November 1st 2007 Quartam Software (www.quartam.com) and Runtime Revolution (www.runrev.com) announce the availability of Quartam PDF Library through the RevSelect program. Quartam PDF Library lets developers produce PDF documents from code which can be opened with Adobe Acrobat, Apple Mac OS X Preview and other PDF viewer applications. The Portable Document Format is an ISO standard that allows easy exchange of information that displays correctly even when crossing computer platforms. "Adobe's PDF format and Revolution are a natural fit: both technologies empower developers and users to exchange information in a cross-platform, Internet-enabled world, " said Kevin Miller, CEO of Runtime Revolution, adding that, "We are thrilled to see Quartam PDF Library join the RevSelect program." Quartam PDF Library offers a range of features, including: - pin-point precision with flexible units - full range of standard and custom page sizes - extensive graphics support, including regular polygons and bezier curves - embedded PNG and JPEG images - solid text support, including automated text flow and tables - bookmarks, internal and external links for navigation "This library has something to offer for every type of developer: business software programmers need good-looking reports, multimedia artists crave the cross-platform high-fidelity of PDF, web application developers add invoices to their shopping carts, and that's just the tip of the iceberg," said Jan Schenkel of Quartam Software, who went on to add, "PDF is the global standard for electronic documents, and Quartam PDF Library puts it right in developers' hands." Quartam PDF Library for Revolution (list price $149) is available for an introductory price of $99 until November 30th 2007. This special offer is available from Runtime Revolution through the RevSelect program. More information on Quartam PDF Library can be found at: http://www.runrev.com/section/revselect/quartam/pdfer.php About Quartam Software Founded in 2003, Quartam Software is dedicated to building professional tools for Revolution developers, as well as providing custom software services on this powerful platform. Quartam PDF Library is the second in a series of add-ons that take developing enterprise applications to the next level. The company is based in Aalst, Belgium. For more information on Quartam Software, please visit the company on the web at http://www.quartam.com About Runtime Revolution Founded in 1997, Runtime Revolution focuses on bringing user-centric software development to all major platforms: Windows, Macintosh, Linux, and Unix. The company is based in Edinburgh, Scotland. For more information on Runtime Revolution, please visit the company on the web at http://www.runrev.com For more information please contact: Heather Nagey 15-19 York Place Edinburgh EH1 3EB heather at runrev.com +44 (0) 870 747 1165 Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From lan.kc.macmail at gmail.com Wed Nov 7 07:13:27 2007 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 7 Nov 2007 20:13:27 +0800 Subject: Idle handlers and Text files In-Reply-To: References: <20071104180005.5AF2C489281@mail.runrev.com> Message-ID: On Nov 6, 2007 11:11 PM, Malte Brill wrote: > > Well, my experience is that it does not get sent if Rev is not yet > open and you double click on a stack file, or drag the stack to the > rev icon in the Dock under Os X. > If Rev is already open stacks Do get preOpenstack and openStack. > Sorry for coming to this late, but I must differ. I have preOpenStack handler which determines if the mySQL server is running and if not, pops up a dialog to tell me that it isn't and that my app is about to Quit to allow me to start mySQL first. Works like a charm. I quite often start my app by double clicking when Rev isn't running. I don't Drag & Drop though, but I just tried it and it worked fine, again without Rev running in the first place. App in IDE mode, OSX 10.4.10, Rev 2.8.1, MacTel, with & without GLX2 There must be something in your code. From jbv.silences at club-internet.fr Wed Nov 7 07:21:41 2007 From: jbv.silences at club-internet.fr (jbv) Date: Wed, 07 Nov 2007 13:21:41 +0100 Subject: Rev cgi on Win 2K server, anyone ? References: <472F9A73.42A14D6E@club-internet.fr> <1541722785083.20071106184859@ahsoftware.net> Message-ID: <4731ADD2.B6A66861@club-internet.fr> Mark, thanks for the reply. > jbv- > > Monday, November 5, 2007, 2:34:28 PM, you wrote: > > > I've found some advices / tutorials in the list archives, but most > > of them are at least 18 months old... > > Hmmm... 18 months sounds like you're looking at my posting of > instructions on how to do this in IIS. yes indeed. > I undertook that when I was > working on my rev-to-web converter, and running the whole thing under > Windows server was just one more part of that masochistic process. The > instructions still work with the latest IIS. > > But my advice, having been through this once, would be to ignore my > previous instructions (!) and install Apache. Forget you ever heard of > IIS, disable the service, and just let Apache take over the web server > tasks. You'll make your life much simpler, the server will be more > stable and easier to manage, and you may be able to reuse most of the > configuration files you have set up on your linux server. well, unfortunately I have no choice. My client is a company that sells high end services based around Win servers, Blackberries and other similar devices for which they developped custom apps.. They're too busy to take care of their own website, so a friend of mine reshaped their website and I was asked to install some online tools for updating web pages content that I had built around Rev cgi on Linux servers. Last but not least, the whole thing must be up and running by next monday... so I have no other choice than to make everything work under Windows asap... the other option would be to re-write all my scripts in php, but I will lack time and frankly, I don't really like php... fortunately, that company is packed with engineers specialists of the windows world; they even have a commercial / technical partnership with MS AFAIK. so I'm not too worried about their abilities to configure IIS... what I'm more concerned with, is to find a Rev cgi engine that runs on a Win2K server. Your above mentioned post to the list featured a link to a Rev engine for Win... do you know which version it is (at least 2.5 I hope), if there's no problem with it (such as missing C libraries) and if it includes the revdb library (I will need to access mySQL 5) ? > > > ...and remember, of course, that the line endings are annoyingly > different on Windows cgi scripts... that's not a problem, as I'm using BBEdit on Mac as a script editor... Best, JB From revolution at derbrill.de Wed Nov 7 08:28:34 2007 From: revolution at derbrill.de (Malte Brill) Date: Wed, 7 Nov 2007 14:28:34 +0100 Subject: Idle handlers and Text files In-Reply-To: <20071106180006.0A90148906C@mail.runrev.com> References: <20071106180006.0A90148906C@mail.runrev.com> Message-ID: <3A3C7E31-F2BB-4ABE-BA3B-43CA88F75E3D@derbrill.de> Hi Kay, following test scenario. Vanilla Stack, first card script reads: on preOpenStack answer "moo" end preOpenStack Save->quit rev, double click -> No moo at all quit rev -> open Rev -> double click -> Moos just fine same with drag and drop RR 2.8.1, Intel MacBook, German Os X.4.10, with and without GLX. ATB, Malte From andre at andregarzia.com Wed Nov 7 11:45:27 2007 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 7 Nov 2007 14:45:27 -0200 Subject: stripping style from pasted text... Message-ID: <7c87a2a10711070845l6ba12aabr688f5618c6277b53@mail.gmail.com> Hello Friends, newbie question here. I have many fields where the user can paste text. The problem is, I don't want the text to be styled, I want to paste as plain text. I've added this to a frontscript: on pasteKey if the clipboard is "text" then ## Get rid of text styles... set the clipboardData["html"] to empty set the clipboardData["rtf"] to empty end if paste end pasteKey but so far the text still paste with styles... any clue out there? The field can contain styles but not the pasted text because, I want to control how styles are applied to get rid of silly stuff such as from appearing in my htmltext properties. TIA Andre -- http://www.andregarzia.com All We Do Is Code. From andres at bakno.com Wed Nov 7 12:19:42 2007 From: andres at bakno.com (Andres Martinez) Date: Wed, 7 Nov 2007 12:19:42 -0500 Subject: stripping style from pasted text... In-Reply-To: <7c87a2a10711070845l6ba12aabr688f5618c6277b53@mail.gmail.com> References: <7c87a2a10711070845l6ba12aabr688f5618c6277b53@mail.gmail.com> Message-ID: Hello Andre You can use something like. set the textstyle of field "Field" to plain But it needs to run after the text has been pasted in your field. Regards, Andres Martinez www.baKno.com On Nov 7, 2007, at 11:45 AM, Andre Garzia wrote: > Hello Friends, > > newbie question here. I have many fields where the user can paste > text. The problem is, I don't want the text to be styled, I want to > paste as plain text. I've added this to a frontscript: > > on pasteKey > if the clipboard is "text" then > ## Get rid of text styles... > set the clipboardData["html"] to empty > set the clipboardData["rtf"] to empty > end if > paste > end pasteKey > > but so far the text still paste with styles... any clue out there? The > field can contain styles but not the pasted text because, I want to > control how styles are applied to get rid of silly stuff such as > from appearing in my htmltext properties. > > TIA > 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 andre at andregarzia.com Wed Nov 7 12:27:33 2007 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 7 Nov 2007 15:27:33 -0200 Subject: stripping style from pasted text... In-Reply-To: References: <7c87a2a10711070845l6ba12aabr688f5618c6277b53@mail.gmail.com> Message-ID: <7c87a2a10711070927q26e504ddw8f5206ff304c8588@mail.gmail.com> Hello Andres, Due to bad luck, I can't use that code snip. The field may contain styled data already in there and the user is just adding more data. This would remove the styles from the text that is already there. The problem is that when pasting styled text, I have no control over the styles inserted and revolution htmltext thingy will use "bad markup" such as font faces, sizes and colors... I want to remove those things to make my htmltext as xhtml as possible... I have a routine for that in place, but it is expensive, lots of loops. Thanks for your help andre On 11/7/07, Andres Martinez wrote: > Hello Andre > > You can use something like. > > set the textstyle of field "Field" to plain > > But it needs to run after the text has been pasted in your field. > > Regards, > Andres Martinez > www.baKno.com > > On Nov 7, 2007, at 11:45 AM, Andre Garzia wrote: > > > Hello Friends, > > > > newbie question here. I have many fields where the user can paste > > text. The problem is, I don't want the text to be styled, I want to > > paste as plain text. I've added this to a frontscript: > > > > on pasteKey > > if the clipboard is "text" then > > ## Get rid of text styles... > > set the clipboardData["html"] to empty > > set the clipboardData["rtf"] to empty > > end if > > paste > > end pasteKey > > > > but so far the text still paste with styles... any clue out there? The > > field can contain styles but not the pasted text because, I want to > > control how styles are applied to get rid of silly stuff such as > > from appearing in my htmltext properties. > > > > TIA > > 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 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From mark at maseurope.net Wed Nov 7 12:34:15 2007 From: mark at maseurope.net (Mark Smith) Date: Wed, 7 Nov 2007 11:34:15 -0600 Subject: stripping style from pasted text... In-Reply-To: <7c87a2a10711070927q26e504ddw8f5206ff304c8588@mail.gmail.com> References: <7c87a2a10711070845l6ba12aabr688f5618c6277b53@mail.gmail.com> <7c87a2a10711070927q26e504ddw8f5206ff304c8588@mail.gmail.com> Message-ID: Andre, from an earler thread, you can do something like this (not well tested): put the clipboarddata into the templatefield put the text of the templatefield into fld "myField" Best, Mark From revdev at pdslabs.net Wed Nov 7 12:35:58 2007 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 07 Nov 2007 09:35:58 -0800 Subject: stripping style from pasted text... In-Reply-To: <7c87a2a10711070845l6ba12aabr688f5618c6277b53@mail.gmail.com> References: <7c87a2a10711070845l6ba12aabr688f5618c6277b53@mail.gmail.com> Message-ID: <4731F77E.80000@pdslabs.net> Hi Andre, Does this not work? -- assumes that some styled text has been copied to clipboard on mouseUp -- button script put the clipboarddata["text"] into fld 2 end mouseUp In a simple test here, it worked. Maybe there's more to it than I grasp. Or maybe it's not as hard as you think! ;o) Phil Davis Andre Garzia wrote: > Hello Friends, > > newbie question here. I have many fields where the user can paste > text. The problem is, I don't want the text to be styled, I want to > paste as plain text. I've added this to a frontscript: > > on pasteKey > if the clipboard is "text" then > ## Get rid of text styles... > set the clipboardData["html"] to empty > set the clipboardData["rtf"] to empty > end if > paste > end pasteKey > > but so far the text still paste with styles... any clue out there? The > field can contain styles but not the pasted text because, I want to > control how styles are applied to get rid of silly stuff such as > from appearing in my htmltext properties. > > TIA > Andre > > From JimAultWins at yahoo.com Wed Nov 7 12:38:13 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 07 Nov 2007 09:38:13 -0800 Subject: stripping style from pasted text... In-Reply-To: <7c87a2a10711070845l6ba12aabr688f5618c6277b53@mail.gmail.com> Message-ID: Wouldn't the following work for you? > on pasteKey > if the clipboard is "text" then get the clipboardData["text"] set the clipboardData to it > end if > paste > end pasteKey Jim Ault Las Vegas On 11/7/07 8:45 AM, "Andre Garzia" wrote: > Hello Friends, > > newbie question here. I have many fields where the user can paste > text. The problem is, I don't want the text to be styled, I want to > paste as plain text. I've added this to a frontscript: > > on pasteKey > if the clipboard is "text" then > ## Get rid of text styles... > set the clipboardData["html"] to empty > set the clipboardData["rtf"] to empty > end if > paste > end pasteKey > > but so far the text still paste with styles... any clue out there? The > field can contain styles but not the pasted text because, I want to > control how styles are applied to get rid of silly stuff such as > from appearing in my htmltext properties. > > TIA > Andre From ambassador at fourthworld.com Wed Nov 7 12:39:07 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 07 Nov 2007 09:39:07 -0800 Subject: [ANN] Quartam PDF Library joins RevSelect program Message-ID: <4731F83B.3090907@fourthworld.com> Congratulations Jan! Good move. In my shop the biggest need we have is to be able to display and search PDF contents. Anything in the pipeline for those tasks? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From andre at andregarzia.com Wed Nov 7 12:41:21 2007 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 7 Nov 2007 15:41:21 -0200 Subject: stripping style from pasted text... In-Reply-To: References: <7c87a2a10711070845l6ba12aabr688f5618c6277b53@mail.gmail.com> Message-ID: <7c87a2a10711070941m62c88b72kdb8d738c39d26e97@mail.gmail.com> Hello Friends, it appears that somehow, I am loosing the pasteKey event. It is not working. I am not in the IDE (I know the IDE traps those, it is a standalone). I have a silly HTMLTextToXHTML function here that is able to pick a weird htmltext of a field and make it nice and tidy like all XHTML should be. The function is a monster but it works... Full of Regular Expressions, loops and replaces. Argh! Cheers andre From andre at andregarzia.com Wed Nov 7 12:42:32 2007 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 7 Nov 2007 15:42:32 -0200 Subject: [ANN] Quartam PDF Library joins RevSelect program In-Reply-To: <4731F83B.3090907@fourthworld.com> References: <4731F83B.3090907@fourthworld.com> Message-ID: <7c87a2a10711070942i36531ee8l77088f5f326a4a9b@mail.gmail.com> I just bought it!!!! :-) I have a project I always wanted to do and Quartam PDF is just what I needed! Congratulations Jan! :-D Cheers andre From mwieder at ahsoftware.net Wed Nov 7 12:55:59 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 7 Nov 2007 09:55:59 -0800 Subject: Rev cgi on Win 2K server, anyone ? References: <472F9A73.42A14D6E@club-internet.fr><1541722785083.20071106184859@ahsoftware.net> <4731ADD2.B6A66861@club-internet.fr> Message-ID: JB- > servers. Last but not least, the whole thing must be up and running by > next monday... !!! > what I'm more concerned with, is to find a Rev cgi engine that runs > on a Win2K server. Your above mentioned post to the list featured > a link to a Rev engine for Win... do you know which version it is > (at least 2.5 I hope), if there's no problem with it (such as missing > C libraries) and if it includes the revdb library (I will need to access > mySQL 5) ? I'm not at that machine at the moment, but I'll check it this evening when I get to it. IIRC I used 2.6.1. I don't recall using the db library with the cgi setup: I was particularly interested at the time in using ajax and css in conjunction with script-generated html files. That part all worked out fine. And there's no specialized cgi engine for Windows - I just grabbed the rev engine and installed it in the IIS cgi directory. (and fiddled with IIS permissions and config files, etc until it worked). >> ...and remember, of course, that the line endings are annoyingly >> different on Windows cgi scripts... > > that's not a problem, as I'm using BBEdit on Mac as a script > editor... you're in good shape, then. But I still think it's a pain to have to remember to fix the line endings each time you move a file over to the Windows server. And the error message you get when you haven't fixed them is quite misleading. -- Mark Wieder mwieder at ahsoftware.net From andre at andregarzia.com Wed Nov 7 13:02:00 2007 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 7 Nov 2007 16:02:00 -0200 Subject: Rev cgi on Win 2K server, anyone ? In-Reply-To: <472F9A73.42A14D6E@club-internet.fr> References: <472F9A73.42A14D6E@club-internet.fr> Message-ID: <7c87a2a10711071002l616d93d8v63953cdcab69d3e7@mail.gmail.com> Hey JBV, I don't do windows, but if you ever get this running, I can try to help with the cgi part... I been using rev cgi under linux for some time! Cheers andre On 11/5/07, jbv wrote: > Hi list, > > I need to install Rev cgi on a Win 2003 server, with connections > to mySQL 5+. > I'm doing this because I want to reuse some older scripts and > lack the time (and motivation) to rewrite everything in php. > > I've found some advices / tutorials in the list archives, but most > of them are at least 18 months old... > I was wondering if anyone had a more recent experience and > was willing to share it with someone who has always used Rev > cgi under Linux so far... > > Thanks in advance, > JB > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From jbv.silences at club-internet.fr Wed Nov 7 15:13:11 2007 From: jbv.silences at club-internet.fr (jbv) Date: Wed, 07 Nov 2007 21:13:11 +0100 Subject: Rev cgi on Win 2K server, anyone ? References: <472F9A73.42A14D6E@club-internet.fr> <7c87a2a10711071002l616d93d8v63953cdcab69d3e7@mail.gmail.com> Message-ID: <47321C57.70729635@club-internet.fr> Andre, thanks for the offer, but I've also been using rev cgi on Linux since 2001 (MC cgi actually)... but this is the first time on a windows server... JB > Hey JBV, > > I don't do windows, but if you ever get this running, I can try to > help with the cgi part... I been using rev cgi under linux for some > time! From jbv.silences at club-internet.fr Wed Nov 7 15:32:45 2007 From: jbv.silences at club-internet.fr (jbv) Date: Wed, 07 Nov 2007 21:32:45 +0100 Subject: Rev cgi on Win 2K server, anyone ? References: <472F9A73.42A14D6E@club-internet.fr><1541722785083.20071106184859@ahsoftware.net> <4731ADD2.B6A66861@club-internet.fr> Message-ID: <473220EC.43B2E075@club-internet.fr> Mark , Thanks again for kindly answering my post. actually I have good news : I now have Rev cgi running on my client's Win 2003 server !!! I pointed the guy in charge of the server to your earlier post from 18 months ago, and 20 mins later the thing was up and running ! those young guys can be impressive... but now I have another problem : I just can't connect to mySQL 5.0.22... I'm using Rev 2.6.2 (I grabbed that engine on the runrev ftp server), and have placed the dbmysql.dll driver that comes with Rev 2.5 in the same folder as the engine (privileges 777). I get a huge CGI error (not the usual refdeb error) when using "get revOpenDatabase" so I'm wondering if the engine includes the revDB library... actually, the 2.5 I've been using on Linux for years does include revDB, so I guess the 2.6.2 does too... Is there a way to know it for sure ? Or perhaps am I using a wrong DB driver version ? Or perhaps should I put revDB in a stack and include "start using stack..." in my scripts ? well, it's late... I'll try again tomorrow. But any smart advice is welcome, of course. Thank you and good night. JB > JB- > > > servers. Last but not least, the whole thing must be up and running by > > next monday... > > !!! > > > what I'm more concerned with, is to find a Rev cgi engine that runs > > on a Win2K server. Your above mentioned post to the list featured > > a link to a Rev engine for Win... do you know which version it is > > (at least 2.5 I hope), if there's no problem with it (such as missing > > C libraries) and if it includes the revdb library (I will need to access > > mySQL 5) ? > > I'm not at that machine at the moment, but I'll check it this evening when I > get to it. IIRC I used 2.6.1. I don't recall using the db library with the > cgi setup: I was particularly interested at the time in using ajax and css > in conjunction with script-generated html files. That part all worked out > fine. And there's no specialized cgi engine for Windows - I just grabbed the > rev engine and installed it in the IIS cgi directory. (and fiddled with IIS > permissions and config files, etc until it worked). > > >> ...and remember, of course, that the line endings are annoyingly > >> different on Windows cgi scripts... > > > > that's not a problem, as I'm using BBEdit on Mac as a script > > editor... > > you're in good shape, then. But I still think it's a pain to have to > remember to fix the line endings each time you move a file over to the > Windows server. And the error message you get when you haven't fixed them is > quite misleading. > > -- > Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com From stephenREVOLUTION2 at barncard.com Wed Nov 7 15:55:36 2007 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Wed, 7 Nov 2007 13:55:36 -0700 Subject: Rev cgi on Win 2K server, anyone ? In-Reply-To: <473220EC.43B2E075@club-internet.fr> References: <472F9A73.42A14D6E@club-internet.fr><1541722785083.20071106184859@ahsoftwa re.net> <4731ADD2.B6A66861@club-internet.fr> <473220EC.43B2E075@club-internet.fr> Message-ID: There's a variable that needs to be set for the 'old style passwords' in MySQL, then it will work. others here have the recipe. > >but now I have another problem : I just can't connect to mySQL 5.0.22... > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From lan.kc.macmail at gmail.com Wed Nov 7 17:56:55 2007 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 8 Nov 2007 06:56:55 +0800 Subject: Idle handlers and Text files In-Reply-To: <3A3C7E31-F2BB-4ABE-BA3B-43CA88F75E3D@derbrill.de> References: <20071106180006.0A90148906C@mail.runrev.com> <3A3C7E31-F2BB-4ABE-BA3B-43CA88F75E3D@derbrill.de> Message-ID: On Nov 7, 2007 9:28 PM, Malte Brill wrote: > following test scenario. Vanilla Stack, first card script reads: > > on preOpenStack > answer "moo" > end preOpenStack > > Save->quit rev, double click -> No moo at all > > quit rev -> open Rev -> double click -> Moos just fine > > same with drag and drop > > RR 2.8.1, Intel MacBook, German Os X.4.10, with and without GLX. > Malte, Just started Rev, created a brand new Main Stack, copied your handler above into the card script, Quit Rev and tried both double clicking and Drag & Drop and 'moo' came up both times. RR 2.8.1 in IDE mode, Intel MacBook Pro, English OS x.4.10, with and without GLX Additionally, I've had this stack working since 2.6, but without the warning about mySQL server not running. In the preOpenStack handler there is a call to lookup the last record in a table and present the data. If mySQL wasn't running I'd just get empty fields, with mySQL running the fields would be filled so I'm pretty sure preOpenStack has been behaving this way for years - at least for double clicking as this is how I've normally started this stack; can't say the same for Drag & Drop as I don't start my stacks that way. Need others to test. From dave at looktowindward.com Wed Nov 7 18:44:49 2007 From: dave at looktowindward.com (Dave) Date: Wed, 7 Nov 2007 23:44:49 +0000 Subject: Neat Trick! Message-ID: <24125636-1B55-4DB2-86D6-9E3E0FB05550@looktowindward.com> Hi All, Thought I'd share this one! If you have a number of function calls that can fail by returning a value and you need to check but also save the result, here's a neat trick: repeat forever put empty into myErrorMessage if somefunction(Inputparam1, Inputparam2,myResult1,myErrorMessage) = false then exit repeat if somefunction(Inputparam3, Inputparam4,myResult2,myErrorMessage) = false then exit repeat if somefunction(Inputparam5, Inputparam6,myResult3,myErrorMessage) = false then exit repeat if somefunction(Inputparam7, Inputparam8,myResult4,myErrorMessage) = false then exit repeat if somefunction(Inputparam9, Inputparam10,myResult5,myErrorMessage) = false then exit repeat exit repeat end repeat if myErrorMessage = empty then -- Do Success code and work on the results obtained else -- Do Failure Code end if In this case the "end repeat" acts as a "label" and we simulate a goto with "exit repeat" Cool, Huh? All the Best Dave From mwieder at ahsoftware.net Wed Nov 7 19:37:56 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 7 Nov 2007 16:37:56 -0800 Subject: Rev cgi on Win 2K server, anyone ? References: <472F9A73.42A14D6E@club-internet.fr><1541722785083.20071106184859@ahsoftware.net><4731ADD2.B6A66861@club-internet.fr> <473220EC.43B2E075@club-internet.fr> Message-ID: jbv- > actually I have good news : I now have Rev cgi running on my client's > Win 2003 server !!! I pointed the guy in charge of the server to your > earlier post from 18 months ago, and 20 mins later the thing was up and > running > ! > those young guys can be impressive... My guess is that you need revdb.dll installed along with the rev engine. It's a separate file and not part of the engine itself, so if you haven't put it on the win server the database calls aren't going to work. -- Mark Wieder mwieder at ahsoftware.net From kray at sonsothunder.com Wed Nov 7 19:56:59 2007 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 7 Nov 2007 18:56:59 -0600 Subject: Neat Trick! In-Reply-To: <24125636-1B55-4DB2-86D6-9E3E0FB05550@looktowindward.com> References: <24125636-1B55-4DB2-86D6-9E3E0FB05550@looktowindward.com> Message-ID: <20071107185659624843.c0c34d86@sonsothunder.com> On Wed, 7 Nov 2007 23:44:49 +0000, Dave wrote: > Thought I'd share this one! If you have a number of function calls > that can fail by returning a value and you need to check but also > save the result, here's a neat trick: Nice one, Dave! I can see that coming in handy... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From cszasz at mac.com Wed Nov 7 23:20:49 2007 From: cszasz at mac.com (Charles Szasz) Date: Wed, 7 Nov 2007 20:20:49 -0800 (PST) Subject: Has anybody run into this problem? In-Reply-To: <13598967.post@talk.nabble.com> References: <13598967.post@talk.nabble.com> Message-ID: <13641119.post@talk.nabble.com> Thanks for the suggestions! I have already downloaded the pc program to check to if the program is still running. -- View this message in context: http://www.nabble.com/Has-anybody-run-into-this-problem--tf4755463.html#a13641119 Sent from the Revolution - User mailing list archive at Nabble.com. From revolution at derbrill.de Thu Nov 8 03:58:11 2007 From: revolution at derbrill.de (Malte Brill) Date: Thu, 8 Nov 2007 09:58:11 +0100 Subject: Idle handlers and Text files In-Reply-To: <20071107173902.21B1348940D@mail.runrev.com> References: <20071107173902.21B1348940D@mail.runrev.com> Message-ID: <5FDD7171-7B86-41CC-9395-CFA4513ACFA1@derbrill.de> Hi Kay, this is extremly interesting. As you see a different behaviour than me, I suspect it might be a setting somewhere or something that got corrupted on my and other machines. Would love to investigate that. All the best, Malte From niggemann at uni-wh.de Thu Nov 8 05:30:50 2007 From: niggemann at uni-wh.de (BNig) Date: Thu, 8 Nov 2007 02:30:50 -0800 (PST) Subject: Idle handlers and Text files In-Reply-To: <5FDD7171-7B86-41CC-9395-CFA4513ACFA1@derbrill.de> References: <1D5D5E87-92A6-4862-A6B4-FCA941011EC2@agate.plala.or.jp> <86C2FBB2-7693-4611-9BC4-5E4B6BCE291B@economy-x-talk.com> <5FDD7171-7B86-41CC-9395-CFA4513ACFA1@derbrill.de> Message-ID: <13644520.post@talk.nabble.com> Hi, I tested on preOpenStack answer "moo" end preOpenStack on first card of otherwise empty stack on MacBook Pro, System 10.4.10 german, RR 2.8.1, GLX on and off. it works with doubleclick, drag and drop and starting stack from within Revolution. only difference is on doubleclick and drag and drop there is no RR-logo in the answer dialog box, probably because the icons are not yet available? hth bernd Malte Brill wrote: > > Hi Kay, > > this is extremly interesting. As you see a different behaviour than > me, I suspect it might be a setting somewhere or something that got > corrupted on my and other machines. Would love to investigate that. > > All the best, > > Malte > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/Re%3A-use-revolution-Digest%2C-Vol-50%2C-Issue-10-tf4756652.html#a13644520 Sent from the Revolution - User mailing list archive at Nabble.com. From probinson244 at btinternet.com Thu Nov 8 08:12:32 2007 From: probinson244 at btinternet.com (Paul Robinson) Date: Thu, 8 Nov 2007 13:12:32 -0000 Subject: can I Save data to standalone sub stack within the standalone and redistribute the standalone withe the new saved data Message-ID: <000901c82209$05d786c0$4001a8c0@pc10> Hello, I am a total beginner with all this but I like the RunRev solution to building my own application and I am trying hard to learn... any suggestions for publications to read? My initial problem is I don't really understand scripts enough yet, is the a script that will allow me to save data into a sub stack witch is part of a main stack within a standalone application. reason: I want to create an e-book that can be redistributed with updated links etc. I don't want two applications if possible just one that saves data to its self and then can be emailed to the next recipient or downloaded. If there is a sample stack or some script anyone has could you help please? Many thanks Paul Robinson UK From bvg at mac.com Thu Nov 8 08:50:07 2007 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 8 Nov 2007 14:50:07 +0100 Subject: can I Save data to standalone sub stack within the standalone and redistribute the standalone withe the new saved data In-Reply-To: <000901c82209$05d786c0$4001a8c0@pc10> References: <000901c82209$05d786c0$4001a8c0@pc10> Message-ID: <9ba72ab42e7c515ea557b336c4922124@mac.com> On 08 Nov 2007, at 14:12, Paul Robinson wrote: > > If there is a sample stack or some script anyone has could you help > please? > If you have a stack to save, try something like this in a button: on mouseUp answer file "where to save the stack?" if it <> "" and the result = "" then put it & ".rev" into thePath end if save stack "name of your stack goes here" as thePath end mouseUp Note that you cannot edit an executable, so you can't save the substack into the executable itself. On Mac OS X, executables are contained within a bundle folder, which you can theoretically put stuff into, but Apple is not fond of that, and the newest OS (leopard) will put up a dialog if you try to reopen an application edited in this way. Because of this, you're best served by creating a document paradigm, letting users send individual stack files around, and open them with your application. Bjoernke -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From luis at anachreon.co.uk Thu Nov 8 09:40:31 2007 From: luis at anachreon.co.uk (Luis) Date: Thu, 8 Nov 2007 14:40:31 +0000 Subject: can I Save data to standalone sub stack within the standalone and redistribute the standalone withe the new saved data In-Reply-To: <9ba72ab42e7c515ea557b336c4922124@mac.com> References: <000901c82209$05d786c0$4001a8c0@pc10> <9ba72ab42e7c515ea557b336c4922124@mac.com> Message-ID: <08331C6B-0AA8-4592-8050-DB5D5573CF37@anachreon.co.uk> And in order to keep the distributable 'stack' within you app theme: You could append a different extension, for example 'ebook2.ebk' instead of 'ebook2.rev' and rename it internally. Cheers, Luis. On 8 Nov 2007, at 13:50, Bj?rnke von Gierke wrote: > > On 08 Nov 2007, at 14:12, Paul Robinson wrote: >> >> If there is a sample stack or some script anyone has could you >> help please? >> > > If you have a stack to save, try something like this in a button: > > on mouseUp > answer file "where to save the stack?" > if it <> "" and the result = "" then > put it & ".rev" into thePath > end if > save stack "name of your stack goes here" as thePath > end mouseUp > > > Note that you cannot edit an executable, so you can't save the > substack into the executable itself. On Mac OS X, executables are > contained within a bundle folder, which you can theoretically put > stuff into, but Apple is not fond of that, and the newest OS > (leopard) will put up a dialog if you try to reopen an application > edited in this way. > > Because of this, you're best served by creating a document > paradigm, letting users send individual stack files around, and > open them with your application. > > Bjoernke > > -- > > official ChatRev page: > http://chatrev.bjoernke.com > > Chat with other RunRev developers: > go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Thu Nov 8 10:09:03 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 08 Nov 2007 07:09:03 -0800 Subject: can I Save data to standalone sub stack within the standalone and redistribute the standalone withe the new saved data Message-ID: <4733268F.4050906@fourthworld.com> Paul Robinson wrote: > I am a total beginner with all this but I like the RunRev solution to > building my own application and I am trying hard to learn... any suggestions > for publications to read? This article from Sarah Reichelt at revJournal.com may be helpful: -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From mdswindell at cruzio.com Thu Nov 8 10:49:45 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Thu, 8 Nov 2007 07:49:45 -0800 Subject: Updating stack without going to it Message-ID: <957EF034-6EDF-40BA-8230-A620B8AC4788@cruzio.com> Can one make visible changes to a stack (change card, update field propeties) without actually going to the stack? I have a situation where I'm trying to update a navigation stack (which is the mainstack) to reflect having selected any of multiple open substacks. I'm using a resumeStack handler to accomplish this . The problem is that I get into a recursive situation, as every time the resumeStack goes out and updates the navigationStack, it has to return to the substack and the resumeStack is called again, and around we go. I know this should be simple, but I'm not getting it. Thanks, Mark From xavier.bury at clearstream.com Thu Nov 8 10:55:36 2007 From: xavier.bury at clearstream.com (xavier.bury at clearstream.com) Date: Thu, 8 Nov 2007 16:55:36 +0100 Subject: Planning ahead for threads and more interactivity in rev apps In-Reply-To: <4733268F.4050906@fourthworld.com> Message-ID: Hi everyone, In order to make an application more responsive, im thinking of implementing a kind of threading so that the application can still run while the GUI remains responsive. The application in question is a domain scanner and it scans some hundreds of servers which takes quite a while given the number of servers, their locations or type (phys. or virtual). I dont need this to go faster mind you but i dont want to go slower either... All i need is to be able to browse tabs and eventually change a setting or another. Problem is that mouse interception is not really working because of the intermittent shell calls and any mouseclick seems to get lost. Unless i want to click for 1-4 minutes and wait with the mousedown which i dont really fancy for anyone to suffer. Using "send" is also not a good idea because i use shell commands that may take different times to finish - some servers are vmware slow or are located in places like dubai or Prague may not respond too quickly... Problem with the send command is that if you ask it to send something in 5 seconds and there is a process already running, the send will definitely not run in 5 seconds... And worse, it may prevent intercepting your mouseclick. I was thinking of a script that runs the shell, waits if mouseclick or something like that... But last thing i want is to make this complex code more complex... And im not sure the mouseclick will not be lost while the script runs. Something "interactive" is what I am looking for... Last but not least, i can't (or dont want to) manage more than 1 shell running at a time using a quick batch runner - meaning i'll have to manage interleaving and limiting processing load. The server has other functions and i can't monopolize the processors... Although this seems like my best solution. Im just planning ahead this feature so all your ideas are welcome! Im sure many of us revvers are looking for a script like this at some point for applications that take time to process... Thanks in advance Xavier ---------------------------------------------------------------------------- Clearstream Services S.A. 42 Avenue JF Kennedy, L-1855 Luxembourg Soci?t? anonyme is organised with limited liability in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911. ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. Legally required information for business correspondence/ Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: http://deutsche-boerse.com/letterhead END OF DISCLAIMER From stephenREVOLUTION2 at barncard.com Thu Nov 8 11:15:08 2007 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Thu, 8 Nov 2007 08:15:08 -0800 Subject: can I Save data to standalone sub stack within the standalone and redistribute the standalone withe the new saved data In-Reply-To: <9ba72ab42e7c515ea557b336c4922124@mac.com> References: <000901c82209$05d786c0$4001a8c0@pc10> <9ba72ab42e7c515ea557b336c4922124@mac.com> Message-ID: > >Note that you cannot edit an executable, so you can't save the >substack into the executable itself. On Mac OS X, executables are >contained within a bundle folder, which you can theoretically put >stuff into, but Apple is not fond of that, I do this all the time - in fact it's part of my methodology. I really don't want to create a new standalone every time I have to make a change in one stack, so (at least in Tiger) I work in the IDE with any of the stacks inside the bundle, and it works great. All the file paths are the same, and I can even run the Rev IDE and launch the surrounding package at the same time. The only downside is that changing anything inside the bundle will not change the date in the bundle as it would with a folder, and my backup software doesn't see the changed date, and doesn't back it up. >and the newest OS (leopard) will put up a dialog if you try to >reopen an application edited in this way. If Leopard breaks this for me, I'm going to be working in Tiger for a long, long time. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From JimAultWins at yahoo.com Thu Nov 8 11:28:26 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 08 Nov 2007 08:28:26 -0800 Subject: Planning ahead for threads and more interactivity in rev apps In-Reply-To: Message-ID: My workaround for this is to have a 'shell helper' app. In the past I have used simple text files to be the flags and hold variables to be passed, as well as UDP messaging between apps on the same computer. Another solution was to make an ftp agent app that would auto-up/download text files between networks, but this does not seem to be what you are asking. Basically my approach to multi-threading is a separate app and let the operating system do the threading. Extra benefit may be that the 'send' could be more reliable timing if you use a shell command (cron), but this may be outside of your goals. This means the visible interface would trigger changes in the shell-helper app running hidden. The helper app would always check the text file for changes before doing the next ping. Hope this helps Jim Ault Las Vegas On 11/8/07 7:55 AM, "xavier.bury at clearstream.com" wrote: > Hi everyone, > > > > In order to make an application more responsive, im thinking of > > implementing a kind of threading so that the application can still run > > while the GUI remains responsive. The application in question is a domain > > scanner and it scans some hundreds of servers which takes quite a while > > given the number of servers, their locations or type (phys. or virtual). I > > dont need this to go faster mind you but i dont want to go slower > > either... > > > > All i need is to be able to browse tabs and eventually change a setting or > > another. > > > > Problem is that mouse interception is not really working because of the > > intermittent shell calls and any mouseclick seems to get lost. Unless i > > want to click for 1-4 minutes and wait with the mousedown which i dont > > really fancy for anyone to suffer. > > > > Using "send" is also not a good idea because i use shell commands that may > > take different times to finish - some servers are vmware slow or are > > located in places like dubai or Prague may not respond too quickly... > > Problem with the send command is that if you ask it to send something in 5 > > seconds and there is a process already running, the send will definitely > > not run in 5 seconds... And worse, it may prevent intercepting your > > mouseclick. > > > > I was thinking of a script that runs the shell, waits if mouseclick or > > something like that... But last thing i want is to make this complex code > > more complex... And im not sure the mouseclick will not be lost while the > > script runs. > > > > Something "interactive" is what I am looking for... > > > > Last but not least, i can't (or dont want to) manage more than 1 shell > > running at a time using a quick batch runner - meaning i'll have to manage > > interleaving and limiting processing load. The server has other functions > > and i can't monopolize the processors... Although this seems like my best > > solution. > > > > Im just planning ahead this feature so all your ideas are welcome! Im sure > > many of us revvers are looking for a script like this at some point for > > applications that take time to process... > > > > Thanks in advance > > Xavier > > > > > > ---------------------------------------------------------------------------- > > Clearstream Services S.A. > > 42 Avenue JF Kennedy, L-1855 Luxembourg > > Soci?t? anonyme is organised with limited liability > > in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911. > > > > > > ----------------------------------------- > > Visit us at http://www.clearstream.com > > > > IMPORTANT MESSAGE > > > > Internet communications are not secure and therefore Clearstream > International does not accept legal responsibility for the contents > of this message. > > > > The information contained in this e-mail is confidential and may be > legally privileged. It is intended solely for the addressee. If you > are not the intended recipient, any disclosure, copying, > distribution or any action taken or omitted to be taken in reliance > on it, is prohibited and may be unlawful. Any views expressed in > this e-mail are those of the individual sender, except where the > sender specifically states them to be the views of Clearstream > International or of any of its affiliates or subsidiaries. > > > > Legally required information for business correspondence/ > > Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: > > http://deutsche-boerse.com/letterhead > > > > END OF DISCLAIMER > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revlist at azurevision.co.uk Thu Nov 8 11:38:32 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 8 Nov 2007 16:38:32 +0000 Subject: Updating stack without going to it In-Reply-To: <957EF034-6EDF-40BA-8230-A620B8AC4788@cruzio.com> References: <957EF034-6EDF-40BA-8230-A620B8AC4788@cruzio.com> Message-ID: <23D6C183-1954-434D-8FBA-CC83B4B87BF4@azurevision.co.uk> On 8 Nov 2007, at 15:49, Mark Swindell wrote: > Can one make visible changes to a stack (change card, update field > propeties) without actually going to the stack? Have a look at the defaultstack command. Ian From JimAultWins at yahoo.com Thu Nov 8 11:52:22 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 08 Nov 2007 08:52:22 -0800 Subject: Updating stack without going to it In-Reply-To: <957EF034-6EDF-40BA-8230-A620B8AC4788@cruzio.com> Message-ID: On 11/8/07 7:49 AM, "Mark Swindell" wrote: > Can one make visible changes to a stack (change card, update field > propeties) without actually going to the stack? > > I have a situation where I'm trying to update a navigation stack > (which is the mainstack) to reflect having selected any of multiple > open substacks. I'm using a resumeStack handler to accomplish > this . The problem is that I get into a recursive situation, as > every time the resumeStack goes out and updates the navigationStack, > it has to return to the substack and the resumeStack is called again, > and around we go. > > I know this should be simple, but I'm not getting it. I have used this before, but not with resume stack, so I cannot say I have seen your particular setup, nor have I seen the recursion. put "something" into fld "displayData" of stack "Status View" set the selection of field "stackList" of stack "mainNav" to 3 ... but not using suspend/Resume Stack. Hope this helps. Jim Ault Las Vegas From revdev at pdslabs.net Thu Nov 8 13:03:04 2007 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 08 Nov 2007 10:03:04 -0800 Subject: Planning ahead for threads and more interactivity in rev apps In-Reply-To: References: Message-ID: <47334F58.7030705@pdslabs.net> Hi Xavier, One approach is to have a primary app which offloads 'blocking' or time-consuming tasks to invisible secondary apps (also built with Rev) via sockets. So the primary app would open a connection, tell the secondary app what to do, and close the connection (or use a datagram). Then PrimaryApp is free for other tasks while SecondaryApp does the lookup. When SecondaryApp has some results, it opens a socket to PrimaryApp and writes the results to it (or tells PrimaryApp about a new data file containing the results, or...) The use of socket communication keeps interactions message-based or event-driven, which will keep PrimaryApp focused on managing server info results rather than obtaining them. I believe that's what you want. This approach is somewhat scalable too; you can have several invisible SecondaryApps running if needed. (But that does add complexity to task management) Anyway, food for thought... Phil Davis xavier.bury at clearstream.com wrote: > Hi everyone, > > In order to make an application more responsive, im thinking of > implementing a kind of threading so that the application can still run > while the GUI remains responsive. The application in question is a domain > scanner and it scans some hundreds of servers which takes quite a while > given the number of servers, their locations or type (phys. or virtual). I > dont need this to go faster mind you but i dont want to go slower > either... > > All i need is to be able to browse tabs and eventually change a setting or > another. > > Problem is that mouse interception is not really working because of the > intermittent shell calls and any mouseclick seems to get lost. Unless i > want to click for 1-4 minutes and wait with the mousedown which i dont > really fancy for anyone to suffer. > > Using "send" is also not a good idea because i use shell commands that may > take different times to finish - some servers are vmware slow or are > located in places like dubai or Prague may not respond too quickly... > Problem with the send command is that if you ask it to send something in 5 > seconds and there is a process already running, the send will definitely > not run in 5 seconds... And worse, it may prevent intercepting your > mouseclick. > > I was thinking of a script that runs the shell, waits if mouseclick or > something like that... But last thing i want is to make this complex code > more complex... And im not sure the mouseclick will not be lost while the > script runs. > > Something "interactive" is what I am looking for... > > Last but not least, i can't (or dont want to) manage more than 1 shell > running at a time using a quick batch runner - meaning i'll have to manage > interleaving and limiting processing load. The server has other functions > and i can't monopolize the processors... Although this seems like my best > solution. > > Im just planning ahead this feature so all your ideas are welcome! Im sure > many of us revvers are looking for a script like this at some point for > applications that take time to process... > > Thanks in advance > Xavier > > > ---------------------------------------------------------------------------- > Clearstream Services S.A. > 42 Avenue JF Kennedy, L-1855 Luxembourg > Soci?t? anonyme is organised with limited liability > in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911. > > > ----------------------------------------- > Visit us at http://www.clearstream.com > > IMPORTANT MESSAGE > > Internet communications are not secure and therefore Clearstream > International does not accept legal responsibility for the contents > of this message. > > The information contained in this e-mail is confidential and may be > legally privileged. It is intended solely for the addressee. If you > are not the intended recipient, any disclosure, copying, > distribution or any action taken or omitted to be taken in reliance > on it, is prohibited and may be unlawful. Any views expressed in > this e-mail are those of the individual sender, except where the > sender specifically states them to be the views of Clearstream > International or of any of its affiliates or subsidiaries. > > Legally required information for business correspondence/ > Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: > http://deutsche-boerse.com/letterhead > > END OF DISCLAIMER > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From mark at maseurope.net Thu Nov 8 13:14:14 2007 From: mark at maseurope.net (Mark Smith) Date: Thu, 8 Nov 2007 10:14:14 -0800 Subject: Planning ahead for threads and more interactivity in rev apps In-Reply-To: References: Message-ID: <49781573-EBEE-44A5-9ECC-FA27E0EF4489@maseurope.net> And to add to what Jim and Phil have said, you can also use the cgi engines to create your own shell commands. If you put a copy of the appropriate cgi engine in a folder somewhere (I put it at the top level of the disk ( "/revShell"), and set it's permissions appropriately, you can then write cgi-type scripts that can read and write files, make other shell calls, and so-on. Since these cgi-type scripts are your own, you make calling them non- blocking by using shell redirects, and then have them write files that you can monitor, both for their status and their results, leaving your main app free to handle the gui. It probably wouldn't be too hard to use a shell command like ps to monitor CPU and memory usage, and so have some sort of queuing system to prevent hogging the server. Best, Mark From shoreagent at gmail.com Thu Nov 8 13:25:50 2007 From: shoreagent at gmail.com (william humphrey) Date: Thu, 8 Nov 2007 14:25:50 -0400 Subject: Question on RunRev/SQLite In-Reply-To: <32B1F242-71ED-45A8-965A-672678C1CC15@mangomultimedia.com> References: <32B1F242-71ED-45A8-965A-672678C1CC15@mangomultimedia.com> Message-ID: <459b22a90711081025y396ebef3k5b7286e8cc26006d@mail.gmail.com> Another quick question: My database query builder stopped working for SQLite and I did a search for what user name and password is supposed to be put in there since runrev took over altSQLite Do you know what that is? PS - It stopped working for me when I tried to locate my database somewhere other than the same folder as the application. Even after I moved it back I cannot connect. I was hoping maybe my old user name and password from altuit is corrupted somehow and that would be the solution. Otherwise I will have to reinstall from a very old back-up to get it working. Bill PPS - I have really really learned not to use the database query builder for any serious application as it is very touchy. (and no one else seems to use it either as there is no advanced documentation or examples) On 11/5/07, Trevor DeVore wrote: > > On Nov 5, 2007, at 10:22 AM, Dave wrote: > > > > According to the SQLite Documentation, it seems you can use a > > "pragma" statement to select the character encoding for the database > > when it is created. Using the RunRev interface how and when do I > > specify this pragma? > > For PRAGMA calls that return records use the same calls as you would > for SELECT statements (i.e. revQueryDatabase). > > For PRAGMA calls that don't return records use revExeucteSQL. > > -- > Trevor DeVore > Blue Mango Learning Systems > www.bluemangolearning.com - www.screensteps.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.bluewatermaritime.com From shoreagent at gmail.com Thu Nov 8 13:29:44 2007 From: shoreagent at gmail.com (william humphrey) Date: Thu, 8 Nov 2007 14:29:44 -0400 Subject: SQLite3 - problems connecting to database In-Reply-To: <13332359.post@talk.nabble.com> References: <13332359.post@talk.nabble.com> Message-ID: <459b22a90711081029n1de02144qd8a66e3419e67bfc@mail.gmail.com> Hi Lynn I wish someone had answered your question. I can't find, anymore, the place on the RunRev website where they show the new password and user name you're supposed to use in the database query builder when connecting to the newly integrated SQLite. Presently I can't even get the query builder to say it is connected no matter what I try. Bill On 10/21/07, Lynn Marie Peterson wrote: > > > Hi folks ~ > > Has anyone else had trouble connecting to an SQLite3 database now that > it's > integrated into the current Rev v2.8.1 gm-3? > > I have no problems connecting and interacting with mySQL databases using > either the Rev Database Query Builder or the Rev commands themselves. It > "appears" as though Rev connects to an SQLite3 database as the Database > Query Builder says it's connected after clicking on the Connect button, > however there is no returned database ID and when I change to the Record > Set > in QB, the popup menu to the tables says the table(s) are not available. > It > says it is connected, even if the full path to the database is not filled > out, so I suspect it's not connected at all. > > If I force type in the name of a table, I get the Rev error message: > An error resulted for the SQL command in the database: employeeInfo > Revdb error: Database Error: SQL error or missing database > Query: SELECT * FROM employeeRecords > > I've used both Terminal and the open source app SQLite3 Database Browser > v1.3 to create a simple SQLite3 database, but am having no luck. I'd > really > like to use SQLite3 for apps that only need single user data > storage/access > that travel with the app. > > Is there something I'm missing? > Thanks to any and all that can end this frustration. > > Lynn Peterson > OS X 10.4.10 [non Intel] > Rev Studio v2.8.1 gm-3 > -- > View this message in context: > http://www.nabble.com/SQLite3---problems-connecting-to-database-tf4667167.html#a13332359 > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.bluewatermaritime.com From shoreagent at gmail.com Thu Nov 8 15:14:43 2007 From: shoreagent at gmail.com (william humphrey) Date: Thu, 8 Nov 2007 16:14:43 -0400 Subject: Question on RunRev/SQLite In-Reply-To: <459b22a90711081025y396ebef3k5b7286e8cc26006d@mail.gmail.com> References: <32B1F242-71ED-45A8-965A-672678C1CC15@mangomultimedia.com> <459b22a90711081025y396ebef3k5b7286e8cc26006d@mail.gmail.com> Message-ID: <459b22a90711081214m2c6275efrf1c70347679803fa@mail.gmail.com> I solved my problem by the long process of re-installing RunRev completely and then using an old back-up of my program (stack files) which still could see the Database Query builder and then using BBedit backups of scripts to update everything back to the way it was. The Database Query builder must have had a corruption somewhere in a not visible location. Please I still need the new logon and password to use in the database query builder for SQLite if anyone knows it. THanks for the help Bill On 11/8/07, william humphrey wrote: > > Another quick question: > > My database query builder stopped working for SQLite and I did a search > for what user name and password is supposed to be put in there since runrev > took over altSQLite > > > Do you know what that is? > > > PS - It stopped working for me when I tried to locate my database > somewhere other than the same folder as the application. Even after I moved > it back I cannot connect. I was hoping maybe my old user name and password > from altuit is corrupted somehow and that would be the solution. Otherwise I > will have to reinstall from a very old back-up to get it working. > > > Bill > > > PPS - I have really really learned not to use the database query builder > for any serious application as it is very touchy. (and no one else seems to > use it either as there is no advanced documentation or examples) > > On 11/5/07, Trevor DeVore wrote: > > > > On Nov 5, 2007, at 10:22 AM, Dave wrote: > > > > > > According to the SQLite Documentation, it seems you can use a > > > "pragma" statement to select the character encoding for the database > > > when it is created. Using the RunRev interface how and when do I > > > specify this pragma? > > > > For PRAGMA calls that return records use the same calls as you would > > for SELECT statements (i.e. revQueryDatabase). > > > > For PRAGMA calls that don't return records use revExeucteSQL. > > > > -- > > Trevor DeVore > > Blue Mango Learning Systems > > www.bluemangolearning.com - www.screensteps.com > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > http://www.bluewatermaritime.com > -- http://www.bluewatermaritime.com From jbv.silences at club-internet.fr Thu Nov 8 16:28:54 2007 From: jbv.silences at club-internet.fr (jbv) Date: Thu, 08 Nov 2007 22:28:54 +0100 Subject: Rev cgi on Win 2K server, anyone ? References: <472F9A73.42A14D6E@club-internet.fr><1541722785083.20071106184859@ahsoftware.net><4731ADD2.B6A66861@club-internet.fr> <473220EC.43B2E075@club-internet.fr> Message-ID: <47337F95.4D05EE69@club-internet.fr> Mark, > > My guess is that you need revdb.dll installed along with the rev engine. > It's a separate file and not part of the engine itself, so if you haven't > put it on the win server the database calls aren't going to work. I did that, but no luck. my scripts keep crashing with revdb commands. All the rest works fine. Any suggestion welcomed... Best, JB From john at debraneys.com Thu Nov 8 17:08:13 2007 From: john at debraneys.com (John Tregea) Date: Thu, 08 Nov 2007 22:08:13 +0000 Subject: Planning ahead for threads and more interactivity in rev apps Message-ID: Dear Xavier, Sounds like an interesting project. My thought on your problem is to reverse the issue. That is to break the larger task of interrogating and analysing the network space down into a number of tasks that can be processed when YOU are not doing something, rather than allowing the non-time-sensitive task to take over. One way of doing this might be to do your initial search of the network domain (read active directory or whatever), then post a list of the found devices into a scrolling text field as function calls with the appropriate arguments (one per line). i.e. checkDevice(132.678.45.0,server,fullstats) -- where checkDevice is the analysis routine you want to run, then the arguments are the ip address, the type of analysis and the scope, (or whateversuits your requirements) Then in your idle handler you grab the first line from that field and "send" it to rev to process. Rev will always interrupt your idle process whenever you even move the mouse and hand control back to you. The longest you would have to wait is the period it takes to complete ONE handler call to analyse a specific device on the network rather than just being lost in the queue of commands somewhere. Each time you grab the top line from the field, delete that line... Eventually the field will be empty and you know you have completed the analysis of each device that was found when you started the whole process. I used this technique with a teleprompter system I built for a television station once in HyperCard to send and queue required events to a central display screen using appleEvents. It worked fantastically well. Hope this is some help (adjacent thinking I know, but sometimes that can simplify things) Regards John
 

Technology Director
Debraneys
+61 (0) 2 9529 0007 Office
+61 (0) 4 3050 6980 Mobile
www.debraneys.com

>-----Original Message----- >From: xavier.bury at clearstream.com [mailto:xavier.bury at clearstream.com] >Sent: Friday, November 9, 2007 02:55 AM >To: 'How to use Revolution' >Subject: Planning ahead for threads and more interactivity in rev apps > >Hi everyone, > >In order to make an application more responsive, im thinking of >implementing a kind of threading so that the application can still run >while the GUI remains responsive. The application in question is a domain >scanner and it scans some hundreds of servers which takes quite a while >given the number of servers, their locations or type (phys. or virtual). I >dont need this to go faster mind you but i dont want to go slower >either... > >All i need is to be able to browse tabs and eventually change a setting or >another. > >Problem is that mouse interception is not really working because of the >intermittent shell calls and any mouseclick seems to get lost. Unless i >want to click for 1-4 minutes and wait with the mousedown which i dont >really fancy for anyone to suffer. > >Using "send" is also not a good idea because i use shell commands that may >take different times to finish - some servers are vmware slow or are >located in places like dubai or Prague may not respond too quickly... >Problem with the send command is that if you ask it to send something in 5 >seconds and there is a process already running, the send will definitely >not run in 5 seconds... And worse, it may prevent intercepting your >mouseclick. > >I was thinking of a script that runs the shell, waits if mouseclick or >something like that... But last thing i want is to make this complex code >more complex... And im not sure the mouseclick will not be lost while the >script runs. > >Something "interactive" is what I am looking for... > >Last but not least, i can't (or dont want to) manage more than 1 shell >running at a time using a quick batch runner - meaning i'll have to manage >interleaving and limiting processing load. The server has other functions >and i can't monopolize the processors... Although this seems like my best >solution. > >Im just planning ahead this feature so all your ideas are welcome! Im sure >many of us revvers are looking for a script like this at some point for >applications that take time to process... > >Thanks in advance >Xavier > > >---------------------------------------------------------------------------- >Clearstream Services S.A. >42 Avenue JF Kennedy, L-1855 Luxembourg >Soci?t? anonyme is organised with limited liability >in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911. > > >----------------------------------------- >Visit us at http://www.clearstream.com > >IMPORTANT MESSAGE > >Internet communications are not secure and therefore Clearstream >International does not accept legal responsibility for the contents >of this message. > >The information contained in this e-mail is confidential and may be >legally privileged. It is intended solely for the addressee. If you >are not the intended recipient, any disclosure, copying, >distribution or any action taken or omitted to be taken in reliance >on it, is prohibited and may be unlawful. Any views expressed in >this e-mail are those of the individual sender, except where the >sender specifically states them to be the views of Clearstream >International or of any of its affiliates or subsidiaries. > >Legally required information for business correspondence/ >Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: >http://deutsche-boerse.com/letterhead > >END OF DISCLAIMER >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > From lan.kc.macmail at gmail.com Thu Nov 8 17:15:30 2007 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 9 Nov 2007 06:15:30 +0800 Subject: Idle handlers and Text files In-Reply-To: <13644520.post@talk.nabble.com> References: <1D5D5E87-92A6-4862-A6B4-FCA941011EC2@agate.plala.or.jp> <86C2FBB2-7693-4611-9BC4-5E4B6BCE291B@economy-x-talk.com> <5FDD7171-7B86-41CC-9395-CFA4513ACFA1@derbrill.de> <13644520.post@talk.nabble.com> Message-ID: On Nov 8, 2007 6:30 PM, BNig wrote: > > on first card of otherwise empty stack on > MacBook Pro, System 10.4.10 german, RR 2.8.1, GLX on and off. > > it works with doubleclick, drag and drop and starting stack from within > Revolution. > Had thought that there may have been something about a German install, but clearly not. Do you have any other development environments or frontscripts (other than GLX) that may be running? Got an old Rev 2.6 that you can start up and test? From josh at dvcreators.net Thu Nov 8 18:17:57 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 8 Nov 2007 15:17:57 -0800 Subject: using a variable for the name of a custom property - safe? Message-ID: I have a number of custom properties to deal with, and would rather do this in a loop. So, on a lark, I tried this: on mouseUp set the uFavColor of me to "blue" set the tProperty of me to "red" put "uFavColor" into tProperty answer the tProperty of me end mouseUp Obviously the caveat of using the same name for a variable and custom property is well advised! Since the Rev parser obviously first checks for the value of the variable before the custom property. My question, though, to save me a lot of lines of code, is: Does anyone do this routinely? (Refer to a custom property with a variable name) Is this unsafe? Or something that might change in 2.9 or 3? I don't want to depend on a technique that is more trickery than solid programming. (The reason I'm doing this is that I have a lot of custom properties that contain binary file data with sequential names and want to spit them all out into files in a simple loop and not manually by naming each explicitly- perhaps there is a simpler way?) From sarah.reichelt at gmail.com Thu Nov 8 18:33:25 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 9 Nov 2007 09:33:25 +1000 Subject: using a variable for the name of a custom property - safe? In-Reply-To: References: Message-ID: > My question, though, to save me a lot of lines of code, is: > > Does anyone do this routinely? (Refer to a custom property with a > variable name) Is this unsafe? Or something that might change in 2.9 > or 3? I do this with my own custom property set. So for data storage I have a set called cDataStorage and it has elements called pH1, pH2, temp1, temp2 etc. I can get data directly e.g. put the cDataStorage["temp1"] into tData or using a variable: put "pH1" into tActiveSensor put cDataStorage[tActiveSensor] into tData I have had no problems with this approach. Sarah From bvg at mac.com Thu Nov 8 19:08:25 2007 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 9 Nov 2007 01:08:25 +0100 Subject: Question on RunRev/SQLite In-Reply-To: <459b22a90711081214m2c6275efrf1c70347679803fa@mail.gmail.com> References: <32B1F242-71ED-45A8-965A-672678C1CC15@mangomultimedia.com> <459b22a90711081025y396ebef3k5b7286e8cc26006d@mail.gmail.com> <459b22a90711081214m2c6275efrf1c70347679803fa@mail.gmail.com> Message-ID: On 08 Nov 2007, at 21:14, william humphrey wrote: > Please I still need the new logon and password to use in the database > query > builder for SQLite if anyone knows it. If you mean a kind of password that allows you to use SQLite, then there is none. I have never used altSQLite, only made an app with an SQLite database this summer (after Rev took it over), and there is no such thing as a logon I needed to know for using it. -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From JimAultWins at yahoo.com Thu Nov 8 19:12:24 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 08 Nov 2007 16:12:24 -0800 Subject: using a variable for the name of a custom property - safe? In-Reply-To: Message-ID: Short answer is yes. > Does anyone do this routinely? (Refer to a custom property with a > variable name) Is this unsafe? Or something that might change in 2.9 > or 3? > (The reason I'm doing this is that I have a lot of custom properties > that contain binary file data with sequential names and want to spit > them all out into files in a simple loop and not manually by naming > each explicitly- perhaps there is a simpler way?) Yes, I do this, and this is not a trick that will disappear. I will show an unambiguous notation further down that should help you. > on mouseUp > set the uFavColor of me to "blue" > set the tProperty of me to "red" > put "uFavColor" into tProperty > > answer the tProperty of me > end mouseUp My answer is "blue", which is the correct answer. It is indeed (the uFavColor of me) and (the tProperty of me) is "red" and later tProperty is interpreted to be "uFavColor" ----These are not the same thing: answer tProperty => uFavColor answer the tProperty of me => blue put (the tProperty of me) into propName => red answer the propName of me => empty which means (the red of me) is empty. > > Obviously the caveat of using the same name for a variable and custom > property is well advised! Since the Rev parser obviously first checks > for the value of the variable before the custom property. Actually the caveat is true, and a couple others can also cause problems. => assuming the *current custom property set* !! => if uPropName01 does not exist, then it is created In this case, the property is silently created or changed and is not easily visible. I would recommend that you use notation that specifies both the property and the property set to avoid crossing data storage. set the myImageStorSetA["uFirstImage"] of me to url ("binary:podium01.jpg") set the myImageStorSetA["uSecondImage"] of me to url (" binary:podium02.jpg") set the imageStorSetB["uFirstImage"] of me to url ("binary:podium01.jpg") put "44" into indx get ("uSecondImage" & indx & "small") set the myImageStorSetB[it] of me to url ("binary:speaker213.jpg") First Rev either creates the new custom property set "myImageStorSetA" or uses the existing one. Second Rev either creates the new custom property "uFirstImage" or uses the existing one. Further: looping is easily done by put "44" into indx get ("uThirdImage" & indx & "small") set the imgStorSetA[it] of stack "sidekick" to url ("binary:pod.jpg") Ambiguity is not your friend with custom properties. Hope this helps Jim Ault Las Vegas On 11/8/07 3:17 PM, "Josh Mellicker" wrote: > I have a number of custom properties to deal with, and would rather > do this in a loop. > > So, on a lark, I tried this: > > on mouseUp > set the uFavColor of me to "blue" > set the tProperty of me to "red" > put "uFavColor" into tProperty > > answer the tProperty of me > end mouseUp > > > Obviously the caveat of using the same name for a variable and custom > property is well advised! Since the Rev parser obviously first checks > for the value of the variable before the custom property. > > My question, though, to save me a lot of lines of code, is: > > Does anyone do this routinely? (Refer to a custom property with a > variable name) Is this unsafe? Or something that might change in 2.9 > or 3? > > I don't want to depend on a technique that is more trickery than > solid programming. > > > (The reason I'm doing this is that I have a lot of custom properties > that contain binary file data with sequential names and want to spit > them all out into files in a simple loop and not manually by naming > each explicitly- perhaps there is a simpler way?) From shoreagent at gmail.com Thu Nov 8 19:59:56 2007 From: shoreagent at gmail.com (william humphrey) Date: Thu, 8 Nov 2007 20:59:56 -0400 Subject: Question on RunRev/SQLite In-Reply-To: References: <32B1F242-71ED-45A8-965A-672678C1CC15@mangomultimedia.com> <459b22a90711081025y396ebef3k5b7286e8cc26006d@mail.gmail.com> <459b22a90711081214m2c6275efrf1c70347679803fa@mail.gmail.com> Message-ID: <459b22a90711081659p37933bw9575cdd3d28a5198@mail.gmail.com> If you leave those fields blank when using the database query builder it doesn't work (or did it work for you????). But when accessing SQLite by direct means you can do it with no password or ID. It could mean that my new install of RunRev is somehow still accessing an old AltSQLite installation? I wish that I wasn't the only person in the world using the database query builder. The database query builder has so much potential. On 11/8/07, Bj?rnke von Gierke wrote: > > On 08 Nov 2007, at 21:14, william humphrey wrote: > > > Please I still need the new logon and password to use in the database > > query > > builder for SQLite if anyone knows it. > > If you mean a kind of password that allows you to use SQLite, then > there is none. I have never used altSQLite, only made an app with an > SQLite database this summer (after Rev took it over), and there is no > such thing as a logon I needed to know for using it. > From josh at dvcreators.net Thu Nov 8 21:22:25 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 8 Nov 2007 18:22:25 -0800 Subject: using a variable for the name of a custom property - safe? In-Reply-To: References: Message-ID: <015E2EF7-0490-4C0B-AE40-A5A9CF99C3CC@dvcreators.net> Thanks Sarah and Jim! On Nov 8, 2007, at 4:12 PM, Jim Ault wrote: > > Short answer is yes. >> Does anyone do this routinely? (Refer to a custom property with a >> variable name) Is this unsafe? Or something that might change in 2.9 >> or 3? >> (The reason I'm doing this is that I have a lot of custom properties >> that contain binary file data with sequential names and want to spit >> them all out into files in a simple loop and not manually by naming >> each explicitly- perhaps there is a simpler way?) > Yes, I do this, and this is not a trick that will disappear. I > will show an > unambiguous notation further down that should help you. > >> on mouseUp >> set the uFavColor of me to "blue" >> set the tProperty of me to "red" >> put "uFavColor" into tProperty >> >> answer the tProperty of me >> end mouseUp > My answer is "blue", which is the correct answer. > It is indeed (the uFavColor of me) > and (the tProperty of me) is "red" > > and later tProperty is interpreted to be "uFavColor" > > ----These are not the same thing: > answer tProperty => uFavColor > answer the tProperty of me => blue > put (the tProperty of me) into propName => red > answer the propName of me => empty > > which means (the red of me) is empty. >> >> Obviously the caveat of using the same name for a variable and custom >> property is well advised! Since the Rev parser obviously first checks >> for the value of the variable before the custom property. > Actually the caveat is true, and a couple others can also cause > problems. > => assuming the *current custom property set* !! > => if uPropName01 does not exist, then it is created > > In this case, the property is silently created or changed and is > not easily > visible. I would recommend that you use notation that specifies > both the > property and the property set to avoid crossing data storage. > > set the myImageStorSetA["uFirstImage"] of me to url > ("binary:podium01.jpg") > set the myImageStorSetA["uSecondImage"] of me to url (" > binary:podium02.jpg") > set the imageStorSetB["uFirstImage"] of me to url > ("binary:podium01.jpg") > > put "44" into indx > get ("uSecondImage" & indx & "small") > set the myImageStorSetB[it] of me to url ("binary:speaker213.jpg") > > First Rev either creates the new custom property set > "myImageStorSetA" or > uses the existing one. > Second Rev either creates the new custom property "uFirstImage" or > uses the > existing one. > > Further: looping is easily done by > put "44" into indx > get ("uThirdImage" & indx & "small") > set the imgStorSetA[it] of stack "sidekick" to url ("binary:pod.jpg") > > Ambiguity is not your friend with custom properties. > > Hope this helps > > Jim Ault > Las Vegas > > > > On 11/8/07 3:17 PM, "Josh Mellicker" wrote: > >> I have a number of custom properties to deal with, and would rather >> do this in a loop. >> >> So, on a lark, I tried this: >> >> on mouseUp >> set the uFavColor of me to "blue" >> set the tProperty of me to "red" >> put "uFavColor" into tProperty >> >> answer the tProperty of me >> end mouseUp >> >> >> Obviously the caveat of using the same name for a variable and custom >> property is well advised! Since the Rev parser obviously first checks >> for the value of the variable before the custom property. >> >> My question, though, to save me a lot of lines of code, is: >> >> Does anyone do this routinely? (Refer to a custom property with a >> variable name) Is this unsafe? Or something that might change in 2.9 >> or 3? >> >> I don't want to depend on a technique that is more trickery than >> solid programming. >> >> >> (The reason I'm doing this is that I have a lot of custom properties >> that contain binary file data with sequential names and want to spit >> them all out into files in a simple loop and not manually by naming >> each explicitly- perhaps there is a simpler way?) > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mdswindell at cruzio.com Thu Nov 8 22:49:27 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Thu, 8 Nov 2007 19:49:27 -0800 Subject: Updating stack without going to it In-Reply-To: References: Message-ID: Thanks Jim and Ian. Maybe I've got a handle on the recursion, I don't know. But maybe you or others can explain the following. I simplified my setup and recreated the following scenario: A main stack with a field, and two substacks: FirstSub, SecondSub At the stack level in the main stack ("The Main One") I have this script: on updateNavCard go stack "the main one" put "hello"&return after field 1 end updateNavCard At the stack level of each of the sub stacks I have this: on resumeStack updateNavCard end resumeStack Now I toggle back and forth between the two substack windows. First two toggles a suspendstack and resumestack is sent and hello appears. Next two toggles only a suspendstack is sent and no "hello" appears. Then two more "hellos" Then two no hellos. And so on. This is confirmed in the message watcher (and by the way, how do you export its contents?). Why isn't a resume stack sent each time? Thanks Mark On Nov 8, 2007, at 8:52 AM, Jim Ault wrote: > On 11/8/07 7:49 AM, "Mark Swindell" wrote: > >> Can one make visible changes to a stack (change card, update field >> propeties) without actually going to the stack? >> >> I have a situation where I'm trying to update a navigation stack >> (which is the mainstack) to reflect having selected any of multiple >> open substacks. I'm using a resumeStack handler to accomplish >> this . The problem is that I get into a recursive situation, as >> every time the resumeStack goes out and updates the navigationStack, >> it has to return to the substack and the resumeStack is called again, >> and around we go. >> >> I know this should be simple, but I'm not getting it. > > I have used this before, but not with resume stack, so I cannot say > I have > seen your particular setup, nor have I seen the recursion. > > put "something" into fld "displayData" of stack "Status View" > > set the selection of field "stackList" of stack "mainNav" to 3 > > ... but not using suspend/Resume Stack. > > Hope this helps. > > Jim Ault > Las Vegas > From JimAultWins at yahoo.com Fri Nov 9 00:02:28 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 08 Nov 2007 21:02:28 -0800 Subject: Updating stack without going to it In-Reply-To: Message-ID: I don't have time to investigate your setup, however I can answer the export question: > This is confirmed in the message watcher (and by the way, how do you > export its contents?). open the message watcher, then do put the stacks into the msg box, hit enter in the list of stacks should be /Applications/Revolution Enterprise/2.7.2-gm-1/Toolset/ revmessagewatcher.rev thus.. in the msg box put the number of fields in card 1 of stack " revmessagewatcher.rev" -> 5 put field 1 of card 1 of stack "revmessagewatcher" ->bingo... this is what you want. ---------------------------- You might want to watch for multiple resumeStack messages when go stack "the main one" is executed .. and which resume stack is being trapped .. and which comes first.. suspend, resume, ?? .. does this work as expected when you toggle slowly? Jim Ault Las Vegas On 11/8/07 7:49 PM, "Mark Swindell" wrote: > Thanks Jim and Ian. > > Maybe I've got a handle on the recursion, I don't know. > > But maybe you or others can explain the following. I simplified my > setup and recreated the following scenario: > > A main stack with a field, and two substacks: FirstSub, SecondSub > > At the stack level in the main stack ("The Main One") I have this > script: > on updateNavCard > go stack "the main one" > put "hello"&return after field 1 > end updateNavCard > > At the stack level of each of the sub stacks I have this: > on resumeStack > updateNavCard > end resumeStack > > Now I toggle back and forth between the two substack windows. > First two toggles a suspendstack and resumestack is sent and hello > appears. > Next two toggles only a suspendstack is sent and no "hello" appears. > Then two more "hellos" > Then two no hellos. > And so on. > > This is confirmed in the message watcher (and by the way, how do you > export its contents?). > From JimAultWins at yahoo.com Fri Nov 9 00:04:32 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 08 Nov 2007 21:04:32 -0800 Subject: Updating stack without going to it In-Reply-To: Message-ID: You could make a slight change > on resumeStack updateNavCard (the short name of this stack) > end resumeStack on updateNavCard sourceOfMsg > go stack "the main one" put "hello"&& sourceOfMsg & return after field 1 > end updateNavCard Jim Ault Las Vegas On 11/8/07 7:49 PM, "Mark Swindell" wrote: > Thanks Jim and Ian. > > Maybe I've got a handle on the recursion, I don't know. > > But maybe you or others can explain the following. I simplified my > setup and recreated the following scenario: > > A main stack with a field, and two substacks: FirstSub, SecondSub > > At the stack level in the main stack ("The Main One") I have this > script: > on updateNavCard > go stack "the main one" > put "hello"&return after field 1 > end updateNavCard > > At the stack level of each of the sub stacks I have this: > on resumeStack > updateNavCard > end resumeStack > > Now I toggle back and forth between the two substack windows. > First two toggles a suspendstack and resumestack is sent and hello > appears. > Next two toggles only a suspendstack is sent and no "hello" appears. > Then two more "hellos" > Then two no hellos. > And so on. > > This is confirmed in the message watcher (and by the way, how do you > export its contents?). > > Why isn't a resume stack sent each time? > From xavier.bury at clearstream.com Fri Nov 9 04:28:11 2007 From: xavier.bury at clearstream.com (xavier.bury at clearstream.com) Date: Fri, 9 Nov 2007 10:28:11 +0100 Subject: Planning ahead for threads and more interactivity in rev apps Message-ID: Thanks for everyone's input... I came to the conclusion that my once-simple scanning program ended up with too many reporting features. So i have to separate them. I will have 3 different applications in the end. One for scanning, one for monitoring the scanning and one to do the reporting. I cannot use sockets or the like just because of the complexity it would add to the system plus the lack of tracking should anything go wrong. This is the same kind of issues with a cgi-based processes - if any of them hang, you dont know which one it is and you must kill all the processes to be clean again... We've had lots of issues with this which is why i wont go that way. The plan i made is to write simple transactions to files and have a cmd helper run these. These create their logs which is what i need and then delete the transaction file once done. This way if anything happens i can track where it went wrong (the transaction is not deleted for example)... Also i can limit the number of processes easily since rev creates the transactions only if there is no excess transactions left to be done... Thanks too all who answered for your help and suggestions! ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server ---------------------------------------------------------------------------- Clearstream Services S.A. 42 Avenue JF Kennedy, L-1855 Luxembourg Soci?t? anonyme is organised with limited liability in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911. ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. Legally required information for business correspondence/ Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: http://deutsche-boerse.com/letterhead END OF DISCLAIMER From luis at anachreon.co.uk Fri Nov 9 04:31:14 2007 From: luis at anachreon.co.uk (Luis) Date: Fri, 9 Nov 2007 09:31:14 +0000 Subject: Planning ahead for threads and more interactivity in rev apps In-Reply-To: References: Message-ID: <8708F761-FE6F-4572-9D04-555E5D1BC565@anachreon.co.uk> Instead of files 'per se', why not write to a database? Keeping it centralised. Cheers, Luis. On 9 Nov 2007, at 09:28, xavier.bury at clearstream.com wrote: > Thanks for everyone's input... > > I came to the conclusion that my once-simple scanning program ended up > with too many reporting features. So i have to separate them. I > will have > 3 different applications in the end. One for scanning, one for > monitoring > the scanning and one to do the reporting. > > I cannot use sockets or the like just because of the complexity it > would > add to the system plus the lack of tracking should anything go > wrong. This > is the same kind of issues with a cgi-based processes - if any of them > hang, you dont know which one it is and you must kill all the > processes to > be clean again... We've had lots of issues with this which is why i > wont > go that way. > > The plan i made is to write simple transactions to files and have a > cmd > helper run these. These create their logs which is what i need and > then > delete the transaction file once done. This way if anything happens > i can > track where it went wrong (the transaction is not deleted for > example)... > Also i can limit the number of processes easily since rev creates the > transactions > only if there is no excess transactions left to be done... > > Thanks too all who answered for your help and suggestions! > ---------------------=--------------------- > Xavier Bury > Clearstream Services > TNS NT LAN Server > > > > ---------------------------------------------------------------------- > ------ > Clearstream Services S.A. > 42 Avenue JF Kennedy, L-1855 Luxembourg > Soci?t? anonyme is organised with limited liability > in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911. > > > ----------------------------------------- > Visit us at http://www.clearstream.com > > IMPORTANT MESSAGE > > Internet communications are not secure and therefore Clearstream > International does not accept legal responsibility for the contents > of this message. > > The information contained in this e-mail is confidential and may be > legally privileged. It is intended solely for the addressee. If you > are not the intended recipient, any disclosure, copying, > distribution or any action taken or omitted to be taken in reliance > on it, is prohibited and may be unlawful. Any views expressed in > this e-mail are those of the individual sender, except where the > sender specifically states them to be the views of Clearstream > International or of any of its affiliates or subsidiaries. > > Legally required information for business correspondence/ > Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: > http://deutsche-boerse.com/letterhead > > END OF DISCLAIMER > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From xavier.bury at clearstream.com Fri Nov 9 04:36:21 2007 From: xavier.bury at clearstream.com (xavier.bury at clearstream.com) Date: Fri, 9 Nov 2007 10:36:21 +0100 Subject: Planning ahead for threads and more interactivity in rev apps In-Reply-To: <8708F761-FE6F-4572-9D04-555E5D1BC565@anachreon.co.uk> Message-ID: Hi Luis, I thought about that long ago, but decided to use flat files to keep the stats and this has worked really well over the years. One file per server for 400+ servers. Also DBs are slower in comparison to a file loading... I'd have to make one or more transactions per server where as i load the file into a variable and i have all the data there... keeping it simple... The files repository is centralized in this way... thanks for the suggestion... ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server use-revolution-bounces at lists.runrev.com wrote on 09/11/2007 10:31:14: > Instead of files 'per se', why not write to a database? Keeping it > centralised. > > Cheers, > > Luis. > > > On 9 Nov 2007, at 09:28, xavier.bury at clearstream.com wrote: > > > Thanks for everyone's input... > > > > I came to the conclusion that my once-simple scanning program ended up > > with too many reporting features. So i have to separate them. I > > will have > > 3 different applications in the end. One for scanning, one for > > monitoring > > the scanning and one to do the reporting. > > > > I cannot use sockets or the like just because of the complexity it > > would > > add to the system plus the lack of tracking should anything go > > wrong. This > > is the same kind of issues with a cgi-based processes - if any of them > > hang, you dont know which one it is and you must kill all the > > processes to > > be clean again... We've had lots of issues with this which is why i > > wont > > go that way. > > > > The plan i made is to write simple transactions to files and have a > > cmd > > helper run these. These create their logs which is what i need and > > then > > delete the transaction file once done. This way if anything happens > > i can > > track where it went wrong (the transaction is not deleted for > > example)... > > Also i can limit the number of processes easily since rev creates the > > transactions > > only if there is no excess transactions left to be done... > > > > Thanks too all who answered for your help and suggestions! > > ---------------------=--------------------- > > Xavier Bury > > Clearstream Services > > TNS NT LAN Server > > > > > > > > ---------------------------------------------------------------------- > > ------ > > Clearstream Services S.A. > > 42 Avenue JF Kennedy, L-1855 Luxembourg > > Soci?t? anonyme is organised with limited liability > > in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911. > > > > > > ----------------------------------------- > > Visit us at http://www.clearstream.com > > > > IMPORTANT MESSAGE > > > > Internet communications are not secure and therefore Clearstream > > International does not accept legal responsibility for the contents > > of this message. > > > > The information contained in this e-mail is confidential and may be > > legally privileged. It is intended solely for the addressee. If you > > are not the intended recipient, any disclosure, copying, > > distribution or any action taken or omitted to be taken in reliance > > on it, is prohibited and may be unlawful. Any views expressed in > > this e-mail are those of the individual sender, except where the > > sender specifically states them to be the views of Clearstream > > International or of any of its affiliates or subsidiaries. > > > > Legally required information for business correspondence/ > > Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: > > http://deutsche-boerse.com/letterhead > > > > END OF DISCLAIMER > > _______________________________________________ > > use-revolution mailing list > > use-revolution 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 ---------------------------------------------------------------------------- Clearstream Services S.A. 42 Avenue JF Kennedy, L-1855 Luxembourg Soci?t? anonyme is organised with limited liability in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911. ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. Legally required information for business correspondence/ Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: http://deutsche-boerse.com/letterhead END OF DISCLAIMER From viktoras at ekoinf.net Fri Nov 9 08:46:09 2007 From: viktoras at ekoinf.net (viktoras didziulis) Date: Fri, 09 Nov 2007 15:46:09 +0200 Subject: SQLite3 - problems connecting to database In-Reply-To: <459b22a90711081029n1de02144qd8a66e3419e67bfc@mail.gmail.com> References: <13332359.post@talk.nabble.com> <459b22a90711081029n1de02144qd8a66e3419e67bfc@mail.gmail.com> Message-ID: <473464A1.3010607@ekoinf.net> if you are on MS Windows try this fix: 1) delete dbsqlite3.dll and Database_Drivers.txt from ...\My Documents\My Revolution Studio\Externals\Database Drivers 2) delete dbsqlite3.dll and Database_Drivers.txt from ...\My Documents\My Revolution Studio\Runtime\Windows\x86-32\Externals\Database Drivers You do not need any password for the sqlite to work. If you use relative paths make sure the defaultfolder is set to the folder where your stack resides. Connect to the existing database like this put revOpenDatabase("sqlite",dbPath,,,,) into dbId and query like that: get revDataFromQuery(tab,return,dbId, vSQL) Best wishes Viktoras From viktoras at ekoinf.net Fri Nov 9 09:07:52 2007 From: viktoras at ekoinf.net (viktoras didziulis) Date: Fri, 09 Nov 2007 16:07:52 +0200 Subject: Question on RunRev/SQLite In-Reply-To: <459b22a90711081214m2c6275efrf1c70347679803fa@mail.gmail.com> References: <32B1F242-71ED-45A8-965A-672678C1CC15@mangomultimedia.com> <459b22a90711081025y396ebef3k5b7286e8cc26006d@mail.gmail.com> <459b22a90711081214m2c6275efrf1c70347679803fa@mail.gmail.com> Message-ID: <473469B8.7010201@ekoinf.net> when you select database Type : SQLite in the database query builder under Connection tab there are only 2 fields you can type something in: Name (query name) and Database (path to the db with file browser). There are no fields for password or any logon there... Make sure the field Type contains only 1 instance of SQLite. Otherwise (if it allows choose 2 SQLite options) it displays the older installation of altSQLite and you need to delete those old dbsqlite3.dlls and the related entries from Database_Drivers.txt to fix your system.. Anyway, I would prefer scripting to access and query the database :-) Viktoras william humphrey wrote: > Please I still need the new logon and password to use in the database query > builder for SQLite if anyone knows it. > > THanks for the help > > Bill > From 00bioarchimed at free.fr Fri Nov 9 09:57:30 2007 From: 00bioarchimed at free.fr (Thierry) Date: Fri, 9 Nov 2007 15:57:30 +0100 Subject: check if handler exist before using it Message-ID: Hi, As there is the rev function: exists( an object ) or there is .... , is there something like exists( ) in Well, i know i could parse the scripts .... but is there a more simple way ? By the way, I need this to be called from inside an external. Thanks for enlightenment, Regards, Thierry From xavier.bury at clearstream.com Fri Nov 9 10:05:49 2007 From: xavier.bury at clearstream.com (xavier.bury at clearstream.com) Date: Fri, 9 Nov 2007 16:05:49 +0100 Subject: check if handler exist before using it In-Reply-To: Message-ID: Hi Thierry, I usually check to see if "on handlername" is in the script of.... this works for on handlers and functions too... Not for setprop mind you... If you really want to be sure, you can also check "end handlername" cheers ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server use-revolution-bounces at lists.runrev.com wrote on 09/11/2007 15:57:30: > Hi, > > As there is the rev function: > exists( an object ) or there is .... , > > is there something like > exists( ) in > > Well, i know i could parse the scripts .... > but is there a more simple way ? > > By the way, I need this to be called from inside an external. > > Thanks for enlightenment, > > Regards, > 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 ---------------------------------------------------------------------------- Clearstream Services S.A. 42 Avenue JF Kennedy, L-1855 Luxembourg Soci?t? anonyme is organised with limited liability in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911. ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. Legally required information for business correspondence/ Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: http://deutsche-boerse.com/letterhead END OF DISCLAIMER From 00bioarchimed at free.fr Fri Nov 9 10:21:21 2007 From: 00bioarchimed at free.fr (Thierry) Date: Fri, 9 Nov 2007 16:21:21 +0100 Subject: check if handler exist before using it In-Reply-To: References: Message-ID: <1DD17A25-3F50-4097-8172-04F70E34B5A3@free.fr> Thanks Xavier, Do you mean you're parsing the text of the script ? But then how do you do, if you have a protected stack, where the text script is not available anymore ? ps: i'm looking for a generic method. Regards, Thierry > Hi Thierry, > > I usually check to see if "on handlername" is in the script of.... > > this works for on handlers and functions too... Not for setprop mind > you... > > If you really want to be sure, you can also check "end handlername" > > cheers > >> Hi, >> >> As there is the rev function: >> exists( an object ) or there is .... , >> >> is there something like >> exists( ) in >> >> Well, i know i could parse the scripts .... >> but is there a more simple way ? >> >> By the way, I need this to be called from inside an external. >> >> Thanks for enlightenment, > From xavier.bury at clearstream.com Fri Nov 9 10:26:31 2007 From: xavier.bury at clearstream.com (xavier.bury at clearstream.com) Date: Fri, 9 Nov 2007 16:26:31 +0100 Subject: check if handler exist before using it In-Reply-To: <1DD17A25-3F50-4097-8172-04F70E34B5A3@free.fr> Message-ID: That is as generic and simple as it gets. No parsing needed - just if "on getit" is in the script of mycontrol then do it For protected stacks, i have no idea as i dont ever protect them... I guess that once the password is entered, it's the same... cheers ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server use-revolution-bounces at lists.runrev.com wrote on 09/11/2007 16:21:21: > Thanks Xavier, > > Do you mean you're parsing the text of the script ? > > But then how do you do, if you have a protected stack, > where the text script is not available anymore ? > > ps: i'm looking for a generic method. > > Regards, > Thierry > > > Hi Thierry, > > > > I usually check to see if "on handlername" is in the script of.... > > > > this works for on handlers and functions too... Not for setprop mind > > you... > > > > If you really want to be sure, you can also check "end handlername" > > > > cheers > > > >> Hi, > >> > >> As there is the rev function: > >> exists( an object ) or there is .... , > >> > >> is there something like > >> exists( ) in > >> > >> Well, i know i could parse the scripts .... > >> but is there a more simple way ? > >> > >> By the way, I need this to be called from inside an external. > >> > >> Thanks for enlightenment, > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ---------------------------------------------------------------------------- Clearstream Services S.A. 42 Avenue JF Kennedy, L-1855 Luxembourg Soci?t? anonyme is organised with limited liability in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911. ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. Legally required information for business correspondence/ Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: http://deutsche-boerse.com/letterhead END OF DISCLAIMER From m.schonewille at economy-x-talk.com Fri Nov 9 10:32:14 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 9 Nov 2007 16:32:14 +0100 Subject: check if handler exist before using it In-Reply-To: <1DD17A25-3F50-4097-8172-04F70E34B5A3@free.fr> References: <1DD17A25-3F50-4097-8172-04F70E34B5A3@free.fr> Message-ID: Thierry, getProp handlerNames put the script of the target into myScript repeat for each line myLine in myScript if word 1 of myLine is "on" then put word 2 of myLine && "command" & return after myList else if word 1 of myLine is "function" then put word 2 of myLine && "function" & return after myList else if word 1 of myLine is among the items of "getProp,setProp" then put word 2 of myLine && "property" & return after myList end if end repeat delete last char of myList sort lines of myList return myList end handlerNames Usage: put the handlernames of group id 1004 if "foo command" is among the lines of the handlernames of this stack then... Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 9-nov-2007, om 16:21 heeft Thierry het volgende geschreven: > Thanks Xavier, > > Do you mean you're parsing the text of the script ? > > But then how do you do, if you have a protected stack, > where the text script is not available anymore ? > > ps: i'm looking for a generic method. > > Regards, > Thierry > >>> Hi, >>> >>> As there is the rev function: >>> exists( an object ) or there is .... , >>> >>> is there something like >>> exists( ) in >>> >>> Well, i know i could parse the scripts .... >>> but is there a more simple way ? >>> >>> By the way, I need this to be called from inside an external. >>> >>> Thanks for enlightenment, >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From 00bioarchimed at free.fr Fri Nov 9 10:49:10 2007 From: 00bioarchimed at free.fr (Thierry) Date: Fri, 9 Nov 2007 16:49:10 +0100 Subject: check if handler exist before using it In-Reply-To: References: Message-ID: Ok, I understand, Mmmm, I need to do more severe checking than the one you do, but it's the same principle... As I'm doing an administration tool, I have to take care of differents scenarios , so for instance, having to deal with protected scripts which I didn't write myself, and without the password.... and being under the dark forces of the external world, I don't have in my hands all the power of revolution :-) Anyway, Muchas gracias. Thierry > That is as generic and simple as it gets. > > No parsing needed - just if "on getit" is in the script of > mycontrol then > do it > > For protected stacks, i have no idea as i dont ever protect them... > I guess that once the password is entered, it's the same... > >> Do you mean you're parsing the text of the script ? >> >> But then how do you do, if you have a protected stack, >> where the text script is not available anymore ? >> >> ps: i'm looking for a generic method. >> >>> I usually check to see if "on handlername" is in the script of.... >>> >>> this works for on handlers and functions too... Not for setprop mind >>> you... >>> >>> If you really want to be sure, you can also check "end handlername" >>>> >>>> As there is the rev function: >>>> exists( an object ) or there is .... , >>>> >>>> is there something like >>>> exists( ) in >>>> >>>> Well, i know i could parse the scripts .... >>>> but is there a more simple way ? >>>> >>>> By the way, I need this to be called from inside an external. >>>> >>>> Thanks for enlightenment, >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > > ---------------------------------------------------------------------- > ------ > Clearstream Services S.A. > 42 Avenue JF Kennedy, L-1855 Luxembourg > Soci?t? anonyme is organised with limited liability > in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911. > > > ----------------------------------------- > Visit us at http://www.clearstream.com > > IMPORTANT MESSAGE > > Internet communications are not secure and therefore Clearstream > International does not accept legal responsibility for the contents > of this message. > > The information contained in this e-mail is confidential and may be > legally privileged. It is intended solely for the addressee. If you > are not the intended recipient, any disclosure, copying, > distribution or any action taken or omitted to be taken in reliance > on it, is prohibited and may be unlawful. Any views expressed in > this e-mail are those of the individual sender, except where the > sender specifically states them to be the views of Clearstream > International or of any of its affiliates or subsidiaries. > > Legally required information for business correspondence/ > Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: > http://deutsche-boerse.com/letterhead > > END OF DISCLAIMER > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From 00bioarchimed at free.fr Fri Nov 9 10:53:31 2007 From: 00bioarchimed at free.fr (Thierry) Date: Fri, 9 Nov 2007 16:53:31 +0100 Subject: check if handler exist before using it In-Reply-To: References: <1DD17A25-3F50-4097-8172-04F70E34B5A3@free.fr> Message-ID: <83E96A2C-F485-4049-9830-774B00B1A9A1@free.fr> Thanks Mark, A good script :-) .... but see my last answer. Anyway, that Helps ! Regards, Thierry > getProp handlerNames > put the script of the target into myScript > repeat for each line myLine in myScript > if word 1 of myLine is "on" then > put word 2 of myLine && "command" & return after myList > else if word 1 of myLine is "function" then > put word 2 of myLine && "function" & return after myList > else if word 1 of myLine is among the items of > "getProp,setProp" then > put word 2 of myLine && "property" & return after myList > end if > end repeat > delete last char of myList > sort lines of myList > return myList > end handlerNames > > Usage: > put the handlernames of group id 1004 > if "foo command" is among the lines of the handlernames of this > stack then... > > >> Thanks Xavier, >> >> Do you mean you're parsing the text of the script ? >> >> But then how do you do, if you have a protected stack, >> where the text script is not available anymore ? >> >> ps: i'm looking for a generic method. From JimAultWins at yahoo.com Fri Nov 9 11:47:15 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 09 Nov 2007 08:47:15 -0800 Subject: check if handler exist before using it In-Reply-To: Message-ID: You could use on try doThisFunction() catch errString --function not available, take action end try Jim Ault Las Vegas On 11/9/07 6:57 AM, "Thierry" <00bioarchimed at free.fr> wrote: > Hi, > > As there is the rev function: > exists( an object ) or there is .... , > > is there something like > exists( ) in > > Well, i know i could parse the scripts .... > but is there a more simple way ? > > By the way, I need this to be called from inside an external. From david at dvglasgow.wanadoo.co.uk Fri Nov 9 11:47:50 2007 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Fri, 9 Nov 2007 16:47:50 +0000 Subject: The 'real' meaning of blend level transparency integers In-Reply-To: <20071105180004.26553489401@mail.runrev.com> References: <20071105180004.26553489401@mail.runrev.com> Message-ID: Hello folks, I am writing a psychological assessment which involves visual signal detection. Basically, a 'blob' slowly appears at a random point within one of three invisible rectangles. I have just about cracked the random generation of a loc within a given object. What I am having trouble with is understanding exactly what the blend level integers represent. I am not image savvy, and don't know if these are, or can be related to, any recognised and objective transparency units. Any recommended reading on this sort of thing? Two specific issues are 1/ A blendlevel set at 50 looks less than 50% transparent to me, and an incrementally decreasing transparency doesn't look linear to me. Is that to do with the technology or human visual perception? 2/ How confident can I be that the visual effect of incrementally decreasing transparency will be equivalent across machines and OSs? I understand this is comparing Win 2000 and later with OS X. Is there anything I need to watch out for? Thanks David Glasgow From ambassador at fourthworld.com Fri Nov 9 11:51:35 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 09 Nov 2007 08:51:35 -0800 Subject: check if handler exist before using it Message-ID: <47349017.1070209@fourthworld.com> Thierry wrote: > As I'm doing an administration tool, I have to take care > of differents scenarios , so for instance, > having to deal with protected scripts which I didn't write myself, > and without the password.... You may be able to use "try" to see if a "handler not found" error is thrown. In circumstances where I have control over the stacks being queried I've used a custom prop containing a list of "public" handlers for easy access by other scripts. It does require an extra step to create that list, but it can be automated during development with a handler-collecting function like the one Mark Schonewille listed. But I must admit that the circumstances in which such a mechanism was useful have been very rare for me. How often do you need to call a handler without knowing whether it's present? Usually in my own work I find that I can implement conditional behaviors more easily with property settings, so merely querying the customKeys of an object tells me what I need to know, without having to resort to a handler list among them. Finding the best solution for your circumstance will of course require that we know a bit more about it. Can you describe the setup for us? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From JimAultWins at yahoo.com Fri Nov 9 12:18:03 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 09 Nov 2007 09:18:03 -0800 Subject: The 'real' meaning of blend level transparency integers In-Reply-To: Message-ID: On 11/9/07 8:47 AM, "David Glasgow" wrote: > Hello folks, > > I am writing a psychological assessment which involves visual signal > detection. Basically, a 'blob' slowly appears at a random point > within one of three invisible rectangles. I have just about cracked > the random generation of a loc within a given object. > > What I am having trouble with is understanding exactly what the blend > level integers represent. I am not image savvy, and don't know if > these are, or can be related to, any recognised and objective > transparency units. Any recommended reading on this sort of thing? > > Two specific issues are > > 1/ A blendlevel set at 50 looks less than 50% transparent to me, and > an incrementally decreasing transparency doesn't look linear to me. > Is that to do with the technology or human visual perception? > > 2/ How confident can I be that the visual effect of incrementally > decreasing transparency will be equivalent across machines and OSs? > I understand this is comparing Win 2000 and later with OS X. Is > there anything I need to watch out for? One of your inconsistencies between computers and users is the monitor settings (gamma, temperature, calibration) (cathode ray tube, low-cost LCD, old cathode ray tube, expensive LCD) Most users leave them set the same as 'out of the box' and graphic artists calibrate to different color spaces, regardless of OS. Of course, there are parts of some operating systems that try to optimize the monitor for the benefit of the user. (for details about color space settings read the Photoshop pdf manual on the science of setting monitors) Another factor is the observer. Some see colors and contrast differently, and then others don't have good close vision (and out-of-date correction). I learned this in an office where some users could not see certain colors well, so we had to find a good font/background color combinations on some database layouts. As far as the Rev blendlevel, I would be surprised if it had any scientific color space, gamut, or LAB calculations that related to human perception. I have only seen transparency calculated as a linear distance between 0 and 255, as in Photoshop. This is to say, the calculation is linear, not the human perception. You probably need to 1) calibrate the monitors on some computers running different OSes/monitors, 2) set the transparency+background of a test pattern (like they do in TV broadcasting), 3) then build a curve that gets you the 'human linear' transparency values. Do one according to your eye, then see if others agree with you. I know there is a significant body of work out there for the printing industry, but you may have to dig to find anything for your particular effect. my 2 cents Jim Ault Las Vegas From ajrush at mac.com Fri Nov 9 13:03:18 2007 From: ajrush at mac.com (Adam Rush) Date: Fri, 9 Nov 2007 13:03:18 -0500 Subject: [ANN] E&M Verify Public Beta Message-ID: I am releasing E&M Verify, a medical coding application developed with RR, as a public beta. I would deeply appreciate feedback from other RR developers, and have set up a forum at www.RushRunware.com. I would particularly appreciate commentary regarding: ? platform- or hardware-specific issues ? software licensing issues and techniques using RR ? making it more difficult for hackers to enable the 'ware without paying the license fee Download Link: http://homepage.mac.com/ajrush/.Public/E%26M%20Verify.zip From 00bioarchimed at free.fr Fri Nov 9 14:00:53 2007 From: 00bioarchimed at free.fr (Thierry) Date: Fri, 9 Nov 2007 20:00:53 +0100 Subject: check if handler exist before using it In-Reply-To: References: Message-ID: <971C6BDC-372E-445A-A86C-A13E7301499D@free.fr> Hi Jim and Richard, Well, is it Christmas soon ? so many interesting answers :) Ok, but, how does one make the difference between an unknown "dothisFunction" and any kind of error in the existing "dothisFunction" ? Again, those functions can be written by anyone, protected or not... that's why I talk of a generic solution, but maybe it's not the good term - you know, these french guys, when they try to speak English :-) And last but not least, the checking comes from inside an external.... So, i've done a quick test, with : try get xxx() catch errStr answer errStr end try and I get: 219,3,21,xxx 119,3,9 465,3,1 ???? and didn't find in the Doc how to deal with these Errors numbers ? Regards, Thierry > You could use > > on try > doThisFunction() > catch errString > --function not available, take action > end try > > Jim Ault >> As there is the rev function: >> exists( an object ) or there is .... , >> >> is there something like >> exists( ) in From revdev at pdslabs.net Fri Nov 9 15:15:47 2007 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 09 Nov 2007 12:15:47 -0800 Subject: check if handler exist before using it In-Reply-To: <971C6BDC-372E-445A-A86C-A13E7301499D@free.fr> References: <971C6BDC-372E-445A-A86C-A13E7301499D@free.fr> Message-ID: <4734BFF3.6030309@pdslabs.net> Thierry wrote: > --snip -- > > And last but not least, the checking comes from inside an external.... > > So, i've done a quick test, with : > try > get xxx() > catch errStr > answer errStr > end try > > and I get: > 219,3,21,xxx > 119,3,9 > 465,3,1 > > ???? > > and didn't find in the Doc how to deal with these Errors numbers ? > Hi Thierry, Those numbers follow the pattern Revolution uses to describe an error it encountered. If that is the case, then one of the numbers in each line is the line number of an error description in the cErrorsList of cd 1 of stack "revErrorDisplay". The other numbers are the line number of the bad line within the problem script, and char number where the bad reference starts within the problem line of code. HTH - Phil Davis From 00bioarchimed at free.fr Fri Nov 9 15:35:14 2007 From: 00bioarchimed at free.fr (Thierry) Date: Fri, 9 Nov 2007 21:35:14 +0100 Subject: check if handler exist before using it In-Reply-To: <4734BFF3.6030309@pdslabs.net> References: <971C6BDC-372E-445A-A86C-A13E7301499D@free.fr> <4734BFF3.6030309@pdslabs.net> Message-ID: Hi Phil, Excellent ! For my own interest, is this written somewhere in the Doc ? So, slowly may be I could manage what I want :-) Thanks to all of you for your time ! Regards, Thierry > Those numbers follow the pattern Revolution uses to describe an > error it encountered. If that is the case, then one of the numbers > in each line is the line number of an error description in the > cErrorsList of cd 1 of stack "revErrorDisplay". The other numbers > are the line number of the bad line within the problem script, and > char number where the bad reference starts within the problem line > of code. > From revdev at pdslabs.net Fri Nov 9 16:02:00 2007 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 09 Nov 2007 13:02:00 -0800 Subject: check if handler exist before using it In-Reply-To: References: <971C6BDC-372E-445A-A86C-A13E7301499D@free.fr> <4734BFF3.6030309@pdslabs.net> Message-ID: <4734CAC8.7000600@pdslabs.net> Thierry wrote: > Hi Phil, > > Excellent ! > > For my own interest, is this written somewhere in the Doc ? Actually, it is! (To my own surprise - I just did a search). It's explained in the "errorDialog" page of the Rev dictionary. Phil > > So, slowly may be I could manage what I want :-) > > Thanks to all of you for your time ! > > Regards, > Thierry > >> Those numbers follow the pattern Revolution uses to describe an error >> it encountered. If that is the case, then one of the numbers in each >> line is the line number of an error description in the cErrorsList of >> cd 1 of stack "revErrorDisplay". The other numbers are the line >> number of the bad line within the problem script, and char number >> where the bad reference starts within the problem line of 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 josh at dvcreators.net Fri Nov 9 16:52:19 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 9 Nov 2007 13:52:19 -0800 Subject: Anyone noticing stalled uploading? find a solution? Message-ID: <337C3CAA-D24B-4CD0-9689-7952D79A397E@dvcreators.net> I am uploading a list of files. After uploading a few files with no problem, uploading "stalls" with no progress, and no timeout message is sent. The first thing I tried was implementing a "red light/green light" to make the upload blocking, so the second file would wait (with messages) for the first file to successfully finish uploading before proceeding, and so on. This seemed to help a little, but uploading still stalls intermittently. Big Watcher The next thing was, once the uploading begins, to start a "Big Watcher" callback loop, that acts as a "Supervisor" to monitor the libURLSetStatusCallback callback, with a 2 second non-blocking loop- send "checkForStalledUpload" to me in 5 seconds If the status and bytes downloaded match, the Supervisor assumes the current upload is stalled and does a "resetAll" and starts over on the first unuploaded file. In theory, this sounds good, but so far, we haven't been able to get the "resetAll" to work... Has anyone else experienced stalled libURL operations when uploading or downloading a list of files? Did you find a solution? From shoreagent at gmail.com Fri Nov 9 17:02:19 2007 From: shoreagent at gmail.com (william humphrey) Date: Fri, 9 Nov 2007 18:02:19 -0400 Subject: Question on RunRev/SQLite In-Reply-To: <473469B8.7010201@ekoinf.net> References: <32B1F242-71ED-45A8-965A-672678C1CC15@mangomultimedia.com> <459b22a90711081025y396ebef3k5b7286e8cc26006d@mail.gmail.com> <459b22a90711081214m2c6275efrf1c70347679803fa@mail.gmail.com> <473469B8.7010201@ekoinf.net> Message-ID: <459b22a90711091402u2e3ce872h5ba5a2acbb9a00b7@mail.gmail.com> > > THANKS -- I will delete the entries in the text file. I wonder how my new > installation of RunRev Studio managed to not erase them. > > Make sure the field Type contains only 1 instance of SQLite. Otherwise > (if it allows choose 2 SQLite options) it displays the older > installation of altSQLite and you need to delete those old > dbsqlite3.dlls and the related entries from Database_Drivers.txt to fix > your system.. > From shari at gypsyware.com Fri Nov 9 17:31:28 2007 From: shari at gypsyware.com (Shari) Date: Fri, 9 Nov 2007 17:31:28 -0500 Subject: OSX Leopard incompatibility again Message-ID: I've asked this before and many of you said your standalones ran fine on OSX Leopard. But I'm getting people who are reporting this: >>> It says it can't be opened because it is not "supported on this architecture." No error code. <<< Are there specific versions of Revolution that are compatible with Leopard? These are compiled with v.2.8.1 as Universal Binaries. Hey, is that the trouble? Do Leopard versions need to be non-UB's? -- WlND0WS and MAClNT0SH shareware games BIackjack GoId http://www.gypsyware.com From jacque at hyperactivesw.com Fri Nov 9 17:36:20 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 09 Nov 2007 16:36:20 -0600 Subject: OSX Leopard incompatibility again In-Reply-To: References: Message-ID: <4734E0E4.8070204@hyperactivesw.com> Shari wrote: > I've asked this before and many of you said your standalones ran fine on > OSX Leopard. But I'm getting people who are reporting this: > >>>> > It says it can't be opened because it is not "supported on this > architecture." No error code. > <<< > > Are there specific versions of Revolution that are compatible with > Leopard? These are compiled with v.2.8.1 as Universal Binaries. Hey, is > that the trouble? Do Leopard versions need to be non-UB's? > > UB apps will run fine, but if you are using any externals that are PPC-only, then the app won't launch on an Intel machine. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dave.cragg at lacscentre.co.uk Fri Nov 9 17:43:52 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 9 Nov 2007 22:43:52 +0000 Subject: Anyone noticing stalled uploading? find a solution? In-Reply-To: <337C3CAA-D24B-4CD0-9689-7952D79A397E@dvcreators.net> References: <337C3CAA-D24B-4CD0-9689-7952D79A397E@dvcreators.net> Message-ID: <48A72573-CBB0-4DCE-9155-3A17F9DF6D5E@lacscentre.co.uk> On 9 Nov 2007, at 21:52, Josh Mellicker wrote: > I am uploading a list of files. > > After uploading a few files with no problem, uploading "stalls" > with no progress, and no timeout message is sent. Are you monitoring the error status with libURLSetStatusCallback. This won't properly indicate a timeout. (This came up on the list recently.) Depending on how you are uploading the files, the ways to check for a timeout are: 1. If using "put ... into url ..." or "post ... to url ..." Check the result immediately after the put/post statement. 2. If using libUrlFtpUpload or libuUrlFtpUploadFile Use the message callback parameter in either of these commands. > > The first thing I tried was implementing a "red light/green light" > to make the upload blocking, so the second file would wait (with > messages) for the first file to successfully finish uploading > before proceeding, and so on. This seemed to help a little, but > uploading still stalls intermittently. Depending on how you do this, there may be a problem. You should avoid using "wait" while any libUrl stuff is going on. If using put or post, you can just use a standard repeat loop. Check the result after each call and then do the next one. If using libUrlFtpUpload, you can use the callback message to trigger the next upload. > In theory, this sounds good, but so far, we haven't been able to > get the "resetAll" to work... If using "libUrlResetAll", be careful. You shouldn't follow it immediately with new libUrl calls. It's best to let some kind of idle time occur first. Using "send ... in " to trigger the new set of uploads should work. Of course, there could be some other wonky stuff going on. :-) Cheers Dave From mwieder at ahsoftware.net Fri Nov 9 20:00:18 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 9 Nov 2007 17:00:18 -0800 Subject: check if handler exist before using it References: <47349017.1070209@fourthworld.com> Message-ID: Richard- > But I must admit that the circumstances in which such a mechanism was > useful have been very rare for me. How often do you need to call a > handler without knowing whether it's present? I actually end up doing this quite often: one behavior if a secondary stack is present, another behavior if it isn't. That allows me to add substacks as optional components and not throw errors if they aren't in a given distribution. -- Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Nov 9 20:01:43 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 9 Nov 2007 17:01:43 -0800 Subject: check if handler exist before using it References: Message-ID: Jim- > on try > doThisFunction() > catch errString > --function not available, take action > end try I use this quite often, but notice that it has the drawback of actually performing doThisFunction(), which may not be what you have in mind if you just want to see if it's present. -- Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Fri Nov 9 20:28:01 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 09 Nov 2007 17:28:01 -0800 Subject: check if handler exist before using it Message-ID: <47350921.3000400@fourthworld.com> Mark Wieder wrote: >> But I must admit that the circumstances in which such a mechanism was >> useful have been very rare for me. How often do you need to call a >> handler without knowing whether it's present? > > I actually end up doing this quite often: one behavior if a secondary stack > is present, another behavior if it isn't. That allows me to add substacks as > optional components and not throw errors if they aren't in a given > distribution. I may be a bit slow today as I'm caffeine free this afternoon, but wouldn't checking for the presence of the stack do the same as checking for its handlers? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From josh at dvcreators.net Fri Nov 9 21:03:58 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 9 Nov 2007 18:03:58 -0800 Subject: Anyone noticing stalled uploading? find a solution? In-Reply-To: <48A72573-CBB0-4DCE-9155-3A17F9DF6D5E@lacscentre.co.uk> References: <337C3CAA-D24B-4CD0-9689-7952D79A397E@dvcreators.net> <48A72573-CBB0-4DCE-9155-3A17F9DF6D5E@lacscentre.co.uk> Message-ID: > > On 9 Nov 2007, at 21:52, Josh Mellicker wrote: > >> I am uploading a list of files. >> >> After uploading a few files with no problem, uploading "stalls" >> with no progress, and no timeout message is sent. > > Are you monitoring the error status with libURLSetStatusCallback. > This won't properly indicate a timeout. > (This came up on the list recently.) Ah, I do remember that! But does this mean you can't drive a progress bar? libURLSetStatusCallback sends a "bytes uploaded" number... > Depending on how you are uploading the files, the ways to check for > a timeout are: > > 1. If using "put ... into url ..." or "post ... to url ..." > > Check the result immediately after the put/post statement. Some of the files are large, and as I understand, "put" has to load the whole file into memory, which could crash the app with a large file, right? > > 2. If using libUrlFtpUpload or libuUrlFtpUploadFile > > Use the message callback parameter in either of these commands. Ah. I will try this, thanks! > > >> >> The first thing I tried was implementing a "red light/green light" >> to make the upload blocking, so the second file would wait (with >> messages) for the first file to successfully finish uploading >> before proceeding, and so on. This seemed to help a little, but >> uploading still stalls intermittently. > > Depending on how you do this, there may be a problem. You should > avoid using "wait" while any libUrl stuff is going on. Even wait with messages? > If using put or post, you can just use a standard repeat loop. > Check the result after each call and then do the next one. If using > libUrlFtpUpload, you can use the callback message to trigger the > next upload. > >> In theory, this sounds good, but so far, we haven't been able to >> get the "resetAll" to work... > > If using "libUrlResetAll", be careful. You shouldn't follow it > immediately with new libUrl calls. It's best to let some kind of > idle time occur first. Using "send ... in " to trigger the new set > of uploads should work. > > Of course, there could be some other wonky stuff going on. :-) Thanks for all the info! Josh > > Cheers > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revdev at pdslabs.net Fri Nov 9 21:14:45 2007 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 09 Nov 2007 18:14:45 -0800 Subject: font is installed but not listed in Rev Message-ID: <47351415.1080705@pdslabs.net> I'm experimenting with fonts right now. I discovered that on my computer (Intel Mac 10.4.10), the Baghdad font (among others) is installed but doesn't show up in the list produced by Rev's "fontNames" function. Other Unicode fonts show up in the "fontNames" list. I checked the Arabic font in System Profiler and it looks as normal as any other font. Any clues out there??? Thanks - Phil Davis From bridgeyman at gmail.com Fri Nov 9 22:24:28 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Fri, 09 Nov 2007 19:24:28 -0800 Subject: Relayering Grouped Controls Message-ID: <1194665068.627380.299240@i13g2000prf.googlegroups.com> Hey, Either I am missing something very obvious, or I have discovered a bug. I am unable to relayer a control that is within a group. I have set the releyerGroupedControls to true, but I still receive the error "can't set layer (card not open, or control in group)." Here is my script, if that helps. Both the group ("Symbol" & vNum) and img "SceneFrame" are within the same group, "SceneWrapper." on layerSymbol vNum lock screen set the relayerGroupedControls to true if vNum is not empty and there is a grp ("Symbol" & vNum) then set the layer of grp ("Symbol" & vNum) to (the layer of img "SceneFrame") --Throws an error end if end layerSymbol I have found a workaround using the start editing group command, but it is too slow for my purposes. Here is the workaround script that does work. on layerSymbol vNum lock screen set the relayerGroupedControls to false if vNum is not empty and there is a grp ("Symbol" & vNum) then start editing grp "SceneWrapper" set the layer of grp ("Symbol" & vNum) to (the layer of img "SceneFrame") stop editing end if unlock screen end layerSymbol Also, I am running Revolution 2.9 dp-1 on OS X "Leopard," perhaps this is a new bug? Can someone verify that is running the Beta or Leopard? Thank You, Bridger Maxwell www.FieryFerret.com From mwieder at ahsoftware.net Fri Nov 9 22:48:55 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 9 Nov 2007 19:48:55 -0800 Subject: Rev cgi on Win 2K server, anyone ? In-Reply-To: <47337F95.4D05EE69@club-internet.fr> References: <472F9A73.42A14D6E@club-internet.fr><1541722785083.20071106184859@ahsoftware.net><4731ADD2.B6A66861@club-internet.fr> <473220EC.43B2E075@club-internet.fr> <47337F95.4D05EE69@club-internet.fr> Message-ID: <1031985458588.20071109194855@ahsoftware.net> jbv- Thursday, November 8, 2007, 1:28:54 PM, you wrote: > I did that, but no luck. my scripts keep crashing with revdb commands. > All the rest works fine. Can you go over to the win2k3 server box and use rev with the db library locally? Was rev installed onto the server or just copied into the cgi directory? Possibly the revdb.dll library isn't in the proper place in the directory structure? I have revolution.exe installed into C:\cgi-bin: based on that, I'd guess that revdb.dll would go into C:\cgi-bin\components\global environment\ if this is 2.6.1 or C:\cgi-bin\Runtime\Windows\x86-32\Externals\ if it's newer. -- -Mark Wieder mwieder at ahsoftware.net From francois.chaplais at ensmp.fr Sat Nov 10 01:20:12 2007 From: francois.chaplais at ensmp.fr (=?ISO-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Sat, 10 Nov 2007 07:20:12 +0100 Subject: The Documentation Message-ID: <481157f4966a27b4d2829a79a87e60b7@ensmp.fr> I was looking at the stack "internet.rev" and I noticed it called the Rev dictionary. The command is the following docOpenDictionaryWithFilter "*answer*" if you want to see the keywords with "answer" in it. Best, Francois Francois Chaplais 35 rue Saint-Honore 77305 Fontainebleau Cedex France http://cas.ensmp.fr/~chaplais/index-e.html From palcibiades-first at yahoo.co.uk Sat Nov 10 02:51:43 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 10 Nov 2007 07:51:43 +0000 Subject: font is installed but not listed in Rev Message-ID: <200711100751.44119.palcibiades-first@yahoo.co.uk> This happens in my two installations of Debian - both on Etch and on Lenny. It does not happen on a couple of Mandrivas, where all fonts installed are accessible. It still happens on the 2.9 beta. Its the only application I'm aware of that doesn't see all installed fonts on Debian. Very glad to find someone has the same problem on a different OS, as it may help get to the bottom of it. What fonts are available to you? On Debian, the 2.9 beta, the ones available (using fontNames in message box) are: courier 10 bitstream charter terminal charter lucidatypewriter lucidabright lucida times new century schoolbook helvetica courier clean fixed I think this is one or two more than were available in 2.8 - can check if anyone is curious. Is this the same or different for you? The other thing is that not all fonts are available in all sizes, and if you try to invoke the wrong size it reverts to 10pt. Is this a problem for you also? For instance, for clean, if you pick 48pt, I get what looks like 10. Peter From dave.cragg at lacscentre.co.uk Sat Nov 10 04:39:20 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Sat, 10 Nov 2007 09:39:20 +0000 Subject: Anyone noticing stalled uploading? find a solution? In-Reply-To: References: <337C3CAA-D24B-4CD0-9689-7952D79A397E@dvcreators.net> <48A72573-CBB0-4DCE-9155-3A17F9DF6D5E@lacscentre.co.uk> Message-ID: <2ED3153B-2A1F-4A1D-8BF3-8B2994E57BCB@lacscentre.co.uk> On 10 Nov 2007, at 02:03, Josh Mellicker wrote: >> Are you monitoring the error status with libURLSetStatusCallback. >> This won't properly indicate a timeout. >> (This came up on the list recently.) > > Ah, I do remember that! But does this mean you can't drive a > progress bar? libURLSetStatusCallback sends a "bytes uploaded" > number... You can still use libURLSetStatusCallback to set a progress bar. But to fully monitor errors, it's best to use "the result" for blocking calls and the callback message for non-blocking calls. If you discover a timeout there, you can dismiss or reset the progress bar. >> >> Depending on how you do this, there may be a problem. You should >> avoid using "wait" while any libUrl stuff is going on. > > > Even wait with messages? Yes, unfortunately. The problem is that these waits have to be "released" in the reverse order in which they were started. So if you add a "wait ... with messages" after libUrl has injected its own, yours has to be released first. But if the condition for ending your wait is dependent of libUrl returning, you could be in trouble. For example, the following mouseUp will complete in 5 seconds, not 50 milliseconds. global flag1, flag2 on mouseUp put 0 into flag1 send handler1 to me in 50 milliseconds send handler2 to me in 5000 milliseconds wait until flag1 = 1 with messages answer "completed" end mouseUp on handler1 put 1 into flag1 put 0 into flag2 wait until flag2 = 1 with messages end handler1 on handler2 put 1 into flag2 end handler2 Dave From viktoras at ekoinf.net Sat Nov 10 05:01:15 2007 From: viktoras at ekoinf.net (viktoras didziulis) Date: Sat, 10 Nov 2007 12:01:15 +0200 Subject: Anyone noticing stalled uploading? find a solution? In-Reply-To: <337C3CAA-D24B-4CD0-9689-7952D79A397E@dvcreators.net> References: <337C3CAA-D24B-4CD0-9689-7952D79A397E@dvcreators.net> Message-ID: <4735816B.4060207@ekoinf.net> hi Josh, if you upload via ftp try increasing libURLSetFTPStopTime to anything more than the default 15 seconds. Dictionary says: use the libURLSetFTPStopTime command to increase the efficiency of multiple FTP transfers. The timeout set by libURLSetFTPStopTime controls when Revolution closes the connection from its end. or try setting the socketTimeoutInterval to some astronomic value like 30 000 (the default is 10 000, which means 10 sec). Some time ago this solved my problems with stalled downloads :-) Best wishes Viktoras Josh Mellicker wrote: > I am uploading a list of files. > > After uploading a few files with no problem, uploading "stalls" with > no progress, and no timeout message is sent. > > The first thing I tried was implementing a "red light/green light" to > make the upload blocking, so the second file would wait (with > messages) for the first file to successfully finish uploading before > proceeding, and so on. This seemed to help a little, but uploading > still stalls intermittently. > > Big Watcher > The next thing was, once the uploading begins, to start a "Big > Watcher" callback loop, that acts as a "Supervisor" to monitor the > libURLSetStatusCallback callback, with a 2 second non-blocking loop- > send "checkForStalledUpload" to me in 5 seconds > > If the status and bytes downloaded match, the Supervisor assumes the > current upload is stalled and does a "resetAll" and starts over on the > first unuploaded file. > > In theory, this sounds good, but so far, we haven't been able to get > the "resetAll" to work... > > Has anyone else experienced stalled libURL operations when uploading > or downloading a list of files? Did you find a solution? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From 00bioarchimed at free.fr Sat Nov 10 05:03:06 2007 From: 00bioarchimed at free.fr (Thierry) Date: Sat, 10 Nov 2007 11:03:06 +0100 Subject: check if handler exist before using it In-Reply-To: References: <47349017.1070209@fourthworld.com> Message-ID: Hi Mark, Thanks for saying this.. it's more or less exactly what I meant, with a little difference in that I'm not only looking for only a stack presence or not, but for a handler presence or not in any object ( stack, controls, lib ). Plus all this has to be checked from inside an External, via the SendCardMessage(..) or EvalExpr(...) available in the External API. With few tries, at the moment, I found that the Error catched is "Error parsing expression", but don't know yet if it will always be the error message depending on different contexts ! As I'm offering a specific tool, I need to throw these kind of errors before actually executing the relevant code. Well, hope you get the idea ? Regards, Thierry > Richard- > >> But I must admit that the circumstances in which such a mechanism was >> useful have been very rare for me. How often do you need to call a >> handler without knowing whether it's present? > > I actually end up doing this quite often: one behavior if a > secondary stack > is present, another behavior if it isn't. That allows me to add > substacks as > optional components and not throw errors if they aren't in a given > distribution. > Mark Wieder From 00bioarchimed at free.fr Sat Nov 10 05:05:17 2007 From: 00bioarchimed at free.fr (Thierry) Date: Sat, 10 Nov 2007 11:05:17 +0100 Subject: check if handler exist before using it In-Reply-To: References: Message-ID: <445029EE-05C8-474F-85B9-46622E68C2E4@free.fr> Hi again, Yep ! exactly my problem .... Thierry > Jim- > >> on try >> doThisFunction() >> catch errString >> --function not available, take action >> end try > > I use this quite often, but notice that it has the drawback of > actually > performing doThisFunction(), which may not be what you have in mind > if you > just want to see if it's present. > > Mark Wieder From jbv.silences at club-internet.fr Sat Nov 10 05:45:52 2007 From: jbv.silences at club-internet.fr (jbv) Date: Sat, 10 Nov 2007 11:45:52 +0100 Subject: Rev cgi on Win 2K server, anyone ? References: <472F9A73.42A14D6E@club-internet.fr><1541722785083.20071106184859@ahsoftware.net><4731ADD2.B6A66861@club-internet.fr> <473220EC.43B2E075@club-internet.fr> <47337F95.4D05EE69@club-internet.fr> <1031985458588.20071109194855@ahsoftware.net> Message-ID: <47358BDD.CF1F1C24@club-internet.fr> Mark, the version() function returns 2.6.1 so I put revdb.dll into C:\cgi-bin\components\global environment\ and the dbmysql.dll driver in the same folder cgi-bin as the Rev cgi exe. when using try / catch I get the floowing : 219,15,8,revOpenDatabase 223,15,1 and line 15 of my script contains get revOpenDatabase("mysql","localhost", etc I don't know if that means anything to anybody... btw, is there any errors list available somewhere ? Meanwhile I've got an answer from runrev support, saying that from version 2.5 devDB and revXML libs were included in the engine, at least for Linux... but I don't know if that's also valid for windows versions... Thanks, JB > jbv- > > Thursday, November 8, 2007, 1:28:54 PM, you wrote: > > > I did that, but no luck. my scripts keep crashing with revdb commands. > > All the rest works fine. > > Can you go over to the win2k3 server box and use rev with the db > library locally? Was rev installed onto the server or just copied into > the cgi directory? Possibly the revdb.dll library isn't in the proper > place in the directory structure? I have revolution.exe installed into > C:\cgi-bin: based on that, I'd guess that revdb.dll would go into > C:\cgi-bin\components\global environment\ if this is 2.6.1 or > C:\cgi-bin\Runtime\Windows\x86-32\Externals\ if it's newer. > From 00bioarchimed at free.fr Sat Nov 10 05:53:14 2007 From: 00bioarchimed at free.fr (Thierry) Date: Sat, 10 Nov 2007 11:53:14 +0100 Subject: Rev cgi on Win 2K server, anyone ? In-Reply-To: <47358BDD.CF1F1C24@club-internet.fr> References: <472F9A73.42A14D6E@club-internet.fr><1541722785083.20071106184859@ahsoftware.net><4731ADD2.B6A66861@club-internet.fr> <473220EC.43B2E075@club-internet.fr> <47337F95.4D05EE69@club-internet.fr> <1031985458588.20071109194855@ahsoftware.net> <47358BDD.CF1F1C24@club-internet.fr> Message-ID: Hi, Yu could try this: try catch x set the itemdelimiter to comma get item 1 of line 1 of x get line it of the cErrorsList of cd 1 of stack "revErrorDisplay" answer it end try and for error 219, you have: "Function: error in function handler" Thanks to Phil Davis to point out the cErrorList... which you can read about it , searching ErrorDialog in the Dictionnary HTH, Thierry From shari at gypsyware.com Sat Nov 10 08:01:54 2007 From: shari at gypsyware.com (Shari) Date: Sat, 10 Nov 2007 08:01:54 -0500 Subject: OSX Leopard incompatibility again Message-ID: I haven't personally added any externals of any kind. All code is directly from Revolution, excepting a couple of Applescript calls and a couple of shell() commands. shell("/sbin/ifconfig en0") get shell("ln -s" && q(theFile) && q(tAlias)) get shell("rm -rf" && q(pit)) Also, using Applescript to create a desktop alias/shortcut if other methods fail. I think that about covers the non-Revolution portion of the code. Is there anything in the pList file that would make Leopard unhappy? As I compile with Metacard, my pList file is done manually. I've matched it to Rev's so I don't see how it could be unhappy. > >>I've asked this before and many of you said your standalones ran >>fine on OSX Leopard. But I'm getting people who are reporting this: >> >>...snip... >>... Leopard? These are compiled with v.2.8.1 as Universal >>Binaries. Hey, is that the trouble? Do Leopard versions need to be >>non-UB's? > >UB apps will run fine, but if you are using any externals that are >PPC-only, then the app won't launch on an Intel machine. -- WlND0WS and MAClNT0SH shareware games BIackjack GoId http://www.gypsyware.com From dave at looktowindward.com Sat Nov 10 08:20:12 2007 From: dave at looktowindward.com (Dave) Date: Sat, 10 Nov 2007 13:20:12 +0000 Subject: Reading from Database question Message-ID: <52C26628-9F00-4C1F-AA5D-A1AF2332A954@looktowindward.com> Hi All, I am trying to read all records sequentially from a SQLIte database, basically I just want a loop that gets one record, process the record and then move on to the next. I can't seem to get my head around the SQL to just get one record at a time! Any suggestions greatly appreciated! All the Best Dave From len-morgan at crcom.net Sat Nov 10 08:32:03 2007 From: len-morgan at crcom.net (Len Morgan) Date: Sat, 10 Nov 2007 07:32:03 -0600 Subject: Reading from Database question In-Reply-To: <52C26628-9F00-4C1F-AA5D-A1AF2332A954@looktowindward.com> References: <52C26628-9F00-4C1F-AA5D-A1AF2332A954@looktowindward.com> Message-ID: <4735B2D3.9050507@crcom.net> Hi Dave, It sounds to me like you need to dive into the section of the Rev manual that explains database commands. There ARE NO SQL commands to read one record at a time. You need to preform the query, then use Rev commands to work with them one at a time. len Dave wrote: > Hi All, > > I am trying to read all records sequentially from a SQLIte database, > basically I just want a loop that gets one record, process the record > and then move on to the next. I can't seem to get my head around the > SQL to just get one record at a time! > > Any suggestions greatly appreciated! > > All the Best > Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From dave at looktowindward.com Sat Nov 10 08:40:46 2007 From: dave at looktowindward.com (Dave) Date: Sat, 10 Nov 2007 13:40:46 +0000 Subject: Reading from Database question In-Reply-To: <4735B2D3.9050507@crcom.net> References: <52C26628-9F00-4C1F-AA5D-A1AF2332A954@looktowindward.com> <4735B2D3.9050507@crcom.net> Message-ID: Hi, Do you mean the PDF? I looked in their, doesn't really tell you much! I have a big database and I don't want to have to read it all in one hit. This is such a simple thing to want to do, just read each record from the database! Do you think I can find out how to do it? lol All the Best Dave On 10 Nov 2007, at 13:32, Len Morgan wrote: > Hi Dave, > > It sounds to me like you need to dive into the section of the Rev > manual that explains database commands. There ARE NO SQL commands > to read one record at a time. You need to preform the query, then > use Rev commands to work with them one at a time. > > len > > > Dave wrote: >> Hi All, >> >> I am trying to read all records sequentially from a SQLIte >> database, basically I just want a loop that gets one record, >> process the record and then move on to the next. I can't seem to >> get my head around the SQL to just get one record at a time! >> >> Any suggestions greatly appreciated! >> >> All the Best >> Dave >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From len-morgan at crcom.net Sat Nov 10 10:18:05 2007 From: len-morgan at crcom.net (Len Morgan) Date: Sat, 10 Nov 2007 09:18:05 -0600 Subject: Reading from Database question In-Reply-To: References: <52C26628-9F00-4C1F-AA5D-A1AF2332A954@looktowindward.com> <4735B2D3.9050507@crcom.net> Message-ID: <4735CBAD.5080006@crcom.net> Hi Dave, Everything you need to know is in the database section of the PDF documentation and the Dictionary (Help->Documentation). The basic process is: 1) Establish a connection to the database 2) Send your query and get a record set ID 3) Use the record set ID above and revMoveNextRecord... to go through each record 4) When you reach the last record, close the connection to the database. len Dave wrote: > Hi, > > Do you mean the PDF? I looked in their, doesn't really tell you much! > I have a big database and I don't want to have to read it all in one > hit. This is such a simple thing to want to do, just read each record > from the database! Do you think I can find out how to do it? lol > > All the Best > Dave > > On 10 Nov 2007, at 13:32, Len Morgan wrote: > >> Hi Dave, >> >> It sounds to me like you need to dive into the section of the Rev >> manual that explains database commands. There ARE NO SQL commands to >> read one record at a time. You need to preform the query, then use >> Rev commands to work with them one at a time. >> >> len >> >> >> Dave wrote: >>> Hi All, >>> >>> I am trying to read all records sequentially from a SQLIte database, >>> basically I just want a loop that gets one record, process the >>> record and then move on to the next. I can't seem to get my head >>> around the SQL to just get one record at a time! >>> >>> Any suggestions greatly appreciated! >>> >>> All the Best >>> Dave >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From mwieder at ahsoftware.net Sat Nov 10 14:07:28 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 10 Nov 2007 11:07:28 -0800 Subject: Rev cgi on Win 2K server, anyone ? In-Reply-To: <47358BDD.CF1F1C24@club-internet.fr> References: <472F9A73.42A14D6E@club-internet.fr><1541722785083.20071106184859@ahsoftware.net><4731ADD2.B6A66861@club-internet.fr> <473220EC.43B2E075@club-internet.fr> <47337F95.4D05EE69@club-internet.fr> <1031985458588.20071109194855@ahsoftware.net> <47358BDD.CF1F1C24@club-internet.fr> Message-ID: <1032040572337.20071110110728@ahsoftware.net> jbv- Saturday, November 10, 2007, 2:45:52 AM, you wrote: > the version() function returns 2.6.1 > so I put revdb.dll into > C:\cgi-bin\components\global environment\ > and the dbmysql.dll driver in the same folder cgi-bin as > the Rev cgi exe. I think the dbmysql.dll library needs to go into C:\cgi-bin\components\global environment\database_drivers\Win32\ and you also need MySQL.txt in C:\cgi-bin\components\global environment\database_drivers\ The best thing IMO may be to install rev onto the server so that the directory structure is all there, then see if you can run it locally and access your MySQL database. That will eliminate rev problems from the mix. If it still doesn't work as a cgi after that then you may have Windows permissions problems with the subdirectories... this is why I think Apache might have been a better route... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat Nov 10 14:11:35 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 10 Nov 2007 11:11:35 -0800 Subject: check if handler exist before using it In-Reply-To: <47350921.3000400@fourthworld.com> References: <47350921.3000400@fourthworld.com> Message-ID: <332040819353.20071110111135@ahsoftware.net> Richard- Friday, November 9, 2007, 5:28:01 PM, you wrote: > I may be a bit slow today as I'm caffeine free this afternoon, but > wouldn't checking for the presence of the stack do the same as checking > for its handlers? Pretty much, but not exactly... if I want to call the initialize() handler on a substack just knowing the stack exists doesn't tell me that it has an initialize() handler to call. And if it's a protected stack then I can't even query the script to see if it's there. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Sat Nov 10 14:22:31 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 10 Nov 2007 11:22:31 -0800 Subject: check if handler exist before using it Message-ID: <473604F7.2040706@fourthworld.com> Mark Wieder wrote: > Friday, November 9, 2007, 5:28:01 PM, you wrote: >> I may be a bit slow today as I'm caffeine free this afternoon, but >> wouldn't checking for the presence of the stack do the same as checking >> for its handlers? > > Pretty much, but not exactly... if I want to call the initialize() > handler on a substack just knowing the stack exists doesn't tell me > that it has an initialize() handler to call. And if it's a protected > stack then I can't even query the script to see if it's there. Is this for stacks written by others or ones you write yourself? The reason I'm asking is that Ken and I have periodically brainstormed about a Holy Grail of a world in which components written by others might be shared in a way which allows other systems to use them without any a priori knowledge of what they do. We started down the road of exploring this with parts of the RIP guidelines (at References: Message-ID: Wow. I'm thinking a button on the bottom of the message watcher window with an export this field attached would be an excellent idea. :) Thank you for the explanation! On Nov 8, 2007, at 9:02 PM, Jim Ault wrote: > I don't have time to investigate your setup, however I can answer > the export > question: > >> This is confirmed in the message watcher (and by the way, how do you >> export its contents?). > open the message watcher, then do > put the stacks > into the msg box, hit enter > in the list of stacks should be > > /Applications/Revolution Enterprise/2.7.2-gm-1/Toolset/ > revmessagewatcher.rev > thus.. in the msg box > put the number of fields in card 1 of stack " revmessagewatcher.rev" > -> 5 > put field 1 of card 1 of stack "revmessagewatcher" > ->bingo... this is what you want. From JimAultWins at yahoo.com Sat Nov 10 17:11:00 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 10 Nov 2007 14:11:00 -0800 Subject: Updating stack without going to it In-Reply-To: Message-ID: One minor correction: >> put the number of fields in card 1 of stack " revmessagewatcher.rev" should be >> put the number of fields in card 1 of stack " revmessagewatcher" Jim Ault Las Vegas On 11/10/07 2:00 PM, "Mark Swindell" wrote: > Wow. I'm thinking a button on the bottom of the message watcher > window with an export this field attached would be an excellent > idea. :) Thank you for the explanation! > > > On Nov 8, 2007, at 9:02 PM, Jim Ault wrote: > >> I don't have time to investigate your setup, however I can answer >> the export >> question: >> >>> This is confirmed in the message watcher (and by the way, how do you >>> export its contents?). >> open the message watcher, then do >> put the stacks >> into the msg box, hit enter >> in the list of stacks should be >> >> /Applications/Revolution Enterprise/2.7.2-gm-1/Toolset/ >> revmessagewatcher.rev >> thus.. in the msg box >> put the number of fields in card 1 of stack " revmessagewatcher.rev" >> -> 5 >> put field 1 of card 1 of stack "revmessagewatcher" >> ->bingo... this is what you want. From pmbrig at gmail.com Sun Nov 11 09:56:30 2007 From: pmbrig at gmail.com (Peter Brigham) Date: Sun, 11 Nov 2007 09:56:30 -0500 Subject: "writable" virtual property Message-ID: <614A37DD-9C67-4B41-B2CC-B537AB3F2AF6@gmail.com> It occurred to me after mostly lurking on this list for a long time (and learning a lot) that this little trick might be useful for someone. In my various personal stacks I often want to lock and unlock fields for editing vs accepting mousedown events. In the old HC days, just locking & unlocking the field would do it, but Rev has unbundled the various aspects of the HC locked field property into lockText, traversalOn, and autoHilite. So locking a field, making sure it doesn't accept the focus, and not allowing any selections in it is now a 3-step process. Solution (in the main stack script): setprop writable tf -- tf = true | false if "field" is not in the target then exit writable try set the locktext of the target to not tf set the traversalon of the target to tf set the autohilite of the target to tf end try end writable getprop writable if "field" is not in the target then return "" try put the locktext of the target into L put the traversalon of the target into T put the autohilite of the target into A if T and A and not L then return true return false end try end writable call these with things like: set the writable of fld "y" to true; select after text of fld "y" if not the writable of me then set the cursor to hand Saves me a lot of time. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig/ "I took a course in speed waiting. Now I can wait an hour in only ten minutes." -- Steven Wright From pmbrig at gmail.com Sun Nov 11 09:56:30 2007 From: pmbrig at gmail.com (Peter Brigham) Date: Sun, 11 Nov 2007 09:56:30 -0500 Subject: "writable" virtual property Message-ID: <614A37DD-9C67-4B41-B2CC-B537AB3F2AF6@gmail.com> It occurred to me after mostly lurking on this list for a long time (and learning a lot) that this little trick might be useful for someone. In my various personal stacks I often want to lock and unlock fields for editing vs accepting mousedown events. In the old HC days, just locking & unlocking the field would do it, but Rev has unbundled the various aspects of the HC locked field property into lockText, traversalOn, and autoHilite. So locking a field, making sure it doesn't accept the focus, and not allowing any selections in it is now a 3-step process. Solution (in the main stack script): setprop writable tf -- tf = true | false if "field" is not in the target then exit writable try set the locktext of the target to not tf set the traversalon of the target to tf set the autohilite of the target to tf end try end writable getprop writable if "field" is not in the target then return "" try put the locktext of the target into L put the traversalon of the target into T put the autohilite of the target into A if T and A and not L then return true return false end try end writable call these with things like: set the writable of fld "y" to true; select after text of fld "y" if not the writable of me then set the cursor to hand Saves me a lot of time. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig/ "I took a course in speed waiting. Now I can wait an hour in only ten minutes." -- Steven Wright From john at debraneys.com Sun Nov 11 16:31:20 2007 From: john at debraneys.com (John Tregea) Date: Sun, 11 Nov 2007 21:31:20 +0000 Subject: Reading from Database question Message-ID: Hi Dave, I had a memory of being able to get one record from an SQL database. I just looked it up and you could use it something like this. Open your database connection then put the following SQL into a variable that you then execute with the revDataFromQuery statement using the variable. SELECT TOP serial_id, name, details, done_flag FROM my_database WHERE done_flag = '0' If you want to walk down the database table one record at a time you could add a field (to the database) that acts as a flag (e.g. done_flag). Each time you get the top record (where done_flag = 0) you know you haven't processed it before. Use the above SELECT statement and store the serial_id value in a variable (like current_serial) Do your processing in Rev then use another simple sql statement to UPDATE my_database SET done_flag = '1' WHERE serial_id = current_serial Once you complete the last record and update it, the SELECT TOP statement will return empty. If you want to reuse the set of records over and over then use UPDATE my_database SET done_flag = '0'; and all your records are back available again. Or if you wanted to process each once a day make the done_flag field a date field and put the date you process it into the field. Then you can SELECT TOP from my_database WHERE done_flag < today; Hope this gets you started. Regards John From shoreagent at gmail.com Sun Nov 11 16:37:28 2007 From: shoreagent at gmail.com (william humphrey) Date: Sun, 11 Nov 2007 17:37:28 -0400 Subject: Reading from Database question In-Reply-To: <4735CBAD.5080006@crcom.net> References: <52C26628-9F00-4C1F-AA5D-A1AF2332A954@looktowindward.com> <4735B2D3.9050507@crcom.net> <4735CBAD.5080006@crcom.net> Message-ID: <459b22a90711111337h7eebae40x13229aa5a83a4c5a@mail.gmail.com> There is a video in the RunRev learning center that covers one way to go through the records. On 11/10/07, Len Morgan wrote: > > Hi Dave, > > Everything you need to know is in the database section of the PDF > documentation and the Dictionary (Help->Documentation). > > The basic process is: > 1) Establish a connection to the database > 2) Send your query and get a record set ID > 3) Use the record set ID above and revMoveNextRecord... to go through > each record > 4) When you reach the last record, close the connection to the database. > > len > > > Dave wrote: > > Hi, > > > > Do you mean the PDF? I looked in their, doesn't really tell you much! > > I have a big database and I don't want to have to read it all in one > > hit. This is such a simple thing to want to do, just read each record > > from the database! Do you think I can find out how to do it? lol > > > > All the Best > > Dave > > > > On 10 Nov 2007, at 13:32, Len Morgan wrote: > > > >> Hi Dave, > >> > >> It sounds to me like you need to dive into the section of the Rev > >> manual that explains database commands. There ARE NO SQL commands to > >> read one record at a time. You need to preform the query, then use > >> Rev commands to work with them one at a time. > >> > >> len > >> > >> > >> Dave wrote: > >>> Hi All, > >>> > >>> I am trying to read all records sequentially from a SQLIte database, > >>> basically I just want a loop that gets one record, process the > >>> record and then move on to the next. I can't seem to get my head > >>> around the SQL to just get one record at a time! > >>> > >>> Any suggestions greatly appreciated! > >>> > >>> All the Best > >>> Dave > >>> > >>> _______________________________________________ > >>> use-revolution mailing list > >>> use-revolution at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-revolution > >>> > >>> > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.bluewatermaritime.com From dave at looktowindward.com Sun Nov 11 21:07:07 2007 From: dave at looktowindward.com (David Burgun) Date: Mon, 12 Nov 2007 02:07:07 +0000 Subject: Problem with more than one open stack Message-ID: <86C57D1D-3717-4F7F-9CE2-165EA621CEC1@looktowindward.com> Hi, I have a stack that runs a task that takes a about 2 mins to run. While it's working I want to display a simple Progress window, this works ok, except the when I Go to the Progress stack, the calling stack loses it's context so that references to fields on the stack don't get resolved, e.g. "this" stack refers to the Progress Stack, not the Driving Stack. How can I display one stack (e.g. the Progress Stack) have have it update, but have code running in another Stack? I am "Sending" messages to the Progress stack to set the thumb position every N cycles. Thanks a lot All the Best Dave From SimPLsol at aol.com Sun Nov 11 21:22:22 2007 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Sun, 11 Nov 2007 21:22:22 EST Subject: Problem with more than one open stack Message-ID: Dave, Check the "default stack" property in the docs. Should do what you need. Paul Looney ************************************** See what's new at http://www.aol.com From revdev at pdslabs.net Sun Nov 11 21:27:12 2007 From: revdev at pdslabs.net (Phil Davis) Date: Sun, 11 Nov 2007 18:27:12 -0800 Subject: Problem with more than one open stack In-Reply-To: <86C57D1D-3717-4F7F-9CE2-165EA621CEC1@looktowindward.com> References: <86C57D1D-3717-4F7F-9CE2-165EA621CEC1@looktowindward.com> Message-ID: <4737BA00.3020900@pdslabs.net> Hi David - David Burgun wrote: > Hi, > > I have a stack that runs a task that takes a about 2 mins to run. > While it's working I want to display a simple Progress window, this > works ok, except the when I Go to the Progress stack, the calling > stack loses it's context so that references to fields on the stack > don't get resolved, e.g. "this" stack refers to the Progress Stack, > not the Driving Stack. > > How can I display one stack (e.g. the Progress Stack) have have it > update, but have code running in another Stack? I am "Sending" > messages to the Progress stack to set the thumb position every N cycles. After sending the message, set the defaultStack to the main stack before doing anything else. That might resolve most of the problem. Also, it might help if you open the Progress as a palette instead of with 'toplevel' or 'go'. But if you use this approach, you should make all your object refs in the Progress stack absolute (e.g. put "of me" after each one) so its code will understand which stack should be changed. Sorry - I'm out of time. Maybe others will chime in. Phil Davis > > Thanks a lot > All the Best > Dave From m.schonewille at economy-x-talk.com Sun Nov 11 21:27:58 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 12 Nov 2007 03:27:58 +0100 Subject: Problem with more than one open stack In-Reply-To: <86C57D1D-3717-4F7F-9CE2-165EA621CEC1@looktowindward.com> References: <86C57D1D-3717-4F7F-9CE2-165EA621CEC1@looktowindward.com> Message-ID: <40288BD9-D673-4DC0-BE29-326A75C179B1@economy-x-talk.com> Hi Dave, A quick fix is to set the defaultstack before using "this". Naturally, you can also change "this stack" into the name of your stack. I don't know whether your script currently allows it, but the "correct" way of doing this would be to go back to the original stack after opening the progress window: go stack "Progress Window" go stack "Original Stack" and if this causes a problem, try go stack "Progress Window" set the defaultstack to "Original Stack" Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 12-nov-2007, om 3:07 heeft David Burgun het volgende geschreven: > Hi, > > I have a stack that runs a task that takes a about 2 mins to run. > While it's working I want to display a simple Progress window, this > works ok, except the when I Go to the Progress stack, the calling > stack loses it's context so that references to fields on the stack > don't get resolved, e.g. "this" stack refers to the Progress Stack, > not the Driving Stack. > > How can I display one stack (e.g. the Progress Stack) have have it > update, but have code running in another Stack? I am "Sending" > messages to the Progress stack to set the thumb position every N > cycles. > > Thanks a lot > All the Best > Dave > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Sun Nov 11 22:27:09 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 11 Nov 2007 21:27:09 -0600 Subject: "writable" virtual property In-Reply-To: <614A37DD-9C67-4B41-B2CC-B537AB3F2AF6@gmail.com> References: <614A37DD-9C67-4B41-B2CC-B537AB3F2AF6@gmail.com> Message-ID: <20071111212709884452.63855dfc@sonsothunder.com> On Sun, 11 Nov 2007 09:56:30 -0500, Peter Brigham wrote: > set the writable of fld "y" to true; select after text of fld "y" Good suggestion, Peter... that also sounds very "natural"... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Sun Nov 11 22:34:31 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 11 Nov 2007 21:34:31 -0600 Subject: Anyone noticing stalled uploading? find a solution? In-Reply-To: <337C3CAA-D24B-4CD0-9689-7952D79A397E@dvcreators.net> References: <337C3CAA-D24B-4CD0-9689-7952D79A397E@dvcreators.net> Message-ID: <20071111213431887562.9232acb9@sonsothunder.com> On Fri, 9 Nov 2007 13:52:19 -0800, Josh Mellicker wrote: > I am uploading a list of files. > > After uploading a few files with no problem, uploading "stalls" with > no progress, and no timeout message is sent. Yes, I have run into the same thing with large files, where the incoming progress messages hit some point about 99% of the way through the upload (using "post", btw) and then constantly returning the same number of bytes uploaded. I found that if I let it run long enough to match the rest of the bytes (i.e. if it was uploading at 30K/sec and it stalled with 300K left on a 150MB file, I would let it wait for at least 10 seconds), and then terminated the upload, it would actually be at the destination fully uploaded. I thought it was just me, but I'm glad I'm not the only one. Now that Dave has suggested checking the result of the post for errors, I'll see if I can make that work. If not, I'll post my results. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From shaosean at wehostmacs.com Mon Nov 12 04:03:24 2007 From: shaosean at wehostmacs.com (Shao Sean) Date: Mon, 12 Nov 2007 04:03:24 -0500 Subject: [UPD] Script Editor Mod 003 Message-ID: <3D46883D-7309-4A5F-A776-C5A6C8CF8BE8@wehostmacs.com> Thanks for the feedback. A new version has been released with fixes to the script line numbering code so it has the proper line numbers when opening a new script editor window as well as keeping the line numbers and hilite updated better. Screenshot < http://shaosean.tk/_resources/images/revscripteditor.png > Download < http://shaosean.tk/revide.php > Again, thanks for all the support :-) -Sean From david at dvglasgow.wanadoo.co.uk Mon Nov 12 06:56:17 2007 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Mon, 12 Nov 2007 11:56:17 +0000 Subject: The 'real' meaning of blend level transparency integers In-Reply-To: <20071109180005.4B26E4890A6@mail.runrev.com> References: <20071109180005.4B26E4890A6@mail.runrev.com> Message-ID: <8C21A997-DC2F-4408-91AB-0ED585ACF6C1@dvglasgow.wanadoo.co.uk> On 9 Nov 2007, at 6:00 pm, Jim Ault wrote: > You probably need to 1) calibrate the monitors on some computers > running > different OSes/monitors, 2) set the transparency+background of a test > pattern (like they do in TV broadcasting), 3) then build a curve > that gets > you the 'human linear' transparency values. Do one according to > your eye, > then see if others agree with you. Thanks, Jim. Maybe I could do that by building some kind of calibration routine into the procedure itself. Maybe this could establish individual transparency thresholds irrespective of hardware, software, mindware and eyewear ;-) Now, how did those old psycho-physicists determine the Just Noticeable Difference? Wikipedia here I come Best Wishes, David Glasgow Carlton Glasgow Partnership http://www.i-psych.co.uk From dave at looktowindward.com Mon Nov 12 09:44:06 2007 From: dave at looktowindward.com (Dave) Date: Mon, 12 Nov 2007 14:44:06 +0000 Subject: XML Problem? Message-ID: Hi All, I have a problem with the code below, I get "xmlerr, can't find element" returned on each of the calls to revXMLAttribute, but I can't for the life of me see why? I have copied the XML in questions to the end of this message. Any ideas anyone? Thanks a lot All the Best Dave -------------------------------------------------------------- -- -- mouseUp -- -------------------------------------------------------------- on mouseUp local mySoapXMLtree local mySoapXMLNode local myPlaylistID local myPlaylistName local myPlayNowFlag put RevCreateXMLTree(field "FieldXML",true,true,false) into mySoapXMLtree put "/Envelope/Body/GetNewSentListResponse/GetNewSentListResult" into mySoapXMLNode put revXMLAttribute(mySoapXMLtree,mySoapXMLNode & "/ Tracks/","SentListID") into myPlaylistID put revXMLAttribute(mySoapXMLtree,mySoapXMLNode & "/ Tracks","ListName") into myPlaylistName put revXMLAttribute(mySoapXMLtree,mySoapXMLNode & "/ Tracks","PlayNow") into myPlayNowFlag end mouseUp ------------------------------------------------------------------------ ------------- <Tracks SentListID="2" ListName="Greatest 60's Protest Songs" PlayNow="0"><Track TrackNo="1" Artist="Bob Dylan" Track="Blowin' In The Wind" /></Tracks> From dave at looktowindward.com Mon Nov 12 10:40:29 2007 From: dave at looktowindward.com (Dave) Date: Mon, 12 Nov 2007 15:40:29 +0000 Subject: Problem with more than one open stack In-Reply-To: <40288BD9-D673-4DC0-BE29-326A75C179B1@economy-x-talk.com> References: <86C57D1D-3717-4F7F-9CE2-165EA621CEC1@looktowindward.com> <40288BD9-D673-4DC0-BE29-326A75C179B1@economy-x-talk.com> Message-ID: <0D1F57EA-2E8E-4F99-AAF9-7AD8397C0525@looktowindward.com> Hi, Thanks a lot, my preferred method is to set the defaultStack back, else the stack go to the front and hides the Progress Window. All the Best Dave On 12 Nov 2007, at 02:27, Mark Schonewille wrote: > Hi Dave, > > A quick fix is to set the defaultstack before using "this". > Naturally, you can also change "this stack" into the name of your > stack. > > I don't know whether your script currently allows it, but the > "correct" way of doing this would be to go back to the original > stack after opening the progress window: > > go stack "Progress Window" > go stack "Original Stack" > > and if this causes a problem, try > > go stack "Progress Window" > set the defaultstack to "Original Stack" > > Best regards, > > Mark Schonewille > > -- > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Quickly extract data from your HyperCard stacks with DIFfersifier. > http://differsifier.economy-x-talk.com > > > Op 12-nov-2007, om 3:07 heeft David Burgun het volgende geschreven: > >> Hi, >> >> I have a stack that runs a task that takes a about 2 mins to run. >> While it's working I want to display a simple Progress window, >> this works ok, except the when I Go to the Progress stack, the >> calling stack loses it's context so that references to fields on >> the stack don't get resolved, e.g. "this" stack refers to the >> Progress Stack, not the Driving Stack. >> >> How can I display one stack (e.g. the Progress Stack) have have it >> update, but have code running in another Stack? I am "Sending" >> messages to the Progress stack to set the thumb position every N >> cycles. >> >> Thanks a lot >> All the Best >> Dave >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dave.cragg at lacscentre.co.uk Mon Nov 12 10:51:24 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 12 Nov 2007 15:51:24 +0000 Subject: XML Problem? In-Reply-To: References: Message-ID: <75A5FCB4-FBFE-4EB0-8ECD-06E2E1E10356@lacscentre.co.uk> On 12 Nov 2007, at 14:44, Dave wrote: > Hi All, > > I have a problem with the code below, I get "xmlerr, can't find > element" returned on each of the calls to revXMLAttribute, but I > can't for the life of me see why? I have copied the XML in > questions to the end of this message. Are the entities (< , >) actually part of your XML, or is that something that just happened for the mail? They need to appear as proper XML tags for your script to work.E.g. SentListID="2" ListName="Greatest 60's Protest Songs" PlayNow="0"> Dave C From luis at anachreon.co.uk Mon Nov 12 10:59:16 2007 From: luis at anachreon.co.uk (Luis) Date: Mon, 12 Nov 2007 15:59:16 +0000 Subject: Planning ahead for threads and more interactivity in rev apps In-Reply-To: References: Message-ID: Hiya, What about offloading the 'threading' to the database record/file locks? The database needn't hold the files, just pointers. I understand the speed issue. Cheers, Luis. On 9 Nov 2007, at 09:36, xavier.bury at clearstream.com wrote: > Hi Luis, > > I thought about that long ago, but decided to use flat files to > keep the > stats and this has worked really > well over the years. One file per server for 400+ servers. > > Also DBs are slower in comparison to a file loading... I'd have to > make > one or more transactions per server where as i load the file into a > variable and i have all the data there... > > keeping it simple... The files repository is centralized in this > way... > > thanks for the suggestion... > ---------------------=--------------------- > Xavier Bury > Clearstream Services > TNS NT LAN Server > > > use-revolution-bounces at lists.runrev.com wrote on 09/11/2007 10:31:14: > >> Instead of files 'per se', why not write to a database? Keeping it >> centralised. >> >> Cheers, >> >> Luis. >> >> >> On 9 Nov 2007, at 09:28, xavier.bury at clearstream.com wrote: >> >>> Thanks for everyone's input... >>> >>> I came to the conclusion that my once-simple scanning program >>> ended up >>> with too many reporting features. So i have to separate them. I >>> will have >>> 3 different applications in the end. One for scanning, one for >>> monitoring >>> the scanning and one to do the reporting. >>> >>> I cannot use sockets or the like just because of the complexity it >>> would >>> add to the system plus the lack of tracking should anything go >>> wrong. This >>> is the same kind of issues with a cgi-based processes - if any of >>> them >>> hang, you dont know which one it is and you must kill all the >>> processes to >>> be clean again... We've had lots of issues with this which is why i >>> wont >>> go that way. >>> >>> The plan i made is to write simple transactions to files and have a >>> cmd >>> helper run these. These create their logs which is what i need and >>> then >>> delete the transaction file once done. This way if anything happens >>> i can >>> track where it went wrong (the transaction is not deleted for >>> example)... >>> Also i can limit the number of processes easily since rev creates >>> the >>> transactions >>> only if there is no excess transactions left to be done... >>> >>> Thanks too all who answered for your help and suggestions! >>> ---------------------=--------------------- >>> Xavier Bury >>> Clearstream Services >>> TNS NT LAN Server >>> >>> >>> >>> -------------------------------------------------------------------- >>> -- > >>> ------ >>> Clearstream Services S.A. >>> 42 Avenue JF Kennedy, L-1855 Luxembourg >>> Soci?t? anonyme is organised with limited liability >>> in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911. >>> >>> >>> ----------------------------------------- >>> Visit us at http://www.clearstream.com >>> >>> IMPORTANT MESSAGE >>> >>> Internet communications are not secure and therefore Clearstream >>> International does not accept legal responsibility for the contents >>> of this message. >>> >>> The information contained in this e-mail is confidential and may be >>> legally privileged. It is intended solely for the addressee. If you >>> are not the intended recipient, any disclosure, copying, >>> distribution or any action taken or omitted to be taken in reliance >>> on it, is prohibited and may be unlawful. Any views expressed in >>> this e-mail are those of the individual sender, except where the >>> sender specifically states them to be the views of Clearstream >>> International or of any of its affiliates or subsidiaries. >>> >>> Legally required information for business correspondence/ >>> Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: >>> http://deutsche-boerse.com/letterhead >>> >>> END OF DISCLAIMER >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution 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 > > > > ---------------------------------------------------------------------- > ------ > Clearstream Services S.A. > 42 Avenue JF Kennedy, L-1855 Luxembourg > Soci?t? anonyme is organised with limited liability > in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911. > > > ----------------------------------------- > Visit us at http://www.clearstream.com > > IMPORTANT MESSAGE > > Internet communications are not secure and therefore Clearstream > International does not accept legal responsibility for the contents > of this message. > > The information contained in this e-mail is confidential and may be > legally privileged. It is intended solely for the addressee. If you > are not the intended recipient, any disclosure, copying, > distribution or any action taken or omitted to be taken in reliance > on it, is prohibited and may be unlawful. Any views expressed in > this e-mail are those of the individual sender, except where the > sender specifically states them to be the views of Clearstream > International or of any of its affiliates or subsidiaries. > > Legally required information for business correspondence/ > Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: > http://deutsche-boerse.com/letterhead > > END OF DISCLAIMER > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dave.cragg at lacscentre.co.uk Mon Nov 12 11:22:42 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 12 Nov 2007 16:22:42 +0000 Subject: XML Problem? In-Reply-To: <75A5FCB4-FBFE-4EB0-8ECD-06E2E1E10356@lacscentre.co.uk> References: <75A5FCB4-FBFE-4EB0-8ECD-06E2E1E10356@lacscentre.co.uk> Message-ID: <195575A4-9799-4C76-895C-BCBD6280CB01@lacscentre.co.uk> On 12 Nov 2007, at 15:51, Dave Cragg wrote: > Are the entities (< , >) actually part of your XML, or is > that something that just happened for the mail? They need to appear > as proper XML tags for your script to work.E.g. > SentListID="2" ListName="Greatest 60's Protest Songs" > PlayNow="0"> Something wrong there. Sorry. The example should be: Dave C From kray at sonsothunder.com Mon Nov 12 13:45:52 2007 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 12 Nov 2007 12:45:52 -0600 Subject: XML Problem? In-Reply-To: References: Message-ID: <20071112124552905584.39806184@sonsothunder.com> On Mon, 12 Nov 2007 14:44:06 +0000, Dave wrote: > Hi All, > > I have a problem with the code below, I get "xmlerr, can't find > element" returned on each of the calls to revXMLAttribute, but I > can't for the life of me see why? I have copied the XML in questions > to the end of this message. Dave, what version of Rev are you using and on what platform? I tried the same code you provided in 2.8.1 build 472 (the current version) on OS X and it worked for me... the only thing I see that's a little odd (but didn't error out for me) was that your first check for "SentListID" points to: mySoapXMLNode & "/Tracks/" with the trailing slash, while the other two don't have the trailing slash. Don't know if that might have caused a problem with earlier versions of Rev or on other platforms... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From revdev at pdslabs.net Mon Nov 12 14:38:44 2007 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 12 Nov 2007 11:38:44 -0800 Subject: [UPD] Script Editor Mod 003 In-Reply-To: <3D46883D-7309-4A5F-A776-C5A6C8CF8BE8@wehostmacs.com> References: <3D46883D-7309-4A5F-A776-C5A6C8CF8BE8@wehostmacs.com> Message-ID: <4738ABC4.90606@pdslabs.net> Thanks Sean! You've made some Script Editor improvements I've wanted for a long time. Phil Davis Shao Sean wrote: > Thanks for the feedback. A new version has been released with fixes to > the script line numbering code so it has the proper line numbers when > opening a new script editor window as well as keeping the line numbers > and hilite updated better. > > Screenshot < http://shaosean.tk/_resources/images/revscripteditor.png > > Download < http://shaosean.tk/revide.php > > > > Again, thanks for all the support :-) > -Sean From josh at dvcreators.net Mon Nov 12 15:27:42 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Mon, 12 Nov 2007 12:27:42 -0800 Subject: Anyone noticing stalled uploading? find a solution? In-Reply-To: <20071111213431887562.9232acb9@sonsothunder.com> References: <337C3CAA-D24B-4CD0-9689-7952D79A397E@dvcreators.net> <20071111213431887562.9232acb9@sonsothunder.com> Message-ID: <85C9E2C7-CDF2-4C5F-929D-9BEBD9EAB160@dvcreators.net> Thanks everyone for all your help. I think found what was causing my problem, which was checking for the same filename on the remote server before each upload. Continually getting the remote list of files was stalling my uploads (I think). It seems to be fixed it by using "load" to cache the files in the remote folder first, then accessing the cached list instead of hitting the remote server multiple times: put theFTPstring(tLineNum) into tFTPstring if the uCachedURL of me is not tFTPstring then load URL tFTPstring set the uCachedURL of me to tFTPstring end if Here's the whole handler, suggestions and criticisms welcome! if the hilite of btn "rename with unique name" then -- check for same name file on remote server put theFTPstring(tLineNum) into tFTPstring if the uCachedURL of me is not tFTPstring then load URL tFTPstring set the uCachedURL of me to tFTPstring reportStatus "just set the tFTPstring to" && tFTPstring --! end if put URL theFTPstring(tLineNum) into tList repeat for each line tLine in tList delete word 1 to 8 of tLine put tLine & cr after tRemoteFileList end repeat delete char -1 of tRemoteFileList put tRemoteFileList into tRemoteFileList2 filter tRemoteFileList with "*" & tFileName & "*" if tRemoteFileList is not empty then put stripExtension(tFileName) into tFileNameRoot put theExtension(tFileName) into tExtension repeat add 1 to x put tFileNameRoot & "-" & x & "." & tExtension into tFileName put tRemoteFileList2 into tRemoteFileList filter tRemoteFileList with "*" & tFileName & "*" if tRemoteFileList is empty then exit repeat end repeat end if end if On Nov 11, 2007, at 7:34 PM, Ken Ray wrote: > On Fri, 9 Nov 2007 13:52:19 -0800, Josh Mellicker wrote: > >> I am uploading a list of files. >> >> After uploading a few files with no problem, uploading "stalls" with >> no progress, and no timeout message is sent. > > Yes, I have run into the same thing with large files, where the > incoming progress messages hit some point about 99% of the way through > the upload (using "post", btw) and then constantly returning the same > number of bytes uploaded. I found that if I let it run long enough to > match the rest of the bytes (i.e. if it was uploading at 30K/sec > and it > stalled with 300K left on a 150MB file, I would let it wait for at > least 10 seconds), and then terminated the upload, it would > actually be > at the destination fully uploaded. > > I thought it was just me, but I'm glad I'm not the only one. Now that > Dave has suggested checking the result of the post for errors, I'll > see > if I can make that work. If not, I'll post my results. > > > 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 josh at dvcreators.net Mon Nov 12 15:35:17 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Mon, 12 Nov 2007 12:35:17 -0800 Subject: deleting every other line in an image Message-ID: Here's one for the image processing gurus out there: How difficult is it to take an image, and create a new image containing every OTHER line from it (e.g., just the odd lines) so the resulting picture is half the height? Once you knew the width of the image, isn't it just a loop that copies tWidth pixels, then skips the next tWidth, and so on? Thanks! From dave at looktowindward.com Mon Nov 12 15:40:43 2007 From: dave at looktowindward.com (Dave) Date: Mon, 12 Nov 2007 20:40:43 +0000 Subject: "writable" virtual property In-Reply-To: <20071111212709884452.63855dfc@sonsothunder.com> References: <614A37DD-9C67-4B41-B2CC-B537AB3F2AF6@gmail.com> <20071111212709884452.63855dfc@sonsothunder.com> Message-ID: Hi, I'm not sure what you mean by "writable". Do you mean that the user cannot enter text in it? Cheers Dave On 12 Nov 2007, at 03:27, Ken Ray wrote: > On Sun, 11 Nov 2007 09:56:30 -0500, Peter Brigham wrote: > >> set the writable of fld "y" to true; select after text of fld "y" > > Good suggestion, Peter... that also sounds very "natural"... > > 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 mdswindell at cruzio.com Mon Nov 12 15:42:27 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Mon, 12 Nov 2007 12:42:27 -0800 Subject: ResumeStack message... bug? Message-ID: <03EA9314-7165-4FA0-A8EA-079891377893@cruzio.com> I posted this a couple of days ago under a different header, but I'm hoping someone here will have a couple of minutes to replicate this scenario and shed some light on what is happening (or not happening) with the resumeStack handler. From my perspective, something appears to be wrong, but maybe I'm not understanding. Recipe: Create a new main stack (stack "AAA") with a single scrolling field on its only card (field 1). Create two substacks of this stack ("BBB," and "CCC") At the stack level of each of the sub stacks place this script: on resumeStack go stack "AAA" put "hello"&return after field 1 end resumeStack Now, toggle back and forth, slowly, between the two substack windows so that each alternately comes to the front. What I experience (and another list member confirmed) is this: On the first two toggles a resumestack message is sent and "hello" appears in field 1 of stack "AAA". On the next two toggles a resumeStack message appears NOT to be sent and no "hello" appears. Then two more "hellos" Then two "no hellos." And so on. It functions correctly twice, doesn't function twice, functions correctly twice, etc. Add a third substack, and it cycles around to functioning correctly every third time. What is the reason behind this behavior? Looking at the message watcher, is something going on with cRevTable, cRevGetsUpdate that prohibits the resumeStack from firing on the first revisit (what do these do)? Thanks, Mark From dave at looktowindward.com Mon Nov 12 15:45:52 2007 From: dave at looktowindward.com (Dave) Date: Mon, 12 Nov 2007 20:45:52 +0000 Subject: XML Problem? In-Reply-To: <20071112124552905584.39806184@sonsothunder.com> References: <20071112124552905584.39806184@sonsothunder.com> Message-ID: Hi, The < , > and actually part of the XML. I am receiving this from a .NET WebServices server. I thought that XML would expand them out for me, guess not and this is just a trick for WebServices. All the Best Dave On 12 Nov 2007, at 18:45, Ken Ray wrote: > On Mon, 12 Nov 2007 14:44:06 +0000, Dave wrote: > >> Hi All, >> >> I have a problem with the code below, I get "xmlerr, can't find >> element" returned on each of the calls to revXMLAttribute, but I >> can't for the life of me see why? I have copied the XML in questions >> to the end of this message. > > Dave, what version of Rev are you using and on what platform? I tried > the same code you provided in 2.8.1 build 472 (the current version) on > OS X and it worked for me... the only thing I see that's a little odd > (but didn't error out for me) was that your first check for > "SentListID" points to: > > mySoapXMLNode & "/Tracks/" > > with the trailing slash, while the other two don't have the trailing > slash. Don't know if that might have caused a problem with earlier > versions of Rev or on other platforms... > > 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 shaosean at wehostmacs.com Mon Nov 12 15:55:24 2007 From: shaosean at wehostmacs.com (Shao Sean) Date: Mon, 12 Nov 2007 15:55:24 -0500 Subject: [UPD] Script Editor Mod 003 Message-ID: <097972C8-D5C2-4F04-9FDE-F563B67F037D@wehostmacs.com> > You've made some Script Editor improvements I've wanted for a long > time. Yes they're things I've wanted too and hopefully Rev adds them into 2.9 as they can add them in probably much better than I can.. From kray at sonsothunder.com Mon Nov 12 16:00:54 2007 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 12 Nov 2007 15:00:54 -0600 Subject: "writable" virtual property In-Reply-To: References: <614A37DD-9C67-4B41-B2CC-B537AB3F2AF6@gmail.com> <20071111212709884452.63855dfc@sonsothunder.com> Message-ID: <20071112150054627072.a13be1a1@sonsothunder.com> On Mon, 12 Nov 2007 20:40:43 +0000, Dave wrote: > Hi, > > I'm not sure what you mean by "writable". Do you mean that the user > cannot enter text in it? Right - setting the 'writable' of a field causes the 'setProp writable' to be triggered, which (if false), locks the text, removes the ability to select text, and removes the focus border potential from the field. And the opposite if you set the 'writable' to true. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From dave at looktowindward.com Mon Nov 12 16:04:54 2007 From: dave at looktowindward.com (Dave) Date: Mon, 12 Nov 2007 21:04:54 +0000 Subject: "writable" virtual property In-Reply-To: <20071112150054627072.a13be1a1@sonsothunder.com> References: <614A37DD-9C67-4B41-B2CC-B537AB3F2AF6@gmail.com> <20071111212709884452.63855dfc@sonsothunder.com> <20071112150054627072.a13be1a1@sonsothunder.com> Message-ID: Ok, I get it, kind of like a Macro. Will it work with "me" e.g set the writable of me to false ? All the Best Dave On 12 Nov 2007, at 21:00, Ken Ray wrote: > On Mon, 12 Nov 2007 20:40:43 +0000, Dave wrote: > >> Hi, >> >> I'm not sure what you mean by "writable". Do you mean that the user >> cannot enter text in it? > > Right - setting the 'writable' of a field causes the 'setProp > writable' > to be triggered, which (if false), locks the text, removes the ability > to select text, and removes the focus border potential from the field. > And the opposite if you set the 'writable' to true. > > 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 kray at sonsothunder.com Mon Nov 12 16:34:23 2007 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 12 Nov 2007 15:34:23 -0600 Subject: "writable" virtual property In-Reply-To: References: <614A37DD-9C67-4B41-B2CC-B537AB3F2AF6@gmail.com> <20071111212709884452.63855dfc@sonsothunder.com> <20071112150054627072.a13be1a1@sonsothunder.com> Message-ID: <20071112153423901309.3c632b45@sonsothunder.com> On Mon, 12 Nov 2007 21:04:54 +0000, Dave wrote: > Ok, I get it, kind of like a Macro. Will it work with "me" e.g set > the writable of me to false ? Well, if you call it from the script of a field, then yes... but it would be rare that you'd want to lock a field completely while you're already in it (although I can think of things like timed typing exercises where this might be useful), and of course with the traversalOn turned off and no ability to focus on the field when it's fully locked up, you couldn't execute it the other way (i.e. once it's fully locked, you can't get a "me" to operate properly unless you send a message to the field). Just my thoughts... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From niggemann at uni-wh.de Mon Nov 12 18:34:07 2007 From: niggemann at uni-wh.de (BNig) Date: Mon, 12 Nov 2007 15:34:07 -0800 (PST) Subject: deleting every other line in an image In-Reply-To: References: Message-ID: <13716667.post@talk.nabble.com> Hi Josh, make a stack with 2 images, call them "P1" and "P2" load a picture in the inspector into image "p1" set the width and height to 140 in the inspector make a new button paste this script into the button on mouseUp put the width of image "P1" into theImagWidth put the height of image "P1" into theImageHeight put the imagedata of image "P1" into theDataToWorkon if theDataToWorkon = "" then exit mouseUp put length (theDataToWorkon) into HowLong put empty into destImageData -- one Pixel = 4 Bytes = 4 chars put theImagWidth * 4 into OneRowOfImage put theImageHeight into soManyPixelRows put 0 into theCounter repeat with i = 1 to (HowLong - OneRowOfImage) step (OneRowOfImage*2) put char i to (i + OneRowOfImage-1) of theDataToWorkon after destImageData end repeat set the width of image "P2" to theImagWidth -- watch out for images with uneven heigths set the height of image "P2" to (theImageHeight/2) set the imagedata of image "P2" to destImageData end mouseUp this should give you in "P2" an image half the height of P1 with every second line of the original image. it works for me, attention, almost no error checking in here, it is important to have the width and height correct otherwise the image will be distorted just curious: why do you want to eliminate every second line of an image? hth Bernd Josh Mellicker wrote: > > Here's one for the image processing gurus out there: > > How difficult is it to take an image, and create a new image > containing every OTHER line from it (e.g., just the odd lines) so the > resulting picture is half the height? > > Once you knew the width of the image, isn't it just a loop that > copies tWidth pixels, then skips the next tWidth, and so on? > > Thanks! > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/deleting-every-other-line-in-an-image-tf4793676.html#a13716667 Sent from the Revolution - User mailing list archive at Nabble.com. From JimAultWins at yahoo.com Mon Nov 12 19:05:04 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 12 Nov 2007 16:05:04 -0800 Subject: deleting every other line in an image In-Reply-To: <13716667.post@talk.nabble.com> Message-ID: Why not use the Thumbnail Stack that Eric Chatonet has on his tutorial page? Just use 1/2 * the Height and get a smoother jpg since you will be sampling to get the smaller image. No need for all the looping and slow pixel-by-pixel work. Jim Ault Las Vegas On 11/12/07 3:34 PM, "BNig" wrote: > > Hi Josh, > > make a stack with 2 images, call them "P1" and "P2" > load a picture in the inspector into image "p1" > set the width and height to 140 in the inspector > > make a new button > > paste this script into the button > > on mouseUp > put the width of image "P1" into theImagWidth > put the height of image "P1" into theImageHeight > put the imagedata of image "P1" into theDataToWorkon > if theDataToWorkon = "" then exit mouseUp > put length (theDataToWorkon) into HowLong > put empty into destImageData > > -- one Pixel = 4 Bytes = 4 chars > put theImagWidth * 4 into OneRowOfImage > put theImageHeight into soManyPixelRows > > put 0 into theCounter > repeat with i = 1 to (HowLong - OneRowOfImage) step (OneRowOfImage*2) > put char i to (i + OneRowOfImage-1) of theDataToWorkon after > destImageData > end repeat > > set the width of image "P2" to theImagWidth > -- watch out for images with uneven heigths > set the height of image "P2" to (theImageHeight/2) > set the imagedata of image "P2" to destImageData > end mouseUp > > this should give you in "P2" an image half the height of P1 with every > second line of the original image. > > it works for me, attention, almost no error checking in here, > it is important to have the width and height correct otherwise the image > will be distorted > > just curious: why do you want to eliminate every second line of an image? > > hth > > Bernd > > > > Josh Mellicker wrote: >> >> Here's one for the image processing gurus out there: >> >> How difficult is it to take an image, and create a new image >> containing every OTHER line from it (e.g., just the odd lines) so the >> resulting picture is half the height? >> >> Once you knew the width of the image, isn't it just a loop that >> copies tWidth pixels, then skips the next tWidth, and so on? >> >> Thanks! >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> From hershf at rgllc.us Mon Nov 12 19:12:27 2007 From: hershf at rgllc.us (Hershel Fisch) Date: Mon, 12 Nov 2007 19:12:27 -0500 Subject: Stripping html tags In-Reply-To: Message-ID: On 11/3/07 3:48 AM, "FlexibleLearning at aol.com" wrote: Hi all, I just paid attention to this thread and I tough if my 2 cents could help then I'll share it with you. This is what I use to strip html function fStripHtml tParam replace " " with space in tParam replace "" with return & "" in tParam replace "…" with "," in tParam replace "'" with "'" in tParam replace """ with quote in tParam replace "’" with "'" in tParam replace "“" with quote in tParam replace "”" with quote in tParam replace "&" with "&" in tParam replace "
" with return in tParam replace tab with "" in tParam repeat for each line tL in tParam put tL into tNl put 1 into x repeat for (the number of chars in tnl) times if char x of tNl =">" then put "" into char x of tNl put 0 into d end if if char x of tNl = "<" then put 1 into d end if if d =1 then put "" into char x of tNl else add 1 to x end if end repeat --replace space & space & space & space with space in tNl replace space & space & space with space in tNl --replace space & space with space in tNl if char 1 in tNl = " " then put "" into char 1 in tNl if char -1 in tNl = " " then put "" into char -1 in tNl if tNl <> "" then put tNl & return after tNf end repeat return tNf end fStripHtml Hope it helps . Hershel > > This is a seriously detailed stripper, Jim! > > Small error in syntax: > > replace " should be... > replace "" in pHtml > > Also, a couple of lines were posted html2Txt-mangled. Could you clarify: > ----- > replace " " with space in pHtml > replace " > " with return in pHtml > replace " > > " with return in pHtml > ----- > > If you post the handler as plain text, any html formatted text should be > correctly handled by the emailer. > > > /H > > ------------------------------- > ------------------------------------------------- > function StripTags pHtml > local tRegex,tPrevText > get ("é,à,ç") > get it & (",>,<,ê") > get it & (",è,©,•") > get it & (",',·,&") > -- add more chars if you wish, then... > constant kHtml = it > constant kConvertedHtml = "?,?,?,>,<,?,?,?" > --using contants means you cannot accidentally > -- modify these vars and damage the results > ----- > replace numtochar(13) with empty in pHtml > replace tab with empty in pHtml > replace " ----- > put replacetext(pHtml,"(?Usi)","") into pHtml > put replacetext(pHtml,"(?Usi)","") into pHtml > put replacetext(pHtml,"(?Usi)<\?.*\?>","") into pHtml > ----- > replace " " with space in pHtml > replace " > " with return in pHtml > replace " > > " with return in pHtml > ----- > put "<[^><]*>" into tRegex > put replacetext(pHtml,tRegex,"") into pHtml > put replacetext(pHtml,tRegex,"") into pHtml > > ----- repeat replacements until there are no changes > repeat until tPrevText is pHtml > put pHtml into tPrevText > put replacetext(pHtml," +",space) into pHtml > put replacetext(pHtml,"^ ","") into pHtml > end repeat > ----- > replace (space & return) with return in pHtml > replace (return & space) with return in pHtml > filter pHtml without empty > replace numtochar(160) with empty in pHtml > ----- > replace """ with quote in pHtml > repeat with i = 1 to the number of items of kHtml > replace item i of kHtml with item i of kConvertedHtml in pHtml > end repeat > ----- > --put pHtml into msg --let's you see the result in the msg box > return pHtml > end StripTags > > > Jim Ault > Las Vegas > > ------------------------------------------------ > -------------------------------- > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From francois.chaplais at ensmp.fr Mon Nov 12 19:32:57 2007 From: francois.chaplais at ensmp.fr (=?ISO-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Tue, 13 Nov 2007 01:32:57 +0100 Subject: deleting every other line in an image In-Reply-To: References: Message-ID: <0ebae40d8fa0b0f3e235d74eca303c50@ensmp.fr> Le 13 nov. 07, ? 01:05, Jim Ault a ?crit : > Why not use the Thumbnail Stack that Eric Chatonet has on his tutorial > page? > Just use 1/2 * the Height and get a smoother jpg since you will be > sampling > to get the smaller image. > yes, but the downsizing is probably not performed by the subsampling that Josh wanted (btw, Josh, do you have wavelet or sub-band filtering in mind?) > No need for all the looping and slow pixel-by-pixel work. as I said, it's a different algorithm. > > Jim Ault > Las Vegas > Francois Chaplais 35 rue Saint-Honore 77305 Fontainebleau Cedex France http://cas.ensmp.fr/~chaplais/index-e.html From josh at dvcreators.net Mon Nov 12 19:50:50 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Mon, 12 Nov 2007 16:50:50 -0800 Subject: deleting every other line in an image In-Reply-To: <0ebae40d8fa0b0f3e235d74eca303c50@ensmp.fr> References: <0ebae40d8fa0b0f3e235d74eca303c50@ensmp.fr> Message-ID: <20891F8C-57CA-4B3D-9072-66DE9B2CF5CB@dvcreators.net> On Nov 12, 2007, at 4:32 PM, Fran?ois Chaplais wrote: > > Le 13 nov. 07, ? 01:05, Jim Ault a ?crit : > >> Why not use the Thumbnail Stack that Eric Chatonet has on his >> tutorial page? >> Just use 1/2 * the Height and get a smoother jpg since you will be >> sampling >> to get the smaller image. >> > > yes, but the downsizing is probably not performed by the > subsampling that Josh wanted (btw, Josh, do you have wavelet or sub- > band filtering in mind?) Hi Fran?ois, Wow! I don't need those, but it is very impressive if you have implemented those algorithms! What I am hoping to do is simply throw away every other line and construct a new image only consisting of every other line. I wonder if there is a way to use some kind of crude "nearest neighbor" resizing method where I can resize to 50%, that will not blend the lines but just throw away every other one. > >> No need for all the looping and slow pixel-by-pixel work. > > as I said, it's a different algorithm. >> >> Jim Ault >> Las Vegas >> > Francois Chaplais > 35 rue Saint-Honore > 77305 Fontainebleau Cedex > France > http://cas.ensmp.fr/~chaplais/index-e.html > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From francois.chaplais at ensmp.fr Mon Nov 12 20:15:09 2007 From: francois.chaplais at ensmp.fr (=?ISO-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Tue, 13 Nov 2007 02:15:09 +0100 Subject: deleting every other line in an image In-Reply-To: <20891F8C-57CA-4B3D-9072-66DE9B2CF5CB@dvcreators.net> References: <0ebae40d8fa0b0f3e235d74eca303c50@ensmp.fr> <20891F8C-57CA-4B3D-9072-66DE9B2CF5CB@dvcreators.net> Message-ID: Le 13 nov. 07, ? 01:50, Josh Mellicker a ?crit : > Hi Fran?ois, > > Wow! I don't need those, but it is very impressive if you have > implemented those algorithms! > > What I am hoping to do is simply throw away every other line and > construct a new image only consisting of every other line. > > I wonder if there is a way to use some kind of crude "nearest > neighbor" resizing method where I can resize to 50%, that will not > blend the lines but just throw away every other one. > if you have Photoshop (or an app that accepts photoshop plugins), you may have a look at a very elementary filtering+subsampling series of exercices at http://cas.ensmp.fr/~chaplais/Photoshop_Wavelet_Workout/index.html The programming is based is based on adobe's filter factory, and allows you to experiment on image processing within photoshop with a very simple yet effective programming language. To come back to Rev, I just discovered that Rev had a "Raw" description of images. If I have the time, I will implement the photoshop exercise in Rev. The idea is to provide a free demonstration (i.e., it does not require Matlab or Photoshop...) Ah!! time..... Best, Francois Chaplais 35 rue Saint-Honore 77305 Fontainebleau Cedex France http://cas.ensmp.fr/~chaplais/ From JimAultWins at yahoo.com Mon Nov 12 20:54:34 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 12 Nov 2007 17:54:34 -0800 Subject: deleting every other line in an image In-Reply-To: <20891F8C-57CA-4B3D-9072-66DE9B2CF5CB@dvcreators.net> Message-ID: On 11/12/07 4:50 PM, "Josh Mellicker" wrote: > I wonder if there is a way to use some kind of crude "nearest > neighbor" resizing method where I can resize to 50%, that will not > blend the lines but just throw away every other one. Wilhelm Sanke has an amazing set of image filters (could be more than 100) available in his stacks. ------- his post from Sept 2007 ----------------- Sub-button "import image real size" of the menu of btn "import image" contains a reference to a deleted button "reset imported image unc" and therefore triggers an error dialog. Please, delete the last word "unc" (and the space before "unc") of the wrong button name in the relevant 4 lines of the script or download the corrected version 2 from Sorry for the inconvenience. I dislike such hastily produced bugs, although I seem to be in good company considering the number of new bugs introduced especially with pre- or beta-releases of some programs. "unc" stands for "uncompressed". I had tried to find out the speed difference of retrieving an image from a custom property using "compressed" vs. "uncompressed" imagedata. The result is that resetting an image from uncompressed data is faster for image sizes < 1024, whereas from >1024 on compressed data are faster. Regards, Wilhelm Sanke ------------------------------------------------- Jim Ault Las Vegas On 11/12/07 4:50 PM, "Josh Mellicker" wrote: > > On Nov 12, 2007, at 4:32 PM, Fran?ois Chaplais wrote: > >> >> Le 13 nov. 07, ? 01:05, Jim Ault a ?crit : >> >>> Why not use the Thumbnail Stack that Eric Chatonet has on his >>> tutorial page? >>> Just use 1/2 * the Height and get a smoother jpg since you will be >>> sampling >>> to get the smaller image. >>> >> >> yes, but the downsizing is probably not performed by the >> subsampling that Josh wanted (btw, Josh, do you have wavelet or sub- >> band filtering in mind?) > > Hi Fran?ois, > > Wow! I don't need those, but it is very impressive if you have > implemented those algorithms! > > What I am hoping to do is simply throw away every other line and > construct a new image only consisting of every other line. > > I wonder if there is a way to use some kind of crude "nearest > neighbor" resizing method where I can resize to 50%, that will not > blend the lines but just throw away every other one. From dave at looktowindward.com Mon Nov 12 21:12:12 2007 From: dave at looktowindward.com (Dave) Date: Tue, 13 Nov 2007 02:12:12 +0000 Subject: Problem with more than one open stack In-Reply-To: <40288BD9-D673-4DC0-BE29-326A75C179B1@economy-x-talk.com> References: <86C57D1D-3717-4F7F-9CE2-165EA621CEC1@looktowindward.com> <40288BD9-D673-4DC0-BE29-326A75C179B1@economy-x-talk.com> Message-ID: <6E8CB8E8-5FC4-4DB6-9472-7D760EA6B5E9@looktowindward.com> HI, i tried go stack "Progress Window" set the defaultstack to "Original Stack" And it's works fine in the IDE, but in a standalone, it fails to open the progress window. Any ideas why this might be? Thanks a lot All the Best Dave On 12 Nov 2007, at 02:27, Mark Schonewille wrote: > Hi Dave, > > A quick fix is to set the defaultstack before using "this". > Naturally, you can also change "this stack" into the name of your > stack. > > I don't know whether your script currently allows it, but the > "correct" way of doing this would be to go back to the original > stack after opening the progress window: > > go stack "Progress Window" > go stack "Original Stack" > > and if this causes a problem, try > > go stack "Progress Window" > set the defaultstack to "Original Stack" > > Best regards, > > Mark Schonewille > > -- > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Quickly extract data from your HyperCard stacks with DIFfersifier. > http://differsifier.economy-x-talk.com > > > Op 12-nov-2007, om 3:07 heeft David Burgun het volgende geschreven: > >> Hi, >> >> I have a stack that runs a task that takes a about 2 mins to run. >> While it's working I want to display a simple Progress window, >> this works ok, except the when I Go to the Progress stack, the >> calling stack loses it's context so that references to fields on >> the stack don't get resolved, e.g. "this" stack refers to the >> Progress Stack, not the Driving Stack. >> >> How can I display one stack (e.g. the Progress Stack) have have it >> update, but have code running in another Stack? I am "Sending" >> messages to the Progress stack to set the thumb position every N >> cycles. >> >> Thanks a lot >> All the Best >> Dave >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Mon Nov 12 22:50:03 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 12 Nov 2007 21:50:03 -0600 Subject: Problem with more than one open stack In-Reply-To: <6E8CB8E8-5FC4-4DB6-9472-7D760EA6B5E9@looktowindward.com> References: <86C57D1D-3717-4F7F-9CE2-165EA621CEC1@looktowindward.com> <40288BD9-D673-4DC0-BE29-326A75C179B1@economy-x-talk.com> <6E8CB8E8-5FC4-4DB6-9472-7D760EA6B5E9@looktowindward.com> Message-ID: <47391EEB.6000506@hyperactivesw.com> Dave wrote: > HI, > > i tried > go stack "Progress Window" > set the defaultstack to "Original Stack" > > And it's works fine in the IDE, but in a standalone, it fails to open > the progress window. > > Any ideas why this might be? Usually it means the stack can't be found. Is the progress window a substack of the main stack? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Nov 12 23:00:44 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 12 Nov 2007 22:00:44 -0600 Subject: ResumeStack message... bug? In-Reply-To: <03EA9314-7165-4FA0-A8EA-079891377893@cruzio.com> References: <03EA9314-7165-4FA0-A8EA-079891377893@cruzio.com> Message-ID: <4739216C.1000207@hyperactivesw.com> Mark Swindell wrote: > At the stack level of each of the sub stacks place this script: > > on resumeStack > go stack "AAA" > put "hello"&return after field 1 > end resumeStack > > Now, toggle back and forth, slowly, between the two substack windows so > that each alternately comes to the front. > > What I experience (and another list member confirmed) is this: > > On the first two toggles a resumestack message is sent and "hello" > appears in field 1 of stack "AAA". > On the next two toggles a resumeStack message appears NOT to be sent and > no "hello" appears. > > Then two more "hellos" > Then two "no hellos." I can't quite work out the repercussions entirely, but I think the problem may be due to nested resumeStack messages. The script is opening another stack during its own resumeStack handler, which will trigger the same message in the newly-opened stack. Since that one also has a resumeStack handler with a "go" in it, I think you are getting some kind of recursion as the two bounce back and forth. Try locking messages before issuing the "go" command to see if that helps. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mdswindell at cruzio.com Mon Nov 12 23:34:14 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Mon, 12 Nov 2007 20:34:14 -0800 Subject: ResumeStack message... bug? In-Reply-To: <4739216C.1000207@hyperactivesw.com> References: <03EA9314-7165-4FA0-A8EA-079891377893@cruzio.com> <4739216C.1000207@hyperactivesw.com> Message-ID: <36E94AE9-6450-4B73-8878-FDA7D266C683@cruzio.com> On Nov 12, 2007, at 8:00 PM, J. Landman Gay wrote: > Mark Swindell wrote: > >> At the stack level of each of the sub stacks place this script: >> on resumeStack >> go stack "AAA" >> put "hello"&return after field 1 end resumeStack >> Now, toggle back and forth, slowly, between the two substack >> windows so that each alternately comes to the front. >> What I experience (and another list member confirmed) is this: >> On the first two toggles a resumestack message is sent and >> "hello" appears in field 1 of stack "AAA". >> On the next two toggles a resumeStack message appears NOT to be >> sent and no "hello" appears. >> Then two more "hellos" >> Then two "no hellos." > > I can't quite work out the repercussions entirely, but I think the > problem may be due to nested resumeStack messages. The script is > opening another stack during its own resumeStack handler, which > will trigger the same message in the newly-opened stack. Since that > one also has a resumeStack handler with a "go" in it, I think you > are getting some kind of recursion as the two bounce back and forth. Thank you for the suggestion. There is no go command in the stack that is being visited, only in the two substacks that call the visit to the third (the main stack). But yes, it seems there could be some kind of recursion. I just don't know why or where, or why it only happens alternately, and then functions as it should. > Try locking messages before issuing the "go" command to see if that > helps. Unfortunately lock messages has no effect. ???? From sarah.reichelt at gmail.com Mon Nov 12 23:36:20 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 13 Nov 2007 14:36:20 +1000 Subject: XML Problem? In-Reply-To: References: <20071112124552905584.39806184@sonsothunder.com> Message-ID: On Nov 13, 2007 6:45 AM, Dave wrote: > Hi, > > The < , > and actually part of the XML. I am receiving this > from a .NET WebServices server. > > I thought that XML would expand them out for me, guess not and this > is just a trick for WebServices. Dave, I just found it was OK if I did a couple of replaces first: replace "<" with "<" in fld "FieldXML" replace ">" with ">" in fld "FieldXML" Then it all worked fine. HTH, Sarah From chipp at chipp.com Tue Nov 13 02:51:11 2007 From: chipp at chipp.com (Chipp Walters) Date: Tue, 13 Nov 2007 01:51:11 -0600 Subject: Planning ahead for threads and more interactivity in rev apps In-Reply-To: References: Message-ID: <7aa52a210711122351p5e4060f7j8b684f67167018e1@mail.gmail.com> Hey X, I had to do something like this quite awhile back on XP, and (if I remember correctly) I managed to either shell a .bat or use open process (can't remember which), which returned control immediately to Rev. Then I could watch a temp file and do stuff when it changes. The 'send in time' or 'wait with messages' seemed to work fine for me, no lost mouseclicks or anything. To me it seemed much simpler than actually writing multiple Rev apps which talk w/each other. -C From chipp at chipp.com Tue Nov 13 02:57:06 2007 From: chipp at chipp.com (Chipp Walters) Date: Tue, 13 Nov 2007 01:57:06 -0600 Subject: deleting every other line in an image In-Reply-To: <20891F8C-57CA-4B3D-9072-66DE9B2CF5CB@dvcreators.net> References: <0ebae40d8fa0b0f3e235d74eca303c50@ensmp.fr> <20891F8C-57CA-4B3D-9072-66DE9B2CF5CB@dvcreators.net> Message-ID: <7aa52a210711122357t56ef0a15ld496e96f3abc0575@mail.gmail.com> You can try the resizequality property of an image: set the resizequality of img 1 to "best" --> BILINEAR INTERPOLATION set the resizequality of img 1 to "normal" --> NEAREST NEIGHBOR On Nov 12, 2007 6:50 PM, Josh Mellicker wrote: > > > I wonder if there is a way to use some kind of crude "nearest > neighbor" resizing method where I can resize to 50%, that will not > blend the lines but just throw away every other one. > > > From katir at hindu.org Tue Nov 13 06:13:42 2007 From: katir at hindu.org (Sivakatirswami) Date: Tue, 13 Nov 2007 01:13:42 -1000 Subject: Sticky Menu Bar on OSX Message-ID: <473986E6.2000801@hindu.org> I have a main stack with a substack. In the substack is a group of three pull down buttons File Edit Help intended to be enabled only when distributing as a standalone. Now... it has been a while I can't remember if I set this up using the IDE's menu builder or if I did it manually. My problem is (was) I can't (couldn't) disable it! I can edit the menu bar and then save with the menu bar disabled. and get the full IDE menus back. I no longer see a "menubar" field in the prop inspector for the main stack (I could have sworn in MC and early versions of Rev the stack inspector had a menubar field in the stack inspector, where you enter the group name.... perhaps I'm missing something) If I make stack the top stack, issue an "edit menus" I get the IDE menus back.. than I can check the "Menu Builder"... I uncheck the menu bar option for OSX. the Dialog for the Menu builder is now completely blank, empty, dimmed. I also commented out: --> all handlers ON preopenstack --set the menubar of this stack to "NatchintanaiMenu" -- set the defaultmenubar to "NatchintanaiMenu" END preopenstack I examined custom props of all stack and substacks, no matter where I went I was unable to disable that thing... Each time I saved and re-opened the stack (even after a full quit out of Rev an reboot...) the menu bar keeps coming back and taking over... Finally I got the idea that the menubar prop must be a) completely hidden in the Rev IDE b) the menu builder is buggy and not actually setting the menubar prop to empty when you uncheck it c) Rev forgot to put the menu prop in the stack inspector... leaving me one option: manually, in the msg box "set the menubar of this stack to empty; save this stack" OK it worked! but "Golly Gee Ma" isn't there *any* way to enable and disable a menu bar stack in the Rev IDE? without having to roll your own menubar manager scripts? So this is a long winded window on what happened and a request to ask if we should BugZilla this or, am I just missing some key thing in the IDE? skts From janschenkel at yahoo.com Tue Nov 13 06:59:40 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 13 Nov 2007 03:59:40 -0800 (PST) Subject: Rev cgi on Win 2K server, anyone ? In-Reply-To: <47358BDD.CF1F1C24@club-internet.fr> Message-ID: <568551.96782.qm@web60516.mail.yahoo.com> --- jbv wrote: > > the version() function returns 2.6.1 > so I put revdb.dll into > C:\cgi-bin\components\global environment\ > and the dbmysql.dll driver in the same folder > cgi-bin as > the Rev cgi exe. > > when using try / catch I get the floowing : > > 219,15,8,revOpenDatabase > 223,15,1 > > and line 15 of my script contains > > get revOpenDatabase("mysql","localhost", etc > > I don't know if that means anything to anybody... > btw, is there any errors list available somewhere ? > > Meanwhile I've got an answer from runrev support, > saying > that from version 2.5 devDB and revXML libs were > included > in the engine, at least for Linux... but I don't > know if that's > also valid for windows versions... > > Thanks, > JB > Hi JB, I'm a little surprised that you have version 2.6.1 - as far as I know, the last CGI release forWindows was version 2.0, which you can get from: And for extra confusion, this will show the (good old Metacard engine) version 2.5 Now, if my memory serves me well, the database driver format changed around Revolution 2.5 - so to make sure you have a compatible revdb.dll en database drivers, download the 2.0 distribution revolution.zip at: Assuming that you're putting everything into the c:\cgi-bin\ directory, make a subdirectory: c:\cgi-bin\database_drivers\ Toss all the database driver .dll's from the Revolution distribution: Revolution 2.0.3\components/global environment\database_drivers\Win32\ into this new directory: - dbmysql.dll - dbodbc.dll - dboracle.dll - dbpostgresql.dll - dbvalentina.dll - vxcmd.dll As I haven't tried it yet with MySQL or PostgreSQL, you may also have to copy: - libmysql.dll - libpq.dll from the root directory of the Rev distribution. Then, make sure to set the databse driver path from your cgi script. ## on startup revSetDatabaseDriverPath "./database_drivers/" -- now the rest of your cgi script ... end startup ## That's how I got it working just fine, using ODBC to connect to a Progress database. Hope this helped, 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) ____________________________________________________________________________________ Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/ From andre at andregarzia.com Tue Nov 13 09:26:31 2007 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 13 Nov 2007 12:26:31 -0200 Subject: Stripping html tags In-Reply-To: References: Message-ID: <7c87a2a10711130626t53b472c4m3966a22976a31de6@mail.gmail.com> Hello Friends, since we're all sharing routines in here, then here goes a tricky one. This routine should convert the htmltext content of a field to XHTML that can be used in a standard compliant page. This routine is slow and expensive. It is not stripping html, but since we're in the topic of processing html tags I thought I'd share this... function htmltexttoxhtml p1 ## I really wish this function was not so expensive. ## It has so many loops in it, always checking for RegEx. ## ## It should take care of most of Revolution htmltext weirdness. ## --> Convert h1..h6 back to header tags (instead of FONT + SIZE + EXTRA PARAGRAPHS) ## --> Eliminate extra paragraphs and breaks (from left and from right) ## --> Eliminate colors, sizes, font faces and tags. ## ## It is an expensive function but revolution is *fast* local tM, t1, t2 ## first we normalize things into CRs... replace "

" & cr with cr in p1 -- popular in htmltext.. replace "

" with cr in p1 -- don't know if this happens without a cr... replace "
" with cr in p1 replace "
" with cr in p1 ## then we trim them... repeat while ((char -1 of p1 is " ") or (char -1 of p1 is cr)) -- trim end. delete char -1 of p1 end repeat repeat while ((char 1 of p1 is " ") or (char 1 of p1 is cr ))-- trim start. delete char 1 of p1 end repeat --replace "

" & cr with empty in p1 --replace "

" with empty in p1 replace cr with "
" in p1 ## take care of colors... colors should go into the CSS. put format("color=\"([^\"]*)\"") into tREGEX put matchtext(p1, tREGEX, t1) into t2 repeat while t2 is true replace format("color=\"%s\"", t1) with empty in p1 put matchtext(p1, tREGEX, t1) into t2 end REPEAT ## take care of font faces... font faces should go into the CSS. put format("face=\"([^\"]*)\"") into tREGEX put matchtext(p1, tREGEX, t1) into t2 repeat while t2 is true replace format("face=\"%s\"", t1) with empty in p1 put matchtext(p1, tREGEX, t1) into t2 end REPEAT ## take care of h1 put format("

([^<]*)

") into tREGEX put matchtext(p1, tREGEX, t1) into t2 repeat while t2 is true replace format("

%s

", t1) with format("

%s

", t1) in p1 put matchtext(p1, tREGEX, t1) into t2 end REPEAT ## take care of h2 put format("

([^<]*)

") into tREGEX put matchtext(p1, tREGEX, t1) into t2 repeat while t2 is true replace format("

%s

", t1) with format("

%s

", t1) in p1 put matchtext(p1, tREGEX, t1) into t2 end REPEAT ## take care of h3 put format("

([^<]*)

") into tREGEX put matchtext(p1, tREGEX, t1) into t2 repeat while t2 is true replace format("

%s

", t1) with format("

%s

", t1) in p1 put matchtext(p1, tREGEX, t1) into t2 end REPEAT ## take care of h4 put format("

([^<]*)

") into tREGEX put matchtext(p1, tREGEX, t1) into t2 repeat while t2 is true replace format("

%s

", t1) with format("

%s

", t1) in p1 put matchtext(p1, tREGEX, t1) into t2 end REPEAT ## take care of h5 put format("

([^<]*)

") into tREGEX put matchtext(p1, tREGEX, t1) into t2 repeat while t2 is true replace format("

%s

", t1) with format("
%s
", t1) in p1 put matchtext(p1, tREGEX, t1) into t2 end REPEAT ## take care of size... size should go into the CSS. put format("size=\"([^\"]*)\"") into tREGEX put matchtext(p1, tREGEX, t1) into t2 repeat while t2 is true replace format("size=\"%s\"", t1) with empty in p1 put matchtext(p1, tREGEX, t1) into t2 end REPEAT replace "" with empty in p1 replace "" with empty in p1 replace "" with empty in p1 replace "

" with empty in p1 replace "

" with cr in p1 return p1 end htmltexttoxhtml From probinson244 at btinternet.com Tue Nov 13 10:26:54 2007 From: probinson244 at btinternet.com (Paul Robinson) Date: Tue, 13 Nov 2007 15:26:54 -0000 Subject: browser script error help Message-ID: <000901c82609$9f66ba50$4001a8c0@pc10> Hello can any one help me? I downloaded the browser demo accompanying stack for this section here. http://www.runrev.com/newsletter/may/issue26/Browser_Demo.rev.zip I made a few changes like ive added a drop down menu to allow a choice of URL to be populated into field URL but if I dont start the browser first I get a scrip error likewise if I try any button befor starting the browser i get a scrip error Is there a way to start the browser with the URL say google.com when the card loads? to avoid this error or is there something I don't understand yet? Many thanks Very new newbie!!! Paul UK From xavier.bury at googlemail.com Tue Nov 13 03:02:43 2007 From: xavier.bury at googlemail.com (Xavier Bury) Date: Tue, 13 Nov 2007 09:02:43 +0100 Subject: Planning ahead for threads and more interactivity in rev apps In-Reply-To: <7aa52a210711122351p5e4060f7j8b684f67167018e1@mail.gmail.com> References: <7aa52a210711122351p5e4060f7j8b684f67167018e1@mail.gmail.com> Message-ID: <81eb34c40711130002i7953b8fek2e02ca8b619df536@mail.gmail.com> The communications is what i didn't need. The 3 apps I made are a reporter which pulls the info, a bat generator - generates what needs to be launched and a monitor which also kills zombie processes. The bat generator creates the batches (never too many) and launches a bat that runs alls batches. I might do some db storage with it later but not planed or needed for the moment. The tricky part was to know which process is which that was hung or launched by this process and that was resolved by tracking the cmd's PID's with pstool from sysinternal.com. Nice and easy... On Nov 13, 2007 8:51 AM, Chipp Walters wrote: > Hey X, > > I had to do something like this quite awhile back on XP, and (if I > remember > correctly) I managed to either shell a .bat or use open process (can't > remember which), which returned control immediately to Rev. Then I could > watch a temp file and do stuff when it changes. The 'send in time' or > 'wait > with messages' seemed to work fine for me, no lost mouseclicks or > anything. > > To me it seemed much simpler than actually writing multiple Rev apps which > talk w/each other. > > -C > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Tue Nov 13 12:05:51 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 13 Nov 2007 11:05:51 -0600 Subject: browser script error help In-Reply-To: <000901c82609$9f66ba50$4001a8c0@pc10> References: <000901c82609$9f66ba50$4001a8c0@pc10> Message-ID: <20071113110551891988.744b78d4@sonsothunder.com> On Tue, 13 Nov 2007 15:26:54 -0000, Paul Robinson wrote: > Is there a way to start the browser with the URL say google.com when the > card loads? to avoid this error or is there something I don't understand > yet? Sure - here's what I've used: (The browser is drawn in an image control called "browserimage"; and there's a group called "WebBar" that contains a field for the location ("Location"), as well as a "Go" button) on preOpenCard -- We pass the windowId of the stack to revBrowser -- so that it can determine which window to place the -- browser object into put the windowid of this stack into tWinID -- Open the browser, using the windowId and initial url put revBrowserOpen(tWinID,"http://www.google.com") into sBrowserId set the uBrowserID of this stack to sBrowserID -- Set some basic properties for the browser revBrowserSet sBrowserId,"rect",rect of img "browserimage" revBrowserSet sBrowserId,"showborder","true" put "" into fld "Location" enable group "WebBar" end preOpenCard Hope this helps, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From klaus at major-k.de Tue Nov 13 12:57:48 2007 From: klaus at major-k.de (Klaus Major) Date: Tue, 13 Nov 2007 18:57:48 +0100 Subject: ResumeStack message... bug? In-Reply-To: <36E94AE9-6450-4B73-8878-FDA7D266C683@cruzio.com> References: <03EA9314-7165-4FA0-A8EA-079891377893@cruzio.com> <4739216C.1000207@hyperactivesw.com> <36E94AE9-6450-4B73-8878-FDA7D266C683@cruzio.com> Message-ID: Hi Jaqueline, hi Mark, > On Nov 12, 2007, at 8:00 PM, J. Landman Gay wrote: > >> Mark Swindell wrote: >> >>> At the stack level of each of the sub stacks place this script: >>> on resumeStack >>> go stack "AAA" >>> put "hello"&return after field 1 end resumeStack >>> Now, toggle back and forth, slowly, between the two substack >>> windows so that each alternately comes to the front. >>> What I experience (and another list member confirmed) is this: >>> On the first two toggles a resumestack message is sent and >>> "hello" appears in field 1 of stack "AAA". >>> On the next two toggles a resumeStack message appears NOT to be >>> sent and no "hello" appears. >>> Then two more "hellos" >>> Then two "no hellos." >> I can't quite work out the repercussions entirely, but I think the >> problem may be due to nested resumeStack messages. The script is >> opening another stack during its own resumeStack handler, which >> will trigger the same message in the newly-opened stack. Since that >> one also has a resumeStack handler with a "go" in it, I think you >> are getting some kind of recursion as the two bounce back and forth. > Thank you for the suggestion. > There is no go command in the stack that is being visited, only in > the two substacks that call the visit to the third (the main > stack). But yes, it seems there could be some kind of > recursion. I just don't know why or where, or why it only happens > alternately, and then functions as it should. > >> Try locking messages before issuing the "go" command to see if that >> helps. > > Unfortunately lock messages has no effect. ???? I have the feeling that "resume-/suspendstack" is not send reliably. I have routines that change the menus/menubarbar(s) of my stacks dynamically (maybe you remember my problem, Jaque) and sometimes this simply does not work, but I still did not find any recipe/legality for this phenomenon. Regards Klaus Major klaus at major-k.de http://www.major-k.de From jacque at hyperactivesw.com Tue Nov 13 12:59:47 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 13 Nov 2007 11:59:47 -0600 Subject: Sticky Menu Bar on OSX In-Reply-To: <473986E6.2000801@hindu.org> References: <473986E6.2000801@hindu.org> Message-ID: <4739E613.30009@hyperactivesw.com> Sivakatirswami wrote: > leaving me one option: manually, in the msg box > > "set the menubar of this stack to empty; save this stack" > > OK it worked! but "Golly Gee Ma" isn't there *any* way > to enable and disable a menu bar stack in the Rev IDE? > without having to roll your own menubar manager scripts? > > So this is a long winded window on what happened and > a request to ask if we should BugZilla this or, am I just > missing some key thing in the IDE? In the Menu Builder there is a checkbox named "Set as menubar on Mac OS", located near the menubar name field in the dialog window. Checking and unchecking that will do what you want. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kee at kagi.com Tue Nov 13 13:17:26 2007 From: kee at kagi.com (Kee Nethery) Date: Tue, 13 Nov 2007 10:17:26 -0800 Subject: username AND password dialog? In-Reply-To: <614A37DD-9C67-4B41-B2CC-B537AB3F2AF6@gmail.com> References: <614A37DD-9C67-4B41-B2CC-B537AB3F2AF6@gmail.com> Message-ID: <15060E04-382F-4404-96B3-B0D97364DF7C@kagi.com> I think the answer is no but figured I'd ask anyway since it seems like such an obvious feature. Is there a standard ask dialog that can have two fields for data entry? One for the username (cleartext) and one for the password (not cleartext)? At present I pop up two separate ask dialogs, one for the username, and one for the password. I know I could spend time and create a stack that looks like a standard login dialog but I really don't want to spend the time. Is there a way to get the ask dialog to do this? Kee Nethery From janschenkel at yahoo.com Tue Nov 13 13:22:31 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 13 Nov 2007 10:22:31 -0800 (PST) Subject: [ANN] Quartam PDF Library joins RevSelect program In-Reply-To: <4731F83B.3090907@fourthworld.com> Message-ID: <1025.8192.qm@web60520.mail.yahoo.com> --- Richard Gaskin wrote: > Congratulations Jan! Good move. > > In my shop the biggest need we have is to be able to > display and search > PDF contents. Anything in the pipeline for those > tasks? > > -- > Richard Gaskin > Managing Editor, revJournal > Hi Richard et al, At this point in time, the focus is on creating PDF files. Even if they're just a bunch of instructions in a text file, reading and interpreting them is not an easy task. Eventually, the library will be extended for such features, but there's plenty to do already to make things as easy as, say, a single line command to print the contents of a stack, consistently across platforms. Cheers, 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) ____________________________________________________________________________________ Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/ From eric.chatonet at sosmartsoftware.com Tue Nov 13 13:29:05 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 13 Nov 2007 19:29:05 +0100 Subject: username AND password dialog? In-Reply-To: <15060E04-382F-4404-96B3-B0D97364DF7C@kagi.com> References: <614A37DD-9C67-4B41-B2CC-B537AB3F2AF6@gmail.com> <15060E04-382F-4404-96B3-B0D97364DF7C@kagi.com> Message-ID: <32C20A3E-7DBA-4464-8C4B-DE18E2AB5236@sosmartsoftware.com> Hi Kee, Le 13 nov. 07 ? 19:17, Kee Nethery a ?crit : > I think the answer is no but figured I'd ask anyway since it seems > like such an obvious feature. > > Is there a standard ask dialog that can have two fields for data > entry? One for the username (cleartext) and one for the password > (not cleartext)? > > At present I pop up two separate ask dialogs, one for the username, > and one for the password. I know I could spend time and create a > stack that looks like a standard login dialog but I really don't > want to spend the time. Is there a way to get the ask dialog to do > this? > > Kee Nethery As Revolution mimics HyperCard regarding to the standard dialogs, there is no built-in dialog as the one you suggest. On the other hand, Rev allows you to build any substack that will be the exact dialog you need. As for having a field that allows to enter a password, you'll find many examples on RevOnline and you might be interested in some tutorials you'll find on my website: . How to Display and Manage Ask Dialogs . How to Display and Manage Answer Dialogs . How to Ask for a Password You will access these tutorials through "Tutorials Picker" a free plugin that interfaces with the So Smart Software website in order to display all available tutorials stacks directly from the web or you can download every tutorial directly. You will find it by going to http://www.sosmartsoftware.com/. Revolution/Plugins or Tutorials section. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From FlexibleLearning at aol.com Tue Nov 13 15:04:39 2007 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Tue, 13 Nov 2007 15:04:39 EST Subject: [ANN] Scripter's Scrapbook 5.2.16 Update Message-ID: www.FlexibleLearning.com/ssbk or www.ssBk.co.uk UPDATE NOW AVAILABLE... THE SCRIPTER'S SCRAPBOOK v5.2.16 Released 13-NOV-2007 This release focuses on access to external files, plugins and Scrapbook archives. It includes a Scrapbook Archive Browser as requested to select and search for what you've already saved, copy code as you need it, preview any attachments, or import any backup Entry into your current Scrapbook; an updated PlugIn manager with selection options; a translucent parked Scrapbook so you can see what may be hidden beneath it on your desktop; and all reported bugs have been addressed. For full details of all improvements and bugfixes, click the "What's New..." button when you check for an update, or see the release notes at http://www.flexiblelearning.com/ssbk/ReadMe.html. YOUR NEXT STEP - Registered and Trial users should update through the Help menu or in the Preferences. - New users and those interested in reviewing the changes since an earlier trial may obtain a free 30-day starter-kit at www.FlexibleLearning.com/ssbk. You will be asked if you wish to obtain the most recent version, and if there is one it can be automatically downloaded for you. - Full size screen shots for both Mac OSX and Windows XP are at www.FlexibleLearning.com/ssbk/preview including useful mouse shortcuts illustrations. FEEDBACK As always, if you have a moment to suggest improvements or request additional features we always appreciate your feedback at www.flexiblelearning.com/ssbkFeedback.htm Hugh Senior FLCo Home of the Scripter's Scrapbook From josh at dvcreators.net Tue Nov 13 16:27:28 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 13 Nov 2007 13:27:28 -0800 Subject: deleting every other line in an image In-Reply-To: <13716667.post@talk.nabble.com> References: <13716667.post@talk.nabble.com> Message-ID: <6B88D8DA-6564-42B7-B5D6-0FF17B1709FB@dvcreators.net> Thanks! This is exactly what I needed! > just curious: why do you want to eliminate every second line of an > image? Video cameras interlace two images taken a fraction of a second apart into a single frame, leading to interlacing artifacts (a serrated edge on fast moving objects). Your script will eliminate one of the fields, thereby isolating a single "time slice" of reality. This comes at the expense of 50% loss in vertical resolution. Luckily, an HD image has 1080 pixels to start with, so 540 pixels vertical is plenty for web use. Thanks, can't wait to try it! On Nov 12, 2007, at 3:34 PM, BNig wrote: > > Hi Josh, > > make a stack with 2 images, call them "P1" and "P2" > load a picture in the inspector into image "p1" > set the width and height to 140 in the inspector > > make a new button > > paste this script into the button > > on mouseUp > put the width of image "P1" into theImagWidth > put the height of image "P1" into theImageHeight > put the imagedata of image "P1" into theDataToWorkon > if theDataToWorkon = "" then exit mouseUp > put length (theDataToWorkon) into HowLong > put empty into destImageData > > -- one Pixel = 4 Bytes = 4 chars > put theImagWidth * 4 into OneRowOfImage > put theImageHeight into soManyPixelRows > > put 0 into theCounter > repeat with i = 1 to (HowLong - OneRowOfImage) step > (OneRowOfImage*2) > put char i to (i + OneRowOfImage-1) of theDataToWorkon after > destImageData > end repeat > > set the width of image "P2" to theImagWidth > -- watch out for images with uneven heigths > set the height of image "P2" to (theImageHeight/2) > set the imagedata of image "P2" to destImageData > end mouseUp > > this should give you in "P2" an image half the height of P1 with every > second line of the original image. > > it works for me, attention, almost no error checking in here, > it is important to have the width and height correct otherwise the > image > will be distorted > > just curious: why do you want to eliminate every second line of an > image? > > hth > > Bernd > > > > Josh Mellicker wrote: >> >> Here's one for the image processing gurus out there: >> >> How difficult is it to take an image, and create a new image >> containing every OTHER line from it (e.g., just the odd lines) so the >> resulting picture is half the height? >> >> Once you knew the width of the image, isn't it just a loop that >> copies tWidth pixels, then skips the next tWidth, and so on? >> >> Thanks! >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > -- > View this message in context: http://www.nabble.com/deleting-every- > other-line-in-an-image-tf4793676.html#a13716667 > 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 stephenREVOLUTION2 at barncard.com Tue Nov 13 17:01:25 2007 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Tue, 13 Nov 2007 14:01:25 -0800 Subject: deleting every other line in an image In-Reply-To: <6B88D8DA-6564-42B7-B5D6-0FF17B1709FB@dvcreators.net> References: <13716667.post@talk.nabble.com> <6B88D8DA-6564-42B7-B5D6-0FF17B1709FB@dvcreators.net> Message-ID: And you don't have 1080p available from the source? That wouldn't be interlaced, methinks. >Thanks! > >This is exactly what I needed! > >>just curious: why do you want to eliminate every second line of an image? > > >Video cameras interlace two images taken a fraction of a second >apart into a single frame, leading to interlacing artifacts (a >serrated edge on fast moving objects). > >Your script will eliminate one of the fields, thereby isolating a >single "time slice" of reality. > >This comes at the expense of 50% loss in vertical resolution. >Luckily, an HD image has 1080 pixels to start with, so 540 pixels >vertical is plenty for web use. > >Thanks, can't wait to try it! > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From revdev at pdslabs.net Tue Nov 13 17:43:47 2007 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 13 Nov 2007 14:43:47 -0800 Subject: font is installed but not listed in Rev In-Reply-To: <200711100751.44119.palcibiades-first@yahoo.co.uk> References: <200711100751.44119.palcibiades-first@yahoo.co.uk> Message-ID: <473A28A3.6090205@pdslabs.net> I just entered this (at least the MacOS X part) as bug #5533: http://quality.runrev.com/qacenter/show_bug.cgi?id=5533 Phil Davis Peter Alcibiades wrote: > This happens in my two installations of Debian - both on Etch and on Lenny. > It does not happen on a couple of Mandrivas, where all fonts installed are > accessible. It still happens on the 2.9 beta. Its the only application I'm > aware of that doesn't see all installed fonts on Debian. > > Very glad to find someone has the same problem on a different OS, as it may > help get to the bottom of it. What fonts are available to you? On Debian, > the 2.9 beta, the ones available (using fontNames in message box) are: > > courier 10 > bitstream charter > terminal > charter > lucidatypewriter > lucidabright > lucida > times > new century schoolbook > helvetica > courier > clean > fixed > > I think this is one or two more than were available in 2.8 - can check if > anyone is curious. Is this the same or different for you? > > The other thing is that not all fonts are available in all sizes, and if you > try to invoke the wrong size it reverts to 10pt. Is this a problem for you > also? > > For instance, for clean, if you pick 48pt, I get what looks like 10. > > Peter From luis at anachreon.co.uk Tue Nov 13 19:05:52 2007 From: luis at anachreon.co.uk (Luis) Date: Wed, 14 Nov 2007 00:05:52 +0000 Subject: deleting every other line in an image In-Reply-To: References: <13716667.post@talk.nabble.com> <6B88D8DA-6564-42B7-B5D6-0FF17B1709FB@dvcreators.net> Message-ID: <473A3BE0.20603@anachreon.co.uk> I think 1080i is interlaced, 1080p is not. Cheers, Luis. Stephen Barncard wrote: > And you don't have 1080p available from the source? That wouldn't be > interlaced, methinks. > > >> Thanks! >> >> This is exactly what I needed! >> >>> just curious: why do you want to eliminate every second line of an >>> image? >> >> >> Video cameras interlace two images taken a fraction of a second apart >> into a single frame, leading to interlacing artifacts (a serrated edge >> on fast moving objects). >> >> Your script will eliminate one of the fields, thereby isolating a >> single "time slice" of reality. >> >> This comes at the expense of 50% loss in vertical resolution. Luckily, >> an HD image has 1080 pixels to start with, so 540 pixels vertical is >> plenty for web use. >> >> Thanks, can't wait to try it! >> > From hughesmike2 at hotmail.com Tue Nov 13 20:08:30 2007 From: hughesmike2 at hotmail.com (Mike Hughes) Date: Wed, 14 Nov 2007 01:08:30 +0000 Subject: Of Tiger Stripes and Blue Leopards Message-ID: Hi All, I'm interested in people's thoughts about the "modeless" stacks turning light blue in Leopard. The brushed metal turns grey which is indeed supposed to happen with Apple's revised system UI but what about this light blue modeless stuff? Is Apple doing away with Tiger's subtle pin stripes? i.e., should I replicate the pin stripes or let things go blue? Best Regards, Mike _________________________________________________________________ Boo!?Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews From josh at dvcreators.net Tue Nov 13 20:51:11 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 13 Nov 2007 17:51:11 -0800 Subject: deleting every other line in an image In-Reply-To: <473A3BE0.20603@anachreon.co.uk> References: <13716667.post@talk.nabble.com> <6B88D8DA-6564-42B7-B5D6-0FF17B1709FB@dvcreators.net> <473A3BE0.20603@anachreon.co.uk> Message-ID: This is correct. "i" = interlaced "p" = progressive Many people shoot in non-interlaced modes nowadays, but some don't, and there is "legacy" footage... On Nov 13, 2007, at 4:05 PM, Luis wrote: > I think 1080i is interlaced, 1080p is not. > > Cheers, > > Luis. > > > > Stephen Barncard wrote: >> And you don't have 1080p available from the source? That wouldn't >> be interlaced, methinks. >>> Thanks! >>> >>> This is exactly what I needed! >>> >>>> just curious: why do you want to eliminate every second line of >>>> an image? >>> >>> >>> Video cameras interlace two images taken a fraction of a second >>> apart into a single frame, leading to interlacing artifacts (a >>> serrated edge on fast moving objects). >>> >>> Your script will eliminate one of the fields, thereby isolating a >>> single "time slice" of reality. >>> >>> This comes at the expense of 50% loss in vertical resolution. >>> Luckily, an HD image has 1080 pixels to start with, so 540 pixels >>> vertical is plenty for web use. >>> >>> Thanks, can't wait to try 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 josh at dvcreators.net Tue Nov 13 21:31:14 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 13 Nov 2007 18:31:14 -0800 Subject: deleting every other line in an image In-Reply-To: <13716667.post@talk.nabble.com> References: <13716667.post@talk.nabble.com> Message-ID: <0BFB098C-B2FC-4854-802F-6B580A93B9E6@dvcreators.net> Hello Bernd, I tried and tried but could not get the script to work. It produces an image with half the content widthwise, and I am still trying to get it to copy every other complete line... Here is a typical source image: http://revcoders.org/resources/temp.png You can see the obvious interlacing, as the dolphin was saying "yes" to the question "would you like a fish?" I am attempting to copy every other line to a new image, then set the width to half as well so the picture maintains its aspect ratio. Does your script work with that image? Thanks! On Nov 12, 2007, at 3:34 PM, BNig wrote: > > Hi Josh, > > make a stack with 2 images, call them "P1" and "P2" > load a picture in the inspector into image "p1" > set the width and height to 140 in the inspector > > make a new button > > paste this script into the button > > on mouseUp > put the width of image "P1" into theImagWidth > put the height of image "P1" into theImageHeight > put the imagedata of image "P1" into theDataToWorkon > if theDataToWorkon = "" then exit mouseUp > put length (theDataToWorkon) into HowLong > put empty into destImageData > > -- one Pixel = 4 Bytes = 4 chars > put theImagWidth * 4 into OneRowOfImage > put theImageHeight into soManyPixelRows > > put 0 into theCounter > repeat with i = 1 to (HowLong - OneRowOfImage) step > (OneRowOfImage*2) > put char i to (i + OneRowOfImage-1) of theDataToWorkon after > destImageData > end repeat > > set the width of image "P2" to theImagWidth > -- watch out for images with uneven heigths > set the height of image "P2" to (theImageHeight/2) > set the imagedata of image "P2" to destImageData > end mouseUp > > this should give you in "P2" an image half the height of P1 with every > second line of the original image. > > it works for me, attention, almost no error checking in here, > it is important to have the width and height correct otherwise the > image > will be distorted > > just curious: why do you want to eliminate every second line of an > image? > > hth > > Bernd > > > > Josh Mellicker wrote: >> >> Here's one for the image processing gurus out there: >> >> How difficult is it to take an image, and create a new image >> containing every OTHER line from it (e.g., just the odd lines) so the >> resulting picture is half the height? >> >> Once you knew the width of the image, isn't it just a loop that >> copies tWidth pixels, then skips the next tWidth, and so on? >> >> Thanks! >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > -- > View this message in context: http://www.nabble.com/deleting-every- > other-line-in-an-image-tf4793676.html#a13716667 > 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 pmbrig at gmail.com Tue Nov 13 21:35:29 2007 From: pmbrig at gmail.com (Peter Brigham) Date: Tue, 13 Nov 2007 21:35:29 -0500 Subject: (mac) application menu Message-ID: <791DB50E-6B1C-4D34-B4DA-7FCBA1F276A8@gmail.com> OK, so there's obviously something(s) I don't get about what happens with the "quit" menu item in the application menu when I make a standalone. The bottom item in the "file" menu is treated as a quit command and is moved on the mac to the bottom of the application menu, and appears as "quit ". This much is clear. Two mysteries for me (I'm developing on a Mac): Problem 1. Recipe: make a new stack. Use the menubuilder to make the minimal menubar ("uMenubar" -- file, edit, help), and use the autoscript builder to make the basic menupick scripts for each button. Put "answer" commands in each menupick switch case to show which menuitem you have selected, eg, ... case "open" answer "you're trying to open something" as sheet break case "quit" answer "you're trying to quit" as sheet break end switch Run it in the IDE -- fine, everything prompts the expected answer dialogs, and you can't quit from the File->Quit menuitem, since the switch statement intercepts it with a bare answer command. Now make the stack into a standalone, setting the menubar of the stack to "uMenubar" -- everything works as expected except that selecting "quit " from the application menu results in a peremptory quit -- no answer dialog saying "you're trying to quit". So I thought maybe the message is actually not just "quit" but "quit " so I changed the switch & case statements to read "case pWhich contains "quit" -- but still no dialog, just a peremptory quit. Obviously the system is catching the message and the rev engine in the app never sees it. Same with the command-Q keyboard shortcut -- the commandkeydown handler in the main stack script never sees it, though it intercepts all the other keyboard menu equivalents. All of the above occurs in a simple test stack as prescribed above. What is even stranger is that in the only slightly more complex stack I have been trying to turn into an app (for collecting, sharing, and printing recipes), I have the *opposite* problem -- when I turn it into a standalone, selecting the "quit" item from the application menu does **nothing at all**. Nada. Neither does the command-q shortcut (which I scripted for), except the application menu hilites briefly. The only way I can quit the app is to click the close box. Which is fine, but the menu choice & the keyboard equivalent should work too. Windows folks will expect to quit with the close box, but Mac folks will be more likely to use the menu or the keyboard. How do I catch the quit message when the user selects it from the app menu or does a command-q? -- I need to perform some housekeeping and save operations, write the data to a file, etc. before the app closes: something like saveDataToFile; cleanUpStuff; pass "quit". I tried catching the closeStackRequest message but that never gets triggered by the "quit" menuitem either, or by cmd-q. There is something fundamental that I don't understand about the myApp>quit menu for a Mac standalone. Can someone explicate this? Problem 2. When I first created my recipe stack I named things somewhat hastily, and I tried once when I was mostly done to create a standalone, then went back to revise a bunch of things. As I developed it further I renamed the stack file and the main stack, which was originally named "recipeFile". I also chose a different name in the standalone preferences for the eventual application. When I converted it to a standalone finally, it was named properly in the Finder (as specified in the standalone preferences), but the application name as it appears in the application menu on the mac (and in the "quit " menuitem) is the original name of the main stack, "recipeFile". And nothing I do results in altering this. I have changed the name of the main stack, the label of the main stack, the name of the application bundle in the standalone preferences, the name of the stack file, but the old "recipeFile" stubbornly continues to be what appears next to the apple menu in the standalone, and in the "quit" item of that menu. There is *nothing* now in the stack file that bears the name "recipeFile" -- not the name of the stack in the Finder, not the main stack name, not the main stack label, nothing. I don't know where the standalone builder is getting the string "recipeFile" from at this point. Did it somehow save it from when I originally tried to make the first standalone? If someone can try this to check it for me: create a stack, name it something, then turn it into a standalone. Now rename the stack in the finder, rename the main stack, change the label on the main stack, change the app name in the standalone builder settings, and make another standalone. Does the application menu title change? and if so, what to? The new main stack name? the new application name as specified in the standalone builder settings? I'm not sure if I'm more worried that this is a reproducible bug, or that it's some weird quirk of my system, but in either case I need to fix it. I'm running Studio 2.8.1 build 471 on OSX 10.4.10 on an iBook G4. I'm getting bald from tearing my hear out. I do *not* want to have to make a whole new main stack from scratch just so I can name it properly from the beginning! -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig/ -- Oh, no, not another learning experience! From hughesmike2 at hotmail.com Tue Nov 13 21:49:20 2007 From: hughesmike2 at hotmail.com (Mike Hughes) Date: Wed, 14 Nov 2007 02:49:20 +0000 Subject: (mac) application menu In-Reply-To: <791DB50E-6B1C-4D34-B4DA-7FCBA1F276A8@gmail.com> References: <791DB50E-6B1C-4D34-B4DA-7FCBA1F276A8@gmail.com> Message-ID: Hi Peter, I'm not sure about Problem 2 but regarding Problem 1, you need to trap an AppleEvent in order for a standalone to perform some activities before quitting. For example, put this script in your main stack script and when theClass = "aevt" and theID = "quit", you can successfully trap the program before it quits. eg. on appleEvent theClass,theID if theClass = "aevt" and theID = "quit" then -- do something quit end if end appleEvent Best Regards, Mike > > Problem 1. Recipe: make a new stack. Use the menubuilder to make the > minimal menubar ("uMenubar" -- file, edit, help), and use the > autoscript builder to make the basic menupick scripts for each > button. Put "answer" commands in each menupick switch case to show > which menuitem you have selected, eg, > ... > case "open" > answer "you're trying to open something" as sheet > break > case "quit" > answer "you're trying to quit" as sheet > break > end switch > > Run it in the IDE -- fine, everything prompts the expected answer > dialogs, and you can't quit from the File->Quit menuitem, since the > switch statement intercepts it with a bare answer command. Now make > the stack into a standalone, setting the menubar of the stack to > "uMenubar" -- everything works as expected except that selecting > "quit " from the application menu results in a peremptory quit > -- no answer dialog saying "you're trying to quit". So I thought > maybe the message is actually not just "quit" but "quit " so I > changed the switch & case statements to read "case pWhich contains > "quit" -- but still no dialog, just a peremptory quit. Obviously the > system is catching the message and the rev engine in the app never > sees it. Same with the command-Q keyboard shortcut -- the > commandkeydown handler in the main stack script never sees it, though > it intercepts all the other keyboard menu equivalents. > > All of the above occurs in a simple test stack as prescribed above. > What is even stranger is that in the only slightly more complex stack > I have been trying to turn into an app (for collecting, sharing, and > printing recipes), I have the *opposite* problem -- when I turn it > into a standalone, selecting the "quit" item from the application > menu does **nothing at all**. Nada. Neither does the command-q > shortcut (which I scripted for), except the application menu hilites > briefly. The only way I can quit the app is to click the close box. > Which is fine, but the menu choice & the keyboard equivalent should > work too. Windows folks will expect to quit with the close box, but > Mac folks will be more likely to use the menu or the keyboard. > > How do I catch the quit message when the user selects it from the app > menu or does a command-q? -- I need to perform some housekeeping and > save operations, write the data to a file, etc. before the app > closes: something like saveDataToFile; cleanUpStuff; pass "quit". I > tried catching the closeStackRequest message but that never gets > triggered by the "quit" menuitem either, or by cmd-q. > > There is something fundamental that I don't understand about the > myApp>quit menu for a Mac standalone. Can someone explicate this? _________________________________________________________________ Peek-a-boo FREE Tricks & Treats for You! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us From mark at maseurope.net Tue Nov 13 22:21:21 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 13 Nov 2007 19:21:21 -0800 Subject: deleting every other line in an image In-Reply-To: <0BFB098C-B2FC-4854-802F-6B580A93B9E6@dvcreators.net> References: <13716667.post@talk.nabble.com> <0BFB098C-B2FC-4854-802F-6B580A93B9E6@dvcreators.net> Message-ID: Josh, does this do what you want? on stripAltLines pImg put the imagedata of img pImg into tData put the width of img pImg * 4 into bytesPerLine put the height of img pImg into numLines repeat with n = 2 to numLines step 2 put char (((n -1) * bytesPerLine) + 1) to (n * bytesPerLine) of tData into tLine put tLine & tLine after newData end repeat set the imagedata of img pImg to newData end stripAltLines Best, Mark On 13 Nov 2007, at 18:31, Josh Mellicker wrote: > Hello Bernd, > > I tried and tried but could not get the script to work. > > It produces an image with half the content widthwise, and I am > still trying to get it to copy every other complete line... > > Here is a typical source image: > > http://revcoders.org/resources/temp.png > > You can see the obvious interlacing, as the dolphin was saying > "yes" to the question "would you like a fish?" > > I am attempting to copy every other line to a new image, then set > the width to half as well so the picture maintains its aspect ratio. > > Does your script work with that image? > > Thanks! > > > On Nov 12, 2007, at 3:34 PM, BNig wrote: > >> >> Hi Josh, >> >> make a stack with 2 images, call them "P1" and "P2" >> load a picture in the inspector into image "p1" >> set the width and height to 140 in the inspector >> >> make a new button >> >> paste this script into the button >> >> on mouseUp >> put the width of image "P1" into theImagWidth >> put the height of image "P1" into theImageHeight >> put the imagedata of image "P1" into theDataToWorkon >> if theDataToWorkon = "" then exit mouseUp >> put length (theDataToWorkon) into HowLong >> put empty into destImageData >> >> -- one Pixel = 4 Bytes = 4 chars >> put theImagWidth * 4 into OneRowOfImage >> put theImageHeight into soManyPixelRows >> >> put 0 into theCounter >> repeat with i = 1 to (HowLong - OneRowOfImage) step >> (OneRowOfImage*2) >> put char i to (i + OneRowOfImage-1) of theDataToWorkon >> after >> destImageData >> end repeat >> >> set the width of image "P2" to theImagWidth >> -- watch out for images with uneven heigths >> set the height of image "P2" to (theImageHeight/2) >> set the imagedata of image "P2" to destImageData >> end mouseUp >> >> this should give you in "P2" an image half the height of P1 with >> every >> second line of the original image. >> >> it works for me, attention, almost no error checking in here, >> it is important to have the width and height correct otherwise the >> image >> will be distorted >> >> just curious: why do you want to eliminate every second line of an >> image? >> >> hth >> >> Bernd >> >> >> >> Josh Mellicker wrote: >>> >>> Here's one for the image processing gurus out there: >>> >>> How difficult is it to take an image, and create a new image >>> containing every OTHER line from it (e.g., just the odd lines) so >>> the >>> resulting picture is half the height? >>> >>> Once you knew the width of the image, isn't it just a loop that >>> copies tWidth pixels, then skips the next tWidth, and so on? >>> >>> Thanks! >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> >> -- >> View this message in context: http://www.nabble.com/deleting-every- >> other-line-in-an-image-tf4793676.html#a13716667 >> 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 josh at dvcreators.net Wed Nov 14 01:27:08 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 13 Nov 2007 22:27:08 -0800 Subject: deleting every other line in an image In-Reply-To: References: <13716667.post@talk.nabble.com> <0BFB098C-B2FC-4854-802F-6B580A93B9E6@dvcreators.net> Message-ID: <98DD1946-0927-431C-B8F1-4003DBDB2079@dvcreators.net> Hi Mark, Your script works perfectly! You are a genius!!! Thanks!!!!! On Nov 13, 2007, at 7:21 PM, Mark Smith wrote: > Josh, does this do what you want? > > on stripAltLines pImg > put the imagedata of img pImg into tData > put the width of img pImg * 4 into bytesPerLine > put the height of img pImg into numLines > > repeat with n = 2 to numLines step 2 > put char (((n -1) * bytesPerLine) + 1) to (n * bytesPerLine) > of tData into tLine > put tLine & tLine after newData > end repeat > > set the imagedata of img pImg to newData > end stripAltLines > > Best, > > Mark > > On 13 Nov 2007, at 18:31, Josh Mellicker wrote: > >> Hello Bernd, >> >> I tried and tried but could not get the script to work. >> >> It produces an image with half the content widthwise, and I am >> still trying to get it to copy every other complete line... >> >> Here is a typical source image: >> >> http://revcoders.org/resources/temp.png >> >> You can see the obvious interlacing, as the dolphin was saying >> "yes" to the question "would you like a fish?" >> >> I am attempting to copy every other line to a new image, then set >> the width to half as well so the picture maintains its aspect ratio. >> >> Does your script work with that image? >> >> Thanks! >> >> >> On Nov 12, 2007, at 3:34 PM, BNig wrote: >> >>> >>> Hi Josh, >>> >>> make a stack with 2 images, call them "P1" and "P2" >>> load a picture in the inspector into image "p1" >>> set the width and height to 140 in the inspector >>> >>> make a new button >>> >>> paste this script into the button >>> >>> on mouseUp >>> put the width of image "P1" into theImagWidth >>> put the height of image "P1" into theImageHeight >>> put the imagedata of image "P1" into theDataToWorkon >>> if theDataToWorkon = "" then exit mouseUp >>> put length (theDataToWorkon) into HowLong >>> put empty into destImageData >>> >>> -- one Pixel = 4 Bytes = 4 chars >>> put theImagWidth * 4 into OneRowOfImage >>> put theImageHeight into soManyPixelRows >>> >>> put 0 into theCounter >>> repeat with i = 1 to (HowLong - OneRowOfImage) step >>> (OneRowOfImage*2) >>> put char i to (i + OneRowOfImage-1) of theDataToWorkon >>> after >>> destImageData >>> end repeat >>> >>> set the width of image "P2" to theImagWidth >>> -- watch out for images with uneven heigths >>> set the height of image "P2" to (theImageHeight/2) >>> set the imagedata of image "P2" to destImageData >>> end mouseUp >>> >>> this should give you in "P2" an image half the height of P1 with >>> every >>> second line of the original image. >>> >>> it works for me, attention, almost no error checking in here, >>> it is important to have the width and height correct otherwise >>> the image >>> will be distorted >>> >>> just curious: why do you want to eliminate every second line of >>> an image? >>> >>> hth >>> >>> Bernd >>> >>> >>> >>> Josh Mellicker wrote: >>>> >>>> Here's one for the image processing gurus out there: >>>> >>>> How difficult is it to take an image, and create a new image >>>> containing every OTHER line from it (e.g., just the odd lines) >>>> so the >>>> resulting picture is half the height? >>>> >>>> Once you knew the width of the image, isn't it just a loop that >>>> copies tWidth pixels, then skips the next tWidth, and so on? >>>> >>>> Thanks! >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>>> >>> >>> -- >>> View this message in context: http://www.nabble.com/deleting- >>> every-other-line-in-an-image-tf4793676.html#a13716667 >>> 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 niggemann at uni-wh.de Wed Nov 14 04:21:06 2007 From: niggemann at uni-wh.de (BNig) Date: Wed, 14 Nov 2007 01:21:06 -0800 (PST) Subject: deleting every other line in an image In-Reply-To: <0BFB098C-B2FC-4854-802F-6B580A93B9E6@dvcreators.net> References: <13716667.post@talk.nabble.com> <0BFB098C-B2FC-4854-802F-6B580A93B9E6@dvcreators.net> Message-ID: <13743052.post@talk.nabble.com> Hi Josh, this script works with your picture but gives you an image half the width and heigth of the original on mouseUp put the width of image "P1" into theImagWidth put the height of image "P1" into theImageHeight put the imagedata of image "P1" into theDataToWorkon if theDataToWorkon = "" then exit mouseUp put length (theDataToWorkon) into HowLong put empty into destImageData -- one Pixel = 4 Bytes = 4 chars put theImagWidth * 4 into OneRowOfImage put 0 into theCounter repeat with i = 1 to (HowLong - OneRowOfImage) step (OneRowOfImage*2) put char i to (i + OneRowOfImage-1) of theDataToWorkon after destImageData end repeat set the width of image "P2" to theImagWidth -- watch out for images with uneven heigths set the height of image "P2" to (theImageHeight/2) set the imagedata of image "P2" to destImageData -- now set the width to half set the width of image "P2" to (theImagWidth/2) end mouseUp I had it adapted to double the lines but that is what masmit did in his script, that keeps the original size of the image. Scaling it down gives a crisper image as far as I see. all the best bernd Josh Mellicker wrote: > > Hello Bernd, > > I tried and tried but could not get the script to work. > > It produces an image with half the content widthwise, and I am still > trying to get it to copy every other complete line... > > Here is a typical source image: > > http://revcoders.org/resources/temp.png > > You can see the obvious interlacing, as the dolphin was saying "yes" > to the question "would you like a fish?" > > I am attempting to copy every other line to a new image, then set the > width to half as well so the picture maintains its aspect ratio. > > Does your script work with that image? > > Thanks! > > > On Nov 12, 2007, at 3:34 PM, BNig wrote: > >> >> Hi Josh, >> >> make a stack with 2 images, call them "P1" and "P2" >> load a picture in the inspector into image "p1" >> set the width and height to 140 in the inspector >> >> make a new button >> >> paste this script into the button >> >> on mouseUp >> put the width of image "P1" into theImagWidth >> put the height of image "P1" into theImageHeight >> put the imagedata of image "P1" into theDataToWorkon >> if theDataToWorkon = "" then exit mouseUp >> put length (theDataToWorkon) into HowLong >> put empty into destImageData >> >> -- one Pixel = 4 Bytes = 4 chars >> put theImagWidth * 4 into OneRowOfImage >> put theImageHeight into soManyPixelRows >> >> put 0 into theCounter >> repeat with i = 1 to (HowLong - OneRowOfImage) step >> (OneRowOfImage*2) >> put char i to (i + OneRowOfImage-1) of theDataToWorkon after >> destImageData >> end repeat >> >> set the width of image "P2" to theImagWidth >> -- watch out for images with uneven heigths >> set the height of image "P2" to (theImageHeight/2) >> set the imagedata of image "P2" to destImageData >> end mouseUp >> >> this should give you in "P2" an image half the height of P1 with every >> second line of the original image. >> >> it works for me, attention, almost no error checking in here, >> it is important to have the width and height correct otherwise the >> image >> will be distorted >> >> just curious: why do you want to eliminate every second line of an >> image? >> >> hth >> >> Bernd >> >> >> >> Josh Mellicker wrote: >>> >>> Here's one for the image processing gurus out there: >>> >>> How difficult is it to take an image, and create a new image >>> containing every OTHER line from it (e.g., just the odd lines) so the >>> resulting picture is half the height? >>> >>> Once you knew the width of the image, isn't it just a loop that >>> copies tWidth pixels, then skips the next tWidth, and so on? >>> >>> Thanks! >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> >> -- >> View this message in context: http://www.nabble.com/deleting-every- >> other-line-in-an-image-tf4793676.html#a13716667 >> 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 > > -- View this message in context: http://www.nabble.com/deleting-every-other-line-in-an-image-tf4793676.html#a13743052 Sent from the Revolution - User mailing list archive at Nabble.com. From christian.langers at education.lu Wed Nov 14 05:00:40 2007 From: christian.langers at education.lu (Christian Langers) Date: Wed, 14 Nov 2007 11:00:40 +0100 Subject: Of Tiger Stripes and Blue Leopards In-Reply-To: References: Message-ID: Before reading my mails I already wrote this : Hi all, I don't know if you noticed, but I think there is a difference between Leo running on an Intel Mac and Leo running on a PPC (in relation to Revolution): - on Intel Mac : the REV IDE is light blue ; I think Ken noticed that it has to do with the pinstripes and I wonder if it is a general problem fom the fill objetcts with patterns : as I have a stack where my buttons' backgroundPattern is a .png, these buttons have this blue feature... - on PPC Mac : no problem at all, everything is displaying as it should... I'm no expert, but there seems to be a difference ! ;-) Christian from Luxembourg Well, Ithink this is related to this message, so Mike, you're not alone ;-) Le 14 nov. 07 ? 02:08, Mike Hughes a ?crit : > > Hi All, > > I'm interested in people's thoughts about the "modeless" stacks > turning light blue in Leopard. The brushed metal turns grey which is > indeed supposed to happen with Apple's revised system UI but what > about this light blue modeless stuff? Is Apple doing away with > Tiger's subtle pin stripes? i.e., should I replicate the pin stripes > or let things go blue? > > Best Regards, > > Mike > _________________________________________________________________ > Boo! Scare away worms, viruses and so much more! Try Windows Live > OneCare! > http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From rabit at dimensionB.de Wed Nov 14 05:49:40 2007 From: rabit at dimensionB.de (Ralf Bitter) Date: Wed, 14 Nov 2007 11:49:40 +0100 Subject: ResumeStack message... bug? In-Reply-To: References: <03EA9314-7165-4FA0-A8EA-079891377893@cruzio.com> <4739216C.1000207@hyperactivesw.com> <36E94AE9-6450-4B73-8878-FDA7D266C683@cruzio.com> Message-ID: <3BDABF07-25A9-472D-B408-ACA1F6A94D3A@dimensionB.de> On 13. Nov 2007, at 18:57, Klaus Major wrote: > > I have the feeling that "resume-/suspendstack" is not send reliably. > This is my observation too but I noticed, that the results differ dependent on the operating system. Boy, I spent an incredible amount of time with this subject. At the end I had to tell the customer, that there is a problem I am not able to solve satisfactorily. Ralf Bitter From klaus at major-k.de Wed Nov 14 05:55:00 2007 From: klaus at major-k.de (Klaus Major) Date: Wed, 14 Nov 2007 11:55:00 +0100 Subject: ResumeStack message... bug? In-Reply-To: <3BDABF07-25A9-472D-B408-ACA1F6A94D3A@dimensionB.de> References: <03EA9314-7165-4FA0-A8EA-079891377893@cruzio.com> <4739216C.1000207@hyperactivesw.com> <36E94AE9-6450-4B73-8878-FDA7D266C683@cruzio.com> <3BDABF07-25A9-472D-B408-ACA1F6A94D3A@dimensionB.de> Message-ID: <0E1B11E8-478C-41A8-B293-E50F27154417@major-k.de> Hi Ralf, > On 13. Nov 2007, at 18:57, Klaus Major wrote: >> I have the feeling that "resume-/suspendstack" is not send reliably. > This is my observation too but I noticed, that the results > differ dependent on the operating system. And the problem ist there is no recipe or obvious legality. > Boy, I spent an incredible amount of time with this subject. > At the end I had to tell the customer, that there is a problem > I am not able to solve satisfactorily. Ouch! :-/ To say it in german: Das ist bitter ;-) > Ralf Bitter Best Klaus Major klaus at major-k.de http://www.major-k.de From dave at looktowindward.com Wed Nov 14 07:21:47 2007 From: dave at looktowindward.com (Dave) Date: Wed, 14 Nov 2007 12:21:47 +0000 Subject: Problem with more than one open stack In-Reply-To: <47391EEB.6000506@hyperactivesw.com> References: <86C57D1D-3717-4F7F-9CE2-165EA621CEC1@looktowindward.com> <40288BD9-D673-4DC0-BE29-326A75C179B1@economy-x-talk.com> <6E8CB8E8-5FC4-4DB6-9472-7D760EA6B5E9@looktowindward.com> <47391EEB.6000506@hyperactivesw.com> Message-ID: <40E799B6-EB50-4F56-9AC6-DCE939775632@looktowindward.com> Hi, Thanks that was the problem all right I'd forgotton to add the file to the Standalone Setting. All the Best Dave On 13 Nov 2007, at 03:50, J. Landman Gay wrote: > Dave wrote: >> HI, >> i tried >> go stack "Progress Window" >> set the defaultstack to "Original Stack" >> And it's works fine in the IDE, but in a standalone, it fails to >> open the progress window. >> Any ideas why this might be? > > Usually it means the stack can't be found. Is the progress window a > substack of the main stack? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From shari at gypsyware.com Wed Nov 14 07:27:24 2007 From: shari at gypsyware.com (Shari) Date: Wed, 14 Nov 2007 07:27:24 -0500 Subject: (mac) application menu In-Reply-To: References: <791DB50E-6B1C-4D34-B4DA-7FCBA1F276A8@gmail.com> Message-ID: Couldn't he just capture shutDownRequest? on shutDownRequest cleanUpStuff end shutDownRequest on cleanUpStuff # do all your special quit things here quit # actually quits when you're done saving or changing or whatever end cleanUpStuff or... on cleanUpStuff # do all your special quit things here pass shutDownRequest # let's Rev handle the shutDownRequest and quit as it normally would end cleanUpStuff >Hi Peter, > >I'm not sure about Problem 2 but regarding Problem 1, you need to >trap an AppleEvent in order for a standalone to perform some >activities before quitting. For example, put this script in your >main stack script and when theClass = "aevt" and theID = "quit", you >can successfully trap the program before it quits. eg. > >on appleEvent theClass,theID > if theClass = "aevt" and theID = "quit" then > -- do something > quit > end if >end appleEvent > >Best Regards, > >Mike -- WlND0WS and MAClNT0SH shareware games BIackjack GoId http://www.gypsyware.com From m.schonewille at economy-x-talk.com Wed Nov 14 09:19:40 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 14 Nov 2007 15:19:40 +0100 Subject: (mac) application menu In-Reply-To: <791DB50E-6B1C-4D34-B4DA-7FCBA1F276A8@gmail.com> References: <791DB50E-6B1C-4D34-B4DA-7FCBA1F276A8@gmail.com> Message-ID: Hi Peter, Just make sure to give the standalone the preferred name in the Standalone Application Settings. You will find this name in the General pane. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 14-nov-2007, om 3:35 heeft Peter Brigham het volgende geschreven: > Problem 2. When I first created my recipe stack I named things > somewhat hastily, and I tried once when I was mostly done to create > a standalone, then went back to revise a bunch of things. As I > developed it further I renamed the stack file and the main stack, > which was originally named "recipeFile". I also chose a different > name in the standalone preferences for the eventual application. > When I converted it to a standalone finally, it was named properly > in the Finder (as specified in the standalone preferences), but the > application name as it appears in the application menu on the mac > (and in the "quit " menuitem) is the original name of the > main stack, "recipeFile". And nothing I do results in altering > this. I have changed the name of the main stack, the label of the > main stack, the name of the application bundle in the standalone > preferences, the name of the stack file, but the old "recipeFile" > stubbornly continues to be what appears next to the apple menu in > the standalone, and in the "quit" item of that menu. There is > *nothing* now in the stack file that bears the name "recipeFile" -- > not the name of the stack in the Finder, not the main stack name, > not the main stack label, nothing. I don't know where the > standalone builder is getting the string "recipeFile" from at this > point. Did it somehow save it from when I originally tried to make > the first standalone? From cszasz at mac.com Wed Nov 14 11:12:47 2007 From: cszasz at mac.com (Charles Szasz) Date: Wed, 14 Nov 2007 08:12:47 -0800 (PST) Subject: Problem with closing Windows App Message-ID: <13749957.post@talk.nabble.com> I can quit my Windows application with the Quit command and restart again with no problem. But if I quit the program by using the red "X" in the upper right corner of the application window, and try to start the program again using a shortcut or actually double clicking on the exec. file, the program will NOT start unless I reboot Windows. This is peculiar because the program is no longer in the bar at the bottom of the screen. I am using Windows XP, OS X 10.4.11, Revolution 2.8.1 built 472 and Parallels Build 3214. Does anybody have a suggestion how to correct this problem? -- View this message in context: http://www.nabble.com/Problem-with-closing-Windows-App-tf4806175.html#a13749957 Sent from the Revolution - User mailing list archive at Nabble.com. From eric.chatonet at sosmartsoftware.com Wed Nov 14 11:42:29 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 14 Nov 2007 17:42:29 +0100 Subject: Problem with closing Windows App In-Reply-To: <13749957.post@talk.nabble.com> References: <13749957.post@talk.nabble.com> Message-ID: <16280F0C-B064-4FF4-96A2-D516B7BC659E@sosmartsoftware.com> Hi Charles, Le 14 nov. 07 ? 17:12, Charles Szasz a ?crit : > I can quit my Windows application with the Quit command and restart > again > with no problem. But if I quit the program by using the red "X" in > the upper > right corner of the application window, and try to start the > program again > using a shortcut or actually double clicking on the exec. file, the > program > will NOT start unless I reboot Windows. This is peculiar because the > program is no longer in the bar at the bottom of the screen. Just some tiny thoughts: Do you trigger the 'shutDownRequest' message. Have you pending messages running that should be canceled? Actually, the 'Quit' message seems to force the engine to do some cleanup but clicking on the 'X' box seems straighter. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From devin_asay at byu.edu Wed Nov 14 12:12:42 2007 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 14 Nov 2007 10:12:42 -0700 Subject: Problem with closing Windows App In-Reply-To: <13749957.post@talk.nabble.com> References: <13749957.post@talk.nabble.com> Message-ID: On Nov 14, 2007, at 9:12 AM, Charles Szasz wrote: > > I can quit my Windows application with the Quit command and restart > again > with no problem. But if I quit the program by using the red "X" in > the upper > right corner of the application window, and try to start the > program again > using a shortcut or actually double clicking on the exec. file, the > program > will NOT start unless I reboot Windows. This is peculiar because the > program is no longer in the bar at the bottom of the screen. > > I am using Windows XP, OS X 10.4.11, Revolution 2.8.1 built 472 and > Parallels Build 3214. > > Does anybody have a suggestion how to correct this problem? > -- When I have run into this problem I have solved it by including this in the stack script of your mainstack (the stack you are using to create the standalone): on closeStack if the short name of this stack is the name of me then quit end if end closeStack This sends a quit message whenever the mainstack is closed, or in the case of a standalone, whenever the "engine" stack is closed. HTH Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From martyknapp at comcast.net Wed Nov 14 12:40:12 2007 From: martyknapp at comcast.net (Marty Knapp) Date: Wed, 14 Nov 2007 09:40:12 -0800 Subject: (mac) application menu In-Reply-To: References: <791DB50E-6B1C-4D34-B4DA-7FCBA1F276A8@gmail.com> Message-ID: <473B32FC.4020103@comcast.net> In my experience, capturing the shutDownRequest on a Mac is not reliable. For me it works most of the time, but then it gets me about 1 time out of ten. I've implemented the AppleEvent solution (thanks to Ken Ray) and that has been 100% reliable. Marty Knapp > Couldn't he just capture shutDownRequest? > > on shutDownRequest > cleanUpStuff > end shutDownRequest > > on cleanUpStuff > # do all your special quit things here > quit # actually quits when you're done saving or changing or whatever > end cleanUpStuff > > or... > > on cleanUpStuff > # do all your special quit things here > pass shutDownRequest # let's Rev handle the shutDownRequest and quit > as it normally would > end cleanUpStuff > > > >> Hi Peter, >> >> I'm not sure about Problem 2 but regarding Problem 1, you need to >> trap an AppleEvent in order for a standalone to perform some >> activities before quitting. For example, put this script in your main >> stack script and when theClass = "aevt" and theID = "quit", you can >> successfully trap the program before it quits. eg. >> >> on appleEvent theClass,theID >> if theClass = "aevt" and theID = "quit" then >> -- do something >> quit >> end if >> end appleEvent >> >> Best Regards, >> >> Mike > > From dave at looktowindward.com Wed Nov 14 13:47:58 2007 From: dave at looktowindward.com (Dave) Date: Wed, 14 Nov 2007 18:47:58 +0000 Subject: Read from file problem Message-ID: Hi, I am trying to read text files line by line, but have come across a file that doesn't have consistent line endings. The command I use is: read from file theXMLFilePathName until cr When I looked in the file it has some lines ending in cr, some in lf and some in crlf. How can I read up to either of these characters (cr/lf) ? Thanks a lot All the Best Dave From SimPLsol at aol.com Wed Nov 14 14:42:10 2007 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Wed, 14 Nov 2007 14:42:10 EST Subject: Read from file problem Message-ID: Dave, You could put the file in a variable, then replace "cr" with "lf" (or vice versa). You probably want to use the ASCII number of cr and lf to be safe. PL ************************************** See what's new at http://www.aol.com From briany at qldlearning.com Wed Nov 14 14:51:33 2007 From: briany at qldlearning.com (Brian Yennie) Date: Wed, 14 Nov 2007 11:51:33 -0800 Subject: Read from file problem In-Reply-To: References: Message-ID: <3AAD3259-D5E9-4329-80A5-420091FF56CE@qldlearning.com> Dave, How about something like this. Untested, but the idea is: Read in the lines as if they are all "cr" delimited. If the first character of a line is a linefeed, then you just passed a crlf ending (so just delete the linefeed). For any additional embedded linefeeds, split them off as new lines. read from file theXMLFilePathName until cr put it into tLine if (char 1 of tLine = linefeed) then delete char 1 of tLine replace linefeed with cr in tLine repeat for each line l in tLine processLine l end repeat > Hi, > > I am trying to read text files line by line, but have come across a > file that doesn't have consistent line endings. The command I use is: > > read from file theXMLFilePathName until cr > > When I looked in the file it has some lines ending in cr, some in > lf and some in crlf. > > How can I read up to either of these characters (cr/lf) ? > > Thanks a lot > All the Best > Dave From mfstuart at cox.net Wed Nov 14 15:46:02 2007 From: mfstuart at cox.net (mfstuart) Date: Wed, 14 Nov 2007 12:46:02 -0800 (PST) Subject: How do I create an Icon View Message-ID: <13756153.post@talk.nabble.com> Hi all, On Mac and Win platforms, the Explorer and Finder have an Icon View. Where each icon (and icon name) appear in a grid type of layout? How would I create this type of layout with RunRev? Thanx, Mark Stuart -- View this message in context: http://www.nabble.com/How-do-I-create-an-Icon-View-tf4807893.html#a13756153 Sent from the Revolution - User mailing list archive at Nabble.com. From bvg at mac.com Wed Nov 14 19:52:53 2007 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 15 Nov 2007 01:52:53 +0100 Subject: How do I create an Icon View In-Reply-To: <13756153.post@talk.nabble.com> References: <13756153.post@talk.nabble.com> Message-ID: <4F56581B-400A-4581-B2F7-EB5BAE305878@mac.com> You need buttons which have an icon, but no showBorder, threeD and no hiliteBorder. Look them up in the docu, as well as the icons & border part of the inspector. On 14 Nov 2007, at 21:46, mfstuart wrote: > > Hi all, > > On Mac and Win platforms, the Explorer and Finder have an Icon View. > Where each icon (and icon name) appear in a grid type of layout? > > How would I create this type of layout with RunRev? > > Thanx, > Mark Stuart > -- > View this message in context: http://www.nabble.com/How-do-I-create-an-Icon-View-tf4807893.html#a13756153 > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sarah.reichelt at gmail.com Wed Nov 14 23:35:02 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 15 Nov 2007 14:35:02 +1000 Subject: libURLSetFTPStopTime Message-ID: I seem to be failing to understand the use of the libURLSetFTPStopTime command. The docs say: "When Revolution opens a socket to a host in order to upload or download a file via ftp, or to delete a file, it leaves the connection open for a time after the transaction completes. If another file is requested from the same FTP server during that time, Revolution uses the same socket instead of opening another one. This saves time if you are transferring multiple files with the same server, since the socket does not need to be set up again for each file." However I find that if I am transferring lots of files, that Rev opens a new connection for each file regardless and I rapidly get to a stage where the server is rejecting my commands because I have too many connections open. So I tried increasing this stop time assuming that then it would keep using the same connection for each file transfer, but this was not the case. The solution was to decrease this stop time to make sure that each connection closed as soon after the file transfer as possible. That way I was able to download lots of files in a single session. Dave - are you there? Am I making some logical error or is there something wrong with either the docs or the way this operates? Cheers, Sarah From josh at dvcreators.net Thu Nov 15 00:01:33 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Wed, 14 Nov 2007 21:01:33 -0800 Subject: exportscripts.rev In-Reply-To: References: Message-ID: <522BAC01-F52B-44AD-AE02-DDF040056392@dvcreators.net> Just wanted to let everyone know I updated this little script exporter a little, the new version is here: http://revcoders.org/resources/exportscripts.rev.zip It will now export all your project's scripts as text files every 30 minutes (or whatever time interval you set), into a uniquely numbered folder in a path of your choosing. My apologies for it's primitiveness, I haven't spent much time on it, but it has been a lifesaver for me when I find a day's work has vanished. If anyone wants any other features, let me know. On Mar 26, 2007, at 3:23 PM, Josh Mellicker wrote: > I put together a little stack (with Jim Ault's help- thanks Jim!) > that exports all the scripts of your stacks, substacks, cards and > controls into separate text files in a folder. > > Then, a text editor like TextWrangler will search the whole folder > containing all the scripts from all your project quickly- to locate > a handler, etc., much easier than locating the stack and opening it. > > You can pull up that script into a separate window- handy if you > use a tabbed (single) script window editor like Galaxy and want to > look at multiple scripts at the same time. > > http://leapingbrain.com/stacks/exportscripts.rev.zip > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mfstuart at cox.net Thu Nov 15 00:32:02 2007 From: mfstuart at cox.net (mfstuart) Date: Wed, 14 Nov 2007 21:32:02 -0800 (PST) Subject: How do I create an Icon View In-Reply-To: <4F56581B-400A-4581-B2F7-EB5BAE305878@mac.com> References: <13756153.post@talk.nabble.com> <4F56581B-400A-4581-B2F7-EB5BAE305878@mac.com> Message-ID: <13761136.post@talk.nabble.com> If I may explain a little more... I would like the display to behave like the Icons View. This view is loaded dynamically from say the contents of a folder, or selected rows in a SQL database, or whatever the criteria. Even links to PDF files. User clicks on the icon and the script launches and opens the file. If I were to load each of the icons (an image) and icon text name dynamically onto a form, what kind of container (or object) would I load them into? A table object? Would the contents be something like...? First row: Load the table object with an icon then TAB (as the delimiter) then icon, etc., with the row height say upto something like 80. Alternate row: Name of the icon TAB (as delimiter) then icon, etc. Is this how to approach it? And would I have to set the property of this table object to HTMLtext, or something? Not sure. Thanx again, Mark Stuart ============================================================ Bj?rnke von Gierke wrote: > > You need buttons which have an icon, but no showBorder, threeD and no > hiliteBorder. Look them up in the docu, as well as the icons & border > part of the inspector. > > On 14 Nov 2007, at 21:46, mfstuart wrote: > >> >> Hi all, >> >> On Mac and Win platforms, the Explorer and Finder have an Icon View. >> Where each icon (and icon name) appear in a grid type of layout? >> >> How would I create this type of layout with RunRev? >> >> Thanx, >> Mark Stuart >> -- >> View this message in context: >> http://www.nabble.com/How-do-I-create-an-Icon-View-tf4807893.html#a13756153 >> 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 > > -- View this message in context: http://www.nabble.com/How-do-I-create-an-Icon-View-tf4807893.html#a13761136 Sent from the Revolution - User mailing list archive at Nabble.com. From kray at sonsothunder.com Thu Nov 15 00:38:18 2007 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 14 Nov 2007 23:38:18 -0600 Subject: Problem with closing Windows App In-Reply-To: <13749957.post@talk.nabble.com> References: <13749957.post@talk.nabble.com> Message-ID: <20071114233818610150.50d956ae@sonsothunder.com> On Wed, 14 Nov 2007 08:12:47 -0800 (PST), Charles Szasz wrote: > > I can quit my Windows application with the Quit command and restart again > with no problem. But if I quit the program by using the red "X" in the upper > right corner of the application window, and try to start the program again > using a shortcut or actually double clicking on the exec. file, the program > will NOT start unless I reboot Windows. This is peculiar because the > program is no longer in the bar at the bottom of the screen. > > I am using Windows XP, OS X 10.4.11, Revolution 2.8.1 built 472 and > Parallels Build 3214. > > Does anybody have a suggestion how to correct this problem? Most likely the application process is continuing to run (you can check by opening the Task Manager and look for the name of the executable in the Processes tab). If it's there, terminating the process will allow you to relaunch the app without restarting. But to eliminate the problem, I'd suggest the same thing as Devin... add a quit command to the closeStack handler of the main window. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From bridgeyman at gmail.com Thu Nov 15 00:59:38 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Wed, 14 Nov 2007 22:59:38 -0700 Subject: Scriptlimits Barrier Message-ID: <86ae76bb0711142159v154da586v2e7a391e2c038fde@mail.gmail.com> Hello, I am writing an app in which I would like to save objects to a file, and restore them later. I am able to store all of their properties as XML and restore the object fine in the IDE, but the scriptlimits poses a problem. Because many of these objects need script to be restored, it is impossible to recreate them in a standalone without hitting the scriptlimits barrier. Is there an alternative way around this? Does the scriptlimits apply when you use the copy command? Perhaps I should use a frontscript that acts as the script for different types of objects. Neither of these workarounds sounds particularly clean to me though. If anyone has any experience with this kind of problem I would love to hear your thoughts. Thank You, Bridger Maxwell www.FieryFerret.com From geradamas at yahoo.com Thu Nov 15 01:35:53 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Thu, 15 Nov 2007 06:35:53 +0000 (GMT) Subject: [OT] Mac OS 10.4.11 Message-ID: <695939.36592.qm@web37514.mail.mud.yahoo.com> Well! http://docs.info.apple.com/article.html?artnum=306297 Guess I have to go out and eat poo in the light of my earlier posting:) This update seems extremely good: especially for us who are using PPCs below spec. for Leopard. sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Want ideas for reducing your carbon footprint? Visit Yahoo! For Good http://uk.promotions.yahoo.com/forgood/environment.html From JimAultWins at yahoo.com Thu Nov 15 01:40:35 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 14 Nov 2007 22:40:35 -0800 Subject: exportscripts.rev In-Reply-To: <522BAC01-F52B-44AD-AE02-DDF040056392@dvcreators.net> Message-ID: On 11/14/07 9:01 PM, "Josh Mellicker" wrote: > Just wanted to let everyone know I updated this little script > exporter a little, the new version is here: > http://revcoders.org/resources/exportscripts.rev.zip > It will now export all your project's scripts as text files every 30 > minutes (or whatever time interval you set), into a uniquely numbered > folder in a path of your choosing. > > My apologies for it's primitiveness, I haven't spent much time on it, > but it has been a lifesaver for me when I find a day's work has > vanished. > > If anyone wants any other features, let me know. Check out the altuit plugin revAltArchive.rev It saves the whole stack so the custom props, and all the tweaks to fields, buttons, sub stacks, dialogs get archived as well as the scripts. I use altPlugin palette to display several one-click activate plugins. I do as you, archive all the scripts frequently. I don't have crashes or lost stacks, but I keep all of the scripts in the same folder and do searches with BBEdit for functions and commands as a quick and dirty search library. (of course there are always those fragments you remember and so using grep within BBEdit saves drilling down manually. Thanks for making this available, Josh. Jim Ault Las Vegas From williamdesmet at gmail.com Thu Nov 15 04:11:51 2007 From: williamdesmet at gmail.com (William de Smet) Date: Thu, 15 Nov 2007 10:11:51 +0100 Subject: Multiuser or not multiuser Message-ID: Hi there, I am working on a small restaurant app for my school. Now there is a paper list where you put your name on and choose your lunch. The teacher, who works with disabled children in the restaurant, wants it to be more streamlined so therefore my app. Because the app is put on a Server 2003 with XP clients it needs to be multiuser or not. What I did is that I put on startup the code: on openstack add 1 to fld "inuse" if fld "inuse" = 1 then go stack "order" if fld "inuse" = 2 then answer "Sorry, software in use try again in a few minutes!" then quit stack "order" end if end openstack This doesn't work with clients in a netwerk! Is there a simple way to do wat I want? Could anyone give me an example? I am not that experienced with REV like most of you but I am getting better in it ;-) greetings, William de Smet From viktoras at ekoinf.net Thu Nov 15 04:33:52 2007 From: viktoras at ekoinf.net (viktoras didziulis) Date: Thu, 15 Nov 2007 11:33:52 +0200 Subject: How do I create an Icon View In-Reply-To: <13761136.post@talk.nabble.com> References: <13756153.post@talk.nabble.com> <4F56581B-400A-4581-B2F7-EB5BAE305878@mac.com> <13761136.post@talk.nabble.com> Message-ID: <473C1280.1040902@ekoinf.net> Hi Mark, if I understood you correctly, you need a field which displays contents of a folder (table, database, etc) in a list where icons indicate the type of a resource displayed. Basically you will need to "set the imageSource of char 1 to yourimg" for each line in a field describing a resource. If you wish to show it in 2 or 3 columns - just insert tabs where appropriate, "set the itemdelimiter to tab", and "set the imageSource of char 1 to yourimg" for each item... An example that might serve you as a source of ideas is described (and can be downloaded and reused) at http://www.runrev.com/newsletter/september/issue32/newsletter3.php Viktoras mfstuart wrote: > If I may explain a little more... > I would like the display to behave like the Icons View. This view is loaded > dynamically from say the contents of a folder, or selected rows in a SQL > database, or whatever the criteria. Even links to PDF files. User clicks on > the icon and the script launches and opens the file. > > If I were to load each of the icons (an image) and icon text name > dynamically onto a form, what kind of container (or object) would I load > them into? A table object? > Would the contents be something like...? > First row: > Load the table object with an icon then TAB (as the delimiter) then icon, > etc., with the row height say upto something like 80. > Alternate row: > Name of the icon TAB (as delimiter) then icon, etc. > > Is this how to approach it? > > And would I have to set the property of this table object to HTMLtext, or > something? Not sure. > > Thanx again, > Mark Stuart > ============================================================ > > Bj?rnke von Gierke wrote: > >> You need buttons which have an icon, but no showBorder, threeD and no >> hiliteBorder. Look them up in the docu, as well as the icons & border >> part of the inspector. >> >> On 14 Nov 2007, at 21:46, mfstuart wrote: >> >> >>> Hi all, >>> >>> On Mac and Win platforms, the Explorer and Finder have an Icon View. >>> Where each icon (and icon name) appear in a grid type of layout? >>> >>> How would I create this type of layout with RunRev? >>> >>> Thanx, >>> Mark Stuart >>> -- >>> View this message in context: >>> http://www.nabble.com/How-do-I-create-an-Icon-View-tf4807893.html#a13756153 >>> 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 sarah.reichelt at gmail.com Thu Nov 15 06:20:48 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 15 Nov 2007 21:20:48 +1000 Subject: Multiuser or not multiuser In-Reply-To: References: Message-ID: > I am working on a small restaurant app for my school. > Now there is a paper list where you put your name on and choose your lunch. > The teacher, who works with disabled children in the restaurant, wants it to > be more streamlined so therefore my app. > > Because the app is put on a Server 2003 with XP clients it needs to be > multiuser or not. > What I did is that I put on startup the code: > on openstack > add 1 to fld "inuse" > if fld "inuse" = 1 then go stack "order" > if fld "inuse" = 2 > then answer "Sorry, software in use try again in a few minutes!" > then quit stack "order" > end if > end openstack > > This doesn't work with clients in a netwerk! When the first client gets access to the stack, they need to save it after setting the "inuse" field to 2. Otherwise they are only changing the copy in their own RAM and not doing anything to the copy filed on the server. In the same way, once the client leaves the program, they need to reduce the value of "inuse" and save again. An alternative might be to have a text file on the server that just stores whether the stack is in use, or possibly who is using it. Cheers, Sarah From dave at looktowindward.com Thu Nov 15 07:10:49 2007 From: dave at looktowindward.com (Dave) Date: Thu, 15 Nov 2007 12:10:49 +0000 Subject: Windows Display Problems Message-ID: <9C3898F2-BD39-477A-8794-94E8DC6D34E1@looktowindward.com> Hi, I have an that is built as a standalone, part of it uses a Stack/ Window to show a progress bar. On the Mac it works fine, on Windows however, it doesn't update, the window gets displayed, but the contents of a Text Field and the Progress bar itself never change. Any ideas on what might cause this? All the Best Dave From dave at looktowindward.com Thu Nov 15 07:20:37 2007 From: dave at looktowindward.com (Dave) Date: Thu, 15 Nov 2007 12:20:37 +0000 Subject: Read from file problem In-Reply-To: <3AAD3259-D5E9-4329-80A5-420091FF56CE@qldlearning.com> References: <3AAD3259-D5E9-4329-80A5-420091FF56CE@qldlearning.com> Message-ID: Hi, I tied all this, unfortunately it doesn't work, cos (on Mac anyway) cr = lf = 0x0A, e.g. RunRev maps cr or lf into a lf. Try this in the message box: put chartoNum(lf) && chartoNum(cr) Cheers Dave On 14 Nov 2007, at 19:51, Brian Yennie wrote: > Dave, > > How about something like this. Untested, but the idea is: > > Read in the lines as if they are all "cr" delimited. If the first > character of a line is a linefeed, then you just passed a crlf > ending (so just delete the linefeed). For any additional embedded > linefeeds, split them off as new lines. > > > read from file theXMLFilePathName until cr > put it into tLine > if (char 1 of tLine = linefeed) then delete char 1 of tLine > replace linefeed with cr in tLine > repeat for each line l in tLine > processLine l > end repeat > >> Hi, >> >> I am trying to read text files line by line, but have come across >> a file that doesn't have consistent line endings. The command I >> use is: >> >> read from file theXMLFilePathName until cr >> >> When I looked in the file it has some lines ending in cr, some in >> lf and some in crlf. >> >> How can I read up to either of these characters (cr/lf) ? >> >> Thanks a lot >> All the Best >> Dave > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mb.userev at harbourhosting.co.uk Thu Nov 15 07:47:04 2007 From: mb.userev at harbourhosting.co.uk (Martin Baxter) Date: Thu, 15 Nov 2007 12:47:04 +0000 Subject: Read from file problem In-Reply-To: References: <3AAD3259-D5E9-4329-80A5-420091FF56CE@qldlearning.com> Message-ID: <473C3FC8.3080707@harbourhosting.co.uk> Dave try: open file for binary read ..... I think that should leave the line ending characters intact. Martin Baxter Dave wrote: > Hi, > > I tied all this, unfortunately it doesn't work, cos (on Mac anyway) cr = > lf = 0x0A, e.g. RunRev maps cr or lf into a lf. > > Try this in the message box: > > put chartoNum(lf) && chartoNum(cr) > > Cheers > Dave > > > On 14 Nov 2007, at 19:51, Brian Yennie wrote: > >> Dave, >> >> How about something like this. Untested, but the idea is: >> >> Read in the lines as if they are all "cr" delimited. If the first >> character of a line is a linefeed, then you just passed a crlf ending >> (so just delete the linefeed). For any additional embedded linefeeds, >> split them off as new lines. >> >> >> read from file theXMLFilePathName until cr >> put it into tLine >> if (char 1 of tLine = linefeed) then delete char 1 of tLine >> replace linefeed with cr in tLine >> repeat for each line l in tLine >> processLine l >> end repeat >> >>> Hi, >>> >>> I am trying to read text files line by line, but have come across a >>> file that doesn't have consistent line endings. The command I use is: >>> >>> read from file theXMLFilePathName until cr >>> >>> When I looked in the file it has some lines ending in cr, some in lf >>> and some in crlf. >>> >>> How can I read up to either of these characters (cr/lf) ? >>> >>> Thanks a lot >>> All the Best >>> Dave From lists at mangomultimedia.com Thu Nov 15 07:37:38 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 15 Nov 2007 07:37:38 -0500 Subject: Read from file problem In-Reply-To: References: <3AAD3259-D5E9-4329-80A5-420091FF56CE@qldlearning.com> Message-ID: On Nov 15, 2007, at 7:20 AM, Dave wrote: > I tied all this, unfortunately it doesn't work, cos (on Mac anyway) > cr = lf = 0x0A, e.g. RunRev maps cr or lf into a lf. > > Try this in the message box: > > put chartoNum(lf) && chartoNum(cr) Just use numToChar(10) for linefeed. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From xavier.bury at clearstream.com Thu Nov 15 07:57:37 2007 From: xavier.bury at clearstream.com (xavier.bury at clearstream.com) Date: Thu, 15 Nov 2007 13:57:37 +0100 Subject: Windows Display Problems In-Reply-To: <9C3898F2-BD39-477A-8794-94E8DC6D34E1@looktowindward.com> Message-ID: Hi Dave, I've seen this happen often. Seemingly the application is hung while working (most noticeable on vmware, citrix or Terminal servers)... What works in these cases is giving your monitoring window (progress bar) a real event instead of a "Send" update event. Sending the update event usually means that there is a wait and sometimes this event never seems to get there. Another issue is the lock screen which sometimes doesn't unlock out of context. I may be wrong and never really investigated since im the sole user of my programs which usually run all day long updating things - so when i dont see something updated, i know where to look... Please give us more details how you update your progress bar to get an idea... Regards, ---------------------=--------------------- Xavier Bury use-revolution-bounces at lists.runrev.com wrote on 15/11/2007 13:10:49: > Hi, > > I have an that is built as a standalone, part of it uses a Stack/ > Window to show a progress bar. On the Mac it works fine, on Windows > however, it doesn't update, the window gets displayed, but the > contents of a Text Field and the Progress bar itself never change. > > Any ideas on what might cause this? > > All the Best > Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ---------------------------------------------------------------------------- Clearstream Services S.A. 42 Avenue JF Kennedy, L-1855 Luxembourg Soci?t? anonyme is organised with limited liability in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911. ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. Legally required information for business correspondence/ Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: http://deutsche-boerse.com/letterhead END OF DISCLAIMER From pmbrig at gmail.com Thu Nov 15 07:56:03 2007 From: pmbrig at gmail.com (Peter Brigham) Date: Thu, 15 Nov 2007 07:56:03 -0500 Subject: (mac) application menu Message-ID: On Wed, 14 Nov 2007 15:19:4, Mark Schonewille wrote: **** > Problem 2. When I first created my recipe stack I named things > somewhat hastily, and I tried once when I was mostly done to create > a standalone, then went back to revise a bunch of things. As I > developed it further I renamed the stack file and the main stack, > which was originally named "recipeFile". I also chose a different > name in the standalone preferences for the eventual application. > When I converted it to a standalone finally, it was named properly > in the Finder (as specified in the standalone preferences), but the > application name as it appears in the application menu on the mac > (and in the "quit " menuitem) is the original name of the > main stack, "recipeFile". And nothing I do results in altering > this. I have changed the name of the main stack, the label of the > main stack, the name of the application bundle in the standalone > preferences, the name of the stack file, but the old "recipeFile" > stubbornly continues to be what appears next to the apple menu in > the standalone, and in the "quit" item of that menu. There is > *nothing* now in the stack file that bears the name "recipeFile" -- > not the name of the stack in the Finder, not the main stack name, > not the main stack label, nothing. I don't know where the > standalone builder is getting the string "recipeFile" from at this > point. Did it somehow save it from when I originally tried to make > the first standalone? Just make sure to give the standalone the preferred name in the Standalone Application Settings. You will find this name in the General pane. **** Well, that's what I would expect. But the name that appears next to the Apple menu that's supposed to be the name of the application is *not* the name I give the application in the standalone settings. It is the original mainstack name. And nothing I do changes that. I've tried setting a different name for the app in the standalone settings, setting a different name for the main stack, setting a different name for the stack in the Finder, setting a different label for the mainstack. Each time I create a standalone, the name for the standalone in the Finder is indeed what the standalone settings instruct, but the name that appears in the menubar when I run the standalone is the original mainstack name. It's as though the standalone builder somehow is stuck on that name for this app, even though there is nothing with that name anywhere in the stack system any more. Can someone please try the recipe and tell me if this is a bug, or some weirdness with my setup? Create a stack, name it something, make it into a standalone, then toss that standalone, open the stack again in the IDE, change the name of the stack, change the name for the app in the standalone settings and make a standalone again. What happens when you run the app? I'm using Mac OS 10.4.10, Studio 2.8.1 build 471, iBook G4. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig/ -- Every experiment turns out right -- although not necessarily the way you expected. (Nor do you have to understand it.) From dave at looktowindward.com Thu Nov 15 08:29:33 2007 From: dave at looktowindward.com (Dave) Date: Thu, 15 Nov 2007 13:29:33 +0000 Subject: Windows Display Problems In-Reply-To: References: Message-ID: <724816E9-6AC5-49E6-8F3D-375907CA14F3@looktowindward.com> Hi Xavier, Long time no scan! Thanks for the help on this. The way I am using the Progress Bar is as follows: The progress stack had a number of Command Handlers that get called by the using stack: ProgressInitialize - Initializes the Progress Bar and set the Ending Limit in the Scroll Bar. ProgressFinalize - Closes the Progress Stack. ProgressUpdate - Sets the Value of the Scroll Bar, ProgressSetCaption - Sets a message to be displayed in a field. The main stack then works like this: go stack "Progress" --Initially Hiddens set the defaultStack to send "ProgressInitialize theProgressEndValue" to stack "Progress" then in a loop: ProgressSetCaption("The Caption") send "ProgressUpdate "theProgressAmount" to stack "Progress" and finally send "ProgressFinalize " to stack "Progress" --Hides the Progress Window and closes it That's about it really. This works fine on a mac! All the Best Dave On 15 Nov 2007, at 12:57, xavier.bury at clearstream.com wrote: > Hi Dave, > > I've seen this happen often. Seemingly the application is hung while > working (most noticeable on vmware, citrix or Terminal > servers)... > > What works in these cases is giving your monitoring window > (progress bar) > a real event instead of a "Send" update > event. Sending the update event usually means that there is a wait and > sometimes this > event never seems to get there. Another issue is the lock screen which > sometimes doesn't unlock out of context. > > I may be wrong and never really investigated since im the sole user > of my > programs which usually run all day long > updating things - so when i dont see something updated, i know > where to > look... > > Please give us more details how you update your progress bar to get an > idea... > > Regards, > ---------------------=--------------------- > Xavier Bury > > > use-revolution-bounces at lists.runrev.com wrote on 15/11/2007 13:10:49: > >> Hi, >> >> I have an that is built as a standalone, part of it uses a Stack/ >> Window to show a progress bar. On the Mac it works fine, on Windows >> however, it doesn't update, the window gets displayed, but the >> contents of a Text Field and the Progress bar itself never change. >> >> Any ideas on what might cause this? >> >> All the Best >> Dave >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > > ---------------------------------------------------------------------- > ------ > Clearstream Services S.A. > 42 Avenue JF Kennedy, L-1855 Luxembourg > Soci?t? anonyme is organised with limited liability > in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911. > > > ----------------------------------------- > Visit us at http://www.clearstream.com > > IMPORTANT MESSAGE > > Internet communications are not secure and therefore Clearstream > International does not accept legal responsibility for the contents > of this message. > > The information contained in this e-mail is confidential and may be > legally privileged. It is intended solely for the addressee. If you > are not the intended recipient, any disclosure, copying, > distribution or any action taken or omitted to be taken in reliance > on it, is prohibited and may be unlawful. Any views expressed in > this e-mail are those of the individual sender, except where the > sender specifically states them to be the views of Clearstream > International or of any of its affiliates or subsidiaries. > > Legally required information for business correspondence/ > Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: > http://deutsche-boerse.com/letterhead > > END OF DISCLAIMER > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Thu Nov 15 09:02:26 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 15 Nov 2007 15:02:26 +0100 Subject: (mac) application menu In-Reply-To: References: Message-ID: <3254082C-1956-46C8-B014-A36F7BA7DA86@economy-x-talk.com> Hi Peter, Maybe I was wrong with my previous suggestion. Have you tried changing both the Name field in the General pane and the Name field in the OSX pane? I did have the same problem some time ago and I am sure I solved it by changing one of these fields. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com > Well, that's what I would expect. But the name that appears next to > the Apple menu that's supposed to be the name of the application is > *not* the name I give the application in the standalone settings. > It is the original mainstack name. And nothing I do changes that. > I've tried setting a different name for the app in the standalone > settings, setting a different name for the main stack, setting a > different name for the stack in the Finder, setting a different > label for the mainstack. Each time I create a standalone, the name > for the standalone in the Finder is indeed what the standalone > settings instruct, but the name that appears in the menubar when I > run the standalone is the original mainstack name. It's as though > the standalone builder somehow is stuck on that name for this app, > even though there is nothing with that name anywhere in the stack > system any more. > > Can someone please try the recipe and tell me if this is a bug, or > some weirdness with my setup? Create a stack, name it something, > make it into a standalone, then toss that standalone, open the > stack again in the IDE, change the name of the stack, change the > name for the app in the standalone settings and make a standalone > again. What happens when you run the app? I'm using Mac OS 10.4.10, > Studio 2.8.1 build 471, iBook G4. > > -- Peter > From m.schonewille at economy-x-talk.com Thu Nov 15 09:14:46 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 15 Nov 2007 15:14:46 +0100 Subject: Scriptlimits Barrier In-Reply-To: <86ae76bb0711142159v154da586v2e7a391e2c038fde@mail.gmail.com> References: <86ae76bb0711142159v154da586v2e7a391e2c038fde@mail.gmail.com> Message-ID: <1BEB6A7C-43CD-435E-84E8-70935339BB78@economy-x-talk.com> Hi Bridger, You can't set scripts (longer than 10 lines?) in a standalone. Why don't you use a stack to store the objects and copy these objects from the stack into the standalone when needed? Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 15-nov-2007, om 6:59 heeft Bridger Maxwell het volgende geschreven: > Hello, > I am writing an app in which I would like to save objects to a > file, and > restore them later. I am able to store all of their properties as > XML and > restore the object fine in the IDE, but the scriptlimits poses a > problem. > Because many of these objects need script to be restored, it is > impossible > to recreate them in a standalone without hitting the scriptlimits > barrier. > Is there an alternative way around this? Does the scriptlimits > apply when > you use the copy command? Perhaps I should use a frontscript that > acts as > the script for different types of objects. Neither of these > workarounds > sounds particularly clean to me though. If anyone has any > experience with > this kind of problem I would love to hear your thoughts. > > > Thank You, > Bridger Maxwell > From dave at looktowindward.com Thu Nov 15 09:17:48 2007 From: dave at looktowindward.com (Dave) Date: Thu, 15 Nov 2007 14:17:48 +0000 Subject: Read from file problem In-Reply-To: References: <3AAD3259-D5E9-4329-80A5-420091FF56CE@qldlearning.com> Message-ID: <1A0AD366-1970-474B-A366-7931D2ED813A@looktowindward.com> On 15 Nov 2007, at 12:37, Trevor DeVore wrote: > On Nov 15, 2007, at 7:20 AM, Dave wrote: > >> I tied all this, unfortunately it doesn't work, cos (on Mac >> anyway) cr = lf = 0x0A, e.g. RunRev maps cr or lf into a lf. >> >> Try this in the message box: >> >> put chartoNum(lf) && chartoNum(cr) > > Just use numToChar(10) for linefeed. Not much help if RunRev is mapping cr and lf to 0x0A, I want to check if a char is cr, but I never see a cr cos RunRev swipes em! All the Best Dave From xavier.bury at clearstream.com Thu Nov 15 09:23:04 2007 From: xavier.bury at clearstream.com (xavier.bury at clearstream.com) Date: Thu, 15 Nov 2007 15:23:04 +0100 Subject: Windows Display Problems Message-ID: Hi Dave - nice to scan u2! Funny, i had the same setup in my old server operations control panel stack with nearly the same number and functions of calls... [long term memory restore....] I had problems with that setup besides the missed screen updates i recall, i scratched the update dialog also because it couldn't catch an event when i press the cancel button while something else was running in the back (unless i did lots more additions to my already big loop)!. I put the progress back in a group that was just a group simulating a dialog over the main interface window - and it worked out much better though it didn't look as professional... Some limitations sometimes requires these silly workarounds. :)) cheers ---------------------=--------------------- Xavier Bury use-revolution-bounces at lists.runrev.com wrote on 15/11/2007 14:29:33: > Hi Xavier, > > Long time no scan! Thanks for the help on this. The way I am using > the Progress Bar is as follows: > > > The progress stack had a number of Command Handlers that get called > by the using stack: > > ProgressInitialize - Initializes the Progress Bar and set the Ending > Limit in the Scroll Bar. > ProgressFinalize - Closes the Progress Stack. > ProgressUpdate - Sets the Value of the Scroll Bar, > ProgressSetCaption - Sets a message to be displayed in a field. > > The main stack then works like this: > > go stack "Progress" --Initially Hiddens > set the defaultStack to > > send "ProgressInitialize theProgressEndValue" to stack "Progress" > > then in a loop: > > ProgressSetCaption("The Caption") > send "ProgressUpdate "theProgressAmount" to stack "Progress" > > > and finally > > send "ProgressFinalize " to stack "Progress" --Hides the Progress > Window and closes it > > That's about it really. This works fine on a mac! > > All the Best > Dave > > On 15 Nov 2007, at 12:57, xavier.bury at clearstream.com wrote: > > > Hi Dave, > > > > I've seen this happen often. Seemingly the application is hung while > > working (most noticeable on vmware, citrix or Terminal > > servers)... > > > > What works in these cases is giving your monitoring window > > (progress bar) > > a real event instead of a "Send" update > > event. Sending the update event usually means that there is a wait and > > sometimes this > > event never seems to get there. Another issue is the lock screen which > > sometimes doesn't unlock out of context. > > > > I may be wrong and never really investigated since im the sole user > > of my > > programs which usually run all day long > > updating things - so when i dont see something updated, i know > > where to > > look... > > > > Please give us more details how you update your progress bar to get an > > idea... > > > > Regards, > > ---------------------=--------------------- > > Xavier Bury > > > > > > use-revolution-bounces at lists.runrev.com wrote on 15/11/2007 13:10:49: > > > >> Hi, > >> > >> I have an that is built as a standalone, part of it uses a Stack/ > >> Window to show a progress bar. On the Mac it works fine, on Windows > >> however, it doesn't update, the window gets displayed, but the > >> contents of a Text Field and the Progress bar itself never change. > >> > >> Any ideas on what might cause this? > >> > >> All the Best > >> Dave > >> ---------------------------------------------------------------------------- Clearstream Services S.A. 42 Avenue JF Kennedy, L-1855 Luxembourg Soci?t? anonyme is organised with limited liability in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911. ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. Legally required information for business correspondence/ Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: http://deutsche-boerse.com/letterhead END OF DISCLAIMER From lists at mangomultimedia.com Thu Nov 15 09:25:48 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 15 Nov 2007 09:25:48 -0500 Subject: Read from file problem In-Reply-To: <1A0AD366-1970-474B-A366-7931D2ED813A@looktowindward.com> References: <3AAD3259-D5E9-4329-80A5-420091FF56CE@qldlearning.com> <1A0AD366-1970-474B-A366-7931D2ED813A@looktowindward.com> Message-ID: On Nov 15, 2007, at 9:17 AM, Dave wrote: > On 15 Nov 2007, at 12:37, Trevor DeVore wrote: >> >> >> Just use numToChar(10) for linefeed. > > Not much help if RunRev is mapping cr and lf to 0x0A, I want to > check if a char is cr, but I never see a cr cos RunRev swipes em! Yo could try to open as binary. Rev doesn't standardize line endings if you open as binary. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From eric.chatonet at sosmartsoftware.com Thu Nov 15 09:56:50 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 15 Nov 2007 15:56:50 +0100 Subject: (mac) application menu In-Reply-To: References: Message-ID: Hi Peter, Standalone settings are kept in a custom property set that Rev creates automatically at the stack level. It's named cRevStandaloneSettings and shows up in the stack's property palette if 'View/Revolution UI Elements in Lists' menu item is checked. Probably you could check some of these custom properties to find this name that should not show up and modify it manually. Best regards from Paris, Eric Chatonet. Le 15 nov. 07 ? 13:56, Peter Brigham a ?crit : > On Wed, 14 Nov 2007 15:19:4, Mark Schonewille > wrote: > > **** >> Problem 2. When I first created my recipe stack I named things >> somewhat hastily, and I tried once when I was mostly done to create >> a standalone, then went back to revise a bunch of things. As I >> developed it further I renamed the stack file and the main stack, >> which was originally named "recipeFile". I also chose a different >> name in the standalone preferences for the eventual application. >> When I converted it to a standalone finally, it was named properly >> in the Finder (as specified in the standalone preferences), but the >> application name as it appears in the application menu on the mac >> (and in the "quit " menuitem) is the original name of the >> main stack, "recipeFile". And nothing I do results in altering >> this. I have changed the name of the main stack, the label of the >> main stack, the name of the application bundle in the standalone >> preferences, the name of the stack file, but the old "recipeFile" >> stubbornly continues to be what appears next to the apple menu in >> the standalone, and in the "quit" item of that menu. There is >> *nothing* now in the stack file that bears the name "recipeFile" -- >> not the name of the stack in the Finder, not the main stack name, >> not the main stack label, nothing. I don't know where the >> standalone builder is getting the string "recipeFile" from at this >> point. Did it somehow save it from when I originally tried to make >> the first standalone? > > Just make sure to give the standalone the preferred name in the > Standalone Application Settings. You will find this name in the > General pane. > **** > > Well, that's what I would expect. But the name that appears next to > the Apple menu that's supposed to be the name of the application is > *not* the name I give the application in the standalone settings. > It is the original mainstack name. And nothing I do changes that. > I've tried setting a different name for the app in the standalone > settings, setting a different name for the main stack, setting a > different name for the stack in the Finder, setting a different > label for the mainstack. Each time I create a standalone, the name > for the standalone in the Finder is indeed what the standalone > settings instruct, but the name that appears in the menubar when I > run the standalone is the original mainstack name. It's as though > the standalone builder somehow is stuck on that name for this app, > even though there is nothing with that name anywhere in the stack > system any more. > > Can someone please try the recipe and tell me if this is a bug, or > some weirdness with my setup? Create a stack, name it something, > make it into a standalone, then toss that standalone, open the > stack again in the IDE, change the name of the stack, change the > name for the app in the standalone settings and make a standalone > again. What happens when you run the app? I'm using Mac OS 10.4.10, > Studio 2.8.1 build 471, iBook G4. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig/ ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From eric.chatonet at sosmartsoftware.com Thu Nov 15 10:02:40 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 15 Nov 2007 16:02:40 +0100 Subject: Windows Display Problems In-Reply-To: <724816E9-6AC5-49E6-8F3D-375907CA14F3@looktowindward.com> References: <724816E9-6AC5-49E6-8F3D-375907CA14F3@looktowindward.com> Message-ID: Hi Dave, send "ProgressInitialize theProgressEndValue" to stack "Progress" could be written: send "ProgressInitialize" && theProgressEndValue to stack "Progress" Assuming that 'theProgressEndValue' is a var... and that nothing locks the screen during the process ;-) Best regards from Paris, Eric Chatonet. Le 15 nov. 07 ? 14:29, Dave a ?crit : > The progress stack had a number of Command Handlers that get called > by the using stack: > > ProgressInitialize - Initializes the Progress Bar and set the > Ending Limit in the Scroll Bar. > ProgressFinalize - Closes the Progress Stack. > ProgressUpdate - Sets the Value of the Scroll Bar, > ProgressSetCaption - Sets a message to be displayed in a field. > > The main stack then works like this: > > go stack "Progress" --Initially Hiddens > set the defaultStack to > > send "ProgressInitialize theProgressEndValue" to stack "Progress" > > then in a loop: > > ProgressSetCaption("The Caption") > send "ProgressUpdate "theProgressAmount" to stack "Progress" > > > and finally > > send "ProgressFinalize " to stack "Progress" --Hides the Progress > Window and closes it > > That's about it really. This works fine on a mac! ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From henk at iglow-media.nl Thu Nov 15 10:29:57 2007 From: henk at iglow-media.nl (Henk van der Velden) Date: Thu, 15 Nov 2007 16:29:57 +0100 Subject: Multiuser or not multiuser In-Reply-To: <20071115145655.1D80B4890B5@mail.runrev.com> References: <20071115145655.1D80B4890B5@mail.runrev.com> Message-ID: Hi William, goeiemiddag.. Indeed, the other question is how to approach the multi-user issue in this case. Blocking clients like this can be a bit unfriendly, and it also poses issues when the 'inuse' variable isn't saved properly. You could end up with a completely blocked application. One approach could be to use a database. Database engines have their own record blocking mechanisms, so one user can't overwrite the record of another user. Or, if you don't want to setup a database, you could probably create a folder on every day, and have each user add his / her own textfile to that folder. If you put both the username and the chosen lunch into the file, a user could eventually turn back and change his choice. You could create another app that collects all the text files and creates a list out of it. Kind regards, Henk On 15-nov-2007, at 15:56, use-revolution-request at lists.runrev.com wrote: > Because the app is put on a Server 2003 with XP clients it needs to be > multiuser or not. From dave.cragg at lacscentre.co.uk Thu Nov 15 11:06:10 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 15 Nov 2007 16:06:10 +0000 Subject: libURLSetFTPStopTime In-Reply-To: References: Message-ID: <963CF05E-AB5E-4A56-BAD1-9263746A650C@lacscentre.co.uk> On 15 Nov 2007, at 04:35, Sarah Reichelt wrote: > However I find that if I am transferring lots of files, that Rev opens > a new connection for each file regardless and I rapidly get to a stage > where the server is rejecting my commands because I have too many > connections open. Quick response: Are you doing anything that might close the socket used after each transfer? This would cause a new session to be opened with the server, while the server might see the previous session as still being open. Are you checking for errors after each download? An error would cause libUrl to close the socket, which might result in what you are seeing. Decreasing the stop time as you did causes the session to close cleanly (using the QUIT command) which will keep the server happy. However, you shouldn't have to do this. Dave From dave at looktowindward.com Thu Nov 15 11:08:12 2007 From: dave at looktowindward.com (Dave) Date: Thu, 15 Nov 2007 16:08:12 +0000 Subject: Windows Display Problems In-Reply-To: References: <724816E9-6AC5-49E6-8F3D-375907CA14F3@looktowindward.com> Message-ID: <3AE85F4B-BA1D-4EA4-8662-8115528AFB6E@looktowindward.com> Hi, Sorry you have lost me! What are you saying? Do I need to change the way I do the "Send" ? It's not just the progress window, how can this ever work if when you say put xxx into field y it doesn't change the screen? Thanks a lot All the Best Dave On 15 Nov 2007, at 15:02, Eric Chatonet wrote: > Hi Dave, > > send "ProgressInitialize theProgressEndValue" to stack "Progress" > could be written: > send "ProgressInitialize" && theProgressEndValue to stack "Progress" > Assuming that 'theProgressEndValue' is a var... and that nothing > locks the screen during the process ;-) > > Best regards from Paris, > Eric Chatonet. > > Le 15 nov. 07 ? 14:29, Dave a ?crit : > >> The progress stack had a number of Command Handlers that get >> called by the using stack: >> >> ProgressInitialize - Initializes the Progress Bar and set the >> Ending Limit in the Scroll Bar. >> ProgressFinalize - Closes the Progress Stack. >> ProgressUpdate - Sets the Value of the Scroll Bar, >> ProgressSetCaption - Sets a message to be displayed in a field. >> >> The main stack then works like this: >> >> go stack "Progress" --Initially Hiddens >> set the defaultStack to >> >> send "ProgressInitialize theProgressEndValue" to stack "Progress" >> >> then in a loop: >> >> ProgressSetCaption("The Caption") >> send "ProgressUpdate "theProgressAmount" to stack "Progress" >> >> >> and finally >> >> send "ProgressFinalize " to stack "Progress" --Hides the Progress >> Window and closes it >> >> That's about it really. This works fine on a mac! > > ---------------------------------------------------------------- > Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ > Email: eric.chatonet at sosmartsoftware.com/ > ---------------------------------------------------------------- > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Thu Nov 15 11:40:33 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 15 Nov 2007 17:40:33 +0100 Subject: Windows Display Problems In-Reply-To: <3AE85F4B-BA1D-4EA4-8662-8115528AFB6E@looktowindward.com> References: <724816E9-6AC5-49E6-8F3D-375907CA14F3@looktowindward.com> <3AE85F4B-BA1D-4EA4-8662-8115528AFB6E@looktowindward.com> Message-ID: <566FFD22-8903-492F-9ABF-11747B71161E@sosmartsoftware.com> Hi Dave, I'm sorry too. I copied pasted the wrong line! You write: > send "ProgressUpdate "theProgressAmount" to stack "Progress" I just wanted to tell you that this above line can't work: Or you write 'send "ProgressUpdate theProgressAmount" to stack "Progress"' Or 'send "ProgressUpdate" && theProgressAmount to stack "Progress"' But not 'send "ProgressUpdate "theProgressAmount" to stack "Progress"' There is a problem with quotes here :-) If you could send the code in ProgressUpdate, it would be easier to help you... Le 15 nov. 07 ? 17:08, Dave a ?crit : > Hi, > > Sorry you have lost me! What are you saying? Do I need to change > the way I do the "Send" ? > > > It's not just the progress window, how can this ever work if when > you say put xxx into field y it doesn't change the screen? > > Thanks a lot > All the Best > Dave Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From mfstuart at cox.net Thu Nov 15 12:04:11 2007 From: mfstuart at cox.net (mfstuart) Date: Thu, 15 Nov 2007 09:04:11 -0800 (PST) Subject: How do I create an Icon View In-Reply-To: <473C1280.1040902@ekoinf.net> References: <13756153.post@talk.nabble.com> <4F56581B-400A-4581-B2F7-EB5BAE305878@mac.com> <13761136.post@talk.nabble.com> <473C1280.1040902@ekoinf.net> Message-ID: <13775611.post@talk.nabble.com> Hi Viktoras, anyone... Thanx for the link, I've checked that out before - subscribed to the newsletter. That example illustrates the left hand side of the form. Really what I'm trying to do is the right hand side of the Icons View display. On either platform - OSX or WinXP - if you load the Finder or Win Explorer, you can opt for the Icons View. On the left hand side are the folders, on the right hand side are the details of the selected folder, displayed as icons, with an associated name. This right hand side is what I'm trying to build. Would someone kindly describe how to do this? Thanx, Mark Stuart Viktoras Didziulis wrote: > > Hi Mark, > > if I understood you correctly, you need a field which displays contents > of a folder (table, database, etc) in a list where icons indicate the > type of a resource displayed. > > Basically you will need to "set the imageSource of char 1 to yourimg" > for each line in a field describing a resource. If you wish to show it > in 2 or 3 columns - just insert tabs where appropriate, "set the > itemdelimiter to tab", and "set the imageSource of char 1 to yourimg" > for each item... > > An example that might serve you as a source of ideas is described (and > can be downloaded and reused) at > http://www.runrev.com/newsletter/september/issue32/newsletter3.php > > Viktoras > > > mfstuart wrote: >> If I may explain a little more... >> I would like the display to behave like the Icons View. This view is >> loaded >> dynamically from say the contents of a folder, or selected rows in a SQL >> database, or whatever the criteria. Even links to PDF files. User clicks >> on >> the icon and the script launches and opens the file. >> >> If I were to load each of the icons (an image) and icon text name >> dynamically onto a form, what kind of container (or object) would I load >> them into? A table object? >> Would the contents be something like...? >> First row: >> Load the table object with an icon then TAB (as the delimiter) then icon, >> etc., with the row height say upto something like 80. >> Alternate row: >> Name of the icon TAB (as delimiter) then icon, etc. >> >> Is this how to approach it? >> >> And would I have to set the property of this table object to HTMLtext, or >> something? Not sure. >> >> Thanx again, >> Mark Stuart >> ============================================================ >> >> Bj?rnke von Gierke wrote: >> >>> You need buttons which have an icon, but no showBorder, threeD and no >>> hiliteBorder. Look them up in the docu, as well as the icons & border >>> part of the inspector. >>> >>> On 14 Nov 2007, at 21:46, mfstuart wrote: >>> >>> >>>> Hi all, >>>> >>>> On Mac and Win platforms, the Explorer and Finder have an Icon View. >>>> Where each icon (and icon name) appear in a grid type of layout? >>>> >>>> How would I create this type of layout with RunRev? >>>> >>>> Thanx, >>>> Mark Stuart >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/How-do-I-create-an-Icon-View-tf4807893.html#a13756153 >>>> 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 > > -- View this message in context: http://www.nabble.com/How-do-I-create-an-Icon-View-tf4807893.html#a13775611 Sent from the Revolution - User mailing list archive at Nabble.com. From dave at looktowindward.com Thu Nov 15 12:23:18 2007 From: dave at looktowindward.com (Dave) Date: Thu, 15 Nov 2007 17:23:18 +0000 Subject: Windows Display Problems In-Reply-To: <566FFD22-8903-492F-9ABF-11747B71161E@sosmartsoftware.com> References: <724816E9-6AC5-49E6-8F3D-375907CA14F3@looktowindward.com> <3AE85F4B-BA1D-4EA4-8662-8115528AFB6E@looktowindward.com> <566FFD22-8903-492F-9ABF-11747B71161E@sosmartsoftware.com> Message-ID: <8B1DBC68-DA39-4506-8EF6-AAA85AF2AF51@looktowindward.com> On 15 Nov 2007, at 16:40, Eric Chatonet wrote: > Hi Dave, > > I'm sorry too. > I copied pasted the wrong line! > You write: > >> send "ProgressUpdate "theProgressAmount" to stack "Progress" > > I just wanted to tell you that this above line can't work: > Or you write 'send "ProgressUpdate theProgressAmount" to stack > "Progress"' > Or 'send "ProgressUpdate" && theProgressAmount to stack "Progress"' > But not 'send "ProgressUpdate "theProgressAmount" to stack "Progress"' > There is a problem with quotes here :-) Sorry, this was just a typeo on my part. It works fine on the Mac. > > If you could send the code in ProgressUpdate, it would be easier to > help you... The code is here, this in in the Progress Bar Script: --------------------------------------------------------------- -- -- HandleProgressUpdate -- --------------------------------------------------------------- on HandleProgressUpdate theMessageID,theMessageKind,theMessageData local myMessageData put ISMDecodeMessage(theMessageData,"String,") into myMessageData set the thumbPosition of me to (0 + myMessageData) end HandleProgressUpdate This works fine on a Mac. The code is here, this in in the Caption Field Script: --------------------------------------------------------------- -- -- HandleProgressSetCaption -- --------------------------------------------------------------- on HandleProgressSetCaption theMessageID,theMessageKind,theMessageData local myMessageData put ISMDecodeMessage(theMessageData,"String,") into myMessageData set the text of me to myMessageData end HandleProgressSetCaption All the Best Dave > > Le 15 nov. 07 ? 17:08, Dave a ?crit : > >> Hi, >> >> Sorry you have lost me! What are you saying? Do I need to change >> the way I do the "Send" ? >> >> >> It's not just the progress window, how can this ever work if when >> you say put xxx into field y it doesn't change the screen? >> >> Thanks a lot >> All the Best >> Dave > > Best regards from Paris, > Eric Chatonet. > ---------------------------------------------------------------- > Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ > Email: eric.chatonet at sosmartsoftware.com/ > ---------------------------------------------------------------- > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Thu Nov 15 12:39:12 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 15 Nov 2007 18:39:12 +0100 Subject: Windows Display Problems In-Reply-To: <8B1DBC68-DA39-4506-8EF6-AAA85AF2AF51@looktowindward.com> References: <724816E9-6AC5-49E6-8F3D-375907CA14F3@looktowindward.com> <3AE85F4B-BA1D-4EA4-8662-8115528AFB6E@looktowindward.com> <566FFD22-8903-492F-9ABF-11747B71161E@sosmartsoftware.com> <8B1DBC68-DA39-4506-8EF6-AAA85AF2AF51@looktowindward.com> Message-ID: <4FA68656-196C-4B28-B45D-FC9C610620F8@sosmartsoftware.com> Hi Dave, I don't understand: You say you use send "ProgressUpdate theProgressAmount" to stack "Progress" And you send code snippets that refer to HandleProgressUpdate? In addition, this code is in the progress bar's script and not in the stack's script. Have you a ProgressUpdate handler in the script of your "Progress" stack? This is the one that would be fine to know in order to be able to help you. Best regards from Paris, Eric Chatonet. Le 15 nov. 07 ? 18:23, Dave a ?crit : > > On 15 Nov 2007, at 16:40, Eric Chatonet wrote: > >> Hi Dave, >> >> I'm sorry too. >> I copied pasted the wrong line! >> You write: >> >>> send "ProgressUpdate "theProgressAmount" to stack "Progress" >> >> I just wanted to tell you that this above line can't work: >> Or you write 'send "ProgressUpdate theProgressAmount" to stack >> "Progress"' >> Or 'send "ProgressUpdate" && theProgressAmount to stack "Progress"' >> But not 'send "ProgressUpdate "theProgressAmount" to stack >> "Progress"' >> There is a problem with quotes here :-) > > Sorry, this was just a typeo on my part. It works fine on the Mac. > >> >> If you could send the code in ProgressUpdate, it would be easier >> to help you... > > The code is here, this in in the Progress Bar Script: > > --------------------------------------------------------------- > -- > -- HandleProgressUpdate > -- > --------------------------------------------------------------- > on HandleProgressUpdate theMessageID,theMessageKind,theMessageData > local myMessageData > > put ISMDecodeMessage(theMessageData,"String,") into myMessageData > set the thumbPosition of me to (0 + myMessageData) > end HandleProgressUpdate > > This works fine on a Mac. > > > > The code is here, this in in the Caption Field Script: > > --------------------------------------------------------------- > -- > -- HandleProgressSetCaption > -- > --------------------------------------------------------------- > on HandleProgressSetCaption theMessageID,theMessageKind,theMessageData > local myMessageData > > put ISMDecodeMessage(theMessageData,"String,") into myMessageData > set the text of me to myMessageData > end HandleProgressSetCaption > > All the Best > Dave > >> >> Le 15 nov. 07 ? 17:08, Dave a ?crit : >> >>> Hi, >>> >>> Sorry you have lost me! What are you saying? Do I need to change >>> the way I do the "Send" ? >>> >>> >>> It's not just the progress window, how can this ever work if when >>> you say put xxx into field y it doesn't change the screen? >>> >>> Thanks a lot >>> All the Best >>> Dave ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From cszasz at mac.com Thu Nov 15 12:59:53 2007 From: cszasz at mac.com (Charles Szasz) Date: Thu, 15 Nov 2007 09:59:53 -0800 (PST) Subject: Problem with closing Windows App Message-ID: <13777473.post@talk.nabble.com> Thanks to everyone for their help. The problem was with close stack command. Now it works fine. -- View this message in context: http://www.nabble.com/Problem-with-closing-Windows-App-tf4815883.html#a13777473 Sent from the Revolution - User mailing list archive at Nabble.com. From dave at looktowindward.com Thu Nov 15 13:03:57 2007 From: dave at looktowindward.com (Dave) Date: Thu, 15 Nov 2007 18:03:57 +0000 Subject: Windows Display Problems In-Reply-To: <4FA68656-196C-4B28-B45D-FC9C610620F8@sosmartsoftware.com> References: <724816E9-6AC5-49E6-8F3D-375907CA14F3@looktowindward.com> <3AE85F4B-BA1D-4EA4-8662-8115528AFB6E@looktowindward.com> <566FFD22-8903-492F-9ABF-11747B71161E@sosmartsoftware.com> <8B1DBC68-DA39-4506-8EF6-AAA85AF2AF51@looktowindward.com> <4FA68656-196C-4B28-B45D-FC9C610620F8@sosmartsoftware.com> Message-ID: Hi, The stuff I posted was just pseudo code, the real code is as shown below. The Handlers are in the scripts of the objects, the Progress Bar Itself and a field. I call a function which does the sends, this message has an array that matches the MessageID and the theMessageKind and sends it to the correct control. All this is working, except on windows it doesn't update correctly. Neither the field or the progress bar gets changed. All the Best Dave On 15 Nov 2007, at 17:39, Eric Chatonet wrote: >> >> The code is here, this in in the Progress Bar Script: >> >> --------------------------------------------------------------- >> -- >> -- HandleProgressUpdate >> -- >> --------------------------------------------------------------- >> on HandleProgressUpdate theMessageID,theMessageKind,theMessageData >> local myMessageData >> >> put ISMDecodeMessage(theMessageData,"String,") into myMessageData >> set the thumbPosition of me to (0 + myMessageData) >> end HandleProgressUpdate >> >> This works fine on a Mac. >> >> >> >> The code is here, this in in the Caption Field Script: >> >> --------------------------------------------------------------- >> -- >> -- HandleProgressSetCaption >> -- >> --------------------------------------------------------------- >> on HandleProgressSetCaption >> theMessageID,theMessageKind,theMessageData >> local myMessageData >> >> put ISMDecodeMessage(theMessageData,"String,") into myMessageData >> set the text of me to myMessageData >> end HandleProgressSetCaption >> >> All the Best >> Dave >> From dave at looktowindward.com Thu Nov 15 13:12:26 2007 From: dave at looktowindward.com (Dave) Date: Thu, 15 Nov 2007 18:12:26 +0000 Subject: Stack Files Pane in Property Inspector Message-ID: Hi, I've been wondering this for a while. What is the "Stack Files" Pane or in the Stack Property Inspector? Thanks a lot All the Best Dave From eric.chatonet at sosmartsoftware.com Thu Nov 15 13:20:26 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 15 Nov 2007 19:20:26 +0100 Subject: Windows Display Problems In-Reply-To: References: <724816E9-6AC5-49E6-8F3D-375907CA14F3@looktowindward.com> <3AE85F4B-BA1D-4EA4-8662-8115528AFB6E@looktowindward.com> <566FFD22-8903-492F-9ABF-11747B71161E@sosmartsoftware.com> <8B1DBC68-DA39-4506-8EF6-AAA85AF2AF51@looktowindward.com> <4FA68656-196C-4B28-B45D-FC9C610620F8@sosmartsoftware.com> Message-ID: <4F531553-46B7-43AC-B0B2-9A5F4D70C98B@sosmartsoftware.com> Hi Dave, Sorry, but information you provide is not precise enough to be able to help you :-( About the "Stack Files" pane in the Stack Property Inspector, just see 'stackFiles' property in the dictionary :-) Best regards from Paris, Eric Chatonet. Le 15 nov. 07 ? 19:03, Dave a ?crit : > Hi, > > The stuff I posted was just pseudo code, the real code is as shown > below. The Handlers are in the scripts of the objects, the Progress > Bar Itself and a field. > > I call a function which does the sends, this message has an array > that matches the MessageID and the theMessageKind and sends it to > the correct control. All this is working, except on windows it > doesn't update correctly. Neither the field or the progress bar > gets changed. > > All the Best > Dave > > > On 15 Nov 2007, at 17:39, Eric Chatonet wrote: >>> >>> The code is here, this in in the Progress Bar Script: >>> >>> --------------------------------------------------------------- >>> -- >>> -- HandleProgressUpdate >>> -- >>> --------------------------------------------------------------- >>> on HandleProgressUpdate theMessageID,theMessageKind,theMessageData >>> local myMessageData >>> >>> put ISMDecodeMessage(theMessageData,"String,") into myMessageData >>> set the thumbPosition of me to (0 + myMessageData) >>> end HandleProgressUpdate >>> >>> This works fine on a Mac. >>> >>> >>> >>> The code is here, this in in the Caption Field Script: >>> >>> --------------------------------------------------------------- >>> -- >>> -- HandleProgressSetCaption >>> -- >>> --------------------------------------------------------------- >>> on HandleProgressSetCaption >>> theMessageID,theMessageKind,theMessageData >>> local myMessageData >>> >>> put ISMDecodeMessage(theMessageData,"String,") into myMessageData >>> set the text of me to myMessageData >>> end HandleProgressSetCaption ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From dave at looktowindward.com Thu Nov 15 13:29:35 2007 From: dave at looktowindward.com (Dave) Date: Thu, 15 Nov 2007 18:29:35 +0000 Subject: Windows Display Problems In-Reply-To: <4F531553-46B7-43AC-B0B2-9A5F4D70C98B@sosmartsoftware.com> References: <724816E9-6AC5-49E6-8F3D-375907CA14F3@looktowindward.com> <3AE85F4B-BA1D-4EA4-8662-8115528AFB6E@looktowindward.com> <566FFD22-8903-492F-9ABF-11747B71161E@sosmartsoftware.com> <8B1DBC68-DA39-4506-8EF6-AAA85AF2AF51@looktowindward.com> <4FA68656-196C-4B28-B45D-FC9C610620F8@sosmartsoftware.com> <4F531553-46B7-43AC-B0B2-9A5F4D70C98B@sosmartsoftware.com> Message-ID: Hi, Thanks for the info! If you just did this, it would be the same: send "HandleProgressUpdate 0,0,100" to scrollbar "Progress" of card 1 of stack "Progress" send "HandleProgressSetCaption 0,0," & AddQuotes("Hello World") to field "Caption" of card 1 of stack "Progress" Wow! I didn't know you could set stackFiles manually, cool! All the best Dave On 15 Nov 2007, at 18:20, Eric Chatonet wrote: > Hi Dave, > > Sorry, but information you provide is not precise enough to be able > to help you :-( > About the "Stack Files" pane in the Stack Property Inspector, just > see 'stackFiles' property in the dictionary :-) > > Best regards from Paris, > Eric Chatonet. > > Le 15 nov. 07 ? 19:03, Dave a ?crit : > >> Hi, >> >> The stuff I posted was just pseudo code, the real code is as shown >> below. The Handlers are in the scripts of the objects, the >> Progress Bar Itself and a field. >> >> I call a function which does the sends, this message has an array >> that matches the MessageID and the theMessageKind and sends it to >> the correct control. All this is working, except on windows it >> doesn't update correctly. Neither the field or the progress bar >> gets changed. >> >> All the Best >> Dave >> >> >> On 15 Nov 2007, at 17:39, Eric Chatonet wrote: >>>> >>>> The code is here, this in in the Progress Bar Script: >>>> >>>> --------------------------------------------------------------- >>>> -- >>>> -- HandleProgressUpdate >>>> -- >>>> --------------------------------------------------------------- >>>> on HandleProgressUpdate theMessageID,theMessageKind,theMessageData >>>> local myMessageData >>>> >>>> put ISMDecodeMessage(theMessageData,"String,") into myMessageData >>>> set the thumbPosition of me to (0 + myMessageData) >>>> end HandleProgressUpdate >>>> >>>> This works fine on a Mac. >>>> >>>> >>>> >>>> The code is here, this in in the Caption Field Script: >>>> >>>> --------------------------------------------------------------- >>>> -- >>>> -- HandleProgressSetCaption >>>> -- >>>> --------------------------------------------------------------- >>>> on HandleProgressSetCaption >>>> theMessageID,theMessageKind,theMessageData >>>> local myMessageData >>>> >>>> put ISMDecodeMessage(theMessageData,"String,") into myMessageData >>>> set the text of me to myMessageData >>>> end HandleProgressSetCaption > From runrev at dreamscapesoftware.com Thu Nov 15 13:55:25 2007 From: runrev at dreamscapesoftware.com (Derek Bump) Date: Thu, 15 Nov 2007 12:55:25 -0600 Subject: open file for write Message-ID: <473C961D.8010008@dreamscapesoftware.com> I discovered yesterday that if you "open a file for write" and you don't write anything to it, it still erases the file when you close it. Luckily for me, I still have a backup of my iTunes library, so I didn't loose everything on my hard drive. *sigh* Derek Bump Dreamscape Software http://www.dreamscapesoftware.com/ From sarah.reichelt at gmail.com Thu Nov 15 15:53:52 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 16 Nov 2007 06:53:52 +1000 Subject: libURLSetFTPStopTime In-Reply-To: <963CF05E-AB5E-4A56-BAD1-9263746A650C@lacscentre.co.uk> References: <963CF05E-AB5E-4A56-BAD1-9263746A650C@lacscentre.co.uk> Message-ID: > > However I find that if I am transferring lots of files, that Rev opens > > a new connection for each file regardless and I rapidly get to a stage > > where the server is rejecting my commands because I have too many > > connections open. > > Quick response: > > Are you doing anything that might close the socket used after each > transfer? This would cause a new session to be opened with the > server, while the server might see the previous session as still > being open. Not that I know of. I use a libURLftpUploadFile or libURLDownloadToFile command with a callback. During the transfer I monitor the URLstatus. In the callback, I check the status again and it the status is "uploaded" or "downloaded", I just go on to issue the next libURLftpUploadFile or libURLDownloadToFile command. > Are you checking for errors after each download? An error would cause > libUrl to close the socket, which might result in what you are seeing. Yes, I check for errors after every transfer. If I encounter an error then I stop the process myself. > Decreasing the stop time as you did causes the session to close > cleanly (using the QUIT command) which will keep the server happy. > However, you shouldn't have to do this. Yes, it woould be neater if the same connection could be kept open, however I have got a workable solution now. Thanks for the quick response, Sarah From sarah.reichelt at gmail.com Thu Nov 15 15:58:50 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 16 Nov 2007 06:58:50 +1000 Subject: Stack Files Pane in Property Inspector In-Reply-To: References: Message-ID: > I've been wondering this for a while. What is the "Stack Files" Pane > or in the Stack Property Inspector? If your stack has to use other stacks that are not in the same file, it needs to know where to find them. This pane allows you to tell the stack which other stack files it will need and then you can just refer to them by their short name instead of having to tell the stack where they are. For example, suppose I have a stack that uses a library called "RevLibrary". The library is kept in "Users/sarah/Documents/Libraries/RevLibrary.rev" folder and the stack I am working on is somewhere else. If I use this pane to tell my stack where the library file is, then I can just say: start using stack "RevLibrary" or go to stack "RevLibrary" and not have to worry where the RevLibrary stack actually is. Also, when a standalone is built, this library stack will be included automatically. Cheers, Sarah From calhorner at xtra.Co.NZ Thu Nov 15 16:05:28 2007 From: calhorner at xtra.Co.NZ (Cal Horner) Date: Fri, 16 Nov 2007 10:05:28 +1300 (New Zealand Daylight Time) Subject: Bigger is better Message-ID: <473CB498.00000F.00868@CALSBIGPC> I have a Background object that I use as a pin board in one of my projects. I have made this pin board a scrolling group object . I have managed to make the Background object 32767 x 32765. Which suits at present. What bothers me is the worry that I may need to make the background object larger than 32767 x 32767. You know the old saying "Bigger is Better"? I have tried using the properties panel to enlarge the background, but the panel seems to disappear into another time continuum when the number goes above 32767 Is this a limit imposed by Revolution or do any of you have a tried and true method for making a object larger area than 32767 x 32767? Cal From eric.chatonet at sosmartsoftware.com Thu Nov 15 16:13:46 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 15 Nov 2007 22:13:46 +0100 Subject: Bigger is better In-Reply-To: <473CB498.00000F.00868@CALSBIGPC> References: <473CB498.00000F.00868@CALSBIGPC> Message-ID: Hi Cal, No time to dig in but 32767 is 2^15 -1: this sounds as a possible limit. Le 15 nov. 07 ? 22:05, Cal Horner a ?crit : > I have a Background object that I use as a pin board in one of my > projects. > I have made this pin board a scrolling group object . I have > managed to > make the Background object 32767 x 32765. Which suits at present. > > What bothers me is the worry that I may need to make the background > object > larger than 32767 x 32767. You know the old saying "Bigger is Better"? > > I have tried using the properties panel to enlarge the background, > but the > panel seems to disappear into another time continuum when the > number goes > above 32767 > > Is this a limit imposed by Revolution or do any of you have a tried > and true > method for making a object larger area than 32767 x 32767? > > Cal Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From SimPLsol at aol.com Thu Nov 15 16:40:41 2007 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Thu, 15 Nov 2007 16:40:41 EST Subject: Bigger is better Message-ID: Cal, If I've done the math right, a 32767 pin board is over 10 meters square. Even if it could be made larger, there would be a lot of scrolling on even the largest monitor available today. I'm not sure what your goal is but there may be other ways of achieving it. Perhaps you could store each pinned object in an individual card and just display an index of the cards to find the appropriate one. Paul Looney ************************************** See what's new at http://www.aol.com From pmbrig at gmail.com Thu Nov 15 17:08:04 2007 From: pmbrig at gmail.com (Peter Brigham) Date: Thu, 15 Nov 2007 17:08:04 -0500 Subject: (mac) application menu Message-ID: <1CA942DB-8A43-4891-B7E7-5ED7A75ECA2D@gmail.com> Mark Schonewille: **** Maybe I was wrong with my previous suggestion. Have you tried changing both the Name field in the General pane and the Name field in the OSX pane? I did have the same problem some time ago and I am sure I solved it by changing one of these fields. **** Yes. I just discovered this for myself. The name that gets put in the Mac menubar as the application name is the name you specify in the OSX plist section. Good to know. Thanks. Now, the other mystery -- I convert my stack to a standalone (now with the correct application name in the Mac manubar!) and when I select "quit from the application menu, nothing happens. Anyone have any ideas what could cause this behavior? Per my previous experiments, this is probably *not* due to anything in my scripting, as it seems that the quit command is handled by the system. So what could be the problem? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig/ -- I know where it's at, but I forget what it's for. From devin_asay at byu.edu Thu Nov 15 17:35:50 2007 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 15 Nov 2007 15:35:50 -0700 Subject: (mac) application menu In-Reply-To: <1CA942DB-8A43-4891-B7E7-5ED7A75ECA2D@gmail.com> References: <1CA942DB-8A43-4891-B7E7-5ED7A75ECA2D@gmail.com> Message-ID: <44C73039-7597-441A-8576-7340C3570C39@byu.edu> On Nov 15, 2007, at 3:08 PM, Peter Brigham wrote: > Mark Schonewille: > > **** > Maybe I was wrong with my previous suggestion. Have you tried > changing both the Name field in the General pane and the Name field > in the OSX pane? > > I did have the same problem some time ago and I am sure I solved it > by changing one of these fields. > **** > Yes. I just discovered this for myself. The name that gets put in > the Mac menubar as the application name is the name you specify in > the OSX plist section. Good to know. Thanks. > > Now, the other mystery -- I convert my stack to a standalone (now > with the correct application name in the Mac manubar!) and when I > select "quit from the application menu, nothing happens. > Anyone have any ideas what could cause this behavior? Per my > previous experiments, this is probably *not* due to anything in my > scripting, as it seems that the quit command is handled by the > system. So what could be the problem? Peter, I believe that you must script the Quit menu to make it work when you choose Quit from the menu with the mouse. It is when you use the shortcut keys Command-Q that the OS takes over and quits no matter what you scripted. If you want to override this behavior you have to use an AppleScript routine. I know Ken Ray has a note on his web site about how to do this. See www.sonsothunder.com. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From m.schonewille at economy-x-talk.com Thu Nov 15 19:16:34 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 16 Nov 2007 01:16:34 +0100 Subject: (mac) application menu In-Reply-To: <1CA942DB-8A43-4891-B7E7-5ED7A75ECA2D@gmail.com> References: <1CA942DB-8A43-4891-B7E7-5ED7A75ECA2D@gmail.com> Message-ID: <12EBDE0B-E57E-45CA-A714-BEB84E1D2B08@economy-x-talk.com> Peter, When you use the Quit menu item, Mac OS X sends an event to Revolution. You can catch this message with the AppleEvent handler or the shutdownRequest handler. On Mac OS X, I prefer to use the AppleEvent handler most of the time. If you use either the AppleEvent handler or the shutdownRequest handler without a pass command, the application will not quit by itself (you can also lock messages and issue the quit command). When you press command-Q, the Quit menu item should work just like when you use the mouse to select this menu item and you can catch the AppleEvent and shutdownRequest messages again. However, your script may catch the commandKeyDown message. If you don't pass this message with the pass command, your application may not quit. There are versions of Revolution that don't pass the commandKeydown message because of a bug. There are also versions that don't pass the AppleEvent message. If you are using Rev 2.8.1, problems with quitting are probably due to a script. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 15-nov-2007, om 23:08 heeft Peter Brigham het volgende geschreven: > Now, the other mystery -- I convert my stack to a standalone (now > with the correct application name in the Mac manubar!) and when I > select "quit from the application menu, nothing happens. > Anyone have any ideas what could cause this behavior? Per my > previous experiments, this is probably *not* due to anything in my > scripting, as it seems that the quit command is handled by the > system. So what could be the problem? > > -- Peter > From userev at canelasoftware.com Thu Nov 15 19:37:09 2007 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 15 Nov 2007 16:37:09 -0800 Subject: Anyone noticing stalled uploading? find a solution? In-Reply-To: <337C3CAA-D24B-4CD0-9689-7952D79A397E@dvcreators.net> References: <337C3CAA-D24B-4CD0-9689-7952D79A397E@dvcreators.net> Message-ID: On Nov 9, 2007, at 1:52 PM, Josh Mellicker wrote: > Has anyone else experienced stalled libURL operations when > uploading or downloading a list of files? Did you find a solution? I wrote a simple FTP program that I use on a daily basis. Minus Revs wonky drag and drop (soon to be fixed in 2.9), it works very well. You can download it here: Mark Talluto -- CANELA Software http://www.canelasoftware.com From paolo.mazza at neol.it Fri Nov 16 03:48:37 2007 From: paolo.mazza at neol.it (paolo mazza) Date: Fri, 16 Nov 2007 09:48:37 +0100 Subject: Revolution stack always on top In-Reply-To: <7c87a2a10711130626t53b472c4m3966a22976a31de6@mail.gmail.com> References: <7c87a2a10711130626t53b472c4m3966a22976a31de6@mail.gmail.com> Message-ID: Dear friends, how can I keep a revolution stack always on top and at the same time have an application working in background in MACOSX? In my application, using windowshape I can see the background application. But, if the user clicks on this application, the finder put on top this application and it show its menu. How can I prevent this? I tryed using the "systemWindow" property but it is not clear to me how it works on macosx. I want the revolution stack always on top, even if the user clicks on an other application. Any idea? Thanks Paolo ****************************************** Paolo Mazza NEOL SRL Societ? partecipata da Universit? di Padova via N. Tommaseo 84 35131 - Padova (Italy) Tel 049- 2050147 - Fax 049-7964386 www.neol.it From dave at looktowindward.com Fri Nov 16 04:18:54 2007 From: dave at looktowindward.com (Dave) Date: Fri, 16 Nov 2007 09:18:54 +0000 Subject: Massive Speed difference between Mac/PC with SQLite Message-ID: <563FA669-D619-47AB-984F-562D6E4A2EF0@looktowindward.com> Hi, I have an application that works on Mac and PC. There is a process that read an XML file, re-arranges the data and writes a record to an SQLite database. On the Mac, to build a 10,000 Tracks database takes around 90 seconds, how ever on the PC the same code (both in the Standalone and the IDE) runs, much, much, slower. The same 10,000 records takes over 10 minutes! Does anyone have an idea why this should be? All the Best Dave From williamdesmet at gmail.com Fri Nov 16 04:56:41 2007 From: williamdesmet at gmail.com (William de Smet) Date: Fri, 16 Nov 2007 10:56:41 +0100 Subject: Multiuser or not multiuser In-Reply-To: References: <20071115145655.1D80B4890B5@mail.runrev.com> Message-ID: Thanks for your replies, A database engine is not what I need because I don't know how to do it. I will stick with TXT files. If I follow Henks suggestion I will export every users choice as a seperate file. But how do I collect these? I know how to import just one textfile but how do I import more than one textfile? They will look like this: date_name.TXT greetings, William de Smet 2007/11/15, Henk van der Velden : > > Hi William, > > goeiemiddag.. > > Indeed, the other question is how to approach the multi-user issue in > this case. > Blocking clients like this can be a bit unfriendly, and it also poses > issues when the 'inuse' variable isn't saved properly. You could end > up with a completely blocked application. > > One approach could be to use a database. Database engines have their > own record blocking mechanisms, so one user can't overwrite the > record of another user. > > Or, if you don't want to setup a database, you could probably create > a folder on every day, and have each user add his / her own textfile > to that folder. If you put both the username and the chosen lunch > into the file, a user could eventually turn back and change his choice. > You could create another app that collects all the text files and > creates a list out of it. > > Kind regards, > Henk > > > On 15-nov-2007, at 15:56, use-revolution-request at lists.runrev.com wrote: > > > Because the app is put on a Server 2003 with XP clients it needs to be > > multiuser or not. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dave.cragg at lacscentre.co.uk Fri Nov 16 04:59:24 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 16 Nov 2007 09:59:24 +0000 Subject: libURLSetFTPStopTime In-Reply-To: References: <963CF05E-AB5E-4A56-BAD1-9263746A650C@lacscentre.co.uk> Message-ID: <51C16C18-9D31-42FC-8AC3-1685060CED32@lacscentre.co.uk> On 15 Nov 2007, at 20:53, Sarah Reichelt wrote: > Yes, it woould be neater if the same connection could be kept open, > however I have got a workable solution now. > Sarah, I just ran a quick check her using liburlDownloadToFile on a series of 7 files. The same "control connection" was used for all downloads. (FTP uses a different connection for the data transfers.) At the end, after 15 seconds, the FTP QUIT command was issued, and the connection was closed. This was all as expected. If you can use libUrlSetLogField to get a log of the transactons, it might help show what is happening. Send it to me off list if you want. Cheers Dave From eric.chatonet at sosmartsoftware.com Fri Nov 16 05:08:10 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 16 Nov 2007 11:08:10 +0100 Subject: Revolution stack always on top In-Reply-To: References: <7c87a2a10711130626t53b472c4m3966a22976a31de6@mail.gmail.com> Message-ID: <1883C9B3-1203-4E9A-AA34-A1218E9B0FDB@sosmartsoftware.com> Hi Paolo, Setting the systemWindow property to true should work as you expect it: The window is always on top of any other window (rev window or any other app window). I encourage you to check, uncheck and check again the box in the property palette: it does not seem to respond every time... Note that when a window is a system window, its style stays 'toplevel' even if the title bar becomes a palette title bar and the dock box is of course disabled. In addition, you can set the windowshape of such a window without affecting its systemwindow property but changing its decorations will set systemWindow to false... Le 16 nov. 07 ? 09:48, paolo mazza a ?crit : > Dear friends, > how can I keep a revolution stack always on top and at the same > time have > an application working in background in MACOSX? > > In my application, using windowshape I can see the background > application. > But, if the user clicks on this application, the finder put on top > this > application and it show its menu. How can I prevent this? > > I tryed using the "systemWindow" property but it is not clear to > me how > it works on macosx. > > I want the revolution stack always on top, even if the user clicks > on an > other application. > > Any idea? > > Thanks > > Paolo Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From paolo.mazza at neol.it Fri Nov 16 06:10:11 2007 From: paolo.mazza at neol.it (paolo mazza) Date: Fri, 16 Nov 2007 12:10:11 +0100 Subject: Revolution stack always on top In-Reply-To: <1883C9B3-1203-4E9A-AA34-A1218E9B0FDB@sosmartsoftware.com> References: <1883C9B3-1203-4E9A-AA34-A1218E9B0FDB@sosmartsoftware.com> Message-ID: Thanks Eric, actually setting "the systemWindow to true" and the "hide menubar" I experience some problems: 1 - when I click on the desktop or on another application I get the menu of the finder or the menubar of the other application. 1 - when I click on another application I get the menu of the other application even . 2- even if I click on the rev application I can not activate the rev application and I am stucked. I can only click on buttons of the rev application. 3 - I do not see the dialog windows (eg command answer "jhjh" ) Best regards from Padova (30 chilometers far from Venice) Paolo How to use Revolution writes: >Hi Paolo, > >Setting the systemWindow property to true should work as you expect it: >The window is always on top of any other window (rev window or any >other app window). >I encourage you to check, uncheck and check again the box in the >property palette: it does not seem to respond every time... >Note that when a window is a system window, its style stays >'toplevel' even if the title bar becomes a palette title bar and the >dock box is of course disabled. In addition, you can set the >windowshape of such a window without affecting its systemwindow >property but changing its decorations will set systemWindow to false... > >Le 16 nov. 07 ? 09:48, paolo mazza a ?crit : > >> Dear friends, >> how can I keep a revolution stack always on top and at the same >> time have >> an application working in background in MACOSX? >> >> In my application, using windowshape I can see the background >> application. >> But, if the user clicks on this application, the finder put on top >> this >> application and it show its menu. How can I prevent this? >> >> I tryed using the "systemWindow" property but it is not clear to >> me how >> it works on macosx. >> >> I want the revolution stack always on top, even if the user clicks >> on an >> other application. >> >> Any idea? >> >> Thanks >> >> Paolo > >Best regards from Paris, >Eric Chatonet. >---------------------------------------------------------------- >Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ >Email: eric.chatonet at sosmartsoftware.com/ >---------------------------------------------------------------- > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution ****************************************** Paolo Mazza NEOL SRL Societ? partecipata da Universit? di Padova via N. Tommaseo 84 35131 - Padova (Italy) Tel 049- 2050147 - Fax 049-7964386 www.neol.it From dave at looktowindward.com Fri Nov 16 06:16:16 2007 From: dave at looktowindward.com (Dave) Date: Fri, 16 Nov 2007 11:16:16 +0000 Subject: [UPD] Script Editor Mod 003 In-Reply-To: <3D46883D-7309-4A5F-A776-C5A6C8CF8BE8@wehostmacs.com> References: <3D46883D-7309-4A5F-A776-C5A6C8CF8BE8@wehostmacs.com> Message-ID: Hi All, Not sure if this is a problem with the PlugIn or not, but every now and then RunRev freezes and I have to Force Quit it. When this happens the cursor is set to the Column shift cursor - the one you get when you hover over the Handler Divider bar. Anyone else seen this? All the Best Dave On 12 Nov 2007, at 09:03, Shao Sean wrote: > Thanks for the feedback. A new version has been released with fixes > to the script line numbering code so it has the proper line numbers > when opening a new script editor window as well as keeping the line > numbers and hilite updated better. > > Screenshot < http://shaosean.tk/_resources/images/ > revscripteditor.png > > Download < http://shaosean.tk/revide.php > > > > Again, thanks for all the support :-) > -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 sunshine at public.kherson.ua Fri Nov 16 06:38:05 2007 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri, 16 Nov 2007 13:38:05 +0200 Subject: Massive Speed difference between Mac/PC with SQLite In-Reply-To: <563FA669-D619-47AB-984F-562D6E4A2EF0@looktowindward.com> Message-ID: On 16/11/07 11:18 AM, "Dave" wrote: Hi Dave, > Hi, > > I have an application that works on Mac and PC. There is a process > that read an XML file, re-arranges the data and writes a record to an > SQLite database. On the Mac, to build a 10,000 Tracks database takes > around 90 seconds, how ever on the PC the same code (both in the > Standalone and the IDE) runs, much, much, slower. The same 10,000 > records takes over 10 minutes! > > Does anyone have an idea why this should be? On some reason (which I even don't know) Windows is very slow on flush to HDD. as well as allocation of new segments. SqlLite, as you can know, do transaction as lock of full db plus creation log files on disk. BIG dbs in contrast, allocate on disk areas e.g. Even in 300MB and later use it. Let me know if you will not find solution. Btw, just for your info: Valentina is able add into table with 17-19 fields 100,000 records in about 2.5-3 seconds (in best time). -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From xavier.bury at clearstream.com Fri Nov 16 07:10:42 2007 From: xavier.bury at clearstream.com (xavier.bury at clearstream.com) Date: Fri, 16 Nov 2007 13:10:42 +0100 Subject: Massive Speed difference between Mac/PC with SQLite In-Reply-To: <563FA669-D619-47AB-984F-562D6E4A2EF0@looktowindward.com> Message-ID: Hi Dave try this: http://support.microsoft.com/?kbid=259716 For a full read of similar issues, here's another usefull link: http://bugs.mysql.com/bug.php?id=17984 Regards, ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server use-revolution-bounces at lists.runrev.com wrote on 16/11/2007 10:18:54: > Hi, > > I have an application that works on Mac and PC. There is a process > that read an XML file, re-arranges the data and writes a record to an > SQLite database. On the Mac, to build a 10,000 Tracks database takes > around 90 seconds, how ever on the PC the same code (both in the > Standalone and the IDE) runs, much, much, slower. The same 10,000 > records takes over 10 minutes! > > Does anyone have an idea why this should be? > > All the Best > Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ---------------------------------------------------------------------------- Clearstream Services S.A. 42 Avenue JF Kennedy, L-1855 Luxembourg Soci?t? anonyme is organised with limited liability in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911. ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. Legally required information for business correspondence/ Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: http://deutsche-boerse.com/letterhead END OF DISCLAIMER From dave at looktowindward.com Fri Nov 16 08:05:51 2007 From: dave at looktowindward.com (Dave) Date: Fri, 16 Nov 2007 13:05:51 +0000 Subject: Valentina for RunRev? Message-ID: Hi, We would like to evaluate Valentina for RunRev, does anyone know if there is an evaluation license available? We are currently using SQLite and would like to compare performance on different platforms. Thanks a lot All the Best Dave From m.schonewille at economy-x-talk.com Fri Nov 16 08:14:31 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 16 Nov 2007 14:14:31 +0100 Subject: Valentina for RunRev? In-Reply-To: References: Message-ID: <6119BBB9-863F-4724-B225-67F27F1E8E18@economy-x-talk.com> Just go to the Valentina website and click Download, Demo. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 16-nov-2007, om 14:05 heeft Dave het volgende geschreven: > Hi, > > We would like to evaluate Valentina for RunRev, does anyone know if > there is an evaluation license available? We are currently using > SQLite and would like to compare performance on different platforms. > > Thanks a lot > All the Best > Dave > From sunshine at public.kherson.ua Fri Nov 16 08:16:41 2007 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri, 16 Nov 2007 15:16:41 +0200 Subject: Valentina for RunRev? In-Reply-To: Message-ID: On 16/11/07 3:05 PM, "Dave" wrote: Hi Dave, > Hi, > > We would like to evaluate Valentina for RunRev, does anyone know if > there is an evaluation license available? We are currently using > SQLite and would like to compare performance on different platforms. Yes of course, you can download a) DEMO of "Valentina for Revolution" ADK works 10 min per app start b) Valentina Server demo - works non stop until end of month. c) Valentina Studio GUI tool for Valentina dbs to manage dbs locally and under Valentina Servers here: http://www.paradigmasoft.com/en/products/download > Thanks a lot > All the Best > Dave -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From m.schonewille at economy-x-talk.com Fri Nov 16 08:19:11 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 16 Nov 2007 14:19:11 +0100 Subject: Valentina for RunRev? In-Reply-To: <6119BBB9-863F-4724-B225-67F27F1E8E18@economy-x-talk.com> References: <6119BBB9-863F-4724-B225-67F27F1E8E18@economy-x-talk.com> Message-ID: Actually... it looks like there is only a demo of the server available. I can't find a demo of the Rev plugin for Valentina. If I were to spend $200 on a plugin for Mac and another $200 on a plugin for Win, I definitely would want to see the demo first. Can you do anything about that, Paradigma? Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 16-nov-2007, om 14:14 heeft Mark Schonewille het volgende geschreven: > Just go to the Valentina website and click Download, Demo. > > Best regards, > > Mark Schonewille > > > Op 16-nov-2007, om 14:05 heeft Dave het volgende geschreven: > >> Hi, >> >> We would like to evaluate Valentina for RunRev, does anyone know >> if there is an evaluation license available? We are currently >> using SQLite and would like to compare performance on different >> platforms. >> >> Thanks a lot >> All the Best >> Dave >> From m.schonewille at economy-x-talk.com Fri Nov 16 08:23:56 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 16 Nov 2007 14:23:56 +0100 Subject: Valentina for RunRev? In-Reply-To: References: Message-ID: <8AF9DEB9-2C7E-4FCC-8402-453C55ADD0D7@economy-x-talk.com> Hi Ruslan, First I saw two "Download" buttons on the front page. No demo there. Next, I chose "Valentina for Revolution" from a JavaScript menu. No demo there. Finally, I found the page by clicking on Download. Why isn't there a clear link saying "Demo" on the front page? Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 16-nov-2007, om 14:16 heeft Ruslan Zasukhin het volgende geschreven: > On 16/11/07 3:05 PM, "Dave" wrote: > > Hi Dave, > >> Hi, >> >> We would like to evaluate Valentina for RunRev, does anyone know if >> there is an evaluation license available? We are currently using >> SQLite and would like to compare performance on different platforms. > > Yes of course, you can download > > a) DEMO of "Valentina for Revolution" ADK > works 10 min per app start > > b) Valentina Server demo - > works non stop until end of month. > > c) Valentina Studio > GUI tool for Valentina dbs to manage dbs locally and > under Valentina Servers > > here: > > http://www.paradigmasoft.com/en/products/download > >> Thanks a lot >> All the Best >> Dave > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Fri Nov 16 08:39:33 2007 From: viktoras at ekoinf.net (viktoras didziulis) Date: Fri, 16 Nov 2007 15:39:33 +0200 Subject: Massive Speed difference between Mac/PC with SQLite In-Reply-To: <563FA669-D619-47AB-984F-562D6E4A2EF0@looktowindward.com> References: <563FA669-D619-47AB-984F-562D6E4A2EF0@looktowindward.com> Message-ID: <473D9D95.1000001@ekoinf.net> Hi Dave, try building your database in :memory: mode. Then dump it to hard disk when ready. I do this routinely in an Rev/SQLite program that deals with 100 000 records distributed over 25 tables with about and 127 fields and it takes less then 2 seconds to copy the entire database to RAM and no query returning thousands of records from the database takes longer then 7 secs on a modest 1,4 GHz Windows XP system with 256 Mb RAM. Well, queries had to be manually optimised, otherwise "traditional" joins of a few tables took ~10 min. to execute returning the same result set. One more alternative hint for sqlite (this won't work with in-RAM databases launched from within Rev, but will for any hard-disk based db) is to NOT use SQL to populate the entire database with large amounts of data. Use shell to sqlite3 executable to .import FILE TABLE. This works much, much, much faster. Viktoras Dave wrote: > Hi, > > I have an application that works on Mac and PC. There is a process > that read an XML file, re-arranges the data and writes a record to an > SQLite database. On the Mac, to build a 10,000 Tracks database takes > around 90 seconds, how ever on the PC the same code (both in the > Standalone and the IDE) runs, much, much, slower. The same 10,000 > records takes over 10 minutes! > > Does anyone have an idea why this should be? > > All the Best > Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From sunshine at public.kherson.ua Fri Nov 16 08:45:49 2007 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri, 16 Nov 2007 15:45:49 +0200 Subject: Valentina for RunRev? In-Reply-To: <8AF9DEB9-2C7E-4FCC-8402-453C55ADD0D7@economy-x-talk.com> Message-ID: On 16/11/07 3:23 PM, "Mark Schonewille" wrote: Hi Mark, Hi Lynn, > Hi Ruslan, > > First I saw two "Download" buttons on the front page. No demo there. > Next, I chose "Valentina for Revolution" from a JavaScript menu. No > demo there. > Finally, I found the page by clicking on Download. > Why isn't there a clear link saying "Demo" on the front page? Well, like most of software, you can download Valentina and use it in DEMO mode. After purchase you get serials or license files and now able to use software in full mode. It seems the whole (or almost) software industry works in this way. Right? So we even could not image that somebody could think we do not give demo downloads. :-) But your point is correct. We need improve things, and add some text that explain in many places you can get DEMO. Also add FAQ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Nov 16 08:58:43 2007 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri, 16 Nov 2007 15:58:43 +0200 Subject: Massive Speed difference between Mac/PC with SQLite In-Reply-To: <473D9D95.1000001@ekoinf.net> Message-ID: On 16/11/07 3:39 PM, "viktoras didziulis" wrote: Hi Victoras, > Hi Dave, > > try building your database in :memory: mode. Then dump it to hard disk > when ready. I do this routinely in an Rev/SQLite program that deals with > 100 000 records distributed over 25 tables with about and 127 fields and > it takes less then 2 seconds to copy the entire database to RAM and no > query returning thousands of records from the database takes longer then > 7 secs on a modest 1,4 GHz Windows XP system with 256 Mb RAM. > Well, queries had to be manually optimised, otherwise "traditional" joins of a > few tables took ~10 min. to execute returning the same result set. Can you explain this? JOIN on RAM db/tables SqlLite do so slowly ??? why? What reason? > One more alternative hint for sqlite (this won't work with in-RAM > databases launched from within Rev, but will for any hard-disk based db) > is to NOT use SQL to populate the entire database with large amounts of > data. Use shell to sqlite3 executable to .import FILE TABLE. This works > much, much, much faster. Right, because this is single command. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From dave at looktowindward.com Fri Nov 16 08:59:58 2007 From: dave at looktowindward.com (Dave) Date: Fri, 16 Nov 2007 13:59:58 +0000 Subject: Valentina for RunRev? In-Reply-To: References: Message-ID: Hi, I downloaded what I think is the correct package - I received a file called "v4rev_3_mac.dmg" on my Mac. I installed this, but not really sure what got installed and what I am supposed to do now?! Can I now use Valentina via the RunRev database functions? e.g. Specify Valentina on the Database open call? Thanks a lot All the Best Dave All the Best Dave On 16 Nov 2007, at 13:45, Ruslan Zasukhin wrote: > On 16/11/07 3:23 PM, "Mark Schonewille" talk.com> > wrote: > > Hi Mark, > Hi Lynn, > >> Hi Ruslan, >> >> First I saw two "Download" buttons on the front page. No demo there. >> Next, I chose "Valentina for Revolution" from a JavaScript menu. No >> demo there. > >> Finally, I found the page by clicking on Download. > >> Why isn't there a clear link saying "Demo" on the front page? > > Well, like most of software, you can download Valentina and use it > in DEMO > mode. After purchase you get serials or license files and now able > to use > software in full mode. > > It seems the whole (or almost) software industry works in this way. > Right? > > So we even could not image that somebody could think we do not give > demo > downloads. :-) > > But your point is correct. We need improve things, and add some > text that > explain in many places you can get DEMO. Also add FAQ... > > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sunshine at public.kherson.ua Fri Nov 16 09:29:49 2007 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri, 16 Nov 2007 16:29:49 +0200 Subject: Valentina for RunRev? In-Reply-To: Message-ID: On 16/11/07 3:59 PM, "Dave" wrote: Hi Dave, > Hi, > > I downloaded what I think is the correct package - I received a file > called "v4rev_3_mac.dmg" on my Mac. I installed this, but not really > sure what got installed and what I am supposed to do now?! > > Can I now use Valentina via the RunRev database functions? e.g. > Specify Valentina on the Database open call? 1) check this docs urls http://www.paradigmasoft.com/en/products/documentation/V4REV Databases from Zero: http://www.valentina-db.com/dokuwiki/doku.php?id=paradigma:public:en:documen tation:v4rev:howto:databases_from_zero:databases_from_zero 2) Valentina for Revolution offers both * REV DB API * own Valentina API * exists bridges from one to another. 3) You can check V4REV/Examples stack as well as V4REV/Examples/Test stack. Please subscribe to Valentina lists from our SUPPORT menu on site, to not bomb REV list. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From viktoras at ekoinf.net Fri Nov 16 09:46:36 2007 From: viktoras at ekoinf.net (viktoras didziulis) Date: Fri, 16 Nov 2007 16:46:36 +0200 Subject: Massive joins In-Reply-To: References: Message-ID: <473DAD4C.9010900@ekoinf.net> The query needed to left join 3 tables (with 10 000 (species), 30 000 (donor regions) and 200 (region definitions) records.) on the forth with 40 000 records (species introduction events) and filter the result list of regions using constraints (WHERE...) on 1 or 20 fields. Using LEFT JOINs in this case was very slow - up to 10 minutes. I rewrote joins (as described in "SQL" by Martin Gruber) in a form like this: SELECT DISTINCT sir.country, sir.start_year, sir.end_year FROM species_in_region sir WHERE sir.idspecies IN( SELECT sp.idspecies FROM species sp WHERE sp.ordo IN(1,10,23,15) ) AND sir.id_sp_region IN( SELECT da.id_sp_region FROM donor_areas da WHERE da.regionid IN(2,3,4,115,23,21) ) AND /etc..../ ORDER BY sir.end_year Implemented in this form it takes less than a second. SQLite is a very small database engine and likely (???) does not perform any query optimizations internally. In comparison with MySQL, which does optimise joins, the same unoptimised query with joins in MySQL database server is executed just a little (~0.2 sec.) slower than manually-optimised query in SQLite. Viktoras Ruslan Zasukhin wrote: > Can you explain this? > > JOIN on RAM db/tables SqlLite do so slowly ??? > why? What reason? > > From hershf at rgllc.us Fri Nov 16 10:46:40 2007 From: hershf at rgllc.us (Hershel Fisch) Date: Fri, 16 Nov 2007 10:46:40 -0500 Subject: Interesting thing in menu bar Message-ID: Hi all, I just realized an interesting thing with 2.9 on osx. in the menu bar it looks like there is a bug, maybe not who knows. I have a stack with multiple cards, in edit mode when I toggle from card to card using either the "go to next cd" under the "view" menu or "command 3" the menus under "object" gets messed up every thing multiplies e.g. new card many times and so on. At first I though that the problem is in my script so I tried it on 2.8 and its good, no problem. Thanks, Hershel From lfredricks at proactive-intl.com Fri Nov 16 10:51:07 2007 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri, 16 Nov 2007 07:51:07 -0800 Subject: Valentina for RunRev? In-Reply-To: References: <8AF9DEB9-2C7E-4FCC-8402-453C55ADD0D7@economy-x-talk.com> Message-ID: <036501c82868$809d4740$6501a8c0@GATEWAY> > > Why isn't there a clear link saying "Demo" on the front page? > > Well, like most of software, you can download Valentina and > use it in DEMO mode. After purchase you get serials or > license files and now able to use software in full mode. > > It seems the whole (or almost) software industry works in > this way. Right? > > So we even could not image that somebody could think we do > not give demo downloads. :-) > > But your point is correct. We need improve things, and add > some text that explain in many places you can get DEMO. Also > add FAQ... The whole pie is available when you download and install. There is a restart required on the ADKs and we also have monthly test licenses (these are files that get installed on the server) for the server products. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From burrton at gmail.com Fri Nov 16 10:58:33 2007 From: burrton at gmail.com (Burrton Woodruff) Date: Fri, 16 Nov 2007 10:58:33 -0500 Subject: SSL library not found Message-ID: Dear Folk, I upgraded to Leopard and now I'm getting the "SSL library not found" when using Rev Enterprise 2.8.1 for Mac. The stack worked fine earlier. Where is the SSL library. I haven't been able to find it. Burrton Woodruff burrton at gmail.com burrton at mac.com From sunshine at public.kherson.ua Fri Nov 16 11:05:24 2007 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri, 16 Nov 2007 18:05:24 +0200 Subject: Massive joins In-Reply-To: <473DAD4C.9010900@ekoinf.net> Message-ID: On 16/11/07 4:46 PM, "viktoras didziulis" wrote: Hi Victor, > The query needed to left join 3 tables (with 10 000 (species), 30 000 > (donor regions) and 200 (region definitions) records.) on the forth with > 40 000 records (species introduction events) and filter the result list > of regions using constraints (WHERE...) on 1 or 20 fields. Using LEFT > JOINs in this case was very slow - up to 10 minutes. Well, it seems to me this is simple task, and small tables. Valentina should resolve such joins in e.g. 0.01 - 0.1 sec or less. > I rewrote joins (as > described in "SQL" by Martin Gruber) in a form like this: > > SELECT DISTINCT sir.country, sir.start_year, sir.end_year > FROM species_in_region sir WHERE sir.idspecies IN( > SELECT sp.idspecies FROM species sp WHERE sp.ordo IN(1,10,23,15) > ) > AND sir.id_sp_region IN( > SELECT da.id_sp_region FROM donor_areas da WHERE da.regionid > IN(2,3,4,115,23,21) > ) > AND /etc..../ > ORDER BY sir.end_year > Implemented in this form it takes less than a second. > SQLite is a very small database engine and likely (???) does not perform any > query optimizations internally. But this looks like nightmare! Where from you get this "magic" numbers IN(1,10,23,15) A) You did before this many other small queries to collect them? B) And later you build this big SQL string? (also time at last of end). If yes, then you need also count time of (A) + (B) + (C) > In comparison with MySQL, which does optimise joins, the same unoptimised > query with joins in MySQL database server is executed just a little (~0.2 > sec.) slower than manually-optimised query in SQLite. Well, IMHO its very hard in real life write for each join such MANUAL optimizations :-) > Viktoras > > Ruslan Zasukhin wrote: >> Can you explain this? >> >> JOIN on RAM db/tables SqlLite do so slowly ??? >> why? What reason? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From JimAultWins at yahoo.com Fri Nov 16 11:27:09 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 16 Nov 2007 08:27:09 -0800 Subject: Multiuser or not multiuser In-Reply-To: Message-ID: There are a few ways to collect the text files, store them, copy them, etc. Server storage, one location Server storage, keeping the previous file as backup in case of corruption or interrupted session. Storage on users machine, then updating the server version at login. Storage on server and user computer. Basically, you are using reading: put url ("file:/" & thePathh & theFile) into revVariable writing: put revVariable into url ("file:/" & thePathh & theFile) This means you can have a variety of ways to define thePathh & theFile since they are just strings describing the location. thePathh C:/Documents/LoginDoc/ theFile 061107_mbenz.txt --making copies of files on the same hard drive put "C:/Documents/LoginDoc/Users/" into thePathh set the defaultfolder to thePathh put the files into theFileList filter theFileList without "*_*" --only names containing "_" put "C:/Documents/AdminiMe/AllUsers/" into theDestination repeat for each fName in theFileList put char 1 to -5 of theFile into userName put url ("file:/" & thePathh & "/" & theFile) into fileContents --now you have 1 file and 1 file name put fileContents into url ("file:/" & theDestination & "/" & theFile) if not (there is a folder theDestination) then answer "oops => no FOLDER was found at " & cr & theDestination exit to top end if set the defaultfolder to theDestination if not (there is a file theFile) then answer "oops => no FILE was written at " & cr & theDestination exit to top end if set the defaultfolder to thePathh --for next loop end repeat end mmm --you could do this with remote path names --or --when a user first logs on, save a copy to both the server and user hard drive Hope this helps you get started Jim Ault Las Vegas On 11/16/07 1:56 AM, "William de Smet" wrote: > Thanks for your replies, > > A database engine is not what I need because I don't know how to do it. I > will stick with TXT files. > If I follow Henks suggestion I will export every users choice as a seperate > file. > But how do I collect these? > I know how to import just one textfile but how do I import more than one > textfile? > They will look like this: date_name.TXT > > greetings, > > William de Smet > > 2007/11/15, Henk van der Velden : >> >> Hi William, >> >> goeiemiddag.. >> >> Indeed, the other question is how to approach the multi-user issue in >> this case. >> Blocking clients like this can be a bit unfriendly, and it also poses >> issues when the 'inuse' variable isn't saved properly. You could end >> up with a completely blocked application. >> >> One approach could be to use a database. Database engines have their >> own record blocking mechanisms, so one user can't overwrite the >> record of another user. >> >> Or, if you don't want to setup a database, you could probably create >> a folder on every day, and have each user add his / her own textfile >> to that folder. If you put both the username and the chosen lunch >> into the file, a user could eventually turn back and change his choice. >> You could create another app that collects all the text files and >> creates a list out of it. >> >> Kind regards, >> Henk >> >> >> On 15-nov-2007, at 15:56, use-revolution-request at lists.runrev.com wrote: >> >>> Because the app is put on a Server 2003 with XP clients it needs to be >>> multiuser or not. >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 Fri Nov 16 11:45:22 2007 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Fri, 16 Nov 2007 08:45:22 -0800 Subject: Interesting thing in menu bar In-Reply-To: References: Message-ID: I had (and bugzilla'd) a problem with the IDE menus in 2.9 dp1 not properly showing the groups available for placing. >Hi all, I just realized an interesting thing with 2.9 on osx. in the menu >bar it looks like there is a bug, maybe not who knows. >I have a stack with multiple cards, in edit mode when I toggle from card to >card using either the "go to next cd" under the "view" menu or "command 3" >the menus under "object" gets messed up every thing multiplies e.g. new card >many times and so on. At first I though that the problem is in my script so >I tried it on 2.8 and its good, no problem. >Thanks, Hershel > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From francois.chaplais at ensmp.fr Fri Nov 16 11:46:14 2007 From: francois.chaplais at ensmp.fr (=?ISO-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Fri, 16 Nov 2007 17:46:14 +0100 Subject: How do I create an Icon View In-Reply-To: <13756153.post@talk.nabble.com> References: <13756153.post@talk.nabble.com> Message-ID: <0c295b99262852062e601530db118ec1@ensmp.fr> Le 14 nov. 07, ? 21:46, mfstuart a ?crit : > > Hi all, > > On Mac and Win platforms, the Explorer and Finder have an Icon View. > Where each icon (and icon name) appear in a grid type of layout? > > How would I create this type of layout with RunRev? On the Mac side, if you are willing to use Applescript, the Finder is scriptable and has an "icon" property (the one you want) for the "item" class. If you want to preview graphic files, GraphicConverter is also scriptable. I do not have Leopard, so I do not know if you can access its preview function from AppleScript. Disclaimer: I have not tested these! Francois Chaplais 35 rue Saint-Honore 77305 Fontainebleau Cedex France http://cas.ensmp.fr/~chaplais/index-e.html From lfredricks at proactive-intl.com Fri Nov 16 13:19:34 2007 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri, 16 Nov 2007 10:19:34 -0800 Subject: Mirye - A North America/Japan Publishing Partner for Revolution Message-ID: <000a01c8287d$3dd2d730$6501a8c0@GATEWAY> Hello everyone, I didn't want to send this to the list just as a press release - you all know me and many have wondered why I've been under the radar recently after strongly promoting Runtime Revolution Live to speakers, now in Jo's capable hands. Following our success of getting into Programmer's Paradise - more of the same! :-) I have launched a new software publishing business called Mirye - http://www.mirye.com ( on play on spelling and words - "mirai" is "the future" in Japanese, plus some Russian and English word play). Mirye has publishing/distribution rights to Runtime Revolution in North America and Japan. This means you can get Runtime Revolution through new venues, there's reachable customer service within North America (arrangements being made in Japan) and its all fulfilled through this new venue. Most Runtime Revolution products are available through Mirye, including upgrades and renewals. We are not carrying Ten Thumbs Typing Tutor, but focusing strongly on the pro design and development markets. Download and physical product is available of Revolution. You can still buy directly from Runtime if you like. If there's an offer you get from Runtime and would like us to offer it - feel free to send it along. Along with this launch, we've also partnered with Content Paradise (http://www.contentparadise.com/us/user/partner.Mirye) and Renderosity (http://www.renderosity.com/mod/bcs/index.php?vendor=mirye), which are graphics (3D primarily) oriented community and sales sites. Between them both, they represent about a million sets of eyeballs. Response has been great so far, and we havent even officially announced there yet on their own forums - later today. If you look around, you might even find a few familiar faces (a certain Chipp Walters is a regular participant on the Vue Forum!). There is a convergence market here - interactive media, audio, stunning motion graphics - sounds familiar? We know that Revolution is an incredible tool to bring disparate media together into something new, powerful, cross-platform and interactive. Over the next few weeks, more partners will be announced. Our site is still showing fresh paint, but will improve and grow over the weeks to come. If you have some suggestions, please feel free to send them along. I am looking at ways to possibly integrate a consultant's directory for example. Mirye's portfolio of products will also grow, with an emphasis on pro design/development/cross-platform solutions. If you think you have a product that fits, please contact me off list. Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) http://www.proactive-intl.com From mfstuart at cox.net Fri Nov 16 14:35:14 2007 From: mfstuart at cox.net (mfstuart) Date: Fri, 16 Nov 2007 11:35:14 -0800 (PST) Subject: How do I create an Icon View In-Reply-To: <0c295b99262852062e601530db118ec1@ensmp.fr> References: <13756153.post@talk.nabble.com> <0c295b99262852062e601530db118ec1@ensmp.fr> Message-ID: <13800013.post@talk.nabble.com> Thank you for the reply Francois. My native development platform is WinXP, so no Applescript for me. But my interest is both platforms. I say that because I'm starting to like what I see in Leopard - another topic. And I mentioned both platforms for those that are not familiar with WinXP GUI. I will start prototyping this kind of view soon. My entry on the forum was to try and get a "heads-up" on how to do the details - or right hand side - view object. But no real response. Merci, Mark Stuart -- View this message in context: http://www.nabble.com/How-do-I-create-an-Icon-View-tf4807893.html#a13800013 Sent from the Revolution - User mailing list archive at Nabble.com. From viktoras at ekoinf.net Fri Nov 16 16:28:34 2007 From: viktoras at ekoinf.net (viktoras didziulis) Date: Fri, 16 Nov 2007 23:28:34 +0200 Subject: Massive joins In-Reply-To: References: Message-ID: <473E0B82.5070708@ekoinf.net> Hi Ruslan, > Well, it seems to me this is simple task, and small tables. > Valentina should resolve such joins in e.g. 0.01 - 0.1 sec or less. > V: Yes, I can imagine this and Valentina is in my considerations for a very special project which has already started... What keeps me from purchasing it now is actually the price tags in a list of all the very useful things and software I would need to purchase for my work :-).. Anyway, I guess for the end user there is no big difference whether a single query executes in 0.1, 0.3 or 3 secs. The vital part is to ensure that she/he is not forced to wait any longer then ~10 secs. And this is already achievable. > >> I rewrote joins (as >> described in "SQL" by Martin Gruber) in a form like this: >> >> > > > But this looks like nightmare! > > Where from you get this "magic" numbers > IN(1,10,23,15) > > A) You did before this many other small queries to collect them? > B) And later you build this big SQL string? (also time at last of end). > > If yes, then you need also count time of (A) + (B) + (C) > > Well, IMHO its very hard in real life write for each join > such MANUAL optimizations :-) > > V: True, but in this particular situation Rev script makes such a query from user's selections in lists. So A) is executed only once, when program initializes its list fields (where it takes the magic numbers from) from lookup tables, then B) takes the exactly same amount of time the end-user defines the selections and C) executes within 7 secs at max (when there are thousands of matching cases to be returned) but usually within 1-2 sec. This is quite acceptable. Best wishes! Viktoras From ambassador at fourthworld.com Fri Nov 16 20:21:27 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 16 Nov 2007 17:21:27 -0800 Subject: Cross-platform video w/out QT Message-ID: <473E4217.3020602@fourthworld.com> One of the products I manage uses a lot of video, and while we've been happy with using QT for playback some of our customers' IT departments really hate the extra install. So we're looking to move away from dependence on QT, hoping to find a format that will run with the default installation of XP, Vista, and OS X. Extra bonus points if we could also support Win2k, but not necessary. WMV compresses well with good quality, but requires the user to download and install Flip4Mac. MPEG-4 would be good, but doesn't appear to be supported in XP (am I missing something with that?). MPEG-2 would probably be good, but we'd have to buy a separate component from Apple just to try out the export. MPEG-1 might even be worth looking at, but I can't find any export for it in QT Player Pro, only for MPEG-4. So am I stuck with AVI, or is there some trick to getting MP4 playable on XP? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From luis at anachreon.co.uk Fri Nov 16 20:23:53 2007 From: luis at anachreon.co.uk (Luis) Date: Sat, 17 Nov 2007 01:23:53 +0000 Subject: Cross-platform video w/out QT In-Reply-To: <473E4217.3020602@fourthworld.com> References: <473E4217.3020602@fourthworld.com> Message-ID: <473E42A9.80207@anachreon.co.uk> Convert to movie to Flash? Most browsers have the player already. Cheers, Luis. Richard Gaskin wrote: > One of the products I manage uses a lot of video, and while we've been > happy with using QT for playback some of our customers' IT departments > really hate the extra install. > > So we're looking to move away from dependence on QT, hoping to find a > format that will run with the default installation of XP, Vista, and OS > X. Extra bonus points if we could also support Win2k, but not necessary. > > WMV compresses well with good quality, but requires the user to download > and install Flip4Mac. > > MPEG-4 would be good, but doesn't appear to be supported in XP (am I > missing something with that?). > > MPEG-2 would probably be good, but we'd have to buy a separate component > from Apple just to try out the export. > > MPEG-1 might even be worth looking at, but I can't find any export for > it in QT Player Pro, only for MPEG-4. > > So am I stuck with AVI, or is there some trick to getting MP4 playable > on XP? > From ambassador at fourthworld.com Fri Nov 16 20:31:23 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 16 Nov 2007 17:31:23 -0800 Subject: Cross-platform video w/out QT Message-ID: <473E446B.7040305@fourthworld.com> Luis wrote: > Convert to movie to Flash? Most browsers have the player already. Thanks for the suggestion, but this is for playback in Rev. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From calhorner at xtra.Co.NZ Fri Nov 16 20:37:16 2007 From: calhorner at xtra.Co.NZ (Cal Horner) Date: Sat, 17 Nov 2007 14:37:16 +1300 (New Zealand Daylight Time) Subject: Bigger is better Message-ID: <473E45CB.000005.00720@CALSBIGPC> Apologies Gentlemen, The measurement is in pixels not inches, feet, mm or metres. From andre at andregarzia.com Fri Nov 16 22:04:03 2007 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 17 Nov 2007 01:04:03 -0200 Subject: Cross-platform video w/out QT In-Reply-To: <473E446B.7040305@fourthworld.com> References: <473E446B.7040305@fourthworld.com> Message-ID: <7c87a2a10711161904t2909da68x45028e1635c2ff0c@mail.gmail.com> Richard, I've been having success with a nice composite scheme. For this you need RevBrowser, JW Flash Player and/org QT.Instead of loading the Rev's own qt player, you'll load a RevBrowser rect with a player inside. This player will be rendered inside an HTML template that is set using the htmltext property of the revbrowser so no HTTP transfer or Web Server is needed. Steps: 1) Load RevBrowser in a rect. 2) Assemble an HTML template at runtime using JW Flash Player to play mp4 movies or mp3 or whatever. 3) Load this html in the RevBrowser using htmltext prop of the browser. 4) Be Happy. For the user there's no difference. Also QT player inside RevBrowser is performing better than Rev own qt player. The URL for JW players is: http://www.jeroenwijering.com/?item=JW_Media_Player Cheers andre From runrev at aboutmyfiles.com Sat Nov 17 00:22:36 2007 From: runrev at aboutmyfiles.com (Mark E. Powell) Date: Sat, 17 Nov 2007 05:22:36 +0000 Subject: Is there such thing as a univeral abort command Message-ID: Maybe a very simpleton question: Is there a universal abort command that will stop (in a standalone) any running handler? Or must each handler that I want to be abortable have some polling? TIA Mark From janschenkel at yahoo.com Sat Nov 17 01:47:56 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 16 Nov 2007 22:47:56 -0800 (PST) Subject: Is there such thing as a univeral abort command In-Reply-To: Message-ID: <939762.19264.qm@web60516.mail.yahoo.com> --- "Mark E. Powell" wrote: > Maybe a very simpleton question: Is there a > universal abort command that will stop (in a > standalone) any running handler? Or must each > handler that I want to be abortable have some > polling? > > TIA > > Mark > Hi Mark, Apart from "quit", there's really no such built-in command - so here's my best shot at such a command: ## on GrindingHalt repeat for each line tPendingMessage in the pendingMessages cancel item 1 of tPendingMessage end repeat get flushEvents(all") exit to top end GrindingHalt ## This will cancel all pending messages, eat all the queued events, and finally exit to top, ending whatever set of commands it was executing. Hope this helped, 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) ____________________________________________________________________________________ Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/ From viktoras at ekoinf.net Sat Nov 17 05:24:19 2007 From: viktoras at ekoinf.net (viktoras didziulis) Date: Sat, 17 Nov 2007 12:24:19 +0200 Subject: Is there such thing as a univeral abort command In-Reply-To: References: Message-ID: <473EC153.8060102@ekoinf.net> Hi Mark, exit to top aborts all running handlers see also: exit handler (e.g. exit mouseup) exit repeat Best wishes Viktoras Mark E. Powell wrote: > Maybe a very simpleton question: Is there a universal abort command that will stop (in a standalone) any running handler? Or must each handler that I want to be abortable have some polling? > > TIA > > Mark > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From m.schonewille at economy-x-talk.com Sat Nov 17 05:46:53 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 17 Nov 2007 11:46:53 +0100 Subject: Is there such thing as a univeral abort command In-Reply-To: References: Message-ID: Hi Mark, If you set the cantAbort to false (which it is by default) you can press command-period to stop all runing handlers. I know, a key is no command, but I hope this helps. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 17-nov-2007, om 6:22 heeft Mark E. Powell het volgende geschreven: > Maybe a very simpleton question: Is there a universal abort > command that will stop (in a standalone) any running handler? Or > must each handler that I want to be abortable have some polling? > > TIA > > Mark > From effendi at wanadoo.fr Sat Nov 17 06:17:26 2007 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sat, 17 Nov 2007 12:17:26 +0100 Subject: Adjusting a field size based upon its contents Message-ID: <14c84e93c94ad19337bfd6b78e076cbc@wanadoo.fr> Hi from Paris, I have a hidden field that I want to display after I have put a specific text in it. The text is of variable size. The size of field required is obviously based on the "textSize", "textFont" and "number of characters" values. I need to set the size of the field (rect) so that it is just big enough for the text to be displayed. If I had a few days available, I could surely work out an algorithm to do this, but I need to get the new version of my application out of the door quickly. Has anybody come across this problem (and solved it) ? Many Thanks -Francis From m.schonewille at economy-x-talk.com Sat Nov 17 06:37:43 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 17 Nov 2007 12:37:43 +0100 Subject: Adjusting a field size based upon its contents In-Reply-To: <14c84e93c94ad19337bfd6b78e076cbc@wanadoo.fr> References: <14c84e93c94ad19337bfd6b78e076cbc@wanadoo.fr> Message-ID: Hi Francis, This is very simple: set the height of fld x to the formattedHeight of fld x set the width of fld x to the formattedWidth of fld x or set the rect of fld x to the formattedRect of fld x I would store the topleft of the field before setting the rect and restore the topleft afterwards. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 17-nov-2007, om 12:17 heeft Francis Nugent Dixon het volgende geschreven: > Hi from Paris, > > I have a hidden field that I want to display after I have put a > specific text in it. The text is of variable size. > > The size of field required is obviously based on the "textSize", > "textFont" and "number of characters" values. I need to set the > size of the field (rect) so that it is just big enough for the text > to be displayed. > > If I had a few days available, I could surely work out an algorithm > to do this, but I need to get the new version of my application out > of the door quickly. > > Has anybody come across this problem (and solved it) ? > > Many Thanks > > -Francis > > From mb.userev at harbourhosting.co.uk Sat Nov 17 09:22:48 2007 From: mb.userev at harbourhosting.co.uk (Martin Baxter) Date: Sat, 17 Nov 2007 14:22:48 +0000 Subject: Adjusting a field size based upon its contents In-Reply-To: <14c84e93c94ad19337bfd6b78e076cbc@wanadoo.fr> References: <14c84e93c94ad19337bfd6b78e076cbc@wanadoo.fr> Message-ID: <473EF938.5080409@harbourhosting.co.uk> Francis Nugent Dixon wrote: > Hi from Paris, > > I have a hidden field that I want to display after I have put a specific > text in it. The text is of variable size. > > The size of field required is obviously based on the "textSize", > "textFont" and "number of characters" values. I need to set the size of > the field (rect) so that it is just big enough for the text to be > displayed. > > If I had a few days available, I could surely work out an algorithm to > do this, but I need to get the new version of my application out of the > door quickly. > > Has anybody come across this problem (and solved it) ? > > Many Thanks > > -Francis Hi Francis, see the formattedheight and formattedwidth properties. These should give you the information you need to resize the field before displaying it. Martin Baxter From pmbrig at gmail.com Sat Nov 17 12:28:06 2007 From: pmbrig at gmail.com (Peter Brigham) Date: Sat, 17 Nov 2007 12:28:06 -0500 Subject: (mac) application menu Message-ID: I tried to send this message once before but I don't think it all got through. Here it is again. Mark Schonewille: **** When you use the Quit menu item, Mac OS X sends an event to Revolution. You can catch this message with the AppleEvent handler or the shutdownRequest handler. On Mac OS X, I prefer to use the AppleEvent handler most of the time. If you use either the AppleEvent handler or the shutdownRequest handler without a pass command, the application will not quit by itself (you can also lock messages and issue the quit command). When you press command-Q, the Quit menu item should work just like when you use the mouse to select this menu item and you can catch the AppleEvent and shutdownRequest messages again. However, your script may catch the commandKeyDown message. If you don't pass this message with the pass command, your application may not quit. There are versions of Revolution that don't pass the commandKeydown message because of a bug. There are also versions that don't pass the AppleEvent message. If you are using Rev 2.8.1, problems with quitting are probably due to a script. **** You seem to be right. After much experimentation in a small test stack, I find that, in a standalone: 1. choosing "quit from the "myApp" menu triggers the shutdownrequest handler, which can block the quitting, but the closestackrequest is not triggered at any time. And the menuPick "quit" in the File menu script is *not* triggered, it's completely ignored (contrary to what Devin suggested (and what I would expect)). 2. command-q also triggers the shutdownrequest handler but not the closestackrequest as in (1), and it never triggers my "commandkeydown" handler. So in these two cases it appears that the commandkeydown and menupick handlers are ignored. (!?) 3. Clicking the closebox at the top left of the window does *not* trigger the shutdownrequest handler at all, but does trigger the closestackrequest handler, which can block the close. All of these ways of exiting the app finally trigger the closestack handler (unless the closing process is blocked by the other handlers), but -- if I put an "answer" command at the beginning of the closestack handler (ie, answer "triggered closeStack") only the closebox operates the way I would expect. That is, clicking the closebox brings up the dialog and waits for me to click "OK" then executes other commands in the closeStack handler and finally closes the app. The other two open the answer dialog then go on without pausing to run the other commands in the closeStack handler -- the next ones include an ask file command, and that dialog appears in front of the still-open "triggered closestack" dialog, but the ask file dialog waits appropriately for input, then the rest of the commands are executed and the app summarily closes (ignoring the still-open answer dialog), even if an "exit to top" is one of the further commands. So the system is definitely intruding on the rev scripting here in some way, causing Rev to ignore what would otherwise be blocking commands. ??? So it appears that if I want to perform any last save of my data, I *could* put those commands in the closestack handler. But the failure to wait for the button click on an answer dialog seems like a bug to me -- what if I need to use an answer dialog in my shutdown routines? As it happens, for the stack I'm working on now I don't need this, but I sure will in the future. The alternative is to put the same shutdown routines in both the closestackrequest and the shudownrequest handlers, which covers the bases no matter how the user quits the app. Which is what I will do, I guess. All of this does seem excessively complex, though, and not at all well-documented. What do other people do to handle their closing routines? This must be a common need, so I imagine that there are well-established ways of handling it. Input would be appreciated. I'm still trying to figure out why my actual RecipeFile stack doesn't respond at all to either cmd-q or the RecipeFile > 'quit RecipeFile' menuitem. It's acting as though the shutdownrequest were not passed. But my shutdownrequest handler does indeed pass the shutdownrequest message at the end of a bunch of housekeeping stuff. Could an error in those housekeeping routines somehow derail things so the "pass" command is never reached? Sorry to go on and on about this stuff but it's really hanging me up and if I don't understand it I'll never be able to make workable apps from Rev. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig/ -- To err is human, but to really foul things up you need a computer. From bvg at mac.com Sat Nov 17 13:24:32 2007 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 17 Nov 2007 19:24:32 +0100 Subject: (mac) application menu In-Reply-To: References: Message-ID: <3E2934BA-91AC-4377-A7A4-2940F7B6E03C@mac.com> On 17 Nov 2007, at 18:28, Peter Brigham wrote: > This must be a common need, so I imagine that there are well- > established ways of handling it. Yes it's a common need, but it's not documented, nor is there any simple way provided build in. This and menu handling in general is why I rarely ever make standalones at all. Additional possible confusions arise when you quit an application, but your shutdownrequest handler is not in the message path (for example when there's a dialog opened). > Could an error in those housekeeping routines somehow derail things > so the "pass" command is never reached? Yes, so make sure to always write bugfree code ;) -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From martyknapp at comcast.net Sat Nov 17 14:04:20 2007 From: martyknapp at comcast.net (Marty Knapp) Date: Sat, 17 Nov 2007 11:04:20 -0800 Subject: (mac) application menu In-Reply-To: References: Message-ID: <473F3B34.7010107@comcast.net> This was driving me crazy too. After messing around with it, I pieced the following together and it's worked for me (I am using Rev 2.6.1): on appleEvent pClass,pID,pSender --I got this from Ken Ray's web site switch (pClass & pID) case "aevtquit" answer "Save changes?" with "Don't Save" or "Save" if it is "Save" then doSaveStuff pass appleEvent else pass appleEvent break default pass appleEvent break end switch end appleEvent on closeStackrequest Global homeStack if the short name of this stack is homeStack then answer "Save changes?" with "Don't Save" or "Save" if it is "Save" then doSaveStuff end if end if pass closeStackrequest end closeStackrequest on shutdownRequest --I only use this for Windows Global homeStack if the platform contains "Win" then if the short name of this stack is homeStack then answer "Save changes?" with "Don't Save" or "Save" if it is "Save" then doSaveStuff end if end if end if pass shutdownRequest end shutdownRequest Marty Knapp From katir at hindu.org Sat Nov 17 14:55:45 2007 From: katir at hindu.org (Sivakatirswami) Date: Sat, 17 Nov 2007 09:55:45 -1000 Subject: OT: CSS, Javascript, Message-ID: <473F4741.5080705@hindu.org> I just watched some of Apple's videos on iPhone Dev. It's all about CSS and Javascript. I guess I will need to learn a little Ajax-Javascript! What's a good book to start with? look really interesting, but the learning curve is not trivial I don't know if some cool library to translate the presentation layer on a Revolution card into a Canvas object is an endeavor worthy of pursuit or not. Sivakatirswami From katir at hindu.org Sat Nov 17 15:06:46 2007 From: katir at hindu.org (Sivakatirswami) Date: Sat, 17 Nov 2007 10:06:46 -1000 Subject: Leopard or Rev Browser Issue? Message-ID: <473F49D6.4060707@hindu.org> I had a very unusual experience yesterday. Context: Mac OS X - Leopard Rev 2.8.1 + GLX2 +Rev Browser scenario: -- open stack in IDE, Call web page(s) into a RevBrowser window-frame, -- run QT movie or Flash from within the web page Side Bar + musing: works great! in fact we completely over come all the issues with Rev's QT Player object, though I still consider this a "Horrible Hack" -- Rev's own player object should just work....but I guess it's not Rev's fault that Apples' QT API is faulty vs it's own QT-Webkit integration. -- switch to pointer tool -- double click on a field object (intent: change come color-border attributes) Problem: the UI no longer responds to my mouse clicks... all menus dimmed, the system beeps on every mousedown. I cannot close any windows. cmd-M to open the msg box does not work. cmd -Q does not work. Solution: force quit and reboot. Repeatable: yes, I tried it three times. Anyone else seeing this? any clues? Anyway, we making progress, well to be truthful I should say Andre is making progress. We will have an amazing new Media Viewer the Digital Edition of Hinduism Today done soon. It will make a great case study for what can be done with Rev. Sivakatirswami From ambassador at fourthworld.com Sat Nov 17 15:18:50 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 17 Nov 2007 12:18:50 -0800 Subject: (mac) application menu Message-ID: <473F4CAA.5080403@fourthworld.com> Bj?rnke von Gierke wrote: > On 17 Nov 2007, at 18:28, Peter Brigham wrote: >> This must be a common need, so I imagine that there are well- >> established ways of handling it. > > Yes it's a common need, but it's not documented, nor is there any > simple way provided build in. This and menu handling in general is why > I rarely ever make standalones at all. > Additional possible confusions arise when you quit an application, but > your shutdownrequest handler is not in the message path (for example > when there's a dialog opened). FWIW, I just created a new stack, added a menubar, and built a standalone, all using only Rev's default settings. The engine responds to the OS' aevt/quit normally as expected, quitting the app without issue. The appleEvent handler is helpful if you need special behaviors on quit other than just quitting, but it seems the engine does the basics well on its own with nothing else required. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From shari at gypsyware.com Sat Nov 17 16:23:09 2007 From: shari at gypsyware.com (Shari) Date: Sat, 17 Nov 2007 16:23:09 -0500 Subject: Size of array Message-ID: How big of an array have you created without noticing any reduction in speed? I'm pondering the best way to store a large conglomerate of data, and was hoping for a general guideline as to how humungous of an array I could create without tripping over it. I'm currently set up to break it into smaller pieces. However, it would be awesome if I could store the data all together. The array would have about 300,000 pieces of data, broken into about 300 keys, each with 1000 bits of data. Currently I have 300 separate arrays planned, only one being loaded at any given time. Have any of you worked with arrays this size? Any speed issues? Shari -- WlND0WS and MAClNT0SH shareware games BIackjack GoId http://www.gypsyware.com From ambassador at fourthworld.com Sat Nov 17 16:26:00 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 17 Nov 2007 13:26:00 -0800 Subject: Cross-platform video w/out QT Message-ID: <473F5C68.5080100@fourthworld.com> Andre Garzia wrote: > I've been having success with a nice composite scheme. For this you > need RevBrowser, JW Flash Player and/org QT.Instead of loading the > Rev's own qt player, you'll load a RevBrowser rect with a player > inside. This player will be rendered inside an HTML template that is > set using the htmltext property of the revbrowser so no HTTP transfer > or Web Server is needed. I appreciate the thoughtfulness, Andre, but all I want to do is play a movie in Rev. Is cross-platform video file format support so primitive that this really requires the additional layers? How does one generate simple MPEGs, since QT Player Pro doesn't? (Extra bonus points: Why doesn't it?) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From chipp at chipp.com Sat Nov 17 17:13:08 2007 From: chipp at chipp.com (Chipp Walters) Date: Sat, 17 Nov 2007 16:13:08 -0600 Subject: Cross-platform video w/out QT In-Reply-To: <473F5C68.5080100@fourthworld.com> References: <473F5C68.5080100@fourthworld.com> Message-ID: <7aa52a210711171413p2dff84cdu85e313716c26b3c8@mail.gmail.com> Hi Richard, Well, there's 3 main ways you can go: Quicktime, Windows MediaPlayer, and Flash. Windows MediaPlayer, which should be installed in all Windows computers, supports MPEG, but only the later versions support the MPEG4 format. I believe Flash is installed in something like 90% of Windows computers connected to the internet, with QT hanging around at 60%. It used to be you could do an auto-install of QT, but I think Apple has canned it, in favor of going to a website, registering (or not) and downloading either QT or Apple's preferred iTunes. Sadly, not as easy as it should be for developers. I would've thought one of the supported export formats for QT is MPEG, but you are correct, it appears it is not. Probably because MPEG is such a crappy format, and there are those which render much better and faster. Still.... If you don't want to install QT, and you want cross platform, I believe Andre's suggestion to be the best. -Chipp From shari at gypsyware.com Sat Nov 17 17:25:33 2007 From: shari at gypsyware.com (Shari) Date: Sat, 17 Nov 2007 17:25:33 -0500 Subject: revFont custom font Message-ID: My next app is going to have custom fonts a la revFont. I am really excited about this addition to Rev. If the app is going to be distributed on Mac and Windows, and I'm searching for just the right font for it, does Rev care if the font claims to work on this platform or that? Or will it handle them seemlessly regardless of their claims if they are ttf? Or would I need a special version of the font for each platform to make revFont happy? I haven't played with this yet, am just now beginning the experimentation. My only experience with fonts is to download one for my own platform and install it. To me this is one of the coolest features they've added :-) Shari -- WlND0WS and MAClNT0SH shareware games BIackjack GoId http://www.gypsyware.com From andres at bakno.com Sat Nov 17 17:37:00 2007 From: andres at bakno.com (Andres Martinez) Date: Sat, 17 Nov 2007 17:37:00 -0500 Subject: revFont custom font In-Reply-To: References: Message-ID: Hello Shari True Type Fonts (TTFs) should work on both Mac and Windows. Regards, Andres Martinez www.baKno.com On Nov 17, 2007, at 5:25 PM, Shari wrote: > My next app is going to have custom fonts a la revFont. I am > really excited about this addition to Rev. > > If the app is going to be distributed on Mac and Windows, and I'm > searching for just the right font for it, does Rev care if the font > claims to work on this platform or that? Or will it handle them > seemlessly regardless of their claims if they are ttf? > > Or would I need a special version of the font for each platform to > make revFont happy? > > I haven't played with this yet, am just now beginning the > experimentation. My only experience with fonts is to download one > for my own platform and install it. > > To me this is one of the coolest features they've added :-) > > Shari > -- > WlND0WS and MAClNT0SH shareware games > BIackjack GoId > http://www.gypsyware.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From effendi at wanadoo.fr Sat Nov 17 17:49:59 2007 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sat, 17 Nov 2007 23:49:59 +0100 Subject: Adjusting a field size based upon its contents Message-ID: <442b745997a2aed447b4655f23d7c7c3@wanadoo.fr> Hi Mark & Martin, Thanks for the input. > set the height of fld x to the formattedHeight of fld x > set the width of fld x to the formattedWidth of fld x It never ceases to amaze me, that there is always a command in Revolution to do what was impossible in Hypercard. After I sent in my request, I managed to run up a 100 line script which used pixel size of different fonts to calculate the size of the field to be displayed. Now I know it can be done with one or two commands, it makes me feel pretty stupid. However, it consolidates my old idea of reading the documentation for five minutes every day to get my head around each and all of the Rev commands. Time well spent ! Thanks again -Francis From bvlahos at mac.com Sat Nov 17 18:35:29 2007 From: bvlahos at mac.com (Bill Vlahos) Date: Sat, 17 Nov 2007 15:35:29 -0800 Subject: (mac) application menu In-Reply-To: <473F4CAA.5080403@fourthworld.com> References: <473F4CAA.5080403@fourthworld.com> Message-ID: Richard, I'm having the same problem which is still present in DP 2.9 b2. I believe there are a couple of BZ tickets on this including one Ken Ray created with me. It is a real problem and one I have not been able to solve. Perhaps I can talk to you offline? Bill Vlahos On Nov 17, 2007, at 12:18 PM, Richard Gaskin wrote: > Bj?rnke von Gierke wrote: > >> On 17 Nov 2007, at 18:28, Peter Brigham wrote: >>> This must be a common need, so I imagine that there are well- >>> established ways of handling it. >> Yes it's a common need, but it's not documented, nor is there any >> simple way provided build in. This and menu handling in general is >> why I rarely ever make standalones at all. >> Additional possible confusions arise when you quit an application, >> but your shutdownrequest handler is not in the message path (for >> example when there's a dialog opened). > > FWIW, I just created a new stack, added a menubar, and built a > standalone, all using only Rev's default settings. The engine > responds to the OS' aevt/quit normally as expected, quitting the > app without issue. > > The appleEvent handler is helpful if you need special behaviors on > quit other than just quitting, but it seems the engine does the > basics well on its own with nothing else required. > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Sat Nov 17 18:55:37 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 17 Nov 2007 15:55:37 -0800 Subject: Cross-platform video w/out QT Message-ID: <473F7F79.6080602@fourthworld.com> Chipp Walters wrote: > Well, there's 3 main ways you can go: Quicktime, Windows MediaPlayer, and > Flash. Windows MediaPlayer, which should be installed in all Windows > computers, supports MPEG, but only the later versions support the MPEG4 > format. Many of these installs are in hospitals, where IT staff is very restrictive of what gets installed. We cannot rely on Flash being present any more than we can expect them to install QT, and adding the second extra layer of the browser just to play a movie seems an overkill. Looks like no matter which way we go we're going to have to put someone in the Please Install One More Thing ghetto. For this app our user demographic closely parallels global adoption, with most of our customers using XP, some Vista, and a few OS X. So if we're going to have to inconvenience at least one of these groups, I'm inclined to just go with WMV, making the few OS X customers we have install Flip4Mac while everyone else gets native playback of a format with reasonably good quality and compression right out of the box. > I would've thought one of the supported export formats for QT is MPEG, but > you are correct, it appears it is not. Probably because MPEG is such a > crappy format, and there are those which render much better and faster. MPEG-1 was fairly crappy, but MPEG-2 is pretty good; in fact it's driving most of the video world at the moment. But alas as an Apple customer, even though I've already paid them for QT Player Pro they expect me to pay them a second time just for the MPEG-2 codec. I might be willing to be nickel-and-dimed this way if I had some indication that MPEG-2 will work well with the default XP install. Do you know if that's the case? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From chipp at chipp.com Sat Nov 17 20:14:23 2007 From: chipp at chipp.com (Chipp Walters) Date: Sat, 17 Nov 2007 19:14:23 -0600 Subject: Cross-platform video w/out QT In-Reply-To: <473F7F79.6080602@fourthworld.com> References: <473F7F79.6080602@fourthworld.com> Message-ID: <7aa52a210711171714o4b3c7be5ic23aa7f32ea4cda6@mail.gmail.com> Richard, I do know there are different capabilities among the different versions of MediaPlayer. But, I think most all are capable of playing MPEG. I believe MPEG-2 is the DVD format, and I know earlier versions of MediaPlayer (pre 10 for sure...perhaps 10 as well) did not support it. best, Chipp On Nov 17, 2007 5:55 PM, Richard Gaskin wrote: > I might be willing to be nickel-and-dimed this way if I had some > indication that MPEG-2 will work well with the default XP install. Do > you know if that's the case? > > From mark at maseurope.net Sat Nov 17 20:54:33 2007 From: mark at maseurope.net (Mark Smith) Date: Sun, 18 Nov 2007 01:54:33 +0000 Subject: Size of array In-Reply-To: References: Message-ID: <8F2C215E-7DEC-42A4-B270-89BACADE02EE@maseurope.net> Shari, I think this can be somewhat dependent on how much ram is available, but in my experience, rev handles fairly large arrays very well. I've had arrays consisting of 500 or so elements, each containing 2000+ items without any problem. So I'd stick with the one big array. Best, Mark On 17 Nov 2007, at 21:23, Shari wrote: > How big of an array have you created without noticing any reduction > in speed? > > I'm pondering the best way to store a large conglomerate of data, > and was hoping for a general guideline as to how humungous of an > array I could create without tripping over it. > > I'm currently set up to break it into smaller pieces. However, it > would be awesome if I could store the data all together. > > The array would have about 300,000 pieces of data, broken into > about 300 keys, each with 1000 bits of data. > > Currently I have 300 separate arrays planned, only one being loaded > at any given time. > > Have any of you worked with arrays this size? Any speed issues? > > Shari > -- > WlND0WS and MAClNT0SH shareware games > BIackjack GoId > http://www.gypsyware.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 mpetrides at earthlink.net Sat Nov 17 20:56:40 2007 From: mpetrides at earthlink.net (Petrides, M.D. Marian) Date: Sat, 17 Nov 2007 19:56:40 -0600 Subject: Size of array In-Reply-To: <8F2C215E-7DEC-42A4-B270-89BACADE02EE@maseurope.net> References: <8F2C215E-7DEC-42A4-B270-89BACADE02EE@maseurope.net> Message-ID: Speaking of arrays... Am I correct in understanding that Rev only supports one dimensional arrays or am I misreading the dox? On Nov 17, 2007, at 7:54 PM, Mark Smith wrote: > Shari, I think this can be somewhat dependent on how much ram is > available, but in my experience, rev handles fairly large arrays > very well. I've had arrays consisting of 500 or so elements, each > containing 2000+ items without any problem. So I'd stick with the > one big array. > > Best, > > Mark > > On 17 Nov 2007, at 21:23, Shari wrote: > >> How big of an array have you created without noticing any reduction >> in speed? >> >> I'm pondering the best way to store a large conglomerate of data, >> and was hoping for a general guideline as to how humungous of an >> array I could create without tripping over it. >> >> I'm currently set up to break it into smaller pieces. However, it >> would be awesome if I could store the data all together. >> >> The array would have about 300,000 pieces of data, broken into >> about 300 keys, each with 1000 bits of data. >> >> Currently I have 300 separate arrays planned, only one being loaded >> at any given time. >> >> Have any of you worked with arrays this size? Any speed issues? >> >> Shari >> -- >> WlND0WS and MAClNT0SH shareware games >> BIackjack GoId >> http://www.gypsyware.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 bvlahos at mac.com Sat Nov 17 21:10:17 2007 From: bvlahos at mac.com (Bill Vlahos) Date: Sat, 17 Nov 2007 18:10:17 -0800 Subject: Cross-platform video w/out QT In-Reply-To: <473E4217.3020602@fourthworld.com> References: <473E4217.3020602@fourthworld.com> Message-ID: I thought MPEG could be played on Mac, Windows, and Linux with existing built-in tools but Rev needed QuickTime. Perhaps I'm wrong about that. Here is an interesting blog about the multi-media: http://www.appleinsider.com/articles/07/10/25/ road_to_mac_os_x_leopard_quicktime_itunes_and_media_features.html Bill On Nov 16, 2007, at 5:21 PM, Richard Gaskin wrote: > One of the products I manage uses a lot of video, and while we've > been happy with using QT for playback some of our customers' IT > departments really hate the extra install. > > So we're looking to move away from dependence on QT, hoping to find > a format that will run with the default installation of XP, Vista, > and OS X. Extra bonus points if we could also support Win2k, but > not necessary. > > WMV compresses well with good quality, but requires the user to > download and install Flip4Mac. > > MPEG-4 would be good, but doesn't appear to be supported in XP (am > I missing something with that?). > > MPEG-2 would probably be good, but we'd have to buy a separate > component from Apple just to try out the export. > > MPEG-1 might even be worth looking at, but I can't find any export > for it in QT Player Pro, only for MPEG-4. > > So am I stuck with AVI, or is there some trick to getting MP4 > playable on XP? > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mark at maseurope.net Sat Nov 17 21:25:21 2007 From: mark at maseurope.net (Mark Smith) Date: Sun, 18 Nov 2007 02:25:21 +0000 Subject: Size of array In-Reply-To: References: <8F2C215E-7DEC-42A4-B270-89BACADE02EE@maseurope.net> Message-ID: Yes, but you can make the keys sort of multi-dimensional: someArray [a,b,c], so for some purposes this works just as well. In fact (note to shari), depending on your particular application, you may find it more efficient to have an array with 300 * 1000 elements than to have an array with 300 elements of 1000 items each. Though rev's chunk expressions are extremely efficient, accessing the thousandth item in a list is generally going to be slower than accessing an array element, even in a big array. Put this in a button script: on mouseUp if the optionkey is down then makeArrayWithItems else makeArrayNoItems end if end mouseUp on makeArrayWithItems repeat 300 add 1 to c repeat 1000 put random(125676) & comma after sArray[c] end repeat end repeat put the millisecs into st repeat 10000 put random(300) into c put 900 into d get item d of tArray[c] end repeat put the millisecs - st end makeArrayWithItems on makeArrayNoItems repeat 300 add 1 to c put 0 into d repeat 1000 add 1 to d put random(125676) into sArray[c,d] end repeat end repeat put the millisecs into st repeat 10000 put random(300) into c put 900 into d get tArray[c,d] end repeat put the millisecs - st end makeArrayNoItems on my machine, though it seems to take a little longer to build the no-items array than the with-items array, access is nearly 4 times faster for the no-items array. The bigger the data, the more pronounced then effect (try making it 500 x 2000, or 1000 x 5000). Of course it's unlikely that you'll be accessing the 900th+ item all the time, but it illustrates a worst case. Accessing the 1st item every time produces a tie, so on average, the no-items array is going to be faster. Best, Mark On 18 Nov 2007, at 01:56, Petrides, M.D. Marian wrote: > Speaking of arrays... Am I correct in understanding that Rev only > supports one dimensional arrays or am I misreading the dox? > > On Nov 17, 2007, at 7:54 PM, Mark Smith wrote: > From shari at gypsyware.com Sat Nov 17 21:35:41 2007 From: shari at gypsyware.com (Shari) Date: Sat, 17 Nov 2007 21:35:41 -0500 Subject: Size of array In-Reply-To: References: <8F2C215E-7DEC-42A4-B270-89BACADE02EE@maseurope.net> Message-ID: >In fact (note to shari), depending on your particular application, >you may find it more efficient to have an array with 300 * 1000 >elements than to have an array with 300 elements of 1000 items each. >Though rev's chunk expressions are extremely efficient, accessing >the thousandth item in a list is generally going to be slower than >accessing an array element, even in a big array. Thanks for the tip. I'm amazed at the size of your array! Refreshing to know it works even that big! At this juncture, I can arrange the array pretty much anyway I wish. I hadn't considered the above, but it would work just fine that way. Whatever allows for the fastest access is the goal. How much memory did your huge array need? Shari -- WlND0WS and MAClNT0SH shareware games BIackjack GoId http://www.gypsyware.com From shari at gypsyware.com Sat Nov 17 21:38:43 2007 From: shari at gypsyware.com (Shari) Date: Sat, 17 Nov 2007 21:38:43 -0500 Subject: revFont custom font In-Reply-To: References: Message-ID: >True Type Fonts (TTFs) should work on both Mac and Windows. The Windows version of the fonts is ttf, so I'll go with that. The Mac version is some sort of importer document, no clue. I was looking thru my own installed fonts, most of which came with the computer, and there are several different types installed, including ttf. Now will come the harder choice... which font to choose out of 50 really cool choices :-) Shari -- WlND0WS and MAClNT0SH shareware games BIackjack GoId http://www.gypsyware.com From mark at maseurope.net Sat Nov 17 22:31:15 2007 From: mark at maseurope.net (Mark Smith) Date: Sun, 18 Nov 2007 03:31:15 +0000 Subject: Size of array In-Reply-To: References: <8F2C215E-7DEC-42A4-B270-89BACADE02EE@maseurope.net> Message-ID: I think you'd have to have a much bigger amount of data to run into memory issues on a modern computer. Watching Activity Monitor while the script runs, I saw only a small increase (1MB) in the amount of active memory being used by Rev. I have 2 gigabytes on this machine, but my past experiences were on a machine with only 768MB. It's hard to say exactly how much memory is used by Revolution arrays without knowing the internals of how the data is stored and what the 'structure overhead' is, but with 300,000 pieces of data, and assuming an average length of key to be 10 characters, and an average length of data to be 5 characters, that's 3MB + 1.5MB + some amount of overhead, so at least 4.5MB. That's not so big in terms of machines with at least hundreds of MBs of RAM. Best, Mark On 18 Nov 2007, at 02:35, Shari wrote: >> In fact (note to shari), depending on your particular application, >> you may find it more efficient to have an array with 300 * 1000 >> elements than to have an array with 300 elements of 1000 items >> each. Though rev's chunk expressions are extremely efficient, >> accessing the thousandth item in a list is generally going to be >> slower than accessing an array element, even in a big array. > > Thanks for the tip. I'm amazed at the size of your array! > Refreshing to know it works even that big! > > At this juncture, I can arrange the array pretty much anyway I > wish. I hadn't considered the above, but it would work just fine > that way. > > Whatever allows for the fastest access is the goal. > > How much memory did your huge array need? > > Shari > > > -- > WlND0WS and MAClNT0SH shareware games > BIackjack GoId > http://www.gypsyware.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 josh at dvcreators.net Sat Nov 17 23:26:29 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Sat, 17 Nov 2007 20:26:29 -0800 Subject: Cross-platform video w/out QT In-Reply-To: <473E4217.3020602@fourthworld.com> References: <473E4217.3020602@fourthworld.com> Message-ID: <71F34B5C-ADEA-406B-97FA-F6CAA26A090C@dvcreators.net> MPEG4 would be better quality with smaller file sizes, but if it won't play on XP in Rev then you can export MPEG1 files from ffmpeg. Also any software that makes VCDs, like Toast. On Nov 16, 2007, at 5:21 PM, Richard Gaskin wrote: > One of the products I manage uses a lot of video, and while we've > been happy with using QT for playback some of our customers' IT > departments really hate the extra install. > > So we're looking to move away from dependence on QT, hoping to find > a format that will run with the default installation of XP, Vista, > and OS X. Extra bonus points if we could also support Win2k, but > not necessary. > > WMV compresses well with good quality, but requires the user to > download and install Flip4Mac. > > MPEG-4 would be good, but doesn't appear to be supported in XP (am > I missing something with that?). > > MPEG-2 would probably be good, but we'd have to buy a separate > component from Apple just to try out the export. > > MPEG-1 might even be worth looking at, but I can't find any export > for it in QT Player Pro, only for MPEG-4. > > So am I stuck with AVI, or is there some trick to getting MP4 > playable on XP? > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From runrev at aboutmyfiles.com Sat Nov 17 23:28:57 2007 From: runrev at aboutmyfiles.com (Mark E. Powell) Date: Sun, 18 Nov 2007 04:28:57 +0000 Subject: Is there such thing as a univeral abort command Message-ID: Hi Mark: The command-period would be sufficient, however it does not work in my standalones, and I have not set any cantAbort to true. Are you saying that command-period works in yours? > >Hi Mark, > >If you set the cantAbort to false (which it is by default) you can >press command-period to stop all runing handlers. > > >> Maybe a very simpleton question: Is there a universal abort >> command that will stop (in a standalone) any running handler? Or >> must each handler that I want to be abortable have some polling? >> >> TIA >> >> Mark From sims at ezpzapps.com Sun Nov 18 00:05:34 2007 From: sims at ezpzapps.com (Jim Sims) Date: Sun, 18 Nov 2007 06:05:34 +0100 Subject: Cross-platform video w/out QT In-Reply-To: <473F7F79.6080602@fourthworld.com> References: <473F7F79.6080602@fourthworld.com> Message-ID: <6929A3E4-1EEF-4AF6-810A-2D89E60F6547@ezpzapps.com> On Nov 18, 2007, at 12:55 AM, Richard Gaskin wrote: > Many of these installs are in hospitals, where IT staff is very > restrictive of what gets installed. We cannot rely on Flash being > present any more than we can expect them to install QT, and adding > the second extra layer of the browser just to play a movie seems an > overkill. I use QT (H.264) for Mac and .wmv for Windows in Desk Doctor (www.einspine.com). Rev 2.8.1 has given me huge problems playing .wmv and cannot be used, Rev 2.6.1 plays the .wmv with no problem. Rev 2.9.x plays the .wmv with no problem (as far as I can tell). sims www.ClipaTools.com From sims at ezpzapps.com Sun Nov 18 00:13:25 2007 From: sims at ezpzapps.com (Jim Sims) Date: Sun, 18 Nov 2007 06:13:25 +0100 Subject: Cross-platform video w/out QT In-Reply-To: <473F5C68.5080100@fourthworld.com> References: <473F5C68.5080100@fourthworld.com> Message-ID: <0373C90B-52C0-4558-B781-352C20F630D8@ezpzapps.com> On Nov 17, 2007, at 10:26 PM, Richard Gaskin wrote: > How does one generate simple MPEGs, since QT Player Pro doesn't? Incidentally, the .wmv's referred to at www.einspine.com were generated by my client, the doctor, using flip4mac. He also used blue screen so he could place various scenes of Malta & Gozo into the backgrounds. Some good choices, some bad. Some doctors do not listen well ;-) sims www.ClipaTools.com From katir at hindu.org Sun Nov 18 05:14:23 2007 From: katir at hindu.org (Sivakatirswami) Date: Sun, 18 Nov 2007 00:14:23 -1000 Subject: Storing Data Stacks inside OSX Bundle Message-ID: <4740107F.9050401@hindu.org> I saw that someone else was doing this... you can store a "main" stack (which needs to be saved) inside the standalone, splash screen engine stack's bundle... and seems to all work just fine... This has the obvious advantage of making sure they don't get separated, user just sees a single application file. any caveats to keep in mind? (besides the obvious one of the data stack getting out on upgrade) skts From shari at gypsyware.com Sun Nov 18 09:11:43 2007 From: shari at gypsyware.com (Shari) Date: Sun, 18 Nov 2007 09:11:43 -0500 Subject: Size of array In-Reply-To: References: <8F2C215E-7DEC-42A4-B270-89BACADE02EE@maseurope.net> Message-ID: Nice! I had expected a lot more of a memory issue. This will work out grand :-) I'm getting excited, doing the array this way solves some other problems I was pondering. Shari >I think you'd have to have a much bigger amount of data to run into >memory issues on a modern computer. Watching Activity Monitor while >the script runs, I saw only a small increase (1MB) in the amount of >active memory being used by Rev. I have 2 gigabytes on this machine, >but my past experiences were on a machine with only 768MB. > >It's hard to say exactly how much memory is used by Revolution >arrays without knowing the internals of how the data is stored and >what the 'structure overhead' is, but with 300,000 pieces of data, >and assuming an average length of key to be 10 characters, and an >average length of data to be 5 characters, that's 3MB + 1.5MB + some >amount of overhead, so at least 4.5MB. That's not so big in terms of >machines with at least hundreds of MBs of RAM. > >Best, > >Mark -- WlND0WS and MAClNT0SH shareware games BIackjack GoId http://www.gypsyware.com From shari at gypsyware.com Sun Nov 18 09:32:13 2007 From: shari at gypsyware.com (Shari) Date: Sun, 18 Nov 2007 09:32:13 -0500 Subject: Storing Data Stacks inside OSX Bundle In-Reply-To: <4740107F.9050401@hindu.org> References: <4740107F.9050401@hindu.org> Message-ID: I was doing it that way for awhile, storing stacks inside the MacOS folder of an OSX bundle. There are some caveats, but I'll tell you how it works. Right-Click on your application's icon. A menu will appear. Select "Show Package Contents". There will be one folder called Contents. In that folder is a folder "MacOS". This is where you store the stack. That is also where your actual app resides. First Caveat: Getting the filepath to the stack. In your main app stack script: global pathToSaveFile put the effective fileName of this stack into pathToSaveFile if the platform is "MacOS" then repeat 3 delete the last item of pathToSaveFile end repeat end if put "yourSaveStack.rev" into the last item of pathToSaveFile This sets you up with a global you can call all thru the program to access your save file. The second caveat is that nowadays, even Macs are getting cranky about where their users are allowed to write to. I just recently ended up redoing my whole method of saving data. If the user cannot write to this location, saves will fail. Here is my alternate solution: Synopsis: I name the save stack something other than what I really want it to be called, compress it, and store the compressed version in a custom property of the main app stack. Now, it doesn't even exist outside the main app stack. When the user installs the app, it decompresses the stack from the custom property, and puts it in a Prefs folder someplace writeable on the users computer. It renames the stack to the desired name. This prevents that awful "Stack in memory, do you want to purge?" dialog. Possible Gotcha: When your save stack is stored outside the main app folder this way, if the user installs an updated version of your app, it will not replace the save stack unless you specifically tell it to. So I versioned the stack. I don't want it to automatically be replaced when someone updates, unless I've actually changed that stack. Full code and instructions to make this all work, along with one final Gotcha: In a stack with a button with no other purpose but to compress stacks and store them as custom properties of other stacks: on mouseUp answer file "Select a stack to store compressed data such as yourMainStack.mc" # yourMainStack.mc has a latestPrefsVersion custom property if it is empty then exit to top put it into storageStack answer file "Select a stack to compress such as prefStack.mc:" # prefStack.mc has a currentPrefsVersion custom property if it is empty then exit to top put it into stackToShrink put url ("binfile:" & stackToShrink) into s set the stackData of stack storageStack to compress(s) save stack storageStack beep end mouseUp If you have multiple stacks that might need to be replaced, you will need to version each replaceable stack, I am using custom properties. This allows you to independantly replace a stack. For example, if your application is versioned 12, but the prefStack is versioned 10, you might not need or want to replace the prefStack. So you don't compare the prefStack version to your main app version, but to the prefStack that is compressed inside of your app, assuming someone always downloads a completely new app when they upgrade. Rather than decompress the stack and check the version, create a custom property in the main app for each replaceable stack, and check against it. In your startUp routine where you check versions, and replace a stack if the compressed custom property is a newer version: put the latestPrefsVersion of stack primaryAppStack into newV put the currentPrefsVersion of stack prefStack into oldV # UserPrefs if oldV is not a number then # for legacy, older stacks weren't versioned put 1 into oldV end if if newV > oldV then if "UserPrefs" is in the stacksInUse then stop using stack "UserPrefs" end if if "UserPrefs" is in the openstacks then close stack "UserPrefs" end if delete stack "UserPrefs" delete file prefStack # if you are using a custom filetype or stackFileType # set your fileType or stackFileType before decompressing put decompress(the stackData of stack yourMainStack.mc) \ into url ("binfile:" & prefStack) Final note: Once I moved the prefStack out of the main application folder into a preferences folder somewhere else on the user's computer, I encountered another problem that caused me grief. If I edited the stack via "go stack prefStack", I was editing not the stack that gets compressed and distributed with the program, but the stack that is created in the Preferences folder somewhere. Now my app checks for the environment and loads a stack accordingly. Only if it's a standalone does it launch the prefStack in the Preferences folder somewhere, otherwise it launches the prefStack that is in the same folder as the app during development. The one that gets compressed into a custom property. >I saw that someone else was doing this... you can store a "main" >stack (which needs to be saved) inside the standalone, splash screen >engine stack's bundle... and seems to all work just fine... > >This has the obvious advantage of making sure they don't get >separated, user just sees a single application file. > >any caveats to keep in mind? (besides the obvious one of the data >stack getting out on upgrade) > >skts -- WlND0WS and MAClNT0SH shareware games BIackjack GoId http://www.gypsyware.com From ludovic.thebault at laposte.net Sun Nov 18 10:39:16 2007 From: ludovic.thebault at laposte.net (=?ISO-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sun, 18 Nov 2007 16:39:16 +0100 Subject: Revbrowser & Standalone Message-ID: <09EEBDC7-E709-498D-94AA-0DF509AE44EA@laposte.net> Hello, In rev 281, on MacOS 10.5, my stack works fine with revbrowser but if i made a standalone (with browser as external) i haven't my web page with no errors. The url is ok. If i put "answer tBrowserId" just after the revBrowserOpen function, i've "1" as result (so it's seem "ok" also). But why the web page is not display ? Thanks. From m.schonewille at economy-x-talk.com Sun Nov 18 10:42:53 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 18 Nov 2007 16:42:53 +0100 Subject: Revbrowser & Standalone In-Reply-To: <09EEBDC7-E709-498D-94AA-0DF509AE44EA@laposte.net> References: <09EEBDC7-E709-498D-94AA-0DF509AE44EA@laposte.net> Message-ID: <8E0CB2F6-D555-4725-ABA1-6C270D75F47A@economy-x-talk.com> Hi Ludovic, You may need something similar to: XBrowser_Set "rect", the rect of this card,1 (where 1 is the browser instance ID). Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 18-nov-2007, om 16:39 heeft Ludovic Th?bault het volgende geschreven: > Hello, > > In rev 281, on MacOS 10.5, my stack works fine with revbrowser but > if i made a standalone (with browser as external) i haven't my web > page with no errors. > > The url is ok. > If i put "answer tBrowserId" just after the revBrowserOpen > function, i've "1" as result (so it's seem "ok" also). But why the > web page is not display ? > > Thanks. From ludovic.thebault at laposte.net Sun Nov 18 11:07:27 2007 From: ludovic.thebault at laposte.net (=?ISO-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sun, 18 Nov 2007 17:07:27 +0100 Subject: Revbrowser & Standalone In-Reply-To: <8E0CB2F6-D555-4725-ABA1-6C270D75F47A@economy-x-talk.com> References: <09EEBDC7-E709-498D-94AA-0DF509AE44EA@laposte.net> <8E0CB2F6-D555-4725-ABA1-6C270D75F47A@economy-x-talk.com> Message-ID: <8C3BA09A-B029-4359-A294-8DA2F2061A7D@laposte.net> Le 18 nov. 07 ? 16:42, Mark Schonewille a ?crit : > Hi Ludovic, > > You may need something similar to: > > XBrowser_Set "rect", the rect of this card,1 > > (where 1 is the browser instance ID). It's already done : revbrowserset tBrowserID, "rect", the rect of image "xxx" (i've take the script of the stack "browser sampler") Perhaps a "Leopard" bug ??? From ambassador at fourthworld.com Sun Nov 18 12:24:59 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 18 Nov 2007 09:24:59 -0800 Subject: Size of array Message-ID: <4740756B.8020202@fourthworld.com> Petrides, M.D. Marian wrote: > Speaking of arrays... Am I correct in understanding that Rev only > supports one dimensional arrays or am I misreading the dox? Rev currently supports associative arrays. Unlike numerically indexed arrays, associative array keys are not restricted to integers only, and may use just about any string within the acceptable length range (which in Rev I believe is 64k). Since numerals can be included in such strings, this gives you the ability to use numeric indices with associative arrays as you would with indexed arrays, e.g.: get tMyArray[1] But using strings as keys also opens up whole new worlds of indexing convenience beyond being limited to integers only, such as storing data by user name for example: put "Kevin" into tCurrentUser get tSettingsArray[tCurrentUser] Because nearly any string can be used as a key, you can use notation similar to what you'd expect for multi-dimensional arrays to describe unique elements in associative arrays as well: get tMyArray[4,4] For more on associative arrays in general, the Wikipedia entry is a good starting point: For more on Rev's implementation of them, search the docs for "array" or "associative". -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From mpetrides at earthlink.net Sun Nov 18 12:31:41 2007 From: mpetrides at earthlink.net (Petrides, M.D. Marian) Date: Sun, 18 Nov 2007 11:31:41 -0600 Subject: Size of array In-Reply-To: <4740756B.8020202@fourthworld.com> References: <4740756B.8020202@fourthworld.com> Message-ID: <4A2534F5-87AF-4E82-9779-7ADF3894EE7C@earthlink.net> Thanks, Richard! This is very helpful. On Nov 18, 2007, at 11:24 AM, Richard Gaskin wrote: > Petrides, M.D. Marian wrote: >> Speaking of arrays... Am I correct in understanding that Rev only >> supports one dimensional arrays or am I misreading the dox? > > Rev currently supports associative arrays. Unlike numerically > indexed arrays, associative array keys are not restricted to > integers only, and may use just about any string within the > acceptable length range (which in Rev I believe is 64k). > > Since numerals can be included in such strings, this gives you the > ability to use numeric indices with associative arrays as you would > with indexed arrays, e.g.: > > get tMyArray[1] > > But using strings as keys also opens up whole new worlds of indexing > convenience beyond being limited to integers only, such as storing > data by user name for example: > > put "Kevin" into tCurrentUser > get tSettingsArray[tCurrentUser] > > Because nearly any string can be used as a key, you can use notation > similar to what you'd expect for multi-dimensional arrays to > describe unique elements in associative arrays as well: > > get tMyArray[4,4] > > For more on associative arrays in general, the Wikipedia entry is a > good starting point: > > > For more on Rev's implementation of them, search the docs for > "array" or "associative". > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Sun Nov 18 12:33:34 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 18 Nov 2007 09:33:34 -0800 Subject: (mac) application menu Message-ID: <4740776E.6060000@fourthworld.com> Bill Vlahos wrote: > On Nov 17, 2007, at 12:18 PM, Richard Gaskin wrote: >> FWIW, I just created a new stack, added a menubar, and built a >> standalone, all using only Rev's default settings. The engine >> responds to the OS' aevt/quit normally as expected, quitting the >> app without issue. >> >> The appleEvent handler is helpful if you need special behaviors on >> quit other than just quitting, but it seems the engine does the >> basics well on its own with nothing else required. > > > I'm having the same problem which is still present in DP 2.9 b2. I > believe there are a couple of BZ tickets on this including one Ken > Ray created with me. It is a real problem and one I have not been > able to solve. My first test was with the current shipping version, v2.8.1gm3. I generally don't post about unreleased builds to a public forum. But since you asked, I just reran the above test in v2.9b2, with the same good result: the application contained no scripts and quit as expected. > Perhaps I can talk to you offline? If we're going to put the time into this I'd rather it benefit everyone. Can we just continue this diagnosis here? The key difference here between working and non-working states seems to be the presence of scripts which attempt to handle quit behaviors. In your stack which is experiencing difficulty quitting, which messages are you trapping and how are those messages handled? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From kray at sonsothunder.com Sun Nov 18 21:43:05 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 18 Nov 2007 20:43:05 -0600 Subject: Size of array In-Reply-To: <4A2534F5-87AF-4E82-9779-7ADF3894EE7C@earthlink.net> References: <4740756B.8020202@fourthworld.com> <4A2534F5-87AF-4E82-9779-7ADF3894EE7C@earthlink.net> Message-ID: <20071118204305541575.ba5f8307@sonsothunder.com> On Sun, 18 Nov 2007 11:31:41 -0600, Petrides, M.D. Marian wrote: > Thanks, Richard! This is very helpful. This might help as well; it was an article I wrote trying to compare Director's arrays with Revolution's, but it gives an "inside peek" on how Revolution sees/works with arrays: http://www.sonsothunder.com/devres/revolution/tips/arry001.htm And this tip helps with manipulating array contents: http://www.sonsothunder.com/devres/revolution/tips/arry002.htm Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From mpetrides at earthlink.net Sun Nov 18 22:06:29 2007 From: mpetrides at earthlink.net (Petrides, M.D. Marian) Date: Sun, 18 Nov 2007 21:06:29 -0600 Subject: Size of array In-Reply-To: <20071118204305541575.ba5f8307@sonsothunder.com> References: <4740756B.8020202@fourthworld.com> <4A2534F5-87AF-4E82-9779-7ADF3894EE7C@earthlink.net> <20071118204305541575.ba5f8307@sonsothunder.com> Message-ID: Thanks!! On Nov 18, 2007, at 8:43 PM, Ken Ray wrote: > On Sun, 18 Nov 2007 11:31:41 -0600, Petrides, M.D. Marian wrote: > >> Thanks, Richard! This is very helpful. > > This might help as well; it was an article I wrote trying to compare > Director's arrays with Revolution's, but it gives an "inside peek" on > how Revolution sees/works with arrays: > > http://www.sonsothunder.com/devres/revolution/tips/arry001.htm > > And this tip helps with manipulating array contents: > > http://www.sonsothunder.com/devres/revolution/tips/arry002.htm > > > 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 bvlahos at mac.com Sun Nov 18 22:29:40 2007 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 18 Nov 2007 19:29:40 -0800 Subject: (mac) application menu In-Reply-To: <4740776E.6060000@fourthworld.com> References: <4740776E.6060000@fourthworld.com> Message-ID: Richard, I think these problems are bugzilla'd originally in 4994 and then also in 5362 (which is marked as a duplicate of 4994). However, the workaround does not work for me. On Nov 18, 2007, at 9:33 AM, Richard Gaskin wrote: > My first test was with the current shipping version, v2.8.1gm3. I > generally don't post about unreleased builds to a public forum. I don't normally either. Sorry about doing it here. > > > But since you asked, I just reran the above test in v2.9b2, with the > same good result: the application contained no scripts and quit as > expected. > > > Perhaps I can talk to you offline? > > If we're going to put the time into this I'd rather it benefit > everyone. Can we just continue this diagnosis here? I have worked with others on this and the simple fix listed in the bug reports don't work so I don't think this forum would be conducive for the diagnosis. However, I would be delighted to share whatever fix we come up with. > > > The key difference here between working and non-working states seems > to be the presence of scripts which attempt to handle quit behaviors. > > In your stack which is experiencing difficulty quitting, which > messages are you trapping and how are those messages handled? That's the problem. If I am closing a window I successfully get prompted for the save and if I say YES then everything works correctly. However, if I say NO then it correctly doesn't save but blocks subsequent trappings for other open stack windows. Bill From troy_lists at rpsystems.net Mon Nov 19 00:35:24 2007 From: troy_lists at rpsystems.net (Troy Rollins) Date: Mon, 19 Nov 2007 00:35:24 -0500 Subject: Size of array In-Reply-To: <20071118204305541575.ba5f8307@sonsothunder.com> References: <4740756B.8020202@fourthworld.com> <4A2534F5-87AF-4E82-9779-7ADF3894EE7C@earthlink.net> <20071118204305541575.ba5f8307@sonsothunder.com> Message-ID: <51E1C888-EA79-4D0A-8CC1-B87E95076492@rpsystems.net> On Nov 18, 2007, at 9:43 PM, Ken Ray wrote: > This might help as well; it was an article I wrote trying to compare > Director's arrays with Revolution's, but it gives an "inside peek" on > how Revolution sees/works with arrays: > > http://www.sonsothunder.com/devres/revolution/tips/arry001.htm Ken, I notice that the article, while correct, isn't actually representative of how arrays are *actually* used in Director. The article at one point says: Director set myList = [["Troy","Ken","Richard"],["Kevin","Jan","Judy"]] put getAt(myList,2) RESULT: ["Kevin","Jan","Judy"] put getAt(getAt(myList,2),1) RESULT: Kevin --------------------------------------------- While constructs like "getAt(getAt(myList,2),1)" would in fact work, I have *never* seen anyone do that. Why would they? They would instead do "myList[2][1]", which delivers the same results, and is obviously a lot more clear in terms of targeting data. -- Troy RPSystems, Ltd. http://www.rpsystems.net From kray at sonsothunder.com Mon Nov 19 01:04:42 2007 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 19 Nov 2007 00:04:42 -0600 Subject: Size of array In-Reply-To: <51E1C888-EA79-4D0A-8CC1-B87E95076492@rpsystems.net> References: <4740756B.8020202@fourthworld.com> <4A2534F5-87AF-4E82-9779-7ADF3894EE7C@earthlink.net> <20071118204305541575.ba5f8307@sonsothunder.com> <51E1C888-EA79-4D0A-8CC1-B87E95076492@rpsystems.net> Message-ID: <20071119000442011703.9e4e3d63@sonsothunder.com> On Mon, 19 Nov 2007 00:35:24 -0500, Troy Rollins wrote: > Ken, I notice that the article, while correct, isn't actually > representative of how arrays are *actually* used in Director. > While constructs like "getAt(getAt(myList,2),1)" would in fact work, > I have *never* seen anyone do that. Why would they? > > They would instead do "myList[2][1]", which delivers the same > results, and is obviously a lot more clear in terms of targeting data. Thanks for that... the article was written three years ago, and quite frankly I can't remember if you could still refer to arrays that way without getAt() before MX 2004... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From toolbook at kestner.de Mon Nov 19 06:18:31 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 19 Nov 2007 12:18:31 +0100 Subject: Quicktime and Encoder Message-ID: <002001c82a9d$ebebf280$18b2a8c0@TiemoPC2> Hi all, Coming from the windows world and having read the last Quicktime threads, I would like to hear your experiences to these topics, which are still not clear for me: 1. Does anybody has seen anywhere a list, which codecs are by standard installed, if you install the quicktime player. E.g. if you use Sorenson 3 Codec for encoding, is it bundeled with the player, or do I have to redistribute my codecs with my app? or other codecs. 2. Has anybody a personal quality comparison between the Sorenson 3 codec and the new H.264? Is H.264 actually now the "state of the art"? Which codec is the best quality choice in your eyes for offline content, no streaming, not worrying of the file size? 3. I know of the apple licence and logo restrictions. Does anybody knows, if I also have to licence and print the QT logo on my product, if I only have included Quicktime movies and no player install in my product? I just wanted to point my customers to the QT download site. 4. I have to encode 18000 (yes, eighteen thousand, each only 1-3 sec!) videos and I am looking for a high quality encoding suite with good batch / job queue capabilities. I know discreet cleaner XL. Now I was looking, if there are (even better) alternatives. The Sorenson squeeze suite unlimited is with $ 2500,- per year horrendous expensive ( The standard squeeze compression suite for $ 499,- has a limit of 1500 encodes per month, which is for this big project not enough) Which tools do you use? (especially with batch capabilities). 5. If you use a flash codec in a mov file. Has the output the same quality as a native flash movie? - In your personal experience Thanks for sharing your experiences Tiemo From klaus at major-k.de Mon Nov 19 07:48:29 2007 From: klaus at major-k.de (Klaus Major) Date: Mon, 19 Nov 2007 13:48:29 +0100 Subject: Quicktime and Encoder In-Reply-To: <002001c82a9d$ebebf280$18b2a8c0@TiemoPC2> References: <002001c82a9d$ebebf280$18b2a8c0@TiemoPC2> Message-ID: Hi Tiemo, > Hi all, > > Coming from the windows world and having read the last Quicktime > threads, I > would like to hear your experiences to these topics, which are still > not > clear for me: > > 1. Does anybody has seen anywhere a list, which codecs are by standard > installed, if you install the quicktime player. E.g. if you use > Sorenson 3 > Codec for encoding, is it bundeled with the player, or do I have to > redistribute my codecs with my app? or other codecs. Check this for a list of avialable/installed codecs with QT: http://www.apple.com/quicktime/player/specs.html > 2. Has anybody a personal quality comparison between the Sorenson 3 > codec > and the new H.264? Is H.264 actually now the "state of the art"? > Which codec > is the best quality choice in your eyes for offline content, no > streaming, > not worrying of the file size? Sorry, no idea :-) > 3. I know of the apple licence and logo restrictions. Does anybody > knows, if > I also have to licence and print the QT logo on my product, if I > only have > included Quicktime movies and no player install in my product? No need for that in this case. This is only demanded by Apple if you enclose the Apple QT-installer in your product! > I just wanted to point my customers to the QT download site. Apple will surely like that ;-) > 4. I have to encode 18000 (yes, eighteen thousand, each only 1-3 sec!) > videos and I am looking for a high quality encoding suite with good > batch / > job queue capabilities. I know discreet cleaner XL. Now I was > looking, if > there are (even better) alternatives. The Sorenson squeeze suite > unlimited > is with $ 2500,- per year horrendous expensive ( The standard squeeze > compression suite for $ 499,- has a limit of 1500 encodes per month, > which > is for this big project not enough) Which tools do you use? > (especially with > batch capabilities). You could use Trevor's WONDERFUL Enhanced QT External to create your own batch script in Rev for this task! > 5. If you use a flash codec in a mov file. Has the output the same > quality > as a native flash movie? - In your personal experience No experience, sorry. > Thanks for sharing your experiences > > Tiemo Best Klaus Major klaus at major-k.de http://www.major-k.de From xavier.bury at clearstream.com Mon Nov 19 09:11:33 2007 From: xavier.bury at clearstream.com (xavier.bury at clearstream.com) Date: Mon, 19 Nov 2007 15:11:33 +0100 Subject: Standard behavior or not? In-Reply-To: Message-ID: Hi All, I have a button that runs a stack script all in one and the same stack. But when i click on the button, the handler is not "found" I double checked, and the handler is well in the stack script which did compile well previously but which no longuer does! Hence the error - though this would never have happened in HyperCard, this is far from Hypercard now... Maybe it's the 2.9dp2 crappy build. Anywhere i look, it's bug city... ;( But i found out what it was! "Push cd" doesnt' compile - but still in dictionary. pop cd doesn't compile but pop card does! Worse, is that there is absolutely no warning that the script, which was well compiled before no longuer does, is in fault. So i could go bananas trying to figure out why! The script i was calling was there, the script worked before too! This is not the first time i see this happen either. But in case you also get this, now you know why! Is there a bugzilla regarding this compile/runtime behavior? Searching is not something i want to do after entering a dozen new bugzillas. Thanks in advance Regards, Xavier ---------------------------------------------------------------------------- Clearstream Services S.A. 42 Avenue JF Kennedy, L-1855 Luxembourg Soci?t? anonyme is organised with limited liability in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911. ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. Legally required information for business correspondence/ Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: http://deutsche-boerse.com/letterhead END OF DISCLAIMER From ambassador at fourthworld.com Mon Nov 19 10:29:05 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 19 Nov 2007 07:29:05 -0800 Subject: (mac) application menu Message-ID: <4741ABC1.30204@fourthworld.com> Bill Vlahos wrote: > I think these problems are bugzilla'd originally in 4994 and then also > in 5362 (which is marked as a duplicate of 4994). However, the > workaround does not work for me. ... >> In your stack which is experiencing difficulty quitting, which >> messages are you trapping and how are those messages handled? > That's the problem. If I am closing a window I successfully get > prompted for the save and if I say YES then everything works > correctly. However, if I say NO then it correctly doesn't save but > blocks subsequent trappings for other open stack windows. What differs between your app and those in which the noted workaround works? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From bvlahos at mac.com Mon Nov 19 12:01:22 2007 From: bvlahos at mac.com (Harry Matias) Date: Mon, 19 Nov 2007 09:01:22 -0800 Subject: (mac) application menu In-Reply-To: <4741ABC1.30204@fourthworld.com> References: <4741ABC1.30204@fourthworld.com> Message-ID: The short version is I don't know. There must be something but I can't tell what it is. I'm closing cloned stacks but that shouldn't matter. Also, if I navigate to different cards on one of the still remaining stacks the messages happen and the user is prompted for saving a stack that needs it. If I don't navigate then a menu Quit just quits and never prompts the user. Bill On Monday, November 19, 2007, at 07:29AM, "Richard Gaskin" wrote: >Bill Vlahos wrote: > >> I think these problems are bugzilla'd originally in 4994 and then also >> in 5362 (which is marked as a duplicate of 4994). However, the >> workaround does not work for me. >... >>> In your stack which is experiencing difficulty quitting, which >>> messages are you trapping and how are those messages handled? >> That's the problem. If I am closing a window I successfully get >> prompted for the save and if I say YES then everything works >> correctly. However, if I say NO then it correctly doesn't save but >> blocks subsequent trappings for other open stack windows. > >What differs between your app and those in which the noted workaround works? > >-- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > From revdev at pdslabs.net Mon Nov 19 13:29:34 2007 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 19 Nov 2007 10:29:34 -0800 Subject: Standard behavior or not? In-Reply-To: References: Message-ID: <4741D60E.4090305@pdslabs.net> That's weird... "push cd" and "pop cd" both work here (intel mac, 10.4.11, Rev 2.9 dp2). Phil Davis xavier.bury at clearstream.com wrote: > Hi All, > > I have a button that runs a stack script all in one and the same stack. > > But when i click on the button, the handler is not "found" > > I double checked, and the handler is well in the stack script which did > compile well previously but which no longuer does! Hence the error - > though this would never have happened in HyperCard, this is far from > Hypercard now... > > Maybe it's the 2.9dp2 crappy build. Anywhere i look, it's bug city... ;( > > But i found out what it was! > > "Push cd" doesnt' compile - but still in dictionary. > pop cd doesn't compile but pop card does! > > Worse, is that there is absolutely no warning that the script, which was > well compiled before no longuer does, is in fault. > > So i could go bananas trying to figure out why! The script i was calling > was there, the script worked before too! > > This is not the first time i see this happen either. But in case you also > get this, now you know why! > > Is there a bugzilla regarding this compile/runtime behavior? > Searching is not something i want to do after entering a dozen new > bugzillas. > > Thanks in advance > Regards, > Xavier > > > ---------------------------------------------------------------------------- > Clearstream Services S.A. > 42 Avenue JF Kennedy, L-1855 Luxembourg > Soci?t? anonyme is organised with limited liability > in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911. > > > ----------------------------------------- > Visit us at http://www.clearstream.com > > IMPORTANT MESSAGE > > Internet communications are not secure and therefore Clearstream > International does not accept legal responsibility for the contents > of this message. > > The information contained in this e-mail is confidential and may be > legally privileged. It is intended solely for the addressee. If you > are not the intended recipient, any disclosure, copying, > distribution or any action taken or omitted to be taken in reliance > on it, is prohibited and may be unlawful. Any views expressed in > this e-mail are those of the individual sender, except where the > sender specifically states them to be the views of Clearstream > International or of any of its affiliates or subsidiaries. > > Legally required information for business correspondence/ > Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: > http://deutsche-boerse.com/letterhead > > END OF DISCLAIMER > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From henk at iglow-media.nl Mon Nov 19 13:32:29 2007 From: henk at iglow-media.nl (Henk van der Velden) Date: Mon, 19 Nov 2007 19:32:29 +0100 Subject: Quicktime and Encoder In-Reply-To: <20071119180005.03716488F81@mail.runrev.com> References: <20071119180005.03716488F81@mail.runrev.com> Message-ID: <2F753220-E538-40B6-B72B-375C871986AD@iglow-media.nl> On 19-nov-2007, at 19:00, use-revolution-request at lists.runrev.com wrote: > >> 2. Has anybody a personal quality comparison between the Sorenson >> 3 codec >> and the new H.264? Is H.264 actually now the "state of the art"? >> Which codec >> is the best quality choice in your eyes for offline content, no >> streaming, >> not worrying of the file size? > > Sorry, no idea :-) If file size really doesn't matter, then why compress at all? Use DV- PAL or the like.. > >> >> 5. If you use a flash codec in a mov file. Has the output the same >> quality >> as a native flash movie? - In your personal experience > > No experience, sorry. I'm no expert on flash video, but I seem to remember that Flash initially used the Cinepak codec, and now also supports the H.264 codec. But QT can't play Flash movies. QT supports Flash files only up to Flash 5 and Flash 5 only had very poor support of video. From jacque at hyperactivesw.com Mon Nov 19 14:27:02 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 19 Nov 2007 13:27:02 -0600 Subject: Disabled menu item distortion on Windows Message-ID: <4741E386.3000109@hyperactivesw.com> I'm having a strange problem with disabled menu items on Windows XP. While enabled items appear correctly, disabled items are extremely distorted and fuzzy, and are almost impossible to read. This only happens in my own stack; Rev's IDE menus display properly. I have set the font of the menu group to empty, to Tahoma 11, and to several other Windows fonts and sizes without any improvement. Rev's menubar is set to an effective textfont of Tahoma and textsize of 11 and displays okay, but if I do the same it doesn't work. Has anyone seen this problem, or know what causes it? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Mon Nov 19 14:54:11 2007 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Mon, 19 Nov 2007 11:54:11 -0800 Subject: Quicktime and Encoder In-Reply-To: <2F753220-E538-40B6-B72B-375C871986AD@iglow-media.nl> References: <20071119180005.03716488F81@mail.runrev.com> <2F753220-E538-40B6-B72B-375C871986AD@iglow-media.nl> Message-ID: >and the new H.264? Is H.264 actually now the "state of the art"? Which codec given a choice, H.264 . sqb -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From josh at dvcreators.net Mon Nov 19 18:01:55 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Mon, 19 Nov 2007 15:01:55 -0800 Subject: Quicktime and Encoder In-Reply-To: <002001c82a9d$ebebf280$18b2a8c0@TiemoPC2> References: <002001c82a9d$ebebf280$18b2a8c0@TiemoPC2> Message-ID: On Nov 19, 2007, at 3:18 AM, Tiemo Hollmann TB wrote: > > > 2. Has anybody a personal quality comparison between the Sorenson 3 > codec > and the new H.264? Is H.264 actually now the "state of the art"? > Which codec > is the best quality choice in your eyes for offline content, no > streaming, > not worrying of the file size? > H.264 is by far the best video compression codec in the world. Better than Sorenson 3 VBR, much better than plain Sorenson 3. If size is no object, because large H.264 decoding puts a strain on old computers, try PJPEG at 90% quality. > > 5. If you use a flash codec in a mov file. Has the output the same > quality > as a native flash movie? - In your personal experience A Flash layer in QT is vector only- You cannot embed an FLV in QT. However, the Flash plugin now supports H.264. From toolbook at kestner.de Tue Nov 20 03:33:28 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 20 Nov 2007 09:33:28 +0100 Subject: AW: Quicktime and Encoder In-Reply-To: Message-ID: <002701c82b50$08ece4e0$18b2a8c0@TiemoPC2> Thank you Klaus, very helpful tips, good to know, that I don't have to go the licence way for only having movs on my disc. I will have a look to Trevors enhanced QT externals. Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Klaus Major > Gesendet: Montag, 19. November 2007 13:48 > An: How to use Revolution > Betreff: Re: Quicktime and Encoder > > Hi Tiemo, > > > Hi all, > > > > Coming from the windows world and having read the last Quicktime > > threads, I > > would like to hear your experiences to these topics, which are still > > not > > clear for me: > > > > 1. Does anybody has seen anywhere a list, which codecs are by standard > > installed, if you install the quicktime player. E.g. if you use > > Sorenson 3 > > Codec for encoding, is it bundeled with the player, or do I have to > > redistribute my codecs with my app? or other codecs. > > Check this for a list of avialable/installed codecs with QT: > http://www.apple.com/quicktime/player/specs.html > > > 2. Has anybody a personal quality comparison between the Sorenson 3 > > codec > > and the new H.264? Is H.264 actually now the "state of the art"? > > Which codec > > is the best quality choice in your eyes for offline content, no > > streaming, > > not worrying of the file size? > > Sorry, no idea :-) > > > 3. I know of the apple licence and logo restrictions. Does anybody > > knows, if > > I also have to licence and print the QT logo on my product, if I > > only have > > included Quicktime movies and no player install in my product? > > No need for that in this case. > > This is only demanded by Apple if you enclose the Apple QT-installer > in your product! > > > I just wanted to point my customers to the QT download site. > > Apple will surely like that ;-) > > > 4. I have to encode 18000 (yes, eighteen thousand, each only 1-3 sec!) > > videos and I am looking for a high quality encoding suite with good > > batch / > > job queue capabilities. I know discreet cleaner XL. Now I was > > looking, if > > there are (even better) alternatives. The Sorenson squeeze suite > > unlimited > > is with $ 2500,- per year horrendous expensive ( The standard squeeze > > compression suite for $ 499,- has a limit of 1500 encodes per month, > > which > > is for this big project not enough) Which tools do you use? > > (especially with > > batch capabilities). > > You could use Trevor's WONDERFUL Enhanced QT External to create your > own batch script in Rev for this task! > > > 5. If you use a flash codec in a mov file. Has the output the same > > quality > > as a native flash movie? - In your personal experience > > No experience, sorry. > > > Thanks for sharing your experiences > > > > Tiemo > > Best > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From toolbook at kestner.de Tue Nov 20 03:36:12 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 20 Nov 2007 09:36:12 +0100 Subject: AW: Quicktime and Encoder In-Reply-To: <2F753220-E538-40B6-B72B-375C871986AD@iglow-media.nl> Message-ID: <002801c82b50$6c346410$18b2a8c0@TiemoPC2> Thanks Henk and Stephen Actually file size doesen't not matter, but I don't have to watch for the last bytes ;) Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Henk van der Velden > Gesendet: Montag, 19. November 2007 19:32 > An: use-revolution at lists.runrev.com > Betreff: Re: Quicktime and Encoder > > On 19-nov-2007, at 19:00, use-revolution-request at lists.runrev.com wrote: > > > > >> 2. Has anybody a personal quality comparison between the Sorenson > >> 3 codec > >> and the new H.264? Is H.264 actually now the "state of the art"? > >> Which codec > >> is the best quality choice in your eyes for offline content, no > >> streaming, > >> not worrying of the file size? > > > > Sorry, no idea :-) > If file size really doesn't matter, then why compress at all? Use DV- > PAL or the like.. > > > >> > >> 5. If you use a flash codec in a mov file. Has the output the same > >> quality > >> as a native flash movie? - In your personal experience > > > > No experience, sorry. > I'm no expert on flash video, but I seem to remember that Flash > initially used the Cinepak codec, and now also supports the H.264 > codec. But QT can't play Flash movies. QT supports Flash files only > up to Flash 5 and Flash 5 only had very poor support of video. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From toolbook at kestner.de Tue Nov 20 03:55:33 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 20 Nov 2007 09:55:33 +0100 Subject: AW: Quicktime and Encoder In-Reply-To: Message-ID: <002a01c82b53$1cc4d240$18b2a8c0@TiemoPC2> Hi Josh, having read a little bit more, H.264 seems to be a HD codec, if I am right. Do you know, or do you have a feeling, if I can - or if it makes sense, to use the H.264 codec to produce not HD material, captured with old PAL standard 720x576 to an output format 384x288 just to get best video quality? Or would Sorenson 3 VBR the choice in this case? The QT help site tells, that Sorenson 3 is supported. Is Sorenson 3 VBR another (not supported) codec or just some encoding parameters of Sorenson 3 which would also be supported by standard QT? Thanks for any hints Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Josh Mellicker > Gesendet: Dienstag, 20. November 2007 00:02 > An: How to use Revolution > Betreff: Re: Quicktime and Encoder > > > On Nov 19, 2007, at 3:18 AM, Tiemo Hollmann TB wrote: > > > > > > > 2. Has anybody a personal quality comparison between the Sorenson 3 > > codec > > and the new H.264? Is H.264 actually now the "state of the art"? > > Which codec > > is the best quality choice in your eyes for offline content, no > > streaming, > > not worrying of the file size? > > > > > H.264 is by far the best video compression codec in the world. > > Better than Sorenson 3 VBR, much better than plain Sorenson 3. > > If size is no object, because large H.264 decoding puts a strain on > old computers, try PJPEG at 90% quality. > > > > > > > 5. If you use a flash codec in a mov file. Has the output the same > > quality > > as a native flash movie? - In your personal experience > > > > A Flash layer in QT is vector only- You cannot embed an FLV in QT. > > However, the Flash plugin now supports H.264. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From toolbook at kestner.de Tue Nov 20 05:11:12 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 20 Nov 2007 11:11:12 +0100 Subject: Inserting image from clipboard results in black square Message-ID: <000001c82b5d$b6c11840$18b2a8c0@TiemoPC2> Hello, Rev 2.8.1 470, Win. I get again customers who come into my mysterious image copying problem. I copy an image into the clipboard and at some (not very many) customers, probably only on windows platform, when they paste this image into another program (e.g. word) they get only a black square instead of the image. Because of I can't reproduce this error on my machines, it is very hard to find the problem, or at least a workaround. This is my code: export snapshot from grp "grpClipboard" to tClipboardImage as jpeg -- (I tried it first with png, with same result) set the clipboarddata["image"] to tClipboardImage Has anybody ever seen this behaviour or does anybody has an idea for a workaround to the above code? Thanks for any hint Tiemo From revlist at azurevision.co.uk Tue Nov 20 05:26:46 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Tue, 20 Nov 2007 10:26:46 +0000 Subject: AW: Quicktime and Encoder In-Reply-To: <002a01c82b53$1cc4d240$18b2a8c0@TiemoPC2> References: <002a01c82b53$1cc4d240$18b2a8c0@TiemoPC2> Message-ID: <934274DC-1675-41AD-AB79-D6896E1B52FF@azurevision.co.uk> On 20 Nov 2007, at 08:55, Tiemo Hollmann TB wrote: > having read a little bit more, H.264 seems to be a HD codec, if I > am right. > Do you know, or do you have a feeling, if I can - or if it makes > sense, to > use the H.264 codec to produce not HD material, captured with old PAL > standard 720x576 to an output format 384x288 just to get best video > quality? h264 is *used* for a lot of HD content, but it's not limited to it. YouTube are in the middle of re-encoding all their content using it. > Or would Sorenson 3 VBR the choice in this case? > > The QT help site tells, that Sorenson 3 is supported. Is Sorenson 3 > VBR > another (not supported) codec or just some encoding parameters of > Sorenson 3 > which would also be supported by standard QT? I don't think VBR Sor3 is supported as an encoding option without buying the 'full' codec from Sorenson. Ian From toolbook at kestner.de Tue Nov 20 05:30:27 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 20 Nov 2007 11:30:27 +0100 Subject: AW: AW: Quicktime and Encoder In-Reply-To: <934274DC-1675-41AD-AB79-D6896E1B52FF@azurevision.co.uk> Message-ID: <000501c82b60$5f1f7110$18b2a8c0@TiemoPC2> Thanks Ian, very helpful Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Ian Wood > Gesendet: Dienstag, 20. November 2007 11:27 > An: How to use Revolution > Betreff: Re: AW: Quicktime and Encoder > > > On 20 Nov 2007, at 08:55, Tiemo Hollmann TB wrote: > > > having read a little bit more, H.264 seems to be a HD codec, if I > > am right. > > Do you know, or do you have a feeling, if I can - or if it makes > > sense, to > > use the H.264 codec to produce not HD material, captured with old PAL > > standard 720x576 to an output format 384x288 just to get best video > > quality? > > h264 is *used* for a lot of HD content, but it's not limited to it. > YouTube are in the middle of re-encoding all their content using it. > > > Or would Sorenson 3 VBR the choice in this case? > > > > The QT help site tells, that Sorenson 3 is supported. Is Sorenson 3 > > VBR > > another (not supported) codec or just some encoding parameters of > > Sorenson 3 > > which would also be supported by standard QT? > > I don't think VBR Sor3 is supported as an encoding option without > buying the 'full' codec from Sorenson. > > Ian > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dave at looktowindward.com Tue Nov 20 08:26:14 2007 From: dave at looktowindward.com (Dave) Date: Tue, 20 Nov 2007 13:26:14 +0000 Subject: Problem with RunRev/Valentina on Windows Message-ID: Hi All, I have installed Valentina and tested it on the Mac, works a treat, 65 seconds instead of 95 seconds to write the same database. However, when I try to run it on Windows, the same code give an error on the revOpenDatabase() call. Any idea what could be causing this on Windows only? All the Best Dave From andre at andregarzia.com Tue Nov 20 09:33:41 2007 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 20 Nov 2007 12:33:41 -0200 Subject: OT: CSS, Javascript, In-Reply-To: <473F4741.5080705@hindu.org> References: <473F4741.5080705@hindu.org> Message-ID: <7c87a2a10711200633h5b33035cq10301f78adaa6254@mail.gmail.com> Aloha Sivakatirswami, A good introduction is 'Foundations of AJAX' from Apress Publishing. The URL for the book is http://www.apress.com/book/view/1590595823 for some reason, Google Book thingy has the whole content available online here: http://books.google.com/books?id=VTmXAT702S4C&dq=foundations+of+ajax&pg=PP1&ots=f75BNnxFsc&sig=2940All73xui_Wt8g5peiHnlOpQ&prev=http://www.google.com/search%3Fq%3Dfoundations%2Bof%2Bajax%26ie%3Dutf-8%26oe%3Dutf-8%26aq%3Dt%26rls%3Dorg.mozilla:en-US:official%26client%3Dfirefox-a&sa=X&oi=print&ct=title&cad=one-book-with-thumbnail#PPP1,M1 (biggest url ever) I've checked Apress site and they have some other interesting books on AJAX, more intermediate level. Such as 'Accelerated DOM Scripting with Ajax, APIs, and Libraries'. A good online resource is http://ajaxian.com they list the latest news and buzz. Om Shanti Andre From sunshine at public.kherson.ua Tue Nov 20 10:03:22 2007 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue, 20 Nov 2007 17:03:22 +0200 Subject: Windows Problem with RunRev/Valentina In-Reply-To: Message-ID: On 20/11/07 5:00 PM, "Ruslan Zasukhin" wrote: > On 20/11/07 4:07 PM, "Dave" wrote: > > Hi Dave, > >> I am currently evaluating Valentina for RunRev. I have installed >> RunRev and Valentina on a Mac and ran a test program that creates >> 10,000 records, and the initial results were very promising. With >> Valentina it takes 65 seconds to run, whereas with SQLite it takes 95 >> seconds. > > 65 seconds ???????? > > This is VERY SLOW! > Do you use SQL way? > Do you use RevDB API or Valentina API of V4REV ? > > Lets check your code to see how improve it. > Please copy paste your code here. > >> However, when I try to run it on Windows, the same code give an error >> on the revOpenDatabase() call. Any idea what could be causing this on >> Windows only? > > Which error? > > Did you check V4REV_LOG file? This may help a lots. > If you have not it, check examples and docs about > Valentina_DebugLevel Aha, also: if such LOG file is ON then itself can slow down. It is for debug purpose only. to see RELEASE speed you need disable it after code is polished. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From mwieder at ahsoftware.net Tue Nov 20 13:01:45 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 20 Nov 2007 10:01:45 -0800 Subject: OT: CSS, Javascript, References: <473F4741.5080705@hindu.org> <7c87a2a10711200633h5b33035cq10301f78adaa6254@mail.gmail.com> Message-ID: I'll second Andre's recommendation for the APress book (and actually it was on his suggestion that I picked it up in the first place). -- Mark Wieder mwieder at ahsoftware.net From chipp at chipp.com Tue Nov 20 14:55:49 2007 From: chipp at chipp.com (Chipp Walters) Date: Tue, 20 Nov 2007 13:55:49 -0600 Subject: Inserting image from clipboard results in black square In-Reply-To: <000001c82b5d$b6c11840$18b2a8c0@TiemoPC2> References: <000001c82b5d$b6c11840$18b2a8c0@TiemoPC2> Message-ID: <7aa52a210711201155k488bf1cfq9ede549f94e263c1@mail.gmail.com> My guess is it has something to do with Vista and Aero..as there's a bug in the current release with export snapshot. See: http://quality.runrev.com/qacenter/show_bug.cgi?id=5413 -Chipp From russell_martin at yahoo.com Tue Nov 20 21:07:23 2007 From: russell_martin at yahoo.com (Russell Martin) Date: Tue, 20 Nov 2007 18:07:23 -0800 (PST) Subject: Drag to resize list fields Message-ID: <975044.92056.qm@web54110.mail.re2.yahoo.com> Hi. I'm attempting to create an interface where I have two list fields side by side. I would like the user to be able to click in the space between the two lists and then drag left or right to and have the lists widths to be resized. What I've attempted to do, is to put a tall narrow rectangle in the space between the two fields and then have it respond to the mouseDown and dragMove messages. They look like this: on mouseDown -- I set the dragdata, because the documentation led me to believe -- it was necessary to get the rectangle to respond to dragMove messages set the dragdata["text"] to "text being dragged" -- the rectangle's width is 10 and so this immediately moves the rectangle -- to be centered to the pointer, if the pointer escapes the rectangle, the drag -- operation fails set the left of me to the mouseH - 5 end mouseDown on dragMove -- again, this centers the rectangle to the pointer set the left of me to the mouseH - 5 -- this resizes the left hand field to be one pixel away from the rectangle set the width of field LeftSideField to the mouseH - 6 -- this gets the left hand field positioned properly again against the left -- edge of the window set the left of field LeftSideField to 0 -- then, I set the width of the right hand field and fix it's position set the width of field RightSideField to width of this stack - the mouseH - 6 set the left of field RightSideField to width the mouseH - 6 end dragMove Now, this mostly works, but not as well as I'd like. If you move the pointer too quickly (which is not hard to do), it will escape from the rectangle and your drag operation will stop and the dragMove messages will start making their way up the message path. Also, even if you drag slowly enough to avoid this, when the window is resized and the fields resize based on their geometry settings, they are no longer within one pixel of the rectangle. I'm thinking that there has two be a better way to accomplish what I'm trying to do in Revolution. I'm hoping that someone out there will be able to set me straight. Thanks in advance. :-) ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs From scott at elementarysoftware.com Wed Nov 21 00:17:56 2007 From: scott at elementarysoftware.com (Scott Morrow) Date: Tue, 20 Nov 2007 21:17:56 -0800 Subject: Drag to resize list fields In-Reply-To: <975044.92056.qm@web54110.mail.re2.yahoo.com> References: <975044.92056.qm@web54110.mail.re2.yahoo.com> Message-ID: <2C267F09-7D6B-4336-9C66-92A8C77B05CD@elementarysoftware.com> Hello Russell, Eric Chatonet of So Smart Software has a fine example on how to do this as part of his "Managing Resizing" tutorial. http://www.sosmartsoftware.com/?r=revolution_didacticiels&l=en In the example stack look under the "Tips and Tricks" tab and click the "Two Fields Together" button. The script is in the divider bar. -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- On Nov 20, 2007, at 6:07 PM, Russell Martin wrote: > Hi. I'm attempting to create an interface where I have two list > fields side by side. I would like the user to be able to click in > the space between the two lists and then drag left or right to and > have the lists widths to be resized. > > What I've attempted to do, is to put a tall narrow rectangle in the > space between the two fields and then have it respond to the > mouseDown and dragMove messages. > > They look like this: > > on mouseDown > -- I set the dragdata, because the documentation led me to believe > -- it was necessary to get the rectangle to respond to dragMove > messages > set the dragdata["text"] to "text being dragged" > -- the rectangle's width is 10 and so this immediately moves the > rectangle > -- to be centered to the pointer, if the pointer escapes the > rectangle, the drag > -- operation fails > set the left of me to the mouseH - 5 > end mouseDown > > > on dragMove > -- again, this centers the rectangle to the pointer > set the left of me to the mouseH - 5 > -- this resizes the left hand field to be one pixel away from the > rectangle > set the width of field LeftSideField to the mouseH - 6 > -- this gets the left hand field positioned properly again > against the left > -- edge of the window > set the left of field LeftSideField to 0 > -- then, I set the width of the right hand field and fix it's > position > set the width of field RightSideField to width of this stack - > the mouseH - 6 > set the left of field RightSideField to width the mouseH - 6 > end dragMove > > > Now, this mostly works, but not as well as I'd like. If you move > the pointer too quickly (which is not hard to do), it will escape > from the rectangle and your drag operation will stop and the > dragMove messages will start making their way up the message path. > Also, even if you drag slowly enough to avoid this, when the window > is resized and the fields resize based on their geometry settings, > they are no longer within one pixel of the rectangle. > > I'm thinking that there has two be a better way to accomplish what > I'm trying to do in Revolution. I'm hoping that someone out there > will be able to set me straight. Thanks in advance. :-) > > > > > > ______________________________________________________________________ > ______________ > Never miss a thing. Make Yahoo your home page. > http://www.yahoo.com/r/hs > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ralf at dol.net Sat Nov 17 14:03:23 2007 From: ralf at dol.net (Ralph R. Forehand) Date: Sat, 17 Nov 2007 14:03:23 -0500 Subject: Dreamcard 2.5 on Mac OS X Question Message-ID: Can I install my Dreamcard 2.5 in my OS 10.4.10? If so, are there any problems or things I need to consider? Thanks in advance, Ralph From burrton at mac.com Sun Nov 18 06:21:54 2007 From: burrton at mac.com (Burt Woodruff) Date: Sun, 18 Nov 2007 06:21:54 -0500 Subject: Fwd: SSL library not found References: Message-ID: <2317D4A3-3443-4ACA-AEB2-269DEA2EC1FA@mac.com> Dear Folk, I upgraded to Leopard and now I'm getting the "SSL library not found" when using Rev Enterprise 2.8.1 for Mac. The stack worked fine earlier. Where is the SSL library. I haven't been able to find it. Burrton Woodruff burrton at gmail.com burrton at mac.com From dave at looktowindward.com Wed Nov 21 05:34:26 2007 From: dave at looktowindward.com (Dave) Date: Wed, 21 Nov 2007 10:34:26 +0000 Subject: Getting to the Bottom on UTF-8 and UTF-16 on RunRev Message-ID: <428F3A2C-555E-4E15-8080-35372969B6A5@looktowindward.com> Hi, I'm working on a Client/Server application which uses WebServices on the server and a Soap Layer on the Client. All works well in General, but now a problem has come up whereby if we change the stream from UTF-8 to UTF-16, the Server gives an error. My question is, in RunRev is the character set used UTF-8 to !6? If I send a message built up from data from fields and text strings using the "post" command, would it send UTF8 or 16? If 8, how can I convert UTF-8 to 16? I'm pretty confused as to how and when UTF-8 or 16 are selected in Rev. Thanks for your help All the Best Dave From sunshine at public.kherson.ua Wed Nov 21 05:22:59 2007 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed, 21 Nov 2007 12:22:59 +0200 Subject: Windows Problem with RunRev/Valentina In-Reply-To: <6FB9BF05-E882-493D-9C9B-24104B1F8F57@gmail.com> Message-ID: On 21/11/07 10:46 AM, "Mr. Bart Pietercil" wrote: Hi Bart, > Hi Dave, > > Good-morning and welcome to Valentina. > You sure made a good start by making me laugh aloud when I read this > statement > > On 20-nov-07, at 19:52, Dave wrote: > >> The problem was that the primary key was getting duplicated, this >> was because in my Test Application I use the millisecond count to >> to simulate the real key. This was ok under SQLite since it took >1 >> MS between Insert operations, however Valentina is so much faster >> that I have to append a Random number to the end of it to make it >> unique! >> > > Ruslan, > > you should put this (if it is ok with Dave) on your website :-) Yes really nice story... We need then new section: "fun stories" on site :-) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina at lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From mark at maseurope.net Wed Nov 21 07:44:03 2007 From: mark at maseurope.net (Mark Smith) Date: Wed, 21 Nov 2007 12:44:03 +0000 Subject: Getting to the Bottom on UTF-8 and UTF-16 on RunRev In-Reply-To: <428F3A2C-555E-4E15-8080-35372969B6A5@looktowindward.com> References: <428F3A2C-555E-4E15-8080-35372969B6A5@looktowindward.com> Message-ID: Dave, if I understand right, the server is expecting UTF-16. Unless the client app has specifically 'set the unicodeText of fld 'someField' to someUnicode', the fields will be using the Mac Roman charset on Macs, or ISO-8859-1 on Windows and Linux. Bear in mind that for characters with a value <= 127, UTF-8 = ISO-8859-1 = MacRoman = ASCII (I'm pretty sure). If the server is expecting UTF-16 then you'll have to convert the contents of the fields before posting. See the uniEncode/uniDecode and macToIso/IsoToMac functions. for example : will convert 'plain text' to UTF-8 And to add some spice to the dish, if you have any non-intel macs in the mix, you may come up against big/little endian issues when dealing with UTF-16! Best, Mark On 21 Nov 2007, at 10:34, Dave wrote: > Hi, > > I'm working on a Client/Server application which uses WebServices > on the server and a Soap Layer on the Client. All works well in > General, but now a problem has come up whereby if we change the > stream from UTF-8 to UTF-16, the Server gives an error. > > My question is, in RunRev is the character set used UTF-8 to !6? If > I send a message built up from data from fields and text strings > using the "post" command, would it send UTF8 or 16? If 8, how can I > convert UTF-8 to 16? > > I'm pretty confused as to how and when UTF-8 or 16 are selected in > Rev. > > Thanks for your help > All the Best > Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From toolbook at kestner.de Wed Nov 21 11:18:39 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 21 Nov 2007 17:18:39 +0100 Subject: AW: Inserting image from clipboard results in black square In-Reply-To: <7aa52a210711201155k488bf1cfq9ede549f94e263c1@mail.gmail.com> Message-ID: <001e01c82c5a$2df0be50$18b2a8c0@TiemoPC2> Noop, it happens only on XP. There is already a filed bug report and Revolution says it will be treated in 2.9. http://quality.runrev.com/qacenter/show_bug.cgi?id=4761 though I have no idea, why it happens only at some customers and not all, if it is a rev bug and if I find a workaround for set clipboarddata() in 2.8. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Chipp Walters > Gesendet: Dienstag, 20. November 2007 20:56 > An: How to use Revolution > Betreff: Re: Inserting image from clipboard results in black square > > My guess is it has something to do with Vista and Aero..as there's a bug > in > the current release with export snapshot. See: > http://quality.runrev.com/qacenter/show_bug.cgi?id=5413 > > -Chipp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sunshine at public.kherson.ua Wed Nov 21 11:26:57 2007 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed, 21 Nov 2007 18:26:57 +0200 Subject: FW: [SOLVED] Windows Problem with RunRev/Valentina In-Reply-To: Message-ID: ------ Forwarded Message From: Ruslan Zasukhin Date: Wed, 21 Nov 2007 12:22:59 +0200 To: "valentina at lists.macserve.net" Conversation: Re[2]: Windows Problem with RunRev/Valentina Subject: Re: Re[2]: Windows Problem with RunRev/Valentina On 21/11/07 10:46 AM, "Mr. Bart Pietercil" wrote: Hi Bart, > Hi Dave, > > Good-morning and welcome to Valentina. > You sure made a good start by making me laugh aloud when I read this > statement > > On 20-nov-07, at 19:52, Dave wrote: > >> The problem was that the primary key was getting duplicated, this >> was because in my Test Application I use the millisecond count to >> to simulate the real key. This was ok under SQLite since it took >1 >> MS between Insert operations, however Valentina is so much faster >> that I have to append a Random number to the end of it to make it >> unique! >> > > Ruslan, > > you should put this (if it is ok with Dave) on your website :-) Yes really nice story... We need then new section: "fun stories" on site :-) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] ------ End of Forwarded Message From m.schonewille at economy-x-talk.com Wed Nov 21 13:30:09 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 21 Nov 2007 19:30:09 +0100 Subject: Printing without margins Message-ID: <541F5E9D-6CEE-4A25-AC00-7D4B4211F28E@economy-x-talk.com> Hi, I'm trying to print a card, starting at the topleft of a page. I have created the following simple script to test printing. on mouseUp set the backColor of this cd to "white" set the style of the templategraphic to rectangle if not (there is a grc 1) then create grc set the rect of last grc to the rect of this cd hide me set the printpapersize to (the width of this cd & comma & the height of this cd) set the printmargins to 0,0,0,0 open printing with dialog print this cd close printing show me end mouseUp Before running the script, I have created a custom paper size for my printers, setting the printing area to the entire page and the margins to 0. If I run this script in Rev 2.6.1 on Mac OS 9, I get a square that actually starts at position 0,0 on the paper. Printers that are unable to print in the very margin don't print the topleft of the rectangle, but the rectangle is still in the correct position. On Mac OS X, using a postscript printer and cups printing to a PDF, there is always a margin, no matter what I try. The rectangle has been shifted to the bottom-right by almost a quarter of an inch. If I print the same rectangle from within any other programme, there is no margin and if I print to PDF, I can see the entire rectangle starting at 0,0. I found the following statement in the archives: http://article.gmane.org/gmane.comp.ide.revolution.user/54303 > The printmargins always begin at the spot on the page where the > printer > can start printing. If your printer imposes a 1" limitation on all > edges, then setting a printmargin of another inch will get you two > inches of white space. I wonder whether this still applies and whether this is generally considered a bug. There should be a way to consistently print on different printers and different platforms. Does anyone know how? Any ideas about printing from within Revolution on Mac OS X with margins truely set to 0? Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com From revolution at derbrill.de Wed Nov 21 14:06:02 2007 From: revolution at derbrill.de (Malte Brill) Date: Wed, 21 Nov 2007 20:06:02 +0100 Subject: [OT] totally off topic but proud like a dog In-Reply-To: <20071121180006.A8083489093@mail.runrev.com> References: <20071121180006.A8083489093@mail.runrev.com> Message-ID: <1ED843A2-E68C-40F7-9C44-93F0D123711C@derbrill.de> Hi all, this has absolutely nothing to do with Rev (but a tad bit with creativity). and I must admit that I am proud like a dog that my ex band and close friends 4tune8 made it into the iTunes store. Funny to hear their songs in iTunes now. And I am really happy that I was able to help them writing some of music and pretty much of their Lyrics. (long Url, I think the list software will break it.) Now back to work :) All the best, Malte From hershf at rgllc.us Wed Nov 21 15:24:30 2007 From: hershf at rgllc.us (Hershel Fisch) Date: Wed, 21 Nov 2007 15:24:30 -0500 Subject: MouseUp in list field ignored Message-ID: Hi all I'm wondering why in a locked list fld when it is empty why a mouseup is ignored? Thanks, to all Hershel From m.schonewille at economy-x-talk.com Wed Nov 21 19:31:42 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 22 Nov 2007 01:31:42 +0100 Subject: Printing without margins In-Reply-To: <541F5E9D-6CEE-4A25-AC00-7D4B4211F28E@economy-x-talk.com> References: <541F5E9D-6CEE-4A25-AC00-7D4B4211F28E@economy-x-talk.com> Message-ID: <29B506A0-23B6-4B81-A237-87A6870C2CA8@economy-x-talk.com> Hello (again), It seems that this is more a problem of the printPaperSize. I have reported this as a bug, which can be read here: Any ideas for a workaround are highly appreciated! Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 21-nov-2007, om 19:30 heeft Mark Schonewille het volgende geschreven: > Hi, > > I'm trying to print a card, starting at the topleft of a page. I > have created the following simple script to test printing. > > on mouseUp > set the backColor of this cd to "white" > set the style of the templategraphic to rectangle > if not (there is a grc 1) then create grc > set the rect of last grc to the rect of this cd > hide me > set the printpapersize to (the width of this cd & comma & the > height of this cd) > set the printmargins to 0,0,0,0 > open printing with dialog > print this cd > close printing > show me > end mouseUp > > Before running the script, I have created a custom paper size for > my printers, setting the printing area to the entire page and the > margins to 0. > > If I run this script in Rev 2.6.1 on Mac OS 9, I get a square that > actually starts at position 0,0 on the paper. Printers that are > unable to print in the very margin don't print the topleft of the > rectangle, but the rectangle is still in the correct position. > > On Mac OS X, using a postscript printer and cups printing to a PDF, > there is always a margin, no matter what I try. The rectangle has > been shifted to the bottom-right by almost a quarter of an inch. If > I print the same rectangle from within any other programme, there > is no margin and if I print to PDF, I can see the entire rectangle > starting at 0,0. > > I found the following statement in the archives: > > http://article.gmane.org/gmane.comp.ide.revolution.user/54303 >> The printmargins always begin at the spot on the page where the >> printer >> can start printing. If your printer imposes a 1" limitation on all >> edges, then setting a printmargin of another inch will get you two >> inches of white space. > > I wonder whether this still applies and whether this is generally > considered a bug. There should be a way to consistently print on > different printers and different platforms. Does anyone know how? > > Any ideas about printing from within Revolution on Mac OS X with > margins truely set to 0? > > Best regards, > > Mark Schonewille > From psahores at free.fr Thu Nov 22 00:17:13 2007 From: psahores at free.fr (Pierre Sahores) Date: Thu, 22 Nov 2007 06:17:13 +0100 Subject: revolution's web appliclation's servers made simple ! In-Reply-To: <4740107F.9050401@hindu.org> References: <4740107F.9050401@hindu.org> Message-ID: <3FF5123C-94B2-4F69-A343-49077394466D@free.fr> Hi List, A short resume about how to set up revolution's web appliclation's servers in a simple way... Best Regards, -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From palcibiades-first at yahoo.co.uk Thu Nov 22 03:24:34 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 22 Nov 2007 08:24:34 +0000 Subject: beta dp2 Message-ID: <200711220824.34638.palcibiades-first@yahoo.co.uk> Very nice to see selection of database via query builder now working. Fonts still an issue on Debian, probably as noted in the release notes. However, the big one, which is not a bug really, though it is in the bug database, but more a way of working, is that it still doesn't seem to support multiple desktops. Surely this is going to be a necessity with Spaces? What I mean is, you put the dictionary on one desktop, your app and palette on another, then open the editor on a third. The thing you expect is to be able to keep them there and work. Just flip over to the other DT to look at the dictionary when you want to. Drag the windows around from one DT to another using the little Gnome or KDE desktop device. Every other linux application behaves this way. But with Rev, the minute you use either the editor or the palette or the toolbar, back they all flick to the one desktop, and there you are, half a dozen desktops open and empty, and all your windows scrunched up one behind the other getting in each others way. The little window placement icon on the very top left above the file menu is there on all windows. Its just that it only works temporarily. I must try it with a tabbed window manager and see if the same problem happens. But whatever, it needs to work properly in the mainstream X Windows environments. Or is there some way of making it work properly that I'm missing? Peter From xavier.bury at clearstream.com Thu Nov 22 07:23:58 2007 From: xavier.bury at clearstream.com (xavier.bury at clearstream.com) Date: Thu, 22 Nov 2007 13:23:58 +0100 Subject: revolution's web appliclation's servers made simple ! In-Reply-To: <3FF5123C-94B2-4F69-A343-49077394466D@free.fr> Message-ID: Hi Pierre, Very nice presentation. Just wanted to make a remark that on Win32 you can setup any rev made application to be run as a service (or daemon) using the NT Resource kit's utility Instrsrv.exe. There are other methods but that's the simplest to my knowledge and it's free. Regards Xavier use-revolution-bounces at lists.runrev.com wrote on 22/11/2007 06:17:13: > Hi List, > > A short resume about how to set up revolution's web appliclation's > servers in a simple way... > > > > Best Regards, > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ---------------------------------------------------------------------------- Clearstream Services S.A. 42 Avenue JF Kennedy, L-1855 Luxembourg Soci?t? anonyme is organised with limited liability in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911. ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. Legally required information for business correspondence/ Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: http://deutsche-boerse.com/letterhead END OF DISCLAIMER From dave at looktowindward.com Thu Nov 22 15:39:20 2007 From: dave at looktowindward.com (Dave) Date: Thu, 22 Nov 2007 20:39:20 +0000 Subject: Problem building Standalone on Windows In-Reply-To: <541F5E9D-6CEE-4A25-AC00-7D4B4211F28E@economy-x-talk.com> References: <541F5E9D-6CEE-4A25-AC00-7D4B4211F28E@economy-x-talk.com> Message-ID: <1D35F5B3-38DE-4FBE-B76F-2CF0A463FCF0@looktowindward.com> Hi, I working on a project for Mac and PC that need the standalone to be built on the same Platform as they are deployed on. The Mac build works fine for both Mac and Windows (except that the windows version won't run, don't ask me, ask Valentina, that's the way they told be to do it). But on Mac I don't get the same results at all. On Mac in the Copy Files pane of the Standalone builder, I have specified the files I want to include like this: RunTime/Stacks/StackA.rev RunTime/images/ImageX.jpg and so on. On the mac this results in the files specified being put into the correct place in the Standalone for both Mac and Windows, e.g: Mac: AppName.app/contents/MacOS/RunTime/Stacks/StackA.rev AppName.app/contents/MacOS/RunTime/images/ImageX. jpg Windows: AppName/Windows//RunTime/Stacks/StackA. rev AppName/Windows//RunTime/images/ImageX. jpg But on Windows, the sub-folder(s) do not get created and all the files are lumped into the same folder as the App. Any ideas on how to fix this? All the Best Dave From klaus at major-k.de Fri Nov 23 04:44:42 2007 From: klaus at major-k.de (Klaus Major) Date: Fri, 23 Nov 2007 10:44:42 +0100 Subject: answer folder "sdsds";launch document it Message-ID: Hi friends, I just happily discovered that these lines: ... answer folder "sdsds" launch document it ... actually opens that namely folder on OS X as if doubleclicked :-) And it works with or without a trailing slash! Can someone please check, if this does also work on a Windows machine? Thanks in advance! Regards Klaus Major klaus at major-k.de http://www.major-k.de From xavier.bury at clearstream.com Fri Nov 23 04:55:23 2007 From: xavier.bury at clearstream.com (xavier.bury at clearstream.com) Date: Fri, 23 Nov 2007 10:55:23 +0100 Subject: answer folder "sdsds";launch document it In-Reply-To: Message-ID: Hi Klaus, Works as expected! ---------------------=--------------------- Xavier Bury use-revolution-bounces at lists.runrev.com wrote on 23/11/2007 10:44:42: > Hi friends, > > I just happily discovered that these lines: > ... > answer folder "sdsds" > launch document it > ... > > actually opens that namely folder on OS X as if doubleclicked :-) > And it works with or without a trailing slash! > > Can someone please check, if this does also work on a Windows machine? > Thanks in advance! > > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ---------------------------------------------------------------------------- Clearstream Services S.A. 42 Avenue JF Kennedy, L-1855 Luxembourg Soci?t? anonyme is organised with limited liability in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911. ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. Legally required information for business correspondence/ Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: http://deutsche-boerse.com/letterhead END OF DISCLAIMER From klaus at major-k.de Fri Nov 23 05:03:27 2007 From: klaus at major-k.de (Klaus Major) Date: Fri, 23 Nov 2007 11:03:27 +0100 Subject: answer folder "sdsds";launch document it In-Reply-To: References: Message-ID: <9F5055E4-D351-4009-86C4-9BA97E203EF9@major-k.de> Bonjour Xavier, > Hi Klaus, > > Works as expected! Cooool, thanks :-) > ---------------------=--------------------- > Xavier Bury Best Klaus Major klaus at major-k.de http://www.major-k.de From lfredricks at proactive-intl.com Fri Nov 23 13:05:12 2007 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri, 23 Nov 2007 10:05:12 -0800 Subject: Black Friday Specials from Mirye on Revolution Media and Valentina for Revolution Message-ID: <02ce01c82dfb$653284f0$6501a8c0@GATEWAY> Hello everyone, Our launch of Mirye put the collective Mirye products, including Runtime Revolution, in front of two new communities that amount to a total of 1 million registered members. It is now possible to get Revolution through both sites - Content Paradise and Renderosity. Mirye's online store is currently running a number of specials that run through end of day Monday November 26: Valentina for Revolution Advanced is 50% Off. This includes the runtimes for Windows, Mac OS X and Linux, plus a copy of Valentina Studio Admin. http://www.miryestore.com/product.php?productid=16159&cat=0&page=1&featured Revolution Media Edition with Free Toon Santa's Christmas Classics. Revolution Media is the entry level media version of Revolution and a great way to get started with Revolution without much pain in the wallet. Revolution Media Edition is $49, and runs on Windows and Mac OS X, and deploys to both. Toon Santa's Christmas Classics is a set of 10 royalty free traditional Christmas songs/soundtracks you can incorporate into your games, applications, and elsewhere (normally $25 for this set). This particular offer is also available through Content Paradise and Renderosity. http://www.miryestore.com/product.php?productid=16133&cat=0&page=1&featured Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) http://www.proactive-intl.com From dam-pro.girard at laposte.net Fri Nov 23 13:19:35 2007 From: dam-pro.girard at laposte.net (GIRARD Damien) Date: Fri, 23 Nov 2007 19:19:35 +0100 Subject: answer folder "sdsds";launch document it In-Reply-To: <9F5055E4-D351-4009-86C4-9BA97E203EF9@major-k.de> References: <9F5055E4-D351-4009-86C4-9BA97E203EF9@major-k.de> Message-ID: <474719B7.8000001@laposte.net> Bonjour, This does not works anymore with Runrev 2.9 dp-2. But in dp-1, it work. Best Damien Klaus Major a ?crit : > Bonjour Xavier, > >> Hi Klaus, >> >> Works as expected! > > Cooool, thanks :-) > >> ---------------------=--------------------- >> Xavier Bury > > Best > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From klaus at major-k.de Fri Nov 23 14:10:59 2007 From: klaus at major-k.de (Klaus Major) Date: Fri, 23 Nov 2007 20:10:59 +0100 Subject: answer folder "sdsds";launch document it In-Reply-To: <474719B7.8000001@laposte.net> References: <9F5055E4-D351-4009-86C4-9BA97E203EF9@major-k.de> <474719B7.8000001@laposte.net> Message-ID: <6DDFF325-C51E-4221-8F68-BF69235382EA@major-k.de> Bonsoir Girard, > Bonjour, > > This does not works anymore with Runrev 2.9 dp-2. But in dp-1, it > work. Thanks for testing! Ca merde! :-) Hi RunRev, could you please add this (probably unintended?) feature again, comes in VERY handy... > Best > > Damien Best from l'alllemagne Klaus Major klaus at major-k.de http://www.major-k.de From runrev260805 at m-r-d.de Fri Nov 23 15:31:45 2007 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Fri, 23 Nov 2007 20:31:45 +0000 Subject: Re-2: answer folder "sdsds";launch document it Message-ID: I vote for this feature, too. It?s much easier than using the shell command to open a folder under windows. Matthias Rebbe -------- Original Message -------- Subject: Re: answer folder "sdsds";launch document it (23-Nov-2007 20:11) From: Klaus Major To: runrev260805 at m-r-d.de > Bonsoir Girard, > > > Bonjour, > > > > This does not works anymore with Runrev 2.9 dp-2. But in dp-1, it > > work. > > Thanks for testing! > > Ca merde! :-) > > Hi RunRev, could you please add this (probably unintended?) feature > again, > comes in VERY handy... > > > Best > > > > Damien > > Best from l'alllemagne > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > To: use-revolution at lists.runrev.com From klaus at major-k.de Fri Nov 23 15:55:33 2007 From: klaus at major-k.de (Klaus Major) Date: Fri, 23 Nov 2007 21:55:33 +0100 Subject: Re-2: answer folder "sdsds";launch document it In-Reply-To: References: Message-ID: Hi Mad-Hias ;-) > I vote for this feature, too. > It?s much easier than using the shell command to open a folder under > windows. There is a related "enhancement" in the RevQalityCenter. Check bug #5549. I will add this one tomorrow... > Matthias Rebbe Best Klaus Major klaus at major-k.de http://www.major-k.de From katir at hindu.org Fri Nov 23 17:17:44 2007 From: katir at hindu.org (Sivakatirswami) Date: Fri, 23 Nov 2007 12:17:44 -1000 Subject: Setting Paths to Media in Standalone Message-ID: <47475188.8060900@hindu.org> It's the old "can you find media files relative to me" issue... I have a splash screen with a small movie to be run on load. splash-stack-is-here.rev/ media/ # a folder movie1.mov movie2.mov OK, My preopenstack handler says: on preopenstack set the loc of this stack to the screenloc put the filename of this stack into tPath set the itemdel to "/" put "media/" into item -1 of tPath set the filename of player 2 to url (tPath & "tandava take 3.mov") set the filename of player 1 to url (tPath & "aadheenam_2007-02-06_sm-vision-puja.mov") end preopenstack This works just fine in the IDE, but when I turn the stack into a standalone it does not work. Any light? Sivakatirswami From JimAultWins at yahoo.com Fri Nov 23 17:56:01 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 23 Nov 2007 14:56:01 -0800 Subject: Setting Paths to Media in Standalone In-Reply-To: <47475188.8060900@hindu.org> Message-ID: try effective filename and perhaps add: answer "The file path I am using as SA is " & cr & tPath --to see what is happening and --------- get tPath &"/" & "testFile.txt" put "test write" into url ("file:/"& it) if there is a file it then answer "Successfully created a file" & cr & it else answer "Could NOT create a file" & cr & it end if -------------- Could be a permissions issue. Jim Ault Las Vegas On 11/23/07 2:17 PM, "Sivakatirswami" wrote: > It's the old "can you find media files relative to me" issue... > > I have a splash screen with a small movie to be run on load. > > splash-stack-is-here.rev/ > media/ # a folder > movie1.mov > movie2.mov > > OK, My preopenstack handler says: > > on preopenstack > set the loc of this stack to the screenloc > put the filename of this stack into tPath > set the itemdel to "/" > put "media/" into item -1 of tPath > set the filename of player 2 to url (tPath & "tandava take 3.mov") > set the filename of player 1 to url (tPath & > "aadheenam_2007-02-06_sm-vision-puja.mov") > end preopenstack > > This works just fine in the IDE, but when I turn the stack into a > standalone it does not work. > > Any light? > > Sivakatirswami > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From katir at hindu.org Fri Nov 23 22:16:39 2007 From: katir at hindu.org (Sivakatirswami) Date: Fri, 23 Nov 2007 17:16:39 -1000 Subject: Setting Paths to Media in Standalone In-Reply-To: References: Message-ID: <47479797.4010307@hindu.org> Jim Ault wrote: > try > > effective filename > > and perhaps add: > > answer "The file path I am using as SA is " & cr & tPath > --to see what is happening and --------- > get tPath &"/" & "testFile.txt" > put "test write" into url ("file:/"& it) > > if there is a file it then > answer "Successfully created a file" & cr & it > else > answer "Could NOT create a file" & cr & it > end if > -------------- > Could be a permissions issue. > > > Well it was two things. Copying files under from my machine to the Kiosk machine and the files all had me as the owner... second thing was I got bit by the OS app=package=folder and filename "is" deep inside here. delete item -4 to -1 of tPath gets you back to the proper enclosing folder. After that, my movies started working. But, I for the life of me I am unable to get the path to externals to work... (see separate subject) > On 11/23/07 2:17 PM, "Sivakatirswami" wrote: > > >> It's the old "can you find media files relative to me" issue... >> >> I have a splash screen with a small movie to be run on load. >> >> splash-stack-is-here.rev/ >> media/ # a folder >> movie1.mov >> movie2.mov >> >> OK, My preopenstack handler says: >> >> From andre at andregarzia.com Fri Nov 23 22:18:10 2007 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 24 Nov 2007 01:18:10 -0200 Subject: Re-2: answer folder "sdsds";launch document it In-Reply-To: References: Message-ID: <7c87a2a10711231918o7b91664fs1d8c7ebed0c7c30e@mail.gmail.com> Klaus, you can achieve the same result in Mac OS X with the following shell command: cd /your/path/here; open . It's cd to the folder you want and then execute "open .", open and a space and a dot. This will open the folder in the finder. In windows, I don't know but I bet it can be done with vbscript. And it also can be done with applescript in mac os x with something like: tell application "finder" reveal folder "my folder" in folder "my parent folder" in startup disk end tell Which I find rather cumbersome, why applescript do not support POSIX folders? (actually I think it does, but I don't know how to use them.) Cheers andre On 11/23/07, Klaus Major wrote: > Hi Mad-Hias ;-) > > > I vote for this feature, too. > > It?s much easier than using the shell command to open a folder under > > windows. > > There is a related "enhancement" in the RevQalityCenter. > Check bug #5549. > > I will add this one tomorrow... > > > Matthias Rebbe > > Best > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From katir at hindu.org Fri Nov 23 22:31:37 2007 From: katir at hindu.org (Sivakatirswami) Date: Fri, 23 Nov 2007 17:31:37 -1000 Subject: Setting paths to Externals Message-ID: <47479B19.9020305@hindu.org> OK I think I've wasted about 3 hours on this and am finally throwing in the towel...(smile) I'm trying to get Andre's Kiosk external loaded with my stand alone. a) I don't see how to tell the Standalone builder to copy any externals in use from the "My Revolution Enterprise" folder to the stand alone... I want to select Rev Browser for possible later use, so I am unable to check the box for the standalone builder to get the externals in use by the stack automatically. If I have the libkiosk.bundle in "My Revolution Enterprise/Externals/" it works fine... b) I tried everything "under the sun" to load an external by script. but I'm doing something wrong besides. I don't see how you can dynamically load an external anyway, since the docs state you have stop and restart your application. But if you are loading them by script in a preopenstack or open stack handler, then how will you ever activate them? c) then there is the issue of : you ask the stand alone builder to set-copy some externals and then you are setting the externals by script... how does that work? A "Best Practices" video on "Working with Externals in Revolution" would be most welcome! I'm missing something fundamental, as all the paths look right now -- having solved the for movies I know for sure the paths are correct for the location of the externals --> all handlers local tPath ON preopenstack set the rect of this stack to (the screenrect) set the loc of this stack to the screenloc END preopenstack ON openstack set the itemdel to "/" put (the filename of this stack) into tPath put environment() into tEnvirons IF tEnvirons = "standalone application" THEN answer "yes a standalone" WITH "OK" delete item -4 to -1 of tPath #crawl back out of the OS X package ELSE delete item -1 of tPath END IF loadMovies tPath loadExternals tPath runMovies send loadGuestRecords to this stack in 1 second END openstack ON loadMovies tPath # Hurray! this works now set the filename of player 2 to url (tPath & "/media/tandava take 3.mov") set the filename of player 1 to url (tPath & "/media/aadheenam_2007-02-06_sm-vision-puja.mov") END loadMovies ON loadExternals tPath # Boo Hoo... this is not working # where the external is in a folder adjacent to the standalone # and not inside the standalone bundle put "/plug-ins/libkiosk.bundle/Contents/MacOS/libkiosk" after tPath # doesnt' work --put "/plug-ins/libkiosk" after tPath # also doesn't work answer tPath WITH "OK" set the externals of this stack to tPath END loadExternals # Any attempt to call functions in the external give a script error # And I wonder how things play out if you are tell Revolution to # include externals when running the Standalone builder and the # setting them yourself by script... won't they conflict? ON runMovies set the playloudness of player "Player1" to 0 start player "player1" set the playrate of player "player2" to fld "tandavaRate" start player "player2" END runMovies From andre at andregarzia.com Fri Nov 23 22:48:39 2007 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 24 Nov 2007 01:48:39 -0200 Subject: Setting paths to Externals In-Reply-To: <47479B19.9020305@hindu.org> References: <47479B19.9020305@hindu.org> Message-ID: <7c87a2a10711231948l964bc76t6ea2b512340cace2@mail.gmail.com> Aloha Sivakatirswami, the steps are easy. First, put the externals inside the bundle of the standalone. choose inspect the package from the finder and drop the external into the externals folder inside it. If you set the externals property of the stack right then it should just work. Remember the only time when you're allowed to bind an external is during the startup handler. you can't load externals during openstack or preopenstack or anything like that. Just during startup. So if you want you can put something like that: on startup set the externals of this stack to ("libKiosk.bundle" & cr & "libKiosk.dll") end startup IIRC, you must set both a bundle and a dll even if the dll does not exist, but you're welcome to try without it. Om shanti andre On 11/24/07, Sivakatirswami wrote: > OK I think I've wasted about 3 hours on this and > am finally throwing in the towel...(smile) > > I'm trying to get Andre's Kiosk external loaded with my stand alone. > > a) I don't see how to tell the Standalone builder to copy any externals > in use from the "My Revolution Enterprise" folder to the stand alone... > I want to select Rev Browser for possible later use, so I am unable to > check the box for the standalone builder to get the externals in use by > the stack automatically. If I > have the libkiosk.bundle in "My Revolution Enterprise/Externals/" it > works fine... > > b) I tried everything "under the sun" to load an external by script. but > I'm doing something wrong > > besides. I don't see how you can dynamically load an external anyway, > since the docs state you have stop and restart your application. But if > you are loading them by script in a preopenstack or open stack handler, > then how will you ever activate them? > > c) then there is the issue of : you ask the stand alone builder to > set-copy some externals and then you are setting the externals by > script... how does that work? > > A "Best Practices" video on "Working with Externals in Revolution" would > be most welcome! > I'm missing something fundamental, as all the paths look right now -- > having solved the for movies > I know for sure the paths are correct for the location of the externals > > > --> all handlers > local tPath > > > ON preopenstack > set the rect of this stack to (the screenrect) > set the loc of this stack to the screenloc > END preopenstack > > ON openstack > set the itemdel to "/" > put (the filename of this stack) into tPath > put environment() into tEnvirons > IF tEnvirons = "standalone application" THEN > answer "yes a standalone" WITH "OK" > delete item -4 to -1 of tPath #crawl back out of the OS X package > ELSE > delete item -1 of tPath > END IF > loadMovies tPath > loadExternals tPath > runMovies > send loadGuestRecords to this stack in 1 second > > END openstack > > ON loadMovies tPath # Hurray! this works now > set the filename of player 2 to url (tPath & "/media/tandava take > 3.mov") > set the filename of player 1 to url (tPath & > "/media/aadheenam_2007-02-06_sm-vision-puja.mov") > END loadMovies > > ON loadExternals tPath # Boo Hoo... this is not working > # where the external is in a folder adjacent to the standalone > # and not inside the standalone bundle > put "/plug-ins/libkiosk.bundle/Contents/MacOS/libkiosk" after tPath # > doesnt' work > --put "/plug-ins/libkiosk" after tPath # also doesn't work > answer tPath WITH "OK" > set the externals of this stack to tPath > END loadExternals > > # Any attempt to call functions in the external give a script error > # And I wonder how things play out if you are tell Revolution to > # include externals when running the Standalone builder and the > # setting them yourself by script... won't they conflict? > > ON runMovies > set the playloudness of player "Player1" to 0 > start player "player1" > set the playrate of player "player2" to fld "tandavaRate" > start player "player2" > END runMovies > > > > > > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From JimAultWins at yahoo.com Fri Nov 23 22:52:55 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 23 Nov 2007 19:52:55 -0800 Subject: Re-2: answer folder "sdsds";launch document it In-Reply-To: <7c87a2a10711231918o7b91664fs1d8c7ebed0c7c30e@mail.gmail.com> Message-ID: Applescript + POSIX (Portable Operating System for UNIX) would work like this ( one of the additions to AppleScript 1.8) -------------------------------------- Applescript uses the colon ":" as a separator for directories however UNIX uses POSIX (Portable Operating System for UNIX) file paths in which the slash "/" is used as the directory separator. This could cause obvious problems, however one of the additions to AppleScript 1.8 was the ability to interconvert the two file reference systems. Open up Script Editor and type/copy :- set this_file to choose file set this_file_text to (this_file as text) display dialog this_file_text set posix_this_file to POSIX path of this_file display dialog posix_this_file set this_file_back to (POSIX file posix_this_file) as string display dialog this_file_back The first line allows the user to select a file, the second line converts the file reference to text and then it is displayed. The fouth line converts the Apple file reference to the POSIX path and then displays it. Of course you need to be able to do the reverse translation and the "POSIX file" command converts the POSIX path to a Mac OS X path as shown below. Hope this helps Jim Ault On 11/23/07 7:18 PM, "Andre Garzia" wrote: > Klaus, > > you can achieve the same result in Mac OS X with the following shell command: > > cd /your/path/here; open . > > It's cd to the folder you want and then execute "open .", open and a > space and a dot. This will open the folder in the finder. > > In windows, I don't know but I bet it can be done with vbscript. And > it also can be done with applescript in mac os x with something like: > > tell application "finder" > reveal folder "my folder" in folder "my parent folder" in startup disk > end tell > > Which I find rather cumbersome, why applescript do not support POSIX > folders? (actually I think it does, but I don't know how to use them.) > > Cheers > andre > > On 11/23/07, Klaus Major wrote: >> Hi Mad-Hias ;-) >> >>> I vote for this feature, too. >>> It?s much easier than using the shell command to open a folder under >>> windows. >> >> There is a related "enhancement" in the RevQalityCenter. >> Check bug #5549. >> >> I will add this one tomorrow... >> >>> Matthias Rebbe >> >> Best >> >> Klaus Major >> klaus at major-k.de >> http://www.major-k.de >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > From mark at maseurope.net Fri Nov 23 23:05:04 2007 From: mark at maseurope.net (Mark Smith) Date: Sat, 24 Nov 2007 04:05:04 +0000 Subject: Re-2: answer folder "sdsds";launch document it In-Reply-To: <7c87a2a10711231918o7b91664fs1d8c7ebed0c7c30e@mail.gmail.com> References: <7c87a2a10711231918o7b91664fs1d8c7ebed0c7c30e@mail.gmail.com> Message-ID: Just a bit of checking, and what seems to work on OS X is : on openInFinder pPath get shell("open" && quote & pPath & quote) -- quotes are only necessary if there are spaces in pPath end openInFinder I'll bet there's a similar command on Windows. If you want to use applescript, I'm pretty sure you can just before you insert in to your ascript. But the shell is probably simpler for this sort of thing. Best, Mark On 24 Nov 2007, at 03:18, Andre Garzia wrote: > Klaus, > > you can achieve the same result in Mac OS X with the following > shell command: > > cd /your/path/here; open . > > It's cd to the folder you want and then execute "open .", open and a > space and a dot. This will open the folder in the finder. > > In windows, I don't know but I bet it can be done with vbscript. And > it also can be done with applescript in mac os x with something like: > > tell application "finder" > reveal folder "my folder" in folder "my parent folder" in startup > disk > end tell > > Which I find rather cumbersome, why applescript do not support POSIX > folders? (actually I think it does, but I don't know how to use them.) > > Cheers > andre > > On 11/23/07, Klaus Major wrote: >> Hi Mad-Hias ;-) >> >>> I vote for this feature, too. >>> It?s much easier than using the shell command to open a folder under >>> windows. >> >> There is a related "enhancement" in the RevQalityCenter. >> Check bug #5549. >> >> I will add this one tomorrow... >> >>> Matthias Rebbe >> >> Best >> >> Klaus Major >> klaus at major-k.de >> http://www.major-k.de >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > -- > 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 katir at hindu.org Fri Nov 23 23:05:57 2007 From: katir at hindu.org (Sivakatirswami) Date: Fri, 23 Nov 2007 18:05:57 -1000 Subject: Setting paths to Externals In-Reply-To: <7c87a2a10711231948l964bc76t6ea2b512340cace2@mail.gmail.com> References: <47479B19.9020305@hindu.org> <7c87a2a10711231948l964bc76t6ea2b512340cace2@mail.gmail.com> Message-ID: <4747A325.5040604@hindu.org> Andre Garzia wrote: > Aloha Sivakatirswami, > > the steps are easy. First, put the externals inside the bundle of the > standalone. choose inspect the package from the finder and drop the > external into the externals folder inside it. > > If you set the externals property of the stack right then it should > just work. Remember the only time when you're allowed to bind an > external is during the startup handler. you can't load externals > during openstack or preopenstack or anything like that. Just during > startup. > > So if you want you can put something like that: > > on startup > set the externals of this stack to ("libKiosk.bundle" & cr & "libKiosk.dll") > end startup > > IIRC, you must set both a bundle and a dll even if the dll does not > exist, but you're welcome to try without it. > > Om shanti > andre > > > Thanks Andre: You are up late! (smile) How does the app know where to find it? But don't you need to do some kind of fancy path variable set up, parsing etc ? put the filename of this stack into tPath set itemdel to"/"; delete item -1 of tPath etc. etc. etc.? on startup set the externals of this stack to ("libKiosk.bundle" & cr & "libKiosk.dll") end startup What if you have more than one external you want to load? would it be like this: set the externals of this stack to ("libKiosk.bundle" & cr & "libKiosk.dll" & "revBrowser.bundle"&cr&"revBrowser.dll") >> > > > From andre at andregarzia.com Fri Nov 23 23:12:21 2007 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 24 Nov 2007 02:12:21 -0200 Subject: Setting paths to Externals In-Reply-To: <4747A325.5040604@hindu.org> References: <47479B19.9020305@hindu.org> <7c87a2a10711231948l964bc76t6ea2b512340cace2@mail.gmail.com> <4747A325.5040604@hindu.org> Message-ID: <7c87a2a10711232012l4fa99f8bgaa60584e904af154@mail.gmail.com> Aloha Swami, Revolution has some pre-defined places that it looks for externals. In the case of standalones for Mac OS X, the engine will automatically looks inside the externals folder inside the bundle. You don't need to provide any clever path, just the file names. When setting the external properties, try setting them by pairs, like: ("libKiosk.bundle" & cr & "libKiosk.dll" & cr & "myOtherExternal.bundle" & cr & "myOtherExternal.dll") I don't think you need to set the externals for RevBrowser, I think rev takes care for that one. As for the pair thing above, thats not written anywhere in the docs that you must set pair of externals for each platform, it's just me telling you because I do this way and it works fine for me. :-D Cheers andre So... building a Kiosk... I want to see it! :-D Cheers andre > > > Thanks Andre: You are up late! (smile) > > How does the app know where to find it? > > But don't you need to do some kind of fancy path variable set up, > parsing etc ? > > put the filename of this stack into tPath > set itemdel to"/"; delete item -1 of tPath > etc. etc. etc.? > > on startup > set the externals of this stack to ("libKiosk.bundle" & cr & "libKiosk.dll") > end startup > > > What if you have more than one external you want to load? would it be > like this: > > set the externals of this stack to ("libKiosk.bundle" & cr & > "libKiosk.dll" & "revBrowser.bundle"&cr&"revBrowser.dll") > > > > > > > > >> > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Sat Nov 24 01:17:11 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 24 Nov 2007 00:17:11 -0600 Subject: Setting paths to Externals In-Reply-To: <47479B19.9020305@hindu.org> References: <47479B19.9020305@hindu.org> Message-ID: <20071124001711523308.c9e455e2@sonsothunder.com> > besides. I don't see how you can dynamically load an external anyway, > since the docs state you have stop and restart your application. But > if you are loading them by script in a preopenstack or open stack > handler, then how will you ever activate them? Trevor Devore taught me this method, and I've used it ever since for dynamic loading of externals: 1) Create a substack called "Externals" (or whatever) in your main stack for the sole purpose of dynamically loading/unloading externals. 2) When your application launches, whenever you want to load up the externals on demand (doesn't have to be in startup; can be at any time): 2a) Do a "set the externals" of the *substack* to the externals you want to load 2b) "Start using" the substack As soon as the substack is "in use", the externals attached to the substack automatically load, and since the substack is now a library accessible by all the stacks that are running, the externals are *also* made immediately available to all currently open stacks. HTH, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Sat Nov 24 01:24:53 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 24 Nov 2007 00:24:53 -0600 Subject: Setting paths to Externals In-Reply-To: <20071124001711523308.c9e455e2@sonsothunder.com> References: <47479B19.9020305@hindu.org> <20071124001711523308.c9e455e2@sonsothunder.com> Message-ID: <20071124002453438080.88e22590@sonsothunder.com> On Sat, 24 Nov 2007 00:17:11 -0600, Ken Ray wrote: >> besides. I don't see how you can dynamically load an external anyway, >> since the docs state you have stop and restart your application. But >> if you are loading them by script in a preopenstack or open stack >> handler, then how will you ever activate them? > > Trevor Devore taught me this method, and I've used it ever since for > dynamic loading of externals: I forgot I'd made a Tips page at my site about this: http://www.sonsothunder.com/devres/revolution/tips/ext003.htm Enjoy! Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From JimAultWins at yahoo.com Sat Nov 24 01:37:19 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 23 Nov 2007 22:37:19 -0800 Subject: Re-2: answer folder "sdsds";launch document it In-Reply-To: Message-ID: On 11/23/07 8:05 PM, "Mark Smith" wrote: > Just a bit of checking, and what seems to work on OS X is : > > on openInFinder pPath > get shell("open" && quote & pPath & quote) -- quotes are only > necessary if there are spaces in pPath > end openInFinder > > I'll bet there's a similar command on Windows. > > If you want to use applescript, I'm pretty sure you can just "/" with ":" in somePath> before you insert in to your ascript. But > the shell is probably simpler for this sort of thing. > Actually, Applescript is not quite as easy as replacing the "/" The root drive expression is different ------ main hard drive ---------------------------- /Users/jault/Documents/FinkCommander.app/ Tiger130:Users:jault:Documents:FinkCommander.app: ---------mounted drive --------------------- /Volumes/mainHDG5/Users/jault/Documents/web/PShopErrorsLog.txt mainHDG5:Users:jault:Documents:web:PShopErrorsLog.txt ----------------------- Applescript always uses the drive name, Unix does not unless it is a mounted drive, then it follows "Volumes/" Jim Ault Las Vegas From katir at hindu.org Sat Nov 24 02:31:27 2007 From: katir at hindu.org (Sivakatirswami) Date: Fri, 23 Nov 2007 21:31:27 -1000 Subject: Setting paths to Externals In-Reply-To: <7c87a2a10711231948l964bc76t6ea2b512340cace2@mail.gmail.com> References: <47479B19.9020305@hindu.org> <7c87a2a10711231948l964bc76t6ea2b512340cace2@mail.gmail.com> Message-ID: <4747D34F.4070809@hindu.org> Andre Garzia wrote: > Aloha Sivakatirswami, > > the steps are easy. First, put the externals inside the bundle of the > standalone. choose inspect the package from the finder and drop the > external into the externals folder inside it. > > If you set the externals property of the stack right then it should > just work. Remember the only time when you're allowed to bind an > external is during the startup handler. you can't load externals > during openstack or preopenstack or anything like that. Just during > startup. > > So if you want you can put something like that: > > on startup > set the externals of this stack to ("libKiosk.bundle" & cr & "libKiosk.dll") > end startup > > IIRC, you must set both a bundle and a dll even if the dll does not > exist, but you're welcome to try without it. > > Om shanti > andre > Andre: we must be close... but: "No banana!" (smile) I. added on startup set the externals of this stack to ("libKiosk.bundle" & cr & "libKiosk.dll") end startup into the stack script II. made a standalone (which has some inclusions set in the Standalone Config for this stack, including RevBrowser.bunde) III. After the StandAlone was built I moved the "libKiosk.bundle" into the package GuestKiosk.app/Contents/Mac OS/Externals/libKiosk.bundle IV. Quit Rev; booted the standalone calls to libKiosk.bundle fail. Are you sure we don't need a full path here: on startup set the externals of this stack to ("libKiosk.bundle" & cr & "libKiosk.dll") end startup ?? skts From klaus at major-k.de Sat Nov 24 06:31:42 2007 From: klaus at major-k.de (Klaus Major) Date: Sat, 24 Nov 2007 12:31:42 +0100 Subject: Re-2: answer folder "sdsds";launch document it In-Reply-To: <7c87a2a10711231918o7b91664fs1d8c7ebed0c7c30e@mail.gmail.com> References: <7c87a2a10711231918o7b91664fs1d8c7ebed0c7c30e@mail.gmail.com> Message-ID: <75C93953-7A5C-4889-B6E0-C0E50261C7A4@major-k.de> Hi Andre, > Klaus, > > you can achieve the same result in Mac OS X with the following shell > command: > > cd /your/path/here; open . > > It's cd to the folder you want and then execute "open .", open and a > space and a dot. This will open the folder in the finder. thanks I know and use this and this one for windows: ## was = name of folder to open ... set the hideconsolewindows to true replace "/" with "\" in was get shell("explorer.exe /root," && was) ... Using "launch document folder_name" is much easier :-) An no need to check for the platform, too! And yes, AppleScript IS cumbersome! Imagine Apple would have chosen HyperTalk for the Mac system scripting language as they actually had planned... Sigh :-) But WAIT!!! Just tested it again and this still works here for me on OS X 10.5.1 and Rev 2.9dp2! Hmmmm. One would need to know if this is somewhat "officially" supported by Rev. Best Klaus Major klaus at major-k.de http://www.major-k.de From kray at sonsothunder.com Sat Nov 24 11:56:43 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 24 Nov 2007 10:56:43 -0600 Subject: Re-2: answer folder "sdsds";launch document it In-Reply-To: <75C93953-7A5C-4889-B6E0-C0E50261C7A4@major-k.de> References: <7c87a2a10711231918o7b91664fs1d8c7ebed0c7c30e@mail.gmail.com> <75C93953-7A5C-4889-B6E0-C0E50261C7A4@major-k.de> Message-ID: <20071124105643929544.d0b5aae8@sonsothunder.com> On Sat, 24 Nov 2007 12:31:42 +0100, Klaus Major wrote: > But WAIT!!! > Just tested it again and this still works here for me on OS X 10.5.1 > and Rev 2.9dp2! When you said this, Klaus, I went back and checked 2.9dp2 on Tiger (10.4.11) and it works for me there as well. Girard (if you're following this thread), you were the one to report that it didn't work for you; what version of the OS are you running? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jacque at hyperactivesw.com Sat Nov 24 12:38:52 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 24 Nov 2007 11:38:52 -0600 Subject: Setting paths to Externals In-Reply-To: <47479B19.9020305@hindu.org> References: <47479B19.9020305@hindu.org> Message-ID: <474861AC.5020200@hyperactivesw.com> Sivakatirswami wrote: > b) I tried everything "under the sun" to load an external by script. but > I'm doing something wrong You can only load externals in a startup handler; it is the only time during a launch that the engine can do it. Move your loadExternals to a startup handler and you should be good to go. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Sat Nov 24 13:16:39 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 24 Nov 2007 12:16:39 -0600 Subject: Setting paths to Externals In-Reply-To: <474861AC.5020200@hyperactivesw.com> References: <47479B19.9020305@hindu.org> <474861AC.5020200@hyperactivesw.com> Message-ID: <20071124121639874956.87800296@sonsothunder.com> On Sat, 24 Nov 2007 11:38:52 -0600, J. Landman Gay wrote: > Sivakatirswami wrote: > >> b) I tried everything "under the sun" to load an external by script. >> but I'm doing something wrong > > You can only load externals in a startup handler; it is the only time > during a launch that the engine can do it. Move your loadExternals to > a startup handler and you should be good to go. Actually, it turns out you can also load externals from a stack that is put into use with 'start using' (see my previous post and http://www.sonsothunder.com/devres/revolution/tips/ext003.htm). Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From runrev260805 at m-r-d.de Sat Nov 24 14:47:10 2007 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Sat, 24 Nov 2007 19:47:10 +0000 Subject: Re-4: answer folder "sdsds";launch document it Message-ID: Here under Windows it does not work anymore with 2.9dp2. :( Matthias -------- Original Message -------- Subject: Re: Re-2: answer folder "sdsds";launch document it (24-Nov-2007 18:00) From: Ken Ray To: runrev260805 at m-r-d.de > On Sat, 24 Nov 2007 12:31:42 +0100, Klaus Major wrote: > > > But WAIT!!! > > Just tested it again and this still works here for me on OS X 10.5.1 > > and Rev 2.9dp2! > > When you said this, Klaus, I went back and checked 2.9dp2 on Tiger > (10.4.11) and it works for me there as well. > > Girard (if you're following this thread), you were the one to report > that it didn't work for you; what version of the OS are you running? > > > 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 > > > > > To: use-revolution at lists.runrev.com From probinson244 at btinternet.com Sat Nov 24 18:48:58 2007 From: probinson244 at btinternet.com (Paul Robinson) Date: Sat, 24 Nov 2007 23:48:58 -0000 Subject: Mysql Message-ID: <002001c82ef4$953d4e60$4001a8c0@pc10> Hello all, I am having real problems connecting to Mysql database on my server using the database connection wizard. Vie tried the Mysql client too and nothing seems to happen. Any help on this? also when I create my ap as a standalone i can use the left right key on my keyboard to move cards... how do I disable this as my ap. is password protected on the second card onwards. I have done password protect etc. Many thanks Paul UK PS only 10 days left on trial and Ive built my ap. never done anything before .... this software is brill. thanks all. From m.schonewille at economy-x-talk.com Sat Nov 24 19:00:31 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 25 Nov 2007 01:00:31 +0100 Subject: Mysql In-Reply-To: <002001c82ef4$953d4e60$4001a8c0@pc10> References: <002001c82ef4$953d4e60$4001a8c0@pc10> Message-ID: Hi Paul, If really completely nothing happens when you try to connect to your MySQL server using a dedicated client, either you have firewall issues or your MySQL server has been set up incorrectly. Without more information, this is all I can say about it. You can prevent the arrowKeys from navigating to another card by setting the navigationArrows to false. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 25-nov-2007, om 0:48 heeft Paul Robinson het volgende geschreven: > Hello all, > > I am having real problems connecting to Mysql database on my server > using > the database connection wizard. Vie tried the Mysql client too and > nothing > seems to happen. > > Any help on this? > > also when I create my ap as a standalone i can use the left right > key on my > keyboard to move cards... how do I disable this as my ap. is password > protected on the second card onwards. I have done password protect > etc. > > > Many thanks > > Paul > UK > > PS only 10 days left on trial and Ive built my ap. never done anything > before .... this software is brill. thanks all. From lists at mangomultimedia.com Sat Nov 24 22:23:57 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 24 Nov 2007 22:23:57 -0500 Subject: Setting paths to Externals In-Reply-To: <20071124121639874956.87800296@sonsothunder.com> References: <47479B19.9020305@hindu.org> <474861AC.5020200@hyperactivesw.com> <20071124121639874956.87800296@sonsothunder.com> Message-ID: <3B129D35-36C4-4A08-A1D9-A2949A8C5099@mangomultimedia.com> On Nov 24, 2007, at 1:16 PM, Ken Ray wrote: > On Sat, 24 Nov 2007 11:38:52 -0600, J. Landman Gay wrote: >> >> You can only load externals in a startup handler; it is the only time >> during a launch that the engine can do it. Move your loadExternals to >> a startup handler and you should be good to go. > > Actually, it turns out you can also load externals from a stack that > is > put into use with 'start using' (see my previous post and > http://www.sonsothunder.com/devres/revolution/tips/ext003.htm). The basic rule is that you can't set the externals of a stack (and have the externals actually load) after the stack has already started opening. That is why the technique Ken points to works. You are setting the externals property of a stack that has not been created yet so when the stack opens the externals will be loaded. You can actually load and unload externals as you like since you can set the destroyWindow property of the stack to true and then close it. You could then change the externals property of the stack and reopen it to load the new externals. The startup message comes into play if your stack is part of the executable since that is the only place you can alter the stack externals property before the stack starts to open. Hope this helps clarify things a little. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From katir at hindu.org Sun Nov 25 03:32:07 2007 From: katir at hindu.org (Sivakatirswami) Date: Sat, 24 Nov 2007 22:32:07 -1000 Subject: Setting paths to Externals In-Reply-To: <20071124121639874956.87800296@sonsothunder.com> References: <47479B19.9020305@hindu.org> <474861AC.5020200@hyperactivesw.com> <20071124121639874956.87800296@sonsothunder.com> Message-ID: <47493307.4050005@hindu.org> Ken Ray wrote: > On Sat, 24 Nov 2007 11:38:52 -0600, J. Landman Gay wrote: > > >> Sivakatirswami wrote: >> >> >>> b) I tried everything "under the sun" to load an external by script. >>> but I'm doing something wrong >>> >> You can only load externals in a startup handler; it is the only time >> during a launch that the engine can do it. Move your loadExternals to >> a startup handler and you should be good to go. >> > > Actually, it turns out you can also load externals from a stack that is > put into use with 'start using' (see my previous post and > http://www.sonsothunder.com/devres/revolution/tips/ext003.htm). > excellent! thanks ken > 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 katir at hindu.org Sun Nov 25 15:14:01 2007 From: katir at hindu.org (Sivakatirswami) Date: Sun, 25 Nov 2007 10:14:01 -1000 Subject: Setting paths to Externals In-Reply-To: <20071124002453438080.88e22590@sonsothunder.com> References: <47479B19.9020305@hindu.org> <20071124001711523308.c9e455e2@sonsothunder.com> <20071124002453438080.88e22590@sonsothunder.com> Message-ID: <4749D789.2060509@hindu.org> Ken Ray wrote: > On Sat, 24 Nov 2007 00:17:11 -0600, Ken Ray wrote: > > >>> besides. I don't see how you can dynamically load an external anyway, >>> since the docs state you have stop and restart your application. But >>> if you are loading them by script in a preopenstack or open stack >>> handler, then how will you ever activate them? >>> >> Trevor Devore taught me this method, and I've used it ever since for >> dynamic loading of externals: >> > > I forgot I'd made a Tips page at my site about this: > > http://www.sonsothunder.com/devres/revolution/tips/ext003.htm > > Does this method conflict with any externals already loaded by Rev that may have been set as includes when you create the standalone? > Enjoy! > > 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 andre at andregarzia.com Sun Nov 25 15:16:59 2007 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 25 Nov 2007 18:16:59 -0200 Subject: Setting paths to Externals In-Reply-To: <4749D789.2060509@hindu.org> References: <47479B19.9020305@hindu.org> <20071124001711523308.c9e455e2@sonsothunder.com> <20071124002453438080.88e22590@sonsothunder.com> <4749D789.2060509@hindu.org> Message-ID: <7c87a2a10711251216h981ad62i1c0b899b395ffbd5@mail.gmail.com> No! :-D that is also the method used by Revolution External SDK Environment thingy. it works fine. Andre On 11/25/07, Sivakatirswami wrote: > Ken Ray wrote: > > On Sat, 24 Nov 2007 00:17:11 -0600, Ken Ray wrote: > > > > > >>> besides. I don't see how you can dynamically load an external anyway, > >>> since the docs state you have stop and restart your application. But > >>> if you are loading them by script in a preopenstack or open stack > >>> handler, then how will you ever activate them? > >>> > >> Trevor Devore taught me this method, and I've used it ever since for > >> dynamic loading of externals: > >> > > > > I forgot I'd made a Tips page at my site about this: > > > > http://www.sonsothunder.com/devres/revolution/tips/ext003.htm > > > > > > Does this method conflict with any externals already > loaded by Rev that may have been set as includes > when you create the standalone? > > > Enjoy! > > > > Ken Ray > > Sons of Thunder Software, Inc. > > Email: kray at sonsothunder.com > > Web Site: http://www.sonsothunder.com/ > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From katir at hindu.org Sun Nov 25 16:09:47 2007 From: katir at hindu.org (Sivakatirswami) Date: Sun, 25 Nov 2007 11:09:47 -1000 Subject: Send Wake-on-Lan _Packet Message-ID: <4749E49B.7000103@hindu.org> Anyone know how to send a "Wake-on-Lan" packet from one machine to another. I have our little Guestbook Kiosk which is set to be awake on a tight schedule and sleeps the rest of the time, but after visiting hours our team here will want to get the data so they will need to wake up the computer remotely. We don't want to go around installing Remote Desktop Admin on those machines, way over kill, they just need to wake up the machine, share the screen for a few minutes, grab a file etc. Since I will be building a UI in Rev to deal with the guestbook entries on the kiosk box, I would really like a button on the Rev UI, to "Wake Up Kiosk" Any ideas? I suppose I could get into stack interaoperability, but that also seems over kill and I'm not sure that if the rev app on the Kiosk will can still "hear" anything on sockets if the machine is sleeping (um I guess that's a second question). I also just downloaded an old Wake 550 app for this but is 4 years old and adds yet another application to the framework. Sivakatirswami From katir at hindu.org Sun Nov 25 16:23:16 2007 From: katir at hindu.org (Sivakatirswami) Date: Sun, 25 Nov 2007 11:23:16 -1000 Subject: Send Wake-on-Lan _Packet In-Reply-To: <4749E49B.7000103@hindu.org> References: <4749E49B.7000103@hindu.org> Message-ID: <4749E7C4.8040503@hindu.org> I just downloaded WakeOnLan 0.90 From version tracker. It's the latest and works on Leopard. BUT: Wake-on-Lan is not going to work. the Kiosk machine is connected via Airport and WiFi protocol as of Nov 97 does not yet support sending Wake-on-Lan packet to a Airport connected machine. Any other solutions? Sivakatirswami wrote: > Anyone know how to send a "Wake-on-Lan" packet from one machine to > another. > > I have our little Guestbook Kiosk which is set to be awake on a tight > schedule and sleeps the rest of the time, but after visiting hours our > team here will want to get the data so they will need to wake up the > computer remotely. We don't want to go around installing Remote > Desktop Admin on those machines, way over kill, they just need to wake > up the machine, share the screen for a few minutes, grab a file etc. > Since I will be building a UI in Rev to deal with the guestbook > entries on the kiosk box, I would really like a button on the Rev UI, > to "Wake Up Kiosk" > > Any ideas? I suppose I could get into stack interaoperability, but > that also seems over kill and I'm not sure that if the rev app on the > Kiosk will can still "hear" anything on sockets if the machine is > sleeping > (um I guess that's a second question). > > I also just downloaded an old Wake 550 app for this but is 4 years > old and adds yet another application to the framework. > > Sivakatirswami > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From andre at andregarzia.com Sun Nov 25 16:31:15 2007 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 25 Nov 2007 19:31:15 -0200 Subject: Send Wake-on-Lan _Packet In-Reply-To: <4749E7C4.8040503@hindu.org> References: <4749E49B.7000103@hindu.org> <4749E7C4.8040503@hindu.org> Message-ID: <7c87a2a10711251331n3ac89356k465d097e289ca194@mail.gmail.com> A mechanical alarm clock, those that when ring shakes everything. Put it below the machine, next to the mouse, set its alarm for the time when it needs to wake up, it will ring and shake the mouse thus awakening the machine. Low tech... :-P (in other words, I don't know how to wake sleeping machines without interaction) On 11/25/07, Sivakatirswami wrote: > I just downloaded WakeOnLan 0.90 From version tracker. It's the latest > and works on Leopard. BUT: > > Wake-on-Lan is not going to work. the Kiosk machine is connected via > Airport and WiFi protocol as of Nov 97 does not yet support sending > Wake-on-Lan packet to a Airport connected machine. > > Any other solutions? > > Sivakatirswami wrote: > > Anyone know how to send a "Wake-on-Lan" packet from one machine to > > another. > > > > I have our little Guestbook Kiosk which is set to be awake on a tight > > schedule and sleeps the rest of the time, but after visiting hours our > > team here will want to get the data so they will need to wake up the > > computer remotely. We don't want to go around installing Remote > > Desktop Admin on those machines, way over kill, they just need to wake > > up the machine, share the screen for a few minutes, grab a file etc. > > Since I will be building a UI in Rev to deal with the guestbook > > entries on the kiosk box, I would really like a button on the Rev UI, > > to "Wake Up Kiosk" > > > > Any ideas? I suppose I could get into stack interaoperability, but > > that also seems over kill and I'm not sure that if the rev app on the > > Kiosk will can still "hear" anything on sockets if the machine is > > sleeping > > (um I guess that's a second question). > > > > I also just downloaded an old Wake 550 app for this but is 4 years > > old and adds yet another application to the framework. > > > > Sivakatirswami > > > > > > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 kee at kagi.com Sun Nov 25 16:34:19 2007 From: kee at kagi.com (Kee Nethery) Date: Sun, 25 Nov 2007 13:34:19 -0800 Subject: Send Wake-on-Lan _Packet In-Reply-To: <4749E7C4.8040503@hindu.org> References: <4749E49B.7000103@hindu.org> <4749E7C4.8040503@hindu.org> Message-ID: Assuming you are talking about a Mac, instead of Wake-On-LAN, perhaps use something that will wake up your mac kiosk at specific times and then make sure you hit that window to do all your remote maintenance. The Mac-ish things I read about online were iCal and Automator. I'm certain that there is probably something you can set in cron or some other unix command to do what you need. But ... why not have the kiosk send you the file before it goes to sleep for the night? Seems like that would be easier. Kee Nethery On Nov 25, 2007, at 1:23 PM, Sivakatirswami wrote: > I just downloaded WakeOnLan 0.90 From version tracker. It's the > latest and works on Leopard. BUT: > > Wake-on-Lan is not going to work. the Kiosk machine is connected > via Airport and WiFi protocol as of Nov 97 does not yet support > sending Wake-on-Lan packet to a Airport connected machine. > > Any other solutions? > > Sivakatirswami wrote: >> Anyone know how to send a "Wake-on-Lan" packet from one machine to >> another. >> >> I have our little Guestbook Kiosk which is set to be awake on a >> tight schedule and sleeps the rest of the time, but after visiting >> hours our team here will want to get the data so they will need to >> wake up the computer remotely. We don't want to go around >> installing Remote Desktop Admin on those machines, way over kill, >> they just need to wake up the machine, share the screen for a few >> minutes, grab a file etc. Since I will be building a UI in Rev to >> deal with the guestbook entries on the kiosk box, I would really >> like a button on the Rev UI, to "Wake Up Kiosk" >> >> Any ideas? I suppose I could get into stack interaoperability, but >> that also seems over kill and I'm not sure that if the rev app on >> the Kiosk will can still "hear" anything on sockets if the machine >> is sleeping >> (um I guess that's a second question). >> >> I also just downloaded an old Wake 550 app for this but is 4 >> years old and adds yet another application to the framework. >> >> Sivakatirswami >> >> >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ------------------------------------------------- I check email roughly 2 to 3 times per business day. Kagi main office: +1 (510) 550-1336 From pmbrig at gmail.com Sun Nov 25 17:58:29 2007 From: pmbrig at gmail.com (Peter Brigham) Date: Sun, 25 Nov 2007 17:58:29 -0500 Subject: problem with standalone mac->windows Message-ID: <9287D148-EA63-4970-8458-DD3334AF7E99@gmail.com> OK, I have a stack with an option menu with a lot of entries in it, titles for moving to various cards. Selecting a title takes you to the appropriate card The menu behaves well when I create a standalone (on my mac iBook G4) for the mac, but when I tried the windows version of the standalone on a windows XP machine, the menu list runs down off the screen so you can't see the bottom part of the list at all, and you can't scroll the list by moving the cursor to the bottom of the screen or even by using the down arrow key. This makes it impossible to navigate to anything in the bottom part of the list. Anyone seen this before? How do I fix it? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig/ ----- Choose two out of three: *good *fast *cheap. ----- From m.schonewille at economy-x-talk.com Sun Nov 25 18:30:02 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 26 Nov 2007 00:30:02 +0100 Subject: problem with standalone mac->windows In-Reply-To: <9287D148-EA63-4970-8458-DD3334AF7E99@gmail.com> References: <9287D148-EA63-4970-8458-DD3334AF7E99@gmail.com> Message-ID: <22D1761A-0D3B-4CB9-8BE7-C29BF31D70F1@economy-x-talk.com> Hi Peter, I haven't seen this before, because I don't use menus that are that long. If a menu is going to be long, either I make submenus or I make a dialog window with a list field or checkboxes and radio buttons instead of the menu. I believe a menu should be scrollable in Windows, just like in Mac OS X. In fact, font menus in Windows indeed scroll if they are very long. So, if your menu doesn't scroll in Rev, it should be reported as a bug to the QCC. Sorry, I don't have a solution to make the menu scroll. All I can think of is that you either create submenus or use a different interface to present the available options to the user. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 25-nov-2007, om 23:58 heeft Peter Brigham het volgende geschreven: > OK, I have a stack with an option menu with a lot of entries in it, > titles for moving to various cards. Selecting a title takes you to > the appropriate card The menu behaves well when I create a > standalone (on my mac iBook G4) for the mac, but when I tried the > windows version of the standalone on a windows XP machine, the menu > list runs down off the screen so you can't see the bottom part of > the list at all, and you can't scroll the list by moving the cursor > to the bottom of the screen or even by using the down arrow key. > This makes it impossible to navigate to anything in the bottom part > of the list. Anyone seen this before? How do I fix it? > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig/ > > ----- > Choose two out of three: *good *fast *cheap. > ----- > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Sun Nov 25 19:24:38 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 25 Nov 2007 16:24:38 -0800 Subject: problem with standalone mac->windows Message-ID: <474A1246.2060907@fourthworld.com> Peter Brigham wrote: > OK, I have a stack with an option menu with a lot of entries in it, > titles for moving to various cards. Selecting a title takes you to > the appropriate card The menu behaves well when I create a standalone > (on my mac iBook G4) for the mac, but when I tried the windows > version of the standalone on a windows XP machine, the menu list runs > down off the screen so you can't see the bottom part of the list at > all, and you can't scroll the list by moving the cursor to the bottom > of the screen or even by using the down arrow key. This makes it > impossible to navigate to anything in the bottom part of the list. > Anyone seen this before? How do I fix it? What is the style property of the control, and what is the value of its menuLines property set to? I just made an option control and set the menulines to 40, and it works well on XP: when popped up while positioned lower in the display than can accommodate 40 items, it positions the menu so that the bottom is at the bottom of the windowboundingRect; no clipping at all, all parts of the control available, responds well to arrow keys. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From bvlahos at mac.com Sun Nov 25 21:30:52 2007 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 25 Nov 2007 18:30:52 -0800 Subject: problem with standalone mac->windows In-Reply-To: <9287D148-EA63-4970-8458-DD3334AF7E99@gmail.com> References: <9287D148-EA63-4970-8458-DD3334AF7E99@gmail.com> Message-ID: Could you be using a special character that Windows doesn't like? I've seen strange behavior on the Mac if you use a slash in the name of the menuitem. I'd stay a way from any special characters and see if that works correctly. Bill On Nov 25, 2007, at 2:58 PM, Peter Brigham wrote: > OK, I have a stack with an option menu with a lot of entries in it, > titles for moving to various cards. Selecting a title takes you to > the appropriate card The menu behaves well when I create a > standalone (on my mac iBook G4) for the mac, but when I tried the > windows version of the standalone on a windows XP machine, the menu > list runs down off the screen so you can't see the bottom part of > the list at all, and you can't scroll the list by moving the cursor > to the bottom of the screen or even by using the down arrow key. > This makes it impossible to navigate to anything in the bottom part > of the list. Anyone seen this before? How do I fix it? > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig/ > > ----- > Choose two out of three: *good *fast *cheap. > ----- > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From rgould8 at aol.com Sun Nov 25 23:05:04 2007 From: rgould8 at aol.com (rgould8 at aol.com) Date: Sun, 25 Nov 2007 23:05:04 -0500 Subject: How to get PHP to pass colored text to RTF text in Revolution? Message-ID: <8C9FDF8A8A33106-25C-59F@webmail-de05.sysops.aol.com> I have php code from my server passing data into a rich-text field in a standalone Revolution stack.? Presently, it does it something like this: put URL "http://urltomyserver/getdata.php" into field "rtfoutput" This is a text field which is set up as a table with columns. So far, this works well for me, but now I need the text field to have different colored text data for some of the columns in this text field. The only way I can think to do this is to do something like has the PHP code pass data to revolution for the field like: This text is greenand this text is red in the same column."; ?> but I have no idea what would need to get passed to do such a thing.? Any thoughts are greatly appreciated. ________________________________________________________________________ Email and AIM finally together. You've gotta check out free AOL Mail! - http://mail.aol.com From sims at ezpzapps.com Sun Nov 25 23:30:11 2007 From: sims at ezpzapps.com (Jim Sims) Date: Mon, 26 Nov 2007 05:30:11 +0100 Subject: Send Wake-on-Lan _Packet In-Reply-To: <4749E49B.7000103@hindu.org> References: <4749E49B.7000103@hindu.org> Message-ID: On Nov 25, 2007, at 10:09 PM, Sivakatirswami wrote: > Anyone know how to send a "Wake-on-Lan" packet from one machine to > another. Maybe this will help? sims ----- http://www.lestang.org/rubrique35.html XWOL is a free osax for Mac OS X (10.4 and better) allowing you to wake a computer on your local Ethernet network if it is supporting the magic network packets to wake a computer. To wake a sleeping computer you must first retrieve its mac address and then execute the following script : set macAddress to "00:11:24:70:f7:56" wake on lan macAddress From JimAultWins at yahoo.com Mon Nov 26 00:54:35 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 25 Nov 2007 21:54:35 -0800 Subject: How to get PHP to pass colored text to RTF text in Revolution? In-Reply-To: <8C9FDF8A8A33106-25C-59F@webmail-de05.sysops.aol.com> Message-ID: you want the HTMLText property, in the dictionary. Important! The HTMLText property uses a tag structure that is HTML-like, but is not completely standard HTML, in order to accommodate the full range of text styling available in Revolution. thus set the htmltext of fld "dataTbl" to theStringSentFromPhp Jim Ault Las Vegas On 11/25/07 8:05 PM, "rgould8 at aol.com" wrote: > I have php code from my server passing data into a rich-text field in a > standalone Revolution stack.? Presently, it does it something like this: > > put URL "http://urltomyserver/getdata.php" into field "rtfoutput" > > This is a text field which is set up as a table with columns. > So far, this works well for me, but now I need the text field to have > different colored text data for some of the columns in this text field. > > The only way I can think to do this is to do something like has the PHP code > pass data to revolution for the field like: > > echo "This text is greenand this text is > red in the same column."; > ?> > but I have no idea what would need to get passed to do such a thing.? > From shari at gypsyware.com Mon Nov 26 10:18:20 2007 From: shari at gypsyware.com (Shari) Date: Mon, 26 Nov 2007 10:18:20 -0500 Subject: Standard behavior or not? In-Reply-To: References: Message-ID: >So i could go bananas trying to figure out why! The script i was calling >was there, the script worked before too! Xavier, Yes, sometimes it can be a bugger of frustration. I also moved from Hypercard to Metacard to Revolution. Sometimes I encounter anomalies that drive me utterly bananas, too. Sometimes I encounter bugs and have to create a workaround. But... that said.... I am grateful that somebody took Hypercard and reworked it and moved it into the new millenium. I honestly thought I was going to have to learn C, which I was dreading. This is my beloved language, and it keeps growing and flowering and expanding as new operating systems appear. That I can code once and compile for various platforms with the same base stacks is a godsend. Just a few variations in the code to account for each platform, a small few variations, and it's good to go. It is worth the frustration, Xavier. Shari -- WlND0WS and MAClNT0SH shareware games BIackjack GoId http://www.gypsyware.com From revlist at azurevision.co.uk Mon Nov 26 10:37:24 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Mon, 26 Nov 2007 15:37:24 +0000 Subject: EULA advice Message-ID: <0F90A978-661C-4C1A-B972-AD80232C3E5E@azurevision.co.uk> Hi all, I'm about to go a bit more professional with some of my software, and wondered if anyone can give me advice on EULA wording (for the UK, if it makes a difference)? Or do I have no real choice but to pay a lawyer? Thanks, Ian From runrev at dreamscapesoftware.com Mon Nov 26 10:46:56 2007 From: runrev at dreamscapesoftware.com (Derek Bump) Date: Mon, 26 Nov 2007 09:46:56 -0600 Subject: EULA advice In-Reply-To: <0F90A978-661C-4C1A-B972-AD80232C3E5E@azurevision.co.uk> References: <0F90A978-661C-4C1A-B972-AD80232C3E5E@azurevision.co.uk> Message-ID: <474AEA70.8030602@dreamscapesoftware.com> A very "no-cost" solution would be to find software with a strong EULA that matches the EULA you want to enforce and change the information. Also, check out Wikipedia.org regarding the EULA to get information on what determines a strong or a weak EULA. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___________________________________________________________________ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ Ian Wood wrote: > Hi all, > > I'm about to go a bit more professional with some of my software, and > wondered if anyone can give me advice on EULA wording (for the UK, if it > makes a difference)? > > Or do I have no real choice but to pay a lawyer? > > Thanks, > > Ian > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jbv.silences at club-internet.fr Mon Nov 26 13:00:18 2007 From: jbv.silences at club-internet.fr (jbv) Date: Mon, 26 Nov 2007 19:00:18 +0100 Subject: Rev and video compression Message-ID: <474B099E.53347CEF@club-internet.fr> Hi list, Has anyone tried to access QT (or any other) codecs to compress video files on the fly with Rev before uploading the compressed file to a server ? Thanks, JB From jrarick at hpsk12.net Mon Nov 26 13:09:18 2007 From: jrarick at hpsk12.net (Jack Rarick) Date: Mon, 26 Nov 2007 13:09:18 -0500 Subject: Rev and video compression In-Reply-To: <474B099E.53347CEF@club-internet.fr> References: <474B099E.53347CEF@club-internet.fr> Message-ID: <474AC57E020000DC0000529D@hpsk12.net> Yes. We convert clips from iMovie (DV streams) to any format our user chooses. We have had a lot of success with the H.264 Codec. This is all based of course on the use of Trevors Quicktime External. It is absolutely the coolest rev/media tool we have seen. Keep in mind however that the size of your file, regardless of your compression choice, will be based on the size of the window that you set your initial video to. A full sized window with H.264 will be much larger than a 400X300 window with H.264. Hope this helps. Jack Rarick Braintree Athletic Systems >>> jbv.silences at club-internet.fr 11/26/2007 1:00 PM >>> Hi list, Has anyone tried to access QT (or any other) codecs to compress video files on the fly with Rev before uploading the compressed file to a server ? Thanks, JB _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution This email was Anti Virus checked by Astaro Security Gateway. http://www.astaro.com From jbv.silences at club-internet.fr Mon Nov 26 14:25:20 2007 From: jbv.silences at club-internet.fr (jbv) Date: Mon, 26 Nov 2007 20:25:20 +0100 Subject: Rev and video compression References: <474B099E.53347CEF@club-internet.fr> <474AC57E020000DC0000529D@hpsk12.net> Message-ID: <474B1D89.6E53BC1C@club-internet.fr> Jack, Thanks for the reply. I guess it means that the solution works only with QT installed on the user's computer... which isn't always the case when the goal to achieve is to offer a small app to download from a website... Any other solution ? Thanks, JB > Yes. We convert clips from iMovie (DV streams) to any format our user > chooses. We have had a lot of success with the H.264 Codec. This is all > based of course on the use of Trevors Quicktime External. It is > absolutely the coolest rev/media tool we have seen. Keep in mind however > that the size of your file, regardless of your compression choice, will > be based on the size of the window that you set your initial video to. A > full sized window with H.264 will be much larger than a 400X300 window > with H.264. From jrarick at hpsk12.net Mon Nov 26 14:35:01 2007 From: jrarick at hpsk12.net (Jack Rarick) Date: Mon, 26 Nov 2007 14:35:01 -0500 Subject: Rev and video compression In-Reply-To: <474B1D89.6E53BC1C@club-internet.fr> References: <474B099E.53347CEF@club-internet.fr> <474AC57E020000DC0000529D@hpsk12.net> <474B1D89.6E53BC1C@club-internet.fr> Message-ID: <474AD995020000DC000052F7@hpsk12.net> JB: Maybe I'm not understanding your problem/need very well. Do you want the end user, the person downloading your app, to be able to use your app to import some video and then be able to export it into some other format? If that is the case I have NO idea what to suggest in a non-QT world. The cool thing (okay, one of many cool things) about Trevor's external is that you don't need QT PRO. That saves my users $29. All they need to do is install the latest/greatest version of QT. Sorry - wish I had a better answer. Jack Rarick Braintree Athletics >>> jbv.silences at club-internet.fr 11/26/2007 2:25 PM >>> Jack, Thanks for the reply. I guess it means that the solution works only with QT installed on the user's computer... which isn't always the case when the goal to achieve is to offer a small app to download from a website... Any other solution ? Thanks, JB > Yes. We convert clips from iMovie (DV streams) to any format our user > chooses. We have had a lot of success with the H.264 Codec. This is all > based of course on the use of Trevors Quicktime External. It is > absolutely the coolest rev/media tool we have seen. Keep in mind however > that the size of your file, regardless of your compression choice, will > be based on the size of the window that you set your initial video to. A > full sized window with H.264 will be much larger than a 400X300 window > with H.264. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution This email was Anti Virus checked by Astaro Security Gateway. http://www.astaro.com From jbv.silences at club-internet.fr Mon Nov 26 14:58:04 2007 From: jbv.silences at club-internet.fr (jbv) Date: Mon, 26 Nov 2007 20:58:04 +0100 Subject: Rev and video compression References: <474B099E.53347CEF@club-internet.fr> <474AC57E020000DC0000529D@hpsk12.net> <474B1D89.6E53BC1C@club-internet.fr> <474AD995020000DC000052F7@hpsk12.net> Message-ID: <474B2534.39539DD1@club-internet.fr> Jack, it's probably me who was not clear : basically, the idea is to have a small app available for download on a webpage, and with that app, users (no matter which platform they use, Win, Mac of Linux) should be able to upload their won video files to a server, and the app should be able to automatically compress the video using some codec before uploading... Thanks for your help anyway. Jb > JB: > > Maybe I'm not understanding your problem/need very well. Do you want > the end user, the person downloading your app, to be able to use your > app to import some video and then be able to export it into some other > format? If that is the case I have NO idea what to suggest in a non-QT > world. The cool thing (okay, one of many cool things) about Trevor's > external is that you don't need QT PRO. That saves my users $29. All > they need to do is install the latest/greatest version of QT. > > Sorry - wish I had a better answer. > > Jack Rarick > Braintree Athletics From tariel at mac.com Mon Nov 26 15:41:32 2007 From: tariel at mac.com (Tariel Gogoberidze) Date: Mon, 26 Nov 2007 15:41:32 -0500 Subject: Send Wake-on-Lan _Packet In-Reply-To: <20071126180004.50EE648940F@mail.runrev.com> References: <20071126180004.50EE648940F@mail.runrev.com> Message-ID: <4418F98F-4DE1-4264-9D45-FDAECA088D29@mac.com> On Nov 26, 2007, at 1:00 PM, Andre Garzia wrote: > > A mechanical alarm clock, those that when ring shakes everything. Put > it below the machine, next to the mouse, set its alarm for the time > when it needs to wake up, it will ring and shake the mouse thus > awakening the machine. > > Low tech... :-P reminded me this story.. :) http://www.mentors.ca/bohr.html Best From m.schonewille at economy-x-talk.com Mon Nov 26 15:53:17 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 26 Nov 2007 21:53:17 +0100 Subject: Send Wake-on-Lan _Packet In-Reply-To: <7c87a2a10711251331n3ac89356k465d097e289ca194@mail.gmail.com> References: <4749E49B.7000103@hindu.org> <4749E7C4.8040503@hindu.org> <7c87a2a10711251331n3ac89356k465d097e289ca194@mail.gmail.com> Message-ID: <7B831AC2-97FA-4902-A676-25F46D88CE7E@economy-x-talk.com> Tie a mobile phone with vibration to the mouse... Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 25-nov-2007, om 22:31 heeft Andre Garzia het volgende geschreven: > A mechanical alarm clock, those that when ring shakes everything. Put > it below the machine, next to the mouse, set its alarm for the time > when it needs to wake up, it will ring and shake the mouse thus > awakening the machine. > > Low tech... :-P > > (in other words, I don't know how to wake sleeping machines without > interaction) > From revdev at pdslabs.net Mon Nov 26 18:23:52 2007 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 26 Nov 2007 15:23:52 -0800 Subject: Send Wake-on-Lan _Packet In-Reply-To: <7B831AC2-97FA-4902-A676-25F46D88CE7E@economy-x-talk.com> References: <4749E49B.7000103@hindu.org> <4749E7C4.8040503@hindu.org> <7c87a2a10711251331n3ac89356k465d097e289ca194@mail.gmail.com> <7B831AC2-97FA-4902-A676-25F46D88CE7E@economy-x-talk.com> Message-ID: <474B5588.2010102@pdslabs.net> Great idea Mark! But you would probably want to get a VoIP phone account and have your computer call the cell phone number at regular intervals (which happen to be slightly shorter than the sleep interval). ;o) Phil Davis Mark Schonewille wrote: > Tie a mobile phone with vibration to the mouse... > > Best regards, > > Mark Schonewille > > -- > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Quickly extract data from your HyperCard stacks with DIFfersifier. > http://differsifier.economy-x-talk.com > > > Op 25-nov-2007, om 22:31 heeft Andre Garzia het volgende geschreven: > >> A mechanical alarm clock, those that when ring shakes everything. Put >> it below the machine, next to the mouse, set its alarm for the time >> when it needs to wake up, it will ring and shake the mouse thus >> awakening the machine. >> >> Low tech... :-P >> >> (in other words, I don't know how to wake sleeping machines without >> interaction) >> > From dalesvp at centurytel.net Mon Nov 26 19:37:25 2007 From: dalesvp at centurytel.net (Dale Pond) Date: Mon, 26 Nov 2007 17:37:25 -0700 Subject: List of Rev Commands and Functions? Message-ID: Does anyone have a printable list of Revolution's Functions and Commands? The one in the "Dictionary" is good but I can't figure out how to print it. I've combed the runrev site and other sites - no luck. Maybe someone has a stack with all the commands in it? That would be great! Life, Light, Love & Laughter, Dale Pond Sympathetic Vibratory Physics http://www.svpvril.com/ Own Your Own Shopping Mall http://www.mypowermall.com/mall/17477 From mark at maseurope.net Mon Nov 26 19:55:49 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 27 Nov 2007 00:55:49 +0000 Subject: List of Rev Commands and Functions? In-Reply-To: References: Message-ID: <332F10DF-A802-457C-8854-40CA0AD7CB92@maseurope.net> Dale, < put the commandNames > should put a list of all the built in commands and functions in the message box. Best, Mark On 27 Nov 2007, at 00:37, Dale Pond wrote: > Does anyone have a printable list of Revolution's Functions and > Commands? The one in the "Dictionary" is good but I can't figure > out how to print it. I've combed the runrev site and other sites - > no luck. Maybe someone has a stack with all the commands in it? > That would be great! > > Life, Light, Love & Laughter, > Dale Pond > Sympathetic Vibratory Physics > http://www.svpvril.com/ > Own Your Own Shopping Mall > http://www.mypowermall.com/mall/17477 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From alex at harryscollar.com Mon Nov 26 20:18:28 2007 From: alex at harryscollar.com (Alex Shaw) Date: Tue, 27 Nov 2007 11:18:28 +1000 Subject: Rev and video compression In-Reply-To: <474B2534.39539DD1@club-internet.fr> References: <474B099E.53347CEF@club-internet.fr> <474AC57E020000DC0000529D@hpsk12.net> <474B1D89.6E53BC1C@club-internet.fr> <474AD995020000DC000052F7@hpsk12.net> <474B2534.39539DD1@club-internet.fr> Message-ID: <474B7064.80305@harryscollar.com> Hi jbv Sounds like you need to develop a front-end gui tool to a command line application like mencoder or ffmpeg. regards alex jbv wrote: > > Jack, > > it's probably me who was not clear : basically, the idea is to have a small > app available for download on a webpage, and with that app, users (no > matter which platform they use, Win, Mac of Linux) should be able to > upload their won video files to a server, and the app should be able to > automatically compress the video using some codec before uploading... > > Thanks for your help anyway. > > Jb From lan.kc.macmail at gmail.com Mon Nov 26 20:37:12 2007 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 27 Nov 2007 09:37:12 +0800 Subject: List of Rev Commands and Functions? In-Reply-To: References: Message-ID: Dave, You may wish to check out the ' Revolution Syntax Quick Reference' pdf at: http://www.ziggy-soft.com/Products/Products.html I can't remember which of our Revolutionaries produced it but you may find it perfect for your needs. Note that it is Rev 2.0.2 so there will be some missing commands and functions, but for the most part it will probably suffice. HTH From klaus at major-k.de Tue Nov 27 04:19:11 2007 From: klaus at major-k.de (Klaus Major) Date: Tue, 27 Nov 2007 10:19:11 +0100 Subject: answer folder "sdsds";launch document it In-Reply-To: References: Message-ID: <5793F632-BAFA-45FB-8332-B2C23BE5C11E@major-k.de> Hi all, > Hi friends, > > I just happily discovered that these lines: > ... > answer folder "sdsds" > launch document it > ... > > actually opens that namely folder on OS X as if doubleclicked :-) > And it works with or without a trailing slash! > ... I just filed this as an enhancement request in Godzilla: # 5624 This is a related bug if you would like to see: #5549 Best Klaus Major klaus at major-k.de http://www.major-k.de From luis at anachreon.co.uk Tue Nov 27 05:15:48 2007 From: luis at anachreon.co.uk (Luis) Date: Tue, 27 Nov 2007 10:15:48 +0000 Subject: List of Rev Commands and Functions? In-Reply-To: References: Message-ID: <847C27A1-ABBE-42C2-A61D-0A9913B82FA0@anachreon.co.uk> Hiya, I've got an Excel file with the commands, let me know off list and I'll email it to you. Cheers, Luis. On 27 Nov 2007, at 00:37, Dale Pond wrote: > Does anyone have a printable list of Revolution's Functions and > Commands? The one in the "Dictionary" is good but I can't figure > out how to print it. I've combed the runrev site and other sites - > no luck. Maybe someone has a stack with all the commands in it? > That would be great! > > Life, Light, Love & Laughter, > Dale Pond > Sympathetic Vibratory Physics > http://www.svpvril.com/ > Own Your Own Shopping Mall > http://www.mypowermall.com/mall/17477 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From luis at anachreon.co.uk Tue Nov 27 05:29:03 2007 From: luis at anachreon.co.uk (Luis) Date: Tue, 27 Nov 2007 10:29:03 +0000 Subject: List of Rev Commands and Functions? In-Reply-To: <847C27A1-ABBE-42C2-A61D-0A9913B82FA0@anachreon.co.uk> References: <847C27A1-ABBE-42C2-A61D-0A9913B82FA0@anachreon.co.uk> Message-ID: <84B295CD-D513-41C5-932C-B11A6BD044C6@anachreon.co.uk> Ooops, had forgotten I'd put it up here: http://www.anachreon.com/ files/Rev.Dict.Index_2.8.1.zip The zip includes the .xls, a .csv and a .htm file (the .xls is formatted for landscape print on A4). Cheers, Luis. On 27 Nov 2007, at 10:15, Luis wrote: > Hiya, > > I've got an Excel file with the commands, let me know off list and > I'll email it to you. > > Cheers, > > Luis. > > > On 27 Nov 2007, at 00:37, Dale Pond wrote: > >> Does anyone have a printable list of Revolution's Functions and >> Commands? The one in the "Dictionary" is good but I can't figure >> out how to print it. I've combed the runrev site and other sites - >> no luck. Maybe someone has a stack with all the commands in it? >> That would be great! >> >> Life, Light, Love & Laughter, >> Dale Pond >> Sympathetic Vibratory Physics >> http://www.svpvril.com/ >> Own Your Own Shopping Mall >> http://www.mypowermall.com/mall/17477 >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 paolo.mazza at neol.it Tue Nov 27 07:27:41 2007 From: paolo.mazza at neol.it (paolo mazza) Date: Tue, 27 Nov 2007 13:27:41 +0100 Subject: Setting paths to Externals In-Reply-To: <47493307.4050005@hindu.org> References: <47479B19.9020305@hindu.org> <474861AC.5020200@hyperactivesw.com> <, > <20071124121639874956.87800296@sonsothunder.com> <,> <47493307.4050005@hindu.org> Message-ID: How to use Revolution writes: >>> Sivakatirswami wrote: >>> >>> >>>> b) I tried everything "under the sun" to load an external by script. >>>> but I'm doing something wrong >>>> IN MACOSX 10.4.10 Intel I tryed everything "under the sun" to load the libkiosk.bundle external too. ...and at the end I found out that my stand alone application load the external only if I put the external in the folder where is placed the application ( the defaultfolder of the standalone application). Isn't strange this? ****************************************** Paolo Mazza NEOL SRL Societ? partecipata da Universit? di Padova via N. Tommaseo 84 35131 - Padova (Italy) Tel 049- 2050147 - Fax 049-7964386 www.neol.it From andre at andregarzia.com Tue Nov 27 08:01:03 2007 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 27 Nov 2007 11:01:03 -0200 Subject: OT: Marvelous technology demo about picture navigation and linking... Message-ID: <7c87a2a10711270501m53f1d4f3w7fc282925cc1e91f@mail.gmail.com> Hello Friends, I decided to share this because it really made me smile. It's seeing things like this that make us want to drive tech a little further. http://www.ted.com/index.php/talks/view/id/129 Cheers andre -- http://www.andregarzia.com All We Do Is Code. From m.schonewille at economy-x-talk.com Tue Nov 27 08:16:53 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 27 Nov 2007 14:16:53 +0100 Subject: OT: Marvelous technology demo about picture navigation and linking... In-Reply-To: <7c87a2a10711270501m53f1d4f3w7fc282925cc1e91f@mail.gmail.com> References: <7c87a2a10711270501m53f1d4f3w7fc282925cc1e91f@mail.gmail.com> Message-ID: <4EE39C95-3877-4C1B-8F37-6EFA66F6C9D4@economy-x-talk.com> Hi, That's a very old idea. Raskin tried that kind of navigation and made a demo with it, which he called Archy. As long as there is no way to visually organise these images and search them using text queries, I'm not sure what to use this kind of naviation for, other than for browsing small amounts of files and CD covers on an iPhone. Oh wait... Leopard, and the iPhone, already have this, only it is in 3D, and TimeMachine does it even in 4D! :-D Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 27-nov-2007, om 14:01 heeft Andre Garzia het volgende geschreven: > Hello Friends, > > I decided to share this because it really made me smile. It's seeing > things like this that make us want to drive tech a little further. > > http://www.ted.com/index.php/talks/view/id/129 > > Cheers > andre > From mark at maseurope.net Tue Nov 27 09:25:10 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 27 Nov 2007 14:25:10 +0000 Subject: OT: Marvelous technology demo about picture navigation and linking... In-Reply-To: <4EE39C95-3877-4C1B-8F37-6EFA66F6C9D4@economy-x-talk.com> References: <7c87a2a10711270501m53f1d4f3w7fc282925cc1e91f@mail.gmail.com> <4EE39C95-3877-4C1B-8F37-6EFA66F6C9D4@economy-x-talk.com> Message-ID: <5E76880B-389E-4F43-A651-D4F8FA5710AC@maseurope.net> The aggregation of thousands of different images to make navigable models is fantastic, though. And as the presenter points out, when someone adds info about the images they upload (the names of the statued saints at Notre Dame in the example), that presumably is searchable... best, Mark On 27 Nov 2007, at 13:16, Mark Schonewille wrote: > Hi, > > That's a very old idea. Raskin tried that kind of navigation and > made a demo with it, which he called Archy. > > As long as there is no way to visually organise these images and > search them using text queries, I'm not sure what to use this kind > of naviation for, other than for browsing small amounts of files > and CD covers on an iPhone. > > Oh wait... Leopard, and the iPhone, already have this, only it is > in 3D, and TimeMachine does it even in 4D! :-D > > Best regards, > > Mark Schonewille > > -- > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Quickly extract data from your HyperCard stacks with DIFfersifier. > http://differsifier.economy-x-talk.com > > > Op 27-nov-2007, om 14:01 heeft Andre Garzia het volgende geschreven: > >> Hello Friends, >> >> I decided to share this because it really made me smile. It's seeing >> things like this that make us want to drive tech a little further. >> >> http://www.ted.com/index.php/talks/view/id/129 >> >> Cheers >> andre >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From alex at harryscollar.com Tue Nov 27 09:49:25 2007 From: alex at harryscollar.com (Alex Shaw) Date: Wed, 28 Nov 2007 00:49:25 +1000 Subject: OT: Marvelous technology demo about picture navigation and linking... In-Reply-To: <7c87a2a10711270501m53f1d4f3w7fc282925cc1e91f@mail.gmail.com> References: <7c87a2a10711270501m53f1d4f3w7fc282925cc1e91f@mail.gmail.com> Message-ID: <474C2E75.4090208@harryscollar.com> http://www.ted.com/index.php/talks/view/id/191 this one made me happy :) regards alex From gbojsza at gmail.com Tue Nov 27 11:01:59 2007 From: gbojsza at gmail.com (Glen Bojsza) Date: Tue, 27 Nov 2007 10:01:59 -0600 Subject: Recording output sound Message-ID: <3d8af4150711270801w6f5b9e53rf128d36f60f48f68@mail.gmail.com> Hello, I was wondering if it is possible to directly record the audio that is being played out through a computer's speaker system? An example would be from a WEBEX session or from a CNN news video. I know you can have the computer's microphone record it as an input but then any added background noise would be included. Any ideas or suggestions would be appreciated. regards, Glen From eric.chatonet at sosmartsoftware.com Tue Nov 27 11:46:32 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 27 Nov 2007 17:46:32 +0100 Subject: Recording output sound In-Reply-To: <3d8af4150711270801w6f5b9e53rf128d36f60f48f68@mail.gmail.com> References: <3d8af4150711270801w6f5b9e53rf128d36f60f48f68@mail.gmail.com> Message-ID: Hi Glen, Le 27 nov. 07 ? 17:01, Glen Bojsza a ?crit : > Hello, > > I was wondering if it is possible to directly record the audio that > is being > played out through a computer's speaker system? An example would be > from a > WEBEX session or from a CNN news video. > > I know you can have the computer's microphone record it as an input > but then > any added background noise would be included. > > Any ideas or suggestions would be appreciated. > > regards, > > Glen On Mac OS, see http://www.ambrosiasw.com/utilities/wiretap/ I use it often. On Win, I don't know any specific software but you might be interested in: http://www.tethyssolutions.com/product.htm? r=google&w=macrorecorder&gclid=CJTS-su8_Y8CFQI5aAodZRxGLw http://www.iomatic.com/products/product.asp?ProductID=audiorecordwizard http://www.ezaudiorecorder.com/ Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From stephenREVOLUTION2 at barncard.com Tue Nov 27 11:59:05 2007 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Tue, 27 Nov 2007 08:59:05 -0800 Subject: Recording output sound In-Reply-To: <3d8af4150711270801w6f5b9e53rf128d36f60f48f68@mail.gmail.com> References: <3d8af4150711270801w6f5b9e53rf128d36f60f48f68@mail.gmail.com> Message-ID: rogue amoeba's Audio Hijack is great for this - can hijack anything you hear on your machine. Mac OS. >Hello, > >I was wondering if it is possible to directly record the audio that is being >played out through a computer's speaker system? An example would be from a >WEBEX session or from a CNN news video. > >I know you can have the computer's microphone record it as an input but then >any added background noise would be included. > >Any ideas or suggestions would be appreciated. > >regards, > >Glen -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From katheryn.swynford at gmail.com Tue Nov 27 12:06:17 2007 From: katheryn.swynford at gmail.com (Judy Perry) Date: Tue, 27 Nov 2007 09:06:17 -0800 Subject: Recording output sound In-Reply-To: <3d8af4150711270801w6f5b9e53rf128d36f60f48f68@mail.gmail.com> References: <3d8af4150711270801w6f5b9e53rf128d36f60f48f68@mail.gmail.com> Message-ID: <4be051070711270906w226429f2p310c55366130328c@mail.gmail.com> Glen, Sorry for me that Eric beat me to it, but I have to second his suggestion of using Ambrosia's WireTapPro. I recently used it in in the following circumstance: A child I call "foster-child" (now 14, perhaps not a child, really) managed to do something profoundly stupid on mySpace and dropped the N-bomb on a reputed Los Angeles-area gang member, who then called her house and made threats on her family's answering machine (as well as reportedly tried to attack her en-route to my children's elementary school, which really cheesed me off, but that's another story)... Anyway, I had her mother play back the message on my phone in speaker mode and had my Mac laptop's microphone (external? can't recall) pick it up while running WireTapPro. The results were really quite good. The detective on the case thought so, anyway, so I hear... WireTapPro will use your Mac's internal or external speaker/mic system for recording and the results are quite decent. I forget what I paid for it, but it wasn't much. Judy On Nov 27, 2007 8:01 AM, Glen Bojsza wrote: > Hello, > > I was wondering if it is possible to directly record the audio that is > being > played out through a computer's speaker system? An example would be from a > WEBEX session or from a CNN news video. > > I know you can have the computer's microphone record it as an input but > then > any added background noise would be included. > > Any ideas or suggestions would be appreciated. > > regards, > > Glen > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From len-morgan at crcom.net Tue Nov 27 12:27:24 2007 From: len-morgan at crcom.net (Len Morgan) Date: Tue, 27 Nov 2007 11:27:24 -0600 Subject: Recording output sound In-Reply-To: <3d8af4150711270801w6f5b9e53rf128d36f60f48f68@mail.gmail.com> References: <3d8af4150711270801w6f5b9e53rf128d36f60f48f68@mail.gmail.com> Message-ID: <474C537C.6020706@crcom.net> Couldn't you just connect a simple cable from the speaker output jack to the microphone input jack? A couple of bucks at Radio Shack should cover it. If you wanted to get "fancy" you could make a simple cable that would have 2 plugs and one jack so you could still listen to the speakers while recording. len morgan Glen Bojsza wrote: > Hello, > > I was wondering if it is possible to directly record the audio that is being > played out through a computer's speaker system? An example would be from a > WEBEX session or from a CNN news video. > > I know you can have the computer's microphone record it as an input but then > any added background noise would be included. > > Any ideas or suggestions would be appreciated. > > regards, > > Glen > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Nov 27 12:44:08 2007 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Tue, 27 Nov 2007 09:44:08 -0800 Subject: Recording output sound In-Reply-To: <474C537C.6020706@crcom.net> References: <3d8af4150711270801w6f5b9e53rf128d36f60f48f68@mail.gmail.com> <474C537C.6020706@crcom.net> Message-ID: With all due respect, the output to input cable method is full of pitfalls, like level control, quality, monitoring switching, and possible screeching feedback loops. Does one know the pinouts for sure? Is it three conductors or four? What is the level out, what is the level in? For the time one spent on this project one could just buy the software and get quality and control. A 'couple of bucks' at Radio Shack turns into more like at least $20. Making one's own cable will cost more and might fail because their connectors melt when soldering. Not everybody can solder, either. Radio Shack is good for pre-made cables, batteries, and turntable stylii, but their individual connectors are the worst. By the way, the new version of Audio Hijack Pro can record both sides on an iChat conversation and is fully Apple-scriptable. >Couldn't you just connect a simple cable from the speaker output >jack to the microphone input jack? A couple of bucks at Radio Shack >should cover it. If you wanted to get "fancy" you could make a >simple cable that would have 2 plugs and one jack so you could still >listen to the speakers while recording. > >len morgan > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From ambassador at fourthworld.com Tue Nov 27 13:17:32 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 27 Nov 2007 10:17:32 -0800 Subject: Recording output sound Message-ID: <474C5F3C.8000804@fourthworld.com> I've always wondered about this myself. Since the output and the input are both happening in the same device, this seems a relatively simple software issue, and shouldn't require hardware at all. I wonder why Apple doesn't make the Mac itself one of the standard input devices. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From mikeythek at gmail.com Tue Nov 27 14:32:08 2007 From: mikeythek at gmail.com (Mikey) Date: Tue, 27 Nov 2007 14:32:08 -0500 Subject: Opinion: bug? Message-ID: <9b408d8e0711271132j3bc4866dk908db1f3ab8a7d85@mail.gmail.com> I just got hosed by what I would consider a bug in RR, but it probably bears discussion before reporting it as such. I created a new maintstack, did a fair amount of work on it, and then hit close. I got the save/cancel/don't save dialog. I hit Save. The file Dialog came up and I accidentally hit "Cancel". Instead of returning to the stack, it just blew the stack away. On the one hand (devil's advocate), I did hit cancel in the File dialog. On the other hand (what I would call the voice of reason), ARE YOU KIDDING ME? I didn't hit "Don't Save". I hit "Save". I just hit "cancel" in the filename dialog. From ambassador at fourthworld.com Tue Nov 27 14:43:50 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 27 Nov 2007 11:43:50 -0800 Subject: Opinion: bug? Message-ID: <474C7376.7060301@fourthworld.com> Mikey wrote: > I just got hosed by what I would consider a bug in RR, but it probably > bears discussion before reporting it as such. > > I created a new maintstack, did a fair amount of work on it, and then > hit close. I got the save/cancel/don't save dialog. I hit Save. The > file Dialog came up and I accidentally hit "Cancel". Instead of > returning to the stack, it just blew the stack away. > > On the one hand (devil's advocate), I did hit cancel in the File dialog. > > On the other hand (what I would call the voice of reason), ARE YOU > KIDDING ME? I didn't hit "Don't Save". I hit "Save". I just hit > "cancel" in the filename dialog. Bug. The "Cancel" button in either the dialog triggered by the same user action (closing the window) should return the user to things as they were before the action. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From devin_asay at byu.edu Tue Nov 27 14:45:22 2007 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 27 Nov 2007 12:45:22 -0700 Subject: Opinion: bug? In-Reply-To: <9b408d8e0711271132j3bc4866dk908db1f3ab8a7d85@mail.gmail.com> References: <9b408d8e0711271132j3bc4866dk908db1f3ab8a7d85@mail.gmail.com> Message-ID: <9556FA75-3D55-4B9B-BEB1-54BCB1B41F96@byu.edu> On Nov 27, 2007, at 12:32 PM, Mikey wrote: > I just got hosed by what I would consider a bug in RR, but it probably > bears discussion before reporting it as such. > > I created a new maintstack, did a fair amount of work on it, and then > hit close. I got the save/cancel/don't save dialog. I hit Save. The > file Dialog came up and I accidentally hit "Cancel". Instead of > returning to the stack, it just blew the stack away. I think you're right--it's a bug. No other application I know of works this way. If you do Close - Save - Cancel it exits the save AND the close process and puts you back in the document. And it looks like RunRev agree with you. I just tried it in the 2.9 beta, and it works as expected--the stack doesn't close. In 2.8.1 it worked as you described--after Close - Save - Cancel the stack closed. > > On the one hand (devil's advocate), I did hit cancel in the File > dialog. > > On the other hand (what I would call the voice of reason), ARE YOU > KIDDING ME? I didn't hit "Don't Save". I hit "Save". I just hit > "cancel" in the filename dialog. HTH Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From bvg at mac.com Tue Nov 27 15:09:34 2007 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 27 Nov 2007 21:09:34 +0100 Subject: Opinion: bug? In-Reply-To: <9b408d8e0711271132j3bc4866dk908db1f3ab8a7d85@mail.gmail.com> References: <9b408d8e0711271132j3bc4866dk908db1f3ab8a7d85@mail.gmail.com> Message-ID: <44A4855A-987A-4BC7-AE16-8740185BFC43@mac.com> I reported bug 5434 for the beta some weeks ago. (I'd claim to be proud, but pride and catastrophic loss of work doesn't mix very well) http://quality.runrev.com/qacenter/show_bug.cgi?id=5434 On 27 Nov 2007, at 20:32, Mikey wrote: > On the one hand (devil's advocate), I did hit cancel in the File > dialog. > > On the other hand (what I would call the voice of reason), ARE YOU > KIDDING ME? I didn't hit "Don't Save". I hit "Save". I just hit > "cancel" in the filename dialog. -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From katir at hindu.org Tue Nov 27 15:21:52 2007 From: katir at hindu.org (Sivakatirswami) Date: Tue, 27 Nov 2007 10:21:52 -1000 Subject: Setting paths to Externals In-Reply-To: <20071124002453438080.88e22590@sonsothunder.com> References: <47479B19.9020305@hindu.org> <20071124001711523308.c9e455e2@sonsothunder.com> <20071124002453438080.88e22590@sonsothunder.com> Message-ID: <474C7C60.5030705@hindu.org> Ken Ray wrote: > On Sat, 24 Nov 2007 00:17:11 -0600, Ken Ray wrote: > > >>> besides. I don't see how you can dynamically load an external anyway, >>> since the docs state you have stop and restart your application. But >>> if you are loading them by script in a preopenstack or open stack >>> handler, then how will you ever activate them? >>> >> Trevor Devore taught me this method, and I've used it ever since for >> dynamic loading of externals: >> > > I forgot I'd made a Tips page at my site about this: > > http://www.sonsothunder.com/devres/revolution/tips/ext003.htm > > Enjoy! > > Ken Ray > Sons of Thunder Software, Inc. > > Trevor, Ken... thank you! It works! Andre: FYI your libKiosk.bundle has some parts "crippled" under Leopard. In theory even the option for keyboard combo + power key to shut down the machine should be disabled-- under Tiger using your same library, it was.... I could *not* shut down the machine if your external was loaded in Tiger. But, I can now... not a big deal... I don't think too many users will be trying to hack the box and I will have my app set to be booted on start up, so we are pretty safe. In the current location the users are in plain view, hacking is unlikely. Later we may have a Kiosk in a location where someone might be able to stand there for a long time unobserved... Worst case scenario is still not too serious: they could hold cmd-S on start up and boot into the terminal, but still not much they could do from there, as the Kiosk node on the LAN has very little access to anything... I don't know if, in the Kiosk world, hackers try to break into an use these machines or not... My only experience is TV hype where some aggressive nefarious brainy kids might try to break into the US Gov missile dBase from our Kiosk and start World War III by accident...but somehow that seems a bit far fetched... still they could ssh out from terminal to Mars and call the aliens to earth...I might be able to get our net admin to block those outgoing protocols in the firewall for this one box, but it's a nuisance for him... How far do you Kiosk pros go in closing up security holes like this? From katir at hindu.org Tue Nov 27 15:22:04 2007 From: katir at hindu.org (Sivakatirswami) Date: Tue, 27 Nov 2007 10:22:04 -1000 Subject: Send Wake-on-Lan _Packet In-Reply-To: References: <4749E49B.7000103@hindu.org> <4749E7C4.8040503@hindu.org> Message-ID: <474C7C6C.7040003@hindu.org> Kee Nethery wrote: > Assuming you are talking about a Mac, instead of Wake-On-LAN, perhaps > use something that will wake up your mac kiosk at specific times and > then make sure you hit that window to do all your remote maintenance. > > The Mac-ish things I read about online were iCal and Automator. I'm > certain that there is probably something you can set in cron or some > other unix command to do what you need. > > But ... why not have the kiosk send you the file before it goes to > sleep for the night? Seems like that would be easier. > > You got it... that's what we've decided to do. There really is no reason for the Kiosk machine to store any data... it's all going to get processed and uploaded to the main dbase later anyway. So, we will just have any "Submit" done on the Kiosk immediately post to the main OS X Serve on the LAN (which is always alive) then the team that needs to preprocess the data before upload to the server will work on that data, not any files on the Kiosk machine. I will build in a small failsafe... the WiFi network is flaky and a post fails, it will queue up data locally until the next session and pass any local files to the server that might be in the queue. This way we bypass completely any conversations with the Kiosk machine. skts > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mail at richard-hillen.de Tue Nov 27 15:46:26 2007 From: mail at richard-hillen.de (R. Hillen) Date: Tue, 27 Nov 2007 21:46:26 +0100 Subject: OSX - Reading adresscardfiles doesnt work Message-ID: <3514C962-E02A-406A-95CB-3F5FFB0910BB@richard-hillen.de> Hello list, On Mac OS X, RR 2.8.1 I want to read the data in the adresscardfiles; so I tried: ---- on mouseup --set the folder with addresscards put "Users/MyUserName/Library/Caches/com.apple.AddressBook/ MetaData/" into AdressFolder set the defaultfolder to AdressFolder --List of cards put files() into CardList filter CardList with "*AB*" --read first card put line 1 of CardList into CardFileName put AdressFolder & CardFileName into CardFilePath if there is a file CardFilePath then answer "ok" else answer "card not found!" end if end mouseup ----- The Answer is always "Card not found!" I suspect, that the cause is the slash in the name of the adressfiles, so for instance: "0B4A452B-0669-483C-B85E-4DB56F4CA2EC/ABPerson.abcdp" If I do put url("file:"&CardFilePath) into CardData it is empty. Any Help? Thank You! Richard. From JimAultWins at yahoo.com Tue Nov 27 16:09:28 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 27 Nov 2007 13:09:28 -0800 Subject: OSX - Reading adresscardfiles doesnt work In-Reply-To: <3514C962-E02A-406A-95CB-3F5FFB0910BB@richard-hillen.de> Message-ID: On 11/27/07 12:46 PM, "R. Hillen" wrote: > On Mac OS X, RR 2.8.1 I want to read the data in the adresscardfiles; > so I tried: > > ---- > on mouseup > --set the folder with addresscards > put "Users/MyUserName/Library/Caches/com.apple.AddressBook/ > MetaData/" into AdressFolder > set the defaultfolder to AdressFolder > --List of cards > put files() into CardList > filter CardList with "*AB*" > --read first card > put line 1 of CardList into CardFileName > put AdressFolder & CardFileName into CardFilePath > > if there is a file CardFilePath then > answer "ok" > else > answer "card not found!" > end if > end mouseup > ----- > > The Answer is always "Card not found!" > > I suspect, that the cause is the slash in the name of the > adressfiles, so for instance: > > "0B4A452B-0669-483C-B85E-4DB56F4CA2EC/ABPerson.abcdp" > > If I do > put url("file:"&CardFilePath) into CardData > it is empty. > The easy way to find the correct path is to do the following in the message box answer file "Your Choice" put it -- hit enter -- make your choice -- click OK then read the result Also add to your script the one line answer "defaultFolder = " & the defaultFolder Hope this helps Jim Ault Las Vegas From rgould8 at aol.com Tue Nov 27 16:29:04 2007 From: rgould8 at aol.com (rgould8 at aol.com) Date: Tue, 27 Nov 2007 16:29:04 -0500 Subject: How to get PHP to pass colored text to RTF text in Revolution? In-Reply-To: Message-ID: <8C9FF53AB6A989C-6EC-2945@MBLK-M23.sysops.aol.com> The problem I'm seeing when I use this technique is that Revolution no longer pays attention to the "hard column stops" in the table field object when I start using the HTMLTEXT method.? When I just use the native Revolution table-field object, I can set the tab-stops to a certain width, and my data in each column never runs into the other columns.? The minute I start using the HTMLTEXT method, it appears that Revolution stops paying attention to it's native tab-stops, and data that over-runs a column no longer gets "cropped", but bleeds into the columns to it's right. I suppose I could start heading in the direction of embedding a browser into Rev to get this text-field functionality, but at that point, I might as well just do the whole thing as a web-site. - Rob -----Original Message----- From: Jim Ault To: How to use Revolution Sent: Mon, 26 Nov 2007 12:54 am Subject: Re: How to get PHP to pass colored text to RTF text in Revolution? you want the HTMLText property, in the dictionary. Important! The HTMLText property uses a tag structure that is HTML-like, but is not completely standard HTML, in order to accommodate the full range of text styling available in Revolution. thus set the htmltext of fld "dataTbl" to theStringSentFromPhp Jim Ault Las Vegas On 11/25/07 8:05 PM, "rgould8 at aol.com" wrote: > I have php code from my server passing data into a rich-text field in a > standalone Revolution stack.? Presently, it does it something like this: > > put URL "http://urltomyserver/getdata.php" into field "rtfoutput" > > This is a text field which is set up as a table with columns. > So far, this works well for me, but now I need the text field to have > different colored text data for some of the columns in this text field. > > The only way I can think to do this is to do something like has the PHP code > pass data to revolution for the field like: > > echo "This text is greenand this text is > red in the same column."; > ?> > but I have no idea what would need to get passed to do such a thing.? > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ________________________________________________________________________ More new features than ever. Check out the new AOL Mail ! - http://o.aolcdn.com/cdn.webmail.aol.com/mailtour/aol/en-us/text.htm?ncid=aolcmp00050000000003 From briany at qldlearning.com Tue Nov 27 16:50:01 2007 From: briany at qldlearning.com (Brian Yennie) Date: Tue, 27 Nov 2007 13:50:01 -0800 Subject: How to get PHP to pass colored text to RTF text in Revolution? In-Reply-To: <8C9FF53AB6A989C-6EC-2945@MBLK-M23.sysops.aol.com> References: <8C9FF53AB6A989C-6EC-2945@MBLK-M23.sysops.aol.com> Message-ID: Rob, Instead of importing actual html table tags, could you use tabs in your text? Rev supports a small subset of HTML, but field objects should respect the tabStops property. A quick way to apply this to a simple table already formatted into rows and columns using td and tr tags would be something like: // translate the rows and columns to returns and tabs on our own replace "" with cr in myText replace "" with tab in myText // zap away the rest of the basic table tags replace "" with empty in myText replace "
" with empty in myText replace "" with empty in myText replace "" with empty in myText replace "" with empty in myText replace "" with empty in myText If you can control the source html entirely, I would suggest formatting a Rev field to look how you want it, then *get* the htmlText property of that field and see how Rev encodes it. HTH, - Brian > > The problem I'm seeing when I use this technique is that > Revolution no longer pays attention to the "hard column stops" in > the table field object when I start using the HTMLTEXT method.? > > When I just use the native Revolution table-field object, I can set > the tab-stops to a certain width, and my data in each column never > runs into the other columns.? The minute I start using the HTMLTEXT > method, it appears that Revolution stops paying attention to it's > native tab-stops, and data that over-runs a column no longer gets > "cropped", but bleeds into the columns to it's right. > > I suppose I could start heading in the direction of embedding a > browser into Rev to get this text-field functionality, but at that > point, I might as well just do the whole thing as a web-site. > > - Rob > > > > > > > > > -----Original Message----- > From: Jim Ault > To: How to use Revolution > Sent: Mon, 26 Nov 2007 12:54 am > Subject: Re: How to get PHP to pass colored text to RTF text in > Revolution? > > > > > > > > > > > you want the > > HTMLText property, in the dictionary. > > Important! The HTMLText property uses a tag structure that is > HTML-like, > but is not completely standard HTML, in order to accommodate the > full range > of text styling available in Revolution. > > thus > set the htmltext of fld "dataTbl" to theStringSentFromPhp > > Jim Ault > Las Vegas > > On 11/25/07 8:05 PM, "rgould8 at aol.com" wrote: > >> I have php code from my server passing data into a rich-text field >> in a >> standalone Revolution stack.? Presently, it does it something like >> this: >> >> put URL "http://urltomyserver/getdata.php" into field "rtfoutput" >> >> This is a text field which is set up as a table with columns. >> So far, this works well for me, but now I need the text field to have >> different colored text data for some of the columns in this text >> field. >> >> The only way I can think to do this is to do something like has >> the PHP code >> pass data to revolution for the field like: >> >> > echo "This text is greenand >> this text is >> red in the same column."; >> ?> >> but I have no idea what would need to get passed to do such a thing.? >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > ______________________________________________________________________ > __ > More new features than ever. Check out the new AOL Mail ! - http:// > o.aolcdn.com/cdn.webmail.aol.com/mailtour/aol/en-us/text.htm? > ncid=aolcmp00050000000003 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution --- Brian Yennie QLD Learning (310)-367-7364 From pmbrig at gmail.com Tue Nov 27 18:52:49 2007 From: pmbrig at gmail.com (Peter Brigham) Date: Tue, 27 Nov 2007 18:52:49 -0500 Subject: problem with standalone mac->windows Message-ID: <72F5394B-061C-4EC4-90B4-B9B6D207674E@gmail.com> On Sun, 25 Nov 2007, Richard Gaskin wrote: > Peter Brigham wrote: > >> OK, I have a stack with an option menu with a lot of entries in it, >> titles for moving to various cards. Selecting a title takes you to >> the appropriate card The menu behaves well when I create a standalone >> (on my mac iBook G4) for the mac, but when I tried the windows >> version of the standalone on a windows XP machine, the menu list runs >> down off the screen so you can't see the bottom part of the list at >> all, and you can't scroll the list by moving the cursor to the bottom >> of the screen or even by using the down arrow key. This makes it >> impossible to navigate to anything in the bottom part of the list. >> Anyone seen this before? How do I fix it? >> > > What is the style property of the control, and what is the value of > its > menuLines property set to? > > I just made an option control and set the menulines to 40, and it > works > well on XP: when popped up while positioned lower in the display than > can accommodate 40 items, it positions the menu so that the bottom > is at > the bottom of the windowboundingRect; no clipping at all, all parts of > the control available, responds well to arrow keys. > > -- > Richard Gaskin > Managing Editor, revJournal Aha! "menulines" -- I never had occasion to look at this button property. The button is an option button; style = "menu." I found that the menulines of the button were set to 60, so I set it through the msg box to 30, then 10. This does not change the behavior of the menu on the mac -- on the mac in the IDE or in standalone form, whether I set the menulines to 10 or 30 or 60, the menu displays as many lines as it can down to the bottom of the windowboundingrect, with the usual down-triangle at the bottom; when the mouse is at the bottom the list scrolls. I hope setting the menulines to a small number will make a difference on windows, where the problem is the list ran down out of the windowboundingrect and thus I was unable to scroll down to choose anything not initially visible. I'm presuming on windows the menuline will limit the height of the dropdown list, though it doesn't on the mac. I'll try the windows standalone out with the menulines set to a small number as soon as I can. One difficulty I have is only intermittent access to a windows machine, makes it hard to troubleshoot a standalone for the other platform.... And on Sun, 25 Nov 2007, Bill Vlahos wrote: > Could you be using a special character that Windows doesn't like? > I've seen strange behavior on the Mac if you use a slash in the name > of the menuitem. I'd stay a way from any special characters and see > if that works correctly. > > Bill No slashes, but I am using some accented characters and an ampersand or two. Another thing to test out, if the above doesn't fix it. I'll get back to you with the results when I have them. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig/ "A friend of mine is a voodoo acupuncturist. I don't actually have to go see him. I'll just be walking down the street, and..... ooooooooooh, that's much better..." -- Steven Wright From josh at dvcreators.net Tue Nov 27 18:57:54 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 27 Nov 2007 15:57:54 -0800 Subject: Anyone noticing stalled uploading? find a solution? In-Reply-To: <4735816B.4060207@ekoinf.net> References: <337C3CAA-D24B-4CD0-9689-7952D79A397E@dvcreators.net> <4735816B.4060207@ekoinf.net> Message-ID: <03C8A71E-9CB9-47E5-894E-19B7E7ED2C84@dvcreators.net> We just found out something: Someone noticed it was always the 4th file that stalled (hung on status "connecting...") Well, our server only allows 3 simultaneous FTP connections. So Rev was initiating a new FTP connection for each upload (using libURLftpUploadFile) Can I force Rev to use the same connection for multiple uploads? Or, can I make it close the connection after each successful upload, so I don't run out of connections? (increasing the limit on our server is not a solution- it will help us, but not others :-) On Nov 10, 2007, at 2:01 AM, viktoras didziulis wrote: > hi Josh, > > if you upload via ftp try increasing libURLSetFTPStopTime to > anything more than the default 15 seconds. Dictionary says: use the > libURLSetFTPStopTime command to increase the efficiency of multiple > FTP transfers. The timeout set by libURLSetFTPStopTime controls > when Revolution closes the connection from its end. > > or try setting the socketTimeoutInterval to some astronomic value > like 30 000 (the default is 10 000, which means 10 sec). Some time > ago this solved my problems with stalled downloads :-) > > Best wishes > Viktoras > > Josh Mellicker wrote: >> I am uploading a list of files. >> >> After uploading a few files with no problem, uploading "stalls" >> with no progress, and no timeout message is sent. >> >> The first thing I tried was implementing a "red light/green light" >> to make the upload blocking, so the second file would wait (with >> messages) for the first file to successfully finish uploading >> before proceeding, and so on. This seemed to help a little, but >> uploading still stalls intermittently. >> >> Big Watcher >> The next thing was, once the uploading begins, to start a "Big >> Watcher" callback loop, that acts as a "Supervisor" to monitor the >> libURLSetStatusCallback callback, with a 2 second non-blocking >> loop- send "checkForStalledUpload" to me in 5 seconds >> >> If the status and bytes downloaded match, the Supervisor assumes >> the current upload is stalled and does a "resetAll" and starts >> over on the first unuploaded file. >> >> In theory, this sounds good, but so far, we haven't been able to >> get the "resetAll" to work... >> >> Has anyone else experienced stalled libURL operations when >> uploading or downloading a list of files? Did you find a solution? >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 Tue Nov 27 19:01:30 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 27 Nov 2007 16:01:30 -0800 Subject: Marvelous technology demo about picture navigation andlinking... References: <7c87a2a10711270501m53f1d4f3w7fc282925cc1e91f@mail.gmail.com> Message-ID: Andre- The point where my brain exploded is about six minutes in where he talks about the idea that you could snap a single picture with a camera and then use that photo as a portal to exploring the whole of Notre Dame... -- Mark Wieder mwieder at ahsoftware.net From runrev at dreamscapesoftware.com Tue Nov 27 19:11:59 2007 From: runrev at dreamscapesoftware.com (Derek Bump) Date: Tue, 27 Nov 2007 18:11:59 -0600 Subject: Program problems on Windows Vista Message-ID: <474CB24F.7050608@dreamscapesoftware.com> I'm wondering if anyone has been experiencing this problem and knows how to solve it. I've got 2 customers, one is using Windows Vista Home Premium and the other is using Windows Vista Business. They both experience the same problem with JPEGCompress 2.9. They can launch the program once, use it just fine, and then close it. When they attempt to launch the program again, they get a Windows error message saying that the program cannot be opened. One user supplied me with the following Windows Error Data: Problem signature: Problem Event Name: APPCRASH Application Name: JPEGCompress.exe Application Version: 2.9.0.0 Application Timestamp: 467ba830 Fault Module Name: ntdll.dll Fault Module Version: 6.0.6000.16386 Fault Module Timestamp: 4549bdc9 Exception Code: c0000005 Exception Offset: 00061c02 OS Version: 6.0.6000.2.0.0.256.6 Locale ID: 1032 Additional Information 1: 64d7 Additional Information 2: 081335f078811e1fd639bc6c63d83627 Additional Information 3: 3fdc Additional Information 4: 35fc8982503f4afb4ff8fb0737cc1a55 So far I've tested JPEGCompress 2.9 on Windows Vista Home Basic, Home Premium, Business and Ultimate. Premium, Business and Ultimate were all checked using VMWare. So far I am unable to identify any common ground between the two users other than they are using Windows Vista. Any ideas? I've had them try the program in Safe Mode, uninstalling and re-installing, they all have enough memory and disk space, latest updates. I'm running out of 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 josh at dvcreators.net Tue Nov 27 20:14:21 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 27 Nov 2007 17:14:21 -0800 Subject: Anyone noticing stalled uploading? find a solution? In-Reply-To: <03C8A71E-9CB9-47E5-894E-19B7E7ED2C84@dvcreators.net> References: <337C3CAA-D24B-4CD0-9689-7952D79A397E@dvcreators.net> <4735816B.4060207@ekoinf.net> <03C8A71E-9CB9-47E5-894E-19B7E7ED2C84@dvcreators.net> Message-ID: <54A358C5-7991-4346-9F88-259BDB925723@dvcreators.net> I just tried Sarah's trick: libURLSetFTPStopTime 1 and the stalled uploading is fixed! Thanks (again!) Sarah! On Nov 15, 2007, at 12:53 PM, Sarah Reichelt wrote: >>> However I find that if I am transferring lots of files, that Rev >>> opens >>> a new connection for each file regardless and I rapidly get to a >>> stage >>> where the server is rejecting my commands because I have too many >>> connections open. >> >> Quick response: >> >> Are you doing anything that might close the socket used after each >> transfer? This would cause a new session to be opened with the >> server, while the server might see the previous session as still >> being open. > > Not that I know of. I use a libURLftpUploadFile or > libURLDownloadToFile command with a callback. During the transfer I > monitor the URLstatus. In the callback, I check the status again and > it the status is "uploaded" or "downloaded", I just go on to issue the > next libURLftpUploadFile or libURLDownloadToFile command. > >> Are you checking for errors after each download? An error would cause >> libUrl to close the socket, which might result in what you are >> seeing. > > Yes, I check for errors after every transfer. If I encounter an error > then I stop the process myself. > >> Decreasing the stop time as you did causes the session to close >> cleanly (using the QUIT command) which will keep the server happy. >> However, you shouldn't have to do this. > > Yes, it woould be neater if the same connection could be kept open, > however I have got a workable solution now. On Nov 27, 2007, at 3:57 PM, Josh Mellicker wrote: > We just found out something: > > Someone noticed it was always the 4th file that stalled (hung on > status "connecting...") > > Well, our server only allows 3 simultaneous FTP connections. > > So Rev was initiating a new FTP connection for each upload (using > libURLftpUploadFile) > > > Can I force Rev to use the same connection for multiple uploads? > > Or, can I make it close the connection after each successful > upload, so I don't run out of connections? > > > (increasing the limit on our server is not a solution- it will help > us, but not others :-) > > > On Nov 10, 2007, at 2:01 AM, viktoras didziulis wrote: > >> hi Josh, >> >> if you upload via ftp try increasing libURLSetFTPStopTime to >> anything more than the default 15 seconds. Dictionary says: use >> the libURLSetFTPStopTime command to increase the efficiency of >> multiple FTP transfers. The timeout set by libURLSetFTPStopTime >> controls when Revolution closes the connection from its end. >> >> or try setting the socketTimeoutInterval to some astronomic value >> like 30 000 (the default is 10 000, which means 10 sec). Some time >> ago this solved my problems with stalled downloads :-) >> >> Best wishes >> Viktoras >> >> Josh Mellicker wrote: >>> I am uploading a list of files. >>> >>> After uploading a few files with no problem, uploading "stalls" >>> with no progress, and no timeout message is sent. >>> >>> The first thing I tried was implementing a "red light/green >>> light" to make the upload blocking, so the second file would wait >>> (with messages) for the first file to successfully finish >>> uploading before proceeding, and so on. This seemed to help a >>> little, but uploading still stalls intermittently. >>> >>> Big Watcher >>> The next thing was, once the uploading begins, to start a "Big >>> Watcher" callback loop, that acts as a "Supervisor" to monitor >>> the libURLSetStatusCallback callback, with a 2 second non- >>> blocking loop- send "checkForStalledUpload" to me in 5 seconds >>> >>> If the status and bytes downloaded match, the Supervisor assumes >>> the current upload is stalled and does a "resetAll" and starts >>> over on the first unuploaded file. >>> >>> In theory, this sounds good, but so far, we haven't been able to >>> get the "resetAll" to work... >>> >>> Has anyone else experienced stalled libURL operations when >>> uploading or downloading a list of files? Did you find a solution? >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at elementarysoftware.com Tue Nov 27 20:16:57 2007 From: scott at elementarysoftware.com (Scott Morrow) Date: Tue, 27 Nov 2007 17:16:57 -0800 Subject: Program problems on Windows Vista In-Reply-To: <474CB24F.7050608@dreamscapesoftware.com> References: <474CB24F.7050608@dreamscapesoftware.com> Message-ID: <68310230-A56A-4BA3-A980-201B1426442F@elementarysoftware.com> Hello Derek, I am trying to pin down a (similar?) problem that happens if the application is being run on a multiple-user system but it is not installed or launched by the primary user. Just a thought in the dark. -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- On Nov 27, 2007, at 4:11 PM, Derek Bump wrote: > I'm wondering if anyone has been experiencing this problem and > knows how > to solve it. I've got 2 customers, one is using Windows Vista Home > Premium and the other is using Windows Vista Business. They both > experience the same problem with JPEGCompress 2.9. > > They can launch the program once, use it just fine, and then close it. > When they attempt to launch the program again, they get a Windows > error > message saying that the program cannot be opened. One user > supplied me > with the following Windows Error Data: > > Problem signature: > Problem Event Name: APPCRASH > Application Name: JPEGCompress.exe > Application Version: 2.9.0.0 > Application Timestamp: 467ba830 > Fault Module Name: ntdll.dll > Fault Module Version: 6.0.6000.16386 > Fault Module Timestamp: 4549bdc9 > Exception Code: c0000005 > Exception Offset: 00061c02 > OS Version: 6.0.6000.2.0.0.256.6 > Locale ID: 1032 > Additional Information 1: 64d7 > Additional Information 2: 081335f078811e1fd639bc6c63d83627 > Additional Information 3: 3fdc > Additional Information 4: 35fc8982503f4afb4ff8fb0737cc1a55 > > So far I've tested JPEGCompress 2.9 on Windows Vista Home Basic, Home > Premium, Business and Ultimate. Premium, Business and Ultimate > were all > checked using VMWare. > > So far I am unable to identify any common ground between the two users > other than they are using Windows Vista. Any ideas? > > I've had them try the program in Safe Mode, uninstalling and > re-installing, they all have enough memory and disk space, latest > updates. I'm running out of 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 runrev at dreamscapesoftware.com Tue Nov 27 21:03:58 2007 From: runrev at dreamscapesoftware.com (Derek Bump) Date: Tue, 27 Nov 2007 20:03:58 -0600 Subject: Program problems on Windows Vista In-Reply-To: <68310230-A56A-4BA3-A980-201B1426442F@elementarysoftware.com> References: <474CB24F.7050608@dreamscapesoftware.com> <68310230-A56A-4BA3-A980-201B1426442F@elementarysoftware.com> Message-ID: <474CCC8E.9020303@dreamscapesoftware.com> Thanks Scott. I just created a system profiler that generates a report about nearly every aspect of the system and emails it to me. I just finished testing it on XP Home and Vista Home Premium and it worked wonderfully. I did get an interesting error on Vista though: "This program requires MSVBVM50.dll, which is no longer included in this version of Windows." Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___________________________________________________________________ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ Scott Morrow wrote: > Hello Derek, > I am trying to pin down a (similar?) problem that happens if the > application is being run on a multiple-user system but it is not > installed or launched by the primary user. Just a thought in the dark. > > -Scott Morrow > > Elementary Software > (Now with 20% less chalk dust !) > web http://elementarysoftware.com/ > email scott at elementarysoftware.com > > ----------------------------------------------------------------- > > On Nov 27, 2007, at 4:11 PM, Derek Bump wrote: > >> I'm wondering if anyone has been experiencing this problem and knows how >> to solve it. I've got 2 customers, one is using Windows Vista Home >> Premium and the other is using Windows Vista Business. They both >> experience the same problem with JPEGCompress 2.9. >> >> They can launch the program once, use it just fine, and then close it. >> When they attempt to launch the program again, they get a Windows error >> message saying that the program cannot be opened. One user supplied me >> with the following Windows Error Data: >> >> Problem signature: >> Problem Event Name: APPCRASH >> Application Name: JPEGCompress.exe >> Application Version: 2.9.0.0 >> Application Timestamp: 467ba830 >> Fault Module Name: ntdll.dll >> Fault Module Version: 6.0.6000.16386 >> Fault Module Timestamp: 4549bdc9 >> Exception Code: c0000005 >> Exception Offset: 00061c02 >> OS Version: 6.0.6000.2.0.0.256.6 >> Locale ID: 1032 >> Additional Information 1: 64d7 >> Additional Information 2: 081335f078811e1fd639bc6c63d83627 >> Additional Information 3: 3fdc >> Additional Information 4: 35fc8982503f4afb4ff8fb0737cc1a55 >> >> So far I've tested JPEGCompress 2.9 on Windows Vista Home Basic, Home >> Premium, Business and Ultimate. Premium, Business and Ultimate were all >> checked using VMWare. >> >> So far I am unable to identify any common ground between the two users >> other than they are using Windows Vista. Any ideas? >> >> I've had them try the program in Safe Mode, uninstalling and >> re-installing, they all have enough memory and disk space, latest >> updates. I'm running out of 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 >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mark at maseurope.net Tue Nov 27 21:10:01 2007 From: mark at maseurope.net (Mark Smith) Date: Wed, 28 Nov 2007 02:10:01 +0000 Subject: How to get PHP to pass colored text to RTF text in Revolution? In-Reply-To: <8C9FF53AB6A989C-6EC-2945@MBLK-M23.sysops.aol.com> References: <8C9FF53AB6A989C-6EC-2945@MBLK-M23.sysops.aol.com> Message-ID: I don't know if it'll work any better, but you can also < set the RTFtext of fld "someFld" to someData>. Best, Mark On 27 Nov 2007, at 21:29, rgould8 at aol.com wrote: > > The problem I'm seeing when I use this technique is that > Revolution no longer pays attention to the "hard column stops" in > the table field object when I start using the HTMLTEXT method.? > > When I just use the native Revolution table-field object, I can set > the tab-stops to a certain width, and my data in each column never > runs into the other columns.? The minute I start using the HTMLTEXT > method, it appears that Revolution stops paying attention to it's > native tab-stops, and data that over-runs a column no longer gets > "cropped", but bleeds into the columns to it's right. > > I suppose I could start heading in the direction of embedding a > browser into Rev to get this text-field functionality, but at that > point, I might as well just do the whole thing as a web-site. > > - Rob > > > > > > > > > -----Original Message----- > From: Jim Ault > To: How to use Revolution > Sent: Mon, 26 Nov 2007 12:54 am > Subject: Re: How to get PHP to pass colored text to RTF text in > Revolution? > > > > > > > > > > > you want the > > HTMLText property, in the dictionary. > > Important! The HTMLText property uses a tag structure that is > HTML-like, > but is not completely standard HTML, in order to accommodate the > full range > of text styling available in Revolution. > > thus > set the htmltext of fld "dataTbl" to theStringSentFromPhp > > Jim Ault > Las Vegas > > On 11/25/07 8:05 PM, "rgould8 at aol.com" wrote: > >> I have php code from my server passing data into a rich-text field >> in a >> standalone Revolution stack.? Presently, it does it something like >> this: >> >> put URL "http://urltomyserver/getdata.php" into field "rtfoutput" >> >> This is a text field which is set up as a table with columns. >> So far, this works well for me, but now I need the text field to have >> different colored text data for some of the columns in this text >> field. >> >> The only way I can think to do this is to do something like has >> the PHP code >> pass data to revolution for the field like: >> >> > echo "This text is greenand >> this text is >> red in the same column."; >> ?> >> but I have no idea what would need to get passed to do such a thing.? >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > ______________________________________________________________________ > __ > More new features than ever. Check out the new AOL Mail ! - http:// > o.aolcdn.com/cdn.webmail.aol.com/mailtour/aol/en-us/text.htm? > ncid=aolcmp00050000000003 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at elementarysoftware.com Tue Nov 27 21:19:41 2007 From: scott at elementarysoftware.com (Scott Morrow) Date: Tue, 27 Nov 2007 18:19:41 -0800 Subject: Program problems on Windows Vista In-Reply-To: <474CCC8E.9020303@dreamscapesoftware.com> References: <474CB24F.7050608@dreamscapesoftware.com> <68310230-A56A-4BA3-A980-201B1426442F@elementarysoftware.com> <474CCC8E.9020303@dreamscapesoftware.com> Message-ID: Hello Derek, I use VB scripts to create a similar system profile though I'm darned ignorant of how that stuff works. Would something in your system profiler have called something not supported in the current version of VB ? What did you do to find out information about multiple users? I'm pretty sure my profiler doesn't return that info. -Scott On Nov 27, 2007, at 6:03 PM, Derek Bump wrote: > Thanks Scott. > > I just created a system profiler that generates a report about nearly > every aspect of the system and emails it to me. I just finished > testing > it on XP Home and Vista Home Premium and it worked wonderfully. I did > get an interesting error on Vista though: > > "This program requires MSVBVM50.dll, which is no longer included in > this > version of Windows." > > > Derek Bump > Dreamscape Software > http://www.dreamscapesoftware.com > > ___________________________________________________________________ > Compress your photos quickly and easily with JPEGCompress 2.9! > > http://www.dreamscapesoftware.com/products/jpegcompress/ > > > > Scott Morrow wrote: >> Hello Derek, >> I am trying to pin down a (similar?) problem that happens if the >> application is being run on a multiple-user system but it is not >> installed or launched by the primary user. Just a thought in the >> dark. >> >> -Scott Morrow >> >> Elementary Software >> (Now with 20% less chalk dust !) >> web http://elementarysoftware.com/ >> email scott at elementarysoftware.com >> >> ----------------------------------------------------------------- >> >> On Nov 27, 2007, at 4:11 PM, Derek Bump wrote: >> >>> I'm wondering if anyone has been experiencing this problem and >>> knows how >>> to solve it. I've got 2 customers, one is using Windows Vista Home >>> Premium and the other is using Windows Vista Business. They both >>> experience the same problem with JPEGCompress 2.9. >>> >>> They can launch the program once, use it just fine, and then >>> close it. >>> When they attempt to launch the program again, they get a Windows >>> error >>> message saying that the program cannot be opened. One user >>> supplied me >>> with the following Windows Error Data: >>> >>> Problem signature: >>> Problem Event Name: APPCRASH >>> Application Name: JPEGCompress.exe >>> Application Version: 2.9.0.0 >>> Application Timestamp: 467ba830 >>> Fault Module Name: ntdll.dll >>> Fault Module Version: 6.0.6000.16386 >>> Fault Module Timestamp: 4549bdc9 >>> Exception Code: c0000005 >>> Exception Offset: 00061c02 >>> OS Version: 6.0.6000.2.0.0.256.6 >>> Locale ID: 1032 >>> Additional Information 1: 64d7 >>> Additional Information 2: 081335f078811e1fd639bc6c63d83627 >>> Additional Information 3: 3fdc >>> Additional Information 4: 35fc8982503f4afb4ff8fb0737cc1a55 >>> >>> So far I've tested JPEGCompress 2.9 on Windows Vista Home Basic, >>> Home >>> Premium, Business and Ultimate. Premium, Business and Ultimate >>> were all >>> checked using VMWare. >>> >>> So far I am unable to identify any common ground between the two >>> users >>> other than they are using Windows Vista. Any ideas? >>> >>> I've had them try the program in Safe Mode, uninstalling and >>> re-installing, they all have enough memory and disk space, latest >>> updates. I'm running out of 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 >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 Nov 27 23:21:10 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 27 Nov 2007 22:21:10 -0600 Subject: OSX - Reading adresscardfiles doesnt work In-Reply-To: <3514C962-E02A-406A-95CB-3F5FFB0910BB@richard-hillen.de> References: <3514C962-E02A-406A-95CB-3F5FFB0910BB@richard-hillen.de> Message-ID: <20071127222110504435.ae671a33@sonsothunder.com> > I suspect, that the cause is the slash in the name of the > adressfiles, so for instance: > > "0B4A452B-0669-483C-B85E-4DB56F4CA2EC/ABPerson.abcdp" > > If I do > put url("file:"&CardFilePath) into CardData > it is empty. > > Any Help? Try substituting a colon (:) for the slash - the Rev engine will internally do this if it encounters a slash in a legitimate file name, so it should probably work too. BTW: Any reason you're reading the record files "raw" instead of using AppleScript? Just curious... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Tue Nov 27 23:24:33 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 27 Nov 2007 22:24:33 -0600 Subject: How to get PHP to pass colored text to RTF text in Revolution? In-Reply-To: <8C9FF53AB6A989C-6EC-2945@MBLK-M23.sysops.aol.com> References: <8C9FF53AB6A989C-6EC-2945@MBLK-M23.sysops.aol.com> Message-ID: <20071127222433390634.78f58520@sonsothunder.com> On Tue, 27 Nov 2007 16:29:04 -0500, rgould8 at aol.com wrote: > > The problem I'm seeing when I use this technique is that Revolution > no longer pays attention to the "hard column stops" in the table > field object when I start using the HTMLTEXT method.? It is likely due to the placement of the tab ( ) in your text; something I discovered a long time ago. Check out this tip: http://www.sonsothunder.com/devres/revolution/tips/fld005.htm Basically you need to include the tab *inside* the style run for the column... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From chipp at chipp.com Wed Nov 28 01:05:27 2007 From: chipp at chipp.com (Chipp Walters) Date: Wed, 28 Nov 2007 00:05:27 -0600 Subject: How to create a 4 second Quicktime Mov with a single JPEG Message-ID: <7aa52a210711272205s20e3c3d0w6f4c86f6094a99b2@mail.gmail.com> Any ideas anyone? I want to create (by script) a 4 second QT mov containing no audio track but a single image file. TIA. Chipp From josh at dvcreators.net Wed Nov 28 02:09:22 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 27 Nov 2007 23:09:22 -0800 Subject: How to create a 4 second Quicktime Mov with a single JPEG In-Reply-To: <7aa52a210711272205s20e3c3d0w6f4c86f6094a99b2@mail.gmail.com> References: <7aa52a210711272205s20e3c3d0w6f4c86f6094a99b2@mail.gmail.com> Message-ID: <3AAC7005-D3CA-40D8-9C7F-DF80F83B7A91@dvcreators.net> Load the image into a player object, then use Trevor's QT external to export to a movie. If you can give me more info on what kind of movie, I can send you a binary file with optimized settings, you can load the settings and voila... or, as a friend says, "Viola!" put URL ("binfile:" & tSettingsFileName) into tSettingData qtExport moviecontrollerid of player 1, 0, tOutputPathAndFile, "movie", "tSettingData" On Nov 27, 2007, at 10:05 PM, Chipp Walters wrote: > Any ideas anyone? I want to create (by script) a 4 second QT mov > containing no audio track but a single image file. > > TIA. Chipp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From josh at dvcreators.net Wed Nov 28 02:15:48 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 27 Nov 2007 23:15:48 -0800 Subject: [ANN] Quartz Composer tutorial Message-ID: For anyone on OS X 10.4 or 10.5 who wants to watch a cool tutorial movie about Quartz Composer: http://dvcreators.net/media/tiplets/complete_rayz_of_lite.mov On OSX (only), QT has a Quartz Composer codec, you can load QC projects into a Player object and do amazing graphics in real-time tapping the power of OpenGL, Core Video and Core Image. Since a QC (.qtz) project is just an XML file, you could make Revolution generate an XML file with a .qtz extension, that can then be loaded back into a Player object. The possibilities with this are staggering. QC allows you to script graphics- for example, if you want a 3D matrix of 8 x 8 x 8 floating cubes with movies on each side, you need only make one cube and run it through a few replicate patches and a 3D Transformation. QC is even a little cooler in Leopard. From chipp at chipp.com Wed Nov 28 02:31:13 2007 From: chipp at chipp.com (Chipp Walters) Date: Wed, 28 Nov 2007 01:31:13 -0600 Subject: How to create a 4 second Quicktime Mov with a single JPEG In-Reply-To: <3AAC7005-D3CA-40D8-9C7F-DF80F83B7A91@dvcreators.net> References: <7aa52a210711272205s20e3c3d0w6f4c86f6094a99b2@mail.gmail.com> <3AAC7005-D3CA-40D8-9C7F-DF80F83B7A91@dvcreators.net> Message-ID: <7aa52a210711272331g558201adubd3873cc544ed792@mail.gmail.com> But that only exports a 1/15 second movie. Turns out I just needed to copy and insert the image 75 times to create a 5 second clip. Then I export using animation codec and the file stays small... Now, how to put an image file into the length of an existing mp3 movie? IOW, I set the filename of the player to fred.mp3, but I would like the image to stay the same for the length of the mp3 song. Any ideas? -Chipp On Nov 28, 2007 1:09 AM, Josh Mellicker wrote: > Load the image into a player object, then use Trevor's QT external to > export to a movie. From chipp at chipp.com Wed Nov 28 03:12:44 2007 From: chipp at chipp.com (Chipp Walters) Date: Wed, 28 Nov 2007 02:12:44 -0600 Subject: How to create a 4 second Quicktime Mov with a single JPEG In-Reply-To: <7aa52a210711272331g558201adubd3873cc544ed792@mail.gmail.com> References: <7aa52a210711272205s20e3c3d0w6f4c86f6094a99b2@mail.gmail.com> <3AAC7005-D3CA-40D8-9C7F-DF80F83B7A91@dvcreators.net> <7aa52a210711272331g558201adubd3873cc544ed792@mail.gmail.com> Message-ID: <7aa52a210711280012q5b0f056do923daf48abf36da7@mail.gmail.com> Figured that one out too. You only need to select the part of the movie and then copy the single frame image movie to the clipboard and then do a qtAddMovieSegment MovieControllerID, Scaled with Scaled = true On Nov 28, 2007 1:31 AM, Chipp Walters wrote: > Now, how to put an image file into the length of an existing mp3 > movie? IOW, I set the filename of the player to fred.mp3, but I would > like the image to stay the same for the length of the mp3 song. Any > ideas? From josh at dvcreators.net Wed Nov 28 04:00:05 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Wed, 28 Nov 2007 01:00:05 -0800 Subject: How to create a 4 second Quicktime Mov with a single JPEG In-Reply-To: <7aa52a210711280012q5b0f056do923daf48abf36da7@mail.gmail.com> References: <7aa52a210711272205s20e3c3d0w6f4c86f6094a99b2@mail.gmail.com> <3AAC7005-D3CA-40D8-9C7F-DF80F83B7A91@dvcreators.net> <7aa52a210711272331g558201adubd3873cc544ed792@mail.gmail.com> <7aa52a210711280012q5b0f056do923daf48abf36da7@mail.gmail.com> Message-ID: Ah, you beat me to it! On Nov 28, 2007, at 12:12 AM, Chipp Walters wrote: > Figured that one out too. You only need to select the part of the > movie and then copy the single frame image movie to the clipboard and > then do a > qtAddMovieSegment MovieControllerID, Scaled with Scaled = true > > On Nov 28, 2007 1:31 AM, Chipp Walters wrote: > >> Now, how to put an image file into the length of an existing mp3 >> movie? IOW, I set the filename of the player to fred.mp3, but I would >> like the image to stay the same for the length of the mp3 song. Any >> ideas? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mikeythek at gmail.com Wed Nov 28 12:11:25 2007 From: mikeythek at gmail.com (Mikey) Date: Wed, 28 Nov 2007 12:11:25 -0500 Subject: Table Field Cell Properties Message-ID: <9b408d8e0711280911y28ca7c4fxbfc4b070e14198cc@mail.gmail.com> Is there some way to set properties of an individual cell in a table field? For example, can I lock a particular row, set the text attributes of a particular cell? Forgive me if this is in the User Manual. I didn't find it. From stephenREVOLUTION2 at barncard.com Wed Nov 28 13:00:44 2007 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Wed, 28 Nov 2007 10:00:44 -0800 Subject: Table Field Cell Properties In-Reply-To: <9b408d8e0711280911y28ca7c4fxbfc4b070e14198cc@mail.gmail.com> References: <9b408d8e0711280911y28ca7c4fxbfc4b070e14198cc@mail.gmail.com> Message-ID: Eric Chatonet has devoted some research into the strange and lightly documented world of table fields. He can help you with making this work. Download his Tutorials Picker (with tons of other great tips) http://www.sosmartsoftware.com/?r=revolution_didacticiels&l=en or separate lesson #016 How to manage table fields Having said that, you can also set some properties of individual text chunks in htmltext and regular text. for instance, you can do this in a script set the textStyle of line 1 of fld "output" to link and that will turn whatever text is in line 1 of fld "output" into a link then trap the event in a linkClicked handler: on linkClicked theText -- open the URL stored with the clicked text if theText is not empty then revGoURL theText end linkClicked >Is there some way to set properties of an individual cell in a table >field? For example, can I lock a particular row, set the text >attributes of a particular cell? > >Forgive me if this is in the User Manual. I didn't find it. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From kray at sonsothunder.com Wed Nov 28 13:17:28 2007 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 28 Nov 2007 12:17:28 -0600 Subject: Any suggestions on how to "onion skinning"? Message-ID: <20071128121728310229.671d0569@sonsothunder.com> I'm working on a program with my son that does simple card-based animation, but one of the things he asked how to do in Rev stumped me, and that is doing an "onion skin" - showing a "grayed out" version of the previous card's objects on the current card. I know how to do *some* of it (I can take actual Rev objects from the previous card, copy them, change their lines/fills/blends/etc. to work and then group them and put them behind the current set of objects on the current card), but what stumps me is how to handle imported/created images. At best, what I'd *like* to do is to basically convert images to grayscale, and at worst I'd settle for turning all non-white pixels a single color of gray. I know I can walk through the imageData and convert things pixel by pixel, but I fear that would be really slow on larger (say 800x600) images (although I haven't tried it yet). Any suggestions? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From runrev at dreamscapesoftware.com Wed Nov 28 13:30:33 2007 From: runrev at dreamscapesoftware.com (Derek Bump) Date: Wed, 28 Nov 2007 12:30:33 -0600 Subject: Program problems on Windows Vista In-Reply-To: References: <474CB24F.7050608@dreamscapesoftware.com> <68310230-A56A-4BA3-A980-201B1426442F@elementarysoftware.com> <474CCC8E.9020303@dreamscapesoftware.com> Message-ID: <474DB3C9.6060006@dreamscapesoftware.com> Scott, So far, just one user. One one system the "hidden" Vista Administrator is activated, as I was told, so I'm checking to see if the other person has that account activated. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___________________________________________________________________ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ Scott Morrow wrote: > Hello Derek, > > I use VB scripts to create a similar system profile though I'm darned > ignorant of how that stuff works. Would something in your system > profiler have called something not supported in the current version of VB ? > > What did you do to find out information about multiple users? I'm > pretty sure my profiler doesn't return that info. > > -Scott > > On Nov 27, 2007, at 6:03 PM, Derek Bump wrote: > >> Thanks Scott. >> >> I just created a system profiler that generates a report about nearly >> every aspect of the system and emails it to me. I just finished testing >> it on XP Home and Vista Home Premium and it worked wonderfully. I did >> get an interesting error on Vista though: >> >> "This program requires MSVBVM50.dll, which is no longer included in this >> version of Windows." >> >> >> Derek Bump >> Dreamscape Software >> http://www.dreamscapesoftware.com >> >> ___________________________________________________________________ >> Compress your photos quickly and easily with JPEGCompress 2.9! >> >> http://www.dreamscapesoftware.com/products/jpegcompress/ >> >> >> >> Scott Morrow wrote: >>> Hello Derek, >>> I am trying to pin down a (similar?) problem that happens if the >>> application is being run on a multiple-user system but it is not >>> installed or launched by the primary user. Just a thought in the dark. >>> >>> -Scott Morrow >>> >>> Elementary Software >>> (Now with 20% less chalk dust !) >>> web http://elementarysoftware.com/ >>> email scott at elementarysoftware.com >>> >>> ----------------------------------------------------------------- >>> >>> On Nov 27, 2007, at 4:11 PM, Derek Bump wrote: >>> >>>> I'm wondering if anyone has been experiencing this problem and knows >>>> how >>>> to solve it. I've got 2 customers, one is using Windows Vista Home >>>> Premium and the other is using Windows Vista Business. They both >>>> experience the same problem with JPEGCompress 2.9. >>>> >>>> They can launch the program once, use it just fine, and then close it. >>>> When they attempt to launch the program again, they get a Windows error >>>> message saying that the program cannot be opened. One user supplied me >>>> with the following Windows Error Data: >>>> >>>> Problem signature: >>>> Problem Event Name: APPCRASH >>>> Application Name: JPEGCompress.exe >>>> Application Version: 2.9.0.0 >>>> Application Timestamp: 467ba830 >>>> Fault Module Name: ntdll.dll >>>> Fault Module Version: 6.0.6000.16386 >>>> Fault Module Timestamp: 4549bdc9 >>>> Exception Code: c0000005 >>>> Exception Offset: 00061c02 >>>> OS Version: 6.0.6000.2.0.0.256.6 >>>> Locale ID: 1032 >>>> Additional Information 1: 64d7 >>>> Additional Information 2: 081335f078811e1fd639bc6c63d83627 >>>> Additional Information 3: 3fdc >>>> Additional Information 4: 35fc8982503f4afb4ff8fb0737cc1a55 >>>> >>>> So far I've tested JPEGCompress 2.9 on Windows Vista Home Basic, Home >>>> Premium, Business and Ultimate. Premium, Business and Ultimate were >>>> all >>>> checked using VMWare. >>>> >>>> So far I am unable to identify any common ground between the two users >>>> other than they are using Windows Vista. Any ideas? >>>> >>>> I've had them try the program in Safe Mode, uninstalling and >>>> re-installing, they all have enough memory and disk space, latest >>>> updates. I'm running out of 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 >>>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at tactilemedia.com Wed Nov 28 14:44:56 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 28 Nov 2007 11:44:56 -0800 Subject: Any suggestions on how to "onion skinning"? In-Reply-To: <20071128121728310229.671d0569@sonsothunder.com> Message-ID: Recently, Ken Ray wrote: > I'm working on a program with my son that does simple card-based > animation, but one of the things he asked how to do in Rev stumped me, > and that is doing an "onion skin" I would try overlaying a translucent screen capture of the prev or next card. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From revlist at azurevision.co.uk Wed Nov 28 15:19:27 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 28 Nov 2007 20:19:27 +0000 Subject: Any suggestions on how to "onion skinning"? In-Reply-To: References: Message-ID: On 28 Nov 2007, at 19:44, Scott Rossi wrote: > Recently, Ken Ray wrote: > >> I'm working on a program with my son that does simple card-based >> animation, but one of the things he asked how to do in Rev stumped >> me, >> and that is doing an "onion skin" > > I would try overlaying a translucent screen capture of the prev or > next > card. Agreed. Or do it by taking a snapshot directly from the card - this should work even if it's not the frontmost card. On 28 Nov 2007, at 18:17, Ken Ray wrote: > At best, what I'd *like* to do is to basically convert images to > grayscale, and at worst I'd settle for turning all non-white pixels a > single color of gray. I know I can walk through the imageData and > convert things pixel by pixel, but I fear that would be really slow on > larger (say 800x600) images (although I haven't tried it yet). It might be worth having a look through the ink modes, I *think* there was some trick for getting near-greyscale by layering black and white graphics above and below the image, but I can't remember any details. :-( Ian From kray at sonsothunder.com Wed Nov 28 15:41:30 2007 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 28 Nov 2007 14:41:30 -0600 Subject: Any suggestions on how to "onion skinning"? In-Reply-To: References: Message-ID: <20071128144130521145.5306796e@sonsothunder.com> On Wed, 28 Nov 2007 20:19:27 +0000, Ian Wood wrote: >>> I'm working on a program with my son that does simple card-based >>> animation, but one of the things he asked how to do in Rev stumped me, >>> and that is doing an "onion skin" >> >> I would try overlaying a translucent screen capture of the prev or next >> card. > > Agreed. Or do it by taking a snapshot directly from the card - this > should work even if it's not the frontmost card. The problem with those is that if the card has color in it, the translucency is also in color. I was hoping to keep it in grayscale/gray. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From chipp at chipp.com Wed Nov 28 16:24:09 2007 From: chipp at chipp.com (Chipp Walters) Date: Wed, 28 Nov 2007 15:24:09 -0600 Subject: Any suggestions on how to "onion skinning"? In-Reply-To: <20071128144130521145.5306796e@sonsothunder.com> References: <20071128144130521145.5306796e@sonsothunder.com> Message-ID: <7aa52a210711281324j7cb83244i1cd0dc553330fed5@mail.gmail.com> Hi Ken, You could use Wilhelm Sanke's image tools to remove the color from the screencaptured image. I think that would actually be pretty fast. Or, you could probably do it really fast with an optimized imagedata script where you average the values of each pixel and reapply. I would think that would zip right along. best, Chipp From JimAultWins at yahoo.com Wed Nov 28 16:30:54 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 28 Nov 2007 13:30:54 -0800 Subject: Any suggestions on how to "onion skinning"? In-Reply-To: <20071128144130521145.5306796e@sonsothunder.com> Message-ID: change the blending of the snapshot to see if that gets you the contrast or color reversal or transparency... Jim Ault Las Vegas On 11/28/07 12:41 PM, "Ken Ray" wrote: > On Wed, 28 Nov 2007 20:19:27 +0000, Ian Wood wrote: > >>>> I'm working on a program with my son that does simple card-based >>>> animation, but one of the things he asked how to do in Rev stumped me, >>>> and that is doing an "onion skin" >>> >>> I would try overlaying a translucent screen capture of the prev or next >>> card. >> >> Agreed. Or do it by taking a snapshot directly from the card - this >> should work even if it's not the frontmost card. > > The problem with those is that if the card has color in it, the > translucency is also in color. I was hoping to keep it in > grayscale/gray. > From mfstuart at cox.net Wed Nov 28 17:23:31 2007 From: mfstuart at cox.net (mfstuart) Date: Wed, 28 Nov 2007 14:23:31 -0800 (PST) Subject: Text orientation to vertical Message-ID: <14012584.post@talk.nabble.com> Hi all, Can runrev support the 90 degree (vertical) orientation of text? I'd like to have this applied onto a push button. Thanx, Mark Stuart -- View this message in context: http://www.nabble.com/Text-orientation-to-vertical-tf4893109.html#a14012584 Sent from the Revolution - User mailing list archive at Nabble.com. From alisterhp at mac.com Wed Nov 28 17:30:50 2007 From: alisterhp at mac.com (Alister Pillow) Date: Thu, 29 Nov 2007 09:00:50 +1030 Subject: prevent multiple instances of an application Message-ID: <81D83546-20F7-4D3D-A248-149D45FC0211@mac.com> Hello and greetings from sunny Adelaide, Does anyone know how to prevent launching multiple instances of a Standalone in Windows? I have added a url protocol to the Registry that launches my app when a (custom) link is clicked in a web-browser. I would like the app to remain open and respond to further messages. Instead, each time a link is clicked, another copy of the app is opened. When searching the web for an answer to this, all I could find is examples (in VB or Delphi etc) of an app checking to see if another copy of itself is running. Surely there must be an easier way? Thanks, Alister. From m.schonewille at economy-x-talk.com Wed Nov 28 17:40:24 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 28 Nov 2007 23:40:24 +0100 Subject: prevent multiple instances of an application In-Reply-To: <81D83546-20F7-4D3D-A248-149D45FC0211@mac.com> References: <81D83546-20F7-4D3D-A248-149D45FC0211@mac.com> Message-ID: <59B18319-C27F-4D07-8EF8-6713CA503143@economy-x-talk.com> Hi Alister, You will want to check out the relaunch message in the docs. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 28-nov-2007, om 23:30 heeft Alister Pillow het volgende geschreven: > Hello and greetings from sunny Adelaide, > > Does anyone know how to prevent launching multiple instances of a > Standalone in Windows? > > I have added a url protocol to the Registry that launches my app > when a (custom) link is clicked in a web-browser. I would like the > app to remain open and respond to further messages. Instead, each > time a link is clicked, another copy of the app is opened. > > When searching the web for an answer to this, all I could find is > examples (in VB or Delphi etc) of an app checking to see if another > copy of itself is running. Surely there must be an easier way? > > Thanks, > Alister. From andre at andregarzia.com Wed Nov 28 17:47:03 2007 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 28 Nov 2007 20:47:03 -0200 Subject: prevent multiple instances of an application In-Reply-To: <81D83546-20F7-4D3D-A248-149D45FC0211@mac.com> References: <81D83546-20F7-4D3D-A248-149D45FC0211@mac.com> Message-ID: <7c87a2a10711281447u3af32068pad3707259181612a@mail.gmail.com> Alister, I am quoting from memory here but I do think there's some message 'relaunch' that is triggered on the first instance in the case a second instance is launched or something like that. This of couse only works on windows since mac os x does not allow multiple instances (legacy behavior from classic times) and linux is the wild west. If you need to implement it by hand, create a lock file scheme like this: Step #1) check for the presence of a file "lock file" (or whichever name you want). Step #2) If the file is present, check it's content, it will be a time stamp, if the timestamp is more than 10 minutes old... assume the application crashed and launch normally or do crash recovery routines. Step #3) If the time stamp on the file is younger than 10 minutes then theres an active copy of the software running, shut down the second issue and maybe signal the first instance somehow. Step #4) If the file is not present launch normally and create "lock file" with the current time. Step #5) Every 5 minutes update that timestamp. Step #6) When shutting down, delete the lock file. I think this more or less solve your problems. Andre On 11/28/07, Alister Pillow wrote: > Hello and greetings from sunny Adelaide, > > Does anyone know how to prevent launching multiple instances of a > Standalone in Windows? > > I have added a url protocol to the Registry that launches my app when > a (custom) link is clicked in a web-browser. I would like the app to > remain open and respond to further messages. Instead, each time a > link is clicked, another copy of the app is opened. > > When searching the web for an answer to this, all I could find is > examples (in VB or Delphi etc) of an app checking to see if another > copy of itself is running. Surely there must be an easier way? > > Thanks, > Alister. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Wed Nov 28 17:50:11 2007 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 28 Nov 2007 20:50:11 -0200 Subject: Any suggestions on how to "onion skinning"? In-Reply-To: References: <20071128144130521145.5306796e@sonsothunder.com> Message-ID: <7c87a2a10711281450o2461aef6n2fcd04c88a9f1396@mail.gmail.com> Ken, Have you tried snapshoting the card, then somewhere off screen you put a gray image on top of the snapshot with some blend and take another shot. Depending on ink combinations you might have a nice result. Another way, which I don't know how fast it is, is to read each pixel in the snapshot and convert it using some proportional gray value. Andre On 11/28/07, Jim Ault wrote: > change the blending of the snapshot to see if that gets you the contrast or > color reversal or transparency... > > Jim Ault > Las Vegas > > > On 11/28/07 12:41 PM, "Ken Ray" wrote: > > > On Wed, 28 Nov 2007 20:19:27 +0000, Ian Wood wrote: > > > >>>> I'm working on a program with my son that does simple card-based > >>>> animation, but one of the things he asked how to do in Rev stumped me, > >>>> and that is doing an "onion skin" > >>> > >>> I would try overlaying a translucent screen capture of the prev or next > >>> card. > >> > >> Agreed. Or do it by taking a snapshot directly from the card - this > >> should work even if it's not the frontmost card. > > > > The problem with those is that if the card has color in it, the > > translucency is also in color. I was hoping to keep it in > > grayscale/gray. > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From scott at tactilemedia.com Wed Nov 28 17:53:48 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 28 Nov 2007 14:53:48 -0800 Subject: Text orientation to vertical In-Reply-To: <14012584.post@talk.nabble.com> Message-ID: Recently, mfstuart wrote: > Can runrev support the 90 degree (vertical) orientation of text? > I'd like to have this applied onto a push button. Not real text -- you need to use a rotated image. In theory you could apply the image to the button as an icon. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From revlist at azurevision.co.uk Wed Nov 28 18:06:41 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 28 Nov 2007 23:06:41 +0000 Subject: Any suggestions on how to "onion skinning"? In-Reply-To: <7aa52a210711281324j7cb83244i1cd0dc553330fed5@mail.gmail.com> References: <20071128144130521145.5306796e@sonsothunder.com> <7aa52a210711281324j7cb83244i1cd0dc553330fed5@mail.gmail.com> Message-ID: On 28 Nov 2007, at 21:24, Chipp Walters wrote: > Or, you could probably do it really fast with an optimized imagedata > script where you average the values of each pixel and reapply. I would > think that would zip right along. I managed to find a function from March last year from a discussion about making alphadata from images. Originally written by Wilhelm Sanke, with a few tweaks by me to make it universal for any image size. Pass it the long ID of an image and it will return a one-channel image suitable for a mask. On 13 Mar 2006, at 20:51, Ian Wood wrote: > function makeMask tMaskImg > set the cursor to watch > put width of tMaskImg into tW > put height of tMaskImg into tH > put the milliseconds into Start > put the imageData of tMaskImg into iData > put empty into tmaskdata > put tW * 4 into re > repeat with i = 0 to (tH - 1) > repeat with j = 0 to (tW - 1) > put chartonum(char (i*re + (j*4+2)) of idata) into tC1 > put chartonum(char (i*re + (j*4+3)) of idata) into tC2 > put chartonum(char (i*re + (j*4+4)) of idata) into tC3 > put the round of ((tc1 + tc2 + tc3)/3) into tM > put numToChar(tM) after tMaskData > end repeat > end repeat > return tMaskData > end makeMask Add another tweak to put it back into RGB: function makeMask tMaskImg set the cursor to watch put width of tMaskImg into tW put height of tMaskImg into tH put the milliseconds into Start put the imageData of tMaskImg into iData put empty into tmaskdata put tW * 4 into re repeat with i = 0 to (tH - 1) repeat with j = 0 to (tW - 1) put chartonum(char (i*re + (j*4+2)) of idata) into tC1 put chartonum(char (i*re + (j*4+3)) of idata) into tC2 put chartonum(char (i*re + (j*4+4)) of idata) into tC3 put the round of ((tc1 + tc2 + tc3)/3) into tM put numToChar(tM) into tPix put tPix & tPix & tPix & tPix after tMaskData end repeat end repeat return tMaskData end makeMask And you can do something like: put makeMask(long id of img 1) into tData set the imagedata of img 1 to tData to turn the specified image into greyscale. Takes about a second for a 640x480px image on a MBP 2GHz Core Duo, so not too speedy. Ian From andre at andregarzia.com Wed Nov 28 18:09:43 2007 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 28 Nov 2007 21:09:43 -0200 Subject: How to create a 4 second Quicktime Mov with a single JPEG In-Reply-To: <7aa52a210711280012q5b0f056do923daf48abf36da7@mail.gmail.com> References: <7aa52a210711272205s20e3c3d0w6f4c86f6094a99b2@mail.gmail.com> <3AAC7005-D3CA-40D8-9C7F-DF80F83B7A91@dvcreators.net> <7aa52a210711272331g558201adubd3873cc544ed792@mail.gmail.com> <7aa52a210711280012q5b0f056do923daf48abf36da7@mail.gmail.com> Message-ID: <7c87a2a10711281509o34351c63h9cc15de3eb0d5609@mail.gmail.com> Chipp, Its half-OT. I am using a combination of altBrowser and flash player to play movies and mp3 files with thumbnails inside rev. This is working fine and is behaving better as a cross platform solution for us. What I do is: I generate on runtime an HTML with JW Flash Media Player. Our movies are meant to be loaded over the internet so, I can load the needed player over the internet too. I set it to a rect of the stack, the user doesn't even notice that part of the card is actually a web view, it all feels like a simple embed player. There's just a simple trip to fetch the player (couple kb) and the movies. Depending on the movie format, I switch to QT inside the altBrowser window. So in the end we're able to play a lot of movie files that were not playing inside revs own qt player. Cheers andre From mfstuart at cox.net Wed Nov 28 19:13:21 2007 From: mfstuart at cox.net (mfstuart) Date: Wed, 28 Nov 2007 16:13:21 -0800 (PST) Subject: Text orientation to vertical In-Reply-To: References: <14012584.post@talk.nabble.com> Message-ID: <14016429.post@talk.nabble.com> Thanx for your answer Scott. Would be a nice enhancement to have an orientation property for a text type object. Scott Rossi wrote: > > Recently, mfstuart wrote: > >> Can runrev support the 90 degree (vertical) orientation of text? >> I'd like to have this applied onto a push button. > > Not real text -- you need to use a rotated image. In theory you could > apply > the image to the button as an icon. > > 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 > > -- View this message in context: http://www.nabble.com/Text-orientation-to-vertical-tf4893109.html#a14016429 Sent from the Revolution - User mailing list archive at Nabble.com. From kray at sonsothunder.com Wed Nov 28 19:38:13 2007 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 28 Nov 2007 18:38:13 -0600 Subject: Any suggestions on how to "onion skinning"? In-Reply-To: References: <20071128144130521145.5306796e@sonsothunder.com> <7aa52a210711281324j7cb83244i1cd0dc553330fed5@mail.gmail.com> Message-ID: <20071128183813284408.2585e8ba@sonsothunder.com> > to turn the specified image into greyscale. Takes about a second for > a 640x480px image on a MBP 2GHz Core Duo, so not too speedy. Thanks, Ian! I'll give that a try... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Wed Nov 28 19:39:43 2007 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 28 Nov 2007 18:39:43 -0600 Subject: Any suggestions on how to "onion skinning"? In-Reply-To: <7c87a2a10711281450o2461aef6n2fcd04c88a9f1396@mail.gmail.com> References: <20071128144130521145.5306796e@sonsothunder.com> <7c87a2a10711281450o2461aef6n2fcd04c88a9f1396@mail.gmail.com> Message-ID: <20071128183943168383.93d3fb79@sonsothunder.com> On Wed, 28 Nov 2007 20:50:11 -0200, Andre Garzia wrote: > Ken, > > Have you tried snapshoting the card, then somewhere off screen you put > a gray image on top of the snapshot with some blend and take another > shot. Depending on ink combinations you might have a nice result. Good idea - I'll compare that speed-wise with other suggestions people have made. > Another way, which I don't know how fast it is, is to read each pixel > in the snapshot and convert it using some proportional gray value. Yeah, that was Chipp's suggestion - which I might use too - took about 500ms on a 400x400 image on my MacBookPro. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From runrevron at gmail.com Wed Nov 28 20:59:41 2007 From: runrevron at gmail.com (ron barber) Date: Thu, 29 Nov 2007 10:59:41 +0900 Subject: menu accelerators problem Message-ID: <5825034a0711281759g5a3c8c9cr6d62d1b1f3fb52f6@mail.gmail.com> Hi All, the 2.8.1 engine change log says: "The menu accelerators now also work as you would intuitively expect. i.e. * the active menubar gets sent a mouseDown message before being searched for non-disabled accelerators * the active menubar gets sent a menuPick message if one of its accelerators is activated if the commandKeyDown/controlKeyDown message is passed" I have a Windows app with several windows, some of the windows have two menus (groups of btns) on them, one English the other Japanese. Depending on the interface the user chooses, the appropriate menu is shown and the other is hidden. I enable/disable menu items appropriate to the context - eg 'copy' is disabled when no text is selected - when the menu has a mousedown. My problem is that the accelerators do not work on any items that are en/disabled. (items that are never disabled respond correctly to the accelerator keys). When I check the contents of the btn they are still disabled - meaning the menubar is not receiving the mousedown message before being searched. The "active" menubar must be my problem but I can't seem to make the visible menubar receive the mousedown. I have tried bringing it to the front, disabling the hidden menubar etc but it does not seem to work. Any suggestions on how to get the visible menubar on the topstack to respond to accelerators on a Windows app? Thanks Ron From mark at maseurope.net Wed Nov 28 22:32:41 2007 From: mark at maseurope.net (Mark Smith) Date: Thu, 29 Nov 2007 03:32:41 +0000 Subject: Any suggestions on how to "onion skinning"? In-Reply-To: References: <20071128144130521145.5306796e@sonsothunder.com> <7aa52a210711281324j7cb83244i1cd0dc553330fed5@mail.gmail.com> Message-ID: This is sort of interesting: if you simply take one of the color bytes of each pixel, and copy it to the other two color bytes, you get a gray-scale result. The brightness/contrast varies with which color you choose. For the few images I've tried, it seems to be red =brighter/less contrast to blue= darker/more contrast. This may be no surprise to the pro image wranglers among us, but seemed intriguing to me. function MakeGS @indata ---- the imageData of the source image repeat with n = 1 to length(inData) - 3 step 4 get char n+3 of inData ---- blue byte, 1 for red, 2 for green put null & it & it & it after outData end repeat return outData end MakeGS and it runs perhaps twice as fast as taking an average. Best, Mark On 28 Nov 2007, at 23:06, Ian Wood wrote: > > On 28 Nov 2007, at 21:24, Chipp Walters wrote: > >> Or, you could probably do it really fast with an optimized imagedata >> script where you average the values of each pixel and reapply. I >> would >> think that would zip right along. > > I managed to find a function from March last year from a discussion > about making alphadata from images. > Originally written by Wilhelm Sanke, with a few tweaks by me to > make it universal for any image size. > > Pass it the long ID of an image and it will return a one-channel > image suitable for a mask. > > On 13 Mar 2006, at 20:51, Ian Wood wrote: >> function makeMask tMaskImg >> set the cursor to watch >> put width of tMaskImg into tW >> put height of tMaskImg into tH >> put the milliseconds into Start >> put the imageData of tMaskImg into iData >> put empty into tmaskdata >> put tW * 4 into re >> repeat with i = 0 to (tH - 1) >> repeat with j = 0 to (tW - 1) >> put chartonum(char (i*re + (j*4+2)) of idata) into tC1 >> put chartonum(char (i*re + (j*4+3)) of idata) into tC2 >> put chartonum(char (i*re + (j*4+4)) of idata) into tC3 >> put the round of ((tc1 + tc2 + tc3)/3) into tM >> put numToChar(tM) after tMaskData >> end repeat >> end repeat >> return tMaskData >> end makeMask > > Add another tweak to put it back into RGB: > > function makeMask tMaskImg > set the cursor to watch > put width of tMaskImg into tW > put height of tMaskImg into tH > put the milliseconds into Start > put the imageData of tMaskImg into iData > put empty into tmaskdata > put tW * 4 into re > repeat with i = 0 to (tH - 1) > repeat with j = 0 to (tW - 1) > put chartonum(char (i*re + (j*4+2)) of idata) into tC1 > put chartonum(char (i*re + (j*4+3)) of idata) into tC2 > put chartonum(char (i*re + (j*4+4)) of idata) into tC3 > put the round of ((tc1 + tc2 + tc3)/3) into tM > put numToChar(tM) into tPix > put tPix & tPix & tPix & tPix after tMaskData > end repeat > end repeat > return tMaskData > end makeMask > > And you can do something like: > > put makeMask(long id of img 1) into tData > set the imagedata of img 1 to tData > > to turn the specified image into greyscale. Takes about a second > for a 640x480px image on a MBP 2GHz Core Duo, so not too speedy. > > Ian > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sarah.reichelt at gmail.com Wed Nov 28 22:34:04 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 29 Nov 2007 13:34:04 +1000 Subject: menu accelerators problem In-Reply-To: <5825034a0711281759g5a3c8c9cr6d62d1b1f3fb52f6@mail.gmail.com> References: <5825034a0711281759g5a3c8c9cr6d62d1b1f3fb52f6@mail.gmail.com> Message-ID: > I have a Windows app with several windows, some of the windows have > two menus (groups of btns) on them, one English the other Japanese. > Depending on the interface the user chooses, the appropriate menu is > shown and the other is hidden. I enable/disable menu items appropriate > to the context - eg 'copy' is disabled when no text is selected - when > the menu has a mousedown. > > My problem is that the accelerators do not work on any items that are > en/disabled. (items that are never disabled respond correctly to the > accelerator keys). Instead of enabling/disabling, what happens if you use "set the menubar of this stack to ..." or even "set the defaultMenubar to ..." Sarah From chipp at chipp.com Wed Nov 28 22:59:57 2007 From: chipp at chipp.com (Chipp Walters) Date: Wed, 28 Nov 2007 21:59:57 -0600 Subject: Any suggestions on how to "onion skinning"? In-Reply-To: References: <20071128144130521145.5306796e@sonsothunder.com> <7aa52a210711281324j7cb83244i1cd0dc553330fed5@mail.gmail.com> Message-ID: <7aa52a210711281959l15ef84b6sb205c66c4cf088c1@mail.gmail.com> Mark, Unless you average the 3, your gray-scale result may not work properly. Try it on an image with 3 circles: 100%R, 100%G, 100%B and you'll see what I mean. On Nov 28, 2007 9:32 PM, Mark Smith wrote: > This is sort of interesting: > > if you simply take one of the color bytes of each pixel, and copy it > to the other two color bytes, you get a gray-scale result. The > brightness/contrast varies with which color you choose. For the few > images I've tried, it seems to be red =brighter/less contrast to > blue= darker/more contrast. This may be no surprise to the pro image > wranglers among us, but seemed intriguing to me. > > function MakeGS @indata ---- the imageData of the source image > repeat with n = 1 to length(inData) - 3 step 4 > get char n+3 of inData ---- blue byte, 1 for red, 2 for green > put null & it & it & it after outData > end repeat > return outData > end MakeGS > > and it runs perhaps twice as fast as taking an average. > > Best, > > Mark > > > > > On 28 Nov 2007, at 23:06, Ian Wood wrote: > > > > > On 28 Nov 2007, at 21:24, Chipp Walters wrote: > > > >> Or, you could probably do it really fast with an optimized imagedata > >> script where you average the values of each pixel and reapply. I > >> would > >> think that would zip right along. > > > > I managed to find a function from March last year from a discussion > > about making alphadata from images. > > Originally written by Wilhelm Sanke, with a few tweaks by me to > > make it universal for any image size. > > > > Pass it the long ID of an image and it will return a one-channel > > image suitable for a mask. > > > > On 13 Mar 2006, at 20:51, Ian Wood wrote: > >> function makeMask tMaskImg > >> set the cursor to watch > >> put width of tMaskImg into tW > >> put height of tMaskImg into tH > >> put the milliseconds into Start > >> put the imageData of tMaskImg into iData > >> put empty into tmaskdata > >> put tW * 4 into re > >> repeat with i = 0 to (tH - 1) > >> repeat with j = 0 to (tW - 1) > >> put chartonum(char (i*re + (j*4+2)) of idata) into tC1 > >> put chartonum(char (i*re + (j*4+3)) of idata) into tC2 > >> put chartonum(char (i*re + (j*4+4)) of idata) into tC3 > >> put the round of ((tc1 + tc2 + tc3)/3) into tM > >> put numToChar(tM) after tMaskData > >> end repeat > >> end repeat > >> return tMaskData > >> end makeMask > > > > Add another tweak to put it back into RGB: > > > > function makeMask tMaskImg > > set the cursor to watch > > put width of tMaskImg into tW > > put height of tMaskImg into tH > > put the milliseconds into Start > > put the imageData of tMaskImg into iData > > put empty into tmaskdata > > put tW * 4 into re > > repeat with i = 0 to (tH - 1) > > repeat with j = 0 to (tW - 1) > > put chartonum(char (i*re + (j*4+2)) of idata) into tC1 > > put chartonum(char (i*re + (j*4+3)) of idata) into tC2 > > put chartonum(char (i*re + (j*4+4)) of idata) into tC3 > > put the round of ((tc1 + tc2 + tc3)/3) into tM > > put numToChar(tM) into tPix > > put tPix & tPix & tPix & tPix after tMaskData > > end repeat > > end repeat > > return tMaskData > > end makeMask > > > > And you can do something like: > > > > put makeMask(long id of img 1) into tData > > set the imagedata of img 1 to tData > > > > to turn the specified image into greyscale. Takes about a second > > for a 640x480px image on a MBP 2GHz Core Duo, so not too speedy. > > > > Ian > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From chipp at chipp.com Wed Nov 28 23:02:53 2007 From: chipp at chipp.com (Chipp Walters) Date: Wed, 28 Nov 2007 22:02:53 -0600 Subject: How to create a 4 second Quicktime Mov with a single JPEG In-Reply-To: <7c87a2a10711281509o34351c63h9cc15de3eb0d5609@mail.gmail.com> References: <7aa52a210711272205s20e3c3d0w6f4c86f6094a99b2@mail.gmail.com> <3AAC7005-D3CA-40D8-9C7F-DF80F83B7A91@dvcreators.net> <7aa52a210711272331g558201adubd3873cc544ed792@mail.gmail.com> <7aa52a210711280012q5b0f056do923daf48abf36da7@mail.gmail.com> <7c87a2a10711281509o34351c63h9cc15de3eb0d5609@mail.gmail.com> Message-ID: <7aa52a210711282002x51a3f151x60d99c13541152fc@mail.gmail.com> Hi Andre, Thanks. I think I saw something about your process in an earlier thread. Problem is, I'm building a timeline based QT editor which has a video and 2 audio tracks-- kinda the standard video editor interface..and I need it to punch out standalone, flattened QT Movs. My current technique is working fine. -Chipp From mark at maseurope.net Wed Nov 28 23:09:24 2007 From: mark at maseurope.net (Mark Smith) Date: Thu, 29 Nov 2007 04:09:24 +0000 Subject: Any suggestions on how to "onion skinning"? In-Reply-To: <7aa52a210711281959l15ef84b6sb205c66c4cf088c1@mail.gmail.com> References: <20071128144130521145.5306796e@sonsothunder.com> <7aa52a210711281324j7cb83244i1cd0dc553330fed5@mail.gmail.com> <7aa52a210711281959l15ef84b6sb205c66c4cf088c1@mail.gmail.com> Message-ID: <66CA21C1-B77D-4193-8A23-69BF8637C948@maseurope.net> That makes sense. Duh! I only tried it on some photos...ah well, no free lunch again :) Best, Mark On 29 Nov 2007, at 03:59, Chipp Walters wrote: > Mark, > > Unless you average the 3, your gray-scale result may not work > properly. Try it on an image with 3 circles: 100%R, 100%G, 100%B and > you'll see what I mean. > > On Nov 28, 2007 9:32 PM, Mark Smith wrote: >> This is sort of interesting: >> >> if you simply take one of the color bytes of each pixel, and copy it >> to the other two color bytes, you get a gray-scale result. The >> brightness/contrast varies with which color you choose. For the few >> images I've tried, it seems to be red =brighter/less contrast to >> blue= darker/more contrast. This may be no surprise to the pro image >> wranglers among us, but seemed intriguing to me. >> >> function MakeGS @indata ---- the imageData of the source image >> repeat with n = 1 to length(inData) - 3 step 4 >> get char n+3 of inData ---- blue byte, 1 for red, 2 for green >> put null & it & it & it after outData >> end repeat >> return outData >> end MakeGS >> >> and it runs perhaps twice as fast as taking an average. >> >> Best, >> >> Mark >> >> >> >> >> On 28 Nov 2007, at 23:06, Ian Wood wrote: >> >>> >>> On 28 Nov 2007, at 21:24, Chipp Walters wrote: >>> >>>> Or, you could probably do it really fast with an optimized >>>> imagedata >>>> script where you average the values of each pixel and reapply. I >>>> would >>>> think that would zip right along. >>> >>> I managed to find a function from March last year from a discussion >>> about making alphadata from images. >>> Originally written by Wilhelm Sanke, with a few tweaks by me to >>> make it universal for any image size. >>> >>> Pass it the long ID of an image and it will return a one-channel >>> image suitable for a mask. >>> >>> On 13 Mar 2006, at 20:51, Ian Wood wrote: >>>> function makeMask tMaskImg >>>> set the cursor to watch >>>> put width of tMaskImg into tW >>>> put height of tMaskImg into tH >>>> put the milliseconds into Start >>>> put the imageData of tMaskImg into iData >>>> put empty into tmaskdata >>>> put tW * 4 into re >>>> repeat with i = 0 to (tH - 1) >>>> repeat with j = 0 to (tW - 1) >>>> put chartonum(char (i*re + (j*4+2)) of idata) into tC1 >>>> put chartonum(char (i*re + (j*4+3)) of idata) into tC2 >>>> put chartonum(char (i*re + (j*4+4)) of idata) into tC3 >>>> put the round of ((tc1 + tc2 + tc3)/3) into tM >>>> put numToChar(tM) after tMaskData >>>> end repeat >>>> end repeat >>>> return tMaskData >>>> end makeMask >>> >>> Add another tweak to put it back into RGB: >>> >>> function makeMask tMaskImg >>> set the cursor to watch >>> put width of tMaskImg into tW >>> put height of tMaskImg into tH >>> put the milliseconds into Start >>> put the imageData of tMaskImg into iData >>> put empty into tmaskdata >>> put tW * 4 into re >>> repeat with i = 0 to (tH - 1) >>> repeat with j = 0 to (tW - 1) >>> put chartonum(char (i*re + (j*4+2)) of idata) into tC1 >>> put chartonum(char (i*re + (j*4+3)) of idata) into tC2 >>> put chartonum(char (i*re + (j*4+4)) of idata) into tC3 >>> put the round of ((tc1 + tc2 + tc3)/3) into tM >>> put numToChar(tM) into tPix >>> put tPix & tPix & tPix & tPix after tMaskData >>> end repeat >>> end repeat >>> return tMaskData >>> end makeMask >>> >>> And you can do something like: >>> >>> put makeMask(long id of img 1) into tData >>> set the imagedata of img 1 to tData >>> >>> to turn the specified image into greyscale. Takes about a second >>> for a 640x480px image on a MBP 2GHz Core Duo, so not too speedy. >>> >>> Ian >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 runrevron at gmail.com Thu Nov 29 00:27:54 2007 From: runrevron at gmail.com (ron barber) Date: Thu, 29 Nov 2007 14:27:54 +0900 Subject: menu accelerators problem In-Reply-To: References: <5825034a0711281759g5a3c8c9cr6d62d1b1f3fb52f6@mail.gmail.com> Message-ID: <5825034a0711282127v422a0b34i7e6e3766929b9276@mail.gmail.com> Hi Sarah, Well, this seems to work - thank you for the suggestion. I use set the menubar all the time for my Mac apps but the docs say: "Platform Support: MacOS and OS X Use the menubar property to specify which menus appear in the menu bar on Mac OS systems when a stack is the active window." My app is Win which leads me to ask if this is a doc mistake and if not, then why does it (apparently) matter on Windows? Should I report this and if so, as what? Thanks again, Ron On 11/29/07, Sarah Reichelt wrote: > > I have a Windows app with several windows, some of the windows have > > two menus (groups of btns) on them, one English the other Japanese. > > Depending on the interface the user chooses, the appropriate menu is > > shown and the other is hidden. I enable/disable menu items appropriate > > to the context - eg 'copy' is disabled when no text is selected - when > > the menu has a mousedown. > > > > My problem is that the accelerators do not work on any items that are > > en/disabled. (items that are never disabled respond correctly to the > > accelerator keys). > > Instead of enabling/disabling, what happens if you use "set the > menubar of this stack to ..." > or even "set the defaultMenubar to ..." > > 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 runrev at academica.com Thu Nov 29 03:00:08 2007 From: runrev at academica.com (Sakari Ruoho) Date: Thu, 29 Nov 2007 10:00:08 +0200 Subject: [ANN] Quartz Composer tutorial In-Reply-To: References: Message-ID: <474E7188.7070003@academica.com> Thanks for the link.. the tutorial was really good IMO :D Josh Mellicker wrote: > For anyone on OS X 10.4 or 10.5 who wants to watch a cool tutorial > movie about Quartz Composer: > > http://dvcreators.net/media/tiplets/complete_rayz_of_lite.mov > > On OSX (only), QT has a Quartz Composer codec, you can load QC > projects into a Player object and do amazing graphics in real-time > tapping the power of OpenGL, Core Video and Core Image. > > Since a QC (.qtz) project is just an XML file, you could make > Revolution generate an XML file with a .qtz extension, that can then > be loaded back into a Player object. The possibilities with this are > staggering. > > QC allows you to script graphics- for example, if you want a 3D matrix > of 8 x 8 x 8 floating cubes with movies on each side, you need only > make one cube and run it through a few replicate patches and a 3D > Transformation. > > QC is even a little cooler in Leopard. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revlist at azurevision.co.uk Thu Nov 29 04:19:42 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 29 Nov 2007 09:19:42 +0000 Subject: Any suggestions on how to "onion skinning"? In-Reply-To: References: <20071128144130521145.5306796e@sonsothunder.com> <7aa52a210711281324j7cb83244i1cd0dc553330fed5@mail.gmail.com> Message-ID: You're extracting one of the three RGB channels. Ian On 29 Nov 2007, at 03:32, Mark Smith wrote: > This is sort of interesting: > > if you simply take one of the color bytes of each pixel, and copy > it to the other two color bytes, you get a gray-scale result. The > brightness/contrast varies with which color you choose. For the few > images I've tried, it seems to be red =brighter/less contrast to > blue= darker/more contrast. This may be no surprise to the pro > image wranglers among us, but seemed intriguing to me. From chipp at chipp.com Thu Nov 29 04:53:48 2007 From: chipp at chipp.com (Chipp Walters) Date: Thu, 29 Nov 2007 03:53:48 -0600 Subject: Quicktime callbacks? Message-ID: <7aa52a210711290153r56052541p2379788a62078a34@mail.gmail.com> Due to the fact that the QT on XP doesn't respect any of the SMIL extension commands when used with SMIL files, I'm having to roll my own timeslider with progress indicator. I was wondering if there are any undocumented QT callbacks I can use for this, or do I just have to handle the 'playStarted' and 'playStopped' messages and do a 'send in time' to update the position of the timeline slider? Thanks if anyone knows a better way to handle this...OR a way to display the timeline in a WinXP player object when opening a SMIL file (I'm pretty sure I've correctly used all the SMIL Extensions) From sanke at hrz.uni-kassel.de Thu Nov 29 04:48:57 2007 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu, 29 Nov 2007 10:48:57 +0100 Subject: Any suggestions on how to "onion skinning"? Message-ID: <474E8B09.2090301@hrz.uni-kassel.de> Mark Smith mark at maseurope.net wrote: > This is sort of interesting: > > if you simply take one of the color bytes of each pixel, and copy it > to the other two color bytes, you get a gray-scale result. The > brightness/contrast varies with which color you choose. For the few > images I've tried, it seems to be red =brighter/less contrast to > blue= darker/more contrast. This may be no surprise to the pro image > wranglers among us, but seemed intriguing to me. And Chipp Walters chipp at chipp.com wrote: > Mark, > > Unless you average the 3, your gray-scale result may not work > properly. Try it on an image with 3 circles: 100%R, 100%G, 100%B and > you'll see what I mean. My experience is that with most photos you get a very nice grayscale image using the red pixel and copying the value to the other two pixels like Mark suggested. The last public version of my "Imagedata Toolkit Preview 3" (update of April 17) contains both grayscale routines using "average" and those with copying one color pixel to the other two - implemented for all three colors. Speed for "average gray" and a 640X480 image (on a 2 GHz machine) is about 1.1 seconds and for "gray from red" about 600 milliseconds.- The next update of the Imagedata Toolkit, which will be the last with a restriction to an enforced image size of 640X480, will probably be released before Xmas and contain a number of major enhancements (among them: scripted Rev emulation of cubic enlargement, integration and expanding of some new Gluas filters from Gimp - translated into Revolution - "stretch contrast", "compress contrast", enhancement of "jitter" filters with various multi-pixel jitters, another despeckle filter based on minimum differences between surrounding pixel pairs [this is another Gimp/Gluas development that is identical in effectiveness to the "median" approach, but somewhat slower], exchanging color values within a defined range by clicking on image and/or color scale, copying - and enlarging or shrinking - and pasting oval or rectangular portions of an image into the same or another image with variable fringe and/or overall blending into the basic image). Best regards, Wilhelm Sanke From luis at anachreon.co.uk Thu Nov 29 04:54:14 2007 From: luis at anachreon.co.uk (Luis) Date: Thu, 29 Nov 2007 09:54:14 +0000 Subject: Any suggestions on how to "onion skinning"? In-Reply-To: <20071128183943168383.93d3fb79@sonsothunder.com> References: <20071128144130521145.5306796e@sonsothunder.com> <7c87a2a10711281450o2461aef6n2fcd04c88a9f1396@mail.gmail.com> <20071128183943168383.93d3fb79@sonsothunder.com> Message-ID: <4E5DE5D6-DD8A-4CB0-A4C3-1FCFE255BAD8@anachreon.co.uk> Hiya, Some time ago we used to add the RGB values together and then divide by 3. This was waaaay back, and the results were ok then. I spotted this on the net: R*.3+G*.59+B*.11 to get the grey value, haven't tried it. Cheers, Luis. On 29 Nov 2007, at 00:39, Ken Ray wrote: > On Wed, 28 Nov 2007 20:50:11 -0200, Andre Garzia wrote: > >> Ken, >> >> Have you tried snapshoting the card, then somewhere off screen you >> put >> a gray image on top of the snapshot with some blend and take another >> shot. Depending on ink combinations you might have a nice result. > > Good idea - I'll compare that speed-wise with other suggestions people > have made. > >> Another way, which I don't know how fast it is, is to read each pixel >> in the snapshot and convert it using some proportional gray value. > > Yeah, that was Chipp's suggestion - which I might use too - took about > 500ms on a 400x400 image on my MacBookPro. > > > 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 luis at anachreon.co.uk Thu Nov 29 05:56:24 2007 From: luis at anachreon.co.uk (Luis) Date: Thu, 29 Nov 2007 10:56:24 +0000 Subject: Any suggestions on how to "onion skinning"? In-Reply-To: <4E5DE5D6-DD8A-4CB0-A4C3-1FCFE255BAD8@anachreon.co.uk> References: <20071128144130521145.5306796e@sonsothunder.com> <7c87a2a10711281450o2461aef6n2fcd04c88a9f1396@mail.gmail.com> <20071128183943168383.93d3fb79@sonsothunder.com> <4E5DE5D6-DD8A-4CB0-A4C3-1FCFE255BAD8@anachreon.co.uk> Message-ID: <711A8D7E-D516-4E36-B010-7C1639E22704@anachreon.co.uk> From Wikipedia: http://en.wikipedia.org/wiki/Greyscale 'Converting color to grayscale To convert any color to its most approximate level of gray, first one must obtain the values of its red, green and blue (RGB) primaries. Then, add 30% of the red value, 59% of the green value, and 11% of the blue value, together. Regardless of the scale employed (0.0 to 1.0, 0 to 255, 0% to 100%, etc.), the resultant number is the desired gray value, such that a new RGB color would have red, green, and blue values equal to the new number. These percentages are chosen due to the different relative sensitivity of the normal human eye to each of the primary colors (less sensitive to green, more to blue).' Cheers, Luis. On 29 Nov 2007, at 09:54, Luis wrote: > Hiya, > > Some time ago we used to add the RGB values together and then > divide by 3. This was waaaay back, and the results were ok then. > > I spotted this on the net: > > R*.3+G*.59+B*.11 to get the grey value, haven't tried it. > > Cheers, > > Luis. > > > On 29 Nov 2007, at 00:39, Ken Ray wrote: > >> On Wed, 28 Nov 2007 20:50:11 -0200, Andre Garzia wrote: >> >>> Ken, >>> >>> Have you tried snapshoting the card, then somewhere off screen >>> you put >>> a gray image on top of the snapshot with some blend and take another >>> shot. Depending on ink combinations you might have a nice result. >> >> Good idea - I'll compare that speed-wise with other suggestions >> people >> have made. >> >>> Another way, which I don't know how fast it is, is to read each >>> pixel >>> in the snapshot and convert it using some proportional gray value. >> >> Yeah, that was Chipp's suggestion - which I might use too - took >> about >> 500ms on a 400x400 image on my MacBookPro. >> >> >> Ken Ray >> Sons of Thunder Software, Inc. >> Email: kray at sonsothunder.com >> Web Site: http://www.sonsothunder.com/ >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revlist at azurevision.co.uk Thu Nov 29 06:14:30 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 29 Nov 2007 11:14:30 +0000 Subject: Any suggestions on how to "onion skinning"? In-Reply-To: <711A8D7E-D516-4E36-B010-7C1639E22704@anachreon.co.uk> References: <20071128144130521145.5306796e@sonsothunder.com> <7c87a2a10711281450o2461aef6n2fcd04c88a9f1396@mail.gmail.com> <20071128183943168383.93d3fb79@sonsothunder.com> <4E5DE5D6-DD8A-4CB0-A4C3-1FCFE255BAD8@anachreon.co.uk> <711A8D7E-D516-4E36-B010-7C1639E22704@anachreon.co.uk> Message-ID: <3A48B84F-E436-400B-8F8F-4A7068C44158@azurevision.co.uk> Oh dear. Wikipedia strikes again. :-( Those percentages are for very specific purposes and are NOT what is generally used in conversion to greyscale. The article isn't really *wrong*, but it doesn't bear much resemblance to most real-life usage. Ian On 29 Nov 2007, at 10:56, Luis wrote: > From Wikipedia: http://en.wikipedia.org/wiki/Greyscale > > 'Converting color to grayscale > > To convert any color to its most approximate level of gray, first > one must obtain the values of its red, green and blue (RGB) primaries. > > Then, add 30% of the red value, 59% of the green value, and 11% of > the blue value, together. Regardless of the scale employed (0.0 to > 1.0, 0 to 255, 0% to 100%, etc.), the resultant number is the > desired gray value, such that a new RGB color would have red, > green, and blue values equal to the new number. These percentages > are chosen due to the different relative sensitivity of the normal > human eye to each of the primary colors (less sensitive to green, > more to blue).' > > Cheers, > > Luis. From mark at maseurope.net Thu Nov 29 09:25:11 2007 From: mark at maseurope.net (Mark Smith) Date: Thu, 29 Nov 2007 14:25:11 +0000 Subject: Any suggestions on how to "onion skinning"? In-Reply-To: <474E8B09.2090301@hrz.uni-kassel.de> References: <474E8B09.2090301@hrz.uni-kassel.de> Message-ID: <3E32AD8D-E27E-4A9B-A67F-2AAC0C315AED@maseurope.net> Well, one alternative that also seems to work is to map the 24bit value of each pixel to an 8bit value : function makeGS @inData repeat with n = 1 to length(inData) - 3 step 4 get binarydecode("M", char n to n+3 of inData, tPix) put numtochar(tPix div 65536) into tv put null & tv & tv & tv after outData end repeat return outData end makeGS It's maybe 25% quicker than dealing with each color component individually. Best, Mark On 29 Nov 2007, at 09:48, Wilhelm Sanke wrote: > Mark Smith mark at maseurope.net wrote: > >> This is sort of interesting: >> >> if you simply take one of the color bytes of each pixel, and copy >> it to the other two color bytes, you get a gray-scale result. >> The brightness/contrast varies with which color you choose. For >> the few images I've tried, it seems to be red =brighter/less >> contrast to blue= darker/more contrast. This may be no surprise >> to the pro image wranglers among us, but seemed intriguing to me. > > > And Chipp Walters chipp at chipp.com wrote: > >> Mark, >> >> Unless you average the 3, your gray-scale result may not work >> properly. Try it on an image with 3 circles: 100%R, 100%G, 100%B and >> you'll see what I mean. > > > > My experience is that with most photos you get a very nice > grayscale image using the red pixel and copying the value to the > other two pixels like Mark suggested. > > The last public version of my "Imagedata Toolkit Preview 3" (update > of April 17) > > > > contains both grayscale routines using "average" and those with > copying one color pixel to the other two - implemented for all > three colors. > > Speed for "average gray" and a 640X480 image (on a 2 GHz machine) > is about 1.1 seconds and for "gray from red" about 600 milliseconds.- > > The next update of the Imagedata Toolkit, which will be the last > with a restriction to an enforced image size of 640X480, will > probably be released before Xmas and contain a number of major > enhancements (among them: scripted Rev emulation of cubic > enlargement, integration and expanding of some new Gluas filters > from Gimp - translated into Revolution - "stretch contrast", > "compress contrast", enhancement of "jitter" filters with various > multi-pixel jitters, another despeckle filter based on minimum > differences between surrounding pixel pairs [this is another Gimp/ > Gluas development that is identical in effectiveness to the > "median" approach, but somewhat slower], exchanging color values > within a defined range by clicking on image and/or color scale, > copying - and enlarging or shrinking - and pasting oval or > rectangular portions of an image into the same or another image > with variable fringe and/or overall blending into the basic image). > > Best regards, > > Wilhelm Sanke > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Thu Nov 29 10:15:58 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 29 Nov 2007 10:15:58 -0500 Subject: Quicktime callbacks? In-Reply-To: <7aa52a210711290153r56052541p2379788a62078a34@mail.gmail.com> References: <7aa52a210711290153r56052541p2379788a62078a34@mail.gmail.com> Message-ID: <56DC4622-08D9-4A77-80EC-14119EFC85DD@mangomultimedia.com> On Nov 29, 2007, at 4:53 AM, Chipp Walters wrote: > Due to the fact that the QT on XP doesn't respect any of the SMIL > extension commands when used with SMIL files, I'm having to roll my > own timeslider with progress indicator. > > I was wondering if there are any undocumented QT callbacks I can use > for this, or do I just have to handle the 'playStarted' and > 'playStopped' messages and do a 'send in time' to update the position > of the timeline slider? > > Thanks if anyone knows a better way to handle this...OR a way to > display the timeline in a WinXP player object when opening a SMIL file > (I'm pretty sure I've correctly used all the SMIL Extensions) Chipp, 1) I'm not aware of any callbacks that Revolution exposes. 2) For my projects I just use send in time to monitor playback. 3) When you mention the SMIL extensions are you referring to the QT ones mentioned at the url below? If so and you already tried then I don't know what else to try. If you have tried then see if it works for you. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From baleareninsel at gmx.net Thu Nov 29 11:28:12 2007 From: baleareninsel at gmx.net (Horst) Date: Thu, 29 Nov 2007 08:28:12 -0800 (PST) Subject: How to show a picture from a MySQL Database Message-ID: <14029189.post@talk.nabble.com> Hol? everybody, working happy with mySQL since a few month now. But, I can?t figure out how to show a picture stored in the database. Don?t know if it?s base64 encoded or not. As usual, it will be easy, but please give me a hand best regards -- View this message in context: http://www.nabble.com/How-to-show-a-picture-from-a-MySQL--Database-tf4898240.html#a14029189 Sent from the Revolution - User mailing list archive at Nabble.com. From ludovic.thebault at laposte.net Thu Nov 29 13:28:13 2007 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Thu, 29 Nov 2007 19:28:13 +0100 Subject: Revbrowser & Standalone In-Reply-To: <8C3BA09A-B029-4359-A294-8DA2F2061A7D@laposte.net> References: <09EEBDC7-E709-498D-94AA-0DF509AE44EA@laposte.net> <8E0CB2F6-D555-4725-ABA1-6C270D75F47A@economy-x-talk.com> <8C3BA09A-B029-4359-A294-8DA2F2061A7D@laposte.net> Message-ID: <03BE2E5B-CDB2-4719-A411-CB5EAED850AB@laposte.net> > > I've understood why the browser doen't display in my standalone : > i've a backdrop It's seem the browser doesn't display anything if there is a backdrop. I've already submit this bug with revzilla. From effendi at wanadoo.fr Thu Nov 29 16:34:46 2007 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Thu, 29 Nov 2007 22:34:46 +0100 Subject: Controlling iTunes in Revolution Using COM and Applescript Message-ID: <1C7CC784-5683-45E6-B27D-E15DDAADD095@wanadoo.fr> Hi from Paris, In a recent newsletter you make some of us drool with stories about controlling iTunes from a Rev stack. Unfortunately, I can't read the "associated stack" because I don't have the latest version of Revolution, and I'm sure I'm not alone. Is it possible to have a version of the stack I can open with Rev 2.6. Some of us don't have the unlimited resources to buy all the (expensive) versions of Revolution as they become available. If your object is to let users of older versions of Revolution by the wayside, please let us know now, so we can get used to the idea. If anybody is interested in paying $124.50 for the latest version of Rev Studio (we can split the costs of $249 for two copies), please let me know before December 4. Thanks -Francis From mfstuart at cox.net Thu Nov 29 16:59:37 2007 From: mfstuart at cox.net (mfstuart) Date: Thu, 29 Nov 2007 13:59:37 -0800 (PST) Subject: Including Cursors in Standalone build settings not working Message-ID: <14036059.post@talk.nabble.com> Hi all, (Env: WinXP; RunRev 2.8.1) In my application, I use the following script on a button: on mouseEnter set the lockcursor to true set the cursor to 65 --w. resize runrev cursor end mouseEnter So I need to include the cursors in the build, right? In the Standalone Application Settings, I select the option: "Select inclusions for the standalone application". Then check "Cursors", save the stack and build the application standalone. When I open the application and mouse over the button, there's no change of the cursor referenced in the script - just the pointer/arrow. Is this a bug, and if so, anyone know the bug number to vote on? If not, what do I need to do to make this work? Thanx, Mark Stuart -- View this message in context: http://www.nabble.com/Including-Cursors-in-Standalone-build-settings-not-working-tf4900259.html#a14036059 Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Thu Nov 29 18:16:16 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 29 Nov 2007 15:16:16 -0800 Subject: Send Wake-on-Lan _Packet References: <20071126180004.50EE648940F@mail.runrev.com> <4418F98F-4DE1-4264-9D45-FDAECA088D29@mac.com> Message-ID: Tariel- > reminded me this story.. :) > > http://www.mentors.ca/bohr.html ! What a wonderful anecdote ! I hadn't heard this one before... Thanks. -- Mark Wieder mwieder at ahsoftware.net From chipp at chipp.com Thu Nov 29 19:13:30 2007 From: chipp at chipp.com (Chipp Walters) Date: Thu, 29 Nov 2007 18:13:30 -0600 Subject: Quicktime callbacks? In-Reply-To: <56DC4622-08D9-4A77-80EC-14119EFC85DD@mangomultimedia.com> References: <7aa52a210711290153r56052541p2379788a62078a34@mail.gmail.com> <56DC4622-08D9-4A77-80EC-14119EFC85DD@mangomultimedia.com> Message-ID: <7aa52a210711291613r1545b7fbjbecc297f67313f70@mail.gmail.com> Thanks Trevor. I ended up monitoring via send in time and the playStarted and playStopped messages. Plus, kept a local for the currentTime and if it quit changing, I quit sending messages. Works well. Yeah, I tried the header, and it doesn't work. So, I just ended up turning off the controller and rolling my own. Thanks for the help. BTW, I'm typing this on my new ASUS eee ittybitty laptop (which is currently hooked up to a full keyboard, mouse and large display). Latest version of Rev2.9 does run on it, but I haven't really put it through it's paces...screen snapshot doesn't work right. -Chipp From mwieder at ahsoftware.net Thu Nov 29 19:22:29 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 29 Nov 2007 16:22:29 -0800 Subject: Welcome to Scotland Message-ID: I couldn't resist posting this (mind the wrap): http://www.dailyrecord.co.uk/news/scottish-news/2007/11/28/scotland-s-new-125k-slogan-welcome-to-scotland-86908-20170094/ -- Mark Wieder mwieder at ahsoftware.net From andre at andregarzia.com Thu Nov 29 19:28:21 2007 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 29 Nov 2007 22:28:21 -0200 Subject: Send Wake-on-Lan _Packet In-Reply-To: References: <20071126180004.50EE648940F@mail.runrev.com> <4418F98F-4DE1-4264-9D45-FDAECA088D29@mac.com> Message-ID: <7c87a2a10711291628g51aadf92wa4c42a40e313fcb8@mail.gmail.com> Tariel, I loved it too... I actually printed it! :-D Cheers andre On 11/29/07, Mark Wieder wrote: > Tariel- > > > reminded me this story.. :) > > > > http://www.mentors.ca/bohr.html > > ! What a wonderful anecdote ! I hadn't heard this one before... Thanks. > > -- > Mark Wieder > mwieder at ahsoftware.net > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From dave at looktowindward.com Thu Nov 29 19:57:05 2007 From: dave at looktowindward.com (Dave) Date: Fri, 30 Nov 2007 00:57:05 +0000 Subject: Trapping the Close Window Action In-Reply-To: References: Message-ID: <3C26A030-48F7-4FFE-88AA-9760E4312BC5@looktowindward.com> Hi, Is there anyway to trap the Close Window action? e.g. when the user presses the red close window button on Mac or the X on Windows. I know I can use closeStack but this gets called regardless of whether the window was closed due to the button being closed or if it's closed from the Script. In the former case I want to quit the application. Thanks a lot All the Best Dave From sarah.reichelt at gmail.com Thu Nov 29 20:08:12 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 30 Nov 2007 11:08:12 +1000 Subject: Trapping the Close Window Action In-Reply-To: <3C26A030-48F7-4FFE-88AA-9760E4312BC5@looktowindward.com> References: <3C26A030-48F7-4FFE-88AA-9760E4312BC5@looktowindward.com> Message-ID: > Is there anyway to trap the Close Window action? e.g. when the user > presses the red close window button on Mac or the X on Windows. > > I know I can use closeStack but this gets called regardless of > whether the window was closed due to the button being closed or if > it's closed from the Script. In the former case I want to quit the > application. Try closeStackRequest Cheers, Sarah From kray at sonsothunder.com Thu Nov 29 21:37:19 2007 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 29 Nov 2007 20:37:19 -0600 Subject: Welcome to Scotland In-Reply-To: References: Message-ID: <20071129203719558111.e304b3f9@sonsothunder.com> On Thu, 29 Nov 2007 16:22:29 -0800, Mark Wieder wrote: > I couldn't resist posting this (mind the wrap): > > http://www.dailyrecord.co.uk/news/scottish-news/2007/11/28/scotland-s-new-125k-slogan-welcome-to-scotland-86908-20170094/ You want to know something funnier? The article is dated 11/28/07 and states "And the exciting new catchphrase dreamed up by top advertising brains is..."Welcome to Scotland". Artwork featuring the message will be displayed at all Scots airports from St Andrew's Day, accompanied by different national and local messages." But look at what I saw as I entered the Glasgow airport this last May: http://www.sonsothunder.com/Welcome.png :-D Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From sarah.reichelt at gmail.com Thu Nov 29 22:29:14 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 30 Nov 2007 13:29:14 +1000 Subject: menu accelerators problem In-Reply-To: <5825034a0711282127v422a0b34i7e6e3766929b9276@mail.gmail.com> References: <5825034a0711281759g5a3c8c9cr6d62d1b1f3fb52f6@mail.gmail.com> <5825034a0711282127v422a0b34i7e6e3766929b9276@mail.gmail.com> Message-ID: > I use set the menubar all the time for my Mac apps but the docs say: > "Platform Support: MacOS and OS X > Use the menubar property to specify which menus appear in the menu bar > on Mac OS systems when a stack is the active window." > > My app is Win which leads me to ask if this is a doc mistake and if > not, then why does it (apparently) matter on Windows? > > Should I report this and if so, as what? I'd report it as a docs error. It would seem that if you have more than one available menubar, then this is needed for Windows systems as well and possible Linux too. Sarah From bridgeyman at gmail.com Thu Nov 29 22:52:00 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Thu, 29 Nov 2007 20:52:00 -0700 Subject: MySQL Driver for Linux CGI Message-ID: <86ae76bb0711291952o12455fddv9f546aac53b42bcf@mail.gmail.com> Hey, After a small change in the way my website's files are arranged, some of them have stopped working. I have traced it to a problem connecting to the database, which previously worked. I get this error when running my cgi: Failed to load dbmysql.so error dbmysql.so: cannot open shared object file: No such file or directoryfound /serverPath/cgi-bin/dbmysql.so symbols -1208625966,-1208626080,-1208625994 The file that is is referencing is there, and the case in the filename is correct. When I move the dbmysql.so file, or change its case it gives me this error: Failed to load dbmysql.so error dbmysql.so: cannot open shared object file: No such file or directoryError opening database: revdberr,invalid database type I can't make heads or tails of this. It seems like it gives me the error about there being no driver file when the driver is there, and the more general error when the driver is not. Both the engine and the driver were taken from the 2.6.1 distribution of Revolution. When I check "the version" it returns 2.6.6. Both the engine and the driver have their permissions set to 755. Thank You, Bridger Maxwell www.FieryFerret.com From lan.kc.macmail at gmail.com Thu Nov 29 23:05:07 2007 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 30 Nov 2007 12:05:07 +0800 Subject: How to show a picture from a MySQL Database In-Reply-To: <14029189.post@talk.nabble.com> References: <14029189.post@talk.nabble.com> Message-ID: On Nov 30, 2007 12:28 AM, Horst wrote: > > working happy with mySQL since a few month now. But, I can?t figure out > how > to show a picture stored in the database. Don?t know if it?s base64 > encoded > or not. > I assume that you are using: revQueryDatabaseBLOB Which is specifically used when you are going to refer to a record set that may contain more than 64K of data, which pictures can easily be. Conversely, have you tried: revDataFromQuery and given it a SQL command that will only return one record: SELECT img FROM db WHERE id = 1234 Also after your revDataFromQuery make sure you: put the result into checkErrors If checkErrors doesn't contain an error message then you know that the data was successfully extracted. So, if you still can't display the image, then I suspect it is in a format that Rev doesn't natively recognise. HTH From lan.kc.macmail at gmail.com Fri Nov 30 00:05:57 2007 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 30 Nov 2007 13:05:57 +0800 Subject: Welcome to Scotland In-Reply-To: <20071129203719558111.e304b3f9@sonsothunder.com> References: <20071129203719558111.e304b3f9@sonsothunder.com> Message-ID: On Nov 30, 2007 10:37 AM, Ken Ray wrote: > But look at what I saw as I entered the Glasgow airport this last May: > > http://www.sonsothunder.com/Welcome.png > > I don't wish to detract from the general incredulity of how someone can be paid so much to come up with the bleeding obvious, but I think in this case wont the next time you visit Glasgow the big 'Welcome to Scotland' still be there but instead of the small "Best Small Country In The World" be replaced with "Birthplace of Charles Rennie Mackintosh" and refer to the 2014 Commonwealth Games among other slogans. That's what you'll be getting for all that money;-) I guess the other question that needs to be asked is will RunRev take advantage of this opportunity and suggest: Edinburgh's options include "UNESCO First City of Literature" and "Real Financial Strength". Home of a new Revolution Along a similar line I remember a couple of years ago hearing about a multi year English University Study that concluded 'Scots are generally ticked off with the English' But as far as national tourist slogans go I think the prize goes to Hong Kong which at the beginning of 2003 introduced the new "Hong Kong, it'll take your breathe away!" slogan. Unfortunately for them, back on 16 Nov 2002 the first suspected case of SARS was recorded in Southern China. By March 12 2003 the WHO had issued it's global alert which the media blew completely out of proportion leaving the entire world scared that they'd never breath again. So around April 12 2003 Hong Kong axed it's new, but clearly inappropriate, slogan. Talk about bad timing ;-) From sims at ezpzapps.com Fri Nov 30 00:17:57 2007 From: sims at ezpzapps.com (Jim Sims) Date: Fri, 30 Nov 2007 06:17:57 +0100 Subject: Welcome to Scotland In-Reply-To: References: <20071129203719558111.e304b3f9@sonsothunder.com> Message-ID: On Nov 30, 2007, at 6:05 AM, Kay C Lan wrote: >> I don't wish to detract from the general incredulity of how >> someone can be > paid so much to come up with the bleeding obvious, but I think in > this case > wont the next time you visit Glasgow the big 'Welcome to Scotland' > still be > there but instead of the small "Best Small Country In The World" be > replaced > with "Birthplace of Charles Rennie Mackintosh" and refer to the 2014 > Commonwealth Games among other slogans. I'm going to see if I can that kind of cash for "Malta - the best nano country in the world!" sims From dave.cragg at lacscentre.co.uk Fri Nov 30 04:10:07 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 30 Nov 2007 09:10:07 +0000 Subject: Welcome to Scotland In-Reply-To: References: Message-ID: On 30 Nov 2007, at 00:22, Mark Wieder wrote: > I couldn't resist posting this (mind the wrap): > > http://www.dailyrecord.co.uk/news/scottish-news/2007/11/28/scotland- > s-new-125k-slogan-welcome-to-scotland-86908-20170094/ Inquiring minds want to know why you were reading the Daily Record. Or as the journal in question would phrase it, "Wieder In Record Reading Horror". Dave From heather at runrev.com Fri Nov 30 04:27:53 2007 From: heather at runrev.com (Heather Nagey) Date: Fri, 30 Nov 2007 09:27:53 +0000 Subject: Controlling iTunes in Revolution Using COM and Applescript In-Reply-To: <1C7CC784-5683-45E6-B27D-E15DDAADD095@wanadoo.fr> References: <1C7CC784-5683-45E6-B27D-E15DDAADD095@wanadoo.fr> Message-ID: <7D0BC863-6BFB-4D16-9DB5-765996F60661@runrev.com> The newsletter article in question starts with a link to the beta program, where you can, for a limited time, still sign up and get the latest beta for free to try out this tutorial. Of course, when we actually ship 2.9 this will no longer be an option. Regrettably, we can't make this stack compatible with 2.6 because 2.6 does not have the necessary feature set. We keep on developing Revolution to bring you the features you want. I cannot imagine the outcry there would be if we said ok, we're no longer adding any new features because this will leave older versions behind... well actually I can :) But it wouldn't last long because we'd be out of business within a month or so of such an announcement! I hope you can find a route to getting your upgrade. If you have difficulty please do write to support, I'm always happy to try and help you find a way. Warm Regards, Heather PS Its nice to get some feedback on the newsletter! At least someone is reading it :) On 29 Nov 2007, at 21:34, Francis Nugent Dixon wrote: > Hi from Paris, > > In a recent newsletter you make some of us drool with stories > about controlling iTunes from a Rev stack. Unfortunately, I > can't read the "associated stack" because I don't have the > latest version of Revolution, and I'm sure I'm not alone. > Is it possible to have a version of the stack I can open > with Rev 2.6. > > Some of us don't have the unlimited resources to buy all the > (expensive) versions of Revolution as they become available. > > If your object is to let users of older versions of Revolution > by the wayside, please let us know now, so we can get used to > the idea. > > If anybody is interested in paying $124.50 for the latest version > of Rev Studio (we can split the costs of $249 for two copies), > please let me know before December 4. > > > Thanks > > -Francis > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution Heather Nagey Customer Services Manager Runtime Revolution Ltd http://www.runrev.com From eric.chatonet at sosmartsoftware.com Fri Nov 30 05:21:42 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 30 Nov 2007 11:21:42 +0100 Subject: Including Cursors in Standalone build settings not working In-Reply-To: <14036059.post@talk.nabble.com> References: <14036059.post@talk.nabble.com> Message-ID: <2DEEF3D6-9A07-46B2-A82B-CB2D9823D22D@sosmartsoftware.com> Hi Mark, Afraid you inverted both lines of code: set the cursor to 654 -- sets the cursor lock cursor -- locks the cursor you have set Le 29 nov. 07 ? 22:59, mfstuart a ?crit : > Hi all, > > (Env: WinXP; RunRev 2.8.1) > > In my application, I use the following script on a button: > > on mouseEnter > set the lockcursor to true > set the cursor to 65 --w. resize runrev cursor > end mouseEnter > > So I need to include the cursors in the build, right? > > In the Standalone Application Settings, I select the option: "Select > inclusions for the standalone application". > Then check "Cursors", save the stack and build the application > standalone. > When I open the application and mouse over the button, > there's no change of the cursor referenced in the script - just the > pointer/arrow. > > Is this a bug, and if so, anyone know the bug number to vote on? > If not, what do I need to do to make this work? > > Thanx, > Mark Stuart Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From dave at looktowindward.com Fri Nov 30 11:25:44 2007 From: dave at looktowindward.com (Dave) Date: Fri, 30 Nov 2007 16:25:44 +0000 Subject: Testing if there is an Internet Connection Message-ID: Hi all, Is there a way to test if the machine you are running on currently connected to the Internet? Thanks a lot All the Best Dave From len-morgan at crcom.net Fri Nov 30 11:37:43 2007 From: len-morgan at crcom.net (Len Morgan) Date: Fri, 30 Nov 2007 10:37:43 -0600 Subject: Testing if there is an Internet Connection In-Reply-To: References: Message-ID: <47503C57.8050701@crcom.net> I would think you could ping some site you know is always going to be there (ie., CNN, Google, etc). Make sure the site actually will respond to a ping first though! Len Morgan Dave wrote: > Hi all, > > Is there a way to test if the machine you are running on currently > connected to the Internet? > > Thanks a lot > All the Best > Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From scott at tactilemedia.com Fri Nov 30 12:22:49 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 30 Nov 2007 09:22:49 -0800 Subject: Testing if there is an Internet Connection In-Reply-To: <47503C57.8050701@crcom.net> Message-ID: > Is there a way to test if the machine you are running on currently > connected to the Internet? As suggested, grabbing the HTML (put URL...) from a large, well known site is one way. But if the goal is to have your stack interact with your own site, it would be better to test that site since being connected to the Internet will not help users if your site is not responding. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From revdev at pdslabs.net Fri Nov 30 12:55:49 2007 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 30 Nov 2007 09:55:49 -0800 Subject: Testing if there is an Internet Connection In-Reply-To: References: Message-ID: <47504EA5.6010508@pdslabs.net> Hi Dave, This question comes up from time to time. You can see what's been said before by looking at this (but watch line wrap): http://search.gmane.org/?query=connected+to+internet&group=gmane.comp.ide.revolution.user Thanks - Phil Davis Dave wrote: > Hi all, > > Is there a way to test if the machine you are running on currently > connected to the Internet? > > Thanks a lot > All the Best > Dave From eric.chatonet at sosmartsoftware.com Fri Nov 30 13:07:00 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 30 Nov 2007 19:07:00 +0100 Subject: Testing if there is an Internet Connection In-Reply-To: References: Message-ID: <6DF4E241-6044-4B30-A66F-BA52549B2D4A@sosmartsoftware.com> Hi Dave, This has been discussed many times on this list: check the archives and you'll find many posts with many solutions depending on possible firewalls and many other things. As for me I use the following script that feeds a Boolean global var allowing to know if the connection is running or not. Sorry but I don't remember who wrote the basis ;-) Le 30 nov. 07 ? 17:25, Dave a ?crit : > Is there a way to test if the machine you are running on currently > connected to the Internet? > > Thanks a lot > All the Best > Dave constant kNotifyDelay = 10 constant kCheckDelay = 10 local lTestMessage local lTestServer -------------------------------------- on CheckForInternet NetConnectionTest -- if "CheckForInternet" is not in the pendingMessages then send "CheckForInternet" to me in kCheckDelay seconds end if end CheckForInternet -------------------------------------- on NetConnectionTest if the DNSServers is empty then NetConnectionNotify false -- else put 1 into lTestServer open socket to line 1 of the DNSServers with message "NetConnectionSocketOpen" -- end if end NetConnectionTest -------------------------------------- on NetConnectionSocketOpen pSocket send "NetConnectionNotify true" to me in kNotifyDelay milliseconds -- end NetConnectionSocketOpen -------------------------------------- on socketError pSocket, pErrorString if pSocket is line lTestServer of the DNSServers then NetConnectionNotify false -- end socketError -------------------------------------- on socketTimeout pSocket if pSocket is line lTestServer of the DNSServers then NetConnectionNotify false -- close socket pSocket else ############## -- for other possible connections end if end socketTimeout -------------------------------------- on NetConnectionNotify pStatus global gInternetConnected local tResult,tCommand ----- if lTestMessage <> empty then if line lTestServer of the DNSServers is among the lines of the openSockets then close socket line lTestServer of the DNSServers end if put pStatus into gInternetConnected -- check this boolean global to know internet status put empty into lTestMessage put empty into lTestServer end if end NetConnectionNotify Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From JimAultWins at yahoo.com Fri Nov 30 13:40:56 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 30 Nov 2007 10:40:56 -0800 Subject: Controlling iTunes in Revolution Using COM and Applescript In-Reply-To: <1C7CC784-5683-45E6-B27D-E15DDAADD095@wanadoo.fr> Message-ID: On 11/29/07 1:34 PM, "Francis Nugent Dixon" wrote: > In a recent newsletter you make some of us drool with stories > about controlling iTunes from a Rev stack. Unfortunately, I > can't read the "associated stack" because I don't have the > latest version of Revolution, and I'm sure I'm not alone. > Is it possible to have a version of the stack I can open > with Rev 2.6. [1] " The example stack should work in older versions of Revolution on Mac OSX" Well, Francis, I am running 2.7.2 on OSX and it does not work for me. The mainstack opens, but I get "can't find handler iTunesPlay sPlaylist, pIndex", which is probably in the iTunes substack. It looks like the main stack is OK, but the substacks are not a compatible format. There could be other problems with the demo, but I have already tossed the example because I don't have time to figure out what's out of whack. Maybe sometime in the future it will come to light. Anyway, it did not simply download, open, and work, so I'll ignore it for now. I agree that it would have been better if the article told us which versions of Rev would run the demo, but part of the Rev experience is learning by experience. The addition of "do as vbscript" is an exciting one! I will probably have a client in the next few months that will need COM and I know I can get it. Jim Ault Las Vegas On 11/29/07 1:34 PM, "Francis Nugent Dixon" wrote: > Hi from Paris, > > In a recent newsletter you make some of us drool with stories > about controlling iTunes from a Rev stack. Unfortunately, I > can't read the "associated stack" because I don't have the > latest version of Revolution, and I'm sure I'm not alone. > Is it possible to have a version of the stack I can open > with Rev 2.6. > > Some of us don't have the unlimited resources to buy all the > (expensive) versions of Revolution as they become available. > > If your object is to let users of older versions of Revolution > by the wayside, please let us know now, so we can get used to > the idea. > > If anybody is interested in paying $124.50 for the latest version > of Rev Studio (we can split the costs of $249 for two copies), > please let me know before December 4. > > > Thanks > > -Francis > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From josh at dvcreators.net Fri Nov 30 14:24:26 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 30 Nov 2007 11:24:26 -0800 Subject: is this a bug that has been reported or should be? In-Reply-To: <03C8A71E-9CB9-47E5-894E-19B7E7ED2C84@dvcreators.net> References: <337C3CAA-D24B-4CD0-9689-7952D79A397E@dvcreators.net> <4735816B.4060207@ekoinf.net> <03C8A71E-9CB9-47E5-894E-19B7E7ED2C84@dvcreators.net> Message-ID: Rev seems to want to initiate an additional FTP connection for each file uploaded... The problem with this is that when uploading small files, with the default libURLSetFTPStopTime, if a new file uploads before that interval, Rev will quickly use up all the available ftp connections for a server, preventing anyone (or Rev) from ftp access to that server (until the connection is manually closed (or times out?). On Nov 27, 2007, at 3:57 PM, Josh Mellicker wrote: > We just found out something: > > Someone noticed it was always the 4th file that stalled (hung on > status "connecting...") > > Well, our server only allows 3 simultaneous FTP connections. > > So Rev was initiating a new FTP connection for each upload (using > libURLftpUploadFile) > > > Can I force Rev to use the same connection for multiple uploads? > > Or, can I make it close the connection after each successful > upload, so I don't run out of connections? > > > (increasing the limit on our server is not a solution- it will help > us, but not others :-) > > > On Nov 10, 2007, at 2:01 AM, viktoras didziulis wrote: > >> hi Josh, >> >> if you upload via ftp try increasing libURLSetFTPStopTime to >> anything more than the default 15 seconds. Dictionary says: use >> the libURLSetFTPStopTime command to increase the efficiency of >> multiple FTP transfers. The timeout set by libURLSetFTPStopTime >> controls when Revolution closes the connection from its end. >> >> or try setting the socketTimeoutInterval to some astronomic value >> like 30 000 (the default is 10 000, which means 10 sec). Some time >> ago this solved my problems with stalled downloads :-) >> >> Best wishes >> Viktoras >> >> Josh Mellicker wrote: >>> I am uploading a list of files. >>> >>> After uploading a few files with no problem, uploading "stalls" >>> with no progress, and no timeout message is sent. >>> >>> The first thing I tried was implementing a "red light/green >>> light" to make the upload blocking, so the second file would wait >>> (with messages) for the first file to successfully finish >>> uploading before proceeding, and so on. This seemed to help a >>> little, but uploading still stalls intermittently. >>> >>> Big Watcher >>> The next thing was, once the uploading begins, to start a "Big >>> Watcher" callback loop, that acts as a "Supervisor" to monitor >>> the libURLSetStatusCallback callback, with a 2 second non- >>> blocking loop- send "checkForStalledUpload" to me in 5 seconds >>> >>> If the status and bytes downloaded match, the Supervisor assumes >>> the current upload is stalled and does a "resetAll" and starts >>> over on the first unuploaded file. >>> >>> In theory, this sounds good, but so far, we haven't been able to >>> get the "resetAll" to work... >>> >>> Has anyone else experienced stalled libURL operations when >>> uploading or downloading a list of files? Did you find a solution? >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution 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 m.schonewille at economy-x-talk.com Fri Nov 30 15:38:23 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 30 Nov 2007 21:38:23 +0100 Subject: is this a bug that has been reported or should be? In-Reply-To: References: <337C3CAA-D24B-4CD0-9689-7952D79A397E@dvcreators.net> <4735816B.4060207@ekoinf.net> <03C8A71E-9CB9-47E5-894E-19B7E7ED2C84@dvcreators.net> Message-ID: <7BCF45A0-3066-4C96-9C8D-DD3A372B6924@economy-x-talk.com> Josh, This is not a bug. Use passive FTP. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 30-nov-2007, om 20:24 heeft Josh Mellicker het volgende geschreven: > Rev seems to want to initiate an additional FTP connection for each > file uploaded... > > The problem with this is that when uploading small files, with the > default libURLSetFTPStopTime, if a new file uploads before that > interval, Rev will quickly use up all the available ftp connections > for a server, preventing anyone (or Rev) from ftp access to that > server (until the connection is manually closed (or times out?). > > From dave.cragg at lacscentre.co.uk Fri Nov 30 16:13:16 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 30 Nov 2007 21:13:16 +0000 Subject: is this a bug that has been reported or should be? In-Reply-To: References: <337C3CAA-D24B-4CD0-9689-7952D79A397E@dvcreators.net> <4735816B.4060207@ekoinf.net> <03C8A71E-9CB9-47E5-894E-19B7E7ED2C84@dvcreators.net> Message-ID: On 30 Nov 2007, at 19:24, Josh Mellicker wrote: > Rev seems to want to initiate an additional FTP connection for each > file uploaded... > > The problem with this is that when uploading small files, with the > default libURLSetFTPStopTime, if a new file uploads before that > interval, Rev will quickly use up all the available ftp connections > for a server, preventing anyone (or Rev) from ftp access to that > server (until the connection is manually closed (or times out?). Sarah mentioned a similar thing recently. I tested here and everything worked as expected. (libUrl is designed to re-use open connections.) What OS are you using, and do you know what ftp server? If you could use libUrlSetLogField to get a log of the ftp sessions it might help see what is happening. You can mail it to me off list. Cheers Dave From rgould8 at aol.com Fri Nov 30 18:50:54 2007 From: rgould8 at aol.com (rgould8 at aol.com) Date: Fri, 30 Nov 2007 18:50:54 -0500 Subject: Demo of Rev 9 beta web-browser? Message-ID: <8CA01C2FB3730F4-784-2876@FWM-M08.sysops.aol.com> Say, can anyone point me to a Rev v. 9 beta stack that uses the new embeddable web-browser?? I'd like to create an app using it, but I need to make sure I can trap clicks and react to them using Revolution. ________________________________________________________________________ More new features than ever. Check out the new AOL Mail ! - http://o.aolcdn.com/cdn.webmail.aol.com/mailtour/aol/en-us/text.htm?ncid=aolcmp00050000000003 From andre at andregarzia.com Fri Nov 30 20:35:51 2007 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 30 Nov 2007 23:35:51 -0200 Subject: Welcome to Scotland In-Reply-To: References: <20071129203719558111.e304b3f9@sonsothunder.com> Message-ID: <7c87a2a10711301735p59e6537ajfaf5d906b8cbeb51@mail.gmail.com> What about "Brazil, the best really big jungle infested country in the world!" :D On 11/30/07, Jim Sims wrote: > > On Nov 30, 2007, at 6:05 AM, Kay C Lan wrote: > > >> I don't wish to detract from the general incredulity of how > >> someone can be > > paid so much to come up with the bleeding obvious, but I think in > > this case > > wont the next time you visit Glasgow the big 'Welcome to Scotland' > > still be > > there but instead of the small "Best Small Country In The World" be > > replaced > > with "Birthplace of Charles Rennie Mackintosh" and refer to the 2014 > > Commonwealth Games among other slogans. > > I'm going to see if I can that kind of cash for "Malta - the best > nano country in the world!" > > 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 > -- http://www.andregarzia.com All We Do Is Code. From rgould8 at aol.com Fri Nov 30 21:08:27 2007 From: rgould8 at aol.com (rgould8 at aol.com) Date: Fri, 30 Nov 2007 21:08:27 -0500 Subject: Demo of Rev 9 beta web-browser - nevermind, found it In-Reply-To: <8CA01C2FB3730F4-784-2876@FWM-M08.sysops.aol.com> References: <8CA01C2FB3730F4-784-2876@FWM-M08.sysops.aol.com> Message-ID: <8CA01D63201DF44-784-2CF8@FWM-M08.sysops.aol.com> Nevermind, I found it in the resources/examples folder in the beta. -----Original Message----- From: rgould8 at aol.com To: use-revolution at lists.runrev.com Sent: Fri, 30 Nov 2007 6:50 pm Subject: Demo of Rev 9 beta web-browser? Say, can anyone point me to a Rev v. 9 beta stack that uses the new embeddable web-browser?? I'd like to create an app using it, but I need to make sure I can trap clicks and react to them using Revolution. ________________________________________________________________________ More new features than ever. Check out the new AOL Mail ! - http://o.aolcdn.com/cdn.webmail.aol.com/mailtour/aol/en-us/text.htm?ncid=aolcmp00050000000003 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ________________________________________________________________________ More new features than ever. Check out the new AOL Mail ! - http://o.aolcdn.com/cdn.webmail.aol.com/mailtour/aol/en-us/text.htm?ncid=aolcmp00050000000003 From lan.kc.macmail at gmail.com Fri Nov 30 23:49:51 2007 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 1 Dec 2007 12:49:51 +0800 Subject: Welcome to Scotland In-Reply-To: References: <20071129203719558111.e304b3f9@sonsothunder.com> Message-ID: On Nov 30, 2007 1:17 PM, Jim Sims wrote: > > I'm going to see if I can that kind of cash for "Malta - the best > nano country in the world!" You could have a special campaign just for the Americans: Malta - the best unknown country in the world All in jest, I don't wish to just pick on the Americans, I'm sure, apart from Europeans, a vast majority of the world's population a) couldn't tell you where on the planet Malta is, and b) wouldn't know that it is it's own country. From lan.kc.macmail at gmail.com Fri Nov 30 23:51:11 2007 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 1 Dec 2007 12:51:11 +0800 Subject: Welcome to Scotland In-Reply-To: <7c87a2a10711301735p59e6537ajfaf5d906b8cbeb51@mail.gmail.com> References: <20071129203719558111.e304b3f9@sonsothunder.com> <7c87a2a10711301735p59e6537ajfaf5d906b8cbeb51@mail.gmail.com> Message-ID: On Dec 1, 2007 9:35 AM, Andre Garzia wrote: > What about "Brazil, the best really big jungle infested country in the > world!" :D > Welcome to Brazil Where jungle & pubic hair are competing for extinction ;-) From katir at hindu.org Fri Nov 30 23:51:12 2007 From: katir at hindu.org (Sivakatirswami) Date: Fri, 30 Nov 2007 18:51:12 -1000 Subject: Testing if there is an Internet Connection In-Reply-To: References: Message-ID: <4750E840.4090606@hindu.org> Dave wrote: > Hi all, > > Is there a way to test if the machine you are running on currently > connected to the Internet? > > Thanks a lot > All the Best > Dave I use a "baby face" method where the goal is to be sure they are talking to our own servers put a file your web site: ping.txt put the word "true" into that file then it is as simple as : on testConnection if not ((url "http://www.himalayanacademy.com/ping.txt")= "true") then answer "Please log in to the internet and try again." with "OK" end if end testConnection I see a lot of "macho" solutions but I never understood, at least in our context (wanting to be sure our users can access our servers) why there is any need for more than this. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jackstroh at usa.net Fri Nov 30 03:02:52 2007 From: jackstroh at usa.net (Jack Stroh) Date: Fri, 30 Nov 2007 08:02:52 -0000 Subject: [OT] SheepShaver and printing... Message-ID: Did you ever get an answer regarding printing with sheepshaver? Thanks. Jack Stroh