From jiml at netrin.com Wed Aug 1 00:05:53 2007 From: jiml at netrin.com (Jim Lambert) Date: Tue, 31 Jul 2007 21:05:53 -0700 Subject: Voyager Multimedia In-Reply-To: <20070731170005.A8FD3488F47@mail.runrev.com> References: <20070731170005.A8FD3488F47@mail.runrev.com> Message-ID: > Colin Holgate frequents the Apple QuickTime Talk list. And Colin is also an active participant of the Lingo-L (Director) list. I had the pleasure to program Voyager's 'Salt of the Earth' CD-ROM. It was one of the first disks to contain an entire feature film (albeit in a small size!) Voyager had a nice collection of custom HyperCard xcmds that made short work of some tricky maneuvers. The company was staffed with immensely talented, creative and quirky folk. Fun and trailblazing work. In time I imagine that original copies of Voyager's CD-ROMs could become quite collectable. Jim Lambert From mark at maseurope.net Wed Aug 1 00:38:26 2007 From: mark at maseurope.net (Mark Smith) Date: Wed, 1 Aug 2007 05:38:26 +0100 Subject: [ANN] BvG Docu gets an add-on AAG WebNotes In-Reply-To: References: <7c87a2a10707301914v655b6bf6i8c04be07c672684f@mail.gmail.com> <7c87a2a10707310854p199029eh84db1c6476ebb219@mail.gmail.com> Message-ID: <97C23B12-2F07-4799-BC0E-A477BDA4A3A2@maseurope.net> Sorry, I meant 'luiExtractTime()' - having looked at your code, I see you're using time-based uuids, so each webnote effectively has a timeStamp. Best, Mark On 31 Jul 2007, at 17:19, Mark Smith wrote: > Andre - depending on which type of UUID you chose, you may have > created a timestamp anyway. Check the getTimeStamp() function in > libUUID. From revolution at derbrill.de Wed Aug 1 06:51:46 2007 From: revolution at derbrill.de (Malte Brill) Date: Wed, 01 Aug 2007 12:51:46 +0200 Subject: backcolor for cascading menus anyone? In-Reply-To: <20070731170006.0EA90488F6C@mail.runrev.com> References: <20070731170006.0EA90488F6C@mail.runrev.com> Message-ID: <46B065C2.9000406@derbrill.de> Reading my post I think I was not clear enough what I need. I want the white area you can see in the snapshot to be gray also. Any pointers highly appreciated. Malte From len-morgan at crcom.net Wed Aug 1 08:12:09 2007 From: len-morgan at crcom.net (Len Morgan) Date: Wed, 01 Aug 2007 07:12:09 -0500 Subject: Shy Images Message-ID: <46B07899.5060209@crcom.net> I've got a problem with trying to drag an image from one group to another. The image seems to be behind every other object on the page. What I have is a 4 x 3 grid of groups. Each group has an image, a couple of text fields, and another small group of circles that look like a traffic light. What I'm trying to do is move the image from one group to another (this represents moving inmates in a jail from room to room by the way). I don't really even want to move the image. I just need to know the starting group and the ending group. The rest I can do in script. What's happening though is when I click and drag on the "source" image, it starts moving just fine until it reaches the border of any other group or even another field in it's own group then it disappears behind it. I've tried setting it's layer to the number of controls (thanks Markus!) but it didn't change anything. As I said above, I don't really want to move the image (in the programming sense of the word), I just want it to look like the user is dragging the image, capture the name of the group that it was dropped on, then I'll move the picture myself. Any ideas? Could I somehow duplicate the image I start with, make it a top level image, and switch what Rev thinks it's dragging to that? len From klaus at major-k.de Wed Aug 1 08:45:09 2007 From: klaus at major-k.de (Klaus Major) Date: Wed, 1 Aug 2007 14:45:09 +0200 Subject: unidecode broken on Intel Macs? Message-ID: <62399086-DA09-43CF-A184-22B4A4362E50@major-k.de> Hi friends, maybe I missed this, but looks like unidecode broken is on Intel Macs? OS X 10.4.10Rev 2.8.1 gm3 (or whatever was the last build) I developed a routine on an G5 to import VCF cards in 2.x AND 3.x format. Format 3.x comes (from addressbook) in uniencod-ed. Then I simply: put unidecode(var_in_uniencoded_format) into var_in_2_format and could work with the data in "var_in_2_format". Now on my Intel Mac mini "var_in_2_format" is EMPTY afterwards? What gives? Is this alreday "Quality Center"ed? Could not find a hint there... Regards Klaus Major klaus at major-k.de http://www.major-k.de From m.schonewille at economy-x-talk.com Wed Aug 1 08:51:33 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 1 Aug 2007 14:51:33 +0200 Subject: unidecode broken on Intel Macs? In-Reply-To: <62399086-DA09-43CF-A184-22B4A4362E50@major-k.de> References: <62399086-DA09-43CF-A184-22B4A4362E50@major-k.de> Message-ID: <982EBEB8-0CB8-4771-902F-6A1EC071EB16@economy-x-talk.com> Hi Klaus, Unicode is not broken on Intel Macs (at least not more than usual). It just works the same way as on Intel PC's. Mind the endian. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 1-aug-2007, om 14:45 heeft Klaus Major het volgende geschreven: > Hi friends, > > maybe I missed this, but looks like unidecode broken is on Intel Macs? > OS X 10.4.10Rev 2.8.1 gm3 (or whatever was the last build) > > I developed a routine on an G5 to import VCF cards in 2.x AND 3.x > format. > Format 3.x comes (from addressbook) in uniencod-ed. > > Then I simply: > put unidecode(var_in_uniencoded_format) into var_in_2_format > and could work with the data in "var_in_2_format". > > Now on my Intel Mac mini "var_in_2_format" is EMPTY afterwards? > What gives? Is this alreday "Quality Center"ed? > Could not find a hint there... > > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > From klaus at major-k.de Wed Aug 1 08:54:30 2007 From: klaus at major-k.de (Klaus Major) Date: Wed, 1 Aug 2007 14:54:30 +0200 Subject: unidecode broken on Intel Macs? In-Reply-To: <982EBEB8-0CB8-4771-902F-6A1EC071EB16@economy-x-talk.com> References: <62399086-DA09-43CF-A184-22B4A4362E50@major-k.de> <982EBEB8-0CB8-4771-902F-6A1EC071EB16@economy-x-talk.com> Message-ID: Dag Mark, > Hi Klaus, > > Unicode is not broken on Intel Macs (at least not more than usual). :-) > It just works the same way as on Intel PC's. Mind the endian. Ah, I see... ??? :-) Maybe you could get a TINY BIT more specific? > Best regards, > > Mark Schonewille > > -- > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http;//www.salery.com Regards Klaus Major klaus at major-k.de http://www.major-k.de From m.schonewille at economy-x-talk.com Wed Aug 1 09:16:35 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 1 Aug 2007 15:16:35 +0200 Subject: unidecode broken on Intel Macs? In-Reply-To: References: <62399086-DA09-43CF-A184-22B4A4362E50@major-k.de> <982EBEB8-0CB8-4771-902F-6A1EC071EB16@economy-x-talk.com> Message-ID: Klaus, The bytes in a word in a Unicode document created on a big-endian processor, such as the Macintosh, are arranged in an order opposite to that of the bytes in a word in a document created on an Intel processor. This means that you may have to revert all bytes in your unicode stream. For example 0xe0a1 becomes 0xa1e0. You need to experiment a little with this, because there is a bug that may cause a need for conversion to 0x1a0e. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 1-aug-2007, om 14:54 heeft Klaus Major het volgende geschreven: > Dag Mark, > >> Hi Klaus, >> >> Unicode is not broken on Intel Macs (at least not more than usual). > > :-) > >> It just works the same way as on Intel PC's. Mind the endian. > > Ah, I see... > ??? :-) > > Maybe you could get a TINY BIT more specific? > >> Best regards, >> >> Mark Schonewille >> >> -- >> >> Economy-x-Talk Consulting and Software Engineering >> http://economy-x-talk.com >> http;//www.salery.com > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de From mark at maseurope.net Wed Aug 1 09:39:26 2007 From: mark at maseurope.net (Mark Smith) Date: Wed, 1 Aug 2007 14:39:26 +0100 Subject: unidecode broken on Intel Macs? In-Reply-To: References: <62399086-DA09-43CF-A184-22B4A4362E50@major-k.de> <982EBEB8-0CB8-4771-902F-6A1EC071EB16@economy-x-talk.com> Message-ID: A big-endian (motorola) unicode character will be in the form : msb lsb, so if the character falls within the ascii range, say "A", then it will be . If it's in little-endian (intel) format, the same char will be . Unidecode simply removes the most significant byte of each unicode char/pair, so on Intel, thats the second byte, and on motorola that's the first byte. So the upshot is that if your data is big-endian (motorola), then to work with unidecode on intel, you'll need to swap each pair of bytes. function swapBytes pString repeat with n = 1 to length(pString) - 1 step 2 put char n+1 of pString & char n of pString after swappedString end repeat return swappedString end swapBytes I'm hoping that we'll get a complete revamp of Revs unicode handling, one of these days, but we're stuck with this sort of thing for now. :( Best, Mark On 1 Aug 2007, at 13:54, Klaus Major wrote: > > Ah, I see... > ??? :-) > > Maybe you could get a TINY BIT more specific? > >> Best regards, >> >> Mark Schonewille >> >> -- >> >> Economy-x-Talk Consulting and Software Engineering >> http://economy-x-talk.com >> http;//www.salery.com > > 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 From shoreagent at gmail.com Wed Aug 1 09:39:55 2007 From: shoreagent at gmail.com (william humphrey) Date: Wed, 1 Aug 2007 09:39:55 -0400 Subject: [slightly [OT]] A little Help removing Galaxy In-Reply-To: References: <46799511.1030001@crcom.net> Message-ID: <459b22a90708010639r4e32531fxe27eac348effb69c@mail.gmail.com> I also know there is a galaxy support forum. But what galaxy really really really needs is a simple PDF with maybe three pages of instructions that you can print out. I searched all the galaxy help files both the internet and the program and found no mention of how to comment and un-comment a script (it has a very fancy thing where you can automatically comment at a break-point). I tried every single command key combination I could think of and found out that "command - " will comment a script but "command +" or command anything else will not un-comment the script. PLEASE Galaxy people give us a three page simple documentation for the simple user who doesn't know all this stuff and doesn't have two hours to search for it. I am now going to use the back space key and the mouse to laboriously un-comment the script. From klaus at major-k.de Wed Aug 1 10:20:25 2007 From: klaus at major-k.de (Klaus Major) Date: Wed, 1 Aug 2007 16:20:25 +0200 Subject: unidecode broken on Intel Macs? In-Reply-To: References: <62399086-DA09-43CF-A184-22B4A4362E50@major-k.de> <982EBEB8-0CB8-4771-902F-6A1EC071EB16@economy-x-talk.com> Message-ID: Hi Mark, > A big-endian (motorola) unicode character will be in the form : msb > lsb, so if the character falls within the ascii range, say "A", > then it will be . > > If it's in little-endian (intel) format, the same char will be > . > > Unidecode simply removes the most significant byte of each unicode > char/pair, so on Intel, thats the second byte, and on motorola > that's the first byte. Yep, that's what I read in the docs. But the docs also read: "The ability to handle double-byte characters on "little-endian" processors was added in version 2.0. In previous versions, the uniDecode function always removed the second byte of each pair of bytes, regardless of platform." This gives me the impression that the function itself will take care of the differences between the processors -> "...regardless of platform"! Maybe I am wrong? > So the upshot is that if your data is big-endian (motorola), then > to work with unidecode on intel, you'll need to swap each pair of > bytes. > > function swapBytes pString > repeat with n = 1 to length(pString) - 1 step 2 > put char n+1 of pString & char n of pString after swappedString > end repeat > return swappedString > end swapBytes Thanks a lot, will try this (well maybe... ;-) > I'm hoping that we'll get a complete revamp of Revs unicode > handling, one of these days, but we're stuck with this sort of > thing for now. :( > > Best, > > Mark Regards from germany Klaus Major klaus at major-k.de http://www.major-k.de From revolution at derbrill.de Wed Aug 1 10:36:08 2007 From: revolution at derbrill.de (Malte Brill) Date: Wed, 01 Aug 2007 16:36:08 +0200 Subject: unidecode broken on Intel Macs? In-Reply-To: <20070730170005.4E260488E31@mail.runrev.com> References: <20070730170005.4E260488E31@mail.runrev.com> Message-ID: <46B09A58.2090504@derbrill.de> Hi Klaus, assuming your Text is UTF-8 try this put uniDecode(uniEncode(uniEncodedVar,"UTF8"),"english") into decodedVar Hope that helps. Malte From m.schonewille at economy-x-talk.com Wed Aug 1 10:36:23 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 1 Aug 2007 16:36:23 +0200 Subject: unidecode broken on Intel Macs? In-Reply-To: References: <62399086-DA09-43CF-A184-22B4A4362E50@major-k.de> <982EBEB8-0CB8-4771-902F-6A1EC071EB16@economy-x-talk.com> Message-ID: <281703E7-1003-4231-9CD2-2954F67C8892@economy-x-talk.com> Hi Klaus, You are right, but only with regard to languages that can be expressed in single-byte characters. If you are working with double- byte languages, you can't simple unidecode into single-byte characters. Apparently, Rev 1.0 couldn't handle Chinese and Arabic (but I never tried that with version 1.0). I am not sure that the addition of the capability to handle double- byte characters automatically implies that unidecode no longer cuts off the second byte of each pair regardless of platform. I did have a Mac file recently, which I had to convert to little endian before unidecoding it on Windows. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 1-aug-2007, om 16:20 heeft Klaus Major het volgende geschreven: > Hi Mark, > > >> A big-endian (motorola) unicode character will be in the form : >> msb lsb, so if the character falls within the ascii range, say >> "A", then it will be . >> >> If it's in little-endian (intel) format, the same char will be >> . >> >> Unidecode simply removes the most significant byte of each unicode >> char/pair, so on Intel, thats the second byte, and on motorola >> that's the first byte. > > Yep, that's what I read in the docs. > > But the docs also read: > "The ability to handle double-byte characters on "little-endian" > processors was added in version 2.0. In previous versions, the > uniDecode function always removed the second byte of each pair of > bytes, regardless of platform." > > This gives me the impression that the function itself will take > care of the differences between the processors -> "...regardless of > platform"! > Maybe I am wrong? > >> So the upshot is that if your data is big-endian (motorola), then >> to work with unidecode on intel, you'll need to swap each pair of >> bytes. >> >> function swapBytes pString >> repeat with n = 1 to length(pString) - 1 step 2 >> put char n+1 of pString & char n of pString after swappedString >> end repeat >> return swappedString >> end swapBytes > > Thanks a lot, will try this (well maybe... ;-) > >> I'm hoping that we'll get a complete revamp of Revs unicode >> handling, one of these days, but we're stuck with this sort of >> thing for now. :( From klaus at major-k.de Wed Aug 1 10:46:08 2007 From: klaus at major-k.de (Klaus Major) Date: Wed, 1 Aug 2007 16:46:08 +0200 Subject: unidecode broken on Intel Macs? In-Reply-To: <46B09A58.2090504@derbrill.de> References: <20070730170005.4E260488E31@mail.runrev.com> <46B09A58.2090504@derbrill.de> Message-ID: <1957FD51-C680-45CA-8F04-0022AE1A2778@major-k.de> Hi Malte, > Hi Klaus, > > assuming your Text is UTF-8 try this > > put uniDecode(uniEncode(uniEncodedVar,"UTF8"),"english") into > decodedVar thanks, but does not work for me. I test with VCF card from OS X AddressBook in 3.0 format. But Mark Smith's little function does the job nicely :-) Thanks again Mark! > Hope that helps. > > Malte Best Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Wed Aug 1 10:48:03 2007 From: klaus at major-k.de (Klaus Major) Date: Wed, 1 Aug 2007 16:48:03 +0200 Subject: unidecode broken on Intel Macs? In-Reply-To: <281703E7-1003-4231-9CD2-2954F67C8892@economy-x-talk.com> References: <62399086-DA09-43CF-A184-22B4A4362E50@major-k.de> <982EBEB8-0CB8-4771-902F-6A1EC071EB16@economy-x-talk.com> <281703E7-1003-4231-9CD2-2954F67C8892@economy-x-talk.com> Message-ID: <675211C2-355B-4D3E-9706-1AC8493D57BE@major-k.de> Hi Mark, > Hi Klaus, > > You are right, but only with regard to languages that can be > expressed in single-byte characters. If you are working with double- > byte languages, you can't simple unidecode into single-byte > characters. Apparently, Rev 1.0 couldn't handle Chinese and Arabic > (but I never tried that with version 1.0). Ah, I see, thanks for the explanation. Was more like "wishful reading" on my side ;-) > I am not sure that the addition of the capability to handle double- > byte characters automatically implies that unidecode no longer cuts > off the second byte of each pair regardless of platform. I did have > a Mac file recently, which I had to convert to little endian before > unidecoding it on Windows. > > Best regards, > > Mark Schonewille > > -- > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http;//www.salery.com Regards Klaus Major klaus at major-k.de http://www.major-k.de From mark at maseurope.net Wed Aug 1 10:56:53 2007 From: mark at maseurope.net (Mark Smith) Date: Wed, 1 Aug 2007 15:56:53 +0100 Subject: unidecode broken on Intel Macs? In-Reply-To: References: <62399086-DA09-43CF-A184-22B4A4362E50@major-k.de> <982EBEB8-0CB8-4771-902F-6A1EC071EB16@economy-x-talk.com> Message-ID: <996CA461-2889-4572-9428-753F5E358C86@maseurope.net> Part of the trouble is that Revs Unicode handling doesn't include any ability to use Byte-Order Marks (BOM). These are pairs of bytes at the start of a unicode string that expresses the byte order of the string that follows. Rev simply assumes that the byte-order is that of whatever processor it's running on, regardless of where the string may have come from. Best, Mark From kray at sonsothunder.com Wed Aug 1 11:20:12 2007 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 1 Aug 2007 10:20:12 -0500 Subject: Shy Images In-Reply-To: <46B07899.5060209@crcom.net> References: <46B07899.5060209@crcom.net> Message-ID: <20070801102012840658.350c4588@sonsothunder.com> On Wed, 01 Aug 2007 07:12:09 -0500, Len Morgan wrote: > Any ideas? Could I somehow duplicate the image I start with, make it > a top level image, and switch what Rev thinks it's dragging to that? That's exactly what I was about to suggest... you'll need to make a copy, but not just inside the same group or you'll not be able to exit the group the original image was in. So you don't want to use "clone" (which would do just that), but instead do: copy the target to this card which will make a copy and put it *outside* the group. After that, I'd enter your 'mouseMove' routine to do the dragging on the new image (the long id of which will be in "it"). Something like this (card script): llocal sTarget on mouseDown if word 1 of the name of the target is "image" then -- or some other filter copy the target to this card put it into sTarget else pass mouseDown end if end mouseDown on mouseMove if sTarget is not empty then set the loc of sTarget to the mouseLoc end if pass mouseMove end mouseMove on mouseRelease delete sTarget -- removes the copy you created put empty into sTarget end mouseRelease This is really simplistic, but you get the idea... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From shoreagent at gmail.com Wed Aug 1 11:59:37 2007 From: shoreagent at gmail.com (william humphrey) Date: Wed, 1 Aug 2007 11:59:37 -0400 Subject: [slightly [OT]] A little Help removing Galaxy In-Reply-To: <459b22a90708010639r4e32531fxe27eac348effb69c@mail.gmail.com> References: <46799511.1030001@crcom.net> <459b22a90708010639r4e32531fxe27eac348effb69c@mail.gmail.com> Message-ID: <459b22a90708010859v397a6a87l10d66617a407a267@mail.gmail.com> I remember using galaxy once and found a secret key combination that made even nicer commenting than the default runrev ones but I can't discover it again. From stephenREVOLUTION at barncard.com Wed Aug 1 12:02:11 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 1 Aug 2007 09:02:11 -0700 Subject: [slightly [OT]] A little Help removing Galaxy In-Reply-To: <459b22a90708010639r4e32531fxe27eac348effb69c@mail.gmail.com> References: <46799511.1030001@crcom.net> <459b22a90708010639r4e32531fxe27eac348effb69c@mail.gmail.com> Message-ID: "cmd shift - " will undo comments. It's slightly broken in the new beta and requires a few extry keystrokes to reverse direction, but it's neither nonstandard or 'fancy'. >I also know there is a galaxy support forum. so why not go there? Jerry usually answers within a day or so. > But what galaxy really really >really needs is a simple PDF with maybe three pages of instructions that you >can print out. I searched all the galaxy help files both the internet and >the program and found no mention of how to comment and un-comment a script >(it has a very fancy thing where you can automatically comment at a >break-point). >I tried every single command key combination I could think of and found out >that "command - " will comment a script but "command +" or command anything >else will not un-comment the script. > >PLEASE Galaxy people give us a three page simple documentation for the >simple user who doesn't know all this stuff and doesn't have two hours to >search for it. > >I am now going to use the back space key and the mouse to laboriously >un-comment the script. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From runrev at aboutmyfiles.com Wed Aug 1 12:14:25 2007 From: runrev at aboutmyfiles.com (Mark E. Powell) Date: Wed, 01 Aug 2007 16:14:25 +0000 Subject: mercy...Control-A and text selection revisited Message-ID: Sorry, the archives are not solving this for me and I need to throw myself on the mercy of the list. After a user enters cursor in a fld (its traversalOn property is true), I want control-A to select the text of that fld. How do I do it? The focusedObject is the fld, but the controlkeydown message is never received by the field. Clicking outside the field makes the focusedObject the card, but when pressing control-A then the controlKeyDown message is not received by the card either. A test button that says on mouseUp select text of fld "dump" end mouseUp does select the text of the field successfully. All the foregoing in both IDE and standalone. Rev 2.8 Build 360. What am I doing wrong? Mark From FlexibleLearning at aol.com Wed Aug 1 12:26:43 2007 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed, 1 Aug 2007 12:26:43 EDT Subject: backcolor for cascading menus anyone? Message-ID: > Reading my post I think I was not clear enough what I need. I want the > white area you can see in the snapshot to be gray also. > > > > Any pointers highly appreciated. Hi Malte, You can't. Cascaded menus seem live in a world of their own and do not seem to inherit very much from the parent. I've had the same problem. The good news is that, officially, 'hierarchical menus are bad, so this issue will not affect you because you won't have them". ;-) /H From katheryn.swynford at gmail.com Wed Aug 1 12:29:23 2007 From: katheryn.swynford at gmail.com (Judy Perry) Date: Wed, 1 Aug 2007 09:29:23 -0700 Subject: Being dumb with "repeat" and "&" Message-ID: <4be051070708010929q28605bbamb0740dac14921a2f@mail.gmail.com> Hi, Maybe it's the Florida vacation humidity affecting my already feeble brain, but I'm having problems with the following: repeat with n = 1 to 15 put "penny" & n into myPenny hide image myPenny end repeat I get: Message execution error: Error description: Chunk: no such object when I run the handler from the message box. HOWEVER, if I do this, manually, from the message box: put "penny" & "1" into myPenny hide image myPenny it work. Why? Why isn't it working in the handler? Any ideas? Thank you, Judy From m.schonewille at economy-x-talk.com Wed Aug 1 12:35:37 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 1 Aug 2007 18:35:37 +0200 Subject: Being dumb with "repeat" and "&" In-Reply-To: <4be051070708010929q28605bbamb0740dac14921a2f@mail.gmail.com> References: <4be051070708010929q28605bbamb0740dac14921a2f@mail.gmail.com> Message-ID: <7D7D2112-FE9F-4420-BD07-4D80AA097D54@economy-x-talk.com> Hi Judy, What is really in n? Is it possible that n contains 1.0, 2.0 etc instead of 1, 2 etc? I had a similar problem after setting the numberformat. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 1-aug-2007, om 18:29 heeft Judy Perry het volgende geschreven: > Hi, > > Maybe it's the Florida vacation humidity affecting my already feeble > brain, but I'm having problems with the following: > > repeat with n = 1 to 15 > put "penny" & n into myPenny > hide image myPenny > end repeat > > I get: > > Message execution error: > Error description: Chunk: no such object > > when I run the handler from the message box. > > HOWEVER, if I do this, manually, from the message box: > > put "penny" & "1" into myPenny > hide image myPenny > > it work. > > Why? Why isn't it working in the handler? Any ideas? > > Thank you, > > Judy From katheryn.swynford at gmail.com Wed Aug 1 13:09:21 2007 From: katheryn.swynford at gmail.com (Judy Perry) Date: Wed, 1 Aug 2007 10:09:21 -0700 Subject: Being dumb with "repeat" and "&" In-Reply-To: <7D7D2112-FE9F-4420-BD07-4D80AA097D54@economy-x-talk.com> References: <4be051070708010929q28605bbamb0740dac14921a2f@mail.gmail.com> <7D7D2112-FE9F-4420-BD07-4D80AA097D54@economy-x-talk.com> Message-ID: <4be051070708011009k29489492q72f05cd4d854968d@mail.gmail.com> Well... I dunno. I don't think I've ever set the numberFormat (haven't had a reason to). But it seems to be working now... after numerous times of it not working. Honestly... my computer is infected :-/ Thanks, Mark. Judy On 8/1/07, Mark Schonewille wrote: > Hi Judy, > > What is really in n? Is it possible that n contains 1.0, 2.0 etc > instead of 1, 2 etc? I had a similar problem after setting the > numberformat. > > Best regards, > > Mark Schonewille > > -- > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http;//www.salery.com > > Quickly extract data from your HyperCard stacks with DIFfersifier. > http://differsifier.economy-x-talk.com > > > Op 1-aug-2007, om 18:29 heeft Judy Perry het volgende geschreven: > > > Hi, > > > > Maybe it's the Florida vacation humidity affecting my already feeble > > brain, but I'm having problems with the following: > > > > repeat with n = 1 to 15 > > put "penny" & n into myPenny > > hide image myPenny > > end repeat > > > > I get: > > > > Message execution error: > > Error description: Chunk: no such object > > > > when I run the handler from the message box. > > > > HOWEVER, if I do this, manually, from the message box: > > > > put "penny" & "1" into myPenny > > hide image myPenny > > > > it work. > > > > Why? Why isn't it working in the handler? Any ideas? > > > > Thank you, > > > > 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 andre at andregarzia.com Wed Aug 1 15:34:20 2007 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 1 Aug 2007 16:34:20 -0300 Subject: BvG Docu with WebNotes updated (Was Re: [ANN] BvG Docu gets an add-on AAG WebNotes) Message-ID: <7c87a2a10708011234p7e5cba0aid114daab09d22e21@mail.gmail.com> Friends, I've updated the stack so the sliders work, when I first created it, I didn't knew they were sliders :-/ my mistake. get it from http://www.andregarzia.com/rev/docuwebnotes.rev still there will be more updates on the following days. andre From list at dreamscapesoftware.com Wed Aug 1 16:58:55 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Wed, 01 Aug 2007 15:58:55 -0500 Subject: RevZip Behavior in Vista Message-ID: <46B0F40F.2070109@dreamscapesoftware.com> I'm noticing some weird behavior within Revolution that I really would like to resolve. 1. I've got a project that compresses a bunch of files to a zip file using the RevZip external. It works wonderfully, but Vista seems to think my project is "Not Responding" even when it's working just fine. The archive is usually about 18mb's. I've got the callback message for RevZip working fine so I am getting and displaying feedback on my stack. The only problem is that as soon as I try to move the stack's window or click inside the window (like any Windows user WILL do), Vista instantly gray's out the window and puts the "(Not Responding" item after the title. Then it doesn't show anything on the screen until the operation involving RevZip is complete. 2. Opening and closing a zip file works fine the first time, but if I try to re-open the file, I get a zip error. Is this normal? Can revZip only open and close a specific zip file once per session? Derek Bump Dreamscape Software http://www.dreamscapesoftware.com From josh at dvcreators.net Wed Aug 1 19:09:01 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Wed, 1 Aug 2007 16:09:01 -0700 Subject: save data in custom properties in a stack- or a text file? Message-ID: <827840B6-DFEC-4F01-AF61-9E71C09CFFED@dvcreators.net> I know stacks are a nice way to save a lot of data because it can be organized by custom property and custom property set. But what about a simple list of data consisting of name, URL, and a couple other fields, that needs to be downloaded from a server- would you save the data in: A. a stack in custom properties? B. Or a text file? The information in this case will never get more complicated, though is remotely possible a data field or two might be added in the future. But the data will never evolve to be complex, it will always merely be a list of files. Here is my comparison: writing to/reading from: code must be written for both, text file a little easier entering/reading data manually: text file way easier encrypting: a tie adding data "fields": a tie, easy in either (you must think ahead) possible data corruption: a tie From sarah.reichelt at gmail.com Wed Aug 1 19:20:29 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 2 Aug 2007 09:20:29 +1000 Subject: mercy...Control-A and text selection revisited In-Reply-To: References: Message-ID: On 8/2/07, Mark E. Powell wrote: > Sorry, the archives are not solving this for me and I need to throw myself on the mercy of the list. > > After a user enters cursor in a fld (its traversalOn property is true), I want control-A to select the text of that fld. How do I do it? > > The focusedObject is the fld, but the controlkeydown message is never received by the field. Clicking outside the field makes the focusedObject the card, but when pressing control-A then the controlKeyDown message is not received by the card either. A test button that says > > on mouseUp > select text of fld "dump" > end mouseUp > > does select the text of the field successfully. All the foregoing in both IDE and standalone. Rev 2.8 Build 360. Are you using a custom menu bar or the default Rev menu bar? If you have the Rev menu bar it should just work. If you have a custom menu bar, then add "Select All" to the Edit menu, give it the shortcut you want, and then add this section to the Edit menu buttons script: case "Select All" put the focusedObject into tID if tID contains "field" then select text in tID end if break This assumes you have a standard menu handler using a switch. HTH, Sarah From ambassador at fourthworld.com Wed Aug 1 19:34:40 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 01 Aug 2007 16:34:40 -0700 Subject: save data in custom properties in a stack- or a text file? Message-ID: <46B11890.2030300@fourthworld.com> Josh Mellicker wrote: > I know stacks are a nice way to save a lot of data because it can be > organized by custom property and custom property set. > > But what about a simple list of data consisting of name, URL, and a > couple other fields, that needs to be downloaded from a server- would > you save the data in: > > A. a stack in custom properties? > B. Or a text file? > > The information in this case will never get more complicated, though > is remotely possible a data field or two might be added in the > future. But the data will never evolve to be complex, it will always > merely be a list of files. > > > Here is my comparison: > > writing to/reading from: code must be written for both, text file a > little easier Depends on what you're writing. If you're just writing a single sequential list than dumping it to a file would be simple enough. But if you need to access specific elements of that data, it's hard to beat the convenient flexibility and performance of array syntax to get custom prop elements. > entering/reading data manually: text file way easier What is "manually" in this context? What other processes in the workflow require "manual" editing? > encrypting: a tie > > adding data "fields": a tie, easy in either (you must think ahead) Maybe, maybe not. Again, it depends on the specifics of the implementation. Adding a column to a list is easy enough, and using linked-listed to attach even large elements to property arrays can be easy enough, more efficient with large data, and possibly more flexible. > possible data corruption: a tie Maybe, but consider this: If you parse your own file yourself, you're responsible for defining the format and the accessors which will use that format, and must test your invention thoroughly. But the custom property mechanism is already in the engine, already field-tested for more than a decade, and in all that time I've only even heard about three cases of true file corruption, and only seen one of those firsthand myself. Ten years is a long time. Also, with stack files you get an automatic temporary backup whenever the save command is issued: the last saved copy of the stack file is written to a temp file preceeded with a tilde (e.g., "mystack.rev" becomes "~mystack.rev"), then the new stack file is written fresh from RAM contents, and only when the integrity of the completely fresh file has been checked is that temp file deleted. So among other things this means that if your using has a power outage during a save, or any other unexpected interruption, the engine's handling of stack files automatically gives you a safety that's been proven in real-world work for many years. You'd have to write that yourself if you wanted to provide similar protection. Another plus for stack files: With stack files you can add other lists, tables, metadata, even hierarchical data at any time without changing the accessors for your original data set. This inherent zero-cost extensibility is one of many reasons I've been migrating most of the apps I manage from custom formats to stack file formats. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From mark at maseurope.net Wed Aug 1 19:36:14 2007 From: mark at maseurope.net (Mark Smith) Date: Thu, 2 Aug 2007 00:36:14 +0100 Subject: save data in custom properties in a stack- or a text file? In-Reply-To: <827840B6-DFEC-4F01-AF61-9E71C09CFFED@dvcreators.net> References: <827840B6-DFEC-4F01-AF61-9E71C09CFFED@dvcreators.net> Message-ID: One other consideration is how the data is to be used. Even though the data maybe simple, if you were going to load it into an array in your app, then saving it as a customPopertySet in a stack file might be easier. from a text file to an array goes from put URL "file:someFile.txt" into tArray split tArray by cr and "=" to put the customProperties["data"] of stack whatever into tArray Otherwise, and obviously if human-readability is an issue, I'd use a text file. Best, Mark On 2 Aug 2007, at 00:09, Josh Mellicker wrote: > I know stacks are a nice way to save a lot of data because it can > be organized by custom property and custom property set. > > But what about a simple list of data consisting of name, URL, and a > couple other fields, that needs to be downloaded from a server- > would you save the data in: > > A. a stack in custom properties? > > B. Or a text file? > > > The information in this case will never get more complicated, > though is remotely possible a data field or two might be added in > the future. But the data will never evolve to be complex, it will > always merely be a list of files. > > > Here is my comparison: > > writing to/reading from: code must be written for both, text file a > little easier > > entering/reading data manually: text file way easier > > encrypting: a tie > > adding data "fields": a tie, easy in either (you must think ahead) > > possible data corruption: a tie > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION at barncard.com Wed Aug 1 19:46:48 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 1 Aug 2007 16:46:48 -0700 Subject: save data in custom properties in a stack- or a text file? In-Reply-To: <827840B6-DFEC-4F01-AF61-9E71C09CFFED@dvcreators.net> References: <827840B6-DFEC-4F01-AF61-9E71C09CFFED@dvcreators.net> Message-ID: there are so many ways and so many different solutions... all good. No method is inherently 'easier'. You have to focus on what's best for your user. Will this be used by many or just one person? Does it need to travel with the app or does there need to be prefs for multiple users? Text Files If you're on a Mac, there are even more solutions. On a recent 'quick app' binge for a friend, I came up with a solution for configuration storage that still had to be editable by the user. And stays with the app (for now). So although it was created as a double clickable application, option-clicking will reveal inside are more folders inside and those folders are areas (where the rev binary and external stacks live) where some data can be successfully written to by the app. In order to not 'step on' the data I use the IDE and edit "inside" the package, with the added benefit that I don't have to recompile the standalone over and over and can test it immediately - and all the paths are already in place. Available by menu, the app calls an Applescript call "Reveal Folder" and the client could take it from there and edit the little files that my app needs for part of the input (already stamped with their 'creator' and 'type' tags by double clicking.I just saved having to re-invent the wheel for a little used but needed feature in my quick app. The files then get edited in TextEdit. And the little files travel in the app with the client in her USB dongle. specialfolderpath is good for multiple users at a workstation: you can always call each platform's specialfolderpath("preferences") and put a folder in there with your app name and then put all sorts of files in there. or if the user needs to get to the files sometimes specialfolderpath("docs") or if it's part of a urgent workflow specialfolderpath("desktop") Custom Props Allow saving in a structured way, a hierarchy. stack ----> card ------>property set----->property----> properties lists inside of properties It allows the clustering and associations one might get with files and folders, but in a better way. But all the statements I made about WHERE to save still applies to stacks with custom properties as well as text files. Text files, unless you use XML or some other method, are only one dimensional, and one ends up using different kinds of delimiters to keep the varied fields of data together in on file. Often faster to develop. sqb >I know stacks are a nice way to save a lot of data because it can be >organized by custom property and custom property set. > >But what about a simple list of data consisting of name, URL, and a >couple other fields, that needs to be downloaded from a server- >would you save the data in: > >A. a stack in custom properties? > >B. Or a text file? > > >The information in this case will never get more complicated, though >is remotely possible a data field or two might be added in the >future. But the data will never evolve to be complex, it will always >merely be a list of files. > > >Here is my comparison: > >writing to/reading from: code must be written for both, text file a >little easier > >entering/reading data manually: text file way easier > >encrypting: a tie > >adding data "fields": a tie, easy in either (you must think ahead) > >possible data corruption: a tie > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From sarah.reichelt at gmail.com Wed Aug 1 19:57:06 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 2 Aug 2007 09:57:06 +1000 Subject: BvG Docu with WebNotes updated (Was Re: [ANN] BvG Docu gets an add-on AAG WebNotes) In-Reply-To: <7c87a2a10708011234p7e5cba0aid114daab09d22e21@mail.gmail.com> References: <7c87a2a10708011234p7e5cba0aid114daab09d22e21@mail.gmail.com> Message-ID: On 8/2/07, Andre Garzia wrote: > Friends, > I've updated the stack so the sliders work, when I first created it, I > didn't knew they were sliders :-/ my mistake. > > get it from http://www.andregarzia.com/rev/docuwebnotes.rev > Hi Andre, This is fantastic. I hope Rev takes it onboard so that we can have the same sort of active documentation as MySQL does. I just added my first note (to "answer file" if you want to check it). It just occurred to me that if I found an error in my note then I might want to edit it. Are you planning any way to allow editing of notes, or would I just add a new note correcting my error? BTW, I haven't found an error yet as far as I know, I just thought of it as a possibility. Cheers, Sarah From gandalf at doctorTimothyMiller.com Wed Aug 1 21:10:49 2007 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 1 Aug 2007 18:10:49 -0700 Subject: Voyager Multimedia In-Reply-To: References: <20070731170005.A8FD3488F47@mail.runrev.com> Message-ID: Already the Stravinsky Voyager CD is quite hard to find and selling at $60 or so from used book and CD dealers. But it seems more desirable for these to remain available to the public, and useable on a non-legacy computer. "If Monks Had Macs" was originally a Voyager HyperCard stack, if I'm not mistaken. It's been converted to Rev and is commercially available at modest cost. Seems like the same thing could happen with the Voyager music tutorial CDs. Maybe one of the copyright holders will hear about this thread and get in touch with Rev. Tim On Jul 31, 2007, at 9:05 PM, Jim Lambert wrote: >> Colin Holgate frequents the Apple QuickTime Talk list. > > And Colin is also an active participant of the Lingo-L (Director) > list. > > I had the pleasure to program Voyager's 'Salt of the Earth' CD-ROM. > It was one of the first disks to contain an entire feature film > (albeit in a small size!) > Voyager had a nice collection of custom HyperCard xcmds that made > short work of some tricky maneuvers. The company was staffed with > immensely talented, creative and quirky folk. Fun and trailblazing > work. > > In time I imagine that original copies of Voyager's CD-ROMs could > become quite collectable. > > Jim Lambert > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Aug 1 22:15:27 2007 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 1 Aug 2007 23:15:27 -0300 Subject: BvG Docu with WebNotes updated (Was Re: [ANN] BvG Docu gets an add-on AAG WebNotes) In-Reply-To: References: <7c87a2a10708011234p7e5cba0aid114daab09d22e21@mail.gmail.com> Message-ID: <7c87a2a10708011915y4657fa82w2772d34b718bcd3d@mail.gmail.com> Thanks for the kind words Sarah, I've made a little update, Mark Smith identified a problem with commands that have a space in it such as answer file... I've fixed to make spaces into underscores. I moved your comment to answer file. I'll add editing and comment removal in the next days. I'll also add auto update so people know they are running the latest version. Any other feature request? I am issuing updates every four or so hours. Andre On 8/1/07, Sarah Reichelt wrote: > > On 8/2/07, Andre Garzia wrote: > > Friends, > > I've updated the stack so the sliders work, when I first created it, I > > didn't knew they were sliders :-/ my mistake. > > > > get it from http://www.andregarzia.com/rev/docuwebnotes.rev > > > > Hi Andre, > > This is fantastic. I hope Rev takes it onboard so that we can have the > same sort of active documentation as MySQL does. > > I just added my first note (to "answer file" if you want to check it). > It just occurred to me that if I found an error in my note then I > might want to edit it. Are you planning any way to allow editing of > notes, or would I just add a new note correcting my error? BTW, I > haven't found an error yet as far as I know, I just thought of it as a > possibility. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rteeter at geusnet.com Wed Aug 1 22:59:26 2007 From: rteeter at geusnet.com (RG Teeter) Date: Wed, 1 Aug 2007 21:59:26 -0500 Subject: Find Command Message-ID: Friends, I have recently upgraded from HyperCard to Revolution Media. I am recreating some hypercard stacks. I am having a problem with "find" The handler below: on mouseUp 1 select the clickline 2 put the selectedtext into wordToFind 3 find string wordToFind in field "TestFld2" 4 put wordToFind & the result 5 find string "Cafe (das)" in field "TestFld2" end mouseUp line 5 works as expected. line 3 returns "Not Found" Why? From ambassador at fourthworld.com Wed Aug 1 23:13:00 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 01 Aug 2007 20:13:00 -0700 Subject: Find Command Message-ID: <46B14BBC.7090104@fourthworld.com> RG Teeter wrote: > I am recreating some hypercard stacks. > > I am having a problem with "find" > > The handler below: > > on mouseUp > 1 select the clickline > 2 put the selectedtext into wordToFind > 3 find string wordToFind in field "TestFld2" > 4 put wordToFind & the result > 5 find string "Cafe (das)" in field "TestFld2" > end mouseUp > > line 5 works as expected. > line 3 returns "Not Found" Try adding a diagnostic line to check the value of the selection: on mouseUp select the clickline put the selectedtext into wordToFind find string wordToFind in field "TestFld2" put wordToFind & the result find string "Cafe (das)" in field "TestFld2" put wordToFind && (wordToFind = "Cafe (das)") --< end mouseUp -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From sarah.reichelt at gmail.com Wed Aug 1 23:20:30 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 2 Aug 2007 13:20:30 +1000 Subject: BvG Docu with WebNotes updated (Was Re: [ANN] BvG Docu gets an add-on AAG WebNotes) In-Reply-To: <7c87a2a10708011915y4657fa82w2772d34b718bcd3d@mail.gmail.com> References: <7c87a2a10708011234p7e5cba0aid114daab09d22e21@mail.gmail.com> <7c87a2a10708011915y4657fa82w2772d34b718bcd3d@mail.gmail.com> Message-ID: On 8/2/07, Andre Garzia wrote: > Thanks for the kind words Sarah, I've made a little update, Mark Smith > identified a problem with commands that have a space in it such as answer > file... I've fixed to make spaces into underscores. I moved your comment to > answer file. > I'll add editing and comment removal in the next days. I'll also add auto > update so people know they are running the latest version. > > Any other feature request? I am issuing updates every four or so hours. Just one, an option to turn off auto-downloading of the web notes with a button to check of there are any for a particular entry. This would ease the load on your server as well as being good for people with slow connections or connections that are not always on. Cheers, Sarah From jacque at hyperactivesw.com Wed Aug 1 23:24:15 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 01 Aug 2007 22:24:15 -0500 Subject: save data in custom properties in a stack- or a text file? In-Reply-To: <827840B6-DFEC-4F01-AF61-9E71C09CFFED@dvcreators.net> References: <827840B6-DFEC-4F01-AF61-9E71C09CFFED@dvcreators.net> Message-ID: <46B14E5F.6040202@hyperactivesw.com> Josh Mellicker wrote: > I know stacks are a nice way to save a lot of data because it can be > organized by custom property and custom property set. > > But what about a simple list of data consisting of name, URL, and a > couple other fields, that needs to be downloaded from a server- would > you save the data in: > > A. a stack in custom properties? > > B. Or a text file? I like them both for different purposes. One of my apps needs a lot of little files on the server, and the client has to maintain them. They aren't critical files; it's stuff like a current table of contents, article summaries, that sort of thing. For this, text files are great. They are easy for him to edit and very fast for the app to read over the net. So I'd say if someone else has to maintain the files, go for text if you can. If you store that kind of info in a stack, you have to write tools for the person who maintains it. For data my app maintains, either stacks or text files work fine. But stacks can provide an extra layer of protection if you need some security. You can put info in custom properties and password-protect the stack, which makes the properties unreadable and encrypted. Sometimes I also .gz the stack on the server (leaving off the extension) to make it a little harder to recognize it as a stack. It's not so secure that I'd store credit card info there, but it obscures things pretty well. So both ways work, depending on what you need to do. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From eric.chatonet at sosmartsoftware.com Thu Aug 2 03:01:22 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 2 Aug 2007 09:01:22 +0200 Subject: mercy...Control-A and text selection revisited In-Reply-To: References: Message-ID: <88CBF89F-21E3-404F-A855-5600A725E463@sosmartsoftware.com> Hi Mark, Le 1 ao?t 07 ? 18:14, Mark E. Powell a ?crit : > After a user enters cursor in a fld (its traversalOn property is > true), I want control-A to select the text of that fld. How do I > do it? Sarah answered yet in the case you have a menu bar but may be you have not :-) A controlKeyDown handler will work if you put it in the card's script: on controlKeyDown pKey switch pKey case "A" if the selectedfield <> empty then select text of the selectedfield break default pass controlKeyDown end switch end controlKeyDown In addition, if you want to have a button to select the text of the field also, just set the traversalOn of the button to false (it will not become the focused object when clicked) and in its script, refer to the above handler: on mouseUp controlKeyDown "A" -- C end mouseUp Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From eric.chatonet at sosmartsoftware.com Thu Aug 2 03:12:35 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 2 Aug 2007 09:12:35 +0200 Subject: save data in custom properties in a stack- or a text file? In-Reply-To: <46B14E5F.6040202@hyperactivesw.com> References: <827840B6-DFEC-4F01-AF61-9E71C09CFFED@dvcreators.net> <46B14E5F.6040202@hyperactivesw.com> Message-ID: <0B2192A1-D217-4BE0-AC77-763CAAA66D76@sosmartsoftware.com> Hi Jacque, Le 2 ao?t 07 ? 05:24, J. Landman Gay a ?crit : > You can put info in custom properties and password-protect the > stack, which makes the properties unreadable and encrypted. Unfortunately (and this would be a nice to have), custom properties can be accessed as usual in a password protected stack. But it's still possible to encrypt custom props and protect by password the code able to decipher them :-) 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 Thu Aug 2 03:18:05 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 2 Aug 2007 00:18:05 -0700 Subject: save data in custom properties in a stack- or a text file? In-Reply-To: <46B11890.2030300@fourthworld.com> References: <46B11890.2030300@fourthworld.com> Message-ID: <4A7145D2-A5D8-451C-A36B-91843392FE4D@dvcreators.net> Hi, and thanks for all your responses. > >> entering/reading data manually: text file way easier > > What is "manually" in this context? What other processes in the > workflow require "manual" editing? Basically I was saying typing stuff in a text file is easier than altering custom properties with a property editor and the message box; (mostly during development) What if your data was this: Revolution Coders 2.0 Richard,http://www.fourthworld.com/,http://www.fourthworld.com/rev/ Jacqueline,http://www.hyperactivesw.com,http://www.hyperactivesw.com/ Resources.html Andre,http://andregarzia.com/,http://www.andregarzia.com/RevOnRockets/ index.html ---- Would you tend to store the above in a text file? Or custom props? ---- On a side note, this is how I'm encrypting a local text file with registration info: function lbencrypt tData encrypt tData using "blowfish" with password productInfo ("regFilePassword") put the base64encode of it into it return it end lbencrypt From dave.cragg at lacscentre.co.uk Thu Aug 2 04:41:48 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 2 Aug 2007 09:41:48 +0100 Subject: Shy Images In-Reply-To: <46B07899.5060209@crcom.net> References: <46B07899.5060209@crcom.net> Message-ID: <3B03DF30-DA14-4E49-92A7-676C269D4DDE@lacscentre.co.uk> On 1 Aug 2007, at 13:12, Len Morgan wrote: > Any ideas? Could I somehow duplicate the image I start with, make > it a top level image, and switch what Rev thinks it's dragging to > that? In addition to Ken's suggestion for copying the image in question, another possibility may be to keep a separate image object on the card above (and outside) all the groups. This would normally be invisible, but you would set its properties to match the image you want to move and make it visible as required. Cheers Dave From dave.cragg at lacscentre.co.uk Thu Aug 2 07:05:12 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 2 Aug 2007 12:05:12 +0100 Subject: Find Command In-Reply-To: References: Message-ID: <8CC08F64-0AE9-4A83-A00E-69709162CDB3@lacscentre.co.uk> On 2 Aug 2007, at 03:59, RG Teeter wrote: > > The handler below: > > on mouseUp > 1 select the clickline > 2 put the selectedtext into wordToFind > 3 find string wordToFind in field "TestFld2" > 4 put wordToFind & the result > 5 find string "Cafe (das)" in field "TestFld2" > end mouseUp > > line 5 works as expected. > line 3 returns "Not Found" > > Why? Line 2 above will put a "return" character (numToChar(10) at the end of wordToFind (except when clicking the last line). The "find string" method doesn't allow return characters. Also, the find command searches forwards from the previous find, so subsequent clicks may not give what you want. A crude approach: on mouseUp select the clickline put the selectedtext into wordToFind if charToNum(char -1 of wordToFind) = 10 then delete char -1 of wordToFind end if find empty ## clear previous finds find string wordToFind in field 1 put wordToFind & the result end mouseUp Cheers Dave From shoreagent at gmail.com Thu Aug 2 07:53:23 2007 From: shoreagent at gmail.com (william humphrey) Date: Thu, 2 Aug 2007 07:53:23 -0400 Subject: [slightly [OT]] A little Help removing Galaxy In-Reply-To: References: <46799511.1030001@crcom.net> <459b22a90708010639r4e32531fxe27eac348effb69c@mail.gmail.com> Message-ID: <459b22a90708020453n6bb0018blb6f1603eb99f4a23@mail.gmail.com> I didn't go to the galaxy forum because of laziness born of frustration. I think that the "command -" and "cmd shift" are built into revolution and you're right "cmd shift" is sort of broken so it explains why I couldn't get it to work when random trying everything. Galaxy has a built in commenting system that is different because I was able to access it once and I will keep trying to find it. Thanks for answering and when I have some time I will spend it on the Galaxy forum because I think it would be really cool if they would make a one or two page PDF with all the cmd key "thingys" and short cuts so that other users would have a happier experience. It may be that I am just in the dark ages and pine for the time in the distance past when software came with manuals (or you could buy books). I still love my old Hypercard 2.0 book by Danny Goodman. It was the first software manual I ever enjoyed reading. From viktoras at ekoinf.net Thu Aug 2 08:58:05 2007 From: viktoras at ekoinf.net (viktoras didziulis) Date: Thu, 02 Aug 2007 15:58:05 +0300 Subject: data stream processing In-Reply-To: <459b22a90708020453n6bb0018blb6f1603eb99f4a23@mail.gmail.com> References: <46799511.1030001@crcom.net> <459b22a90708010639r4e32531fxe27eac348effb69c@mail.gmail.com> <459b22a90708020453n6bb0018blb6f1603eb99f4a23@mail.gmail.com> Message-ID: <46B1D4DD.80203@ekoinf.net> Hi. I have a console application that constantly spews out numbers at a rate of 3 numbers per second. The task is to read the number and display it in a field, then as soon as the next number arrives it should replace the field's contents with new number visualise it graphicaly and so on ad infinitum in realtime... I can't figure it out - Revolution expects the data stream coming from outside will end at some point and therefore waits. But the process is in fact never ending. Is there a way to handle this kind of constant data stream in Revolution ? Best wishes Viktoras From FlexibleLearning at aol.com Thu Aug 2 09:09:00 2007 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Thu, 2 Aug 2007 09:09:00 EDT Subject: Vista menubar btns: Bug? Message-ID: Grrrrr... In Vista, menubar pulldown btns hilite as standard btns on mouseEnter. Although I have logged this as a bug, I am not yet entirely convinced. If anyone else can confirm the behaviour or provide an explanation I would VERY much appreciate it. Driving me nuts here! /H From cmsheffield at gmail.com Thu Aug 2 11:23:49 2007 From: cmsheffield at gmail.com (Chris Sheffield) Date: Thu, 2 Aug 2007 09:23:49 -0600 Subject: Vista dilemma Message-ID: I'm wondering if anyone can help with this. I've got a standalone that, by default, is installed to the Program Files directory. At one point, it performs a check to see if the currently logged in user can write to that directory. Right now I just have it attempt to write to a file and then delete the file. Under Win 2000/XP this seems to work great, but under Vista the darn VirtualStore "feature" is fouling things up. So, question number one. Is there some way to tell my standalone, or the Vista OS, that I really and truly want my check to be performed on the Program Files directly, and not have things redirected to the VirtualStore? Question number two. If the above is not possible, is there some way to determine (via shell command perhaps) what type of user is currently logged in to the computer (i.e. admin, standard, etc.)? And if so, would this command be available to by any user to run from the shell? This would be a better way to go all around if it's possible. Thanks, Chris ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From jacque at hyperactivesw.com Thu Aug 2 11:28:43 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 Aug 2007 10:28:43 -0500 Subject: save data in custom properties in a stack- or a text file? In-Reply-To: <0B2192A1-D217-4BE0-AC77-763CAAA66D76@sosmartsoftware.com> References: <827840B6-DFEC-4F01-AF61-9E71C09CFFED@dvcreators.net> <46B14E5F.6040202@hyperactivesw.com> <0B2192A1-D217-4BE0-AC77-763CAAA66D76@sosmartsoftware.com> Message-ID: <46B1F82B.8040904@hyperactivesw.com> Eric Chatonet wrote: > Hi Jacque, > > Le 2 ao?t 07 ? 05:24, J. Landman Gay a ?crit : > >> You can put info in custom properties and password-protect the stack, >> which makes the properties unreadable and encrypted. > > Unfortunately (and this would be a nice to have), custom properties can > be accessed as usual in a password protected stack. > But it's still possible to encrypt custom props and protect by password > the code able to decipher them :-) True. But I was thinking about the file as it is stored on the server. If someone were to access the file and didn't have Rev to open it, they would have to look at it in a text editor or similar. In that case, none of the custom properties are readable if it is a password-protected stack. It's a crude type of protection, I admit, but it discourages casual attempts. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at cdroo.com Thu Aug 2 11:32:28 2007 From: scott at cdroo.com (Scott Kane) Date: Fri, 3 Aug 2007 01:32:28 +1000 Subject: Vista dilemma References: Message-ID: <002801c7d51a$58454870$0201010a@esbi3dg1ukz0fj> ----- Original Message ----- > So, question number one. Is there some way to tell my standalone, or the > Vista OS, that I really and truly want my check to be performed on the > Program Files directly, and not have things redirected to the > VirtualStore? First - check out Version in the Help doc's. Vista is Version 6 I believe from memory. Second - Microsoft have stated that Virtualization is not guaranteed to be in future flavours of the OS. The whole point of the tool is so that existing app's don't break - backwards compatibility. However the logical thing to do is to change the location of the data using code - consider My Documents etc. Otherwise Virtualization is going to bite you one day when you least expect it (service pack update for example). > Question number two. If the above is not possible, is there some way to > determine (via shell command perhaps) what type of user is currently > logged in to the computer (i.e. admin, standard, etc.)? And if so, would > this command be available to by any user to run from the shell? This > would be a better way to go all around if it's possible. Admin is spurious under Vista. You may be the Admin but you are not considered to be the "Full Admin". The OS performs that role. It is possible to elevate an application to Admin level (executable called Update.exe or Setup.exe gets this privelidge). However, again, it's much better to code so that data is in My Documents or App Data. In existing installations move the data as part of an update process. Scott Kane Moderator comp.software.shareware.* From revdev at pdslabs.net Thu Aug 2 11:43:22 2007 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 02 Aug 2007 08:43:22 -0700 Subject: data stream processing In-Reply-To: <46B1D4DD.80203@ekoinf.net> References: <46799511.1030001@crcom.net> <459b22a90708010639r4e32531fxe27eac348effb69c@mail.gmail.com> <459b22a90708020453n6bb0018blb6f1603eb99f4a23@mail.gmail.com> <46B1D4DD.80203@ekoinf.net> Message-ID: <46B1FB9A.9080708@pdslabs.net> Hi Viktoras, Can the data stream come to the Rev app through a network port? If so, the easy solution would be to do something like this: on openStack accept datagram connections on port xx \ with message "handleData" end openStack on handleData pIPAddress, pData -- handle the data end handleData Then each time data arrives it will be handled, no matter how often or how infrequent. Just a thought... Phil Davis viktoras didziulis wrote: > Hi. > > I have a console application that constantly spews out numbers at a rate > of 3 numbers per second. The task is to read the number and display it > in a field, then as soon as the next number arrives it should replace > the field's contents with new number visualise it graphicaly and so on > ad infinitum in realtime... > I can't figure it out - Revolution expects the data stream coming from > outside will end at some point and therefore waits. But the process is > in fact never ending. Is there a way to handle this kind of constant > data stream in Revolution ? > > Best wishes > Viktoras From ambassador at fourthworld.com Thu Aug 2 12:29:14 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 02 Aug 2007 09:29:14 -0700 Subject: save data in custom properties in a stack- or a text file? Message-ID: <46B2065A.6060507@fourthworld.com> Josh Mellicker wrote: >>> entering/reading data manually: text file way easier >> >> What is "manually" in this context? What other processes in the >> workflow require "manual" editing? > > Basically I was saying typing stuff in a text file is easier than > altering custom properties with a property editor and the message > box; (mostly during development) If this manual editing only involves the developer it's a wash, since the developer can easily edit custom props. And if for the user, whether a text file or a property it would be more convenient to provide a UI for editing such things, and I can't see why the UI for either would necessarily be more complicated than another. One area where text files can be advantageous is when the file must be created by other software. Other than that it seems a wash. > What if your data was this: > > Revolution Coders > 2.0 > > Richard,http://www.fourthworld.com/,http://www.fourthworld.com/rev/ > Jacqueline,http://www.hyperactivesw.com,http://www.hyperactivesw.com/ > Resources.html > Andre,http://andregarzia.com/,http://www.andregarzia.com/RevOnRockets/ > index.html > ---- > > Would you tend to store the above in a text file? Or custom props? For myself it would depend on a number of other factors: - Will I ever need to store other lists related to this one? - Will the system ever benefit from adding metadata to the data storage? - How quickly will I need to access elements? - Are such accesses more often sequential batches or individual items? If I'm reading your posts correctly it sounds to my ear like you've already decided. If it works, why change? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From kray at sonsothunder.com Thu Aug 2 12:42:58 2007 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 2 Aug 2007 11:42:58 -0500 Subject: Vista dilemma In-Reply-To: References: Message-ID: <20070802114258381466.3422aee6@sonsothunder.com> On Thu, 2 Aug 2007 09:23:49 -0600, Chris Sheffield wrote: > So, question number one. Is there some way to tell my standalone, or > the Vista OS, that I really and truly want my check to be performed > on the Program Files directly, and not have things redirected to the > VirtualStore? The only way to prevent virtualizing AFAIK is to turn off User Account Control. My understanding is that even if you're logged in as Admin, if you have UAC on, it will still virtualize because it is the *application*, not the user, that controls whether it can write to "protected" locations. And in order to do *that*, you'd have to find some way to make your application act at an elevated level. Of course in this case, you don't want to always write the file - you just want to know if the folder is writeable, which under Vista means knowing whether UAC is on or not.Actually there are three states (AFAICT): 1) UAC off: Completely disables UAC, no virtualization occurs. 2) UAC on ("quiet mode"): This will enable UAC, but suppress the elevation prompts for members of the Adminstrators group. 3) UAC on: Enables UAC, shows all elevation prompts regardless of group. Unfortunately at the moment there are is some people who have done this with C++ and C#, but I don't think we have a command-line or other Rev-accessible way to determine this state. My recommendation would be to find some other place to write your files (I know, it's a pain, but unless there's someone out there who has a way to detect UAC state or wants to create a Rev external, I don't really see how you can know if your data was virtualilzed). Any chance you can have people turn UAC off? When they do that they are back at the "XP" level of security (IIRC). Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From len-morgan at crcom.net Thu Aug 2 13:22:32 2007 From: len-morgan at crcom.net (Len Morgan) Date: Thu, 02 Aug 2007 12:22:32 -0500 Subject: Shy Images Message-ID: <46B212D8.2060908@crcom.net> Thanks for the help Ken and Dave. Ken's routine worked almost untouched (just a little renaming of the variables). I'm having a few problems where the "mouseRelease" message is getting sent (it drops the picture where the mouse button was let go) but then it still seems to think I'm holding down the button and I've still got an image that's getting dragged around. This leaves images laying around all over the screen. Since the code Ken wrote has a "delete sTarget" (which is the image that I'm dragging around) I don't know why I still have an image. I don't need this dragged image (all I really want to know at the end of the day is the group I started dragging from and the group I dragged it to. After that, I'll use script to do the behind curtain stuff that will delete the picture in the original group and set the filename on the new group. Ken's code seemed perfect for this since it copies the original image and drags around a copy which gets deleted when I let go of the mouse. At least that's the theory. len From josh at dvcreators.net Thu Aug 2 13:30:39 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 2 Aug 2007 10:30:39 -0700 Subject: save data in custom properties in a stack- or a text file? In-Reply-To: <46B2065A.6060507@fourthworld.com> References: <46B2065A.6060507@fourthworld.com> Message-ID: <0A20F3A2-6251-4F3C-9AEE-A51BB3C3C886@dvcreators.net> Thanks for your illumination on this topic. On Aug 2, 2007, at 9:29 AM, Richard Gaskin wrote: > > If I'm reading your posts correctly it sounds to my ear like you've > already decided. If it works, why change? I was just wondering if there was any case in which someone would store such a simple set of data in custom props rather than a text file. I have learned the answer is yes! From jeff at siphonophore.com Thu Aug 2 13:41:51 2007 From: jeff at siphonophore.com (Jeff Reynolds) Date: Thu, 2 Aug 2007 13:41:51 -0400 Subject: moving resources out of a resource fork In-Reply-To: <20070802170005.46B3F489058@mail.runrev.com> References: <20070802170005.46B3F489058@mail.runrev.com> Message-ID: Im starting to do a port of an old hypercard stack i have to a new Rev app. The old stack has a pile of pict resources and i need to export them all out. I can easily access them and copy them with resedit or rezilla, but i remember having an old os9 app that would take and export all the pict resources out of a resource fork to pict files in bulk. I cant remember if i wrote this in hypercard (with some externals) or if this was a commercial application. anyone remember anything like this or have a simple process to do this? thanks jeff Jeffrey Reynolds From revlist at azurevision.co.uk Thu Aug 2 15:06:07 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 2 Aug 2007 20:06:07 +0100 Subject: moving resources out of a resource fork In-Reply-To: References: <20070802170005.46B3F489058@mail.runrev.com> Message-ID: Try File Juicer, it'll extract almost anything from almost anything... http://echoone.com/filejuicer/ Ian On 2 Aug 2007, at 18:41, Jeff Reynolds wrote: > Im starting to do a port of an old hypercard stack i have to a new > Rev app. The old stack has a pile of pict resources and i need to > export them all out. I can easily access them and copy them with > resedit or rezilla, but i remember having an old os9 app that would > take and export all the pict resources out of a resource fork to > pict files in bulk. I cant remember if i wrote this in hypercard > (with some externals) or if this was a commercial application. > anyone remember anything like this or have a simple process to do > this? > > thanks > > jeff > > > Jeffrey Reynolds > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Thu Aug 2 17:04:18 2007 From: runrev at aboutmyfiles.com (Mark E. Powell) Date: Thu, 02 Aug 2007 21:04:18 +0000 Subject: mercy...Control-A and text selection revisited Message-ID: Hello Eric It does not work for me. For testing, I created a simple stack with one field and the script you suggested in the card script: www.aboutmyfiles.com/controlKeyDownTest.rev With the cursor in the field, control-A does nothing. If I choose Select All from the Rev IDE Edit menu, same thing (i.e. nothing). Does it work for you? If yes, then it has to be an effect of the loss-of-focus bug that is in 2.8.0, which is what I am running. Please let me know when you have a moment. Thanks! Mark From jiml at netrin.com Thu Aug 2 17:49:12 2007 From: jiml at netrin.com (Jim Lambert) Date: Thu, 2 Aug 2007 14:49:12 -0700 Subject: Checkbox maker In-Reply-To: <20070802170005.46B3F489058@mail.runrev.com> References: <20070802170005.46B3F489058@mail.runrev.com> Message-ID: <254e6002e4fe17475584b0f6bdb94e96@netrin.com> I've uploaded EZ Checkbox Family to RevOnline under Categories>Utilities or Users>JimL. It contains a Checkbox Family control that lets you create groups of checkboxes with a just single click and get the selected items with one line of code. There are also a few commands to interact with the checkbox control programmatically. This is somewhat related to the recent thread: "create a html list, but with a char where the image shall be". Hope you find this useful. Jim Lambert From dave.cragg at lacscentre.co.uk Thu Aug 2 18:35:57 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 2 Aug 2007 23:35:57 +0100 Subject: Shy Images In-Reply-To: <46B212D8.2060908@crcom.net> References: <46B212D8.2060908@crcom.net> Message-ID: <9B4AC66B-4441-4E09-BE60-CA16BF5872F3@lacscentre.co.uk> On 2 Aug 2007, at 18:22, Len Morgan wrote: > I'm having a few problems where the "mouseRelease" message is > getting sent (it drops the picture where the mouse button was let > go) but then it still seems to think I'm holding down the button > and I've still got an image that's getting dragged around. This > leaves images laying around all over the screen. You should probably add a mouseUp handler too that is identical to the mouseRelease handler. This will catch cases where you release the mouse while it is still over the original target. Not sure if that is the cause of your current problem, but worth trying. Cheers Dave From mark at maseurope.net Thu Aug 2 21:36:33 2007 From: mark at maseurope.net (Mark Smith) Date: Fri, 3 Aug 2007 02:36:33 +0100 Subject: moving resources out of a resource fork In-Reply-To: References: <20070802170005.46B3F489058@mail.runrev.com> Message-ID: <02A0B46B-55FD-4E00-AD1C-B1A590383E5E@maseurope.net> Jeff, have a look in the docs at the getResource(), getResources() and copyResource() functions. Best, Mark On 2 Aug 2007, at 18:41, Jeff Reynolds wrote: > Im starting to do a port of an old hypercard stack i have to a new > Rev app. The old stack has a pile of pict resources and i need to > export them all out. I can easily access them and copy them with > resedit or rezilla, but i remember having an old os9 app that would > take and export all the pict resources out of a resource fork to > pict files in bulk. I cant remember if i wrote this in hypercard > (with some externals) or if this was a commercial application. > anyone remember anything like this or have a simple process to do > this? > > thanks > > jeff > > > Jeffrey Reynolds > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From markgreenberg at cox.net Thu Aug 2 21:50:44 2007 From: markgreenberg at cox.net (Mark Greenberg) Date: Thu, 2 Aug 2007 18:50:44 -0700 Subject: use-revolution Digest, Vol 47, Issue 1 In-Reply-To: <20070801161429.630574891EB@mail.runrev.com> References: <20070801161429.630574891EB@mail.runrev.com> Message-ID: <2814125C-21B1-475E-8D98-8C44AEDC99F7@cox.net> On Aug 1, 2007, at 9:14 AM, use-revolution-request at lists.runrev.com wrote: > Greetings for a really nice website! :) Thanks, Alejandro! And thanks also for helping me get started way back when I switched to Rev. Actually, I don't know if I would have stuck with Rev if it weren't for the amazingly helpful people that contribute to this list. Mark Greenberg From sarah.reichelt at gmail.com Thu Aug 2 21:58:41 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 3 Aug 2007 11:58:41 +1000 Subject: moving resources out of a resource fork In-Reply-To: References: <20070802170005.46B3F489058@mail.runrev.com> Message-ID: On 8/3/07, Jeff Reynolds wrote: > Im starting to do a port of an old hypercard stack i have to a new > Rev app. The old stack has a pile of pict resources and i need to > export them all out. I can easily access them and copy them with > resedit or rezilla, but i remember having an old os9 app that would > take and export all the pict resources out of a resource fork to pict > files in bulk. I cant remember if i wrote this in hypercard (with > some externals) or if this was a commercial application. anyone > remember anything like this or have a simple process to do this? Revolution has some commands for managing resources. I wrote a utility stack for doing this which you are welcome to try . It's been a while since I looked at it, so I don't know if there have been any changes in recent version of Rev that might have affected it, but it should give you some ideas anyway. Cheers, Sarah From jacque at hyperactivesw.com Thu Aug 2 22:37:05 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 Aug 2007 21:37:05 -0500 Subject: moving resources out of a resource fork In-Reply-To: References: <20070802170005.46B3F489058@mail.runrev.com> Message-ID: <46B294D1.8010802@hyperactivesw.com> Jeff Reynolds wrote: > Im starting to do a port of an old hypercard stack i have to a new Rev > app. The old stack has a pile of pict resources and i need to export > them all out. I can easily access them and copy them with resedit or > rezilla, but i remember having an old os9 app that would take and export > all the pict resources out of a resource fork to pict files in bulk. I > cant remember if i wrote this in hypercard (with some externals) or if > this was a commercial application. anyone remember anything like this or > have a simple process to do this? Graphic Converter. It can bulk-export PICT resources from any resource fork and save them to a folder as any other image format. I use it all the time for HC stacks. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rteeter at geusnet.com Thu Aug 2 23:08:40 2007 From: rteeter at geusnet.com (RG Teeter) Date: Thu, 2 Aug 2007 22:08:40 -0500 Subject: Find Command References: Message-ID: Dave was right, line 2 had a return in it. line 5 did not. I discovered this 20 minutes after I went to bed, got up and lo and behold it now works. Another difference between HC and RM. Many thanks. Bob Begin forwarded message: > Friends, I have recently upgraded from HyperCard to Revolution Media. > > I am recreating some hypercard stacks. > > I am having a problem with "find" > > The handler below: > > on mouseUp > 1 select the clickline > 2 put the selectedtext into wordToFind > 3 find string wordToFind in field "TestFld2" > 4 put wordToFind & the result > 5 find string "Cafe (das)" in field "TestFld2" > end mouseUp > > line 5 works as expected. > line 3 returns "Not Found" > > Why? From stephenREVOLUTION at barncard.com Thu Aug 2 23:58:19 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 2 Aug 2007 20:58:19 -0700 Subject: save data in custom properties in a stack- or a text file? In-Reply-To: <4A7145D2-A5D8-451C-A36B-91843392FE4D@dvcreators.net> References: <46B11890.2030300@fourthworld.com> <4A7145D2-A5D8-451C-A36B-91843392FE4D@dvcreators.net> Message-ID: Again I say it's how you or your user use the data, and their skill in maintaining it without errors. If you find yourself complaining about editing custom properties in the inspector, then take an hour and write a property editor that saves properties instead of saving as a text file. This allows you to control and contain the data easier. If your users make errors editing text files (extra spaces, etc) then put the data entry under your control - verify each item before entry. >Hi, and thanks for all your responses. > >> >>>entering/reading data manually: text file way easier >> >>What is "manually" in this context? What other processes in the >>workflow require "manual" editing? > >Basically I was saying typing stuff in a text file is easier than >altering custom properties with a property editor and the message >box; (mostly during development) > > >What if your data was this: > >Revolution Coders >2.0 > >Richard,http://www.fourthworld.com/,http://www.fourthworld.com/rev/ >Jacqueline,http://www.hyperactivesw.com,http://www.hyperactivesw.com/Resources.html >Andre,http://andregarzia.com/,http://www.andregarzia.com/RevOnRockets/index.html > >---- > >Would you tend to store the above in a text file? Or custom props? -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From psahores at free.fr Fri Aug 3 02:19:45 2007 From: psahores at free.fr (Pierre Sahores) Date: Fri, 3 Aug 2007 08:19:45 +0200 Subject: data stream processing In-Reply-To: <46B1D4DD.80203@ekoinf.net> References: <46799511.1030001@crcom.net> <459b22a90708010639r4e32531fxe27eac348effb69c@mail.gmail.com> <459b22a90708020453n6bb0018blb6f1603eb99f4a23@mail.gmail.com> <46B1D4DD.80203@ekoinf.net> Message-ID: <4D4CF422-555B-4BBE-BE60-A96B75D26E25@free.fr> Hi, In such kind of tasks, an UDP connection would probably be the simplest way to have Rev getting and displaying your outside incoming datas. Best Regards, Le 2 ao?t 07 ? 14:58, viktoras didziulis a ?crit : > Hi. > > I have a console application that constantly spews out numbers at a > rate of 3 numbers per second. The task is to read the number and > display it in a field, then as soon as the next number arrives it > should replace the field's contents with new number visualise it > graphicaly and so on ad infinitum in realtime... > I can't figure it out - Revolution expects the data stream coming > from outside will end at some point and therefore waits. But the > process is in fact never ending. Is there a way to handle this kind > of constant data stream in Revolution ? > > Best wishes > Viktoras > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores www.sahores-conseil.com From revolution at derbrill.de Fri Aug 3 03:19:27 2007 From: revolution at derbrill.de (Malte Brill) Date: Fri, 03 Aug 2007 09:19:27 +0200 Subject: Reading Dos text (Cp850, Cp437, Cp1252) In-Reply-To: <20070802170005.A20D248907E@mail.runrev.com> References: <20070802170005.A20D248907E@mail.runrev.com> Message-ID: <46B2D6FF.30304@derbrill.de> Hi all, anyone got a pointer how to read text in those formats and get it to display correctly? (including umlauts and stuff.) Cp850, Cp437, Cp1252 All the best, Malte From mark at maseurope.net Fri Aug 3 03:51:33 2007 From: mark at maseurope.net (Mark Smith) Date: Fri, 3 Aug 2007 08:51:33 +0100 Subject: Reading Dos text (Cp850, Cp437, Cp1252) In-Reply-To: <46B2D6FF.30304@derbrill.de> References: <20070802170005.A20D248907E@mail.runrev.com> <46B2D6FF.30304@derbrill.de> Message-ID: One way would be to simply (and rather painstakingly!) build arrays (storable as customPropertySets) as look-ups for each code page, such that you could then do: repeat for each char c in someText put codePage850[charToNum(c)] after someTranslatedText end repeat This might make for a useful library - the code page points are on Wikipedia: http://en.wikipedia.org/wiki/Code_page_850 Having said that, according to the docs (for numTChar())," On Mac OS systems this is normally the Macintosh character set; on Unix systems, this is normally ISO 8859; on Windows systems, this is usually Code Page 1252, a variant of ISO 8859." So on Windows, you may not need to translate cp1252, and on Mac the macToIso() function may do the job. Best, Mark On 3 Aug 2007, at 08:19, Malte Brill wrote: > Hi all, > > anyone got a pointer how to read text in those formats and get it > to display correctly? (including umlauts and stuff.) > > Cp850, Cp437, Cp1252 > > All the best, > > Malte > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mark at maseurope.net Fri Aug 3 04:28:49 2007 From: mark at maseurope.net (Mark Smith) Date: Fri, 3 Aug 2007 09:28:49 +0100 Subject: Reading Dos text (Cp850, Cp437, Cp1252) In-Reply-To: References: <20070802170005.A20D248907E@mail.runrev.com> <46B2D6FF.30304@derbrill.de> Message-ID: <06D718C4-3E1B-4895-8248-C95CE43A17F9@maseurope.net> On a little more reading, it looks like it would be necessary to translate the various code pages to unicode points if it's wanted to fully support all the different pages. The box drawing chars translate to the unicode araea starting at 0x2500.... Best, Mark On 3 Aug 2007, at 08:51, Mark Smith wrote: > One way would be to simply (and rather painstakingly!) build arrays > (storable as customPropertySets) as look-ups for each code page, > such that you could then do: > > repeat for each char c in someText > put codePage850[charToNum(c)] after someTranslatedText > end repeat From fwvo at planet.nl Fri Aug 3 06:53:27 2007 From: fwvo at planet.nl (Ferdinand) Date: Fri, 3 Aug 2007 12:53:27 +0200 Subject: Float Above Stack In-Reply-To: <87F01BEC-BE8F-4D6A-ADDF-368512D980F7@economy-x-talk.com> References: <930B567C-9A02-47C9-A465-1060B0B0CEE2@economy-x-talk.com> <87F01BEC-BE8F-4D6A-ADDF-368512D980F7@economy-x-talk.com> Message-ID: <59557A0E-92D4-4974-A3E7-9781C3353112@planet.nl> In my Revolution application I have one systemwindow. If I click on this window the application must become the active application. How can I do this? The application runs on Mac OS -X . And if the solution below is the only way to activate the application : How can you find the name of your application? - Ferdinand Op 2-okt-2006, om 11:16 heeft Mark Schonewille het volgende geschreven: > I meant... > > on resumeStack > do "tell application" && quote & & quote && "to > activate" as AppleScript > end resumeStack > > e.g. > > on resumeStack > do "tell application" && quote & "Recipe Collection" & quote && > "to activate" as AppleScript > end resumeStack > > Mark > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Get your store on-line within minutes with Salery Web Store > software. Download at http://www.salery.biz > > Op 1-okt-2006, om 18:12 heeft Mark Schonewille het volgende > geschreven: > >> Trevor, >> >> Assuming your stack runs on Mac OS X: >> >> on resumeStack >> do "tell" && && "to activate" && "as AppleScript" >> end resumeStack >> >> where is the name of your standalone. This should bring >> the entire application with all its windows and the menu bar to >> front. >> >> Best, >> >> Mark >> >> -- >> >> Economy-x-Talk >> Consultancy and Software Engineering >> http://economy-x-talk.com >> http://www.salery.biz >> >> Get your store on-line within minutes with Salery Web Store >> software. Download at http://www.salery.biz >> >> Op 1-okt-2006, om 15:14 heeft Trevor Hopkins het volgende geschreven: >> >>> I have a Rev-developed application that is set to float above all >>> other open windows on a user's desktop. I have noticed that when >>> I am using another application, say Firefox, and then click on my >>> floating app, the menubar from Firefox remains. This could cause >>> a user some trouble if they were to select on the floating app, >>> hit command-Q to quit, and then actually see that the other >>> program (in this example Firefox) closed. >>> >>> Does anyone have a quick tip on how to summon the floating app's >>> menubar whenever the floating app is being used? >>> >>> Cheers, >>> >>> Trevor Hopkins >>> Exeter, UK > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Fri Aug 3 11:46:15 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 3 Aug 2007 08:46:15 -0700 (PDT) Subject: Reading Dos text (Cp850, Cp437, Cp1252) In-Reply-To: <46B2D6FF.30304@derbrill.de> Message-ID: <348816.36536.qm@web60513.mail.yahoo.com> --- Malte Brill wrote: > Hi all, > > anyone got a pointer how to read text in those > formats and get it to > display correctly? (including umlauts and stuff.) > > Cp850, Cp437, Cp1252 > > All the best, > > Malte > As Mark mentioned, the best way is to provide conversion tables in the form of custom property sets. I recommend that you read the text file with the "binfile:" method and then work with the charToNum of each character as your index. That way, Revolution doesn't try and help you by converting some characters before you get to them. 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) ____________________________________________________________________________________ Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. http://smallbusiness.yahoo.com/webhosting From kray at sonsothunder.com Fri Aug 3 11:47:00 2007 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 3 Aug 2007 10:47:00 -0500 Subject: Float Above Stack In-Reply-To: <59557A0E-92D4-4974-A3E7-9781C3353112@planet.nl> References: <930B567C-9A02-47C9-A465-1060B0B0CEE2@economy-x-talk.com> <87F01BEC-BE8F-4D6A-ADDF-368512D980F7@economy-x-talk.com> <59557A0E-92D4-4974-A3E7-9781C3353112@planet.nl> Message-ID: <20070803104700897345.c53d9f5b@sonsothunder.com> On Fri, 3 Aug 2007 12:53:27 +0200, Ferdinand wrote: > > In my Revolution application I have one systemwindow. If I click on > this window the application must become the active application. > How can I do this? The application runs on Mac OS -X . > > And if the solution below is the only way to activate the application : > How can you find the name of your application? Look here: Understanding Processes http://www.sonsothunder.com/devres/revolution/tips/proc005.htm Making an App Come To The Foreground http://www.sonsothunder.com/devres/revolution/tips/proc001.htm HTH, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From rreuter at capital.edu Fri Aug 3 15:45:52 2007 From: rreuter at capital.edu (Rocky J. Reuter) Date: Fri, 03 Aug 2007 15:45:52 -0400 Subject: use-revolution Digest, Vol 47, Issue 4 In-Reply-To: <20070803170004.C2FCC4890CC@mail.runrev.com> Message-ID: On 8/3/07 1:00 PM, "use-revolution-request at lists.runrev.com" wrote: > Send use-revolution mailing list submissions to > use-revolution at lists.runrev.com > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.runrev.com/mailman/listinfo/use-revolution > or, via email, send a message with subject or body 'help' to > use-revolution-request at lists.runrev.com > > You can reach the person managing the list at > use-revolution-owner at lists.runrev.com > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of use-revolution digest..." > > > you can find the archives for this list at: > > http://lists.runrev.com/pipermail/use-revolution/ > > and search them using this link: > > http://www.google.com/advanced_search?q=site:lists.runrev.com > > Today's Topics: > > 1. Re: Shy Images (Len Morgan) > 2. Re: save data in custom properties in a stack- or a text > file? (Josh Mellicker) > 3. moving resources out of a resource fork (Jeff Reynolds) > 4. Re: moving resources out of a resource fork (Ian Wood) > 5. Re: mercy...Control-A and text selection revisited > (Mark E. Powell) > 6. Checkbox maker (Jim Lambert) > 7. Re: Shy Images (Dave Cragg) > 8. Re: moving resources out of a resource fork (Mark Smith) > 9. Re: use-revolution Digest, Vol 47, Issue 1 (Mark Greenberg) > 10. Re: moving resources out of a resource fork (Sarah Reichelt) > 11. Re: moving resources out of a resource fork (J. Landman Gay) > 12. Re: Find Command (RG Teeter) > 13. Re: save data in custom properties in a stack- or a text > file? (Stephen Barncard) > 14. Re: data stream processing (Pierre Sahores) > 15. Reading Dos text (Cp850, Cp437, Cp1252) (Malte Brill) > 16. Re: Reading Dos text (Cp850, Cp437, Cp1252) (Mark Smith) > 17. Re: Reading Dos text (Cp850, Cp437, Cp1252) (Mark Smith) > 18. Re: Float Above Stack (Ferdinand) > 19. Re: Reading Dos text (Cp850, Cp437, Cp1252) (Jan Schenkel) > 20. Re: Float Above Stack (Ken Ray) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 02 Aug 2007 12:22:32 -0500 > From: Len Morgan > Subject: Re: Shy Images > To: use-revolution at lists.runrev.com > Message-ID: <46B212D8.2060908 at crcom.net> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Thanks for the help Ken and Dave. Ken's routine worked almost untouched > (just a little renaming of the variables). > > I'm having a few problems where the "mouseRelease" message is getting > sent (it drops the picture where the mouse button was let go) but then > it still seems to think I'm holding down the button and I've still got > an image that's getting dragged around. This leaves images laying > around all over the screen. > > Since the code Ken wrote has a "delete sTarget" (which is the image that > I'm dragging around) I don't know why I still have an image. I don't > need this dragged image (all I really want to know at the end of the day > is the group I started dragging from and the group I dragged it to. > After that, I'll use script to do the behind curtain stuff that will > delete the picture in the original group and set the filename on the new > group. > > Ken's code seemed perfect for this since it copies the original image > and drags around a copy which gets deleted when I let go of the mouse. > At least that's the theory. > > len > > > ------------------------------ > > Message: 2 > Date: Thu, 2 Aug 2007 10:30:39 -0700 > From: Josh Mellicker > Subject: Re: save data in custom properties in a stack- or a text > file? > To: How to use Revolution > Message-ID: <0A20F3A2-6251-4F3C-9AEE-A51BB3C3C886 at dvcreators.net> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > Thanks for your illumination on this topic. > > On Aug 2, 2007, at 9:29 AM, Richard Gaskin wrote: >> >> If I'm reading your posts correctly it sounds to my ear like you've >> already decided. If it works, why change? > > I was just wondering if there was any case in which someone would > store such a simple set of data in custom props rather than a text file. > > I have learned the answer is yes! > > > ------------------------------ > > Message: 3 > Date: Thu, 2 Aug 2007 13:41:51 -0400 > From: Jeff Reynolds > Subject: moving resources out of a resource fork > To: use-revolution at lists.runrev.com > Message-ID: > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > Im starting to do a port of an old hypercard stack i have to a new > Rev app. The old stack has a pile of pict resources and i need to > export them all out. I can easily access them and copy them with > resedit or rezilla, but i remember having an old os9 app that would > take and export all the pict resources out of a resource fork to pict > files in bulk. I cant remember if i wrote this in hypercard (with > some externals) or if this was a commercial application. anyone > remember anything like this or have a simple process to do this? > > thanks > > jeff > > > Jeffrey Reynolds > > ------------------------------ > > Message: 4 > Date: Thu, 2 Aug 2007 20:06:07 +0100 > From: Ian Wood > Subject: Re: moving resources out of a resource fork > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > Try File Juicer, it'll extract almost anything from almost anything... > > http://echoone.com/filejuicer/ > > Ian > > On 2 Aug 2007, at 18:41, Jeff Reynolds wrote: > >> Im starting to do a port of an old hypercard stack i have to a new >> Rev app. The old stack has a pile of pict resources and i need to >> export them all out. I can easily access them and copy them with >> resedit or rezilla, but i remember having an old os9 app that would >> take and export all the pict resources out of a resource fork to >> pict files in bulk. I cant remember if i wrote this in hypercard >> (with some externals) or if this was a commercial application. >> anyone remember anything like this or have a simple process to do >> this? >> >> thanks >> >> jeff >> >> >> Jeffrey Reynolds >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > > ------------------------------ > > Message: 5 > Date: Thu, 02 Aug 2007 21:04:18 +0000 > From: "Mark E. Powell" > Subject: Re: mercy...Control-A and text selection revisited > To: "How to use Revolution" > Message-ID: > Content-Type: text/plain; charset="iso-8859-1" > > Hello Eric > > It does not work for me. For testing, I created a simple stack with one field > and the script you suggested in the card script: > > www.aboutmyfiles.com/controlKeyDownTest.rev > > With the cursor in the field, control-A does nothing. If I choose Select All > from the Rev IDE Edit menu, same thing (i.e. nothing). Does it work for you? > > If yes, then it has to be an effect of the loss-of-focus bug that is in 2.8.0, > which is what I am running. > > Please let me know when you have a moment. > > Thanks! > > Mark > > > > > ------------------------------ > > Message: 6 > Date: Thu, 2 Aug 2007 14:49:12 -0700 > From: Jim Lambert > Subject: Checkbox maker > To: use-revolution at lists.runrev.com > Message-ID: <254e6002e4fe17475584b0f6bdb94e96 at netrin.com> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > I've uploaded > > EZ Checkbox Family > > to RevOnline under Categories>Utilities or Users>JimL. > > It contains a Checkbox Family control that lets you create groups of > checkboxes with a just single click and get the selected items with one > line of code. There are also a few commands to interact with the > checkbox control programmatically. > > This is somewhat related to the recent thread: "create a html list, but > with a char where the image shall be". > > Hope you find this useful. > > Jim Lambert > > > > ------------------------------ > > Message: 7 > Date: Thu, 2 Aug 2007 23:35:57 +0100 > From: Dave Cragg > Subject: Re: Shy Images > To: How to use Revolution > Message-ID: <9B4AC66B-4441-4E09-BE60-CA16BF5872F3 at lacscentre.co.uk> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > > On 2 Aug 2007, at 18:22, Len Morgan wrote: >> I'm having a few problems where the "mouseRelease" message is >> getting sent (it drops the picture where the mouse button was let >> go) but then it still seems to think I'm holding down the button >> and I've still got an image that's getting dragged around. This >> leaves images laying around all over the screen. > > You should probably add a mouseUp handler too that is identical to > the mouseRelease handler. This will catch cases where you release the > mouse while it is still over the original target. > > Not sure if that is the cause of your current problem, but worth trying. > > Cheers > Dave > > > ------------------------------ > > Message: 8 > Date: Fri, 3 Aug 2007 02:36:33 +0100 > From: Mark Smith > Subject: Re: moving resources out of a resource fork > To: How to use Revolution > Message-ID: <02A0B46B-55FD-4E00-AD1C-B1A590383E5E at maseurope.net> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > Jeff, have a look in the docs at the getResource(), getResources() > and copyResource() functions. > > Best, > > Mark > > On 2 Aug 2007, at 18:41, Jeff Reynolds wrote: > >> Im starting to do a port of an old hypercard stack i have to a new >> Rev app. The old stack has a pile of pict resources and i need to >> export them all out. I can easily access them and copy them with >> resedit or rezilla, but i remember having an old os9 app that would >> take and export all the pict resources out of a resource fork to >> pict files in bulk. I cant remember if i wrote this in hypercard >> (with some externals) or if this was a commercial application. >> anyone remember anything like this or have a simple process to do >> this? >> >> thanks >> >> jeff >> >> >> Jeffrey Reynolds >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > > ------------------------------ > > Message: 9 > Date: Thu, 2 Aug 2007 18:50:44 -0700 > From: Mark Greenberg > Subject: Re: use-revolution Digest, Vol 47, Issue 1 > To: use-revolution at lists.runrev.com > Message-ID: <2814125C-21B1-475E-8D98-8C44AEDC99F7 at cox.net> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > > On Aug 1, 2007, at 9:14 AM, use-revolution-request at lists.runrev.com > wrote: > >> Greetings for a really nice website! :) > > Thanks, Alejandro! And thanks also for helping me get started way > back when I switched to Rev. Actually, I don't know if I would have > stuck with Rev if it weren't for the amazingly helpful people that > contribute to this list. > > Mark Greenberg > > ------------------------------ > > Message: 10 > Date: Fri, 3 Aug 2007 11:58:41 +1000 > From: "Sarah Reichelt" > Subject: Re: moving resources out of a resource fork > To: "How to use Revolution" > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > On 8/3/07, Jeff Reynolds wrote: >> Im starting to do a port of an old hypercard stack i have to a new >> Rev app. The old stack has a pile of pict resources and i need to >> export them all out. I can easily access them and copy them with >> resedit or rezilla, but i remember having an old os9 app that would >> take and export all the pict resources out of a resource fork to pict >> files in bulk. I cant remember if i wrote this in hypercard (with >> some externals) or if this was a commercial application. anyone >> remember anything like this or have a simple process to do this? > > Revolution has some commands for managing resources. I wrote a utility > stack for doing this which you are welcome to try > . It's been a > while since I looked at it, so I don't know if there have been any > changes in recent version of Rev that might have affected it, but it > should give you some ideas anyway. > > Cheers, > Sarah > > > ------------------------------ > > Message: 11 > Date: Thu, 02 Aug 2007 21:37:05 -0500 > From: "J. Landman Gay" > Subject: Re: moving resources out of a resource fork > To: How to use Revolution > Message-ID: <46B294D1.8010802 at hyperactivesw.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Jeff Reynolds wrote: >> Im starting to do a port of an old hypercard stack i have to a new Rev >> app. The old stack has a pile of pict resources and i need to export >> them all out. I can easily access them and copy them with resedit or >> rezilla, but i remember having an old os9 app that would take and export >> all the pict resources out of a resource fork to pict files in bulk. I >> cant remember if i wrote this in hypercard (with some externals) or if >> this was a commercial application. anyone remember anything like this or >> have a simple process to do this? > > Graphic Converter. It can bulk-export PICT resources from any resource > fork and save them to a folder as any other image format. I use it all > the time for HC stacks. From katir at hindu.org Fri Aug 3 18:44:34 2007 From: katir at hindu.org (Sivakatirswami) Date: Fri, 03 Aug 2007 12:44:34 -1000 Subject: Text Inspector Needed Message-ID: <46B3AFD2.2090108@hindu.org> I believe I've requested this already for a future upgrade to Revolution, but I was wondering if anyone has already developed a Text Inspector widget. I find that when designing UI the text tool interface in Rev can be frustrating. A text tools palette would be marvelous, horizontal ribbon style like in InDesign or whatever: one wants to be able to see the * current font in use in the object * default font * font of selected text (since it may be different from what is in the field * line height setting * Text margins (dimmed if it is not a field) * current font size * click to view and edit field contents if locked. * lock - unlock text field * text color.... etc. all in one place, does anyone have such a widget already built? Sivakatirswami From katir at hindu.org Fri Aug 3 19:08:48 2007 From: katir at hindu.org (Sivakatirswami) Date: Fri, 03 Aug 2007 13:08:48 -1000 Subject: Set color for Selected Text Message-ID: <46B3B580.6090504@hindu.org> Is there an easy way to set custom colors for selected text? the default menus offer just a few primary colors and "Pen Color" so how does one easily go about a) selecting text b) using the color picker to choose some other color on screen c) set the color of the select color to that color? (Again, this is something that should just be part of the IDE by default...) Sivakatirswami From katir at hindu.org Fri Aug 3 19:57:49 2007 From: katir at hindu.org (Sivakatirswami) Date: Fri, 03 Aug 2007 13:57:49 -1000 Subject: Text Inspector Needed Message-ID: <46B3C0FD.6010005@hindu.org> I believe I've requested this already for a future upgrade to Revolution, but I was wondering if anyone has already developed a Text Inspector widget. I find that when designing UI the text tool interface in Rev can be frustrating. A text tools palette would be marvelous, horizontal ribbon style like in InDesign or whatever: one wants to be able to see the * current font in use in the object * default font * font of selected text (since it may be different from what is in the field * line height setting * Text margins (dimmed if it is not a field) * current font size * click to view and edit field contents if locked. * lock - unlock text field * text color.... etc. all in one place, does anyone have such a widget already built? Sivakatirswami From katir at hindu.org Fri Aug 3 19:58:35 2007 From: katir at hindu.org (Sivakatirswami) Date: Fri, 03 Aug 2007 13:58:35 -1000 Subject: Set Color for Selected Text Message-ID: <46B3C12B.4030004@hindu.org> Is there an easy way to set custom colors for selected text? the default menus offer just a few primary colors and "Pen Color" so how does one easily go about a) selecting text b) using the color picker to choose some other color on screen c) set the color of the select color to that color? (Again, this is something that should just be part of the IDE by default...) Sivakatirswami From jacque at hyperactivesw.com Fri Aug 3 20:23:41 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 03 Aug 2007 19:23:41 -0500 Subject: Set Color for Selected Text In-Reply-To: <46B3C12B.4030004@hindu.org> References: <46B3C12B.4030004@hindu.org> Message-ID: <46B3C70D.4050007@hyperactivesw.com> Sivakatirswami wrote: > Is there an easy way to set custom colors for selected text? the default > menus offer just a few primary colors and "Pen Color" so how does one > easily go about > > a) selecting text > b) using the color picker to choose some other color on screen > c) set the color of the select color to that color? > > (Again, this is something that should just be part of the IDE by > default...) Try: answer color set the textcolor of the selectedchunk to it You'll have to use a UI that doesn't deslect whatever text you've chosen. I tested with a 'mouseup' handler in the field because it will trigger with a right-click while leaving the selection intact. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION at barncard.com Fri Aug 3 22:37:54 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 3 Aug 2007 19:37:54 -0700 Subject: Text Inspector Needed In-Reply-To: <46B3C0FD.6010005@hindu.org> References: <46B3C0FD.6010005@hindu.org> Message-ID: Yes. I have a good start for you, but you'll want to add more features. Derek Bump at Dreamscape offered this very nice stack that focused on creating html text that worked better in a browser with his modifications, and maintained sizes better than raw Rev HTML.. And vice versa. Very educational. Not only that, there's great code and ICONS for most editing functions, including changing text attributes among others already set in a field. http://www.dreamscapesoftware.com/products/revolution/htmltocss1.zip >I believe I've requested this already for a future upgrade to >Revolution, but I was wondering if anyone has >already developed a Text Inspector widget. > >I find that when designing UI the text tool interface in Rev can >be frustrating. >A text tools palette would be marvelous, horizontal ribbon style >like in InDesign >or whatever: one wants to be able to see the > >* current font in use in the object >* default font >* font of selected text (since it may be different from what is in the field >* line height setting >* Text margins (dimmed if it is not a field) >* current font size >* click to view and edit field contents if locked. >* lock - unlock text field >* text color.... > >etc. all in one place, > >does anyone have such a widget already built? > >Sivakatirswami -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From scott at tactilemedia.com Sat Aug 4 02:36:21 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 03 Aug 2007 23:36:21 -0700 Subject: Error Dialog Advice? Message-ID: Hello List: I was hoping to get some recommendations about dealing with error messages generated by password protected stacks. What's a good way to answer error info from a password protected stack that's intelligible by users? I'm familiar with the errorDialog message, but how does one use it (or something similar) to pass along the location in the script where the error occurred? I see there is an object reference and a handler name, but which digits correspond to which error messages? Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From ambassador at fourthworld.com Sat Aug 4 02:54:30 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 03 Aug 2007 23:54:30 -0700 Subject: Error Dialog Advice? Message-ID: <46B422A6.7040207@fourthworld.com> Scott Rossi wrote: > I was hoping to get some recommendations about dealing with error messages > generated by password protected stacks. What's a good way to answer error > info from a password protected stack that's intelligible by users? I'm > familiar with the errorDialog message, but how does one use it (or something > similar) to pass along the location in the script where the error occurred? > I see there is an object reference and a handler name, but which digits > correspond to which error messages? The executionError dialog in the MC IDE will answer all those questions and more. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From fwvo at planet.nl Sat Aug 4 07:25:46 2007 From: fwvo at planet.nl (Ferdinand) Date: Sat, 4 Aug 2007 13:25:46 +0200 Subject: Float Above Stack In-Reply-To: <20070803104700897345.c53d9f5b@sonsothunder.com> References: <930B567C-9A02-47C9-A465-1060B0B0CEE2@economy-x-talk.com> <87F01BEC-BE8F-4D6A-ADDF-368512D980F7@economy-x-talk.com> <59557A0E-92D4-4974-A3E7-9781C3353112@planet.nl> <20070803104700897345.c53d9f5b@sonsothunder.com> Message-ID: On 3-aug-2007, 17:47, Ken Ray wrote: > On Fri, 3 Aug 2007 12:53:27 +0200, Ferdinand wrote: > >> >> In my Revolution application I have one systemwindow. If I click on >> this window the application must become the active application. >> How can I do this? The application runs on Mac OS -X . >> >> And if the solution below is the only way to activate the >> application : >> How can you find the name of your application? > > Look here: > > Understanding Processes > http://www.sonsothunder.com/devres/revolution/tips/proc005.htm > > Making an App Come To The Foreground > http://www.sonsothunder.com/devres/revolution/tips/proc001.htm > > HTH, > > 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 Thanks very much for your answer. That second example helps me alot! I am from the old 'fork()' exec() and argv[] days... So yes I do understand processes, but how Apple implement this with AppleScript I don't know exactly, I miss a good reference manual for this. Examples will do. For the application name I used $0 within Revolution. Again thanks for the answer. --- Ferdinand. From sims at ezpzapps.com Sat Aug 4 13:48:22 2007 From: sims at ezpzapps.com (Jim Sims) Date: Sat, 4 Aug 2007 19:48:22 +0200 Subject: Windows API function keybd_event( Message-ID: Can anyone give advice on using Windows API function keybd_event( Is this completely dead with Vista? Works maybe sometimes with Vista? Any comments? sims From revdev at pdslabs.net Sat Aug 4 14:55:00 2007 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 04 Aug 2007 11:55:00 -0700 Subject: Error Dialog Advice? In-Reply-To: References: Message-ID: <46B4CB84.2050209@pdslabs.net> Hi Scott, From the errorDialog page in the docs: ---start--- A list of possible execution errors is contained in the "cErrorsList" property of the first card of the stack "revErrorDisplay". You can view the list with the following statement: answer the cErrorsList of card 1 of stack "revErrorDisplay" Note: The exact format of the errorContents may change from release to release. ---end--- What I've done in the past is copy the contents of the above customProperty into a field of my own and experiment with lookups of lines in it until I get the right info for the given error. I never can remember which of those numbers represents what. HTH - Phil Davis Scott Rossi wrote: > Hello List: > > I was hoping to get some recommendations about dealing with error messages > generated by password protected stacks. What's a good way to answer error > info from a password protected stack that's intelligible by users? I'm > familiar with the errorDialog message, but how does one use it (or something > similar) to pass along the location in the script where the error occurred? > I see there is an object reference and a handler name, but which digits > correspond to which error messages? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design From katir at hindu.org Sat Aug 4 18:09:43 2007 From: katir at hindu.org (Sivakatirswami) Date: Sat, 04 Aug 2007 12:09:43 -1000 Subject: Text Inspector Needed In-Reply-To: References: <46B3C0FD.6010005@hindu.org> Message-ID: <46B4F927.1040203@hindu.org> Stephen Barncard wrote: > Yes. I have a good start for you, but you'll want to add more features. > Derek Bump at Dreamscape offered this very nice stack that focused on > creating html text that worked better in a browser with his > modifications, and maintained sizes better than raw Rev HTML.. And vice > versa. Very educational. > > Not only that, there's great code and ICONS for most editing functions, > including changing text attributes among others already set in a field. > > http://www.dreamscapesoftware.com/products/revolution/htmltocss1.zip (gritting his teeth, trying not to whine too loudly:) Looks good, but I'm still having to fiddle with text line height, text margins weird anomalies, like top of text being cut off on the top line of a tiny field set to verdana 9 pt... I can turn on fixed line height and then set it to 15 and viola, the text now appears on the top line, but now my leading is 3 times what I want it to be...I'm now stuck.. blocker I am simply not able to get 9 pt verdana on a 10 point leading into a field that is 70 pixels wide by pixel high. (sigh) Oh Wait! set text margins to 2 px and we now can see the text...there are no actual 2 px margins, but it forced the text from being clipped left-top a leap of intuition required to get it to work... 20 minutes later I *may* succeed at formatting this text the way we need it (or not!) Rev 3.0 I hope will fix this... I spend more time tweaking UI like this than writing complex functions... i.e. the touted RAD value of Rev drops enormously on this plane... And will turn away any newbie immediately who comes from a page layout/graphic design environment... they will turn around and say "Gee this just doesn't work; Can we use KeyNote or lay it out in InDesign do it as interactive PDF's?" I'll grant you that setting type in Photoshop is even more painful. but these are text fields and they really should work... > >> I believe I've requested this already for a future upgrade to >> Revolution, but I was wondering if anyone has >> already developed a Text Inspector widget. >> >> I find that when designing UI the text tool interface in Rev can be >> frustrating. >> A text tools palette would be marvelous, horizontal ribbon style like >> in InDesign >> or whatever: one wants to be able to see the >> >> * current font in use in the object >> * default font >> * font of selected text (since it may be different from what is in the >> field >> * line height setting >> * Text margins (dimmed if it is not a field) >> * current font size >> * click to view and edit field contents if locked. >> * lock - unlock text field >> * text color.... >> >> etc. all in one place, >> >> does anyone have such a widget already built? >> >> Sivakatirswami > -- Om shanti (In Peace) Sivakatirswami www.himalayanacademy.com Get Hinduism Today Digital Edition. It's Free! http://www.hinduismtoday.com/digital/ From chipp at chipp.com Sat Aug 4 18:18:59 2007 From: chipp at chipp.com (Chipp Walters) Date: Sat, 4 Aug 2007 17:18:59 -0500 Subject: Voyager Multimedia In-Reply-To: <32F7E93A-3AE5-422C-8F3B-A44797E54506@doctorTimothyMiller.com> References: <46AE6E18.8080902@hyperactivesw.com> <32F7E93A-3AE5-422C-8F3B-A44797E54506@doctorTimothyMiller.com> Message-ID: <7aa52a210708041518ra78aac7x7bd176e25ba01949@mail.gmail.com> As I recall, Bob Stein was the President and I think owner of Voyager when those CD were created. Originally, Voyager was located in LA, I think near Malibu or Venice Beach. AFAIK, they ended up selling Voyager to a NY company and relocated there. Afterwards, not a lot was heard from them in HC circles. best, Chipp On 7/30/07, Timothy Miller wrote: > > Talk about a cold trail! Not even Google knows this company! The CDs > show up in some library catalogs. > From jbv.silences at club-internet.fr Sat Aug 4 18:40:59 2007 From: jbv.silences at club-internet.fr (jbv) Date: Sun, 05 Aug 2007 00:40:59 +0200 Subject: Voyager Multimedia References: <46AE6E18.8080902@hyperactivesw.com> <32F7E93A-3AE5-422C-8F3B-A44797E54506@doctorTimothyMiller.com> <7aa52a210708041518ra78aac7x7bd176e25ba01949@mail.gmail.com> Message-ID: <46B5007A.8DFBC65C@club-internet.fr> > As I recall, Bob Stein was the President and I think owner of Voyager when > those CD were created. Originally, Voyager was located in LA, I think near > Malibu or Venice Beach. I visited them shortly in 1992 (I was with a guy based in LA who was working on the CD-ROM about french movie maker F. Truffaut) and AFAIR they were located somewhere on the beach between Santa Monica and Pacific Palissades... with fantastic views on sunset and the Pacific from their offices... JB From chipp at chipp.com Sat Aug 4 21:36:28 2007 From: chipp at chipp.com (Chipp Walters) Date: Sat, 4 Aug 2007 20:36:28 -0500 Subject: Voyager Multimedia In-Reply-To: <46B5007A.8DFBC65C@club-internet.fr> References: <46AE6E18.8080902@hyperactivesw.com> <32F7E93A-3AE5-422C-8F3B-A44797E54506@doctorTimothyMiller.com> <7aa52a210708041518ra78aac7x7bd176e25ba01949@mail.gmail.com> <46B5007A.8DFBC65C@club-internet.fr> Message-ID: <7aa52a210708041836l5e66b2cahed0a394d7eaf0863@mail.gmail.com> Yep, I visited them at the same time. They were looking at publishing a CD-ROM which Syd Mead and I had worked on. Wonderful facility. On 8/4/07, jbv wrote:> > I visited them shortly in 1992 (I was with a guy based in LA who was working > on the CD-ROM about french movie maker F. Truffaut) and AFAIR they were > located somewhere on the beach between Santa Monica and Pacific Palissades... > with fantastic views on sunset and the Pacific from their offices... From jgrubb75 at cybertrails.com Sun Aug 5 00:37:05 2007 From: jgrubb75 at cybertrails.com (jgrubb75 at cybertrails.com) Date: Sat, 4 Aug 2007 21:37:05 -0700 (MST) Subject: TTS Message-ID: <4242.67.150.123.116.1186288625.squirrel@webmail.cybertrails.com> Hi, This is my first shot at using the list. I have a TTS program that speaks plain text just fine using either MS Sam or an ATT voice. Now I'm trying to get it to speak Chinese using a Chinese voice installed on my machine. The font of the text field is set to arial, unicode. I can input Chinese via either the IME or by dragging Chinese text into the field. I set the revSpeechVoices to the Chinese voice and hit the button labeled "Speak", which contains the following mouseUp handler: revSpeak fld "f3" The Chinese voice spoke, but the utterance wasn't Chinese. Next, I changed the handler to: revSpeak uniDecode(fld "f3","Chinese") That didn't work When that didn't work, I tried revSpeak uniDecode(fld "f3","SimpleChinese") That didn't work. When I was typing Chinese text in my wordprocessor via the IME, I noticed that the font script was Chinese_GB2321. I could drag the text to my commercial TTS software, and it could read the text in Chinese. Maybe I need to convert the unicode text I have in my field to GB2321, which I understand is similar to unicode. Anybody have any ideas? Thanks. John From m.schonewille at economy-x-talk.com Sun Aug 5 06:40:23 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 5 Aug 2007 12:40:23 +0200 Subject: TTS In-Reply-To: <4242.67.150.123.116.1186288625.squirrel@webmail.cybertrails.com> References: <4242.67.150.123.116.1186288625.squirrel@webmail.cybertrails.com> Message-ID: <6AC7CCBA-83EC-4C8C-99F6-CD4E9C600CE8@economy-x-talk.com> Hi John, Sorry, it seems Chinese TTS won't work with Revolution. Chinese text is always Unicode in Revolution and apparently your TTS engine doesn't understand that. It looks like it should be possible to convert GB2321 to unicode and back with a script, just like GB2312 (see Wikipedia). After converting unnicode text to GB2321, you can export the binary text to a file and use the command line or a VBScript to open this with your commercial TTS engine. Don't try to display DB2312 in Revolution, as it won't display properly. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 5-aug-2007, om 6:37 heeft jgrubb75 at cybertrails.com het volgende geschreven: > Hi, > > This is my first shot at using the list. > > I have a TTS program that speaks plain text just fine using either > MS Sam > or an ATT voice. > > Now I'm trying to get it to speak Chinese using a Chinese voice > installed > on my machine. > > The font of the text field is set to arial, unicode. I can input > Chinese > via either the IME or by dragging Chinese text into the field. > > I set the revSpeechVoices to the Chinese voice and hit the button > labeled > "Speak", which contains the following mouseUp handler: > > revSpeak fld "f3" > > The Chinese voice spoke, but the utterance wasn't Chinese. Next, I > changed the handler to: > > revSpeak uniDecode(fld "f3","Chinese") > > That didn't work > > When that didn't work, I tried > > revSpeak uniDecode(fld "f3","SimpleChinese") > > That didn't work. > > When I was typing Chinese text in my wordprocessor via the IME, I > noticed > that the font script was Chinese_GB2321. I could drag the text to my > commercial TTS software, and it could read the text in Chinese. > > Maybe I need to convert the unicode text I have in my field to GB2321, > which I understand is similar to unicode. > > Anybody have any ideas? > > Thanks. > > John From scott at elementarysoftware.com Sun Aug 5 08:19:00 2007 From: scott at elementarysoftware.com (Scott Morrow) Date: Sun, 5 Aug 2007 05:19:00 -0700 Subject: registry in Vista & command line path Message-ID: I have two questions. 1. In XP (running under Parallels) when I get $1 in a standalone after double clicking my document icon, the path appears truncated. The first six letters of each directory (upper case) followed by a tilda. If someone could shed some light on how I can use this path to open the document... 2. I appear to be setting the registry correctly in XP - document icons are set correctly, queryRegistry() returns my app name, and double clicking a document icon launches my app... of course I can't open the document yet : ) - however, my next problem is in Vista. While my custom document icons still show up correctly, double clicking the document just brings up a dialog box: "Windows cannont access the specified device, path or file. You may not have the appropriate permissions to access the item." Any ideas what might cause this? (I'm running Vista Business, also in Parallels.) Rev 2.8.1 Any thoughts appreciated! -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- From scott at elementarysoftware.com Sun Aug 5 08:35:18 2007 From: scott at elementarysoftware.com (Scott Morrow) Date: Sun, 5 Aug 2007 05:35:18 -0700 Subject: registry in Vista & command line path In-Reply-To: References: Message-ID: <94D7F98C-842C-48F3-99E0-A1819444C897@elementarysoftware.com> Of course as soon as I clicked send... I suspect I want the longFilePath in regards to question 1 -Scott On Aug 5, 2007, at 5:19 AM, Scott Morrow wrote: > I have two questions. > > 1. In XP (running under Parallels) when I get $1 in a standalone > after double clicking my document icon, the path appears > truncated. The first six letters of each directory (upper case) > followed by a tilda. If someone could shed some light on how I can > use this path to open the document... > > 2. I appear to be setting the registry correctly in XP - document > icons are set correctly, queryRegistry() returns my app name, and > double clicking a document icon launches my app... of course I > can't open the document yet : ) - however, my next problem is in > Vista. While my custom document icons still show up correctly, > double clicking the document just brings up a dialog box: "Windows > cannont access the specified device, path or file. You may not > have the appropriate permissions to access the item." Any ideas > what might cause this? (I'm running Vista Business, also in > Parallels.) > > Rev 2.8.1 > > Any thoughts appreciated! > > -Scott Morrow > > Elementary Software > (Now with 20% less chalk dust !) > web http://elementarysoftware.com/ > email scott at elementarysoftware.com > > ----------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jiml at netrin.com Sun Aug 5 13:52:58 2007 From: jiml at netrin.com (Jim Lambert) Date: Sun, 5 Aug 2007 10:52:58 -0700 Subject: [OT] Re: Voyager Multimedia In-Reply-To: <20070805170005.72614488EF7@mail.runrev.com> References: <20070805170005.72614488EF7@mail.runrev.com> Message-ID: > they were > located somewhere on the beach between Santa Monica and Pacific > Palissades... > with fantastic views on sunset and the Pacific from their offices... And a dramatic view of the huge fire that burned down half of Malibu. Not much work got done that day! > ...Wonderful facility. Irreparably damaged in the 1994 earthquake and now long gone. Jim Lambert From pbower at soundmedicine.com Sun Aug 5 15:07:28 2007 From: pbower at soundmedicine.com (Peter Bower, M.D.) Date: Sun, 5 Aug 2007 15:07:28 -0400 Subject: SQL Too many client tasks Message-ID: <001d01c7d793$dedc6aa0$0300a8c0@PeterDeskTop> I am reading and writing to an access database using revolution. All seems to go well, then after 10 transactions I get a "(ODBC Microsoft Access Driver) too many client tasks" error. After each open command to read or write to the database I always have a close statement. Any thoughts as to what I'm doing wrong? Peter J. Bower, M.D. From sarah.reichelt at gmail.com Sun Aug 5 19:58:26 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 6 Aug 2007 09:58:26 +1000 Subject: What opened a plugin? Message-ID: Dear All, I think this has been asked before, but I don't know if anyone came up with a solution. I have a plugin in the Plugins menu and it opens automatically when Rev starts. When it finishes it's task, I then want it to close itself and go away. If it gets an error, it should stay open - that is not a problem. The problem is if I want to edit it or it's setting later. I want a way to detect whether it has been opened automatically on startup, or whether it has been chosen from the plugins menu manually. If manually opened, I don't want it to close when finished. There are ways around this, but I just wondered if there was any in-built way to detect what was happening. TIA, Sarah From tsj at unimelb.edu.au Sun Aug 5 20:24:34 2007 From: tsj at unimelb.edu.au (Terry Judd) Date: Mon, 06 Aug 2007 10:24:34 +1000 Subject: Inserting images as BLOBs - any way to avoid using base64encode? In-Reply-To: <20070801161429.39F9E4891E9@mail.runrev.com> Message-ID: Hi - I'm about to use SQLite to store all the resources for a large ed application I'm about to start building and was wondering whether there was any way to get images into and out of the database without having to base64encode/decode them. It looks like the encoding process adds about 30% to the file size, which for this project could add an extra 100 MB or more to the database file. Terry... -- Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 From lfredricks at proactive-intl.com Sun Aug 5 20:48:59 2007 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sun, 5 Aug 2007 17:48:59 -0700 Subject: Valentina for Revolution Upgraded to 3.2; Valentina Studio Gains Diagramming Message-ID: <008101c7d7c3$94fd20c0$6601a8c0@GATEWAY> The Short Form: Beaverton, Oregon-based Paradigma Software, Inc announces the release of version 3.2 of its ultra fast database technology Valentina. This update is available across the product line, including Valentina Office Server, Valentina Developer Network and the free, Linux based Valentina Community Server. Full details are available at: http://www.valentina-db.com/wp/2007/08/05/valentina-32-developer-and-busines s-database-products-updated/ Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From andre at andregarzia.com Mon Aug 6 01:17:20 2007 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 6 Aug 2007 02:17:20 -0300 Subject: Valentina for Revolution Upgraded to 3.2; Valentina Studio Gains Diagramming In-Reply-To: <008101c7d7c3$94fd20c0$6601a8c0@GATEWAY> References: <008101c7d7c3$94fd20c0$6601a8c0@GATEWAY> Message-ID: <7c87a2a10708052217l1c204f3ct60d604ea249321c2@mail.gmail.com> Lynn, can we use Valentina Server Community Edition with Rev? Andre On 8/5/07, Lynn Fredricks wrote: > > The Short Form: > > Beaverton, Oregon-based Paradigma Software, Inc announces the release of > version 3.2 of its ultra fast database technology Valentina. This update > is > available across the product line, including Valentina Office Server, > Valentina Developer Network and the free, Linux based Valentina Community > Server. > > Full details are available at: > http://www.valentina-db.com/wp/2007/08/05/valentina-32 > -developer-and-busines > s-database-products-updated/ > > Best regards, > > Lynn Fredricks > President > Paradigma Software > http://www.paradigmasoft.com > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bridgeyman at gmail.com Mon Aug 6 01:21:50 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Sun, 5 Aug 2007 23:21:50 -0600 Subject: Rev CGI Post Message-ID: <86ae76bb0708052221x144f120dn64b29aa0b4c37a33@mail.gmail.com> Hey, I am trying to make a Rev CGI play nicely with PayPal, and I am stuck. I am trying to implement PayPal's IPN (Instant Payment Notification) which sends data to a CGI on my site when a purchase is made. It does this by sending a POST. My CGI is supposed to POST back to PayPal the data PayPal sent me, and a little extra for verification. As part of the second the POST, the PayPal site is supposed to send back either "VERIFIED" or "INVALID." I hope made sense. :) My CGI is receiving the data, and I try to send a POST back, but no data is in the "it" variable or the result. How do I get the data? Is the POST command available in a CGI? Should I just do this with my own custom sockets? TTFN Bridger Maxwell www.FieryFerret.com If it helps, I have sample PHP code I am working from, and some of my code from the CGI. PHP Code (From PayPal): // post back to PayPal system to validate $header .= "POST /cgi-bin/webscr HTTP/1.0\r\n"; $header .= "Content-Type: application/x-www-form-urlencoded\r\n"; $header .= "Content-Length: " . strlen($req) . "\r\n\r\n"; $fp = fsockopen ('www.paypal.com', 80, $errno, $errstr, 30); if (!$fp) { // HTTP ERROR } else { fputs ($fp, $header . $req); while (!feof($fp)) { $res = fgets ($fp, 1024); if (strcmp ($res, "VERIFIED") == 0) { // process payment } else if (strcmp ($res, "INVALID") == 0) { // log for manual investigation } } fclose ($fp); } My CGI Code: put empty into gBuffer REPEAT until length(gBuffer) >= $CONTENT_LENGTH read from stdin until empty put it after gBuffer END REPEAT put "cmd=_notify-validate&" & gBuffer into vReturn post vReturn to "http://www.sandbox.paypal.com/cgi-bin/webscr" --After this post, the "it" variable is empty, and so is the result From bridgeyman at gmail.com Mon Aug 6 02:31:04 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Mon, 6 Aug 2007 00:31:04 -0600 Subject: Rev CGI Post In-Reply-To: <86ae76bb0708052221x144f120dn64b29aa0b4c37a33@mail.gmail.com> References: <86ae76bb0708052221x144f120dn64b29aa0b4c37a33@mail.gmail.com> Message-ID: <86ae76bb0708052331u200b48fekc18b68348240146a@mail.gmail.com> Hey, Never mind, problem solved! By looking at the PHP script, I was able to throw together a script to write the POST and receive a response from PayPal by reading and writing to sockets. I am still curious to know if I can use in libURL functions in a Rev CGI though. TTFN Bridger Maxwell www.FieryFerret.com On 8/5/07, Bridger Maxwell wrote: > > Hey, I am trying to make a Rev CGI play nicely with PayPal, and I am > stuck. I am trying to implement PayPal's IPN (Instant Payment Notification) > which sends data to a CGI on my site when a purchase is made. It does > this by sending a POST. My CGI is supposed to POST back to PayPal the > data PayPal sent me, and a little extra for verification. As part of the > second the POST, the PayPal site is supposed to send back either > "VERIFIED" or "INVALID." I hope made sense. :) > My CGI is receiving the data, and I try to send a POST back, but no data > is in the "it" variable or the result. How do I get the data? Is the > POST command available in a CGI? Should I just do this with my own custom > sockets? > > > TTFN > Bridger Maxwell > www.FieryFerret.com > > > > > If it helps, I have sample PHP code I am working from, and some of my code > from the CGI. > > > PHP Code (From PayPal): > // post back to PayPal system to validate > $header .= "POST /cgi-bin/webscr HTTP/1.0\r\n"; > $header .= "Content-Type: application/x-www-form-urlencoded\r\n"; > $header .= "Content-Length: " . strlen($req) . "\r\n\r\n"; > $fp = fsockopen ('www.paypal.com ', 80, $errno, $errstr, 30); > > > if (!$fp) { > // HTTP ERROR > } else { > fputs ($fp, $header . $req); > while (!feof($fp)) { > $res = fgets ($fp, 1024); > if (strcmp ($res, "VERIFIED") == 0) { > // process payment > } > else if (strcmp ($res, "INVALID") == 0) { > // log for manual investigation > } > } > fclose ($fp); > } > > My CGI Code: > put empty into gBuffer > REPEAT until length(gBuffer) >= $CONTENT_LENGTH > read from stdin until empty > put it after gBuffer > END REPEAT > put "cmd=_notify-validate&" & gBuffer into vReturn > > post vReturn to "http://www.sandbox.paypal.com/cgi-bin/webscr " > --After this post, the "it" variable is empty, and so is the result > From dave.cragg at lacscentre.co.uk Mon Aug 6 03:28:03 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 6 Aug 2007 08:28:03 +0100 Subject: Rev CGI Post In-Reply-To: <86ae76bb0708052221x144f120dn64b29aa0b4c37a33@mail.gmail.com> References: <86ae76bb0708052221x144f120dn64b29aa0b4c37a33@mail.gmail.com> Message-ID: <6C9EE20B-6F34-4634-ACA2-2F5025AF5D11@lacscentre.co.uk> On 6 Aug 2007, at 06:21, Bridger Maxwell wrote: > My CGI is receiving the data, and I try to send a POST back, but > no data > is in the "it" variable or the result. How do I get the data? Is > the POST > command available in a CGI? Should I just do this with my own custom > sockets? > My CGI Code: > put empty into gBuffer > REPEAT until length(gBuffer) >= $CONTENT_LENGTH > read from stdin until empty > put it after gBuffer > END REPEAT > put "cmd=_notify-validate&" & gBuffer into vReturn > > post vReturn to "http://www.sandbox.paypal.com/cgi-bin/webscr" > --After this post, the "it" variable is empty, and so is the result The libUrl library isn't automatically available for CGI scripts. You can get a version for CGI use here: http://www.lacscentre.co.uk/liburl/releases.html Also, in the last line above, I think you need the "url" keyword. post vReturn to url "http://www.sandbox.paypal.com/cgi-bin/webscr" Cheers Dave From sunshine at public.kherson.ua Mon Aug 6 04:13:43 2007 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon, 06 Aug 2007 11:13:43 +0300 Subject: Valentina for Revolution Upgraded to 3.2; Valentina Studio Gains Diagramming In-Reply-To: <7c87a2a10708052217l1c204f3ct60d604ea249321c2@mail.gmail.com> Message-ID: On 6/8/07 8:17 AM, "Andre Garzia" wrote: > Lynn, > can we use Valentina Server Community Edition with Rev? No Andre, It is made to work only with VPHP and VRUBY. For WEB sites development. -- 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 katir at hindu.org Mon Aug 6 05:41:54 2007 From: katir at hindu.org (Sivakatirswami) Date: Sun, 05 Aug 2007 23:41:54 -1000 Subject: Latest Engine for Darwin Message-ID: <46B6ECE2.5000502@hindu.org> I'm testing some cgi's locally on OSX and getting errors, Apache is throwing "Internal Server Errors" for simple function calls... Meanwhile the same cgi's and stacks are working fine on Linux on our remote web serve in San Francisco (using the 2.6.1 linux engine with stacks save in legacy format) I'm thinking I may need to upgrade the Darwin version because we have upgraded to Intel Macs across the board and I think the old Darwin engine is out of date. TIA Sivakatirswami From robmann at gp-racing.com Mon Aug 6 09:01:04 2007 From: robmann at gp-racing.com (Robert Mann) Date: Mon, 6 Aug 2007 09:01:04 -0400 Subject: Rev CGI Post In-Reply-To: <6C9EE20B-6F34-4634-ACA2-2F5025AF5D11@lacscentre.co.uk> Message-ID: I am having a similar problem with paypal, trying to use the script that Thomas McCarthy put together myPDT.cgi which was a great help to get me going. on startup --StartCGI --read info put $QUERY_STRING into theBuffer put theBuffer into theTermsArray --keep the original info. put "myLibUrl.rev" into theStack start using stack theStack put the result into tresult put tresult & "result" split theTermsArray by "&" and "=" put theTermsArray["tx"] into tvalue put "cmd=_notify-synch" into tnotify put "&tx=" & tvalue into tToken ---NEED YOUR IDENTITY TOKEN--- put "&at=identity_token" into myID put tnotify & tToken & myID into x post x to url "http://www.sandbox.paypal.com/us/cgi-bin/webscr" -->TAKE OUT "SANDBOX" LATER this is called from paypal using the following http://www.gp-racing.com/cgi-bin/myPDT.cgi theBuffer seams to be empty should there be something after the myPDT.cgi like http://www.gp-racing.com/cgi-bin/myPDT.cgi?theBuffer Isn't this how theBuffer would be filled? Just not sure what to put there? The postback is always "Fail" Thanks Rob From andre at andregarzia.com Mon Aug 6 10:34:59 2007 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 6 Aug 2007 11:34:59 -0300 Subject: Valentina for Revolution Upgraded to 3.2; Valentina Studio Gains Diagramming In-Reply-To: References: <7c87a2a10708052217l1c204f3ct60d604ea249321c2@mail.gmail.com> Message-ID: <7c87a2a10708060734r2cbed3abkcd2a082f99e54d19@mail.gmail.com> Thanks Ruslan, I thought maybe I could use the Valentina External to talk to it and use it from Revolution based CGIs. Best andre On 8/6/07, Ruslan Zasukhin wrote: > > On 6/8/07 8:17 AM, "Andre Garzia" wrote: > > > Lynn, > > can we use Valentina Server Community Edition with Rev? > > No Andre, > > It is made to work only with VPHP and VRUBY. > For WEB sites development. > > -- > 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 andre at andregarzia.com Mon Aug 6 10:38:01 2007 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 6 Aug 2007 11:38:01 -0300 Subject: Rev CGI Post In-Reply-To: References: <6C9EE20B-6F34-4634-ACA2-2F5025AF5D11@lacscentre.co.uk> Message-ID: <7c87a2a10708060738r519a33b4r583bc855ff89d547@mail.gmail.com> Friends, If you guys are using CGIs for that, usually you can use shell() to call cURL or wget. I think it's a nice way to talk with PayPal IPN Cheers andre On 8/6/07, Robert Mann wrote: > > I am having a similar problem with paypal, trying to use the script that > Thomas McCarthy put together myPDT.cgi which was a great help to get me > going. > > on startup > --StartCGI > --read info > put $QUERY_STRING into theBuffer > put theBuffer into theTermsArray --keep the original info. > put "myLibUrl.rev" into theStack > start using stack theStack > put the result into tresult > put tresult & "result" > split theTermsArray by "&" and "=" > put theTermsArray["tx"] into tvalue > put "cmd=_notify-synch" into tnotify > put "&tx=" & tvalue into tToken > ---NEED YOUR IDENTITY TOKEN--- > put "&at=identity_token" into myID > put tnotify & tToken & myID into x > post x to url "http://www.sandbox.paypal.com/us/cgi-bin/webscr" -->TAKE > OUT "SANDBOX" LATER > > > this is called from paypal using the following > http://www.gp-racing.com/cgi-bin/myPDT.cgi > > theBuffer seams to be empty should there be something after the myPDT.cgi > like > http://www.gp-racing.com/cgi-bin/myPDT.cgi?theBuffer > Isn't this how theBuffer would be filled? Just not sure what to put there? > > The postback is always "Fail" > > Thanks > Rob > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revolution at derbrill.de Mon Aug 6 11:01:56 2007 From: revolution at derbrill.de (Malte Brill) Date: Mon, 6 Aug 2007 17:01:56 +0200 Subject: Reading Dos text (Cp850, Cp437, Cp1252) In-Reply-To: <20070324170008.E4E2A48903B@mail.runrev.com> References: <20070324170008.E4E2A48903B@mail.runrev.com> Message-ID: Thanks Mark (and sorry for the late reply), that?s what I was afraid of. *sigh* All the best, Malte > > One way would be to simply (and rather painstakingly!) build arrays > (storable as customPropertySets) as look-ups for each code page, such > that you could then do: > > repeat for each char c in someText > put codePage850[charToNum(c)] after someTranslatedText > end repeat From christian.langers at education.lu Mon Aug 6 13:11:29 2007 From: christian.langers at education.lu (Christian Langers) Date: Mon, 6 Aug 2007 19:11:29 +0200 Subject: sqlite and update In-Reply-To: <11769394.post@talk.nabble.com> References: <11769394.post@talk.nabble.com> Message-ID: Hello, The SQL syntax for Update is : UPDATE table_name SET column_name = new_value WHERE column_name = some_value Here is a good reference : e.g. put "UPDATE Schueler SET Name="& "tName"&","&& "Vorname="&tVorname&","&& "Strasse="&tStrasse&"," &&"Hausnr="& tHausnr&","&& "PLZ="& tPLZ&","&& "Ort="&tOrt&","&& "Gebdatum="&tGebdatum&","&&"Tel1="& tTel1&","&&"Tel2="&tTel2&","&& "Tel3="& tTel3&","&& "Geschl="& tGeschl&","&& "Konf="&tKonf&","&&"Staatsang="& tStaatsang&","&& "Klasse="& tKlasse&","&& "Nachname2="& tName2&","&& "Nachname3="&tName3&","&& "Email="& tEmail&&"WHERE rowID=1" into tSQL you have to know the rowId here... But it seems that you are updating all of your fields ; I would suggest to use the REPLACE INTO Statement instead... sql-statement ::= REPLACE INTO [database-name .] table-name [( column-list )] VALUES ( value-list ) | REPLACE INTO [database-name .] table-name [( column-list )] select- statement Look here for more information : Hope this helps, Christian Langers From henk at iglow-media.nl Mon Aug 6 13:24:24 2007 From: henk at iglow-media.nl (Henk van der Velden) Date: Mon, 6 Aug 2007 19:24:24 +0200 Subject: sqlite and update In-Reply-To: <20070806170004.B50C7488F6C@mail.runrev.com> References: <20070806170004.B50C7488F6C@mail.runrev.com> Message-ID: <2B56E9B5-98E5-42BC-8CF2-9DD7F484EDBD@iglow-media.nl> Hi Ralle, Next to Christian's reply, consider using an array. Your input should read like this: put fld "name" into data[1] put fld "vorname" into data[2] That way you don't need the long list of variables at the end of your query. And there's a typo you may have missed: ::16 Regards, Henk On Aug 6, 2007, at 19:00 , use-revolution-request at lists.runrev.com wrote: > put field "Name" into tName > put field "Vorname" into tVorname > put field "Strasse" into tStrasse > > local tSQL > put "UPDATE Schueler (Name, Vorname, Strasse, Hausnr, PLZ, Ort, > Gebdatum, > Tel1, Tel2, Tel3, Geschl, Konf, Staatsang, Klasse, Nachname2, > Nachname3, > Email) Values ( :1, :2, :3, :4, :5, :6, :7, :8, :9, :10, :11, :12, : > 13, :14, > :15: :16, :17)" , "tName", "tVorname", "tStrasse", "tHausnr", "tPLZ", > "tOrt", "tGebdatum", "tTel2", "tTel2", "tTel3", "tGeschl", "tKonf", > "tStaatsang", "tKlasse", "tName2", "tName3", "tEmail" into tSQL > revExecuteSQL gConID, tSQL > put the result into tResult > > dont work, get an error near "(" syntax error From janschenkel at yahoo.com Mon Aug 6 13:45:56 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 6 Aug 2007 10:45:56 -0700 (PDT) Subject: sqlite and update In-Reply-To: <11769394.post@talk.nabble.com> Message-ID: <785909.62401.qm@web60520.mail.yahoo.com> --- haribo wrote: > > hi, > now, i spend 3 days for update problem, i can > insert, delete, no problem, > then i want update one person, its terrible, first i > have this code > > [snip] > > dont work > need help > Ralle > Hi Ralle, I replied to your question on the runrev.com forum - did that work for you? Best regards, 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) ____________________________________________________________________________________ Got a little couch potato? Check out fun summer activities for kids. http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz From andre at andregarzia.com Mon Aug 6 13:46:39 2007 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 6 Aug 2007 14:46:39 -0300 Subject: Inserting images as BLOBs - any way to avoid using base64encode? In-Reply-To: References: <20070801161429.39F9E4891E9@mail.runrev.com> Message-ID: <7c87a2a10708061046s23e36d59j2e4629896e6008ac@mail.gmail.com> Terry, why not keeping the images as external files and putting a field in the database with the file path? this would lead to databases with less chunk in it since to use the images you'd have to output them to files anyway. something like this: Hard Drive Image ID Table My Database myImage.jpg <---------> Record that match id to file <------------------> field image_id This is a simple solution where you use a intermediary table to match id's with files, this way if you change a file name or path, you just need to update one table entry and not all your database entries that deal with that file. This makes easy to "reconnect" lost media files if things move around in the Hard Drive. I would not put media files inside SQL Databases. Best andre On 8/5/07, Terry Judd wrote: > > Hi - I'm about to use SQLite to store all the resources for a large ed > application I'm about to start building and was wondering whether there > was > any way to get images into and out of the database without having to > base64encode/decode them. It looks like the encoding process adds about > 30% > to the file size, which for this project could add an extra 100 MB or more > to the database file. > > Terry... > > -- > Dr Terry Judd > Lecturer in Educational Technology (Design) > Biomedical Multimedia Unit > Faculty of Medicine, Dentistry & Health Sciences > The University of Melbourne > Parkville VIC 3052 > AUSTRALIA > > 61-3 8344 0187 > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Mon Aug 6 13:51:51 2007 From: mikeythek at gmail.com (Mikey) Date: Mon, 6 Aug 2007 13:51:51 -0400 Subject: Getting table and field names Message-ID: <9b408d8e0708061051i119cabffn1a863c9d85aae424@mail.gmail.com> I'm looking all over but I can't find SQL commands to use with ODBC to extract the table names for a database, and once I have those to extract the column names for a table. My SQL is pretty darn rusty, in case you couldn't figure that out already. TIA. From janschenkel at yahoo.com Mon Aug 6 13:56:59 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 6 Aug 2007 10:56:59 -0700 (PDT) Subject: Inserting images as BLOBs - any way to avoid using base64encode? In-Reply-To: Message-ID: <4886.25719.qm@web60523.mail.yahoo.com> --- Terry Judd wrote: > Hi - I'm about to use SQLite to store all the > resources for a large ed > application I'm about to start building and was > wondering whether there was > any way to get images into and out of the database > without having to > base64encode/decode them. It looks like the encoding > process adds about 30% > to the file size, which for this project could add > an extra 100 MB or more > to the database file. > > Terry... > Hi Terry, You can try and use the "query with placeholder" style to push binary data into the database: ## put URL("binfile:" & tFilePath) into tBinaryData put "INSERT INTO images (:1, :2)" into tQuery revExecuteSQL gConnection, tQuery, "tFilePath", "*b" & tBinaryData put the result into tResult if char 1 to 8 of tResult is "revdberr" then answer error tResult else -- insert succeeded end if ## If the images are large, you'll want to use the revQueryDatabaseBLOB function to get the data out as a cursor. Then you can use the function 'revDatabaseColumnNamed' to extract the binary data. ## put "SELECT * FROM images" into tQuery put revDatabaseQueryBLOB(gConnection, tQuery) into tCursor if tCursor is not a number then answer error tCursor else put revDatabaseColumnNamed(tCursor,"binData") into tBinData -- do what you need to do -- ... -- clean up the cursor afterwards! revCloseCursor tCursor end if ## Base64Encoding is great if you have to move stuff accross platforms and technologies; but the above may do the trick for you. 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) ____________________________________________________________________________________ Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. http://farechase.yahoo.com/ From janschenkel at yahoo.com Mon Aug 6 13:58:35 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 6 Aug 2007 10:58:35 -0700 (PDT) Subject: SQL Too many client tasks In-Reply-To: <001d01c7d793$dedc6aa0$0300a8c0@PeterDeskTop> Message-ID: <685986.30499.qm@web60511.mail.yahoo.com> --- "Peter Bower, M.D." wrote: > I am reading and writing to an access database using > revolution. > All seems to go well, then after 10 transactions I > get a "(ODBC Microsoft Access Driver) too many > client tasks" error. > After each open command to read or write to the > database I always have a close statement. > > Any thoughts as to what I'm doing wrong? > > Peter J. Bower, M.D. > Hi Peter, What exactly do you close? The connection? Or the result set cursors? You don't have to close the connection after each query, but you should always close the cursor before executing another query. 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 Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545469 From janschenkel at yahoo.com Mon Aug 6 14:03:16 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 6 Aug 2007 11:03:16 -0700 (PDT) Subject: Getting table and field names In-Reply-To: <9b408d8e0708061051i119cabffn1a863c9d85aae424@mail.gmail.com> Message-ID: <780154.33354.qm@web60511.mail.yahoo.com> --- Mikey wrote: > I'm looking all over but I can't find SQL commands > to use with ODBC to > extract the table names for a database, and once I > have those to > extract the column names for a table. My SQL is > pretty darn rusty, in > case you couldn't figure that out already. > > TIA. > Hi Mikey, Unfortunately, the Revolution database layer does not provide direct access to the database schema at the moment. Depending on the database, you can script these yourself, though. Here's the query for MS Access: SELECT name FROM MSysObjects WHERE type IN (1,6) AND name NOT LIKE 'MSys%'; And here's the query for PostgreSQL: SELECT tablename FROM pg_tables WHERE tablename NOT LIKE 'pg%'; The problem is, of course, that you have to get the right query for every database separately. Also, the user must have the necessary privileges to extract this schema information. 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) ____________________________________________________________________________________ Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. http://mobile.yahoo.com/go?refer=1GNXIC From janschenkel at yahoo.com Mon Aug 6 14:12:36 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 6 Aug 2007 11:12:36 -0700 (PDT) Subject: More: Getting table and field names In-Reply-To: <9b408d8e0708061051i119cabffn1a863c9d85aae424@mail.gmail.com> Message-ID: <248382.49137.qm@web60516.mail.yahoo.com> --- Mikey wrote: > I'm looking all over but I can't find SQL commands > to use with ODBC to > extract the table names for a database, and once I > have those to > extract the column names for a table. My SQL is > pretty darn rusty, in > case you couldn't figure that out already. > > TIA. > Oops, I forgot to explain how you can fetch the column information; the following code is rather crude, but it does the trick until we get full schema information: ## function qrtdb_TableColumnNames pConnectionID, pTableName local tQuery, tCursor, tColumnNames put "SELECT * FROM" && pTableName into tQuery put revdb_query(pConnectionID, tQuery) into tCursor if tCursor is a number then put revdb_columnnames(tCursor) into tColumnNames get revdb_closecursor end if return tColumnNames end qrtdb_TableColumnNames ## Put the above somewhere in a library stack script, and then call it like this to extract the information from a single table: ## put qrtdb_TableColumnNames(gConnectionID, "images") into tColumnNames ## Like I said, it's a crude approach, and some databases will be rather unhappy if you ask them to prepare an entire table for a cursor, only to use the cursor information. But it has always worked for me - of course, depending on the database, you can wirte specific queries to extract column information. But those queries are again database-dependent. 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) ____________________________________________________________________________________ Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. http://smallbusiness.yahoo.com/webhosting From mikeythek at gmail.com Mon Aug 6 14:19:42 2007 From: mikeythek at gmail.com (Mikey) Date: Mon, 6 Aug 2007 14:19:42 -0400 Subject: Getting table and field names In-Reply-To: <780154.33354.qm@web60511.mail.yahoo.com> References: <9b408d8e0708061051i119cabffn1a863c9d85aae424@mail.gmail.com> <780154.33354.qm@web60511.mail.yahoo.com> Message-ID: <9b408d8e0708061119p21a9aabek79900c56e922fce8@mail.gmail.com> Jan, Then how does RR's query builder build the list of tables in the second tab? From bridgeyman at gmail.com Mon Aug 6 14:40:35 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Mon, 6 Aug 2007 12:40:35 -0600 Subject: Rev CGI Post In-Reply-To: References: <6C9EE20B-6F34-4634-ACA2-2F5025AF5D11@lacscentre.co.uk> Message-ID: <86ae76bb0708061140m67c8303bj4ae4c9600bc956e8@mail.gmail.com> Hey, The way you are reading info is for an HTTP GET, I am not sure if that is how PDT sends the data, but with IPN, the data is sent in an HTTP POST. You can check to see how the data is being sent by looking at the $REQUEST_METHOD global. Here is my script to read from the POST data: put empty into gBuffer REPEAT until length(gBuffer) >= $CONTENT_LENGTH read from stdin until empty put it after gBuffer END REPEAT put "cmd=_notify-validate&" & gBuffer into vReturn Hope that helps! TTFN Bridger Maxwell From janschenkel at yahoo.com Mon Aug 6 15:07:04 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 6 Aug 2007 12:07:04 -0700 (PDT) Subject: Getting table and field names In-Reply-To: <9b408d8e0708061119p21a9aabek79900c56e922fce8@mail.gmail.com> Message-ID: <246549.28140.qm@web60517.mail.yahoo.com> --- Mikey wrote: > Jan, > Then how does RR's query builder build the list of > tables in the second tab? > Hi Mikey, It basically uses two approaches: if it's a database type for which Revolution has a native driver, then it uses the undocumented function 'revdb_tablenames' to get the table names from a connection. If it's an ODBC connection, it tries from a series of prebuilt queries. Here's the relevant portion from the 'revDatabase' frontscript: ## put revdb_dbtype(connectionid) into tType switch item 1 of tType case "mysql" case "oracle" case "valentina" case "postgresql" case "frontbase" case "sqlite" put revdb_tablenames(connectionid) into tResult break case "odbc" switch item 2 of tType case "mysql" put revdb_querylist(tab,return,connectionid,"SHOW tables;") into tResult break case "oracle" put revdb_querylist(tab,return,connectionid,"SELECT * from tab;") into tResult break case "postgresql" put revdb_querylist(tab,return,connectionid,"SELECT tablename FROM pg_tables WHERE tablename NOT LIKE 'pg%';") into tResult break case "access" put revdb_querylist(tab,return,connectionid,"SELECT name FROM MSysObjects WHERE type IN (1,6) AND name NOT LIKE 'MSys%';") into tResult break default put revdb_tablenames(connectionid) into tResult break end switch break end switch ## The 'revDatabase' frontscript is the infrastructure behind the automated queries and the controls that can be linked to them. 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) ____________________________________________________________________________________ Pinpoint customers who are looking for what you sell. http://searchmarketing.yahoo.com/ From mikeythek at gmail.com Mon Aug 6 15:12:32 2007 From: mikeythek at gmail.com (Mikey) Date: Mon, 6 Aug 2007 15:12:32 -0400 Subject: Getting table and field names In-Reply-To: <246549.28140.qm@web60517.mail.yahoo.com> References: <9b408d8e0708061119p21a9aabek79900c56e922fce8@mail.gmail.com> <246549.28140.qm@web60517.mail.yahoo.com> Message-ID: <9b408d8e0708061212w44fd9dacq704b8947a8b82c20@mail.gmail.com> OK, so to save me from poking all over the place, I'm assuming that revdb_tablenames is a command not handled somewhere else, right? From jgrubb75 at cybertrails.com Mon Aug 6 15:41:46 2007 From: jgrubb75 at cybertrails.com (jgrubb75 at cybertrails.com) Date: Mon, 6 Aug 2007 12:41:46 -0700 (MST) Subject: TTS-follow-up Message-ID: <1120.67.150.122.78.1186429306.squirrel@webmail.cybertrails.com> Mark, Thanks for the response. I read somewhere that GB2312 is a subset of unicode, or vice versa. So the conversion is probably fairly simple. There's gotta be some algorithm out there for the conversion. If so, it seems like I could have a function that would convert the unicode to GB just before sending it to the engine. The handler would be something like this: revSpeak UtoGConvert(fld "f3") I'm an educator, not a programmer. I'd be willing to pay you or someone else to find or work up an algorithm. Thanks Re: Sorry, it seems Chinese TTS won't work with Revolution. Chinese text is always Unicode in Revolution and apparently your TTS engine doesn't understand that. It looks like it should be possible to convert GB2321 to unicode and back with a script, just like GB2312 (see Wikipedia). After converting unnicode text to GB2321, you can export the binary text to a file and use the command line or a VBScript to open this with your commercial TTS engine. Don't try to display DB2312 in Revolution, as it won't display properly. Best regards, Mark Schonewille From janschenkel at yahoo.com Mon Aug 6 15:48:16 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 6 Aug 2007 12:48:16 -0700 (PDT) Subject: Getting table and field names In-Reply-To: <9b408d8e0708061212w44fd9dacq704b8947a8b82c20@mail.gmail.com> Message-ID: <575160.31126.qm@web60513.mail.yahoo.com> --- Mikey wrote: > OK, so to save me from poking all over the place, > I'm assuming that > revdb_tablenames is a command not handled somewhere > else, right? > The function 'revdb_tablenames' is implemented in the Revolution database library, a set of external commands and functions programmed in C++ as an extension to the Revolution engine. So the source code is not part of the Revolution IDE; however, you can access the frontscript 'revDatabase' by opening the Message Box (in the menu 'Tools') - go to the 'Front scripts' panel, and tick the 'Show Revolution UI front scripts' checkbox. Then you can doubleclick the line 'revDatabase' and take a good look at that frontscript; beware, as this may be overwhelming for those without an intimate knowledge of Revolution messaging mechanics. If you want to learn how frontscripts fit in the larger picture of the Revolution message handling, go to: This article entitled 'Extending the Runtime Revolution Message Path' by Richard Gaskin, is the best way to understand where to place your own handlers and functions. 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) ____________________________________________________________________________________ Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. http://tv.yahoo.com/collections/222 From bridgeyman at gmail.com Mon Aug 6 16:15:52 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Mon, 6 Aug 2007 14:15:52 -0600 Subject: SQL Access with Rev CGI Message-ID: <86ae76bb0708061315r5673583dr171bf729ab5f931a@mail.gmail.com> Hey, I have just got a Rev CGI set up on my Dreamhost server, and I would like it to access my SQL database. I have been searching around the list archive, and it seems like it is possible, but I can't figure it out. Is there a driver I need to download? Where can I get that driver? Whenever I execute revdb_connect, it returns "revdberr,invalid database type." I am running the linux engine version 2.6.6. TTFN Bridger Maxwell From mwieder at ahsoftware.net Mon Aug 6 16:27:49 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 6 Aug 2007 13:27:49 -0700 Subject: Getting table and field names References: <9b408d8e0708061051i119cabffn1a863c9d85aae424@mail.gmail.com> Message-ID: Mikey- > I'm looking all over but I can't find SQL commands to use with ODBC to > extract the table names for a database, and once I have those to > extract the column names for a table. My SQL is pretty darn rusty, in > case you couldn't figure that out already. Jan has already given you most of the info, but just to make this clear: there's no definitive standard way to get a list of tables through SQL commands. It will depend on what type of database is being used and the information is not always easy to dig up. The code Jan supplied will return the table lists for MSAccess and PostgreSQL - anything else and you're pretty much on your own. -- Mark Wieder mwieder at ahsoftware.net From tracy at pacyber.com Mon Aug 6 17:17:26 2007 From: tracy at pacyber.com (Tracy Riegle) Date: Mon, 6 Aug 2007 16:17:26 -0500 Subject: Windows Exe Crashes In-Reply-To: References: <9b408d8e0708061051i119cabffn1a863c9d85aae424@mail.gmail.com> Message-ID: Hi All, I'm new to this list, so please forgive me if I ask a question that has already been answered (although I searched the archive and couldn't find an answer). I'm using Rev 2.8.1 build 472. I have a stack with about two dozen cards, with each card having a large image on it, and several other controls (some of which are shared among all card). The project runs find within the IDE. If I build a Standalone for a Mac, it also runs just fine. If I build a Standalone for Windows it crashed with: NAME 1.0.0.0 for Windows has encountered a problem and needs to close. I get NO other windows at all, just this small error pop-up, like it isn't even trying to start. I tried building for Windows from a Mac and Win XP machine. I tried commenting ALL the startup scripts so NO code script gets executed at startup. It still crashes. I tried deleting cards to see if I had a bad image on an offending card. The only way I finally got it to run was if I delete over 1/2 the cards and get the stack size down from about 6 Meg to less than 3 Meg (it makes NO difference which cards I delete to decrease the size). Once I got the stack down to less than 3 Megs, then the Standalone runs on Windows??? Does anyone have any ideas as to what might be going wrong? Thanks in advance. -Tracy From list at dreamscapesoftware.com Mon Aug 6 17:24:34 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Mon, 06 Aug 2007 16:24:34 -0500 Subject: Windows Exe Crashes In-Reply-To: References: <9b408d8e0708061051i119cabffn1a863c9d85aae424@mail.gmail.com> Message-ID: <46B79192.5070804@dreamscapesoftware.com> Hello Tracy, You should consider using a Loading stack. This would mean that you would have 2 stacks. The first one loads the second one. And the first one could be built into any format, ensuring that the second one stays the same. So in other words. |---------------| |--------------| | Loading Stack | -(opens)-> | Main Stack | |---------------| |--------------| (Standalone) Derek Bump Dreamscape Software http://www.dreamscapesoftware.com Tracy Riegle wrote: > > Hi All, > > I'm new to this list, so please forgive me if I ask a question that > has already been answered (although I searched the archive > and couldn't find an answer). > > I'm using Rev 2.8.1 build 472. I have a stack with about two dozen > cards, with each card having a large image on it, and several other > controls (some of which are shared among all card). > > The project runs find within the IDE. If I build a Standalone for a > Mac, it also runs just fine. If I build a Standalone for Windows > it crashed with: > > NAME 1.0.0.0 for Windows has encountered a problem and needs to close. > > I get NO other windows at all, just this small error pop-up, like > it isn't even trying to start. > > I tried building for Windows from a Mac and Win XP machine. > I tried commenting ALL the startup scripts so NO code script gets > executed at startup. It still crashes. > > I tried deleting cards to see if I had a bad image on an offending card. > The only way I finally got it to run was if I delete over 1/2 the cards > and get the stack size down from about 6 Meg to less than 3 Meg > (it makes NO difference which cards I delete to decrease the size). > > Once I got the stack down to less than 3 Megs, then the Standalone > runs on Windows??? > > Does anyone have any ideas as to what might be going wrong? > > Thanks in advance. > > -Tracy > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From tracy at pacyber.com Mon Aug 6 17:50:18 2007 From: tracy at pacyber.com (Tracy Riegle) Date: Mon, 6 Aug 2007 16:50:18 -0500 Subject: Windows Exe Crashes In-Reply-To: <46B79192.5070804@dreamscapesoftware.com> References: <9b408d8e0708061051i119cabffn1a863c9d85aae424@mail.gmail.com> <46B79192.5070804@dreamscapesoftware.com> Message-ID: <42807A39-B98F-433B-BC21-942FE962F338@pacyber.com> Actually, I tried that and it worked. But here are my questions to that approach. Does the "main" stack NOT get compiled? Will my "main" stack now be available in its source format (I don't want the source to be available to the public)? Thanks for the help. -Tracy On Aug 6, 2007, at Monday, 2007/06/0816:24, Derek Bump wrote: > Hello Tracy, > > You should consider using a Loading stack. > > This would mean that you would have 2 stacks. The first one loads the > second one. And the first one could be built into any format, > ensuring > that the second one stays the same. > > > So in other words. > > |---------------| |--------------| > | Loading Stack | -(opens)-> | Main Stack | > |---------------| |--------------| > (Standalone) > > > Derek Bump > Dreamscape Software > http://www.dreamscapesoftware.com > > > Tracy Riegle wrote: >> >> Hi All, >> >> I'm new to this list, so please forgive me if I ask a question that >> has already been answered (although I searched the archive >> and couldn't find an answer). >> >> I'm using Rev 2.8.1 build 472. I have a stack with about two dozen >> cards, with each card having a large image on it, and several other >> controls (some of which are shared among all card). >> >> The project runs find within the IDE. If I build a Standalone for a >> Mac, it also runs just fine. If I build a Standalone for Windows >> it crashed with: >> >> NAME 1.0.0.0 for Windows has encountered a problem and needs to >> close. >> >> I get NO other windows at all, just this small error pop-up, like >> it isn't even trying to start. >> >> I tried building for Windows from a Mac and Win XP machine. >> I tried commenting ALL the startup scripts so NO code script gets >> executed at startup. It still crashes. >> >> I tried deleting cards to see if I had a bad image on an offending >> card. >> The only way I finally got it to run was if I delete over 1/2 the >> cards >> and get the stack size down from about 6 Meg to less than 3 Meg >> (it makes NO difference which cards I delete to decrease the size). >> >> Once I got the stack down to less than 3 Megs, then the Standalone >> runs on Windows??? >> >> Does anyone have any ideas as to what might be going wrong? >> >> Thanks in advance. >> >> -Tracy >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 bridgeyman at gmail.com Mon Aug 6 18:05:40 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Mon, 6 Aug 2007 16:05:40 -0600 Subject: Windows Exe Crashes In-Reply-To: <42807A39-B98F-433B-BC21-942FE962F338@pacyber.com> References: <9b408d8e0708061051i119cabffn1a863c9d85aae424@mail.gmail.com> <46B79192.5070804@dreamscapesoftware.com> <42807A39-B98F-433B-BC21-942FE962F338@pacyber.com> Message-ID: <86ae76bb0708061505n51908572o57045a47a48e7c65@mail.gmail.com> Actually, even the stack that gets compiled into a .exe still has its source available. If you drag the executable to a text editor and scroll through all of the garbage, you can find all of your scripts in plain text. Compiling a stack is essentially attaching the Revolution engine to a stack. You can encrypt your stacks to protect your data though. In the standalone application settings, under the "Stacks" tab and at the bottom-right, you can put a password on your stacks. TTFN Bridger Maxwell www.FieryFerret.com On 8/6/07, Tracy Riegle wrote: > > > Actually, I tried that and it worked. But here are my questions to that > approach. Does the "main" stack NOT get compiled? Will my "main" > stack now be available in its source format (I don't want the source to > be available to the public)? > > Thanks for the help. > > -Tracy > > > On Aug 6, 2007, at Monday, 2007/06/0816:24, Derek Bump wrote: > > > Hello Tracy, > > > > You should consider using a Loading stack. > > > > This would mean that you would have 2 stacks. The first one loads the > > second one. And the first one could be built into any format, > > ensuring > > that the second one stays the same. > > > > > > So in other words. > > > > |---------------| |--------------| > > | Loading Stack | -(opens)-> | Main Stack | > > |---------------| |--------------| > > (Standalone) > > > > > > Derek Bump > > Dreamscape Software > > http://www.dreamscapesoftware.com > > > > > > Tracy Riegle wrote: > >> > >> Hi All, > >> > >> I'm new to this list, so please forgive me if I ask a question that > >> has already been answered (although I searched the archive > >> and couldn't find an answer). > >> > >> I'm using Rev 2.8.1 build 472. I have a stack with about two dozen > >> cards, with each card having a large image on it, and several other > >> controls (some of which are shared among all card). > >> > >> The project runs find within the IDE. If I build a Standalone for a > >> Mac, it also runs just fine. If I build a Standalone for Windows > >> it crashed with: > >> > >> NAME 1.0.0.0 for Windows has encountered a problem and needs to > >> close. > >> > >> I get NO other windows at all, just this small error pop-up, like > >> it isn't even trying to start. > >> > >> I tried building for Windows from a Mac and Win XP machine. > >> I tried commenting ALL the startup scripts so NO code script gets > >> executed at startup. It still crashes. > >> > >> I tried deleting cards to see if I had a bad image on an offending > >> card. > >> The only way I finally got it to run was if I delete over 1/2 the > >> cards > >> and get the stack size down from about 6 Meg to less than 3 Meg > >> (it makes NO difference which cards I delete to decrease the size). > >> > >> Once I got the stack down to less than 3 Megs, then the Standalone > >> runs on Windows??? > >> > >> Does anyone have any ideas as to what might be going wrong? > >> > >> Thanks in advance. > >> > >> -Tracy > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution 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 robmann at gp-racing.com Mon Aug 6 18:32:57 2007 From: robmann at gp-racing.com (Robert Mann) Date: Mon, 6 Aug 2007 18:32:57 -0400 Subject: Rev CGI Post In-Reply-To: <7c87a2a10708060738r519a33b4r583bc855ff89d547@mail.gmail.com> Message-ID: Any info on how this is done? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Andre Garzia Sent: Monday, August 06, 2007 10:38 AM To: How to use Revolution Subject: Re: Rev CGI Post Friends, If you guys are using CGIs for that, usually you can use shell() to call cURL or wget. I think it's a nice way to talk with PayPal IPN Cheers andre From mark at maseurope.net Mon Aug 6 18:51:33 2007 From: mark at maseurope.net (Mark Smith) Date: Mon, 6 Aug 2007 23:51:33 +0100 Subject: Rev CGI Post In-Reply-To: References: Message-ID: An example of POSTing with curl: function curlPost pData, pURL put the tempName into tFile put urlEncode(pData) into URL ("binfile:" & tFile) put "curl -s --data-binary @" & tFile && pURL into tCurlString put shell(tCurlString) into tResponse delete file tFile return tResponse end curlPost Note that it's easier (I find) to put your post data into a file rather than try to pass it to the shell directly. For more info on using curl : http://curl.haxx.se/docs/manpage.html, or type "man curl" in a terminal window (on mac OS X) Best, Mark On 6 Aug 2007, at 23:32, Robert Mann wrote: > Any info on how this is done? > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Andre > Garzia > Sent: Monday, August 06, 2007 10:38 AM > To: How to use Revolution > Subject: Re: Rev CGI Post > > Friends, > If you guys are using CGIs for that, usually you can use shell() to > call > cURL or wget. I think it's a nice way to talk with PayPal IPN > > 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 tsj at unimelb.edu.au Mon Aug 6 19:32:03 2007 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 07 Aug 2007 09:32:03 +1000 Subject: Inserting images as BLOBs - any way to avoid using base64encode? In-Reply-To: Message-ID: Thanks Andre - I've used that sort of approach in the past but the guys providing the content on this project are very protective of their stuff (images) and a 'real' database seems the best option. Regards, Terry... > Terry, > why not keeping the images as external files and putting a field in the > database with the file path? this would lead to databases with less chunk in > it since to use the images you'd have to output them to files anyway. > > something like this: > > Hard Drive Image ID Table > My Database > myImage.jpg <---------> Record that match id to file <------------------> > field image_id > > This is a simple solution where you use a intermediary table to match id's > with files, this way if you change a file name or path, you just need to > update one table entry and not all your database entries that deal with that > file. This makes easy to "reconnect" lost media files if things move around > in the Hard Drive. > > I would not put media files inside SQL Databases. > > Best > Andre > -- Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 From tsj at unimelb.edu.au Mon Aug 6 19:38:02 2007 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 07 Aug 2007 09:38:02 +1000 Subject: Inserting images as BLOBs - any way to avoid using base64encode? In-Reply-To: Message-ID: Hi Jan - I'm already doing something along these lines except with the base64encode/decode routines thrown in. Getting the image into the database without encoding seems? to work ok but when I pull it out I can only get hold of the first few characters, typically something like '?PNG' and a couple of returns. Regards, Terry... > Hi Terry, > > You can try and use the "query with placeholder" style > to push binary data into the database: > ## > put URL("binfile:" & tFilePath) into tBinaryData > put "INSERT INTO images (:1, :2)" into tQuery > revExecuteSQL gConnection, tQuery, "tFilePath", "*b" & > tBinaryData > put the result into tResult > if char 1 to 8 of tResult is "revdberr" then > answer error tResult > else > -- insert succeeded > end if > ## > > If the images are large, you'll want to use the > revQueryDatabaseBLOB function to get the data out as a > cursor. Then you can use the function > 'revDatabaseColumnNamed' to extract the binary data. > ## > put "SELECT * FROM images" into tQuery > put revDatabaseQueryBLOB(gConnection, tQuery) into > tCursor > if tCursor is not a number then > answer error tCursor > else > put revDatabaseColumnNamed(tCursor,"binData") into > tBinData > -- do what you need to do > -- ... > -- clean up the cursor afterwards! > revCloseCursor tCursor > end if > ## > > Base64Encoding is great if you have to move stuff > accross platforms and technologies; but the above may > do the trick for you. > > Hope this helped, > > Jan Schenkel. > -- Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 From devin_asay at byu.edu Mon Aug 6 20:04:55 2007 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 6 Aug 2007 18:04:55 -0600 Subject: Inserting images as BLOBs - any way to avoid using base64encode? In-Reply-To: References: Message-ID: <4DBFD5ED-3D25-4C7A-A2CF-782167F77B74@byu.edu> On Aug 6, 2007, at 5:38 PM, Terry Judd wrote: > Hi Jan - I'm already doing something along these lines except with the > base64encode/decode routines thrown in. Getting the image into the > database > without encoding seems? to work ok but when I pull it out I can > only get > hold of the first few characters, typically something like '?PNG' > and a > couple of returns. Terry, I just had a very similar problem that I finally solved after much hair pulling. Maybe what I discovered will be of use to you. I was trying to download audio files (MP3) from a database, and used the approach that Jan outlined. But oddly enough, one of my revDatabaseColumnNamed function calls would always fail, while another, almost identical one, worked. I would get data very similar to what you are describing--four characters and nothing else. I finally discovered that the function fails consistently, *unless* you access the contents of the variable later. So I was doing something like this: (watch for line wraps) ## put "SELECT audio1,audio2 FROM my_db" into tQuery put revDatabaseQueryBLOB(gConnection, tQuery) into tCursor if tCursor is not a number then answer error tCursor else put revDatabaseColumnNamed(tCursor,"audio1","tBinData1") put revDatabaseColumnNamed(tCursor,"audio2","tBinData2") ## then, a few lines later... put tBinData1 into ("binfile:" & specialFolderPath("Temporary") & "/myfile1.mp3" put tAnotherVariable into ("binfile:" & specialFolderPath ("Temporary") & "/myfile2.mp3" revCloseCursor tCursor end if ## In other words, I inadvertently was using the incorrect variable when trying to save out the audio2 data. It was only after I noticed that and changed tAnotherVariable to tBinData2 that the revDatabaseColumnNamed function began to work properly. The lesson I took from this--and maybe it's the wrong one--is that when using revDatabaseColumnNamed to retrieve binary data from a query cursor, the variable you're loading it into *must* be accessed later in another statement, otherwise the download fails. It's almost like the variable doesn't become a valid variable unless it's accessed later. HTH Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From mark at maseurope.net Mon Aug 6 20:32:02 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 7 Aug 2007 01:32:02 +0100 Subject: Unicode filenames Message-ID: <25EC53F9-F9D0-4371-AC60-6107B2088898@maseurope.net> Has anyone found any kind of workaround for using unicode in filenames (bug 2646)? Applescript, shell, cross-platform? Anything at all? Best, Mark From mwieder at ahsoftware.net Mon Aug 6 21:06:24 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 6 Aug 2007 18:06:24 -0700 Subject: Inserting images as BLOBs - any way to avoid using base64encode? References: <4DBFD5ED-3D25-4C7A-A2CF-782167F77B74@byu.edu> Message-ID: Devin- > the variable you're loading it into *must* be accessed later in another > statement, otherwise the download fails. It's almost like the variable > doesn't become a valid variable unless it's accessed later. ...and if you (ahem) declare your local variables you'll find that it accomplishes the same purpose. And then the why of it all isn't quite so mystifying... -- Mark Wieder mwieder at ahsoftware.net From bridgeyman at gmail.com Mon Aug 6 21:53:28 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Mon, 6 Aug 2007 19:53:28 -0600 Subject: SQL Access with Rev CGI In-Reply-To: <86ae76bb0708061315r5673583dr171bf729ab5f931a@mail.gmail.com> References: <86ae76bb0708061315r5673583dr171bf729ab5f931a@mail.gmail.com> Message-ID: <86ae76bb0708061853t1040fcb4q3bd6d2d5294c67ea@mail.gmail.com> Hey, Again, somehow asking the question allows me to see the answer. Funny how that happens. I thought I would share what works, in case someone else runs into the same problem. First of all, my Linux CGI engine is version 2.6.6, which I got off of the runrev ftp site. The mysql driver I am using is from the 2.6.1 distribution of Revolution found in the installation folder /components/global environment/database_drivers/Linux/dbmysql.so. This driver is about 32 kb, in case you would like to check it against the driver you have. Although I played around with different engine and driver versions, this was not my main problem. The problem was due to a simple, yet undocumented (as far as I could find) quirk. When using the revOpenDatabase() function, if the database type is spelled "mySQL" then the database driver name must be "dbmySQL.so", including the correct case. That is where I was caught. TTFN Bridger Maxwell On 8/6/07, Bridger Maxwell wrote: > > Hey, > I have just got a Rev CGI set up on my Dreamhost server, and I would > like it to access my SQL database. I have been searching around the list > archive, and it seems like it is possible, but I can't figure it out. Is > there a driver I need to download? Where can I get that driver? Whenever I > execute revdb_connect, it returns "revdberr,invalid database type." I am > running the linux engine version 2.6.6. > > TTFN > Bridger Maxwell > From tsj at unimelb.edu.au Mon Aug 6 22:16:29 2007 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 07 Aug 2007 12:16:29 +1000 Subject: Inserting images as BLOBs - any way to avoid using base64encode? In-Reply-To: <20070807015332.B6D8048901B@mail.runrev.com> Message-ID: Another good case for declaring local variables I guess. It all works 'as advertised' now. Thanks Devin, Mark, Jan (and various contributors to the list archives). Cheers, Terry... > Devin- > >> the variable you're loading it into *must* be accessed later in another >> statement, otherwise the download fails. It's almost like the variable >> doesn't become a valid variable unless it's accessed later. > > ...and if you (ahem) declare your local variables you'll find that it > accomplishes the same purpose. And then the why of it all isn't quite so > mystifying... > > -- > Mark Wieder > mwieder at ahsoftware.net From sunshine at public.kherson.ua Tue Aug 7 00:46:58 2007 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue, 07 Aug 2007 07:46:58 +0300 Subject: Inserting images as BLOBs - any way to avoid using base64encode? In-Reply-To: <7c87a2a10708061046s23e36d59j2e4629896e6008ac@mail.gmail.com> Message-ID: On 6/8/07 8:46 PM, "Andre Garzia" wrote: Hi Andre, Hi Terry, 1) If DBMS is REALLY fine to work with BLOBs then no need use any encodings. The fact you need use encoding (i.e. Convert it into TEXT form), says that DB cannot keep true BLOBs. I believe that e.g. Valentina and mySQL do not require encodings. 2) Andre, as you know we have "Valentina for Director", and developers of Director ARE the most heavy users of MEDIA contents. So we see that really some of them keep movies, pictures in separate folder, but some developers choose Valentina EXACTLY BECAUSE it is able effectively store BLOBs inside of DB files, and even COMPRESS and ENCRYPT them. Encryption is important for developers who sale CD/DVD with commercial content. > Terry, > why not keeping the images as external files and putting a field in the > database with the file path? this would lead to databases with less chunk in > it since to use the images you'd have to output them to files anyway. > > something like this: > > Hard Drive Image ID Table > My Database > myImage.jpg <---------> Record that match id to file <------------------> > field image_id > > This is a simple solution where you use a intermediary table to match id's > with files, this way if you change a file name or path, you just need to > update one table entry and not all your database entries that deal with that > file. This makes easy to "reconnect" lost media files if things move around > in the Hard Drive. > > I would not put media files inside SQL Databases. > > Best > andre > > On 8/5/07, Terry Judd wrote: >> >> Hi - I'm about to use SQLite to store all the resources for a large ed >> application I'm about to start building and was wondering whether there >> was >> any way to get images into and out of the database without having to >> base64encode/decode them. It looks like the encoding process adds about >> 30% >> to the file size, which for this project could add an extra 100 MB or more >> to the database file. -- 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 Tue Aug 7 00:48:15 2007 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue, 07 Aug 2007 07:48:15 +0300 Subject: Inserting images as BLOBs - any way to avoid using base64encode? In-Reply-To: Message-ID: On 7/8/07 2:32 AM, "Terry Judd" wrote: Hi Terry, > Thanks Andre - I've used that sort of approach in the past but the guys > providing the content on this project are very protective of their stuff > (images) and a 'real' database seems the best option. Aha, so this is exactly the case of PROTECTED CONTENT. Terry, then try take a look on Valentina because it allow you even ENCRYPT your data. -- 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 brentj84062 at gmail.com Tue Aug 7 01:31:52 2007 From: brentj84062 at gmail.com (Brent Anderson) Date: Mon, 6 Aug 2007 23:31:52 -0600 Subject: Rev CGI Post In-Reply-To: References: Message-ID: <5002919D-0900-49DD-A4E3-8C587F2A1C1C@gmail.com> The basic command would be built somewhat like... get shell("wget http://mysite.com/cgi-bin/somescript? param1=Foo¶m2=Bar") Look up the documentation for wget or cURL for the myriad of options. Thanks, Brent Anderson Fiery Ferret www.fieryferret.com From katheryn.swynford at gmail.com Tue Aug 7 02:58:43 2007 From: katheryn.swynford at gmail.com (Judy Perry) Date: Mon, 6 Aug 2007 23:58:43 -0700 Subject: Revcon Las Vegas In-Reply-To: <4612AC8D.9080505@fourthworld.com> References: <4612AC8D.9080505@fourthworld.com> Message-ID: <4be051070708062358l48c56026oe24cb7927ca2729@mail.gmail.com> Richard, you are always echoing my thoughts in this regard! I remember when the old highway did NOT wind through red rock canyon, and instead wound through every little podunk town all the way up to Salt Lake City (where I was born and where my parents were born). Also -- Las Vegas is a short drive from Zion National Monument -- also very beautiful. Still, I shall miss Monterey. Even the Monterey in California as opposed to Mexico (where my last RevConWest hotel arrangements were made). Judy On 4/3/07, Richard Gaskin wrote: > Stephen Barncard wrote: > > Am I the only one that is not looking forward to a Revcon in Las Vegas? > > I personally don't like the glitz and the crowds... > > Vegas isn't my first choice either, but it has one thing going for it -- > it's a short drive from Red Rock Canyon, nearly 200,000 acres of > desert wilderness: > > > > > Mark Weider, Tariel Gogoberidze, and others have expressed an interest > in a desert campout following the conference. > > So in keeping with the tradition of making Yahoo groups for every little > thing, I've made a new group for planning this adventure: > > > > The group is open to anyone interested in attending. > > If you love the desert and can deal with sub-freezing desert nights, > this should be a good time. > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From viktoras at ekoinf.net Tue Aug 7 03:10:06 2007 From: viktoras at ekoinf.net (viktoras didziulis) Date: Tue, 07 Aug 2007 10:10:06 +0300 Subject: Inserting images as BLOBs - any way to avoid using base64encode? In-Reply-To: References: Message-ID: <46B81ACE.7060606@ekoinf.net> Hi Terry, it is too easy to extract images from sqlite database unless they are encrypted somehow. So if you simply store them in the database as blobs, they wont be protected from stealing. Alternative way to go is to store images in an encrypted stack as custom properties (instead of using a folder) and store names of these properties in the database. Viktoras Terry Judd wrote: > Thanks Andre - I've used that sort of approach in the past but the guys > providing the content on this project are very protective of their stuff > (images) and a 'real' database seems the best option. > > Regards, > > Terry... > > >> Terry, >> why not keeping the images as external files and putting a field in the >> database with the file path? this would lead to databases with less chunk in >> it since to use the images you'd have to output them to files anyway. >> >> something like this: >> >> Hard Drive Image ID Table >> My Database >> myImage.jpg <---------> Record that match id to file <------------------> >> field image_id >> >> This is a simple solution where you use a intermediary table to match id's >> with files, this way if you change a file name or path, you just need to >> update one table entry and not all your database entries that deal with that >> file. This makes easy to "reconnect" lost media files if things move around >> in the Hard Drive. >> >> I would not put media files inside SQL Databases. >> >> Best >> Andre >> >> > > From scott at elementarysoftware.com Tue Aug 7 03:33:57 2007 From: scott at elementarysoftware.com (Scott Morrow) Date: Tue, 7 Aug 2007 00:33:57 -0700 Subject: double-clicking a document Message-ID: <4CEC91D4-9CBA-418F-A309-FF4630E004DB@elementarysoftware.com> When double clicking a document in WinXP my app launches and the environment variables contain the correct path but, does the OS (or rev) do anything else with the $1 path information? revLoadedStacks (all) list the document stack as loaded into memory but I'm pretty sure that I didn't do it through scripting. I was under the impression I would have to open the files myself using the paths in the environment variables. I can't see any place that I could be loading the stack in my script. Could someone confirm that this automatic loading is expected and that I shouldn't keep looking for where I'm loading it in a script? Also Is there any reason why delete stack (the longFilePath of $1) would cause a problem ? I seem to be exiting any script that tries this in a standalone Thanks! -Scott Morrow From m.schonewille at economy-x-talk.com Tue Aug 7 03:51:06 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 7 Aug 2007 09:51:06 +0200 Subject: double-clicking a document In-Reply-To: <4CEC91D4-9CBA-418F-A309-FF4630E004DB@elementarysoftware.com> References: <4CEC91D4-9CBA-418F-A309-FF4630E004DB@elementarysoftware.com> Message-ID: <3E069AC8-7F88-4E42-B2DF-14EA2CED827B@economy-x-talk.com> Hi Scott, When you double-click a stack, even if it has a different file extension, your standalone opens it just like Revolution opens a stack when you double-click a file with file extension "rev". As far as I know, you don't need to do this with a script. According to the docs, you can delete a stack using any stack reference. This implies that the longfilepath of $1 would work, but why do you use longfilepath and not simply $1? Probable using the short name of the stack is more reliable. You may have found a Revolution bug. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 7-aug-2007, om 9:33 heeft Scott Morrow het volgende geschreven: > When double clicking a document in WinXP my app launches and the > environment variables contain the correct path but, does the OS (or > rev) do anything else with the $1 path information? > revLoadedStacks(all) list the document stack as loaded into memory > but I'm pretty sure that I didn't do it through scripting. I was > under the impression I would have to open the files myself using > the paths in the environment variables. I can't see any place that > I could be loading the stack in my script. Could someone confirm > that this automatic loading is expected and that I shouldn't keep > looking for where I'm loading it in a script? > > Also > > Is there any reason why > delete stack (the longFilePath of $1) > would cause a problem ? I seem to be exiting any script that tries > this in a standalone > > Thanks! > > -Scott Morrow From lan.kc.macmail at gmail.com Tue Aug 7 04:33:34 2007 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 7 Aug 2007 16:33:34 +0800 Subject: [DOCs] Split and Combine - a Scripting Challenge? Message-ID: OK, let's just say I'm a sceptic. Not a full card carrying member of Sceptics Dot Org, but enough to annoy my wife;-) For reason that may become apparent in a couple of days, I'm looking at the Rev Docs and notice that for the itemDelimiter I can use "a single character". Although it doesn't say it specifically, it would imply a numToChar up to 255. Interestingly, although you get the error: 'Error description: Chunk: source is not a number' if you try to: set the itemDelimiter to "kk" You DON'T get an error if you try set the itemDelimiter to numToChar(666) [assuming you've NOT set useUnicode to true] The catch is that it doesn't actually set the itemDelimiter to a numToChar greater than 255, but sets it to the 'first' char of the two byte char. This can be mathematically calculated by subtracting, 256,512,1024, etc until it gets below 256, in the above case it would be charToNum(154). This is easy to demonstrate by pasting the following into the msg box: set the itemDelimiter to numToChar(666) put charToNum(the itemDelimiter) into msg Substitute any number for 666, even if it's a number beyond the 65535 normal unicode limit, Rev still sets it to a char below 256. Interestingly, if you do 'set the useUnicode to true' then you will end up with an error message. But that is not the reason for this ramble. No the reason for this ramble is that the Rev Docs say that for Split and Combine the character used must be in the ASCII range, 1 to 127; and that's what I've been working on for ages. But the sceptic in me just wanted to see what happens if I do use something outside that range. My initial 'crude manual' tests indicated that there was actually no problem with Split or Combine using a character up to 255. So I set about writing a more robust 'automatic' test. Here's what I came up with: [commented numbers are explained below] ------------------------------------- repeat with x = 128 to 255 --1 set the itemDelimiter to numToChar(x) --2 repeat with y = 1 to 100 repeat with z = 1 to 5 put numToChar(x-y-z) into char z of item y of tStartList end repeat end repeat put tStartList into tArray --3 split tArray by itemDelimiter --4 repeat with y = 1 to 100 put tArray[y] into item y of tEndList end repeat --5 if (tEndList <> tStartList) then answer "Split failed with char: " & numToChar(x) titled "Failed" put tEndList & cr & tStartList into msg exit to top else --put tEndList & cr & tStartList & cr into msg end if --6 combine tArray by itemDelimiter --7 repeat for each item tItem in tArray if (tItem is not among the items of tStartList) then answer "Combine failed with char: " & numToChar(x) titled "Failed" put tItem & " is not amoung " & tStartList into msg exit to top else --put tItem & "combine checks OK" & into msg end if end repeat end repeat --8 put "Everything Checked OK!" into msg ------------------------------------- --1 Set the itemDelimiter to a char greater than 127 --2 create a 100 item list. Initially each item was a single character, and to ensure no conflict with the itemDelimiter char, was simply x-y Just for the sake of it I then decided to make the items 5 char 'words', so added the x-y-z repeat loop. As a matter of interest, the x-y version runs in a blink of the eye, the x-y-z version takes a second or two. --3 create an array with Split using a character above 127 --4 Because Combine doesn't build a list in any specific order, rebuild the list in the exact order it was created. --5 Compare the StartList with the EndList and if they are not the same pop up a dialog. If you 'uncomment' the put line you can watch the script run, but it adds significantly to the time taken to complete. --6 Now Combine the array, again using a char outside the allowed range. --7 A simple check, if each item in the new list is in StartList. Again report if it isn't and again, if you uncomment the put line you can watch the script run and add much much more time to the running of the script. --8 If it gets to here then what came Out must be what went In so using a char from 128 to 255 doesn't seem to cause an error. Anyone like to point out the error in my logic? Or write a more robust test that supports the limit in the Docs? This was tested on an Intel Mac, OSX 10.4.9, Rev 2.8.1 build 472 NOTE: I'm NOT advocating the use of chars above 127 for Split or Combine!! This is purely for the 'enjoyment' of developing a script that tests a multitude of cases to see if an error occurs:-) From effendi at wanadoo.fr Tue Aug 7 07:07:05 2007 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Tue, 7 Aug 2007 13:07:05 +0200 Subject: Keeping up with the Jones' Message-ID: Hi, It is August in Paris, and the city has emptied somewhat. The whole family, and most of my friends are on holiday. I am (nearly !) alone in Paris, to finally find the time to modernize my folder structure, scratch my obsolete files, backup my precious data one more time, and finish "Converting" ........... "Keeping up with the Jones'" is an old saying, but in computing, it is even more true. Maybe we should have a variant "Keeping up with your System" ! Things have been moving so fast in the Mac world over the past few years. I have spent the last few years on my Macs, trying to move into the 21st century. I used Hypercard for 15 years, WriteNow (Word Processor) for 10 years (nice program, bad decision !), MacDraw for more years than I can remember, and so on ......... !. One day, I woke up to find myself in deep ****. Mac OS Version 9 (Classic) was crumbling to dust under my feet, and I had to move forward. I had literally thousands of data files which would soon become unusable. I cling desperately to "Classic", but I feel it slipping from my grasp ..... I took stock of what was on the market, and realized that I had to make some judicious decisions. I moved to Microsoft Word. I hate the program, but it will still be around when we land on Mars in 2050 ! I spent months converting my text files to Word (10 files a day - EVERY day !) I moved from Hypercard to Revolution nearly three years ago - one of the best decisions I have ever made. Having literally hundreds of HC stacks, and using HC every day, was part of my life. I have spent nearly 2 years converting and improving my best stacks, and writing stacks I couldn't have done with HC ! And more important, Revolution is not only useful, it's FUN ! I bought a little program called VINC, a batch converter program for converting files of various formats. I bought EazyDraw, which solved my problem of the myriad MacDraw files I have on disk, including enormous Family Tree diagrams. I have converted the most important MacDraw files, but I know now that I can read MacDraw files into the future. I (finally) paid for GraphicConverter, the best value for money that I EVER found in a shareware program. I REALLY felt bad about using that program every day, and not shelling out a lousy $19.95 to Mr. Lemke. I hope you understand that I don't get a kick-back from any of the software authors for the utilities I mention here ! I run a Mac G4 (Sigh - I still have some files tied to OS 9 Classic !), side by side with a beautiful G5 Intel Core Duo. Thankfully, Apple did the right thing in 10.4 by modifying TextEdit so that you can do basic updates to Word (.doc and .rtf) files. Good decision, 'cos I can't afford to shell out the money for an OS 10.4 version of Microsoft Office. VINC comes in handy here to do batch conversions. Strangely enough, my biggest problem was sloppy file naming conventions for more than ten years. I got into a nasty habit (when I thought I was being so clever !) of giving my data files such names as "2001/06/25-Letter". Now that slashes are verboten (especially if you try to copy the files), I had to write a Revolution stack to rename all the files on my computer that had forbidden characters. The future is beginning to look better. I use my G5 more and more, and my G4 less and less - which is the whole object of the game. However, August looks like a very heavy month. I hope I get time to finish my conversions before "THEY" all come home. I am on the last lap ........... and I think that I've finally made it to the 21st century ! If you had conversion problems such as mine, and you found your own solutions, maybe some of us would like to know about them ............... ! -Francis "Nothing should ever be done for the first time !" From tsj at unimelb.edu.au Tue Aug 7 07:20:09 2007 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 07 Aug 2007 21:20:09 +1000 Subject: Inserting images as BLOBs - any way to avoid using base64encode? In-Reply-To: Message-ID: Hi Ruslan - I'll certainly take a look at Valentina - I've recently heard good things about it from a couple of developers I know. But I'm a sucker for robust open source/public domain products like SQLite and I have to say, apart from the password protection issue it's really easy to use. Regards, Terry... > Hi Terry, > >> Thanks Andre - I've used that sort of approach in the past but the guys >> providing the content on this project are very protective of their stuff >> (images) and a 'real' database seems the best option. > > Aha, so this is exactly the case of PROTECTED CONTENT. > > Terry, then try take a look on Valentina because it allow you even ENCRYPT > your data. > -- Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 From tsj at unimelb.edu.au Tue Aug 7 07:20:11 2007 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 07 Aug 2007 21:20:11 +1000 Subject: Inserting images as BLOBs - any way to avoid using base64encode? In-Reply-To: Message-ID: Hi Viktoras - the problem with storing images in a stack is that you have to read the entire stack into memory even if you only access one image (whether it's in a custom property or not). I've your suggested approach before but with each image having its own stack to get around the memory issue - I don't want to go down that path this time though. Regards, Terry... > Hi Terry, > > it is too easy to extract images from sqlite database unless they are > encrypted somehow. So if you simply store them in the database as blobs, > they wont be protected from stealing. Alternative way to go is to store > images in an encrypted stack as custom properties (instead of using a > folder) and store names of these properties in the database. > > Viktoras > > Terry Judd wrote: >> Thanks Andre - I've used that sort of approach in the past but the guys >> providing the content on this project are very protective of their stuff >> (images) and a 'real' database seems the best option. >> >> Regards, >> >> Terry... > -- Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 From index at kenjikojima.com Tue Aug 7 07:34:44 2007 From: index at kenjikojima.com (Kenji Kojima) Date: Tue, 07 Aug 2007 07:34:44 -0400 Subject: Unicode filenames In-Reply-To: <25EC53F9-F9D0-4371-AC60-6107B2088898@maseurope.net> References: <25EC53F9-F9D0-4371-AC60-6107B2088898@maseurope.net> Message-ID: <9C6CED77-CDE8-48F9-916C-33F6120A035B@kenjikojima.com> Mark, It works in Japanese file names on MacOSX. put "cd ~/Desktop" &cr & "ls -v" into tScript set the unicodeText of fld 1 to uniEncode(shell(tScript) , utf8) -- Kenji Kojima http://www.kenjikojima.com/ On Aug 6, 2007, at 8:32 PM, Mark Smith wrote: > Has anyone found any kind of workaround for using unicode in > filenames (bug 2646)? Applescript, shell, cross-platform? Anything > at all? > > Best, > > 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 mikeythek at gmail.com Tue Aug 7 09:36:37 2007 From: mikeythek at gmail.com (Mikey) Date: Tue, 7 Aug 2007 09:36:37 -0400 Subject: Substacks vs. Backgrounds Message-ID: <9b408d8e0708070636s4caa7672r1339e9350c43aa3c@mail.gmail.com> I've run into what might be a bug in the way that groups are represented as backgrounds (or maybe not), but this brings up an interesting question - groups/backgrounds or substacks? Do we have a preference? Other than some minor semantics in the scripts, is there any compelling reason to go one way or the other? From klaus at major-k.de Tue Aug 7 10:01:48 2007 From: klaus at major-k.de (Klaus Major) Date: Tue, 7 Aug 2007 16:01:48 +0200 Subject: Substacks vs. Backgrounds In-Reply-To: <9b408d8e0708070636s4caa7672r1339e9350c43aa3c@mail.gmail.com> References: <9b408d8e0708070636s4caa7672r1339e9350c43aa3c@mail.gmail.com> Message-ID: Hi Mikey, > I've run into what might be a bug in the way that groups are > represented as backgrounds (or maybe not), but this brings up an > interesting question - groups/backgrounds or substacks? Do we have a > preference? Other than some minor semantics in the scripts, is there > any compelling reason to go one way or the other? ????? Sorry, I actually don't get the point. To me substacks and groups/bgs are like day and night. But if you think there's no big difference, feel free to use groups/bgs instead of substacks or vice versa ;-) Regards Klaus Major klaus at major-k.de http://www.major-k.de From mark at maseurope.net Tue Aug 7 11:02:47 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 7 Aug 2007 16:02:47 +0100 Subject: Unicode filenames In-Reply-To: <9C6CED77-CDE8-48F9-916C-33F6120A035B@kenjikojima.com> References: <25EC53F9-F9D0-4371-AC60-6107B2088898@maseurope.net> <9C6CED77-CDE8-48F9-916C-33F6120A035B@kenjikojima.com> Message-ID: <65A08B72-6988-40C5-8D84-E1D25260090D@maseurope.net> Kenji - thanks! That works perfectly on my UK English OS X system. Another question... If I build a file path eg. put "~/Desktop/unicodeFoldername/ unicodeFilename" into tFile can I then write to that file (using the shell) provided I encode it as UTF-8 ie "uniDecode(uniEncode(tFile), "utf8") ? I'll try it, anyway. Thanks again, Mark On 7 Aug 2007, at 12:34, Kenji Kojima wrote: > Mark, > > It works in Japanese file names on MacOSX. > > put "cd ~/Desktop" &cr & "ls -v" into tScript > set the unicodeText of fld 1 to uniEncode(shell(tScript) , utf8) > > -- > Kenji Kojima > http://www.kenjikojima.com/ > > > From stephenREVOLUTION at barncard.com Tue Aug 7 11:07:49 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 7 Aug 2007 08:07:49 -0700 Subject: "Preload in Memory" In-Reply-To: References: <9b408d8e0708070636s4caa7672r1339e9350c43aa3c@mail.gmail.com> Message-ID: Is there a script equivalent for setting the "Preload in memory" checkbox on an image control? The tooltip says "Preload in memory". Also are there advantages/disadvantages for having this box checked/unchecked? There is nothing in the docs to tell me how or why I'd use this. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From heather at runrev.com Tue Aug 7 11:29:31 2007 From: heather at runrev.com (Heather Nagey) Date: Tue, 7 Aug 2007 16:29:31 +0100 Subject: Mac Mod competition anyone? Message-ID: Dear list members, I came across this today, and thought hmmmm I wonder if any of our esteemed community would get a kick out of entering it: http://www.macmod.com/index.php? option=com_content&task=view&id=308&Itemid=234 You are, after all, a creative bunch... cheers Heather Heather Nagey Customer Services Manager Runtime Revolution Ltd http://www.runrev.com From devin_asay at byu.edu Tue Aug 7 11:50:07 2007 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 7 Aug 2007 09:50:07 -0600 Subject: Inserting images as BLOBs - any way to avoid using base64encode? In-Reply-To: References: <4DBFD5ED-3D25-4C7A-A2CF-782167F77B74@byu.edu> Message-ID: <547F78BC-24F6-409A-8F2C-A463F18B1F06@byu.edu> On Aug 6, 2007, at 7:06 PM, Mark Wieder wrote: > Devin- > >> the variable you're loading it into *must* be accessed later in >> another >> statement, otherwise the download fails. It's almost like the >> variable >> doesn't become a valid variable unless it's accessed later. > > ...and if you (ahem) declare your local variables you'll find that it > accomplishes the same purpose. And then the why of it all isn't > quite so > mystifying... Touch?! Almost thou persuadest me to become an Explicit Variables Declarer! Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From mikeythek at gmail.com Tue Aug 7 11:58:07 2007 From: mikeythek at gmail.com (Mikey) Date: Tue, 7 Aug 2007 11:58:07 -0400 Subject: Setting MenuButton on openCard Message-ID: <9b408d8e0708070858w432cea81s99cf1e03ffc724d1@mail.gmail.com> I'm trying to use a menu button to display the name of the current card. So, I have done the following: 1) the text of the button contains the names of all cards 2) the button is a group 3) In the script for the group is the following on openCard set the menuHistory of button "menu" to the number of this card end openCard However, when I either send openCard or navigate, nothing happens visually, i.e. the option menu doesn't change its label, UNTIL I manually change it once by clicking on it. Then it works as expected. BEFORE manually changing it, the menuHistory and the label are what I would expect them to be, but the display is improper. XP/SP2, Studio 2.8.1. Mike. From kray at sonsothunder.com Tue Aug 7 12:01:38 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 7 Aug 2007 11:01:38 -0500 Subject: Substacks vs. Backgrounds In-Reply-To: <9b408d8e0708070636s4caa7672r1339e9350c43aa3c@mail.gmail.com> References: <9b408d8e0708070636s4caa7672r1339e9350c43aa3c@mail.gmail.com> Message-ID: <20070807110138459217.9cbc55e6@sonsothunder.com> On Tue, 7 Aug 2007 09:36:37 -0400, Mikey wrote: > I've run into what might be a bug in the way that groups are > represented as backgrounds (or maybe not), but this brings up an > interesting question - groups/backgrounds or substacks? Do we have a > preference? Other than some minor semantics in the scripts, is there > any compelling reason to go one way or the other? Well, to me, substacks are like regular stacks, just without a separate on-disk representation. I usually use them for secondary windows, tool palettes, dialog boxes, etc. Groups/backgrounds are for sharing objects across multiple cards in a stack, so they really aren't very much like substacks, IMHO. Can you provide more info as to how you're viewing substacks/groups and what you want to accomplish? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Tue Aug 7 12:06:07 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 7 Aug 2007 11:06:07 -0500 Subject: double-clicking a document In-Reply-To: <4CEC91D4-9CBA-418F-A309-FF4630E004DB@elementarysoftware.com> References: <4CEC91D4-9CBA-418F-A309-FF4630E004DB@elementarysoftware.com> Message-ID: <20070807110607683461.72be46b0@sonsothunder.com> On Tue, 7 Aug 2007 00:33:57 -0700, Scott Morrow wrote: > Is there any reason why > delete stack (the longFilePath of $1) > would cause a problem ? I seem to be exiting any script that tries > this in a standalone Well, it *should* work, but perhaps maybe it has to be "done": do "delete stack" && quote & (the longFilePath of $1) & quote Not sure, though... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Tue Aug 7 12:10:45 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 7 Aug 2007 11:10:45 -0500 Subject: Setting MenuButton on openCard In-Reply-To: <9b408d8e0708070858w432cea81s99cf1e03ffc724d1@mail.gmail.com> References: <9b408d8e0708070858w432cea81s99cf1e03ffc724d1@mail.gmail.com> Message-ID: <20070807111045446465.b5dbd143@sonsothunder.com> On Tue, 7 Aug 2007 11:58:07 -0400, Mikey wrote: > on openCard > set the menuHistory of button "menu" to the number of this card > end openCard > > However, when I either send openCard or navigate, nothing happens > visually, i.e. the option menu doesn't change its label, UNTIL I > manually change it once by clicking on it. Then it works as expected. > > BEFORE manually changing it, the menuHistory and the label are what I > would expect them to be, but the display is improper. The problem is that you are just changing the menuHistory, which identifies the index number of the item that should be highlighted when the men pops up. You actually need to change the label too in order to get the text you want, especially if the menuHistory is already correct. And if you have code that would be triggered in the menu button that you don't want to trigger on openCard, here's how I do it: on openCard set the label of button "menu" to (the short name of this card) lock messages set the menuHistory of button "menu" to the number of this card unlock messages end openCard Oh, and you should probably do it on "preOpenCard" instead of "openCard", otherwise the user will see the menu shift (unless that's what you want to show). Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From devin_asay at byu.edu Tue Aug 7 12:13:58 2007 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 7 Aug 2007 10:13:58 -0600 Subject: Setting MenuButton on openCard In-Reply-To: <9b408d8e0708070858w432cea81s99cf1e03ffc724d1@mail.gmail.com> References: <9b408d8e0708070858w432cea81s99cf1e03ffc724d1@mail.gmail.com> Message-ID: On Aug 7, 2007, at 9:58 AM, Mikey wrote: > I'm trying to use a menu button to display the name of the current > card. > > So, I have done the following: > 1) the text of the button contains the names of all cards > 2) the button is a group > 3) In the script for the group is the following > on openCard > set the menuHistory of button "menu" to the number of this card > end openCard > > However, when I either send openCard or navigate, nothing happens > visually, i.e. the option menu doesn't change its label, UNTIL I > manually change it once by clicking on it. Then it works as expected. > > BEFORE manually changing it, the menuHistory and the label are what I > would expect them to be, but the display is improper. Mike, This is a long-standing bug. See http://quality.runrev.com/qacenter/ show_bug.cgi?id=4595 and http://quality.runrev.com/qacenter/ show_bug.cgi?id=1097 . The workaround is to script the changing of the label as well as the menuHistory, at least the first time. Throw some votes their way if you have some. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From mikeythek at gmail.com Tue Aug 7 12:16:12 2007 From: mikeythek at gmail.com (Mikey) Date: Tue, 7 Aug 2007 12:16:12 -0400 Subject: Substacks vs. Backgrounds In-Reply-To: <20070807110138459217.9cbc55e6@sonsothunder.com> References: <9b408d8e0708070636s4caa7672r1339e9350c43aa3c@mail.gmail.com> <20070807110138459217.9cbc55e6@sonsothunder.com> Message-ID: <9b408d8e0708070916q5cbf3700lec0fd44c5d09fc21@mail.gmail.com> Ken, Granted you can use backgrounds to share objects across multiple cards, but that isn't necessary, as you know. I probably should have finished my 'dew before posting this morning. Forget the sharing of objects for the moment. For the purpose of building various dialogs/forms/etc., there doesn't appear to be any real advantage of one over the other to me, which is what brought this up in the first place after I discovered one of the problems I'm trying to figure out right now. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mikeythek at gmail.com Tue Aug 7 12:17:26 2007 From: mikeythek at gmail.com (Mikey) Date: Tue, 7 Aug 2007 12:17:26 -0400 Subject: Setting MenuButton on openCard In-Reply-To: References: <9b408d8e0708070858w432cea81s99cf1e03ffc724d1@mail.gmail.com> Message-ID: <9b408d8e0708070917g3d93c80cp620d587b4ddf8b5a@mail.gmail.com> Devin, I do, and I shall. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From stephenREVOLUTION at barncard.com Tue Aug 7 12:27:04 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 7 Aug 2007 09:27:04 -0700 Subject: Substacks vs. Backgrounds In-Reply-To: <9b408d8e0708070916q5cbf3700lec0fd44c5d09fc21@mail.gmail.com> References: <9b408d8e0708070636s4caa7672r1339e9350c43aa3c@mail.gmail.com> <20070807110138459217.9cbc55e6@sonsothunder.com> <9b408d8e0708070916q5cbf3700lec0fd44c5d09fc21@mail.gmail.com> Message-ID: Actually, backgrounds/groups can make excellent dialogs, forms or floating palettes, as long as they stay within the window bounds of the stack. They are faster loading than an equivalent stack and they can have the advantage of being on the same card, which makes addressing simpler. On the mac, the border feature on a group wil make a very attractive round rect panel for you. They can also be partially transparent. A transparent button set to the screenrect can provide modality. >Ken, >Granted you can use backgrounds to share objects across multiple >cards, but that isn't necessary, as you know. I probably should have >finished my 'dew before posting this morning. Forget the sharing of >objects for the moment. For the purpose of building various >dialogs/forms/etc., there doesn't appear to be any real advantage of >one over the other to me, which is what brought this up in the first >place after I discovered one of the problems I'm trying to figure out >right now. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From userev at canelasoftware.com Tue Aug 7 12:27:59 2007 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 7 Aug 2007 09:27:59 -0700 Subject: Revcon Las Vegas In-Reply-To: <4be051070708062358l48c56026oe24cb7927ca2729@mail.gmail.com> References: <4612AC8D.9080505@fourthworld.com> <4be051070708062358l48c56026oe24cb7927ca2729@mail.gmail.com> Message-ID: On Aug 6, 2007, at 11:58 PM, Judy Perry wrote: > Richard, you are always echoing my thoughts in this regard! > > I remember when the old highway did NOT wind through red rock canyon, > and instead wound through every little podunk town all the way up to > Salt Lake City (where I was born and where my parents were born). > > Also -- Las Vegas is a short drive from Zion National Monument -- also > very beautiful. > > Still, I shall miss Monterey. Even the Monterey in California as > opposed to Mexico (where my last RevConWest hotel arrangements were > made). > > Judy > > On 4/3/07, Richard Gaskin wrote: >> Stephen Barncard wrote: >>> Am I the only one that is not looking forward to a Revcon in Las >>> Vegas? >>> I personally don't like the glitz and the crowds... >> >> Vegas isn't my first choice either, but it has one thing going for >> it -- >> it's a short drive from Red Rock Canyon, nearly 200,000 acres of >> desert wilderness: >> >> >> >> >> Mark Weider, Tariel Gogoberidze, and others have expressed an >> interest >> in a desert campout following the conference. >> >> So in keeping with the tradition of making Yahoo groups for every >> little >> thing, I've made a new group for planning this adventure: >> >> >> >> The group is open to anyone interested in attending. >> >> If you love the desert and can deal with sub-freezing desert nights, >> this should be a good time. If anyone is interested in getting a bird's eye view of the area, I will be flying in on a Cessna 182. I would enjoy giving anyone a ride if they are willing to split the costs. I pay $110/hour and the plane holds 4 adults. That means we can get the cost down to about $28.00/person/Hobbs hour (about 50 minutes in people hours). If you are interested, let me know. If you are not so sure, maybe you will change your mind at the show. We just need to decide when to fly. Night flights are possible too. Mark Talluto -- CANELA Software http://www.canelasoftware.com From mwieder at ahsoftware.net Tue Aug 7 12:39:03 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 Aug 2007 09:39:03 -0700 Subject: Revcon Las Vegas References: <4612AC8D.9080505@fourthworld.com><4be051070708062358l48c56026oe24cb7927ca2729@mail.gmail.com> Message-ID: Mark- > If anyone is interested in getting a bird's eye view of the area, I will > be flying in on a Cessna 182. I would enjoy giving anyone a ride if they > are willing to split the costs. I pay $110/hour and the I dunno... looks pretty cramped... http://www.aero-sports.com/whplans/cessna182.html -- Mark Wieder mwieder at ahsoftware.net From JimAultWins at yahoo.com Tue Aug 7 12:53:27 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 07 Aug 2007 09:53:27 -0700 Subject: Revcon Las Vegas In-Reply-To: Message-ID: On 8/7/07 9:39 AM, "Mark Wieder" wrote: > Mark- > >> If anyone is interested in getting a bird's eye view of the area, I will >> be flying in on a Cessna 182. I would enjoy giving anyone a ride if they >> are willing to split the costs. I pay $110/hour and the > > I dunno... looks pretty cramped... > > http://www.aero-sports.com/whplans/cessna182.html Your only looking at it as "inside the plane" :-) Jim Ault Las Vegas From mwieder at ahsoftware.net Tue Aug 7 12:55:41 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 Aug 2007 09:55:41 -0700 Subject: explicit vars References: <4DBFD5ED-3D25-4C7A-A2CF-782167F77B74@byu.edu> <547F78BC-24F6-409A-8F2C-A463F18B1F06@byu.edu> Message-ID: Devin- >Touch?! Almost thou persuadest me to become an Explicit Variables >Declarer! rotfl. "Beauty itself doth of itself persuade" -Shakespeare, "Rape of Lucrece" OT: for an absolutely atrocious read, check out No Sweat Shakespeare's translations into English, as in The Tempest "translated as an easy to read, exciting teenage novel". And all apparently without tongue in cheek: http://www.nosweatshakespeare.com/modern_tempest_online.htm "It was a wild storm; the sea was running high." -- Mark Wieder mwieder at ahsoftware.net From devin_asay at byu.edu Tue Aug 7 13:08:48 2007 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 7 Aug 2007 11:08:48 -0600 Subject: explicit vars In-Reply-To: References: <4DBFD5ED-3D25-4C7A-A2CF-782167F77B74@byu.edu> <547F78BC-24F6-409A-8F2C-A463F18B1F06@byu.edu> Message-ID: On Aug 7, 2007, at 10:55 AM, Mark Wieder wrote: > Devin- > >> Touch?! Almost thou persuadest me to become an Explicit Variables >> Declarer! > > rotfl. > > "Beauty itself doth of itself persuade" > -Shakespeare, "Rape of Lucrece" > > OT: for an absolutely atrocious read, check out No Sweat Shakespeare's > translations into English, as in The Tempest "translated as an easy > to read, > exciting teenage novel". And all apparently without tongue in cheek: > > http://www.nosweatshakespeare.com/modern_tempest_online.htm > > "It was a wild storm; the sea was running high." "Suddenly a shot rang out." Devin Asay Humanities Technology and Research Support Center Brigham Young University From vokey at uleth.ca Tue Aug 7 13:15:19 2007 From: vokey at uleth.ca (John Vokey) Date: Tue, 7 Aug 2007 11:15:19 -0600 Subject: Mac Mod competition anyone? (a request) In-Reply-To: <20070807165600.4505B4890AC@mail.runrev.com> References: <20070807165600.4505B4890AC@mail.runrev.com> Message-ID: On 7-Aug-07, at 10:56 AM, Heather wrote: > Dear list members, > > I came across this today, and thought hmmmm I wonder if any of our > esteemed community would get a kick out of entering it: > > http://www.macmod.com/index.php? > option=com_content&task=view&id=308&Itemid=234 > > You are, after all, a creative bunch... > > cheers > > Heather Heather (and all the rest of you): note the line-break in the link, making a simple click impossible. Could you (and all the others on this list who persist in using long---and ultimately wrapped---links) please either a) put the link in in angle brackets, like this: , or b) goto to to generate a short url that won't need to be wrapped. -- Please avoid sending me Word or PowerPoint attachments. See -Dr. John R. Vokey From mwieder at ahsoftware.net Tue Aug 7 14:00:38 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 Aug 2007 11:00:38 -0700 Subject: Revcon Las Vegas References: Message-ID: Jim- > Your only looking at it as "inside the plane" :-) Ah... of course... silly me... -- Mark Wieder mwieder at ahsoftware.net From userev at canelasoftware.com Tue Aug 7 14:25:07 2007 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 07 Aug 2007 11:25:07 -0700 Subject: Revcon Las Vegas In-Reply-To: References: <4612AC8D.9080505@fourthworld.com><4be051070708062358l48c56026oe24cb7927ca2729@mail.gmail.com> Message-ID: <35FE960A-8C8F-4796-9C55-053BA1E1A2D0@canelasoftware.com> On Aug 7, 2007, at 9:39 AM, Mark Wieder wrote: > I dunno... looks pretty cramped... Ahh... so maybe your are considering the flight Mark. Glad to hear it. Jackie was game at the last RevCon in Monterey. Maybe she will jump in. -Mark From jacque at hyperactivesw.com Tue Aug 7 14:38:26 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 Aug 2007 13:38:26 -0500 Subject: Revcon Las Vegas In-Reply-To: <35FE960A-8C8F-4796-9C55-053BA1E1A2D0@canelasoftware.com> References: <4612AC8D.9080505@fourthworld.com><4be051070708062358l48c56026oe24cb7927ca2729@mail.gmail.com> <35FE960A-8C8F-4796-9C55-053BA1E1A2D0@canelasoftware.com> Message-ID: <46B8BC22.2080105@hyperactivesw.com> Mark Talluto wrote: > > On Aug 7, 2007, at 9:39 AM, Mark Wieder wrote: > >> I dunno... looks pretty cramped... > > > Ahh... so maybe your are considering the flight Mark. Glad to hear it. > Jackie was game at the last RevCon in Monterey. Maybe she will jump in. Sure. Sounds neat, count me in. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Aug 7 14:46:38 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 Aug 2007 13:46:38 -0500 Subject: "Preload in Memory" In-Reply-To: References: <9b408d8e0708070636s4caa7672r1339e9350c43aa3c@mail.gmail.com> Message-ID: <46B8BE0E.6030908@hyperactivesw.com> Stephen Barncard wrote: > Is there a script equivalent for setting the "Preload in memory" > checkbox on an image control? > The tooltip says "Preload in memory". It's the alwaysbuffer property. > > Also are there advantages/disadvantages for having this box > checked/unchecked? There is nothing in the docs to tell me how or why > I'd use this. Buffered objects cause the card to load slightly more slowly but performance is better when they run. This mostly affects images. Buffered images require twice as much RAM because an offscreen buffer has to be set up that is the same size as the image. If your image isn't an animated gif, you may not notice much difference. Buffered player objects allow the movie controler at the bottom to function; unbuffered players don't. Unbuffered players do allow you to create objects that sit on top of the player though, while buffered players always float on top of everything else. I think (but am not sure) that other native controls like buttons and fields, are always buffered automatically. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From userev at canelasoftware.com Tue Aug 7 15:18:14 2007 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 07 Aug 2007 12:18:14 -0700 Subject: Revcon Las Vegas In-Reply-To: <46B8BC22.2080105@hyperactivesw.com> References: <4612AC8D.9080505@fourthworld.com><4be051070708062358l48c56026oe24cb7927ca2729@mail.gmail.com> <35FE960A-8C8F-4796-9C55-053BA1E1A2D0@canelasoftware.com> <46B8BC22.2080105@hyperactivesw.com> Message-ID: On Aug 7, 2007, at 11:38 AM, J. Landman Gay wrote: > Mark Talluto wrote: >> On Aug 7, 2007, at 9:39 AM, Mark Wieder wrote: >>> I dunno... looks pretty cramped... >> Ahh... so maybe your are considering the flight Mark. Glad to >> hear it. Jackie was game at the last RevCon in Monterey. Maybe >> she will jump in. > > Sure. Sounds neat, count me in. Sounds good Jackie. It will be lots of fun. -Mark From kray at sonsothunder.com Tue Aug 7 15:22:30 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 7 Aug 2007 14:22:30 -0500 Subject: Substacks vs. Backgrounds In-Reply-To: <9b408d8e0708070916q5cbf3700lec0fd44c5d09fc21@mail.gmail.com> References: <9b408d8e0708070636s4caa7672r1339e9350c43aa3c@mail.gmail.com> <20070807110138459217.9cbc55e6@sonsothunder.com> <9b408d8e0708070916q5cbf3700lec0fd44c5d09fc21@mail.gmail.com> Message-ID: <20070807142230332352.a04d0e97@sonsothunder.com> On Tue, 7 Aug 2007 12:16:12 -0400, Mikey wrote: > Ken, > Granted you can use backgrounds to share objects across multiple > cards, but that isn't necessary, as you know. I probably should have > finished my 'dew before posting this morning. Forget the sharing of > objects for the moment. For the purpose of building various > dialogs/forms/etc., there doesn't appear to be any real advantage of > one over the other to me, which is what brought this up in the first > place after I discovered one of the problems I'm trying to figure out > right now. Ah, thanks for clarifying, Mikey. Although you can use groups to simulate dialogs, forms, etc., there are several advantages to substacks: 1) They can be made modal, and thus block access to other areas of the program - to do this with groups would take extra coding, and would only block access to the same stack on which the group appears - any other visible stacks would still be accessible (unless you do extra-*extra*-coding). 2) If you have code that takes actions based on looping through objects, etc., you'd have to "skip over" any objects used in a group, whereas you wouldn't have to if you used a substack. 3) If you need to use the same form or dialog in multiple stacks, using a substack allows you to call the same form/dialog from all places, whereas if you used a group, you'd have to copy the group to the other stack(s) you were working with. Now of course, if you're only using a single stack, and have no intentions of having other stacks in your project, then some of these items no longer apply, but you get the idea... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From mwieder at ahsoftware.net Tue Aug 7 15:32:28 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 Aug 2007 12:32:28 -0700 Subject: Revcon Las Vegas References: <4612AC8D.9080505@fourthworld.com><4be051070708062358l48c56026oe24cb7927ca2729@mail.gmail.com> <35FE960A-8C8F-4796-9C55-053BA1E1A2D0@canelasoftware.com> Message-ID: Mark- > Ahh... so maybe your are considering the flight Mark. Glad to hear it. > Jackie was game at the last RevCon in Monterey. Maybe she will jump in. ...sounds more appealing than jumping out, at any rate... -- Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Tue Aug 7 15:35:47 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 Aug 2007 12:35:47 -0700 Subject: explicit vars References: <4DBFD5ED-3D25-4C7A-A2CF-782167F77B74@byu.edu><547F78BC-24F6-409A-8F2C-A463F18B1F06@byu.edu> Message-ID: Devin- >> "It was a wild storm; the sea was running high." > "Suddenly a shot rang out." (trying really, really hard not to say) "The door slammed." -- Mark Wieder mwieder at ahsoftware.net From chipp at chipp.com Tue Aug 7 15:45:21 2007 From: chipp at chipp.com (Chipp Walters) Date: Tue, 7 Aug 2007 14:45:21 -0500 Subject: Revcon Las Vegas In-Reply-To: References: <4612AC8D.9080505@fourthworld.com> <4be051070708062358l48c56026oe24cb7927ca2729@mail.gmail.com> <35FE960A-8C8F-4796-9C55-053BA1E1A2D0@canelasoftware.com> <46B8BC22.2080105@hyperactivesw.com> Message-ID: <7aa52a210708071245na7e00b9kca4a8edc2ef5b47c@mail.gmail.com> Hey Jacque, you gonna wear a Rev Plane Helmet Cam so we can all enjoy your daring exploits? From chipp at chipp.com Tue Aug 7 15:47:12 2007 From: chipp at chipp.com (Chipp Walters) Date: Tue, 7 Aug 2007 14:47:12 -0500 Subject: Mac Mod competition anyone? (a request) In-Reply-To: References: <20070807165600.4505B4890AC@mail.runrev.com> Message-ID: <7aa52a210708071247r499e7d90h49629018bf8cb9d4@mail.gmail.com> Hey John, Your bracket trick may work on your email client, but doesn't work in Gmail. Just thought you might like to know. TinyURL is really the way to go. best, Chipp From jacque at hyperactivesw.com Tue Aug 7 16:06:45 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 Aug 2007 15:06:45 -0500 Subject: Revcon Las Vegas In-Reply-To: <7aa52a210708071245na7e00b9kca4a8edc2ef5b47c@mail.gmail.com> References: <4612AC8D.9080505@fourthworld.com> <4be051070708062358l48c56026oe24cb7927ca2729@mail.gmail.com> <35FE960A-8C8F-4796-9C55-053BA1E1A2D0@canelasoftware.com> <46B8BC22.2080105@hyperactivesw.com> <7aa52a210708071245na7e00b9kca4a8edc2ef5b47c@mail.gmail.com> Message-ID: <46B8D0D5.2000601@hyperactivesw.com> Chipp Walters wrote: > Hey Jacque, you gonna wear a Rev Plane Helmet Cam so we can all enjoy > your daring exploits? Oh sure. I'll try not to look down if I toss my cookies. For your sake. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From userev at canelasoftware.com Tue Aug 7 16:20:47 2007 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 07 Aug 2007 13:20:47 -0700 Subject: Revcon Las Vegas In-Reply-To: <7aa52a210708071245na7e00b9kca4a8edc2ef5b47c@mail.gmail.com> References: <4612AC8D.9080505@fourthworld.com> <4be051070708062358l48c56026oe24cb7927ca2729@mail.gmail.com> <35FE960A-8C8F-4796-9C55-053BA1E1A2D0@canelasoftware.com> <46B8BC22.2080105@hyperactivesw.com> <7aa52a210708071245na7e00b9kca4a8edc2ef5b47c@mail.gmail.com> Message-ID: On Aug 7, 2007, at 12:45 PM, Chipp Walters wrote: > Hey Jacque, you gonna wear a Rev Plane Helmet Cam so we can all enjoy > your daring exploits? Chipp...you can have the front seat. Then you can take your own footage. ;) -Mark From preid at reid-it.co.uk Tue Aug 7 16:50:38 2007 From: preid at reid-it.co.uk (Peter Reid) Date: Tue, 7 Aug 2007 21:50:38 +0100 Subject: Floating Screen Keyboard Message-ID: <16BE9CC1-9EC5-42EC-AB8B-445E9413C133@reid-it.co.uk> I'm trying to create a floating screen keyboard application that will allow me to use a mouse to "type" into other applications by clicking on the keys in the floating keyboard. I'm trying to do this on a Mac under OS X 10.4.x using Rev 2.8.1. For example, if I'm using a web browser on a projected image, I might be using a mouse only and want to be able to type into the browser URL address box. I have looked a the built-in OS X keyboard viewer and it is too small, can't be resized and you can't use it to type in capital letters! This is why I thought I'd see if I could make an app in Rev that presented a scalable floating keyboard for mouse entry of text. However, I can't see how I can send individual characters to whatever is the currently active window as if they had been typed on the real keyboard. Any suggestions please? Peter From pevensen at siboneylg.com Tue Aug 7 16:53:10 2007 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 07 Aug 2007 15:53:10 -0500 Subject: Recording sounds -- delay in starting? Message-ID: <46B8DBB6.2010702@siboneylg.com> Is there any other way to record sounds in Revolution, other than *record sound file "/filepath/"*? Record sound file with Rev 2.8.1 on my Windows XP takes 2-3 seconds to start recording, which seems unacceptable. Is there any faster way to record a sound? Stopping recording also takes about 2 seconds, which seems a bit much. The program I'm replacing with my Rev app records and plays back almost instantaneously. Thanks! Peter T. Evensen Juice Plus+ Independent Distributor 314-629-5248 or 888-628-4588 http://www.PetersRoadToHealth.com From m.schonewille at economy-x-talk.com Tue Aug 7 17:00:21 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 7 Aug 2007 23:00:21 +0200 Subject: Recording sounds -- delay in starting? In-Reply-To: <46B8DBB6.2010702@siboneylg.com> References: <46B8DBB6.2010702@siboneylg.com> Message-ID: <9932BF80-09D8-4976-BD1B-84F3A48E3CCF@economy-x-talk.com> Hi Peter, I don't have this problem with 2.8.1 on Mac OS X and 2.7.x on Windows. In fact, I wish I could make it start recording 1 second after executing the record command. I haven't tried recording with 2.8.1 on Windows yet. Is it possible that your scripts are preventing Revolution from recording immediately? Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 7-aug-2007, om 22:53 heeft Peter T. Evensen het volgende geschreven: > Is there any other way to record sounds in Revolution, other than > *record sound file "/filepath/"*? > > Record sound file with Rev 2.8.1 on my Windows XP takes 2-3 seconds > to start recording, which seems unacceptable. Is there any faster > way to record a sound? > > Stopping recording also takes about 2 seconds, which seems a bit much. > > The program I'm replacing with my Rev app records and plays back > almost instantaneously. > > Thanks! > > Peter T. Evensen > Juice Plus+ Independent Distributor From pevensen at siboneylg.com Tue Aug 7 17:14:26 2007 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 07 Aug 2007 16:14:26 -0500 Subject: Recording sounds -- delay in starting? In-Reply-To: <9932BF80-09D8-4976-BD1B-84F3A48E3CCF@economy-x-talk.com> References: <46B8DBB6.2010702@siboneylg.com> <9932BF80-09D8-4976-BD1B-84F3A48E3CCF@economy-x-talk.com> Message-ID: <46B8E0B2.1070407@siboneylg.com> Hi Mark, This is the script I'm using: on RecordWord set cursor to watch disable button "Record" put the milliseconds into tStart record sound file "compare.wav" put (the milliseconds - tStart) && "ms" into field "Record" set the cursor to arrow enable button "Stop" end RecordWord field "Record" shows anywhere from "2000 ms" to "3800 ms." I wish I could get rid of the delay :). I haven't tried it on the Mac yet (or on an earlier version of Rev). I have QT 7.2.0 installed. Is there any way to record without using QT? I tried settting dontUseQT to true and then my standalone doesn't record anything. Mark Schonewille wrote: > Hi Peter, > > I don't have this problem with 2.8.1 on Mac OS X and 2.7.x on Windows. > In fact, I wish I could make it start recording 1 second after > executing the record command. I haven't tried recording with 2.8.1 on > Windows yet. Is it possible that your scripts are preventing > Revolution from recording immediately? > > Best regards, > > Mark Schonewille > > -- > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http;//www.salery.com > > Quickly extract data from your HyperCard stacks with DIFfersifier. > http://differsifier.economy-x-talk.com > > > Op 7-aug-2007, om 22:53 heeft Peter T. Evensen het volgende geschreven: > >> Is there any other way to record sounds in Revolution, other than >> *record sound file "/filepath/"*? >> >> Record sound file with Rev 2.8.1 on my Windows XP takes 2-3 seconds >> to start recording, which seems unacceptable. Is there any faster >> way to record a sound? >> >> Stopping recording also takes about 2 seconds, which seems a bit much. >> >> The program I'm replacing with my Rev app records and plays back >> almost instantaneously. >> >> Thanks! >> >> Peter T. Evensen >> Juice Plus+ Independent Distributor > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Peter T. Evensen Juice Plus+ Independent Distributor 314-629-5248 or 888-628-4588 http://www.PetersRoadToHealth.com From stephenREVOLUTION at barncard.com Tue Aug 7 17:48:53 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 7 Aug 2007 14:48:53 -0700 Subject: Recording sounds -- delay in starting? In-Reply-To: <46B8E0B2.1070407@siboneylg.com> References: <46B8DBB6.2010702@siboneylg.com> <9932BF80-09D8-4976-BD1B-84F3A48E3CCF@economy-x-talk.com> <46B8E0B2.1070407@siboneylg.com> Message-ID: I guess it's the buffer starting up first before recording. It would have to be constantly running for it to be able to start instantly. Some dedicated audio apps can 'pre listen' the audio stream constantly and avoid missed cues. Rev audio is not that sophisticated. Buffer latency would be a nice property to have. The delay is a bit annoying. I made a stack that uses a prompt for the voice over reader to wait until it turns red and "record" for a cue. It works quite well. Let the app cue you when to transfer or speak, not the other way around. >>>Is there any other way to record sounds in Revolution, other than >>>*record sound file "/filepath/"*? >>> >>>Record sound file with Rev 2.8.1 on my Windows XP takes 2-3 >>>seconds to start recording, which seems unacceptable. Is there >>>any faster way to record a sound? >>> >>>Stopping recording also takes about 2 seconds, which seems a bit much. >>> >>>The program I'm replacing with my Rev app records and plays back >>>almost instantaneously. >>> >>>Thanks! >>> >>>Peter T. Evensen -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From m.schonewille at economy-x-talk.com Tue Aug 7 17:53:04 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 7 Aug 2007 23:53:04 +0200 Subject: Recording sounds -- delay in starting? In-Reply-To: <46B8E0B2.1070407@siboneylg.com> References: <46B8DBB6.2010702@siboneylg.com> <9932BF80-09D8-4976-BD1B-84F3A48E3CCF@economy-x-talk.com> <46B8E0B2.1070407@siboneylg.com> Message-ID: <7A323DCB-54CA-4D32-8DD1-05AF239F12F9@economy-x-talk.com> Hi Peter, Two things. have you set the recordFormat to "wave"? You are recording into a wav file, but I don't see a command to set the recordFormat to wave. You could try to fiddle with the recordRate, recordSampleSize and recordCompression. My guess is that setting the recordCompression to raw and the recordSampleSize to a small number will cause the smallest delay. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 7-aug-2007, om 23:14 heeft Peter T. Evensen het volgende geschreven: > Hi Mark, > > This is the script I'm using: > > on RecordWord > set cursor to watch > disable button "Record" > put the milliseconds into tStart > record sound file "compare.wav" > put (the milliseconds - tStart) && "ms" into field "Record" > set the cursor to arrow > enable button "Stop" > end RecordWord > > field "Record" shows anywhere from "2000 ms" to "3800 ms." I wish > I could get rid of the delay :). > > I haven't tried it on the Mac yet (or on an earlier version of > Rev). I have QT 7.2.0 installed. > > Is there any way to record without using QT? I tried settting > dontUseQT to true and then my standalone doesn't record anything. > > Mark Schonewille wrote: >> Hi Peter, >> >> I don't have this problem with 2.8.1 on Mac OS X and 2.7.x on >> Windows. In fact, I wish I could make it start recording 1 second >> after executing the record command. I haven't tried recording with >> 2.8.1 on Windows yet. Is it possible that your scripts are >> preventing Revolution from recording immediately? >> >> Best regards, >> >> Mark Schonewille >> >> -- >> >> Economy-x-Talk Consulting and Software Engineering >> http://economy-x-talk.com >> http;//www.salery.com >> >> Quickly extract data from your HyperCard stacks with DIFfersifier. >> http://differsifier.economy-x-talk.com >> >> >> Op 7-aug-2007, om 22:53 heeft Peter T. Evensen het volgende >> geschreven: >> >>> Is there any other way to record sounds in Revolution, other than >>> *record sound file "/filepath/"*? >>> >>> Record sound file with Rev 2.8.1 on my Windows XP takes 2-3 >>> seconds to start recording, which seems unacceptable. Is there >>> any faster way to record a sound? >>> >>> Stopping recording also takes about 2 seconds, which seems a bit >>> much. >>> >>> The program I'm replacing with my Rev app records and plays back >>> almost instantaneously. >>> >>> Thanks! >>> >>> Peter T. Evensen >>> Juice Plus+ Independent Distributor >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > -- > Peter T. Evensen > Juice Plus+ Independent Distributor > 314-629-5248 or 888-628-4588 > http://www.PetersRoadToHealth.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 pevensen at siboneylg.com Tue Aug 7 17:56:38 2007 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 07 Aug 2007 16:56:38 -0500 Subject: Recording sounds -- delay in starting? In-Reply-To: References: <46B8DBB6.2010702@siboneylg.com> <9932BF80-09D8-4976-BD1B-84F3A48E3CCF@economy-x-talk.com> <46B8E0B2.1070407@siboneylg.com> Message-ID: <46B8EA96.1050500@siboneylg.com> My application is an adult remedial education title that lets the person (optionally) record their reading of a word and then compare it with the pre-recorded voice. It would be nice if they could just click the button and record. Some of my Authorware applications use the Audio Xtra to do recording, and that does not suffer from this 2-3 second delay. Can the Advanced QT external be used to record without this delay? Stephen Barncard wrote: > I guess it's the buffer starting up first before recording. It would > have to be constantly running for it to be able to start instantly. > Some dedicated audio apps can 'pre listen' the audio stream constantly > and avoid missed cues. Rev audio is not that sophisticated. Buffer > latency would be a nice property to have. > > The delay is a bit annoying. I made a stack that uses a prompt for the > voice over reader to wait until it turns red and "record" for a cue. > It works quite well. Let the app cue you when to transfer or speak, > not the other way around. > > > >>>> Is there any other way to record sounds in Revolution, other than >>>> *record sound file "/filepath/"*? >>>> >>>> Record sound file with Rev 2.8.1 on my Windows XP takes 2-3 seconds >>>> to start recording, which seems unacceptable. Is there any faster >>>> way to record a sound? >>>> >>>> Stopping recording also takes about 2 seconds, which seems a bit much. >>>> >>>> The program I'm replacing with my Rev app records and plays back >>>> almost instantaneously. >>>> >>>> Thanks! >>>> >>>> Peter T. Evensen > -- Peter T. Evensen Juice Plus+ Independent Distributor 314-629-5248 or 888-628-4588 http://www.PetersRoadToHealth.com From pevensen at siboneylg.com Tue Aug 7 17:59:37 2007 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 07 Aug 2007 16:59:37 -0500 Subject: Recording sounds -- delay in starting? In-Reply-To: <7A323DCB-54CA-4D32-8DD1-05AF239F12F9@economy-x-talk.com> References: <46B8DBB6.2010702@siboneylg.com> <9932BF80-09D8-4976-BD1B-84F3A48E3CCF@economy-x-talk.com> <46B8E0B2.1070407@siboneylg.com> <7A323DCB-54CA-4D32-8DD1-05AF239F12F9@economy-x-talk.com> Message-ID: <46B8EB49.9030903@siboneylg.com> I have set the recordFormat to "wave" and that doesn't change anything. recordRate is 22.05, recordSampleSize is 8, recordCompression is already raw. I still get the 2-3 second delay before it starts recording. Sometimes it takes a long time to stop recording. One test, it took a minute. I have no idea why. I haven't tried any other Windows machines yet, but that is next on my list. Mark Schonewille wrote: > Hi Peter, > > Two things. have you set the recordFormat to "wave"? You are recording > into a wav file, but I don't see a command to set the recordFormat to > wave. > > You could try to fiddle with the recordRate, recordSampleSize and > recordCompression. My guess is that setting the recordCompression to > raw and the recordSampleSize to a small number will cause the smallest > delay. > > Best regards, > > Mark Schonewille > > -- > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http;//www.salery.com > > Quickly extract data from your HyperCard stacks with DIFfersifier. > http://differsifier.economy-x-talk.com > > > Op 7-aug-2007, om 23:14 heeft Peter T. Evensen het volgende geschreven: > >> Hi Mark, >> >> This is the script I'm using: >> >> on RecordWord >> set cursor to watch >> disable button "Record" >> put the milliseconds into tStart >> record sound file "compare.wav" >> put (the milliseconds - tStart) && "ms" into field "Record" >> set the cursor to arrow >> enable button "Stop" >> end RecordWord >> >> field "Record" shows anywhere from "2000 ms" to "3800 ms." I wish I >> could get rid of the delay :). >> >> I haven't tried it on the Mac yet (or on an earlier version of Rev). >> I have QT 7.2.0 installed. >> >> Is there any way to record without using QT? I tried settting >> dontUseQT to true and then my standalone doesn't record anything. >> >> Mark Schonewille wrote: >>> Hi Peter, >>> >>> I don't have this problem with 2.8.1 on Mac OS X and 2.7.x on >>> Windows. In fact, I wish I could make it start recording 1 second >>> after executing the record command. I haven't tried recording with >>> 2.8.1 on Windows yet. Is it possible that your scripts are >>> preventing Revolution from recording immediately? >>> >>> Best regards, >>> >>> Mark Schonewille >>> >>> -- >>> >>> Economy-x-Talk Consulting and Software Engineering >>> http://economy-x-talk.com >>> http;//www.salery.com >>> >>> Quickly extract data from your HyperCard stacks with DIFfersifier. >>> http://differsifier.economy-x-talk.com >>> >>> >>> Op 7-aug-2007, om 22:53 heeft Peter T. Evensen het volgende geschreven: >>> >>>> Is there any other way to record sounds in Revolution, other than >>>> *record sound file "/filepath/"*? >>>> >>>> Record sound file with Rev 2.8.1 on my Windows XP takes 2-3 seconds >>>> to start recording, which seems unacceptable. Is there any faster >>>> way to record a sound? >>>> >>>> Stopping recording also takes about 2 seconds, which seems a bit much. >>>> >>>> The program I'm replacing with my Rev app records and plays back >>>> almost instantaneously. >>>> >>>> Thanks! >>>> >>>> Peter T. Evensen >>>> Juice Plus+ Independent Distributor >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> -- >> Peter T. Evensen >> Juice Plus+ Independent Distributor >> 314-629-5248 or 888-628-4588 >> http://www.PetersRoadToHealth.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 > -- Peter T. Evensen Juice Plus+ Independent Distributor 314-629-5248 or 888-628-4588 http://www.PetersRoadToHealth.com From kray at sonsothunder.com Tue Aug 7 20:08:42 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 7 Aug 2007 19:08:42 -0500 Subject: Floating Screen Keyboard In-Reply-To: <16BE9CC1-9EC5-42EC-AB8B-445E9413C133@reid-it.co.uk> References: <16BE9CC1-9EC5-42EC-AB8B-445E9413C133@reid-it.co.uk> Message-ID: <20070807190842525002.640ebf15@sonsothunder.com> On Tue, 7 Aug 2007 21:50:38 +0100, Peter Reid wrote: > I'm trying to create a floating screen keyboard application that will > allow me to use a mouse to "type" into other applications by clicking > on the keys in the floating keyboard. I'm trying to do this on a Mac > under OS X 10.4.x using Rev 2.8.1. > > For example, if I'm using a web browser on a projected image, I might > be using a mouse only and want to be able to type into the browser > URL address box. I have looked a the built-in OS X keyboard viewer > and it is too small, can't be resized and you can't use it to type in > capital letters! This is why I thought I'd see if I could make an > app in Rev that presented a scalable floating keyboard for mouse > entry of text. > > However, I can't see how I can send individual characters to whatever > is the currently active window as if they had been typed on the real > keyboard. > > Any suggestions please? Well, you could look at using AppleScript to drive the System Events app to do GUI Scripting: http://www.apple.com/applescript/uiscripting/01.html Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jacque at hyperactivesw.com Tue Aug 7 20:45:59 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 Aug 2007 19:45:59 -0500 Subject: PHP-Drupal for Rev-based project Message-ID: <46B91247.9080503@hyperactivesw.com> My client is looking for someone who knows PHP and is familiar with Drupal and mySQL. The web setup will interact with a Rev-based project and shouldn't be too hard for someone who has these skills. Unfortunately, time is tight. If you are interested, or know someone who might be, let me know offlist. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From christian.langers at education.lu Wed Aug 8 06:03:04 2007 From: christian.langers at education.lu (Christian Langers) Date: Wed, 8 Aug 2007 12:03:04 +0200 Subject: Syntax coloring mode for SubEthaEdit Message-ID: Hello all, I have updated the syntax coloring Transcript mode for SubEthatEdit ; it recognizes now "private command" and "private function" and shows them in the handler list of the app. Download at : or for other modes : Greets, Christian Langers Luxembourg From revolution at derbrill.de Wed Aug 8 08:39:52 2007 From: revolution at derbrill.de (Malte Brill) Date: Wed, 08 Aug 2007 14:39:52 +0200 Subject: libURL - Post: Wait until all previous requests have been handled In-Reply-To: <20070807165600.9BB2F4890BF@mail.runrev.com> References: <20070807165600.9BB2F4890BF@mail.runrev.com> Message-ID: <46B9B998.10008@derbrill.de> Hi, I would like to post something (Multipart Formdata) to an URL on mouseUp. Sometimes libURL return "error Previous request not completed". How do I find out if the last posts aren?t busy anymore and I can do the next post? All the best, Malte From mikeythek at gmail.com Wed Aug 8 11:13:40 2007 From: mikeythek at gmail.com (Mikey) Date: Wed, 8 Aug 2007 11:13:40 -0400 Subject: Script Print Font Size Message-ID: <9b408d8e0708080813k2478166bg2f112c0c4fd9d995@mail.gmail.com> Yikes! When I print scripts, the text looks like it's at least 12 pt, which is just enormous for these things. I don't see a preference for setting it. Where should I be looking? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From m.schonewille at economy-x-talk.com Wed Aug 8 11:29:54 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 8 Aug 2007 17:29:54 +0200 Subject: Script Print Font Size In-Reply-To: <9b408d8e0708080813k2478166bg2f112c0c4fd9d995@mail.gmail.com> References: <9b408d8e0708080813k2478166bg2f112c0c4fd9d995@mail.gmail.com> Message-ID: <5EC51375-4EC4-4794-8781-459B277F6BDE@economy-x-talk.com> Hi, This has been reported three years ago: Perhaps this should be a bug of its own. I haven't found a report that dealt with this issue separately. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 8-aug-2007, om 17:13 heeft Mikey het volgende geschreven: > Yikes! When I print scripts, the text looks like it's at least 12 pt, > which is just enormous for these things. > > I don't see a preference for setting it. Where should I be looking? From mikeythek at gmail.com Wed Aug 8 11:54:22 2007 From: mikeythek at gmail.com (Mikey) Date: Wed, 8 Aug 2007 11:54:22 -0400 Subject: Script Print Font Size In-Reply-To: <5EC51375-4EC4-4794-8781-459B277F6BDE@economy-x-talk.com> References: <9b408d8e0708080813k2478166bg2f112c0c4fd9d995@mail.gmail.com> <5EC51375-4EC4-4794-8781-459B277F6BDE@economy-x-talk.com> Message-ID: <9b408d8e0708080854o4317947av4949d622c9b127fb@mail.gmail.com> I posted it separately as bug 5290 From kray at sonsothunder.com Wed Aug 8 12:55:38 2007 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 8 Aug 2007 11:55:38 -0500 Subject: Script Print Font Size In-Reply-To: <9b408d8e0708080813k2478166bg2f112c0c4fd9d995@mail.gmail.com> References: <9b408d8e0708080813k2478166bg2f112c0c4fd9d995@mail.gmail.com> Message-ID: <20070808115538390722.7404a6f6@sonsothunder.com> On Wed, 8 Aug 2007 11:13:40 -0400, Mikey wrote: > Yikes! When I print scripts, the text looks like it's at least 12 pt, > which is just enormous for these things. > > I don't see a preference for setting it. Where should I be looking? Well, there isn't a separate preference, but the printing uses the revPrintText function which takes the htmlText of the script editor's window. So if you go into preferences and change the size of the font for the Script Editor's display, this will be reflected in the printed output. It would be great if there was a separate preference, though... Oh, and if you want to *permanently* change ALL text printing coming out of Rev to a specific size, you can edit the "revPrintBack" backscript, go to the "revPrintText" handler, and scroll down to where you see the comment: --Body initialization Locate the "if" block that sets the tabstops, hGrid, etc. which looks like this: if pSourceFieldRef is not empty then set the tabStops of field 1 to the tabStops of pSourceFieldRef set the hGrid of field 1 to the hGrid of pSourceFieldRef set the vGrid of field 1 to the vGrid of pSourceFieldRef set the fixedLineHeight of field 1 to the fixedLineHeight of pSourceFieldRef -- NEW set the textHeight of field 1 to the effective textHeight of pSourceFieldRef -- NEW set the textAlign of field 1 to the effective textAlign of pSourceFieldRef end if And then add a "set the textSize" line to that block, like this: if pSourceFieldRef is not empty then set the tabStops of field 1 to the tabStops of pSourceFieldRef set the hGrid of field 1 to the hGrid of pSourceFieldRef set the vGrid of field 1 to the vGrid of pSourceFieldRef set the fixedLineHeight of field 1 to the fixedLineHeight of pSourceFieldRef -- NEW set the textHeight of field 1 to the effective textHeight of pSourceFieldRef -- NEW set the textAlign of field 1 to the effective textAlign of pSourceFieldRef set the textSize of field 1 to 9 end if HTH, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From mikeythek at gmail.com Wed Aug 8 13:04:25 2007 From: mikeythek at gmail.com (Mikey) Date: Wed, 8 Aug 2007 13:04:25 -0400 Subject: Script Print Font Size In-Reply-To: <20070808115538390722.7404a6f6@sonsothunder.com> References: <9b408d8e0708080813k2478166bg2f112c0c4fd9d995@mail.gmail.com> <20070808115538390722.7404a6f6@sonsothunder.com> Message-ID: <9b408d8e0708081004n4cd5b6a0ocac3c124b967f34e@mail.gmail.com> It's just freaking cool that you can hack this bugger like this. Here's another question - has anybody started a wiki for hacking RR yet? Between the shells and modified development environments, the enhancement scripts, etc., it would be an interesting projects. I started a blog for this some time ago, but realized that it probably wasn't the way to go. From kray at sonsothunder.com Wed Aug 8 14:00:54 2007 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 8 Aug 2007 13:00:54 -0500 Subject: Script Print Font Size In-Reply-To: <9b408d8e0708081004n4cd5b6a0ocac3c124b967f34e@mail.gmail.com> References: <9b408d8e0708080813k2478166bg2f112c0c4fd9d995@mail.gmail.com> <20070808115538390722.7404a6f6@sonsothunder.com> <9b408d8e0708081004n4cd5b6a0ocac3c124b967f34e@mail.gmail.com> Message-ID: <20070808130054623582.2daa0b26@sonsothunder.com> On Wed, 8 Aug 2007 13:04:25 -0400, Mikey wrote: > It's just freaking cool that you can hack this bugger like this. One of the neat things about the Rev IDE being built with Rev... ;-) Of course remember that when Rev releases a new version, it will overwrite any hacks you've added. > Here's another question - has anybody started a wiki for hacking RR yet? Not AFAIK, but Sean Shao released a set of IDE fixes on his site: http://shaosean.wehostmacs.com/rev.php Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From andre at andregarzia.com Wed Aug 8 16:38:12 2007 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 8 Aug 2007 17:38:12 -0300 Subject: BvG Docu + WebNotes offline while migrating site. Message-ID: <7c87a2a10708081338g433636a2s6c9faeb0405ff346@mail.gmail.com> Friends, those of you using the new Webnotes powered BvG Docu will not be able to access the webnotes because my site is offline. I am migrating to a shinny new vps, while DNS and everything is migrated and configured, things will be offline. Thanks andre From ambassador at fourthworld.com Wed Aug 8 20:22:45 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 08 Aug 2007 17:22:45 -0700 Subject: What opened a plugin? Message-ID: <46BA5E55.8020900@fourthworld.com> Sarah Reichelt wrote: > I think this has been asked before, but I don't know if anyone came up > with a solution. I have a plugin in the Plugins menu and it opens > automatically when Rev starts. When it finishes it's task, I then want > it to close itself and go away. If it gets an error, it should stay > open - that is not a problem. > > The problem is if I want to edit it or it's setting later. I want a > way to detect whether it has been opened automatically on startup, or > whether it has been chosen from the plugins menu manually. If manually > opened, I don't want it to close when finished. > > There are ways around this, but I just wondered if there was any > in-built way to detect what was happening. You should be able to check the executionContexts from within preOpenStack to determine whether the stack was opened from the Plugins menu. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From sarah.reichelt at gmail.com Wed Aug 8 21:35:18 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 9 Aug 2007 11:35:18 +1000 Subject: What opened a plugin? In-Reply-To: <46BA5E55.8020900@fourthworld.com> References: <46BA5E55.8020900@fourthworld.com> Message-ID: > > I think this has been asked before, but I don't know if anyone came up > > with a solution. I have a plugin in the Plugins menu and it opens > > automatically when Rev starts. When it finishes it's task, I then want > > it to close itself and go away. If it gets an error, it should stay > > open - that is not a problem. > > > > The problem is if I want to edit it or it's setting later. I want a > > way to detect whether it has been opened automatically on startup, or > > whether it has been chosen from the plugins menu manually. If manually > > opened, I don't want it to close when finished. > > > > There are ways around this, but I just wondered if there was any > > in-built way to detect what was happening. > > You should be able to check the executionContexts from within > preOpenStack to determine whether the stack was opened from the Plugins > menu. Thanks Richard, I use this in the preOpenStack handler: if the executionContexts contains "revmenubar.rev" then -- opened from the Plugins menu And it works exactly as I wanted it to :-) Cheers, Sarah From sarah.reichelt at gmail.com Wed Aug 8 21:42:52 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 9 Aug 2007 11:42:52 +1000 Subject: Command & private Message-ID: Hi All, I'm wondering if anyone is using the new handler keywords: command & private? I like them and think it makes sense to use them. The only problem is that if I publish a stack, it won't work for anyone who doesn't have version 2.8.1 For anyone interested in more detail, I wrote an article for revJournal discussing "command" and "private" . Cheers, Sarah From arthur.rann at gmail.com Wed Aug 8 23:02:06 2007 From: arthur.rann at gmail.com (Arthur Rann) Date: Wed, 8 Aug 2007 22:02:06 -0500 Subject: Best place for putting preferences on a PC? Message-ID: <64bccb0c0708082002k31b38252q27e1fe818b69507c@mail.gmail.com> Hi, I have a cross-platform app I wrote in RunRev. I just know very little about PC programming. I'd like to store a user preference file on their hard drive. On the Mac, I'll put it in their prefs folder. On the PC though, where does that go? Also, is there a way to obtain the MAC address for their network card, or a machine ID of some sort? I'm looking for a cross-platform solution, ideally. I need to tie something somewhat permanent to their serial number. I know the shortcomings of this approach, I'm just looking for a simple solution I can implement quickly. MAC address would be fine. My app will be used in schools, and probably in situations where they'd be tempted to stick a copy on more than one machine and not pay for additional licenses, unless I can at least make it somewhat tricky for them to do so. I already have a working serial number system in place, I just need some key for the hardware it's initially installed on. Lastly, I noticed recently that when I go to build the standalone version (a demo) of my app, I get some kind of weird errors in a giant box when I build. It only happened recently, but I get it consistently, every time I try to build that app. It looks like there's a problem with revCopyExternals. I don't get that problem in other demos I'm working on that are very similar (only text is different, but there's a lot of text), so I think it's a corrupted file. Is there a way to 'pull' the project data out of one .rev file and move it to a new file? Thanks, Art From chipp at chipp.com Wed Aug 8 23:42:19 2007 From: chipp at chipp.com (Chipp Walters) Date: Wed, 8 Aug 2007 22:42:19 -0500 Subject: Command & private In-Reply-To: References: Message-ID: <7aa52a210708082042h4f2f6ebbh8ec432b526767c9c@mail.gmail.com> Hi Sarah, Nice article and stack. One thing which I think would be good is to mention in the article where the word 'private' needs to be in relation to 'command' or 'function' So to make a command or function script private, it should be: private command showNewData and private function calcNewNumber Thanks for doing this!!! -Chipp From bridgeyman at gmail.com Thu Aug 9 00:20:43 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Wed, 8 Aug 2007 22:20:43 -0600 Subject: Smoothest Way To Play Video Message-ID: <86ae76bb0708082120j7357ec4cy703e82d83f5996d1@mail.gmail.com> Hey, I have a short video (3 seconds?) that plays very choppy, that I need to run smoothly on an old computer (500 MHz). Right now, it is playing from a player object with the movie file referenced. It is layered, so its alwaysBuffer must be set to true. It also has a few callbacks that must be included. All of this added up makes the movie play extremely choppy, and it really looks quite terrible. I am looking for any tips to make a video play smoothly. Is there a magic setting I can use, a way to pre-load the video in memory, or a certain compression format to use that works well with Revolution? I think the setting that really makes it run slow is the alwaysBuffer, but without it, I can't have the player underneath other objects. Is there an alternative to this? Thank You, Bridger Maxwell From brentj84062 at gmail.com Thu Aug 9 00:51:53 2007 From: brentj84062 at gmail.com (Brent Anderson) Date: Wed, 8 Aug 2007 22:51:53 -0600 Subject: Smoothest Way To Play Video In-Reply-To: <86ae76bb0708082120j7357ec4cy703e82d83f5996d1@mail.gmail.com> References: <86ae76bb0708082120j7357ec4cy703e82d83f5996d1@mail.gmail.com> Message-ID: <4F0CCE71-4D04-4406-924E-DA47BC638C9D@gmail.com> Hello. Since you're probably using QuickTime for playback, you could look into running it through a more appropriate compressor,perhaps reducing the keyframe rate and/or adjusting the compressor itself to motion graphics on medium quality. If the callbacks are on an even frequency, you could try using a send-to loop and convert the movie to a GIF. Thanks, Brent Anderson On Aug 8, 2007, at 10:20 PM, Bridger Maxwell wrote: > Hey, I have a short video (3 seconds?) that plays very choppy, > that I need > to run smoothly on an old computer (500 MHz). Right now, it is > playing from > a player object with the movie file referenced. It is layered, so its > alwaysBuffer must be set to true. It also has a few callbacks that > must be > included. All of this added up makes the movie play extremely > choppy, and > it really looks quite terrible. I am looking for any tips to make > a video > play smoothly. Is there a magic setting I can use, a way to pre- > load the > video in memory, or a certain compression format to use that works > well with > Revolution? I think the setting that really makes it run slow is the > alwaysBuffer, but without it, I can't have the player underneath other > objects. Is there an alternative to this? > > Thank You, > Bridger Maxwell > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bridgeyman at gmail.com Thu Aug 9 01:13:24 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Wed, 8 Aug 2007 23:13:24 -0600 Subject: Best place for putting preferences on a PC? In-Reply-To: <64bccb0c0708082002k31b38252q27e1fe818b69507c@mail.gmail.com> References: <64bccb0c0708082002k31b38252q27e1fe818b69507c@mail.gmail.com> Message-ID: <86ae76bb0708082213y14bab44eocd54f9013a50d3c9@mail.gmail.com> Hey, > Lastly, I noticed recently that when I go to build the standalone > version (a demo) of my app, I get some kind of weird errors in a giant > box when I build. It only happened recently, but I get it > consistently, every time I try to build that app. It looks like > there's a problem with revCopyExternals. I have had that same problem. It gives a lot of numbers in the dialog right? If you look at those numbers, they are actually line and column numbers at the exact script where the error is taking place. For me, there was an error in my "savingStandalone" handler, which would interrupt the saving process. Maybe if you trap the savingStandalone message you could double check it? TTFN Bridger Maxwell www.FieryFerret.com From kray at sonsothunder.com Thu Aug 9 01:19:28 2007 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 9 Aug 2007 00:19:28 -0500 Subject: Best place for putting preferences on a PC? In-Reply-To: <64bccb0c0708082002k31b38252q27e1fe818b69507c@mail.gmail.com> References: <64bccb0c0708082002k31b38252q27e1fe818b69507c@mail.gmail.com> Message-ID: <20070809001928422069.dbf46e3d@sonsothunder.com> On Wed, 8 Aug 2007 22:02:06 -0500, Arthur Rann wrote: > Also, is there a way to obtain the MAC address for their network card, > or a machine ID of some sort? Here you go: http://www.sonsothunder.com/devres/revolution/tips/env001.htm Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From chrisliv at unimelb.edu.au Thu Aug 9 01:56:58 2007 From: chrisliv at unimelb.edu.au (chris livermore) Date: Thu, 9 Aug 2007 15:56:58 +1000 Subject: cgi error - with stacks Message-ID: Hi Have installed the Linux rev engine, permissions for files are all OK. cgi scripts such as, 'helloworld', and the like, work fine from text files. However I'm now trying to use stack scripts. Have followed the 'addressSearch tutorial' but with no luck. I receive the error; 'Premature end of script headers: /home/kipmm/public_html/cgi-bin/ addressSearch.cgi /home/kipmm/public_html/cgi-bin/revolution: Script execution error at line 6, column 1' (macIntel, safari latest, server Linux - Apache version 1.3.37 (Unix), uploaded linux rev engine dated 5th Oct 2005) thanks for any help, and thanks to Andre for HTTP.rev, can't wait to get on top of cgi's and get productive. regards chris From palcibiades-first at yahoo.co.uk Thu Aug 9 05:39:57 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 9 Aug 2007 10:39:57 +0100 Subject: Command & private Message-ID: <200708091039.57154.palcibiades-first@yahoo.co.uk> Sarah writes >The only problem is that if I publish a stack, it won't work for anyone who >doesn't have version 2.8.1 I wouldn't worry about it. There can be very few people who are using Linux exclusively and so are limited to 2.6.1. For us, either the update to 2.9 is going to come soon, in which case we will all move to it at once, or it isn't, in which case we'll have to move to another language. I used to get very worked up about this, but now think its not worth anyone going to any trouble on our behalf. But thanks for the thought. Peter From mark at maseurope.net Thu Aug 9 06:11:20 2007 From: mark at maseurope.net (Mark Smith) Date: Thu, 9 Aug 2007 11:11:20 +0100 Subject: Command & private In-Reply-To: <200708091039.57154.palcibiades-first@yahoo.co.uk> References: <200708091039.57154.palcibiades-first@yahoo.co.uk> Message-ID: Of course it would also exclude anyone using pre-2.8.1 on any platform, so I guess it's going to be a while before private handlers are going to be a really good idea for publicly available libraries - which is exactly where they would seem to be particularly useful for avoiding namespace conflicts. Still, it's a very good development which we'll all be glad of, I'm sure. I really hope RunRev get the Linux version going soon - I've just bought a shiny new Mac Mini and am installing Parallels/XP as I type. I'm looking forward to investigating Linux, too, so here's hoping. Best, Mark On 9 Aug 2007, at 10:39, Peter Alcibiades wrote: > I wouldn't worry about it. There can be very few people who are > using Linux > exclusively and so are limited to 2.6.1. From robmann at gp-racing.com Thu Aug 9 08:37:15 2007 From: robmann at gp-racing.com (Robert Mann) Date: Thu, 9 Aug 2007 08:37:15 -0400 Subject: cgi error - with stacks In-Reply-To: Message-ID: Make sure the first line of the cgi is #!Linux If your engine is named Linux Then make that you have all cgi files you call with the right case, they are case sensitive -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of chris livermore Sent: Thursday, August 09, 2007 1:57 AM To: How to use Revolution Subject: cgi error - with stacks Hi Have installed the Linux rev engine, permissions for files are all OK. cgi scripts such as, 'helloworld', and the like, work fine from text files. However I'm now trying to use stack scripts. Have followed the 'addressSearch tutorial' but with no luck. I receive the error; 'Premature end of script headers: /home/kipmm/public_html/cgi-bin/ addressSearch.cgi /home/kipmm/public_html/cgi-bin/revolution: Script execution error at line 6, column 1' (macIntel, safari latest, server Linux - Apache version 1.3.37 (Unix), uploaded linux rev engine dated 5th Oct 2005) thanks for any help, and thanks to Andre for HTTP.rev, can't wait to get on top of cgi's and get productive. regards chris _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From kavitha at thebusinesstrinity.com Thu Aug 9 09:21:26 2007 From: kavitha at thebusinesstrinity.com (Kavitha) Date: Thu, 9 Aug 2007 10:21:26 -0300 Subject: External References Message-ID: <9cf7dc1a04cc4a4ead70513d1b5d1e86@demeter.liberatednetworks.com> Hi, I am very new to Valentina and Revolution. I am trying to create a very simple application to link Valentina 3 to Revolution. How link and where are the external references? I am working on Mac. Please can anyone help me with this? Thank youKavitha From lists at mangomultimedia.com Thu Aug 9 09:54:13 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 9 Aug 2007 09:54:13 -0400 Subject: Recording sounds -- delay in starting? In-Reply-To: <46B8EA96.1050500@siboneylg.com> References: <46B8DBB6.2010702@siboneylg.com> <9932BF80-09D8-4976-BD1B-84F3A48E3CCF@economy-x-talk.com> <46B8E0B2.1070407@siboneylg.com> <46B8EA96.1050500@siboneylg.com> Message-ID: On Aug 7, 2007, at 5:56 PM, Peter T. Evensen wrote: > Can the Advanced QT external be used to record without this delay? Peter, There are no recording functions built into the EnhancedQT external. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From kavitha at thebusinesstrinity.com Tue Aug 7 14:20:07 2007 From: kavitha at thebusinesstrinity.com (Kavitha) Date: Tue, 7 Aug 2007 15:20:07 -0300 Subject: How display the contents of text file Message-ID: <95c519b4b5e94bd6aebccaf5b303e622@demeter.liberatednetworks.com> Hi, I am a newbie, can anyone please tell me how to display the contents of file without any special characters. I tried and the result has lots of special characters that are not in the file. I am working on Mac, in windows it works fine. Thank youKavitha From klaus at major-k.de Thu Aug 9 10:14:23 2007 From: klaus at major-k.de (Klaus Major) Date: Thu, 9 Aug 2007 16:14:23 +0200 Subject: How display the contents of text file In-Reply-To: <95c519b4b5e94bd6aebccaf5b303e622@demeter.liberatednetworks.com> References: <95c519b4b5e94bd6aebccaf5b303e622@demeter.liberatednetworks.com> Message-ID: <47FE3030-81C7-4317-A5C7-092EA64DC5AB@major-k.de> Hi Kavitha, > Hi, > > I am a newbie, can anyone please tell me how to display the > contents of file without any special characters. I tried and the > result has lots of special characters that are not in the file. I > am working on Mac, in windows it works fine. welcome to the wonderful and exciting world of crossplatform software development :-D As you already experienced, Windows uses a different text encoding than the mac does. So if you want to display a text file created on windows, you have to convert it to mac encoding using the "isotomac" function like this: ... put url("file:the_windows_text_file.txt") into win_text put isotomac(win_text) into mac_text put mac_text into fld "Field for Mac display" ... Or in a hard to read one-liner: ... put isotomac(url("file:the_windows_text_file.txt")) into fld "Field for Mac display" ... ;-) Hope that helps. > Thank youKavitha Regards from germany Klaus Major klaus at major-k.de http://www.major-k.de From kavitha at thebusinesstrinity.com Thu Aug 9 10:31:34 2007 From: kavitha at thebusinesstrinity.com (Kavitha) Date: Thu, 9 Aug 2007 11:31:34 -0300 Subject: How display the contents of text file Message-ID: Thank you very much! Just today I posted another question of how to give external references. I am trying to connect Valentina 3 to Revolution . I am having difficulty in giving the external references, I tried to give the reference through coding its not working. I tried to find the file and no luck. I hope I am not bothering you, can you please help me with this.? Thank you again Kavitha From klaus at major-k.de Thu Aug 9 10:46:19 2007 From: klaus at major-k.de (Klaus Major) Date: Thu, 9 Aug 2007 16:46:19 +0200 Subject: How display the contents of text file In-Reply-To: References: Message-ID: Hi Kavitha, > Thank you very much! You're welcome! > Just today I posted another question of how to give external > references. I am trying to connect Valentina 3 to Revolution . I > am having difficulty in giving the external references, I tried to > give the reference through coding its not working. I tried to find > the file and no luck. I hope I am not bothering you, can you > please help me with this.? Damn, I thought I could sneak out of this :-D To be honest, I have no idea, never used Valentina so far. But all the necessary steps are surely documented in the Valentina docs! Took me about a minute to find this one on the Valentina website: http://www.valentina-db.com/docs/V4REV_Reference_3_en.pdf > Thank you again > Kavitha Best Klaus Major klaus at major-k.de http://www.major-k.de From mikeythek at gmail.com Thu Aug 9 10:55:35 2007 From: mikeythek at gmail.com (Mikey) Date: Thu, 9 Aug 2007 10:55:35 -0400 Subject: Determining where a message came from Message-ID: <9b408d8e0708090755q540eb7dfw1138b13050a335b9@mail.gmail.com> Is there an easy way to determine if a message is being generated by it being typed into the message box as opposed to being executed in a script? I realize I could pass an optional parameter, but I didn't know if there is some property that is set that I could check. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From kavitha at thebusinesstrinity.com Thu Aug 9 10:57:25 2007 From: kavitha at thebusinesstrinity.com (Kavitha) Date: Thu, 9 Aug 2007 11:57:25 -0300 Subject: How display the contents of text file Message-ID: <408fd3d3b99f4a9d9f410154f120713c@demeter.liberatednetworks.com> Thank Klaus. I already tried that! From kavitha at thebusinesstrinity.com Thu Aug 9 11:05:30 2007 From: kavitha at thebusinesstrinity.com (Kavitha) Date: Thu, 9 Aug 2007 12:05:30 -0300 Subject: External References Message-ID: <10d4384c72dc4f74aa407a57d91c1411@demeter.liberatednetworks.com> Please can anyone help me? Hi,I am very new to Valentina and Revolution. I am trying to create a very simple application to link Valentina 3 to Revolution. How to link and where are the external references? I am working on Mac. Please can anyone help me with this?Thank you Kavitha From mark at maseurope.net Thu Aug 9 11:14:25 2007 From: mark at maseurope.net (Mark Smith) Date: Thu, 9 Aug 2007 16:14:25 +0100 Subject: Determining where a message came from In-Reply-To: <9b408d8e0708090755q540eb7dfw1138b13050a335b9@mail.gmail.com> References: <9b408d8e0708090755q540eb7dfw1138b13050a335b9@mail.gmail.com> Message-ID: <7BCE194F-953A-420E-ABB0-E9D152A73FCE@maseurope.net> You want "the executionContexts", I think. It's not documented and not supported (ie. it may change), but it works. Best, Mark On 9 Aug 2007, at 15:55, Mikey wrote: > Is there an easy way to determine if a message is being generated by > it being typed into the message box as opposed to being executed in a > script? I realize I could pass an optional parameter, but I didn't > know if there is some property that is set that I could check. > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Thu Aug 9 11:14:29 2007 From: mikeythek at gmail.com (Mikey) Date: Thu, 9 Aug 2007 11:14:29 -0400 Subject: splitters in tables Message-ID: <9b408d8e0708090814t1da1ace1q1d23be97131d0c13@mail.gmail.com> I'm assuming there isn't an easy way to implement splitters in table fields. However, has someone done it? Howabout some generic code to set column widths in tables based on the contents of cells in the column? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From andre at andregarzia.com Thu Aug 9 12:00:36 2007 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 9 Aug 2007 13:00:36 -0300 Subject: cgi error - with stacks In-Reply-To: References: Message-ID: <7c87a2a10708090900y45027dc4kadb2d529c0a59f93@mail.gmail.com> also make sure you're saving your stacks in legacy format, linux engine does not understand the new format. cheers andre On 8/9/07, Robert Mann wrote: > > > Make sure the first line of the cgi is > #!Linux > If your engine is named Linux > Then make that you have all cgi files you call with the right case, they > are > case sensitive > > > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of chris > livermore > Sent: Thursday, August 09, 2007 1:57 AM > To: How to use Revolution > Subject: cgi error - with stacks > > Hi > Have installed the Linux rev engine, permissions for files are all OK. > cgi scripts such as, 'helloworld', and the like, work fine from > text files. However I'm now trying to use stack scripts. > Have followed the 'addressSearch tutorial' but with no luck. > > I receive the error; > > 'Premature end of script headers: /home/kipmm/public_html/cgi-bin/ > addressSearch.cgi > /home/kipmm/public_html/cgi-bin/revolution: Script execution error at > line 6, column 1' > > (macIntel, safari latest, server Linux - Apache version 1.3.37 > (Unix), uploaded linux rev engine dated 5th Oct 2005) > > thanks for any help, and thanks to Andre for HTTP.rev, can't wait to > get on top of cgi's and get productive. > > regards > > chris > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Thu Aug 9 12:14:49 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 Aug 2007 11:14:49 -0500 Subject: cgi error - with stacks In-Reply-To: References: Message-ID: <46BB3D79.3070706@hyperactivesw.com> chris livermore wrote: > Hi > Have installed the Linux rev engine, permissions for files are all OK. > cgi scripts such as, 'helloworld', and the like, work fine from text > files. However I'm now trying to use stack scripts. > Have followed the 'addressSearch tutorial' but with no luck. > > I receive the error; > > 'Premature end of script headers: > /home/kipmm/public_html/cgi-bin/addressSearch.cgi > /home/kipmm/public_html/cgi-bin/revolution: Script execution error at > line 6, column 1' > > (macIntel, safari latest, server Linux - Apache version 1.3.37 (Unix), > uploaded linux rev engine dated 5th Oct 2005) Line 6 is: put "addresses.rev" into theStack Do you have a stack named "addresses.rev", is it in the same folder with the cgi script, and is the name all lower-case? How about permissions? Did you set the permissions so that the cgi can open it? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From robmann at gp-racing.com Thu Aug 9 12:21:30 2007 From: robmann at gp-racing.com (Robert Mann) Date: Thu, 9 Aug 2007 12:21:30 -0400 Subject: Rev CGI Post In-Reply-To: <86ae76bb0708061140m67c8303bj4ae4c9600bc956e8@mail.gmail.com> Message-ID: PDT is sent in the GET format but I get a fail at the end put $QUERY_STRING into theBuffer put theBuffer into theTermsArray --keep the original info. put "myLibUrl.rev" into theStack start using stack theStack put the result into tresult split theTermsArray by "&" and "=" put theTermsArray["tx"] into tvalue put "cmd=_notify-synch" into tnotify put "&tx=" & tvalue into tToken ---NEED YOUR IDENTITY TOKEN--- put "&at=DB_GvV-ZUCB6mCpN-WPfCA99_2xRO6-g8Eb2vKE7-6EGz9T5q6hWmepQMsG" into myID put tnotify & tToken & myID into x post x to url "http://www.sandbox.paypal.com/cgi-bin/webscr" -->TAKE OUT "SANDBOX" LATER put the result into postbackresult if "success" is not in it then put "some problem was encountered..." & line 1 of it & line 2 of it into tresult ----Keep a log if you have problems-------------- -- & cr & theBuffer & cr & "I posted this: " & x & cr & "postback result: " & postbackresult into tresult put "Content-Type: text/html" & cr & cr put tresult exit startup --end it here end if on the web page the following is displayed some problem was encountered...FAIL when I set up Website Payment Preferences, auto return is turned on, ruturn url set to http://www.gp-racing.com/cgi-bin/myPDT.cgi but when paypal sends the customer back to the above url there is nothing appended to the url, should there be? Or where does the above cgi fill theBuffer? From mikeythek at gmail.com Thu Aug 9 13:46:05 2007 From: mikeythek at gmail.com (Mikey) Date: Thu, 9 Aug 2007 13:46:05 -0400 Subject: [off]Hacking/Improving Rev, shells, etc. Message-ID: <9b408d8e0708091046y4e223bfdx2b6b008c0a8bf64c@mail.gmail.com> All, I've had a list of things I've wanted to to do RR for a while to improve it, but before I do I was hoping we could get a thread going briefly that has info. on the work that others have done to this point. Since RR is so easy to hack I'm assuming there are tons of these, so I was hoping that by getting this in a thread it would be possible to consolidate it for later. Despite the fact that I don't think it's the best way to go, I'm thinking of putting the info. on one of my (underutilized) blogs, although I'd ultimately like to get a wiki built for it. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From pevensen at siboneylg.com Thu Aug 9 13:47:00 2007 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 09 Aug 2007 12:47:00 -0500 Subject: Recording sounds -- delay in starting? In-Reply-To: References: <46B8DBB6.2010702@siboneylg.com> <9932BF80-09D8-4976-BD1B-84F3A48E3CCF@economy-x-talk.com> <46B8E0B2.1070407@siboneylg.com> <46B8EA96.1050500@siboneylg.com> Message-ID: <46BB5314.3090506@siboneylg.com> Bummer. At least things run a bit better on Visa, but I'm still experiencing a major slowdown on XP. I guess I'll put it in bugzilla. Trevor DeVore wrote: > On Aug 7, 2007, at 5:56 PM, Peter T. Evensen wrote: > >> Can the Advanced QT external be used to record without this delay? > > Peter, > > There are no recording functions built into the EnhancedQT external. > -- Peter T. Evensen Juice Plus+ Independent Distributor 314-629-5248 or 888-628-4588 http://www.PetersRoadToHealth.com From sunshine at public.kherson.ua Thu Aug 9 15:09:41 2007 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu, 09 Aug 2007 22:09:41 +0300 Subject: How display the contents of text file In-Reply-To: Message-ID: On 9/8/07 5:31 PM, "Kavitha" wrote: Hi Kavitha, > Just today I posted another question of how to give external references. I am > trying to connect Valentina 3 to Revolution . I am having difficulty in giving > the external references, I tried to give the reference through coding its not > working. I tried to find the file and no luck. I hope I am not bothering > you, can you please help me with this.? 1) you can prefer send question about Valentina to Valentina list. you can subscribe here: http://www.paradigmasoft.com/en/support 2) On this page you can find set of DOCS links related to V4REV http://www.paradigmasoft.com/en/products/documentation/V4REV And you may prefer first of all read this article for newbie's: 3) also you may find useful take a look on Trevor's dblibrary. it wraps Valentina and other dbs into nice API. -- 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 runrev at aboutmyfiles.com Thu Aug 9 16:27:41 2007 From: runrev at aboutmyfiles.com (Mark E. Powell) Date: Thu, 09 Aug 2007 20:27:41 +0000 Subject: Shell commands on Windows XP Home Edition Message-ID: I just learned the hard way that there are many shell commands that run under XP Pro that don't exist in XP Home (systeminfo and tasklist are my failures du jour). Three questions, please: First, (systemVersion = "NT 5.1") tells me only XP. Is there someway I can further distinguish Pro from Home? Second, if anyone has dealt with this phenomenon before I would like to know how you succeeded in infusing an XP Home client with XP Pro command line capability. Third, does a master cross-reference exist somewhere that enumerates what shell commands are compatible from Win 2000 through to Vista? Your help is greatly appreciated. Thanks. Mark From mikeythek at gmail.com Thu Aug 9 16:43:57 2007 From: mikeythek at gmail.com (Mikey) Date: Thu, 9 Aug 2007 16:43:57 -0400 Subject: closeStack and exit rr Message-ID: <9b408d8e0708091343j2fdec824i1eef0093fe574c3a@mail.gmail.com> I have a trap in the closeStack handler for a stack so I can figure out what the target of the message is (b/c stack also contains substacks). However, if I exit revolution the trap is ignored, as apparently is the rest of the closeStack handler for the parent stack. Is this true? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mwieder at ahsoftware.net Thu Aug 9 17:35:54 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 9 Aug 2007 14:35:54 -0700 Subject: Shell commands on Windows XP Home Edition References: Message-ID: Mark- > First, (systemVersion = "NT 5.1") tells me only XP. Is there someway I > can further distinguish Pro from Home? You might try something like get the number of lines of shell("systeminfo") if it > 2 then -- it's pro else -- it's home end if > Third, does a master cross-reference exist somewhere that enumerates what > shell commands are compatible from Win 2000 through to Vista? rotfl -- Mark Wieder mwieder at ahsoftware.net From kray at sonsothunder.com Thu Aug 9 19:44:30 2007 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 9 Aug 2007 18:44:30 -0500 Subject: Shell commands on Windows XP Home Edition In-Reply-To: References: Message-ID: <20070809184430504166.8944849d@sonsothunder.com> On Thu, 09 Aug 2007 20:27:41 +0000, Mark E. Powell wrote: > First, (systemVersion = "NT 5.1") tells me only XP. Is there someway > I can further distinguish Pro from Home? Well, you can read the data from the "prodspec.ini" file in the System32 directory, which is supposed to "never be modified or deleted". So you can do this: function XPType put (specialFolderPath(37) & "/prodspec.ini") into tINIFile if there is a file tINIFile then put url ("file:" & tINIFile) into tData if tData contains "Windows XP Professional" then return "Pro" else return "Home" end if else return "Error: File not found." end if end XPType > Second, if anyone has dealt with this phenomenon before I would like > to know how you succeeded in infusing an XP Home client with XP Pro > command line capability. Well, in some cases you're allowed to distribute certain command line apps with your distribution (you'd have to check Microsoft's site for that). But in general, I'd assume that if it's not on both versions, you should go with a third party utility you can bundle. > Third, does a master cross-reference exist somewhere that enumerates > what shell commands are compatible from Win 2000 through to Vista? Not AFAIK, but it would be great if someone knew where one was... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From arthur.rann at gmail.com Thu Aug 9 20:09:30 2007 From: arthur.rann at gmail.com (Arthur Rann) Date: Thu, 9 Aug 2007 19:09:30 -0500 Subject: Bug prevents Rev from building a standalone PC application Message-ID: <64bccb0c0708091709t31b3b427ya8a64b26de5e1585@mail.gmail.com> Hi, When I build a standalone with one of my rev files, I get the following error... There was an error while saving the standalone application 91,1520,21 77,1520,21 456,1520,8 198,1520,30 181,1520,30 252,1520,1 587,1494,1 241,1494,1,revCopyExternals 353,0,0,stack "revSaveAsStandalone" of stack "/Applications/Revolution Studio/2.8.1-gm3/Toolset/revstandalonesettings.rev" 573,299,1 490,294,1 241,294,1,revCreateStandalone 353,0,0,stack "revSaveAsStandalone" of stack "/Applications/Revolution Studio/2.8.1-gm3/Toolset/revstandalonesettings.rev" 573,119,1 ... What can I do? I already tried saving the project as a different one. I've also tried creating an entirely new blank project, and copying and pasting the first rev file's content into it. Both end in the above result. Thank you, Art From shoreagent at gmail.com Thu Aug 9 20:37:10 2007 From: shoreagent at gmail.com (william humphrey) Date: Thu, 9 Aug 2007 20:37:10 -0400 Subject: How display the contents of text file In-Reply-To: References: Message-ID: <459b22a90708091737q55fd99bftcee75b0aab81ef4b@mail.gmail.com> Trevor's library can be found here http://bluemangolearning.com/developer/revolution/ From arthur.rann at gmail.com Thu Aug 9 20:44:52 2007 From: arthur.rann at gmail.com (Arthur Rann) Date: Thu, 9 Aug 2007 19:44:52 -0500 Subject: Bug prevents Rev from building a standalone PC application In-Reply-To: <64bccb0c0708091709t31b3b427ya8a64b26de5e1585@mail.gmail.com> References: <64bccb0c0708091709t31b3b427ya8a64b26de5e1585@mail.gmail.com> Message-ID: <64bccb0c0708091744u242c86b3t924e7f6c4044dfd@mail.gmail.com> This is getting ridiculous. I just copied and pasted *3 lines of text* from the project that wouldn't build, into an older project that does, and blammo, neither will build now. Any suggestions? Thank you, Art From lists at mangomultimedia.com Thu Aug 9 21:58:26 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 9 Aug 2007 21:58:26 -0400 Subject: How display the contents of text file In-Reply-To: <459b22a90708091737q55fd99bftcee75b0aab81ef4b@mail.gmail.com> References: <459b22a90708091737q55fd99bftcee75b0aab81ef4b@mail.gmail.com> Message-ID: On Aug 9, 2007, at 8:37 PM, william humphrey wrote: > Trevor's library can be found here > > http://bluemangolearning.com/developer/revolution/ Ugh! You just reminded me that I need to fix the html for that section of the site. One of these days... :-) -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From irog at mac.com Fri Aug 10 00:39:24 2007 From: irog at mac.com (Roger Guay) Date: Thu, 9 Aug 2007 21:39:24 -0700 Subject: [ANN] Far_Out.Rev Message-ID: <828C0BDC-3C6E-4D91-AD2D-8A2BE3C8716A@mac.com> Hello Ol friends, I my attempt to gain some meaningful perspective into the incredible vastness of the cosmos, I constructed this modest stack called Far_Out.Rev. You can find it on revOnline under my name RogerG. Tell me what you think. All The Best, Roger From mdswindell at cruzio.com Fri Aug 10 01:32:02 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Thu, 9 Aug 2007 22:32:02 -0700 Subject: [ANN] Far_Out.Rev In-Reply-To: <828C0BDC-3C6E-4D91-AD2D-8A2BE3C8716A@mac.com> References: <828C0BDC-3C6E-4D91-AD2D-8A2BE3C8716A@mac.com> Message-ID: <0C99265C-1C04-4CC5-A0C2-72EBCD523A21@cruzio.com> Very nice! Thanks. Puts a bit of perspective on the "little things," doesn't it? Mark On Aug 9, 2007, at 9:39 PM, Roger Guay wrote: > Hello Ol friends, > > I my attempt to gain some meaningful perspective into the > incredible vastness of the cosmos, I constructed this modest stack > called Far_Out.Rev. You can find it on revOnline under my name RogerG. > > Tell me what you think. > > > All The Best, > Roger > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > "Many of life's failures are people who did not realize how close they were to success when they gave up." -Thomas Edison From jacque at hyperactivesw.com Fri Aug 10 01:51:42 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Aug 2007 00:51:42 -0500 Subject: Bug prevents Rev from building a standalone PC application In-Reply-To: <64bccb0c0708091744u242c86b3t924e7f6c4044dfd@mail.gmail.com> References: <64bccb0c0708091709t31b3b427ya8a64b26de5e1585@mail.gmail.com> <64bccb0c0708091744u242c86b3t924e7f6c4044dfd@mail.gmail.com> Message-ID: <46BBFCEE.7050207@hyperactivesw.com> Arthur Rann wrote: > This is getting ridiculous. I just copied and pasted *3 lines of text* > from the project that wouldn't build, into an older project that does, > and blammo, neither will build now. > > Any suggestions? Did you change any of the standalone settings after moving the text? Are the stacks password protected? It's okay to set a password in the standalone settings, but the build will fail if you've password protected the stack manually before building. If neither of these is the case, then send a copy of the stack that fails to . They can look at it on Monday and if there is anything wrong with the standalone builder it can be diagnosed and fixed. The support queue doesn't do well with large enclosures, so if the stack is large, it is better to include a link to a download stored on a server somewhere. The team can download the stack and see what's wrong. You shouldn't be getting errors like you describe. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From xavier.bury at clearstream.com Fri Aug 10 01:57:08 2007 From: xavier.bury at clearstream.com (xavier.bury at clearstream.com) Date: Fri, 10 Aug 2007 07:57:08 +0200 Subject: Bug prevents Rev from building a standalone PC application In-Reply-To: <46BBFCEE.7050207@hyperactivesw.com> Message-ID: Hi Jacquie and Arthur, Just wanted to say that i've encountered the same problem in Win2003 and 2.8.1 build 470. Nothing made it work and the rev install is totally clean - no mods or externals or anything. The script so basic i couldn't believe it. Compiled right away on Metacard... Regards, Xavier use-revolution-bounces at lists.runrev.com wrote on 10/08/2007 07:51:42: > Arthur Rann wrote: > > This is getting ridiculous. I just copied and pasted *3 lines of text* > > from the project that wouldn't build, into an older project that does, > > and blammo, neither will build now. > > > > Any suggestions? > > Did you change any of the standalone settings after moving the text? Are > the stacks password protected? It's okay to set a password in the > standalone settings, but the build will fail if you've password > protected the stack manually before building. > > If neither of these is the case, then send a copy of the stack that > fails to . They can look at it on Monday and if > there is anything wrong with the standalone builder it can be diagnosed > and fixed. > > The support queue doesn't do well with large enclosures, so if the stack > is large, it is better to include a link to a download stored on a > server somewhere. The team can download the stack and see what's wrong. > You shouldn't be getting errors like you describe. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ ---------------------------------------------------------------------------- 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 RC 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 scott at elementarysoftware.com Fri Aug 10 02:14:53 2007 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 9 Aug 2007 23:14:53 -0700 Subject: [ANN] Far_Out.Rev In-Reply-To: <828C0BDC-3C6E-4D91-AD2D-8A2BE3C8716A@mac.com> References: <828C0BDC-3C6E-4D91-AD2D-8A2BE3C8716A@mac.com> Message-ID: <8C4E2A19-07C9-495E-A492-D550783BEDB5@elementarysoftware.com> Roger, very lovely. Nice use of a slider! And it introduced me to your Moving Hand stack. Also very cool. Thanks for sharing. -Scott Morrow On Aug 9, 2007, at 9:39 PM, Roger Guay wrote: > Hello Ol friends, > > I my attempt to gain some meaningful perspective into the > incredible vastness of the cosmos, I constructed this modest stack > called Far_Out.Rev. You can find it on revOnline under my name RogerG. > > Tell me what you think. > > > All The Best, > Roger From mark at maseurope.net Fri Aug 10 06:25:17 2007 From: mark at maseurope.net (Mark Smith) Date: Fri, 10 Aug 2007 11:25:17 +0100 Subject: [ANN] libUUID 0.3 Message-ID: <58E1300F-D2F0-403D-BB84-6C2AD77D6A18@maseurope.net> I've updated lubUUID to fix a bug that could lead to incorrect results on Windows. It's on RevOnline, or : http://www.futility.co.uk/futsoft/ revolutionstuff.html Best, Mark From m.schonewille at economy-x-talk.com Fri Aug 10 07:10:26 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 10 Aug 2007 13:10:26 +0200 Subject: Bug prevents Rev from building a standalone PC application In-Reply-To: <64bccb0c0708091709t31b3b427ya8a64b26de5e1585@mail.gmail.com> References: <64bccb0c0708091709t31b3b427ya8a64b26de5e1585@mail.gmail.com> Message-ID: <02227D18-183D-4A7C-A909-C6F888A012D8@economy-x-talk.com> Hi Arthur, It looks like a stack could not be found. If you remove all Standalone Builder properties (cREVStandaloneSettings) from your stack and subsequently enter the standalone builder settings again, the problem should be solved. It is also possible that somehow a library or other Revolution component was deleted or moved to a different place. In that case, you will have to re-install Revolution. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 10-aug-2007, om 2:09 heeft Arthur Rann het volgende geschreven: > Hi, > > When I build a standalone with one of my rev files, I get the > following error... > > There was an error while saving the standalone application > 91,1520,21 > 77,1520,21 > 456,1520,8 > 198,1520,30 > 181,1520,30 > 252,1520,1 > 587,1494,1 > 241,1494,1,revCopyExternals > 353,0,0,stack "revSaveAsStandalone" of stack "/Applications/Revolution > Studio/2.8.1-gm3/Toolset/revstandalonesettings.rev" > 573,299,1 > 490,294,1 > 241,294,1,revCreateStandalone > 353,0,0,stack "revSaveAsStandalone" of stack "/Applications/Revolution > Studio/2.8.1-gm3/Toolset/revstandalonesettings.rev" > 573,119,1 > > > ... What can I do? I already tried saving the project as a different > one. I've also tried creating an entirely new blank project, and > copying and pasting the first rev file's content into it. > > Both end in the above result. > > Thank you, > Art > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Fri Aug 10 10:14:22 2007 From: mikeythek at gmail.com (Mikey) Date: Fri, 10 Aug 2007 10:14:22 -0400 Subject: Making stack usable but not savable Message-ID: <9b408d8e0708100714y49c9318coc17d6f4b7c5f2dc4@mail.gmail.com> Is there some way to read-only a stack but not do it in such a way as to make fields and the like unusable? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mikeythek at gmail.com Fri Aug 10 10:26:24 2007 From: mikeythek at gmail.com (Mikey) Date: Fri, 10 Aug 2007 10:26:24 -0400 Subject: Table Fields Message-ID: <9b408d8e0708100726p2eed0cbkbc7e1a012a2383a9@mail.gmail.com> Is there any information on table fields available anywhere? Is there a substitute that I should be exploring? Is my best option going to be to drop a bunch of scrollable fields next to each other and manually scroll them? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From m.schonewille at economy-x-talk.com Fri Aug 10 10:39:38 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 10 Aug 2007 16:39:38 +0200 Subject: Making stack usable but not savable In-Reply-To: <9b408d8e0708100714y49c9318coc17d6f4b7c5f2dc4@mail.gmail.com> References: <9b408d8e0708100714y49c9318coc17d6f4b7c5f2dc4@mail.gmail.com> Message-ID: <701C4D8D-F628-455C-A0C8-7DD198627E62@economy-x-talk.com> Dear Mikey, set the cantModify of stack "Stack Name" to true Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 10-aug-2007, om 16:14 heeft Mikey het volgende geschreven: > Is there some way to read-only a stack but not do it in such a way as > to make fields and the like unusable? From ambassador at fourthworld.com Fri Aug 10 12:21:29 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Aug 2007 09:21:29 -0700 Subject: Making stack usable but not savable Message-ID: <46BC9089.2010608@fourthworld.com> Mark Schonewille wrote: > Op 10-aug-2007, om 16:14 heeft Mikey het volgende geschreven: > >> Is there some way to read-only a stack but not do it in such a way as >> to make fields and the like unusable? > > set the cantModify of stack "Stack Name" to true The cantmodify will certainly prevent unwanted saves, but it may be worth noting that saving is always under the developer's control anyway. This is in contrast to HyperCard and SuperCard, which automatically save and you have no control over it. But with Rev, saving only occurs if you issue a save command a stack isn't saved when it's closed, so subsequent sessions will continue to show the stack in the same state as when you had last saved it, regardless of any changes made without a save command. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From len-morgan at crcom.net Fri Aug 10 12:41:42 2007 From: len-morgan at crcom.net (Len Morgan) Date: Fri, 10 Aug 2007 11:41:42 -0500 Subject: Saving Image Data Message-ID: <46BC9546.4080404@crcom.net> Hello all. I think I've got a simple one this time. I've got an image that I captured off of a video camera (using revVideoFrameImage) and it's put into an image object. What I'd like to do now is save that image as a jpeg file. I saved the data as URL "binfile:/snapshot.jpg" but it gives me an "invalid format" message if I try and open it with another program. What am I missing? Also, is there a way to improve the image? I'm getting vertical stripes in the captured image that are not in the video image as the camera is rolling. Thanks in advance, Len Morgan From m.schonewille at economy-x-talk.com Fri Aug 10 12:46:49 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 10 Aug 2007 18:46:49 +0200 Subject: Saving Image Data In-Reply-To: <46BC9546.4080404@crcom.net> References: <46BC9546.4080404@crcom.net> Message-ID: Hi Len, What you are exporting is not a JPEG but... ehr... image data! You need to use the export command: export paint to file "Picture" with mask "../circlemask" export JPEG to URL "binfile:next.jpg" export image "Parachute" to myVariable as GIF export image thisImage to file "Thumbnail" as PNG Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 10-aug-2007, om 18:41 heeft Len Morgan het volgende geschreven: > Hello all. > > I think I've got a simple one this time. I've got an image that I > captured off of a video camera (using revVideoFrameImage) and it's > put into an image object. What I'd like to do now is save that > image as a jpeg file. I saved the data as URL "binfile:/ > snapshot.jpg" but it gives me an "invalid format" message if I try > and open it with another program. > > What am I missing? > > Also, is there a way to improve the image? I'm getting vertical > stripes in the captured image that are not in the video image as > the camera is rolling. > > Thanks in advance, > > 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 mikeythek at gmail.com Fri Aug 10 13:21:41 2007 From: mikeythek at gmail.com (Mikey) Date: Fri, 10 Aug 2007 13:21:41 -0400 Subject: Making stack usable but not savable In-Reply-To: <46BC9089.2010608@fourthworld.com> References: <46BC9089.2010608@fourthworld.com> Message-ID: <9b408d8e0708101021t4e89d504x31535ef8e38c2815@mail.gmail.com> I guess what I'm trying to do is to stop the user from saving changes. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From robmann at gp-racing.com Fri Aug 10 13:26:11 2007 From: robmann at gp-racing.com (Robert Mann) Date: Fri, 10 Aug 2007 13:26:11 -0400 Subject: testing CGI help? Message-ID: How do I find out if in the following theBuffer is empty? #!Linux --| PayPal PDT CGI --| (c)Thomas McCarthy --| speakup at mac --| March 1, 2006 --| Used to present a web page to customers on startup --StartCGI --read info put $QUERY_STRING into theBuffer put theBuffer into theTermsArray --keep the original info. put "myLibUrl.rev" into theStack start using stack theStack put the result into tresult split theTermsArray by "&" and "=" put theTermsArray["tx"] into tvalue put "cmd=_notify-synch" into tnotify put "&tx=" & tvalue into tToken From ambassador at fourthworld.com Fri Aug 10 13:42:25 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Aug 2007 10:42:25 -0700 Subject: Making stack usable but not savable Message-ID: <46BCA381.7050008@fourthworld.com> Mikey wrote: > I guess what I'm trying to do is to stop the user from saving changes. Don't provide a way to save and you're set. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mikeythek at gmail.com Fri Aug 10 14:08:57 2007 From: mikeythek at gmail.com (Mikey) Date: Fri, 10 Aug 2007 14:08:57 -0400 Subject: Making stack usable but not savable In-Reply-To: <46BCA381.7050008@fourthworld.com> References: <46BCA381.7050008@fourthworld.com> Message-ID: <9b408d8e0708101108v5fae5efbu2fb135a0154c6e41@mail.gmail.com> The question is how do we prevent them from having a way? Every time I exit a stack it asks if I want to save - so when I distribute that doesn't happen any longer? Man this whole trying-to-leave-HC-behind thing is making me feel OLD From mikeythek at gmail.com Fri Aug 10 14:28:46 2007 From: mikeythek at gmail.com (Mikey) Date: Fri, 10 Aug 2007 14:28:46 -0400 Subject: faxing from RR Message-ID: <9b408d8e0708101128r621b3279x4756d2026904102d@mail.gmail.com> Do we have a solution for sending faxes from RR? Mac or Windows platform, please, or both. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From pevensen at siboneylg.com Fri Aug 10 14:51:58 2007 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Fri, 10 Aug 2007 13:51:58 -0500 Subject: faxing from RR In-Reply-To: <9b408d8e0708101128r621b3279x4756d2026904102d@mail.gmail.com> References: <9b408d8e0708101128r621b3279x4756d2026904102d@mail.gmail.com> Message-ID: <46BCB3CE.9070801@siboneylg.com> I think that typically, computer fax solutions operate link a print-driver, so they are independent of the application. The user simply choses the Fax as the output device (after it has been configured) and then one prints as usual. Mikey wrote: > Do we have a solution for sending faxes from RR? Mac or Windows > platform, please, or both. > > -- Peter T. Evensen Juice Plus+ Independent Distributor 314-629-5248 or 888-628-4588 http://www.PetersRoadToHealth.com From ambassador at fourthworld.com Fri Aug 10 15:02:57 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Aug 2007 12:02:57 -0700 Subject: Making stack usable but not savable Message-ID: <46BCB661.3050001@fourthworld.com> Mikey wrote: > The question is how do we prevent them from having a way? Every time > I exit a stack it asks if I want to save - so when I distribute that > doesn't happen any longer? > > Man this whole trying-to-leave-HC-behind thing is making me feel OLD Is this stack to be distributed to end-users with your own standalone, or for use by other Rev users within the Rev IDE? While it's true that the Rev IDE will prompt for a save whenever a stack has changed, that behavior is unique to the IDE and not an inherent engine behavior. You'll find that closing a stack in a standalone will not prompt for a save, and no changes will be written to disk as long as no save command is issued. Opening the same stack within the current session will preserve any changes as long as the stack's destroyStack property is set to false. If set to true, then closing the stack will also purge it from memory and opening it again later within the same session will cause it to be read fresh from disk. But regardless of the setting of the destroyStack property, closing a stack and then quitting without issuing any save command will not affect the stack file on disk, and re-opening it again after re-launching your standalone will show it in its preserved pristine state. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From mikeythek at gmail.com Fri Aug 10 15:09:52 2007 From: mikeythek at gmail.com (Mikey) Date: Fri, 10 Aug 2007 15:09:52 -0400 Subject: faxing from RR In-Reply-To: <46BCB3CE.9070801@siboneylg.com> References: <9b408d8e0708101128r621b3279x4756d2026904102d@mail.gmail.com> <46BCB3CE.9070801@siboneylg.com> Message-ID: <9b408d8e0708101209s3ac3ab57ld122654f928cbfc6@mail.gmail.com> You know, history just keeps getting in the way. OK. I have an application that uses FaxSTF and HC externals that's...mature. Anyway, there were externals for STF that enabled one to control the fax process - switch the printer to the fax, put in a number to fax to, pick cover pages, send, etc. That's what I'm looking for - a way to hide all that other crap from the users. From m.schonewille at economy-x-talk.com Fri Aug 10 17:16:40 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 10 Aug 2007 23:16:40 +0200 Subject: testing CGI help? In-Reply-To: References: Message-ID: <0E69E6EC-E658-4185-9CF2-421720287190@economy-x-talk.com> Hi Robert, Maybe something like this? if theBuffer is empty then put "Error: no data returned" else -- remainder of script end if Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 10-aug-2007, om 19:26 heeft Robert Mann het volgende geschreven: > How do I find out if in the following theBuffer is empty? > > > > #!Linux > > > > --| PayPal PDT CGI > > --| (c)Thomas McCarthy > > --| speakup at mac > > --| March 1, 2006 > > --| Used to present a web page to customers > > > > on startup > > --StartCGI > > --read info > > put $QUERY_STRING into theBuffer > > put theBuffer into theTermsArray --keep the original info. > > put "myLibUrl.rev" into theStack > > start using stack theStack > > put the result into tresult > > split theTermsArray by "&" and "=" > > put theTermsArray["tx"] into tvalue > > put "cmd=_notify-synch" into tnotify > > put "&tx=" & tvalue into tToken > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From SimPLsol at aol.com Fri Aug 10 17:32:47 2007 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Fri, 10 Aug 2007 17:32:47 EDT Subject: [ANN] Far_Out.Rev Message-ID: Roger, I like it a lot! Thank you. Paul Looney ************************************** Get a sneak peek of the all-new AOL at http://discover.aol.com/memed/aolcom30tour From robmann at gp-racing.com Fri Aug 10 17:41:36 2007 From: robmann at gp-racing.com (Robert Mann) Date: Fri, 10 Aug 2007 17:41:36 -0400 Subject: testing CGI help? In-Reply-To: <0E69E6EC-E658-4185-9CF2-421720287190@economy-x-talk.com> Message-ID: I have tried like that but I am not sure where it is suppose to get filled from? It is empty checking like you suggest? Should the return URL from paypal have something like http://www.gp-racing.com/cgi-bin/myPDT.cgi?theBuffer if so the URL sent back by paypal has nothing after .cgi -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mark Schonewille Sent: Friday, August 10, 2007 5:17 PM To: How to use Revolution Subject: Re: testing CGI help? Hi Robert, Maybe something like this? if theBuffer is empty then put "Error: no data returned" else -- remainder of script end if Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 10-aug-2007, om 19:26 heeft Robert Mann het volgende geschreven: > How do I find out if in the following theBuffer is empty? > > > > #!Linux > > > > --| PayPal PDT CGI > > --| (c)Thomas McCarthy > > --| speakup at mac > > --| March 1, 2006 > > --| Used to present a web page to customers > > > > on startup > > --StartCGI > > --read info > > put $QUERY_STRING into theBuffer > > put theBuffer into theTermsArray --keep the original info. > > put "myLibUrl.rev" into theStack > > start using stack theStack > > put the result into tresult > > split theTermsArray by "&" and "=" > > put theTermsArray["tx"] into tvalue > > put "cmd=_notify-synch" into tnotify > > put "&tx=" & tvalue into tToken > > _______________________________________________ > use-revolution mailing list > use-revolution 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 mikeythek at gmail.com Fri Aug 10 17:58:37 2007 From: mikeythek at gmail.com (Mikey) Date: Fri, 10 Aug 2007 17:58:37 -0400 Subject: reporting engine Message-ID: <9b408d8e0708101458i3b21eecdv5a77ded24f79fcc8@mail.gmail.com> Man it feels like I'm just flying into this. I remember there has been discussion on and off about a couple of reporting engines for RR. Does anybody have any experiences to share before I start looking? Thanks. Mike. From toolbook at kestner.de Sat Aug 11 05:51:03 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Sat, 11 Aug 2007 11:51:03 +0200 Subject: Clipboard destroys png file on XP Home! Message-ID: <004d01c7dbfd$226260f0$18b2a8c0@TiemoPC2> Hello, I have an app with png images where the user can copy the image to the clipboard and past it into any other program. There are two different ways I do it in different situation: 1. set the imagedata of img "imgClipboard1" to the imagedata of img "imgBild1" 2. export snapshot from grp "grpClipboard" to tClipboardImage as PNG set the clipboarddata["image"] to tClipboardImage Both ways work fine on my and all other test computers (win and Mac) I have tested. Now I get a feedback of a customer (Win XP Home, SP2), that he gets only a black square inserted in word and paint programms, instead of the copied image. Has anybody ever seen this issue on Windows and knows any solution? Hopefully missing driver on the PC or something like that, because I can't change the code, the CD are burned :-( Thanks for any hint Tiemo From bvg at mac.com Sat Aug 11 06:09:19 2007 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 11 Aug 2007 12:09:19 +0200 Subject: making one pixel with a graphic Message-ID: I am trying to make chars using rev's polygons, but can't make it show one pixel on it's own. This is due to the way it antialiases, reducing the pixel to nothing. Pixel shows fine when antialiasing is shut off. However, I do need antialiasing. Any possibility for this to work? (many chars do have just one pixel in most fonts, eg: ?!.:;ij) -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From mikekann at yahoo.com Sat Aug 11 12:14:27 2007 From: mikekann at yahoo.com (Michael Kann) Date: Sat, 11 Aug 2007 09:14:27 -0700 (PDT) Subject: Shell commands on Windows XP Home Edition In-Reply-To: <20070810170010.78AD848987F@mail.runrev.com> Message-ID: <132912.58660.qm@web56705.mail.re3.yahoo.com> Here's a list of commands for XP Pro: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?mfr=true I haven't found the Home Edition list yet. Michael Kann ____________________________________________________________________________________ Pinpoint customers who are looking for what you sell. http://searchmarketing.yahoo.com/ From mdswindell at cruzio.com Sat Aug 11 12:47:57 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Sat, 11 Aug 2007 09:47:57 -0700 Subject: drawer question Message-ID: I want a drawer stack to appear to the right of my main stack, IGI. Main Stack = IGI Substack = Guess Substack = AnimalList Script of button on substack "Guess" reads: on mouseUp drawer stack "Animallist" at right of stack "IGI" end mouseUp But: The drawer stack only slides out of the substack "Guess," not the main stack "IGI" (and on the left, I might add). What is wrong with my command? Thanks, Mark OS X 10.4 Rev 2.8.1 From kray at sonsothunder.com Sat Aug 11 16:17:08 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 11 Aug 2007 15:17:08 -0500 Subject: Clipboard destroys png file on XP Home! In-Reply-To: <004d01c7dbfd$226260f0$18b2a8c0@TiemoPC2> References: <004d01c7dbfd$226260f0$18b2a8c0@TiemoPC2> Message-ID: <20070811151708155943.0463b095@sonsothunder.com> On Sat, 11 Aug 2007 11:51:03 +0200, Tiemo Hollmann TB wrote: > Hello, > Both ways work fine on my and all other test computers (win and Mac) I have > tested. Now I get a feedback of a customer (Win XP Home, SP2), that he gets > only a black square inserted in word and paint programms, instead of the > copied image. Have you gotten feedback from any other customer? If not, and you're interested, send me a copy offlist and I'll test it - I have both XP Home and Pro and can let you know if I get the black square as well. > Has anybody ever seen this issue on Windows and knows any solution? > Hopefully missing driver on the PC or something like that, because I can't > change the code, the CD are burned :-( I haven't seen it personally. Could it be possibly the color depth he has his monitor set to? Or maybe an old graphics card? (I'm grasping at straws...) Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jeff at siphonophore.com Sat Aug 11 17:00:21 2007 From: jeff at siphonophore.com (Jeff Reynolds) Date: Sat, 11 Aug 2007 17:00:21 -0400 Subject: using mci send string for audio and video on windows In-Reply-To: <20070803170005.11ADD489281@mail.runrev.com> References: <20070803170005.11ADD489281@mail.runrev.com> Message-ID: <8D1A6ADC-5847-452C-BBF7-68E3CF13638B@siphonophore.com> Hi, We are looking at the idea of running our little kids cdroms on the windows platforms w/o quicktime and using mcisendstring commands to play wmp video files on the pc side (we will use qt versions on the mac site). also use mcisendstring to play audio wav files on the pc side also. Question is how steady is using mci string commands on all the various windows oses? It feels like i may be asking for a lot of trouble here. I makes things soooo much easier to let quicktime do the work on both platforms (rev does well keeping things pretty much the same on both sides of the world), but we have problems with very novice users on pc not being able to figure out how to install quicktime and also a lot of school systems have software installation blocks which makes it really hard to use anything that requires any installation like quicktime on pcs... Has anyone had luck with doing qt on the mac and mci on the pc for playing video/audio like this? has it made your life miserable with a lot of platform specific coding/testing? feels like a world of hurt to me... thanks jeff reynolds From scott at elementarysoftware.com Sat Aug 11 18:13:42 2007 From: scott at elementarysoftware.com (Scott Morrow) Date: Sat, 11 Aug 2007 15:13:42 -0700 Subject: drawer question In-Reply-To: References: Message-ID: <47824E65-8BA5-4A3F-9BBF-1F2568DDA39A@elementarysoftware.com> Mark, Try using the word "in" rather than "of" drawer stack "AnimalList" at right in stack "IGI" (note: drawers are broken in 2.8.1 if you run on OSX versions before 10.4) -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- On Aug 11, 2007, at 9:47 AM, Mark Swindell wrote: > I want a drawer stack to appear to the right of my main stack, IGI. > > Main Stack = IGI > Substack = Guess > Substack = AnimalList > > Script of button on substack "Guess" reads: > > on mouseUp > drawer stack "Animallist" at right of stack "IGI" > end mouseUp > > But: > The drawer stack only slides out of the substack "Guess," not the > main stack "IGI" (and on the left, I might add). > > What is wrong with my command? > > Thanks, > Mark > OS X 10.4 > Rev 2.8.1 From mdswindell at cruzio.com Sat Aug 11 20:50:38 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Sat, 11 Aug 2007 17:50:38 -0700 Subject: drawer question In-Reply-To: <47824E65-8BA5-4A3F-9BBF-1F2568DDA39A@elementarysoftware.com> References: <47824E65-8BA5-4A3F-9BBF-1F2568DDA39A@elementarysoftware.com> Message-ID: Scott, Thanks, "IN" did the trick. The docs show either "of" or "in" as possibilities, now that I look closer, but "of" doesn't work in my case. Hopefully that will be corrected in a future edit. Also odd is the fact that the command ran, but improperly, showing the drawer connected to the wrong window, and on the wrong side of the window. Mark Syntax: drawer stack {[at] left | bottom | right} [{of | in} parentStack] [aligned [to] {left | right | top | bottom | center}] Summary: Displays a stack as a drawer of another stack. Examples: drawer stack "Recent Transactions" at right drawer stack "Tips" at left of stack "Main" aligned to top drawer me at bottom aligned to left drawer stack "Help List" at right of this stack drawer stack "Connections" at right aligned to center On Aug 11, 2007, at 3:13 PM, Scott Morrow wrote: > Mark, > > Try using the word "in" rather than "of" > > drawer stack "AnimalList" at right in stack "IGI" > > (note: drawers are broken in 2.8.1 if you run on OSX versions > before 10.4) > > -Scott Morrow > > Elementary Software > (Now with 20% less chalk dust !) > web http://elementarysoftware.com/ > email scott at elementarysoftware.com > > ----------------------------------------------------------------- > > On Aug 11, 2007, at 9:47 AM, Mark Swindell wrote: > >> I want a drawer stack to appear to the right of my main stack, IGI. >> >> Main Stack = IGI >> Substack = Guess >> Substack = AnimalList >> >> Script of button on substack "Guess" reads: >> >> on mouseUp >> drawer stack "Animallist" at right of stack "IGI" >> end mouseUp >> >> But: >> The drawer stack only slides out of the substack "Guess," not the >> main stack "IGI" (and on the left, I might add). >> >> What is wrong with my command? >> >> Thanks, >> Mark >> OS X 10.4 >> Rev 2.8.1 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > "Many of life's failures are people who did not realize how close they were to success when they gave up." -Thomas Edison From scott at elementarysoftware.com Sat Aug 11 22:38:28 2007 From: scott at elementarysoftware.com (Scott Morrow) Date: Sat, 11 Aug 2007 19:38:28 -0700 Subject: drawer question In-Reply-To: References: <47824E65-8BA5-4A3F-9BBF-1F2568DDA39A@elementarysoftware.com> Message-ID: Mark, I feel your pain... drawers can be a frustration. Did I mention that they stopped working below OSX 10.4 after rev 2.6.1 : ) Several experienced folks on this list suggest that in many cases it might be wiser to resize the window (see: revChangeWindowSize) with some graphics added in order to simulate a drawer. (This works quite well as long as the drawer is on the bottom or the right.)And while this is of course necessary for achieving a universally similar effect across platforms, it seems unfortunate to lose such an elegant "native" solution in OSX. -Scott On Aug 11, 2007, at 5:50 PM, Mark Swindell wrote: > Scott, > Thanks, "IN" did the trick. The docs show either "of" or "in" as > possibilities, now that I look closer, but "of" doesn't work in my > case. Hopefully that will be corrected in a future edit. Also odd > is the fact that the command ran, but improperly, showing the > drawer connected to the wrong window, and on the wrong side of the > window. > Mark > > Syntax: > drawer stack {[at] left | bottom | right} [{of | in} parentStack] > [aligned [to] {left | right | top | bottom | center}] > > Summary: > Displays a stack as a drawer of another stack. > > Examples: > drawer stack "Recent Transactions" at right > drawer stack "Tips" at left of stack "Main" aligned to top > drawer me at bottom aligned to left > drawer stack "Help List" at right of this stack > drawer stack "Connections" at right aligned to center > > On Aug 11, 2007, at 3:13 PM, Scott Morrow wrote: > >> Mark, >> >> Try using the word "in" rather than "of" >> >> drawer stack "AnimalList" at right in stack "IGI" >> >> (note: drawers are broken in 2.8.1 if you run on OSX versions >> before 10.4) >> >> -Scott Morrow >> >> Elementary Software >> (Now with 20% less chalk dust !) >> web http://elementarysoftware.com/ >> email scott at elementarysoftware.com >> >> ----------------------------------------------------------------- >> >> On Aug 11, 2007, at 9:47 AM, Mark Swindell wrote: >> >>> I want a drawer stack to appear to the right of my main stack, IGI. >>> >>> Main Stack = IGI >>> Substack = Guess >>> Substack = AnimalList >>> >>> Script of button on substack "Guess" reads: >>> >>> on mouseUp >>> drawer stack "Animallist" at right of stack "IGI" >>> end mouseUp >>> >>> But: >>> The drawer stack only slides out of the substack "Guess," not the >>> main stack "IGI" (and on the left, I might add). >>> >>> What is wrong with my command? >>> >>> Thanks, >>> Mark >>> OS X 10.4 >>> Rev 2.8.1 > "Many of life's failures are people who did not realize how close > they were to success when they gave up." > -Thomas Edison From arthur.rann at gmail.com Sun Aug 12 02:24:37 2007 From: arthur.rann at gmail.com (Arthur Rann) Date: Sun, 12 Aug 2007 01:24:37 -0500 Subject: Resolved--> Re: Bug prevents Rev from building a standalone PC application Message-ID: <64bccb0c0708112324j7b467bd4ma76f05931ac5bf17@mail.gmail.com> Hi, First, thank you everyone who tried to help. In the end, it turned out to be something really quite weird. Since a few other people are seeing this bug creep up, I thought I'd post how I fixed it (at least here). Of course, I tried removing this, that, and the other, until I was left with a single card, with no scripts, no custom properties, nada. At that point, it was exactly the same as a blank, empty project. Except the name. The name was set to 'test.rev', which is the correct name of the stack. On a whim, I changed it to get rid of the '.rev' at the end, in the stack properties. I saved it, and it 'stuck'. I built, and wow--it builds! Only now, after it builds, the build process appears to rename it 'test.rev'. I don't get it. This isn't in the Finder, btw, the name there is always test.rev. I'm talking about the stack properties window. But now I know, if I want it to build, I have to rename it first. I have since retried this with the other demos, and they all build now, too. It seemed the simple act of opening the demo projects, and pasting text in, was enough to make Rev rename that stack property. I don't understand how, but it did. And ever since then, it's gone downhill. So now I have more questions than I had before, but at least it's working. So if you're having this problem, try changing the name of the stack in the stack properties window to not include the .rev extension and see if it builds that way. It does here! Thanks, Art From viktoras at ekoinf.net Sun Aug 12 10:03:07 2007 From: viktoras at ekoinf.net (viktoras didziulis) Date: Sun, 12 Aug 2007 17:03:07 +0300 Subject: including images from standard library... In-Reply-To: <4B021ED5-4BEB-41FB-B043-3E4055C1E8CD@sosmartsoftware.com> References: <46AB9E10.4010807@dreamscapesoftware.com> <46ABA22C.7080803@hyperactivesw.com> <46ABA3C6.6070100@dreamscapesoftware.com> <4B021ED5-4BEB-41FB-B043-3E4055C1E8CD@sosmartsoftware.com> Message-ID: <46BF131B.5040903@ekoinf.net> Hi, I use Revolution 2.6.1 to build executables (for Windows, MacOSX and Linux) that use images from Revolution's own standard image library. In a script images are referred to using their numeric id. Everything works within the IDE, but these images do not appear in the compiled application. How can I enforce the images from the standard library be imported during compilation of a stack ? Or is manual placement of these standard images on a stack the only way to do this? Best wishes Viktoras From robmann at gp-racing.com Sun Aug 12 10:08:48 2007 From: robmann at gp-racing.com (Robert Mann) Date: Sun, 12 Aug 2007 10:08:48 -0400 Subject: testing CGI help? paypal In-Reply-To: Message-ID: It took me a week but I figured out my problem. After some consulting with paypal support they told me to try the live site not sandbox, it did not work at first but then I went through and completely set up the business paypal account and it started to work. So not sure what part of the paypal setup that made it start to work. I am now trying to do the same with sandbox but not have much luck. From sanke at hrz.uni-kassel.de Sun Aug 12 12:08:32 2007 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sun, 12 Aug 2007 18:08:32 +0200 Subject: drawer question Message-ID: <46BF3080.3030705@hrz.uni-kassel.de> On Sat, Aug 11, 2007, Scott Morrow scott at elementarysoftware.com wrote: > Mark, > I feel your pain... drawers can be a frustration. Did I mention that > they stopped working below OSX 10.4 after rev 2.6.1 : ) > > Several experienced folks on this list suggest that in many cases it > might be wiser to resize the window (see: revChangeWindowSize) with > some graphics added in order to simulate a drawer. (This works quite > well as long as the drawer is on the bottom or the right.) > -Scott Those interested in creating their own drawer routines - without using the drawer commands - might have a look at my drawer stack from 2003 . It contains both such resize routines which Scott recommends in his post qoted above and the sliding out of substacks from any point and any side of a mainstack - even in diagonal directions. All these routines can be used also with older versions of Metacard and Revolution from before the introduction of the drawer commands. Regards, Wilhelm Sanke From jacque at hyperactivesw.com Sun Aug 12 12:15:26 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 Aug 2007 11:15:26 -0500 Subject: Resolved--> Re: Bug prevents Rev from building a standalone PC application In-Reply-To: <64bccb0c0708112324j7b467bd4ma76f05931ac5bf17@mail.gmail.com> References: <64bccb0c0708112324j7b467bd4ma76f05931ac5bf17@mail.gmail.com> Message-ID: <46BF321E.6020906@hyperactivesw.com> Arthur Rann wrote: > Of course, I tried removing this, that, and the other, until I was > left with a single card, with no scripts, no custom properties, nada. > At that point, it was exactly the same as a blank, empty project. > Except the name. > > The name was set to 'test.rev', which is the correct name of the > stack. On a whim, I changed it to get rid of the '.rev' at the end, in > the stack properties. I saved it, and it 'stuck'. I built, and wow--it > builds! Okay, that makes some sense to me. You can refer to a stack in a script by either its short name (the one in stack properties) or by its file path. Apparently the engine assumes that a stack name with an extension is a file path on disk. I can see how this might mess up the standalone builder, which probably always assumes that the short name is never a disk-based reference. Stack names in the property inspector should never include an extension, I suspect. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tominjapan at excite.com Sun Aug 12 13:07:06 2007 From: tominjapan at excite.com (Thomas McCarthy) Date: Sun, 12 Aug 2007 13:07:06 -0400 (EDT) Subject: testing CGI help? Message-ID: <20070812170707.1CC9291FC7@xprdmxin.myway.com> >How do I find out if in the following theBuffer is empty? --read info put $QUERY_STRING into theBuffer if theBuffer is empty then --do stuff here --for example, put "Hey! The buffer is empty!" into tresult --later, you can print tresult to a log file or display it. end if _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From mdswindell at cruzio.com Sun Aug 12 13:08:29 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Sun, 12 Aug 2007 10:08:29 -0700 Subject: drawer question In-Reply-To: <46BF3080.3030705@hrz.uni-kassel.de> References: <46BF3080.3030705@hrz.uni-kassel.de> Message-ID: Thanks Wilhelm and Scott. I've recrafted the effect I want using revChangeWindowSize, and it works nicely. I've never liked drawers very much, to tell the truth, but for this one application the idea of them is right. I think it is better implemented with the built-in routines, though, and now I don't have to monkey with anything for the Windows version. I looked at your stack yesterday after coming across it in Gmane, Wilhelm. Nice work. I've saved the stack for future reference. Mark On Aug 12, 2007, at 9:08 AM, Wilhelm Sanke wrote: > > On Sat, Aug 11, 2007, Scott Morrow scott at elementarysoftware.com > wrote: > > >> Mark, >> I feel your pain... drawers can be a frustration. Did I mention >> that they stopped working below OSX 10.4 after rev 2.6.1 : ) >> >> Several experienced folks on this list suggest that in many cases >> it might be wiser to resize the window (see: revChangeWindowSize) >> with some graphics added in order to simulate a drawer. (This >> works quite well as long as the drawer is on the bottom or the >> right.) >> -Scott > > > > Those interested in creating their own drawer routines - without > using the drawer commands - might have a look at my drawer stack > from 2003 > > . > > It contains both such resize routines which Scott recommends in his > post qoted above and the sliding out of substacks from any point > and any side of a mainstack - even in diagonal directions. > All these routines can be used also with older versions of Metacard > and Revolution from before the introduction of the drawer commands. > > 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 > There are a terrible lot of lies going around the world, and the worst of it is half of them are true. - Sir Winston Churchill From ambassador at fourthworld.com Sun Aug 12 13:33:52 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 12 Aug 2007 10:33:52 -0700 Subject: drawer question Message-ID: <46BF4480.1040309@fourthworld.com> With all the talk about drawers, it may be helpful to remember that disclosure triangles are still a recommended UI element in Apple's HIG: And unlike drawers, disclosure triangles are a common element on just about all other platforms too. Easy to implement, standard on all platforms, with no penalty for use on OS X. What's not to love? :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From revdev at pdslabs.net Sun Aug 12 15:58:30 2007 From: revdev at pdslabs.net (Phil Davis) Date: Sun, 12 Aug 2007 12:58:30 -0700 Subject: Resolved--> Re: Bug prevents Rev from building a standalone PC application In-Reply-To: <46BF321E.6020906@hyperactivesw.com> References: <64bccb0c0708112324j7b467bd4ma76f05931ac5bf17@mail.gmail.com> <46BF321E.6020906@hyperactivesw.com> Message-ID: <46BF6666.8060008@pdslabs.net> Along the same line - I discovered the other day that the Standalone Builder (2.8.1 gm3) will not (or would not in my case) build a standalone with a Rev file whose extension is not ".rev". Phil Davis J. Landman Gay wrote: > Arthur Rann wrote: > >> Of course, I tried removing this, that, and the other, until I was >> left with a single card, with no scripts, no custom properties, nada. >> At that point, it was exactly the same as a blank, empty project. >> Except the name. >> >> The name was set to 'test.rev', which is the correct name of the >> stack. On a whim, I changed it to get rid of the '.rev' at the end, in >> the stack properties. I saved it, and it 'stuck'. I built, and wow--it >> builds! > > Okay, that makes some sense to me. You can refer to a stack in a script > by either its short name (the one in stack properties) or by its file > path. Apparently the engine assumes that a stack name with an extension > is a file path on disk. I can see how this might mess up the standalone > builder, which probably always assumes that the short name is never a > disk-based reference. > > Stack names in the property inspector should never include an extension, > I suspect. > From sarah.reichelt at gmail.com Sun Aug 12 18:14:12 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 13 Aug 2007 08:14:12 +1000 Subject: including images from standard library... In-Reply-To: <46BF131B.5040903@ekoinf.net> References: <46AB9E10.4010807@dreamscapesoftware.com> <46ABA22C.7080803@hyperactivesw.com> <46ABA3C6.6070100@dreamscapesoftware.com> <4B021ED5-4BEB-41FB-B043-3E4055C1E8CD@sosmartsoftware.com> <46BF131B.5040903@ekoinf.net> Message-ID: > I use Revolution 2.6.1 to build executables (for Windows, MacOSX and > Linux) that use images from Revolution's own standard image library. In > a script images are referred to using their numeric id. Everything works > within the IDE, but these images do not appear in the compiled > application. How can I enforce the images from the standard library be > imported during compilation of a stack ? Or is manual placement of these > standard images on a stack the only way to do this? There used to be an option in the standalone builder to include these standard images, but that disappeared a while ago. It always seemed a bit extravagant to include every image when you on;y needed one or two anyway. My preference is to place the images in my stack, give them a high ID number so they cannot conflict with any standard icons, then hide them. After that your buttons can use them as icons whenever needed. Some people like to make a 2 card stack with all the images on the 2nd card, or to make a sub-stack that contains all their images. If you do either of these, then you don't have to hide them. I guess it just depends how many images you need to deal with. Cheers, Sarah From shoreagent at gmail.com Sun Aug 12 20:17:59 2007 From: shoreagent at gmail.com (william humphrey) Date: Sun, 12 Aug 2007 20:17:59 -0400 Subject: reporting engine In-Reply-To: <9b408d8e0708101458i3b21eecdv5a77ded24f79fcc8@mail.gmail.com> References: <9b408d8e0708101458i3b21eecdv5a77ded24f79fcc8@mail.gmail.com> Message-ID: <459b22a90708121717y402b142bp66645c437e81f940@mail.gmail.com> Hi Mike Have you tried Quartam reports? Bill From toolbook at kestner.de Mon Aug 13 03:24:45 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 13 Aug 2007 09:24:45 +0200 Subject: AW: Clipboard destroys png file on XP Home! In-Reply-To: <20070811151708155943.0463b095@sonsothunder.com> Message-ID: <000401c7dd7b$07032130$18b2a8c0@TiemoPC2> Thanks Ray, for your offer, I'll send you a file offlist. > > Have you gotten feedback from any other customer? If not, and you're > interested, send me a copy offlist and I'll test it - I have both XP > Home and Pro and can let you know if I get the black square as well. Not yet, but my product is just 4 days on the market > > I haven't seen it personally. Could it be possibly the color depth he > has his monitor set to? Or maybe an old graphics card? (I'm grasping at > straws...) The customer can save the same png to HD with my app and insert it from HD to Word and that works fine. So the problem only occurs when copying to and from Clipboard. Btw all images are b/w. Tiemo From lists at mangomultimedia.com Mon Aug 13 09:10:29 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 13 Aug 2007 09:10:29 -0400 Subject: using mci send string for audio and video on windows In-Reply-To: <8D1A6ADC-5847-452C-BBF7-68E3CF13638B@siphonophore.com> References: <20070803170005.11ADD489281@mail.runrev.com> <8D1A6ADC-5847-452C-BBF7-68E3CF13638B@siphonophore.com> Message-ID: <68C65BB7-955A-4BC9-A199-7EB281C40536@mangomultimedia.com> On Aug 11, 2007, at 5:00 PM, Jeff Reynolds wrote: > Question is how steady is using mci string commands on all the > various windows oses? It feels like i may be asking for a lot of > trouble here. I makes things soooo much easier to let quicktime do > the work on both platforms (rev does well keeping things pretty > much the same on both sides of the world), but we have problems > with very novice users on pc not being able to figure out how to > install quicktime and also a lot of school systems have software > installation blocks which makes it really hard to use anything that > requires any installation like quicktime on pcs... > > Has anyone had luck with doing qt on the mac and mci on the pc for > playing video/audio like this? has it made your life miserable with > a lot of platform specific coding/testing? feels like a world of > hurt to me... We have an application that started out using QuickTime and MCI (QT if available and it could open the file on Windows, MCI otherwise). This worked well until some students started showing up with some computers that would lock up when using MCI (any MCI, not just Rev). I think it was Dell widescreen laptops but I don't remember exactly. Unable to fix the issue with driver updates we ended up having to create an external that used DirectShow for playback of files that QT could not open on Windows. This all happened earlier this year and there may be some new video drivers that address the issue on those laptops and your target audience may not even use them. Just something to keep in mind and test for if you go the MCI route. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From mdswindell at cruzio.com Mon Aug 13 10:05:05 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Mon, 13 Aug 2007 07:05:05 -0700 Subject: using mci send string for audio and video on windows In-Reply-To: <68C65BB7-955A-4BC9-A199-7EB281C40536@mangomultimedia.com> References: <20070803170005.11ADD489281@mail.runrev.com> <8D1A6ADC-5847-452C-BBF7-68E3CF13638B@siphonophore.com> <68C65BB7-955A-4BC9-A199-7EB281C40536@mangomultimedia.com> Message-ID: Given the ubiqitous status of the ipod and itunes, you'd think Apple would do its best to see that at least Dells, HP's, and Gateways come with Quicktime installed (maybe they do, but it doesn't seem like it). Last year my son had to present a multimedia project for his 8th grade science and it was a major pain to get the teacher able to play the project back. Finally a student downloaded and installed Quicktime for her. Mark On Aug 13, 2007, at 6:10 AM, Trevor DeVore wrote: > On Aug 11, 2007, at 5:00 PM, Jeff Reynolds wrote: > >> Question is how steady is using mci string commands on all the >> various windows oses? It feels like i may be asking for a lot of >> trouble here. I makes things soooo much easier to let quicktime do >> the work on both platforms (rev does well keeping things pretty >> much the same on both sides of the world), but we have problems >> with very novice users on pc not being able to figure out how to >> install quicktime and also a lot of school systems have software >> installation blocks which makes it really hard to use anything >> that requires any installation like quicktime on pcs... >> >> Has anyone had luck with doing qt on the mac and mci on the pc for >> playing video/audio like this? has it made your life miserable >> with a lot of platform specific coding/testing? feels like a world >> of hurt to me... > > We have an application that started out using QuickTime and MCI (QT > if available and it could open the file on Windows, MCI otherwise). > This worked well until some students started showing up with some > computers that would lock up when using MCI (any MCI, not just > Rev). I think it was Dell widescreen laptops but I don't remember > exactly. Unable to fix the issue with driver updates we ended up > having to create an external that used DirectShow for playback of > files that QT could not open on Windows. > > This all happened earlier this year and there may be some new video > drivers that address the issue on those laptops and your target > audience may not even use them. Just something to keep in mind and > test for if you go the MCI route. > > -- > 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 > The future ain't what it used to be. - Yogi Berra From jgrubb75 at cybertrails.com Mon Aug 13 15:39:20 2007 From: jgrubb75 at cybertrails.com (jgrubb75 at cybertrails.com) Date: Mon, 13 Aug 2007 12:39:20 -0700 (MST) Subject: icons in a field Message-ID: <3065.66.53.220.1.1187033960.squirrel@webmail.cybertrails.com> Greetings, Is there any way to insert an icon image in a character position in a text field? If not, is there a way to superimpose an image in white space between a string of characters? I'm just starting to explore images. Thanks. John From m.schonewille at economy-x-talk.com Mon Aug 13 15:42:47 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 13 Aug 2007 21:42:47 +0200 Subject: icons in a field In-Reply-To: <3065.66.53.220.1.1187033960.squirrel@webmail.cybertrails.com> References: <3065.66.53.220.1.1187033960.squirrel@webmail.cybertrails.com> Message-ID: <0C200A45-DE43-4FC9-95E4-19D22CE17FEE@economy-x-talk.com> Hi John, Use the imageSource property: set the imageSource of char 1 of line 2 of field "This" to 2533 set the imageSource of char thisChar of field 1 to "Arrow" set the imageSource of last char of me to "binfile:My Image" Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 13-aug-2007, om 21:39 heeft jgrubb75 at cybertrails.com het volgende geschreven: > Greetings, > > Is there any way to insert an icon image in a character position in > a text > field? > If not, is there a way to superimpose an image in white space > between a > string of characters? > I'm just starting to explore images. > Thanks. > John From FlexibleLearning at aol.com Mon Aug 13 15:48:30 2007 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Mon, 13 Aug 2007 15:48:30 EDT Subject: Relative path parser Message-ID: Before I reinvent the wheel, as anyone written a relative path parser or know where I might find one? (I've written a simple 'hard-wired' relative path parser, but it's not comprehensive and would certainly not correctly handle complex paths) e.g. Given the effective filePath of the current stack, a parser that can convert these to absolute paths: ../../dox/myDoc.txt .././grcs/myGrc.png ./mymovie.mov ../mymovie.mov imgs/./local/myImg.jpg /H From wow at together.net Mon Aug 13 17:14:40 2007 From: wow at together.net (Richard Miller) Date: Mon, 13 Aug 2007 17:14:40 -0400 Subject: Sendmail on OSX through Rev In-Reply-To: References: Message-ID: We are using a dedicated Mac Mini as a server through an ISP. We've asked them for a way to send emails from the Mini so we can avoid using SMTP relay. This is the response they sent back. I'm hoping someone here can tell us how to implement this through Rev. "To generate emails from the Mini, you just need to call /usr/sbin/ sendmail or /usr/sbin/postfix withthe appropriate arguments. Turning on postfix as an SMTP server will only affect the Mini's ability to receive email. If you use '/usr/sbin/sendmail -t -oi' as the command, then you can feed it the appropriate headers (see below) and it will work." ----- To: [address here] From: [address here] Subject: [text here] X-Arbitrary-Header: [hi] [this line MUST be blank] This is where the body of the email goes... From jeff at siphonophore.com Mon Aug 13 17:24:49 2007 From: jeff at siphonophore.com (Jeff Reynolds) Date: Mon, 13 Aug 2007 17:24:49 -0400 Subject: using mci send string for audio and video on windows In-Reply-To: <20070813170005.457D8488E7E@mail.runrev.com> References: <20070813170005.457D8488E7E@mail.runrev.com> Message-ID: Trevor, Thanks this was my fear of using MCI controls. apple seems to do a good job of making sure it plays with most graphics and audio chip sets so that these drivers issues are not too much of a problem. Hate to get into having to do a lot of tech support with folks w/o quicktime on PCs. When we require QT and they have it successfully installed we have zero tech support (big thumbs up for Rev and QT!) In the education market you dont make the big bucks to support tech support like this, let alone the development time necessary for a split development process like this so it may not be in the cards to try this. May poke at it some to see how good/bad it works in general. Thanks again for your experience with it! cheers, jeff On Aug 13, 2007, at 1:00 PM, use-revolution-request at lists.runrev.com wrote: > > We have an application that started out using QuickTime and MCI (QT > if available and it could open the file on Windows, MCI otherwise). > This worked well until some students started showing up with some > computers that would lock up when using MCI (any MCI, not just Rev). > I think it was Dell widescreen laptops but I don't remember exactly. > Unable to fix the issue with driver updates we ended up having to > create an external that used DirectShow for playback of files that QT > could not open on Windows. > > This all happened earlier this year and there may be some new video > drivers that address the issue on those laptops and your target > audience may not even use them. Just something to keep in mind and > test for if you go the MCI route. From jeff at siphonophore.com Mon Aug 13 17:24:53 2007 From: jeff at siphonophore.com (Jeff Reynolds) Date: Mon, 13 Aug 2007 17:24:53 -0400 Subject: using mci send string for audio and video on windows In-Reply-To: <20070813170005.457D8488E7E@mail.runrev.com> References: <20070813170005.457D8488E7E@mail.runrev.com> Message-ID: <334B7D20-DF58-49AA-827D-D41CD8DF1D00@siphonophore.com> Mark, Yes it is amazing that a lot of systems out there still dont have it... Problem with school systems is lots of times PC labs are these all in one setups where all machines are the same and everything is installed from one master set of cds. they dont like doing anything thats not on those cds! We also have folks with a lot more fear on the PC side in downloading and installing something on their PC, even if its from a big company like Apple. the seem more worried about viruses and spyware than it just conflicting with something on their system (a legitimate worry). Its made life a bit tough on the education side with multimedia. Still really worry about having split development, that always ends up more work than you ever plan for in my experience! thanks jeff On Aug 13, 2007, at 1:00 PM, use-revolution-request at lists.runrev.com wrote: > Given the ubiqitous status of the ipod and itunes, you'd think Apple > would do its best to see that at least Dells, HP's, and Gateways come > with Quicktime installed (maybe they do, but it doesn't seem like > it). Last year my son had to present a multimedia project for his > 8th grade science and it was a major pain to get the teacher able to > play the project back. Finally a student downloaded and installed > Quicktime for her. > > Mark From andre at andregarzia.com Mon Aug 13 17:30:00 2007 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 13 Aug 2007 18:30:00 -0300 Subject: placing a group inside another using code... Message-ID: <7c87a2a10708131430s35ccefb0q4dfee27c5063d119@mail.gmail.com> Hello friends, I have a group in one stack and I want to copy it to another stack and put it inside another group, how should I do it? the copy command is ok to copy it from one stack to the other, but how do I add it to a group in there? Cheers andre From m.schonewille at economy-x-talk.com Mon Aug 13 17:34:32 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 13 Aug 2007 23:34:32 +0200 Subject: placing a group inside another using code... In-Reply-To: <7c87a2a10708131430s35ccefb0q4dfee27c5063d119@mail.gmail.com> References: <7c87a2a10708131430s35ccefb0q4dfee27c5063d119@mail.gmail.com> Message-ID: <0763120E-656B-43CF-A06A-052C8C2969FC@economy-x-talk.com> Hi Andre, copy grp "Your Group" of stack "Your Stack" to grp "Other Group" of stack "Other Stack" Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 13-aug-2007, om 23:30 heeft Andre Garzia het volgende geschreven: > Hello friends, > I have a group in one stack and I want to copy it to another stack > and put > it inside another group, how should I do it? > > the copy command is ok to copy it from one stack to the other, but > how do I > add it to a group in there? > > Cheers > andre From sarah.reichelt at gmail.com Mon Aug 13 17:35:22 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 14 Aug 2007 07:35:22 +1000 Subject: Sendmail on OSX through Rev In-Reply-To: References: Message-ID: On 8/14/07, Richard Miller wrote: > We are using a dedicated Mac Mini as a server through an ISP. We've > asked them for a way to send emails from the Mini so we can avoid > using SMTP relay. This is the response they sent back. I'm hoping > someone here can tell us how to implement this through Rev. > > "To generate emails from the Mini, you just need to call /usr/sbin/ > sendmail or /usr/sbin/postfix withthe appropriate arguments. Turning > on postfix as an SMTP server will only affect the Mini's ability to > receive email. I too have a dedicated Mac Mini running as a server, but I do use Postfix. People on the network set the Mini's IP address (or Rendezvous name) as their SMTP server and all emails get sent there first. If the emails match the domain name, then they get routed locally, otherwise they get relayed to an external SMTP server. For setting up Postfix &/or fetchmail, I highly recommend MailServe . It gives you a graphical interface to all the setup stuff. The author, Bernard Teo, was extremely helpful when I had some configuration problems. However if you do not want to use SMTP relay, then as your ISP says, you can use sendmail. I have a CGI script that does this, and I can send it to you if that would help. However it seems to me that the complication would be in receiving the mails from the rest of the network. If you set up Postfix's SMTP server, it handles the connections from other email clients and passes the emails on as required. If you want to send all mail on using sendmail, I would assume that you are going to have to write your own mail server to talk to all the mail clients. There may already be a command line program for doing this, but I haven't encountered it yet. Cheers, Sarah From andre at andregarzia.com Mon Aug 13 18:10:16 2007 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 13 Aug 2007 19:10:16 -0300 Subject: Sendmail on OSX through Rev In-Reply-To: References: Message-ID: <7c87a2a10708131510h7da0417ej1b7a31988b86e357@mail.gmail.com> Richard, fetch http://www.andregarzia.com/RevHTTP.zip and check the EasySendmail.revlibrary, it has this functions in there, you'll need to patch it for when the platform is MacOS, it tries to use qmail instead of sendmail which is used only for linux, but the functions are there. Cheers andre On 8/13/07, Richard Miller wrote: > > We are using a dedicated Mac Mini as a server through an ISP. We've > asked them for a way to send emails from the Mini so we can avoid > using SMTP relay. This is the response they sent back. I'm hoping > someone here can tell us how to implement this through Rev. > > "To generate emails from the Mini, you just need to call /usr/sbin/ > sendmail or /usr/sbin/postfix withthe appropriate arguments. Turning > on postfix as an SMTP server will only affect the Mini's ability to > receive email. > > If you use '/usr/sbin/sendmail -t -oi' as the command, then you can > feed it the appropriate headers (see below) and it will work." > > ----- > To: [address here] > From: [address here] > Subject: [text here] > X-Arbitrary-Header: [hi] > [this line MUST be blank] > This is where the body of the email goes... > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mikeythek at gmail.com Mon Aug 13 22:35:47 2007 From: mikeythek at gmail.com (Mikey) Date: Mon, 13 Aug 2007 22:35:47 -0400 Subject: debugger won't engage Message-ID: <9b408d8e0708131935l46b545c0hc28f5176440fe6eb@mail.gmail.com> I have a script for a particular object (on mouseMove) with a debug checkpoint set in it at the top of the handler. However, the debugger never kicks in (but the script runs). I have tried clearing and setting it, but it never kicks in. I have set a checkpoint in another script, and the debugger always kicks in. What should I be looking for when trying to determine why the debugger won't kick at the top of one handler but will for another? Again, the script executes, but the debugger never appears. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From andre at andregarzia.com Mon Aug 13 22:44:54 2007 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 13 Aug 2007 23:44:54 -0300 Subject: debugger won't engage In-Reply-To: <9b408d8e0708131935l46b545c0hc28f5176440fe6eb@mail.gmail.com> References: <9b408d8e0708131935l46b545c0hc28f5176440fe6eb@mail.gmail.com> Message-ID: <7c87a2a10708131944h4c8ec1cn2e8c6168b8c9e997@mail.gmail.com> I know this may sound dumb, but did you went to the development menu and selected "script debug mode"? without this debugger does not engage... On 8/13/07, Mikey wrote: > > I have a script for a particular object (on mouseMove) with a debug > checkpoint set in it at the top of the handler. However, the debugger > never kicks in (but the script runs). I have tried clearing and > setting it, but it never kicks in. I have set a checkpoint in another > script, and the debugger always kicks in. > > What should I be looking for when trying to determine why the debugger > won't kick at the top of one handler but will for another? Again, the > script executes, but the debugger never appears. > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From john at debraneys.com Mon Aug 13 23:06:28 2007 From: john at debraneys.com (john at debraneys.com) Date: Tue, 14 Aug 2007 03:06:28 +0000 Subject: debugger won't engage Message-ID: Dear Mike, If the the place where you have the debug checkpoint is inside an "if" or "switch" statement it may not be executed, that way the point is not triggered? It may be worth putting the breakpoint on the first or second line of the script? HTH Johnno > >On 8/13/07, Mikey wrote: >> >> I have a script for a particular object (on mouseMove) with a debug >> checkpoint set in it at the top of the handler. However, the debugger >> never kicks in (but the script runs). I have tried clearing and >> setting it, but it never kicks in. I have set a checkpoint in another >> script, and the debugger always kicks in. >> >> What should I be looking for when trying to determine why the debugger >> won't kick at the top of one handler but will for another? Again, the >> script executes, but the debugger never appears. >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > From wow at together.net Mon Aug 13 23:19:58 2007 From: wow at together.net (Richard Miller) Date: Mon, 13 Aug 2007 23:19:58 -0400 Subject: Sendmail on OSX through Rev In-Reply-To: <7c87a2a10708131510h7da0417ej1b7a31988b86e357@mail.gmail.com> References: <7c87a2a10708131510h7da0417ej1b7a31988b86e357@mail.gmail.com> Message-ID: <4F098F3E-3249-4791-B632-95D427566533@together.net> Andre, Gave it a whirl, but not much luck. It's probably me... can't quite get through your code enough to understand what's happening. Do I need to use the HTTP.rev stack or only the EasySendmail stack? Thanks. Richard On Aug 13, 2007, at 6:10 PM, Andre Garzia wrote: > Richard, > > fetch http://www.andregarzia.com/RevHTTP.zip and check the > EasySendmail.revlibrary, it has this functions in there, you'll need > to patch it for when > the platform is MacOS, it tries to use qmail instead of sendmail > which is > used only for linux, but the functions are there. > > Cheers > andre > > On 8/13/07, Richard Miller wrote: >> >> We are using a dedicated Mac Mini as a server through an ISP. We've >> asked them for a way to send emails from the Mini so we can avoid >> using SMTP relay. This is the response they sent back. I'm hoping >> someone here can tell us how to implement this through Rev. >> >> "To generate emails from the Mini, you just need to call /usr/sbin/ >> sendmail or /usr/sbin/postfix withthe appropriate arguments. Turning >> on postfix as an SMTP server will only affect the Mini's ability to >> receive email. >> >> If you use '/usr/sbin/sendmail -t -oi' as the command, then you can >> feed it the appropriate headers (see below) and it will work." >> >> ----- >> To: [address here] >> From: [address here] >> Subject: [text here] >> X-Arbitrary-Header: [hi] >> [this line MUST be blank] >> This is where the body of the email goes... >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From wow at together.net Mon Aug 13 23:57:27 2007 From: wow at together.net (Richard Miller) Date: Mon, 13 Aug 2007 23:57:27 -0400 Subject: Sendmail on OSX through Rev In-Reply-To: References: Message-ID: <1C8F24A5-4B1E-4393-BD0B-8070EAA9FC31@together.net> Thanks, Sarah. A bit too complicated for me to get into though. I'll stick with SMTP relays. Richard On Aug 13, 2007, at 5:35 PM, Sarah Reichelt wrote: > On 8/14/07, Richard Miller wrote: >> We are using a dedicated Mac Mini as a server through an ISP. We've >> asked them for a way to send emails from the Mini so we can avoid >> using SMTP relay. This is the response they sent back. I'm hoping >> someone here can tell us how to implement this through Rev. >> >> "To generate emails from the Mini, you just need to call /usr/sbin/ >> sendmail or /usr/sbin/postfix withthe appropriate arguments. Turning >> on postfix as an SMTP server will only affect the Mini's ability to >> receive email. > > I too have a dedicated Mac Mini running as a server, but I do use > Postfix. People on the network set the Mini's IP address (or > Rendezvous name) as their SMTP server and all emails get sent there > first. If the emails match the domain name, then they get routed > locally, otherwise they get relayed to an external SMTP server. For > setting up Postfix &/or fetchmail, I highly recommend MailServe > . It gives you a > graphical interface to all the setup stuff. The author, Bernard Teo, > was extremely helpful when I had some configuration problems. > > However if you do not want to use SMTP relay, then as your ISP says, > you can use sendmail. I have a CGI script that does this, and I can > send it to you if that would help. However it seems to me that the > complication would be in receiving the mails from the rest of the > network. If you set up Postfix's SMTP server, it handles the > connections from other email clients and passes the emails on as > required. If you want to send all mail on using sendmail, I would > assume that you are going to have to write your own mail server to > talk to all the mail clients. There may already be a command line > program for doing this, but I haven't encountered it yet. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JimAultWins at yahoo.com Tue Aug 14 01:23:57 2007 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 13 Aug 2007 22:23:57 -0700 Subject: debugger won't engage In-Reply-To: Message-ID: Try using the line breakpoint or do 'clear all breakpoints' then try copying the script, deleting the text, 'Apply', then paste in again, 'Apply'. See if this let's the debug work again. HTH Jim Ault Las Vegas On 8/13/07 8:06 PM, "john at debraneys.com" wrote: > Dear Mike, > > If the the place where you have the debug checkpoint is inside an "if" or > "switch" statement it may not be executed, that way the point is not > triggered? It may be worth putting the breakpoint on the first or second line > of the script? > > HTH > > Johnno >> >> On 8/13/07, Mikey wrote: >>> >>> I have a script for a particular object (on mouseMove) with a debug >>> checkpoint set in it at the top of the handler. However, the debugger >>> never kicks in (but the script runs). I have tried clearing and >>> setting it, but it never kicks in. I have set a checkpoint in another >>> script, and the debugger always kicks in. >>> >>> What should I be looking for when trying to determine why the debugger >>> won't kick at the top of one handler but will for another? Again, the >>> script executes, but the debugger never appears. >>> >>> -- >>> On the first day, God created the heavens and the Earth >>> On the second day, God created the oceans. >>> On the third day, God put the animals on hold for a few hours, >>> and did a little diving. >>> And God said, "This is good." >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution 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 dougivers at gmail.com Sat Aug 11 10:32:13 2007 From: dougivers at gmail.com (Douglas Ivers) Date: Sat, 11 Aug 2007 10:32:13 -0400 Subject: need Rev guru Message-ID: <0AC685BA-B286-433B-812C-1D3E3D5E1017@gmail.com> I'm looking for help from an experienced Rev developer. My stack is mostly functional, but I'm currently too busy with my day job and I've become rusty with xTalk. It might take me 40+ hours to get back up to speed and finish, but a Rev guru should be able to do it in 10-15 hr. The work mostly involves code clean up, making unicode work right for foreign languages (including proper sorting), and tying up windows-specific loose ends. I also want to release for Mac, but I'm more familiar with that side. If interested, please point me to examples of your work, especially if you've done anything with unicode and foreign language characters & fonts. Tell me your hourly rate and whether we can agree on a max amount up front. Thanks, -Douglas Ivers From dougivers at gmail.com Sat Aug 11 12:16:53 2007 From: dougivers at gmail.com (Douglas Ivers) Date: Sat, 11 Aug 2007 12:16:53 -0400 Subject: column view of hierarchical text Message-ID: <3C2FE9F2-D811-4A2C-89F2-1213AA3DC1FB@gmail.com> I want to display a hierarchy (think: outline) in the way that the Mac Finder does with column view. Note that I am NOT interested in displaying files and folders, rather outline text. I also want to be able to edit the text in the same view. Example: Fruit Vegetables Meat Dairy Grains When I click on one of these, a new column appears to the right that shows the children, and the parent topic is highlighted in the first column. Has anyone done this already in a Rev stack? As an alternative, I'd be interested in a view that uses triangles to collapse and expand children, but I don't want to have to scroll up to the parent in order to collapse the list of children. -Douglas Ivers From m.schonewille at economy-x-talk.com Tue Aug 14 08:27:18 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 14 Aug 2007 14:27:18 +0200 Subject: need Rev guru Message-ID: Hi Douglas, I have lots of experience with unicode and have created quite a few workarounds for unicode-related bugs in Revolution. I have created converters from and to unicode, dictionaries in Arabic, Chinese and other double-byte languages, and am involved in a few educational projects in the field of eastern languages. One example of a project I have given technical support is described in the Revolution newsletter: . You can find an Arabic dictionary running at (during office hours and only if the server is running). If your project really takes 10 to 15 hours, it might cost 240 euro to have me finish it. However, if you want proper sorting in Chinese and other Eastern languages, it is probably going to be slightly more expensive than that. Porting your project to the Mac platform is no problem for me, as I have done this before with other unicode projects. If possible, please send me your project files and let me have a look at them, before I send you the final quote. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Begin doorgestuurd bericht: > Van: Douglas Ivers > Datum: 11 augustus 2007 16:32:13 GMT+02:00 > Aan: use-revolution at lists.runrev.com > Onderwerp: need Rev guru > Antwoord aan: How to use Revolution > > I'm looking for help from an experienced Rev developer. My stack > is mostly functional, but I'm currently too busy with my day job > and I've become rusty with xTalk. It might take me 40+ hours to > get back up to speed and finish, but a Rev guru should be able to > do it in 10-15 hr. The work mostly involves code clean up, making > unicode work right for foreign languages (including proper > sorting), and tying up windows-specific loose ends. I also want to > release for Mac, but I'm more familiar with that side. > > If interested, please point me to examples of your work, especially > if you've done anything with unicode and foreign language > characters & fonts. Tell me your hourly rate and whether we can > agree on a max amount up front. > > Thanks, > -Douglas Ivers > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Aug 14 08:34:54 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 14 Aug 2007 14:34:54 +0200 Subject: need Rev guru In-Reply-To: References: Message-ID: Sorry, I really wanted to send this off-list, but somehow confused e- mail addresses. Apologies to anyone who might be bothered by this. (I have taken the server off-line now) Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 14-aug-2007, om 14:27 heeft Mark Schonewille het volgende geschreven: > Hi Douglas, > > I have lots of experience with unicode and have created quite a few > workarounds for unicode-related bugs in Revolution. I have created > converters from and to unicode, dictionaries in Arabic, Chinese and > other double-byte languages, and am involved in a few educational > projects in the field of eastern languages. One example of a > project I have given technical support is described in the > Revolution newsletter: issue27/newsletter2.php>. You can find an Arabic dictionary running > at (during office hours and only if > the server is running). From mikeythek at gmail.com Tue Aug 14 09:00:30 2007 From: mikeythek at gmail.com (Mikey) Date: Tue, 14 Aug 2007 09:00:30 -0400 Subject: debugger won't engage In-Reply-To: References: Message-ID: <9b408d8e0708140600i29ac1bp9a959df2c9f524d7@mail.gmail.com> Yep, Jim, that's it. I finally tried the cut/paste last night after figuring this was some weird bug in the IDE having to do with where the debugger thinks the breakpoint is relative to where it displays it in the method editor. From len-morgan at crcom.net Tue Aug 14 12:25:31 2007 From: len-morgan at crcom.net (Len Morgan) Date: Tue, 14 Aug 2007 11:25:31 -0500 Subject: Proper Field Validation Methods and other annoyances... Message-ID: <46C1D77B.3040205@crcom.net> Hello all! I've having a few "issues" that I hope someone can answer for me: 1) Why does put "4" is a date return true? If this function doesn't actually work, why is it still available? I'd like to be able to have users enter a date without any kind of punctuation (i.e., 08142007) and be able to validate it as a valid date. The same applies to entering 1315 as a time (no colon). 2) This is the "biggie." What is the proper way to validate the contents of a field. I tried writing a "closeField" script that would do the validation, put up a message box if the format/contents are wrong, then set the focus back to the field for correction by the user. I end up getting two insertion point cursors (one in the "bad" field and one in the next field. The keyboard does go to the bad field but having more than one insertion point is confusing to me let alone my end users. By the way, I have tried not passing the closeField message but I'm not sure if the "tab to next field" takes place anyway. 3) Related to #2 above, I frequently get vertical lines (insertion point cursors) in a field as I move the mouse across it. Once they start showing up, (and they stay so I end up with vertical bars between every letter in the field!), I can get them to appear by moving the mouse ABOVE the field (not in it) like I have a vertical line that runs the height of the entire screen. Is this something I'm doing or is it a known problem? It should be noted that I'm using Galaxy. I'd try switching back to the Rev IDE except that I can't seem to remove Galaxy (even following their instructions. It's like a bad rash - it just keeps coming back!), I'm afraid of the "script eating tendency" of Galaxy if you dare to attempt to use another editor. I've lost countless days of work to this "feature." #2 is the most important and probably of use to the most people. #1 should have never seen the light of day I could write my own routine if I had to. Thanks in advance for listening to my whining. (sp?) Len Morgan From bvg at mac.com Tue Aug 14 12:37:28 2007 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 14 Aug 2007 18:37:28 +0200 Subject: column view of hierarchical text In-Reply-To: <3C2FE9F2-D811-4A2C-89F2-1213AA3DC1FB@gmail.com> References: <3C2FE9F2-D811-4A2C-89F2-1213AA3DC1FB@gmail.com> Message-ID: <9a5bbfd48a08319c06b2a1434a8adc22@mac.com> I have done it, but I can't share the stack, it's too embarrassing. It's a very old one, and partly was developed in 1.1.1 tester version, so has code split all over the place, to adhere to the 10 line limit. What it did was basically send the next field in the row the line clicked, and that field then would decide which content to show based on that. If you arrange list fields, and name them in a successive way (eg: "column 1", "column 2",...) then you can just add one to the current field, and know which the next should be (send "ShowLines" && the selectedtext of me to field ("column" && word 2 of the short name of me+1")). Then to hide all fields that are not needed, you'd do the same, but invoking a handler that hides that particular field, and every one above (untested): on hideCols --in every fields script hide me if there is a field ("column" && word 2 of the short name of me+1) then send "hideCols" to field ("column" && word 2 of the short name of me+1) end if end hideCols As an added exercise I did not do (I just arranged 10 fields and was glad it worked (also there was a bug with clone setting the cursor back then)), you could check every time if the next field exists, and if not, clone the field currently the last one, setting the location correctly, and changing the name to ("column" && word 2 of the short name of me+1). Watch out if you put the fields into a horizontally scrollable group, if the group is scrolled, the fields locations change, so use relative positioning, not absolute. You can also scroll the group to show exactly the last visible field, if a user chooses a line, and be better then the OS X finder (which is horribly wrong often (if it scrolls at all)). As for "editing in the same way", do you mean the way the finder does file renaming? If yes, just make one editable field, and if a line is double clicked, put that field over the line, covering it completely. If the user hits return or clicks outside the field, put the contents of the field into the correct line of your column field. It'd look and behave quite similar. Have fun Bjoernke On 11 Aug 2007, at 18:16, Douglas Ivers wrote: > I want to display a hierarchy (think: outline) in the way that the Mac > Finder does with column view. Note that I am NOT interested in > displaying files and folders, rather outline text. I also want to be > able to edit the text in the same view. > ... > Has anyone done this already in a Rev stack? > ... -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From bvg at mac.com Tue Aug 14 12:43:01 2007 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 14 Aug 2007 18:43:01 +0200 Subject: Proper Field Validation Methods and other annoyances... In-Reply-To: <46C1D77B.3040205@crcom.net> References: <46C1D77B.3040205@crcom.net> Message-ID: On 14 Aug 2007, at 18:25, Len Morgan wrote: > 1) Why does put "4" is a date return true? If this function doesn't > actually work, why is it still available? I'd like to be able to have > users enter a date without any kind of punctuation (i.e., 08142007) > and be able to validate it as a valid date. The same applies to > entering 1315 as a time (no colon). Time & date handling is... complicated. This particular "feature" has to do with the fact that rev knows a date format of "the seconds". As that is just the number of seconds passed since some day in the 70-ties, every integer number evaluates to a date in rev. Basically you have to do your own validation for any date or time that is not known to be correct already, and "is a date" is extremely useless. sorry 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 stephenREVOLUTION at barncard.com Tue Aug 14 12:51:33 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 14 Aug 2007 09:51:33 -0700 Subject: Proper Field Validation Methods and other annoyances... In-Reply-To: <46C1D77B.3040205@crcom.net> References: <46C1D77B.3040205@crcom.net> Message-ID: >It should be noted that I'm using Galaxy. I'd try switching back to >the Rev IDE except that I can't seem to remove Galaxy (even >following their instructions. It's like a bad rash - it just keeps >coming back!), I'm afraid of the "script eating tendency" of Galaxy >if you dare to attempt to use another editor. I've lost countless >days of work to this "feature." > you probably have a second plugins folder somewhere... plugs can go in two places... 1. Inside the folder that contains the currently running Rev IDE/Executable. There's a plugins folder there. 2. on the mac, there's a user/documents/my revolution enterprise/ (or my revolution studio) folder that contains user plugs, externals, resources and drivers. There is a similar arrangement on Windoze. This is a place where you can install these tools and not have to constantly re-install them in the plugins folder near the Rev core exe every time there's an update. This makes the (semi)- auto update possible. Older versions of Galaxy, indeed, started getting funny running the last few Rev updates, and I get the feeling that Jerry and Trevor are working day and night to get the 2.0 version ready for prime time. The new beta that I use is wonderful and I can't work without it. I'd have to say without a doubt these two guys know more about the Rev environment than anyone else on earth except the Rev team themselves. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From kray at sonsothunder.com Tue Aug 14 12:54:18 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 14 Aug 2007 11:54:18 -0500 Subject: Proper Field Validation Methods and other annoyances... In-Reply-To: <46C1D77B.3040205@crcom.net> References: <46C1D77B.3040205@crcom.net> Message-ID: <20070814115418058127.a9f6e761@sonsothunder.com> On Tue, 14 Aug 2007 11:25:31 -0500, Len Morgan wrote: > Hello all! > > I've having a few "issues" that I hope someone can answer for me: > > 1) Why does put "4" is a date return true? If this function doesn't > actually work, why is it still available? I'd like to be able to > have users enter a date without any kind of punctuation (i.e., > 08142007) and be able to validate it as a valid date. The same > applies to entering 1315 as a time (no colon). This is something I asked earlier, and basically since "the seconds" is a valid date, the "is a date" test returns true for any positive integer. However I made the argument that it should be at least 10 digits, but that hasn't been adopted yet. > 2) This is the "biggie." What is the proper way to validate the > contents of a field. I tried writing a "closeField" script that > would do the validation, put up a message box if the format/contents > are wrong, then set the focus back to the field for correction by the > user. I end up getting two insertion point cursors (one in the "bad" > field and one in the next field. The keyboard does go to the bad > field but having more than one insertion point is confusing to me let > alone my end users. By the way, I have tried not passing the > closeField message but I'm not sure if the "tab to next field" takes > place anyway. Hmm... I don't see this - I created two fields on a new stack, and put this in the script of the first one: on closeField if me is not a number then answer "Bad" select the text of me end if end closeField And no matter how I tried to close the field (tab, return [with autoTab turned on], clicking in the next field, etc.) it would always highlight the text of the first field. What version of Rev are you using, and on what platform? > 3) Related to #2 above, I frequently get vertical lines (insertion > point cursors) in a field as I move the mouse across it. Once they > start showing up, (and they stay so I end up with vertical bars > between every letter in the field!), I can get them to appear by > moving the mouse ABOVE the field (not in it) like I have a vertical > line that runs the height of the entire screen. Is this something > I'm doing or is it a known problem? I haven't seen that either. > It should be noted that I'm using Galaxy. I'd try switching back to > the Rev IDE except that I can't seem to remove Galaxy (even following > their instructions. It's like a bad rash - it just keeps coming > back!), I'm afraid of the "script eating tendency" of Galaxy if you > dare to attempt to use another editor. I've lost countless days of > work to this "feature." Hmm - could be an interaction issue between Rev and Galaxy. I've successfully removed Galaxy when I needed to by simply creating a subfolder in the "My Revolution Enterprise/Plugins" folder (yours might be "My Revolution Studio") called "Disabled", and dragging all of the Galaxy-related files into it (especially the Galaxy Studio Startup.rev file), and then relaunching Rev. When I need it back, I just move the files back to where they originally were. > #2 is the most important and probably of use to the most people. #1 > should have never seen the light of day I could write my own routine > if I had to. > > Thanks in advance for listening to my whining. (sp?) Well it depends on whether you meant "whine" or "whinge" - both of those relate to complaining and are related to each other: whine |(h)w?n| noun - a long, high-pitched complaining cry : the dog gave a small whine. - a long, high-pitched unpleasant sound : the whine of the engine. - a complaining tone of voice. - a feeble or petulant complaint : a constant whine about the quality of public services. whinge |(h)winj| Brit., informal verb ( whingeing ) [ intrans. ] - complain persistently and in a peevish or irritating way : stop whingeing and get on with it! Class dismissed! ;-) Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Tue Aug 14 12:55:45 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 14 Aug 2007 11:55:45 -0500 Subject: Proper Field Validation Methods and other annoyances... In-Reply-To: References: <46C1D77B.3040205@crcom.net> Message-ID: <20070814115545677201.1b7b7a09@sonsothunder.com> On Tue, 14 Aug 2007 18:43:01 +0200, Bj?rnke von Gierke wrote: > On 14 Aug 2007, at 18:25, Len Morgan wrote: > >> 1) Why does put "4" is a date return true? If this function >> doesn't actually work, why is it still available? I'd like to be >> able to have users enter a date without any kind of punctuation >> (i.e., 08142007) and be able to validate it as a valid date. The >> same applies to entering 1315 as a time (no colon). > > Basically you have to do your own validation for any date or time > that is not known to be correct already, and "is a date" is extremely > useless. Right - you may want: if (length(tDate) = 8) and (tDate is a date) then Just an idea... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From bvg at mac.com Tue Aug 14 13:20:17 2007 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 14 Aug 2007 19:20:17 +0200 Subject: Proper Field Validation Methods and other annoyances... In-Reply-To: <20070814115418058127.a9f6e761@sonsothunder.com> References: <46C1D77B.3040205@crcom.net> <20070814115418058127.a9f6e761@sonsothunder.com> Message-ID: On 14 Aug 2007, at 18:54, Ken Ray wrote: >> 1) Why does put "4" is a date return true? If this function doesn't >> actually work, why is it still available? I'd like to be able to >> have users enter a date without any kind of punctuation (i.e., >> 08142007) and be able to validate it as a valid date. The same >> applies to entering 1315 as a time (no colon). > > This is something I asked earlier, and basically since "the seconds" is > a valid date, the "is a date" test returns true for any positive > integer. However I made the argument that it should be at least 10 > digits, but that hasn't been adopted yet. Wow that'd be seriously evil. Just imagine the help calls when suddenly date stuff stops working because one number is too small, or too big, or the moon isn't full! Either have it removed from "is a date", or leave it as is. Can you tell me where you suggested that, so I can put in an opposite comment? As for really fixing "is a date" Ideally one could specify what should evaluate true as a date (and there should be "is a time" too), with the local date format as the default. Actually I liked this idea so much, i went and made a feature request (bug 5300). 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 kray at sonsothunder.com Tue Aug 14 14:14:36 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 14 Aug 2007 13:14:36 -0500 Subject: Proper Field Validation Methods and other annoyances... In-Reply-To: References: <46C1D77B.3040205@crcom.net> <20070814115418058127.a9f6e761@sonsothunder.com> Message-ID: <20070814131436320057.9c25fae3@sonsothunder.com> On Tue, 14 Aug 2007 19:20:17 +0200, Bj?rnke von Gierke wrote: >> This is something I asked earlier, and basically since "the seconds" is >> a valid date, the "is a date" test returns true for any positive >> integer. However I made the argument that it should be at least 10 >> digits, but that hasn't been adopted yet. > > Wow that'd be seriously evil. Just imagine the help calls when > suddenly date stuff stops working because one number is too small, or > too big, or the moon isn't full! Either have it removed from "is a > date", or leave it as is. Can you tell me where you suggested that, > so I can put in an opposite comment? It's not in Bugzilla - it was an email conversation with Mark Waddingham, and IIRC, Mark W. responded with a better way to handle things anyway. It might not have been 10 digits (it might have been 9 or 8 - I was going for the earliest date we could convert properly, represented in seconds). However the point is moot, since I know they want to support any date (even before the "system clock" date of 1970 (I think)), so they'll come up with a completely different method I'm sure. > As for really fixing "is a date" Ideally one could specify what > should evaluate true as a date (and there should be "is a time" too), > with the local date format as the default. Actually I liked this idea > so much, i went and made a feature request (bug 5300). Well, now *I'm* on the other side... although it is pretty easy to manage what users put into a program you design (so you can limit/force specific date formats), if you're doing something like importing data from other sources and you don't know what format a "date column" is in, you'd have to run through a bunch of "is a date" checks, setting the dateFormat for each one you think might be right - OR - you'd have to pick apart a date in that column and try to figure out which format it used. I like that "is a date" is very open, but I think it should be restricted to actual recognizable date formats - I don't think anyone would say that "31557600" is recognized as a date... :-) Just my 2 cents, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From katir at hindu.org Tue Aug 14 14:52:12 2007 From: katir at hindu.org (Sivakatirswami) Date: Tue, 14 Aug 2007 08:52:12 -1000 Subject: Guidelines for Using Stacks on Web Back End Message-ID: <46C1F9DC.8050104@hindu.org> Though I've use simple text CGI with revolution for nearly 8 years, I'm just now getting started with stacks as back end libraries on the web server. It's marvelous! A couple of caveats I ended up banging my head against. Perhaps someone can articulate the "Rules of the road" with better precision than my bumbling hard knocks discoveries. Confirm, deny or clarify the following: Assumes in all the following we have start using "SongsListing.rev" # at the beginning of our cgi... 1) I had some failures which were cured by adding the word "stack" but, frankly I wasn't debugging from ground zero and possibly I had another error in my script and was blinded sided into drawing wrong conclusions. So: is there or should there be any difference between: start using "../httpdocs/Music/SongsListing.rev" start using stack "../httpdocs/Music/SongsListing.rev" or should these be equivalent? CMS note: seems better to keep these stacks in the directory realm where they belong rather than turn the cgi-bin into a maze... if you have 20 web apps, all distinct, with their own separate content directories putting their dynamic delivery resource stacks all in the cgi-bin just gets more and more confusing... feel free to comment. 2) read reference to data in fields of the library stack require using explicit stack declarations start using "../httpdocs/Music/SongsListing.rev" put fld "artists" into tArtists # the above fails... start using "../httpdocs/Music/SongsListing.rev" put fld "artists" of stack "SongsListing" into tArtists # where we use the stack name minus the file extension # the above works... why? 3) write reference: adding data to a back end stack library: put cr & "AR | Aruni Ranganathan" after fld "artists" put cr & "AR | Aruni Ranganathan" after fld "artists" of stack "SongsListing" save this stack # or # save stack "SongsListing" # both the above fail? How do you get a cgi (or any script that puts an external stack into use) to add data to a stack that is in "library mode"? I see in one of Andre's things he did for us that he uses the form: go invisible stack "SongsListing" This implies that even though an external stack has received the "libraryStack" msg, and it's scripts are now "in play" that it's field or custom props are still not in a "read-writeable" mode... I'm missing something very simple. Need help: Please clarify... best practices... OT: (old subject) where is all this best documented? We have at least 1/2 dozen initiatives going now to provide cyberspace for rev resources... but still a virtual black box for any newbie looking for help. Eric's resources picker being the best solution floated to date. but I don't think it is up to date with new repositories. TIA Sivakatirswami ps. see http://www.himalayanacademy.com/natchintanai/ for a web page that delivers random selection and which is dynamically rebuilt with Rev cgi and back end data stacks. disclaimer: only of interest to Tamil devotional song fans... From david at openpartnership.net Tue Aug 14 15:40:40 2007 From: david at openpartnership.net (David Bovill) Date: Tue, 14 Aug 2007 20:40:40 +0100 Subject: Guidelines for Using Stacks on Web Back End In-Reply-To: <46C1F9DC.8050104@hindu.org> References: <46C1F9DC.8050104@hindu.org> Message-ID: On 14/08/07, Sivakatirswami wrote: > > > 1) I had some failures which were cured by adding the > word "stack" but, frankly I wasn't debugging from ground zero and possibly > I had another error in my script and was blinded sided > into drawing wrong conclusions. So: > > is there or should there be any difference between: > > start using "../httpdocs/Music/SongsListing.rev" > start using stack "../httpdocs/Music/SongsListing.rev" > > or should these be equivalent? I think they both work - the latter is prefered IMO 2) read reference to data in fields of the library stack require using > explicit > stack declarations > > start using "../httpdocs/Music/SongsListing.rev" > put fld "artists" into tArtists > > # the above fails... > > start using "../httpdocs/Music/SongsListing.rev" > put fld "artists" of stack "SongsListing" into tArtists > # where we use the stack name minus the file extension > > # the above works... why? My reading is that the cgi script is effectively executed as if it were in some "root level". In fact if you test "put the long name of me & CR after buffer" in a cgi it returns: stack "script" Which is I guess some sort of memory resident stack without a filename (the filename of me is empty). As the script is effectively in another stack "put fld "artists" of stack "SongsListing" into tArtists" makes sense in that context. 3) write reference: adding data to a back end stack library: > > put cr & "AR | Aruni Ranganathan" after fld "artists" > put cr & "AR | Aruni Ranganathan" after fld "artists" of stack > "SongsListing" > save this stack # or # save stack "SongsListing" > > # both the above fail? I think this is due to permissions of the stack and the cgi user not being able to save data to the folder the stack is in? Can you write a text file using a cgi to the same folder the stack is in? From lists at mangomultimedia.com Tue Aug 14 16:15:53 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 14 Aug 2007 16:15:53 -0400 Subject: Proper Field Validation Methods and other annoyances... In-Reply-To: References: <46C1D77B.3040205@crcom.net> Message-ID: <821B8D6A-6131-4FD3-9CB5-9C65E8842334@mangomultimedia.com> On Aug 14, 2007, at 12:51 PM, Stephen Barncard wrote: > The new beta that I use is wonderful and I can't work without it. > I'd have to say without a doubt these two guys know more about the > Rev environment than anyone else on earth except the Rev team > themselves. That is kind of you to say but Jerry really is the IDE mastermind and all kudos go to him. I just study at his feet. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From sarah.reichelt at gmail.com Tue Aug 14 18:01:20 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 15 Aug 2007 08:01:20 +1000 Subject: Proper Field Validation Methods and other annoyances... In-Reply-To: <46C1D77B.3040205@crcom.net> References: <46C1D77B.3040205@crcom.net> Message-ID: > 1) Why does put "4" is a date return true? If this function doesn't > actually work, why is it still available? I'd like to be able to have > users enter a date without any kind of punctuation (i.e., 08142007) and > be able to validate it as a valid date. The same applies to entering > 1315 as a time (no colon). My preferred method of date validation is to convert the date to another format, then convert it back. If I get the same answer both times, then the date works. Here is a rough example: function checkDate pDate put pDate into tCheck convert tCheck to dateItems if the number of items in tCheck <> 7 then return false convert tCheck to short date -- edit this to the format you are sending to the function if tCheck = pDate then return true else return false end if end checkDate HTH, Sarah From andre at andregarzia.com Tue Aug 14 18:15:54 2007 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 14 Aug 2007 19:15:54 -0300 Subject: Sendmail on OSX through Rev In-Reply-To: <1C8F24A5-4B1E-4393-BD0B-8070EAA9FC31@together.net> References: <1C8F24A5-4B1E-4393-BD0B-8070EAA9FC31@together.net> Message-ID: <7c87a2a10708141515q22bdf8afg90fa6712ad711393@mail.gmail.com> Richard, this snippet below: put "/var/qmail/bin/sendmail -t" into mprocess open process mprocess for write write "From:" && pFrom & crlf to process mprocess write "To:" && pTo & crlf to process mprocess write "Subject:" && pSubject & crlf & crlf to process mprocess write pBody & crlf to process mprocess close process mprocess wait until mprocess is not among the lines of the openProcesses return the result break you need to fill the correct path to your sendmail installation, the pFrom, pTo, pSubject and pBody variables. if you want attachments or other fancy mime stuff, use Shao Sean email library to generate your email. hope this help. andre On 8/14/07, Richard Miller wrote: > > Thanks, Sarah. A bit too complicated for me to get into though. I'll > stick with SMTP relays. > Richard > > > On Aug 13, 2007, at 5:35 PM, Sarah Reichelt wrote: > > > On 8/14/07, Richard Miller wrote: > >> We are using a dedicated Mac Mini as a server through an ISP. We've > >> asked them for a way to send emails from the Mini so we can avoid > >> using SMTP relay. This is the response they sent back. I'm hoping > >> someone here can tell us how to implement this through Rev. > >> > >> "To generate emails from the Mini, you just need to call /usr/sbin/ > >> sendmail or /usr/sbin/postfix withthe appropriate arguments. Turning > >> on postfix as an SMTP server will only affect the Mini's ability to > >> receive email. > > > > I too have a dedicated Mac Mini running as a server, but I do use > > Postfix. People on the network set the Mini's IP address (or > > Rendezvous name) as their SMTP server and all emails get sent there > > first. If the emails match the domain name, then they get routed > > locally, otherwise they get relayed to an external SMTP server. For > > setting up Postfix &/or fetchmail, I highly recommend MailServe > > . It gives you a > > graphical interface to all the setup stuff. The author, Bernard Teo, > > was extremely helpful when I had some configuration problems. > > > > However if you do not want to use SMTP relay, then as your ISP says, > > you can use sendmail. I have a CGI script that does this, and I can > > send it to you if that would help. However it seems to me that the > > complication would be in receiving the mails from the rest of the > > network. If you set up Postfix's SMTP server, it handles the > > connections from other email clients and passes the emails on as > > required. If you want to send all mail on using sendmail, I would > > assume that you are going to have to write your own mail server to > > talk to all the mail clients. There may already be a command line > > program for doing this, but I haven't encountered it yet. > > > > Cheers, > > Sarah > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mark at maseurope.net Tue Aug 14 18:44:58 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 14 Aug 2007 23:44:58 +0100 Subject: Sendmail on OSX through Rev In-Reply-To: <7c87a2a10708141515q22bdf8afg90fa6712ad711393@mail.gmail.com> References: <1C8F24A5-4B1E-4393-BD0B-8070EAA9FC31@together.net> <7c87a2a10708141515q22bdf8afg90fa6712ad711393@mail.gmail.com> Message-ID: Unfortunately, 'write to process' is broken on OS X (bug 3196) - so it'll be necessary to bundle all of that stuff up into a variable or file, and then use 'shell', if it's actually possible, at all. :( Best, Mark On 14 Aug 2007, at 23:15, Andre Garzia wrote: > Richard, > this snippet below: > > > put "/var/qmail/bin/sendmail -t" into mprocess > > open process mprocess for write > > write "From:" && pFrom & crlf to process mprocess > > write "To:" && pTo & crlf to process mprocess > > write "Subject:" && pSubject & crlf & crlf to process mprocess > > write pBody & crlf to process mprocess > > close process mprocess > > wait until mprocess is not among the lines of the openProcesses > > return the result > > break > > you need to fill the correct path to your sendmail installation, > the pFrom, > pTo, pSubject and pBody variables. if you want attachments or other > fancy > mime stuff, use Shao Sean email library to generate your email. > > hope this help. > andre > On 8/14/07, Richard Miller wrote: >> >> Thanks, Sarah. A bit too complicated for me to get into though. I'll >> stick with SMTP relays. >> Richard >> >> >> On Aug 13, 2007, at 5:35 PM, Sarah Reichelt wrote: >> >>> On 8/14/07, Richard Miller wrote: >>>> We are using a dedicated Mac Mini as a server through an ISP. We've >>>> asked them for a way to send emails from the Mini so we can avoid >>>> using SMTP relay. This is the response they sent back. I'm hoping >>>> someone here can tell us how to implement this through Rev. >>>> >>>> "To generate emails from the Mini, you just need to call /usr/sbin/ >>>> sendmail or /usr/sbin/postfix withthe appropriate arguments. >>>> Turning >>>> on postfix as an SMTP server will only affect the Mini's ability to >>>> receive email. >>> >>> I too have a dedicated Mac Mini running as a server, but I do use >>> Postfix. People on the network set the Mini's IP address (or >>> Rendezvous name) as their SMTP server and all emails get sent there >>> first. If the emails match the domain name, then they get routed >>> locally, otherwise they get relayed to an external SMTP server. For >>> setting up Postfix &/or fetchmail, I highly recommend MailServe >>> . It gives you a >>> graphical interface to all the setup stuff. The author, Bernard Teo, >>> was extremely helpful when I had some configuration problems. >>> >>> However if you do not want to use SMTP relay, then as your ISP says, >>> you can use sendmail. I have a CGI script that does this, and I can >>> send it to you if that would help. However it seems to me that the >>> complication would be in receiving the mails from the rest of the >>> network. If you set up Postfix's SMTP server, it handles the >>> connections from other email clients and passes the emails on as >>> required. If you want to send all mail on using sendmail, I would >>> assume that you are going to have to write your own mail server to >>> talk to all the mail clients. There may already be a command line >>> program for doing this, but I haven't encountered it yet. >>> >>> Cheers, >>> Sarah >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Aug 14 20:23:50 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 14 Aug 2007 17:23:50 -0700 Subject: placing a group inside another using code... In-Reply-To: <0763120E-656B-43CF-A06A-052C8C2969FC@economy-x-talk.com> References: <7c87a2a10708131430s35ccefb0q4dfee27c5063d119@mail.gmail.com> <0763120E-656B-43CF-A06A-052C8C2969FC@economy-x-talk.com> Message-ID: <109156496720.20070814172350@ahsoftware.net> Andre- You can also use the "start editing" and "stop editing" commands, as in: start editing group "therapy" of stack "iPhone" paste in case you also want to make other changes to the group while you're at it. -- -Mark Wieder mwieder at ahsoftware.net From lan.kc.macmail at gmail.com Tue Aug 14 21:04:18 2007 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 15 Aug 2007 09:04:18 +0800 Subject: [OT] Energy Efficient Search Engine Message-ID: Thought a few people on this list would appreciate this. When your screen is white, (such as an empty word page, or the Google page) your computer consumes 74 watts, and when its black it consumes only 59 watts. Some dude called Mark Ontkush wrote an article about the energy saving that would be achieved if Google had a black screen, taking in account the huge number of page views, according to his calculations, 750 mega watts/hour per year would be saved. In a response a search engine, called Blackle, with the exact same functions as the white Google version, but with lower energy consumption was created. Check it out at www.blackle.com From monte at sweattechnologies.com Tue Aug 14 21:25:55 2007 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 15 Aug 2007 10:55:55 +0930 Subject: [OT] Energy Efficient Search Engine References: Message-ID: <005a01c7dedb$3ab39440$0301010a@fred> Unfortunately in addition to making an almost unreadable search engine they got their sums wrong. http://techlogg.com/content/view/317/31/ The energy saving settings on your pc are a good first step. Particularly switching monitors off instead of using screensavers. On the other hand you could use some of your spare processing power to help with climate modelling: http://www.climateprediction.net Cheers -- Monte Goulding BCompSci Sweat Technologies BAppSci (Hons) InstallGadget - How to create an installer in 10 seconds Download now from: http://www.sweattechnologies.com/InstallGadget ----- Original Message ----- From: "Kay C Lan" To: "How to use Revolution" Sent: Wednesday, August 15, 2007 10:34 AM Subject: [OT] Energy Efficient Search Engine > Thought a few people on this list would appreciate this. > > When your screen is white, (such as an empty word page, or the Google > page) > your computer consumes 74 watts, and when its black it consumes only 59 > watts. Some dude called Mark Ontkush wrote an article about the energy > saving that would be achieved if Google had a black screen, taking in > account the huge number of page views, according to his calculations, 750 > mega watts/hour per year would be saved. > > > In a response a search engine, called Blackle, with the exact same > functions > as the white Google version, but with lower energy consumption was > created. > > > Check it out at www.blackle.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 dick.kriesel at mail.com Tue Aug 14 22:29:13 2007 From: dick.kriesel at mail.com (Dick Kriesel) Date: Tue, 14 Aug 2007 19:29:13 -0700 Subject: placing a group inside another using code... In-Reply-To: <109156496720.20070814172350@ahsoftware.net> Message-ID: Hi, Andre. Rev's "owner" property is read-only, but here's a way to overcome that limitation, as long as the new owner is a group or a card in the same stack as the old owner. Please let me know if it works for you, or what happened if it doesn't. -- Dick From andre at andregarzia.com Tue Aug 14 22:42:53 2007 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 14 Aug 2007 23:42:53 -0300 Subject: Guidelines for Using Stacks on Web Back End In-Reply-To: References: <46C1F9DC.8050104@hindu.org> Message-ID: <7c87a2a10708141942j361e38d1t5ab8ca5adecf4bf7@mail.gmail.com> Me guessing here, when your CGI runs, revolution creates a stack named "script" and put the content of your cgi script in there for it to run. This alone allows you to have temporary props and stuff, but you can't save it. To use an external stack as a data storage, I use the format: go invisible stack "mySweetStack.rev" because that opens the stack but do not put any of it's scripts and stuff into the message path. If my stack has no code in it and will be used only for data, then this is what I use. If my stack is a library stack and I want to put its script on the message path, I use the form: start using stack "mySweetLibraryStack.rev" I also make use of backscripts and front scripts if I need them. This way you can have a inheritance-like mechanism. For example: in the EasyCGI libraries we have a function called cgiOutput that will simply flush the argument we pass to it back to the browser, you're supposed to generate the html or text on your own. This stack is put into use by using the start using form. This function does not touch it's arguments, it just pass them to the browser. If I want to do a simple templating engine that uses 'merge' to put data into placeholders, I can simply use a frontscript to override cgiOutput so that it merges the content and then pass the message on to the rest of the path where it will eventually reach cgiOutput of EasyCGI and then be flushed to the browser. The message path is your friend, use it wisely and you'll be very productive. One thing, when you're opening stacks using 'go' or 'libraryStack', you pass the file reference to it but when you're trying to access a control or a custom property after the stack is open, you need to use the stack name to refer to it. Trying to do something like get the sweetprop of stack "mySweetStack.rev" will not work, you need to use the stack name (actually, I don't know if it will work). On CGIs, your script is a part of stack 'script', trying to do stuff such as save this stack will not work. If you want to save a stack you need to tell exact what you want like save stack 'myStack' as 'myStack.rev' or something like that. Some commands don't work on CGIs, most notably the go commands for moving to some card, you can't do go next card in CGIs, if you need to refer to some control on some card you need to use long ids or full references such as fld "Artist" of card 2 of stack "artists". Hope this help andre From andre at andregarzia.com Tue Aug 14 22:44:06 2007 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 14 Aug 2007 23:44:06 -0300 Subject: placing a group inside another using code... In-Reply-To: References: <109156496720.20070814172350@ahsoftware.net> Message-ID: <7c87a2a10708141944n7b705260h8615b201ec01c2fa@mail.gmail.com> Friends, you all saved my day! :-) I am using 'copy', so far, that is enough for me. Thanks all! From andre at andregarzia.com Tue Aug 14 22:50:16 2007 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 14 Aug 2007 23:50:16 -0300 Subject: Sendmail on OSX through Rev In-Reply-To: References: <1C8F24A5-4B1E-4393-BD0B-8070EAA9FC31@together.net> <7c87a2a10708141515q22bdf8afg90fa6712ad711393@mail.gmail.com> Message-ID: <7c87a2a10708141950vdea5e0ak9777014d1ce28294@mail.gmail.com> Is Richard on Mac OS X??? well, if so, then he is not using sendmail, mac os x code is: put "mail -s " & quote & pSubject & quote && pTo into mprocess open process mprocess for write -- write "From:" && pFrom & crlf to process mprocess -- write "To:" && pTo & crlf to process mprocess -- write "Subject:" && pSubject & crlf & crlf to process mprocess write pBody & crlf to process mprocess close process mprocess wait until mprocess is not among the lines of the openProcesses return the result I use this code with success in Mac OS X... I've used it more than once. Is it broken now??? You can use shell() by assembling text files and using pipes. mail -s "the subject" someone at address.com << the_content_text or cat the_content_text >> mail -s "the subject" someone at address.com They should work from a shell call right? Andre On 8/14/07, Mark Smith wrote: > > Unfortunately, 'write to process' is broken on OS X (bug 3196) - so > it'll be necessary to bundle all of that stuff up into a variable or > file, and then use 'shell', if it's actually possible, at all. :( > > Best, > > Mark > > On 14 Aug 2007, at 23:15, Andre Garzia wrote: > > > Richard, > > this snippet below: > > > > > > put "/var/qmail/bin/sendmail -t" into mprocess > > > > open process mprocess for write > > > > write "From:" && pFrom & crlf to process mprocess > > > > write "To:" && pTo & crlf to process mprocess > > > > write "Subject:" && pSubject & crlf & crlf to process mprocess > > > > write pBody & crlf to process mprocess > > > > close process mprocess > > > > wait until mprocess is not among the lines of the openProcesses > > > > return the result > > > > break > > > > you need to fill the correct path to your sendmail installation, > > the pFrom, > > pTo, pSubject and pBody variables. if you want attachments or other > > fancy > > mime stuff, use Shao Sean email library to generate your email. > > > > hope this help. > > andre > > On 8/14/07, Richard Miller wrote: > >> > >> Thanks, Sarah. A bit too complicated for me to get into though. I'll > >> stick with SMTP relays. > >> Richard > >> > >> > >> On Aug 13, 2007, at 5:35 PM, Sarah Reichelt wrote: > >> > >>> On 8/14/07, Richard Miller wrote: > >>>> We are using a dedicated Mac Mini as a server through an ISP. We've > >>>> asked them for a way to send emails from the Mini so we can avoid > >>>> using SMTP relay. This is the response they sent back. I'm hoping > >>>> someone here can tell us how to implement this through Rev. > >>>> > >>>> "To generate emails from the Mini, you just need to call /usr/sbin/ > >>>> sendmail or /usr/sbin/postfix withthe appropriate arguments. > >>>> Turning > >>>> on postfix as an SMTP server will only affect the Mini's ability to > >>>> receive email. > >>> > >>> I too have a dedicated Mac Mini running as a server, but I do use > >>> Postfix. People on the network set the Mini's IP address (or > >>> Rendezvous name) as their SMTP server and all emails get sent there > >>> first. If the emails match the domain name, then they get routed > >>> locally, otherwise they get relayed to an external SMTP server. For > >>> setting up Postfix &/or fetchmail, I highly recommend MailServe > >>> . It gives you a > >>> graphical interface to all the setup stuff. The author, Bernard Teo, > >>> was extremely helpful when I had some configuration problems. > >>> > >>> However if you do not want to use SMTP relay, then as your ISP says, > >>> you can use sendmail. I have a CGI script that does this, and I can > >>> send it to you if that would help. However it seems to me that the > >>> complication would be in receiving the mails from the rest of the > >>> network. If you set up Postfix's SMTP server, it handles the > >>> connections from other email clients and passes the emails on as > >>> required. If you want to send all mail on using sendmail, I would > >>> assume that you are going to have to write your own mail server to > >>> talk to all the mail clients. There may already be a command line > >>> program for doing this, but I haven't encountered it yet. > >>> > >>> Cheers, > >>> Sarah > >>> _______________________________________________ > >>> use-revolution mailing list > >>> use-revolution at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Tue Aug 14 23:06:14 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 Aug 2007 20:06:14 -0700 Subject: Standalones as CGI Message-ID: <46C26DA6.8060103@fourthworld.com> Have any of you successfully run a standalone as a CGI on a Linux server? If so, how? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From lan.kc.macmail at gmail.com Wed Aug 15 00:14:46 2007 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 15 Aug 2007 12:14:46 +0800 Subject: [OT] Energy Efficient Search Engine In-Reply-To: <005a01c7dedb$3ab39440$0301010a@fred> References: <005a01c7dedb$3ab39440$0301010a@fred> Message-ID: On 8/15/07, Monte Goulding wrote: > > Unfortunately in addition to making an almost unreadable search engine > they > got their sums wrong. > http://techlogg.com/content/view/317/31/ Didn't have any troubles reading the black pages. The techlogg post is very interesting, especially in respect to the reverse outcome if you use LCDs. As I have kids running 4 x 17" CRTs even at 10 watts instead of the claimed 15 watts per monitor, I'll be weening my google junkies over to Blackie :-) From lan.kc.macmail at gmail.com Wed Aug 15 01:00:38 2007 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 15 Aug 2007 13:00:38 +0800 Subject: Proper Field Validation Methods and other annoyances... In-Reply-To: <46C1D77B.3040205@crcom.net> References: <46C1D77B.3040205@crcom.net> Message-ID: On 8/15/07, Len Morgan wrote: > > > 2) This is the "biggie." What is the proper way to validate the > contents of a field. I tried writing a "closeField" script that would > do the validation, put up a message box if the format/contents are > wrong, then set the focus back to the field for correction by the user. > I end up getting two insertion point cursors (one in the "bad" field and > one in the next field. The keyboard does go to the bad field but having > more than one insertion point is confusing to me let alone my end > users. By the way, I have tried not passing the closeField message but > I'm not sure if the "tab to next field" takes place anyway. > > 3) Related to #2 above, I frequently get vertical lines (insertion point > cursors) in a field as I move the mouse across it. Once they start > showing up, (and they stay so I end up with vertical bars between every > letter in the field!), I can get them to appear by moving the mouse > ABOVE the field (not in it) like I have a vertical line that runs the > height of the entire screen. Is this something I'm doing or is it a > known problem? Sorry, now solution to this, I just wanted to add that I've seen both of these. I can't create a repeatable recipe yet, but coincidently for me it involves date validation. I have a couple of self-calling functions that check for format. They are self-calling in that if you get the format wrong 'on closeField' the function pops up a dialog box where you can correct your mistake, it then calls itself to check that 2nd (3rd, 4th....) time around you got it right. I seem to see this problem more often if I 'intentionally' make a double mistake and click "Cancel" which causes an "exit to top", leaving the input field empty with a cursor and the 'next' field active with a cursor also. > I'm afraid of the "script eating tendency" of Galaxy if you dare to > attempt > to use another editor. I've lost countless days of work to this > "feature." I've had this explained to me. Simply Galaxy can't keep aware of what you might do in the Rev IDE script editor so on a 'per session' basis you should use one or the other. If you need to change from Galaxy to the IDE Script Editor or visa versa, save your work, change the Galaxy prefs as necessary, Quit and Restart Rev. Those 'where did all my changes go' moments disappeared once I adopted this simple procedure:-) I will say though that I very much doubt that the problem you are experiencing has anything to do with Galaxy. I've been running 'sans Galaxy' for a while now but still have double insertion points crop up very occasionally. This is only within the IDE, I don't do much with standalones so this may well be an IDE only problem. HTH From r.venzl-schubert at t-online.de Wed Aug 15 01:35:50 2007 From: r.venzl-schubert at t-online.de (Reinhold Venzl-Schubert) Date: Wed, 15 Aug 2007 07:35:50 +0200 Subject: TAB and selection of text Message-ID: <4EFA03C1-CC88-47A2-82ED-393C909CAF3A@t-online.de> Hi! I have some textfields on my card. I want to jump from one field to another with a TAB. But some fields shall be leaved out. Where can I adjust it? When I jump into a field all text is selected. With a click on any key the content is deleted. I want to jump to a field with TAB but do not select it. Where can I adjust this? Thanks Reinhold From andre at andregarzia.com Wed Aug 15 01:54:01 2007 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 15 Aug 2007 02:54:01 -0300 Subject: Standalones as CGI In-Reply-To: <46C26DA6.8060103@fourthworld.com> References: <46C26DA6.8060103@fourthworld.com> Message-ID: <7c87a2a10708142254g4167c5abi1f214933ca0b287f@mail.gmail.com> Richard, I just spent the last three hours working this out for you. Not only because you're my friend but because I wanted to know if it was possible. short answer is: YES. What is the problem with linux standalones: They want to launch in graphical mode, they want to open the stack in X11. How we can prevent that? We can't. So, how do we solve it? 1) First install Xvfb (X11 Virtual Framebuffer server). This allows you to have an headless X11 server running, this means things are rendered on memory and not in an actual display. Our standalones will be just as happy running under Xvfb as they are running on X11+GTK. 2) After installing it, you need to leave it running on the server with a command such as: Xvfb :1 -screen 0 800x600x8 & This command tells Xvfb to bind itself to display 1 and configure the first screen to 800x600 with 8bit depth. Not that this data will ever be displayed. The trailing & is unix-speak for "move this to the background and give me back my command line prompt". 3) Now, when Apache calls the CGI it uses it's own user and session to do that, so you need a script launcher for the standalone, a simple script that will tell where the X11 & Friends are and also which display to use. The one I tried here looks like this (ps: my standalone is named teste2). #!/bin/sh export DISPLAY=localhost:1 export REV_GDK_PATH=/usr/lib/libgdk-x11-2.0.so.0 export REV_GTK_PATH=/usr/lib/libgtk-x11-2.0.so.0 export REV_GOBJECT_PATH=/usr/lib/libgobject-2.0.so.0 export REV_SSL_PATH=/usr/lib/libssl.so.0.9.7 ./teste2 4) To call the standalone, you just call this script, in my case I called it teste3.cgi. So if you go to http://andregarzia.com/cgi-bin/teste3.cgi you'll see a simple text output 'stdout' thats generated by the standalone. Tips & Tricks With script cgis we usually use the "put" command to send data back to the console/browser. With standalones this won't work. You need to send your data to stdout with something like: write "hello, world!" to stdout So, in the end you can run standalones. Just some minor gotchas. Xvfb starts really fast, maybe you can even start it in your loader script and kill it after your standalone exits, don't know, anyway, if you control your server or are in a position to make requirements, you can require that Xvfb be running on the server. This would not be needed if RunRev team ships a linux engine that generates standalones where we can use the -ui command too. Hope this answer your question! :-) Andre On 8/15/07, Richard Gaskin wrote: > > > Have any of you successfully run a standalone as a CGI on a Linux server? > > If so, how? > > -- > 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 andre at andregarzia.com Wed Aug 15 02:11:48 2007 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 15 Aug 2007 03:11:48 -0300 Subject: Standalones as CGI In-Reply-To: <7c87a2a10708142254g4167c5abi1f214933ca0b287f@mail.gmail.com> References: <46C26DA6.8060103@fourthworld.com> <7c87a2a10708142254g4167c5abi1f214933ca0b287f@mail.gmail.com> Message-ID: <7c87a2a10708142311l4bcf8a32w487ea8965f2e6768@mail.gmail.com> And wait, there's one more thing... since the standalone is running on X11 (Xvfb is X11...) it has access to the 'export snapshot' command. I just made this little script: ON startup put "You are" && $REMOTE_ADDR into fld 1 END startup ON openstack write "Content-type: image/png" & cr & cr to stdout export snapshot from rect (the screenrect) to pngImg as PNG write pngImg to stdout quit END openstack This is my standalone named teste2. Now with the loader script from the previous email, we're able to see what the standalone think of the display. Go to http://www.andregarzia.com/cgi-bin/teste3.cgi you'll see that this loads the standalone, it renders itself, takes a snapshot of itself, and quits very fast. Since we're running no window manager or nice graphical libraries, our stack has no border or title, but yet, it runs and it is able to do marvelous things... Just to prove that this is live, I've added a bit in the code to show your own IP... Now, we can use linux standalones and even generate images. What about this? Cheers andre PS: it's now 3:11 AM... I will be going to sleep, this is what happens when they leave me in the computer after midnight... On 8/15/07, Andre Garzia wrote: > > Richard, > > I just spent the last three hours working this out for you. Not only > because you're my friend but because I wanted to know if it was possible. > > short answer is: YES. > > > What is the problem with linux standalones: > They want to launch in graphical mode, they want to open the stack in X11. > > > How we can prevent that? > We can't. > > > So, how do we solve it? > 1) First install Xvfb (X11 Virtual Framebuffer server). This allows you to > have an headless X11 server running, this means things are rendered on > memory and not in an actual display. Our standalones will be just as happy > running under Xvfb as they are running on X11+GTK. > > > 2) After installing it, you need to leave it running on the server with a > command such as: > > > Xvfb :1 -screen 0 800x600x8 & > > > This command tells Xvfb to bind itself to display 1 and configure the > first screen to 800x600 with 8bit depth. Not that this data will ever be > displayed. The trailing & is unix-speak for "move this to the background and > give me back my command line prompt". > > > 3) Now, when Apache calls the CGI it uses it's own user and session to do > that, so you need a script launcher for the standalone, a simple script that > will tell where the X11 & Friends are and also which display to use. The one > I tried here looks like this (ps: my standalone is named teste2). > > > #!/bin/sh > > > export DISPLAY=localhost:1 > export REV_GDK_PATH=/usr/lib/libgdk-x11-2.0.so.0 > export REV_GTK_PATH=/usr/lib/libgtk-x11-2.0.so.0 > export REV_GOBJECT_PATH=/usr/lib/libgobject-2.0.so.0 > export REV_SSL_PATH=/usr/lib/libssl.so.0.9.7 > > > ./teste2 > > 4) To call the standalone, you just call this script, in my case I called > it teste3.cgi. So if you go to http://andregarzia.com/cgi-bin > /teste3.cgi you'll see a > simple text output 'stdout' thats generated by the standalone. > > > Tips & Tricks > > With script cgis we usually use the "put" command to send data back to the > console/browser. With standalones this won't work. You need to send your > data to stdout with something like: > > write "hello, world!" to stdout > > > So, in the end you can run standalones. Just some minor gotchas. Xvfb > starts really fast, maybe you can even start it in your loader script and > kill it after your standalone exits, don't know, anyway, if you control your > server or are in a position to make requirements, you can require that Xvfb > be running on the server. > > > This would not be needed if RunRev team ships a linux engine that > generates standalones where we can use the -ui command too. > > Hope this answer your question! :-) > > > Andre > > > On 8/15/07, Richard Gaskin < ambassador at fourthworld.com> wrote: > > > > > > Have any of you successfully run a standalone as a CGI on a Linux > > server? > > > > If so, how? > > > > -- > > 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 palcibiades-first at yahoo.co.uk Wed Aug 15 03:29:13 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Wed, 15 Aug 2007 08:29:13 +0100 Subject: Standalones as CGI Message-ID: <200708150829.13681.palcibiades-first@yahoo.co.uk> Andre, that was pure genius with Xvfb! Amazing! Peter From viktoras at ekoinf.net Wed Aug 15 03:34:11 2007 From: viktoras at ekoinf.net (viktoras didziulis) Date: Wed, 15 Aug 2007 10:34:11 +0300 Subject: including images from standard library... In-Reply-To: References: <46AB9E10.4010807@dreamscapesoftware.com> <46ABA22C.7080803@hyperactivesw.com> <46ABA3C6.6070100@dreamscapesoftware.com> <4B021ED5-4BEB-41FB-B043-3E4055C1E8CD@sosmartsoftware.com> <46BF131B.5040903@ekoinf.net> Message-ID: <46C2AC73.5080001@ekoinf.net> Thanks Sarah for the reply! Seems the only option is to copy images from standard library to the actual stack before using them. Thanks again. Best regards Viktoras Sarah Reichelt wrote: >> I use Revolution 2.6.1 to build executables (for Windows, MacOSX and >> Linux) that use images from Revolution's own standard image library. In >> a script images are referred to using their numeric id. Everything works >> within the IDE, but these images do not appear in the compiled >> application. How can I enforce the images from the standard library be >> imported during compilation of a stack ? Or is manual placement of these >> standard images on a stack the only way to do this? >> > > There used to be an option in the standalone builder to include these > standard images, but that disappeared a while ago. It always seemed a > bit extravagant to include every image when you on;y needed one or two > anyway. My preference is to place the images in my stack, give them a > high ID number so they cannot conflict with any standard icons, then > hide them. After that your buttons can use them as icons whenever > needed. > > Some people like to make a 2 card stack with all the images on the 2nd > card, or to make a sub-stack that contains all their images. If you do > either of these, then you don't have to hide them. I guess it just > depends how many images you need to deal with. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From kray at sonsothunder.com Wed Aug 15 04:06:20 2007 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 15 Aug 2007 03:06:20 -0500 Subject: Standalones as CGI In-Reply-To: <7c87a2a10708142311l4bcf8a32w487ea8965f2e6768@mail.gmail.com> References: <46C26DA6.8060103@fourthworld.com> <7c87a2a10708142254g4167c5abi1f214933ca0b287f@mail.gmail.com> <7c87a2a10708142311l4bcf8a32w487ea8965f2e6768@mail.gmail.com> Message-ID: <20070815030620887376.71661728@sonsothunder.com> On Wed, 15 Aug 2007 03:11:48 -0300, Andre Garzia wrote: > And wait, there's one more thing... > since the standalone is running on X11 (Xvfb is X11...) it has access to the > 'export snapshot' command. Whoa! Andre, this is awesome! I never knew we could do this. Well done! :-D Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Wed Aug 15 04:10:45 2007 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 15 Aug 2007 03:10:45 -0500 Subject: TAB and selection of text In-Reply-To: <4EFA03C1-CC88-47A2-82ED-393C909CAF3A@t-online.de> References: <4EFA03C1-CC88-47A2-82ED-393C909CAF3A@t-online.de> Message-ID: <20070815031045832233.b10d6f6d@sonsothunder.com> On Wed, 15 Aug 2007 07:35:50 +0200, Reinhold Venzl-Schubert wrote: > I have some textfields on my card. > I want to jump from one field to another with a TAB. > But some fields shall be leaved out. > Where can I adjust it? Tab order is based on the 'layer' property of each field (which is set on the "Size and Postion" tab in the Inspector), so if you set the layer of each of your fields in the order you want them, you'll get the tab order you're looking for. > When I jump into a field all text is selected. > With a click on any key the content is deleted. > I want to jump to a field with TAB but do not select it. > Where can I adjust this? Really? I just made a simple stack in Rev, and it selects *after* the text of fields that are tabbed to. Are you sure you don't have something else possibly interfering? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From geradamas at yahoo.com Wed Aug 15 05:32:54 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 15 Aug 2007 10:32:54 +0100 (BST) Subject: [OT] Emulating Mac OS 9 on Non-PPC Macs Message-ID: <738550.57295.qm@web37503.mail.mud.yahoo.com> Hello RunRevvites! Here on holiday in Salzburg! My younger son has a Motorola V220 Mobile phone: and trying to extract photos from it on a Mac is a right bu**er! So, found a WIN 95 disk at the bottom of my suitcase (as one does!) and installed it in Q (nifty free emulator. While I was fooling around I noticed that Q can emulate a PPC Mac! Not planning to try this as have far too many PPC Macs already: however for those of you who went out and bought Intel Macs and then felt a "bit funny" and got stuck with SheepShaver Q might be a better bet! http://fabrice.bellard.free.fr/qemu/ Love, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ From m.schonewille at economy-x-talk.com Wed Aug 15 05:46:07 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 15 Aug 2007 11:46:07 +0200 Subject: [OT] Emulating Mac OS 9 on Non-PPC Macs In-Reply-To: <738550.57295.qm@web37503.mail.mud.yahoo.com> References: <738550.57295.qm@web37503.mail.mud.yahoo.com> Message-ID: <5E3F7636-5132-46BB-A1FA-520112C408FC@economy-x-talk.com> Hi, I seriously doubt that it is easier to install Mac OS 9 on Q than on SheepShaver, even though it might run better on Q ultimately. For now, I stick to SheepShaver, which is a bit unstable, doesn't let me play sound, but does provide me with functional TCP/IP. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 15-aug-2007, om 11:32 heeft Richmond Mathewson het volgende geschreven: > Hello RunRevvites! Here on holiday in Salzburg! > > My younger son has a Motorola V220 Mobile phone: and > trying to extract photos from it on a Mac is a right > bu**er! > > So, found a WIN 95 disk at the bottom of my suitcase > (as one does!) and installed it in Q (nifty free > emulator. While I was fooling around I noticed that Q > can emulate a PPC Mac! > > Not planning to try this as have far too many PPC Macs > already: however for those of you who went out and > bought Intel Macs and then felt a "bit funny" and got > stuck with SheepShaver Q might be a better bet! > > http://fabrice.bellard.free.fr/qemu/ > > Love, Richmond Mathewson From sarah.reichelt at gmail.com Wed Aug 15 07:14:41 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 15 Aug 2007 21:14:41 +1000 Subject: TAB and selection of text In-Reply-To: <4EFA03C1-CC88-47A2-82ED-393C909CAF3A@t-online.de> References: <4EFA03C1-CC88-47A2-82ED-393C909CAF3A@t-online.de> Message-ID: > When I jump into a field all text is selected. > With a click on any key the content is deleted. > I want to jump to a field with TAB but do not select it. > Where can I adjust this? This happens if the autoTab (Tab on return) of the field is set to true. Cheers, Sarah From klaus at major-k.de Wed Aug 15 08:24:24 2007 From: klaus at major-k.de (Klaus Major) Date: Wed, 15 Aug 2007 14:24:24 +0200 Subject: Looking 4 Jan Schenkel Message-ID: Hi list, sorry for this very off-topic query, but Jan, please get in touch with me. My mails to you via "jan.sch... at q..." and "info at q..." bounce back: .... Unable to deliver to destination domain The routing information for quartam.com points to this machine, but this machine has no knowledge of that domain .... ??? Thanks in advance Klaus Major klaus at major-k.de http://www.major-k.de From andre at andregarzia.com Wed Aug 15 09:25:06 2007 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 15 Aug 2007 10:25:06 -0300 Subject: Standalones as CGI In-Reply-To: <20070815030620887376.71661728@sonsothunder.com> References: <46C26DA6.8060103@fourthworld.com> <7c87a2a10708142254g4167c5abi1f214933ca0b287f@mail.gmail.com> <7c87a2a10708142311l4bcf8a32w487ea8965f2e6768@mail.gmail.com> <20070815030620887376.71661728@sonsothunder.com> Message-ID: <7c87a2a10708150625i1daed6d8t6ea1838f2d24480d@mail.gmail.com> Ken, I didn't knew it either, but when it's late at night, my rational mind (which keep saying: "this is not worth the trouble") is shutdown and I let the flow of transcript take me away... :-) You know you can use a solution like this to generate captchas checks and pie charts directly from within a revolution cgi. I think this might even work for non-standalones cgis such as scripts (as long as they put a window on display). cheers andre On 8/15/07, Ken Ray wrote: > > On Wed, 15 Aug 2007 03:11:48 -0300, Andre Garzia wrote: > > > And wait, there's one more thing... > > since the standalone is running on X11 (Xvfb is X11...) it has access to > the > > 'export snapshot' command. > > Whoa! Andre, this is awesome! I never knew we could do this. Well done! > > :-D > > 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 alex at harryscollar.com Wed Aug 15 09:34:25 2007 From: alex at harryscollar.com (Alex Shaw) Date: Wed, 15 Aug 2007 23:34:25 +1000 Subject: Standalones as CGI In-Reply-To: <7c87a2a10708142254g4167c5abi1f214933ca0b287f@mail.gmail.com> References: <46C26DA6.8060103@fourthworld.com> <7c87a2a10708142254g4167c5abi1f214933ca0b287f@mail.gmail.com> Message-ID: <46C300E1.90301@harryscollar.com> Hi Love your work Andre! Been meaning to get round to investigating this. regards alex Andre Garzia wrote: > Richard, > I just spent the last three hours working this out for you. Not only because > you're my friend but because I wanted to know if it was possible. > > short answer is: YES. > From paulgabel at comcast.net Wed Aug 15 12:10:04 2007 From: paulgabel at comcast.net (Paul Gabel) Date: Wed, 15 Aug 2007 09:10:04 -0700 Subject: Proper Field Validation Methods and other annoyances... In-Reply-To: <46C1D77B.3040205@crcom.net> References: <46C1D77B.3040205@crcom.net> Message-ID: <1ECE5D12-0C70-4EC8-807D-199433BDF111@comcast.net> Len: Did you use the "de-installer" that comes with the Galaxy installer? If that doesn't work, try downloading a new copy of Revolution. Paul Gabel ----------- On Aug 14, 2007, at 9:25 AM, Len Morgan wrote: > Hello all! > > I've having a few "issues" that I hope someone can answer for me: > > 1) Why does put "4" is a date return true? If this function > doesn't actually work, why is it still available? I'd like to be > able to have users enter a date without any kind of punctuation > (i.e., 08142007) and be able to validate it as a valid date. The > same applies to entering 1315 as a time (no colon). > > 2) This is the "biggie." What is the proper way to validate the > contents of a field. I tried writing a "closeField" script that > would do the validation, put up a message box if the format/ > contents are wrong, then set the focus back to the field for > correction by the user. I end up getting two insertion point > cursors (one in the "bad" field and one in the next field. The > keyboard does go to the bad field but having more than one > insertion point is confusing to me let alone my end users. By the > way, I have tried not passing the closeField message but I'm not > sure if the "tab to next field" takes place anyway. > > 3) Related to #2 above, I frequently get vertical lines (insertion > point cursors) in a field as I move the mouse across it. Once they > start showing up, (and they stay so I end up with vertical bars > between every letter in the field!), I can get them to appear by > moving the mouse ABOVE the field (not in it) like I have a vertical > line that runs the height of the entire screen. Is this something > I'm doing or is it a known problem? > > It should be noted that I'm using Galaxy. I'd try switching back > to the Rev IDE except that I can't seem to remove Galaxy (even > following their instructions. It's like a bad rash - it just keeps > coming back!), I'm afraid of the "script eating tendency" of Galaxy > if you dare to attempt to use another editor. I've lost countless > days of work to this "feature." > > #2 is the most important and probably of use to the most people. > #1 should have never seen the light of day I could write my own > routine if I had to. > > Thanks in advance for listening to my whining. (sp?) > > 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 ambassador at fourthworld.com Wed Aug 15 12:44:15 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 15 Aug 2007 09:44:15 -0700 Subject: Standalones as CGI Message-ID: <46C32D5F.1020608@fourthworld.com> Andre Garzia wrote: > Ken, > I didn't knew it either, but when it's late at night, my rational mind > (which keep saying: "this is not worth the trouble") is shutdown and I let > the flow of transcript take me away... :-) > > You know you can use a solution like this to generate captchas checks and > pie charts directly from within a revolution cgi. I think this might even > work for non-standalones cgis such as scripts (as long as they put a window > on display). Andre, I very much appreciate your dedicated effort on this, and for many uses on my own servers I can see where I can put this to use. Unfortunately, because it requires the installation of libraries not normally installed on Linux/Apache systems, as good as it may be for myself it seems problematic to try to sell it as a product for others to use on their systems. I hope one day we can get a version of the engine that can run as a CGI on standard installations with nothing more than the engine itself, or at most a standalone. In its current form, I see a lot of tech support calls if I tried to deploy such a product with the current engine. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From andre at andregarzia.com Wed Aug 15 13:37:38 2007 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 15 Aug 2007 14:37:38 -0300 Subject: Standalones as CGI In-Reply-To: <200708150829.13681.palcibiades-first@yahoo.co.uk> References: <200708150829.13681.palcibiades-first@yahoo.co.uk> Message-ID: <7c87a2a10708151037h5f5786el7c511963ced6b41f@mail.gmail.com> Thanks Peter, this solves the problem with linux standalones for cgis if you're on the fortunate position of having your own box. I have a VPS so it's easy for me to try stuff like this but for those using simple vanilla web hosting, this is impossible. anyway, Xvfb works better than I though! :-) Andre On 8/15/07, Peter Alcibiades wrote: > > Andre, that was pure genius with Xvfb! Amazing! > > 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 Wed Aug 15 14:21:32 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 15 Aug 2007 11:21:32 -0700 (PDT) Subject: making one pixel with a graphic In-Reply-To: Message-ID: <304307.49293.qm@web60520.mail.yahoo.com> --- Bj?rnke von Gierke wrote: > I am trying to make chars using rev's polygons, but > can't make it show > one pixel on it's own. This is due to the way it > antialiases, reducing > the pixel to nothing. Pixel shows fine when > antialiasing is shut off. > However, I do need antialiasing. Any possibility for > this to work? > (many chars do have just one pixel in most fonts, > eg: ?!.:;ij) > Hi Bjoernke, Since you need the anti-aliasing for the rest of the polygon, the only solution I see is making two polygons, one aliased and one anti-aliased, where the single-pixels bits are stuff into the aliased polygon. 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) ____________________________________________________________________________________ Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. http://autos.yahoo.com/carfinder/ From janschenkel at yahoo.com Wed Aug 15 14:22:44 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 15 Aug 2007 11:22:44 -0700 (PDT) Subject: Looking 4 Jan Schenkel In-Reply-To: Message-ID: <901576.13146.qm@web60523.mail.yahoo.com> --- Klaus Major wrote: > Hi list, > > sorry for this very off-topic query, but Jan, please > get in touch > with me. > My mails to you via "jan.sch... at q..." and > "info at q..." bounce back: > > .... > Unable to deliver to destination domain > The routing information for quartam.com points to > this machine, > but this machine has no knowledge of that domain > .... > > ??? > > > Thanks in advance > > Klaus Major > Just a quick note to say that I have replied off-list. Must change domain name registrars one of these days... 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) ____________________________________________________________________________________Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. http://tv.yahoo.com/ From jbv.silences at club-internet.fr Wed Aug 15 14:35:47 2007 From: jbv.silences at club-internet.fr (jbv) Date: Wed, 15 Aug 2007 20:35:47 +0200 Subject: Standalones as CGI References: <46C26DA6.8060103@fourthworld.com> <7c87a2a10708142254g4167c5abi1f214933ca0b287f@mail.gmail.com> <7c87a2a10708142311l4bcf8a32w487ea8965f2e6768@mail.gmail.com> Message-ID: <46C34781.2961E4A5@club-internet.fr> Hi all, > > > This is my standalone named teste2. Now with the loader script from the > previous email, we're able to see what the standalone think of the display. > Go to > > http://www.andregarzia.com/cgi-bin/teste3.cgi > > you'll see that this loads the standalone, it renders itself, takes a > snapshot of itself, and quits very fast. Since we're running no window > manager or nice graphical libraries, our stack has no border or title, but > yet, it runs and it is able to do marvelous things... > > Just to prove that this is live, I've added a bit in the code to show your > own IP... > > Now, we can use linux standalones and even generate images. What about this? OK, Andre has done a wonderful job (as always), and you (probably) all know that I'm a big fan of Rev cgi (building websites around it every time I can)... Nevertheless, I don't want to be the devil's advocate, but I was wondering what practical use we could find in generating images via cgi standalones, like bar charts etc. I mean, there are already several (fast) php librairies capable of it, that can be hooked to any Rev cgi script... And there are also some js functions that allow generation of various graphics on the client side browser... Last but not least, as for image manipulation, we all know the slowness of imagedata... So I'm curious : any brilliant idea ? best, JB From janschenkel at yahoo.com Wed Aug 15 14:41:22 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 15 Aug 2007 11:41:22 -0700 (PDT) Subject: Standalones as CGI In-Reply-To: <46C34781.2961E4A5@club-internet.fr> Message-ID: <216506.79445.qm@web60513.mail.yahoo.com> --- jbv wrote: > OK, Andre has done a wonderful job (as always), and > you (probably) all know that I'm > a big fan of Rev cgi (building websites around it > every time I can)... > > Nevertheless, I don't want to be the devil's > advocate, but I was wondering what practical > use we could find in generating images via cgi > standalones, like bar charts etc. > I mean, there are already several (fast) php > librairies capable of it, that can be hooked to any > Rev cgi script... And there are also some js > functions that allow generation of various > graphics on the client side browser... > Last but not least, as for image manipulation, we > all know the slowness of imagedata... > > So I'm curious : any brilliant idea ? > Apart from the obvious one: I can make those things in Rev already, I don't know PHP and don't want to learn something that looks like C ? Don't get me wrong: I spend quite some time with Java and do know a bit of PHP - but that doesn't mean that I like those better than Rev. The most important thing is that it gets the job done. 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) ____________________________________________________________________________________ Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 From ambassador at fourthworld.com Wed Aug 15 15:09:01 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 15 Aug 2007 12:09:01 -0700 Subject: Standalones as CGI Message-ID: <46C34F4D.4060609@fourthworld.com> jbv wrote: > Nevertheless, I don't want to be the devil's > advocate, but I was wondering what practical > use we could find in generating images via cgi > standalones, like bar charts etc. > I mean, there are already several (fast) php > librairies capable of it, that can be hooked to any > Rev cgi script... And there are also some js > functions that allow generation of various > graphics on the client side browser... > Last but not least, as for image manipulation, we > all know the slowness of imagedata... Upside of using Rev: delivering server-side products without giving away the source. Downside of using Rev: It's so finicky about server configuration that it makes public sale of such a product prohibitive. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bridgeyman at gmail.com Wed Aug 15 15:27:03 2007 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Wed, 15 Aug 2007 13:27:03 -0600 Subject: MySQL Timeout Message-ID: <86ae76bb0708151227g70182729qb8704831c963a61c@mail.gmail.com> Hey, Is there a way to set a maximum time for a MySQL query to execute before it times out? As it is right now, if the MySQL server is having problems or something then my application will hang indefinitely waiting for a response. Is there a way to set a timeout? Thank You, Bridger Maxwell www.FieryFerret.com From jacque at hyperactivesw.com Wed Aug 15 16:49:08 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 Aug 2007 15:49:08 -0500 Subject: Standalones as CGI In-Reply-To: <46C34F4D.4060609@fourthworld.com> References: <46C34F4D.4060609@fourthworld.com> Message-ID: <46C366C4.6080903@hyperactivesw.com> Richard Gaskin wrote: > Downside of using Rev: It's so finicky about server configuration that > it makes public sale of such a product prohibitive. The requirements for using a CGI on Linux (as I understand it, which I admit I'm hazy on) are that all the libs contained in a standard Linux installation need to be installed on the server. This was pretty ubiquitous a while back and didn't cause any trouble. At JaguarPC, where my site is hosted, I never had any trouble and it just all worked the first time I tried it. The trouble most people encounter now is that some ISPs choose not to install a few libraries that aren't strictly required for web serving. When those are missing, you get Rev's "missing files" error. Most ISPs will happily install them for you, since they don't interfere with the existing setup in any way; they just aren't required for most web applications. The other thing that causes trouble is if a newer version of a library has been installed on the server. In that case, you also get an error because the newer libs have different names (so you get the same "missing file" error.) This can usually be solved by naming an alias of the newer library to match the old one that Rev expects to find. I have even heard (but haven't tested) that you can create an empty text file and use that, as long as it has the name Rev is looking for. Most of the time, Rev doesn't really use those files either; they just have to be present. In either case, Rev is just relying on an installation that is now somewhat out of date, or which may be incomplete on the server. I believe the plan for the next Linux release is to reduce some of the various file dependencies, and hopefully those libraries which aren't specifically required for CGI work will no longer be required on the server. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jeff at siphonophore.com Wed Aug 15 16:49:30 2007 From: jeff at siphonophore.com (Jeff Reynolds) Date: Wed, 15 Aug 2007 16:49:30 -0400 Subject: [OT] Energy Efficient Search Engine In-Reply-To: <20070815094640.7B044489061@mail.runrev.com> References: <20070815094640.7B044489061@mail.runrev.com> Message-ID: <362A9923-4EBB-45B1-83A4-A71EF84C1741@siphonophore.com> We did a large amount of reading studies for an NSF cdrom for kids a while back and what worked best for various aspects of reading on the screen vs the printed page. Turns out black on white wins way over the reverse or messing with either text or bg color much. you can go to a slight beige background w/o much of a hit at all, but light text on dark gave a big downturn in reading speed, comprehension and retention. Study was one on jr high kids, but they did some side testing on grade school and high school/adult an all indications were that the results were the same on the gross level. The study was done by UC Irvine educational testing group so was done in strict enough ways to make NSF happy (not enough to make me totally happy coming from a very heavy science background, but the statistics were good enough and process was good enough to see a very marked difference). I know my eyes are a lot happier and i can scan thing soo much better on black on white than the reverse. At times you can go too far in trying to be green and crippling the thing you were trying to do. I think the point that turning screens off or to all black screen savers is a much more worthwhile way with kids to save power rather than making the content harder for them to take in. It also helps instill in them the philosophy that they should turn things off when not in use, ie make it an active not a passive process. cheers, Jeffrey Reynolds On Aug 15, 2007, at 5:46 AM, use-revolution-request at lists.runrev.com wrote: > Didn't have any troubles reading the black pages. The techlogg post > is very > interesting, especially in respect to the reverse outcome if you > use LCDs. > As I have kids running 4 x 17" CRTs even at 10 watts instead of the > claimed > 15 watts per monitor, I'll be weening my google junkies over to > Blackie :- From jacque at hyperactivesw.com Wed Aug 15 16:54:19 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 Aug 2007 15:54:19 -0500 Subject: [OT] Energy Efficient Search Engine In-Reply-To: <362A9923-4EBB-45B1-83A4-A71EF84C1741@siphonophore.com> References: <20070815094640.7B044489061@mail.runrev.com> <362A9923-4EBB-45B1-83A4-A71EF84C1741@siphonophore.com> Message-ID: <46C367FB.3010601@hyperactivesw.com> Jeff Reynolds wrote: > Turns out black on white wins way over the reverse or messing with > either text or bg color much. you can go to a slight beige background > w/o much of a hit at all, but light text on dark gave a big downturn in > reading speed, comprehension and retention. I have to agree with this. Light text on a dark background is so hard for me to read that I take the time to reset my browser display whenever I see a site like that -- or else I just don't read it at all. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jbv.silences at club-internet.fr Wed Aug 15 16:58:03 2007 From: jbv.silences at club-internet.fr (jbv) Date: Wed, 15 Aug 2007 22:58:03 +0200 Subject: Standalones as CGI References: <216506.79445.qm@web60513.mail.yahoo.com> Message-ID: <46C368D5.27611F98@club-internet.fr> Jan, > > Apart from the obvious one: I can make those things in > Rev already, I don't know PHP and don't want to learn > something that looks like C ? with the librairies I had in mind, you don't need to know anything about php : you just install the php files on your server, and call various functions with the right parameters from your cgi script... about the same as calling an external in a regular Rev stack... JB From david at openpartnership.net Wed Aug 15 16:59:00 2007 From: david at openpartnership.net (David Bovill) Date: Wed, 15 Aug 2007 21:59:00 +0100 Subject: Inks: black translucent background with hole Message-ID: Just wandering if someone who knows about inks can work this out: I want to make a selection area of an image the only bit that shows up clearly with the rest of the image darkened. I think I've done this before by using two button on top of the image - one the whole size of the image and the other the size of the selection. The combination of the inks results in a completely translucent area - hope that is clear. I guess the other way is to have 4 translucent black buttons and position them? From andre at andregarzia.com Wed Aug 15 17:09:52 2007 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 15 Aug 2007 18:09:52 -0300 Subject: Standalones as CGI In-Reply-To: <46C366C4.6080903@hyperactivesw.com> References: <46C34F4D.4060609@fourthworld.com> <46C366C4.6080903@hyperactivesw.com> Message-ID: <7c87a2a10708151409g1245a49eq4217d3b4443b3a21@mail.gmail.com> Jacque, this is true only for text script files. If you try to run a compiled linux standalone, you better have some kind of X11 server handy. Also, using put on a standalone does not get the data back to the browser, you need to write to stdout. :-) andre On 8/15/07, J. Landman Gay wrote: > > Richard Gaskin wrote: > > > Downside of using Rev: It's so finicky about server configuration that > > it makes public sale of such a product prohibitive. > > The requirements for using a CGI on Linux (as I understand it, which I > admit I'm hazy on) are that all the libs contained in a standard Linux > installation need to be installed on the server. This was pretty > ubiquitous a while back and didn't cause any trouble. At JaguarPC, where > my site is hosted, I never had any trouble and it just all worked the > first time I tried it. > > The trouble most people encounter now is that some ISPs choose not to > install a few libraries that aren't strictly required for web serving. > When those are missing, you get Rev's "missing files" error. Most ISPs > will happily install them for you, since they don't interfere with the > existing setup in any way; they just aren't required for most web > applications. > > The other thing that causes trouble is if a newer version of a library > has been installed on the server. In that case, you also get an error > because the newer libs have different names (so you get the same > "missing file" error.) This can usually be solved by naming an alias of > the newer library to match the old one that Rev expects to find. I have > even heard (but haven't tested) that you can create an empty text file > and use that, as long as it has the name Rev is looking for. Most of the > time, Rev doesn't really use those files either; they just have to be > present. > > In either case, Rev is just relying on an installation that is now > somewhat out of date, or which may be incomplete on the server. I > believe the plan for the next Linux release is to reduce some of the > various file dependencies, and hopefully those libraries which aren't > specifically required for CGI work will no longer be required on the > server. > > -- > 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 scott at tactilemedia.com Wed Aug 15 17:24:34 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 15 Aug 2007 14:24:34 -0700 Subject: Inks: black translucent background with hole In-Reply-To: Message-ID: Recently, David Bovill wrote: > I want to > make a selection area of an image the only bit that shows up clearly with > the rest of the image darkened. I have a stack that might illustrate what you're trying to do. Execute the following in your message box: go url "http://www.tacilemedia.com/download/spotlight.rev" Sorry for the large filesize (860K) but this was the most immediate example I had. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From mwieder at ahsoftware.net Wed Aug 15 17:32:22 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 15 Aug 2007 14:32:22 -0700 Subject: [OT] Energy Efficient Search Engine References: Message-ID: Kay- > account the huge number of page views, according to his calculations, 750 > mega watts/hour per year would be saved. OTOH, at a 20% wattage savings, if I have to spend 12 seconds longer each minute squinting at light gray text on a black background then it's a wash. And if I have to spend any longer because of the unreadable text I actually waste more electricity than if I'd left well enough alone. -- Mark Wieder mwieder at ahsoftware.net From userev at canelasoftware.com Wed Aug 15 18:01:14 2007 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 15 Aug 2007 15:01:14 -0700 Subject: [OT] Energy Efficient Search Engine In-Reply-To: References: Message-ID: <054D66FB-C291-4B05-80BA-169CF1A2E718@canelasoftware.com> On Aug 15, 2007, at 2:32 PM, Mark Wieder wrote: > Kay- > >> account the huge number of page views, according to his >> calculations, 750 >> mega watts/hour per year would be saved. > > OTOH, at a 20% wattage savings, if I have to spend 12 seconds > longer each > minute squinting at light gray text on a black background then it's > a wash. > And if I have to spend any longer because of the unreadable text I > actually > waste more electricity than if I'd left well enough alone. I actually like the dark background. I have switched to this site. I guess I am in the margin when it comes to color schemes. :) Mark Talluto -- CANELA Software http://www.canelasoftware.com From stephenREVOLUTION at barncard.com Wed Aug 15 18:23:04 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 15 Aug 2007 15:23:04 -0700 Subject: [OT] Energy Efficient Search Engine Message-ID: Energy considerations aside, I a black info window with white text. I find it a lot easier on the eyes. I'd do it with all apps that require text entry except many apps don't fix all interface elelments correctly to match. I can't be alone here... >Kay- > >> account the huge number of page views, according to his calculations, 750 >> mega watts/hour per year would be saved. > >OTOH, at a 20% wattage savings, if I have to spend 12 seconds longer each >minute squinting at light gray text on a black background then it's a wash. >And if I have to spend any longer because of the unreadable text I actually >waste more electricity than if I'd left well enough alone. > >-- > Mark Wieder > mwieder at ahsoftware.net -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From ambassador at fourthworld.com Wed Aug 15 18:33:39 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 15 Aug 2007 15:33:39 -0700 Subject: no selection rectagle with screen grab? Message-ID: <46C37F43.40704@fourthworld.com> In all versions I've tested prior to v2.8, the "export snapshot" command provides some indication of the rectangle being selected by the user. In v2.8.1, at least on OS X, I see no indication of this selection at all. This is, if you'll pardon the pun, a drag. I have a recollection of this being a known bug, and having been fixed. If so, is anyone else still seeing this? Am I suffering from False Memory Syndrome? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From sarah.reichelt at gmail.com Wed Aug 15 19:57:10 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 16 Aug 2007 09:57:10 +1000 Subject: no selection rectagle with screen grab? In-Reply-To: <46C37F43.40704@fourthworld.com> References: <46C37F43.40704@fourthworld.com> Message-ID: On 8/16/07, Richard Gaskin wrote: > In all versions I've tested prior to v2.8, the "export snapshot" command > provides some indication of the rectangle being selected by the user. > > In v2.8.1, at least on OS X, I see no indication of this selection at all. It works for me Richard (Rev 2.8.1 Build 472, Mac OS X 10.4.10). I see the cross-hair cursor and when I drag, a gray translucent rectangle shows what I am getting. Cheers, Sarah From ambassador at fourthworld.com Wed Aug 15 20:08:56 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 15 Aug 2007 17:08:56 -0700 Subject: no selection rectagle with screen grab? Message-ID: <46C39598.6010306@fourthworld.com> Sarah Reichelt wrote: > On 8/16/07, Richard Gaskin wrote: >> In all versions I've tested prior to v2.8, the "export snapshot" command >> provides some indication of the rectangle being selected by the user. >> >> In v2.8.1, at least on OS X, I see no indication of this selection at all. > > It works for me Richard (Rev 2.8.1 Build 472, Mac OS X 10.4.10). I see > the cross-hair cursor and when I drag, a gray translucent rectangle > shows what I am getting. Freaky: same Rev version, same OS, but I don't get the selection rectangle. I'm on a MacBook Pro, FWIW. What syntax are you using? I used: export snapshot to tMyVar as jpeg Anyone else not seeing the selection indicator? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From sarah.reichelt at gmail.com Wed Aug 15 20:38:00 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 16 Aug 2007 10:38:00 +1000 Subject: no selection rectagle with screen grab? In-Reply-To: <46C39598.6010306@fourthworld.com> References: <46C39598.6010306@fourthworld.com> Message-ID: > >> In all versions I've tested prior to v2.8, the "export snapshot" command > >> provides some indication of the rectangle being selected by the user. > >> > >> In v2.8.1, at least on OS X, I see no indication of this selection at all. > > > > It works for me Richard (Rev 2.8.1 Build 472, Mac OS X 10.4.10). I see > > the cross-hair cursor and when I drag, a gray translucent rectangle > > shows what I am getting. > > Freaky: same Rev version, same OS, but I don't get the selection rectangle. > > I'm on a MacBook Pro, FWIW. > > What syntax are you using? I used: > > export snapshot to tMyVar as jpeg > > Anyone else not seeing the selection indicator? I wonder is it an Intel Mac thing? I'm testing on a G5 iMac. I used your syntax but hard-coded a file path name since I was only testing from the message box. Sarah From capellan2000 at yahoo.com Wed Aug 15 21:04:01 2007 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Wed, 15 Aug 2007 18:04:01 -0700 (PDT) Subject: Looking for demos and documentation for Browser, SQLite and Font DLLs In-Reply-To: <20070815170005.4839348908E@mail.runrev.com> Message-ID: <306405.39044.qm@web36507.mail.mud.yahoo.com> Hi all, Recently, when i updated to Rev 2.8.1 i discover that i have a brand new version of the browser dll (i bought the first version from Altuit) and SQLite and Font dll. Where i could find the original docs and demos published by Altuit or (hopefully) the more recent and updated ones from RunRev? Thanks in advance. alejandro Visit my site: http://www.geocities.com/capellan2000/ ____________________________________________________________________________________ Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 From alex at harryscollar.com Wed Aug 15 21:29:05 2007 From: alex at harryscollar.com (Alex Shaw) Date: Thu, 16 Aug 2007 11:29:05 +1000 Subject: Looking for demos and documentation for Browser, SQLite and Font DLLs In-Reply-To: <306405.39044.qm@web36507.mail.mud.yahoo.com> References: <306405.39044.qm@web36507.mail.mud.yahoo.com> Message-ID: <46C3A861.40900@harryscollar.com> Hi Alejandro I was in the same boat recently.. had an old project developed with rev2.6.1 & used a sqlite 2.x database. The client got a new intel macbook pro, so.. All I had to do was convert the sqlite2 database to a sqlite3 one using SQLiteManager (from http://www.sqlabs.net but there are other ways), recreate my main application executable with rev2.8.1 Admitably, I couldn't help but fix things so graphics were utilising anti-alised features of the new engine :) But otherwise it was pretty straight forward. I did a standard install of rev so on my bootcamped machine the new SQLite demo lives at the following locations.. OSX side -> /Applications/Revolution Enterprise/2.8.1-gm-3/Resources/Examples/SQLite Sampler.rev XP side -> c:\Progam Files\Revolution Enterprise\2.8.1-gm-3\Resources\Examples\SQLite Sampler.rev regards alex Alejandro Tejada wrote: > Hi all, > > Recently, when i updated to Rev 2.8.1 > i discover that i have a brand new version > of the browser dll (i bought the first > version from Altuit) and SQLite and Font dll. > > Where i could find the original docs and demos > published by Altuit or (hopefully) the more recent > and updated ones from RunRev? > > Thanks in advance. > > alejandro > From scott at elementarysoftware.com Wed Aug 15 21:36:15 2007 From: scott at elementarysoftware.com (Scott Morrow) Date: Wed, 15 Aug 2007 18:36:15 -0700 Subject: no selection rectagle with screen grab? In-Reply-To: References: <46C39598.6010306@fourthworld.com> Message-ID: I get crosshairs and gray selection rectangle on a G5 I get crossHairs but NO selection rectangle on Intel MacMini -Scott Morrow Elementary Software On Aug 15, 2007, at 5:38 PM, Sarah Reichelt wrote: >>>> In all versions I've tested prior to v2.8, the "export snapshot" >>>> command >>>> provides some indication of the rectangle being selected by the >>>> user. >>>> >>>> In v2.8.1, at least on OS X, I see no indication of this >>>> selection at all. >>> >>> It works for me Richard (Rev 2.8.1 Build 472, Mac OS X 10.4.10). >>> I see >>> the cross-hair cursor and when I drag, a gray translucent rectangle >>> shows what I am getting. >> >> Freaky: same Rev version, same OS, but I don't get the selection >> rectangle. >> >> I'm on a MacBook Pro, FWIW. >> >> What syntax are you using? I used: >> >> export snapshot to tMyVar as jpeg >> >> Anyone else not seeing the selection indicator? > > > I wonder is it an Intel Mac thing? I'm testing on a G5 iMac. I used > your syntax but hard-coded a file path name since I was only testing > from the message box. > > 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 david at openpartnership.net Wed Aug 15 21:46:46 2007 From: david at openpartnership.net (David Bovill) Date: Thu, 16 Aug 2007 02:46:46 +0100 Subject: no selection rectagle with screen grab? In-Reply-To: References: <46C39598.6010306@fourthworld.com> Message-ID: Same here - no selection area on intel Mac From brentj84062 at gmail.com Wed Aug 15 21:51:02 2007 From: brentj84062 at gmail.com (Brent Anderson) Date: Wed, 15 Aug 2007 19:51:02 -0600 Subject: Lumen 1.2 Message-ID: Hello. I'd like to announce that Lumen version 1.2 has been released by Fiery Ferret. Under it's new Shareware license, Lumen sports larger board sizes (up to 14x14 grids) and puzzle status indicators! Best of all, over 500 puzzles are available! Visit http://www.fieryferret.com/ lumen/lumen.html to download or purchase this new version today! Thanks, Brent Anderson Fiery Ferret brent at fieryferret.com From ambassador at fourthworld.com Wed Aug 15 22:24:45 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 15 Aug 2007 19:24:45 -0700 Subject: no selection rectagle with screen grab? Message-ID: <46C3B56D.8030305@fourthworld.com> Thanks for the info, gang. I just updated Terry Judd's bug report on this with the information we've discovered today: It used to work so well, disappointing to have to consider pulling a feature from one of my apps.... -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From niconiko at gmail.com Wed Aug 15 23:04:02 2007 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 16 Aug 2007 12:04:02 +0900 Subject: combining sound files Message-ID: <1e91b2b70708152004t6ea1e8c2xdc5e0ecfa4ba5ac1@mail.gmail.com> How could I use Rev to combine two sound files into one sound file? Thanks. -- Nicolas Cueto From katir at hindu.org Thu Aug 16 00:03:12 2007 From: katir at hindu.org (Sivakatirswami) Date: Wed, 15 Aug 2007 18:03:12 -1000 Subject: [ANN] Far_Out.Rev In-Reply-To: <828C0BDC-3C6E-4D91-AD2D-8A2BE3C8716A@mac.com> References: <828C0BDC-3C6E-4D91-AD2D-8A2BE3C8716A@mac.com> Message-ID: <46C3CC80.4090209@hindu.org> Roger Guay wrote: > Hello Ol friends, > > I my attempt to gain some meaningful perspective into the incredible > vastness of the cosmos, I constructed this modest stack called > Far_Out.Rev. You can find it on revOnline under my name RogerG. > > Tell me what you think. Marvelous. I turned it into a stand alone and sent it around to all the monks here. We love this kind of thing... the cosmic perspective... > > All The Best, > Roger > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Om shanti (In Peace) Sivakatirswami www.himalayanacademy.com Get Hinduism Today Digital Edition. It's Free! http://www.hinduismtoday.com/digital/ From david at openpartnership.net Thu Aug 16 05:25:32 2007 From: david at openpartnership.net (David Bovill) Date: Thu, 16 Aug 2007 10:25:32 +0100 Subject: combining sound files In-Reply-To: <1e91b2b70708152004t6ea1e8c2xdc5e0ecfa4ba5ac1@mail.gmail.com> References: <1e91b2b70708152004t6ea1e8c2xdc5e0ecfa4ba5ac1@mail.gmail.com> Message-ID: There are a few techniques. Either: 1. Create SMIL or one of the other text based QuickTime files 2. Use Trevors Ehanced Quicktime external to create QuickTime movies with the audio files i them. 3. Use Rev to shell out to an open source command line tool On 16/08/07, Nicolas Cueto wrote: > > How could I use Rev to combine two sound files into one sound file? > > Thanks. > > -- > Nicolas Cueto > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From david at openpartnership.net Thu Aug 16 05:34:27 2007 From: david at openpartnership.net (David Bovill) Date: Thu, 16 Aug 2007 10:34:27 +0100 Subject: combining sound files In-Reply-To: References: <1e91b2b70708152004t6ea1e8c2xdc5e0ecfa4ba5ac1@mail.gmail.com> Message-ID: On 16/08/07, David Bovill wrote: > > There are a few techniques. Either: > > 1. Create SMIL or one of the other text based QuickTime files > > This is the easiest and works well unless you wish to have tight synching of the tracks. > > 1. Use Trevors Ehanced QuickTime external to create QuickTime movies > with the audio files i them. > > Use "command qtSetTrackOffset" and layereed tracks to precisely control timing. > > 1. Use Rev to shell out to an open source command line tool > > Not tried - but there are a lt of these well tested open source command lines tools out there - quite a few are cross platform. From klaus at major-k.de Thu Aug 16 05:46:55 2007 From: klaus at major-k.de (Klaus Major) Date: Thu, 16 Aug 2007 11:46:55 +0200 Subject: combining sound files In-Reply-To: References: <1e91b2b70708152004t6ea1e8c2xdc5e0ecfa4ba5ac1@mail.gmail.com> Message-ID: Konichi-wa Cueto-san, > On 16/08/07, David Bovill wrote: >> There are a few techniques. Either: >> 1. Create SMIL or one of the other text based QuickTime files >> This is the easiest and works well unless you wish to have tight >> synching >> of the tracks. You could use my little "mk_libsmil1" to get started. Get it via Rev-online, user "klausimausi". >> 1. Use Trevors Ehanced QuickTime external to create QuickTime >> movies >> with the audio files i them. >> >> Use "command qtSetTrackOffset" and layereed tracks to precisely >> control >> timing. In addtition you can load the resulting SMIL file into a playerobject and use Trevor's EXCELLENT Enhanced QT External to export one mov file from it :-) Regards Klaus Major klaus at major-k.de http://www.major-k.de From jean-pierre.soto at wanadoo.fr Thu Aug 16 06:39:12 2007 From: jean-pierre.soto at wanadoo.fr (Jean-Pierre) Date: Thu, 16 Aug 2007 12:39:12 +0200 Subject: imageSource problem Message-ID: <5526EF83-66EA-48BE-BC93-71FD08653CF8@wanadoo.fr> I try to use the imageSource property for the first time. The ID form is OK, but it does'nt work with a filePath. set the imageSource of char 3 of field "texte" to "C:/Documents/..../ Belo.jpg" i see some white space at the place of the character but no image. Thanks... From m.schonewille at economy-x-talk.com Thu Aug 16 06:50:05 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 16 Aug 2007 12:50:05 +0200 Subject: imageSource problem In-Reply-To: <5526EF83-66EA-48BE-BC93-71FD08653CF8@wanadoo.fr> References: <5526EF83-66EA-48BE-BC93-71FD08653CF8@wanadoo.fr> Message-ID: Hi Jean-Pierre, Assuming that your filepath is correct, that should be: set the imageSource of char 3 of field "texte" to "binfile:C:/ Documents/..../Belo.jpg" Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 16-aug-2007, om 12:39 heeft Jean-Pierre het volgende geschreven: > I try to use the imageSource property for the first time. > > The ID form is OK, but it does'nt work with a filePath. > > set the imageSource of char 3 of field "texte" to "C:/ > Documents/..../Belo.jpg" > > i see some white space at the place of the character but no image. > > > Thanks... From eric.chatonet at sosmartsoftware.com Thu Aug 16 08:48:34 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 16 Aug 2007 14:48:34 +0200 Subject: Guidelines for Using Stacks on Web Back End In-Reply-To: <46C1F9DC.8050104@hindu.org> References: <46C1F9DC.8050104@hindu.org> Message-ID: <0A0B9AD7-27D1-4BAF-B339-6B958D23DDD8@sosmartsoftware.com> Hi Sivakatirswami, Le 14 ao?t 07 ? 20:52, Sivakatirswami a ?crit : > OT: (old subject) where is all this best documented? We have at least > 1/2 dozen > initiatives going now to provide cyberspace for rev resources... > but still a virtual black box for any newbie looking for help. > Eric's resources picker being the best solution floated to date. > but I don't think it is up to date with new repositories. Thanks for the kind words. Resources Picker or 2.7/2.8 Search engine are shipped with a list of about 40 urls. Later, it's easy to add, rename or remove an url by using the tools menu in Resources Picker or by right clicking the 'Display' button in the Search Engine. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From m.schonewille at economy-x-talk.com Thu Aug 16 08:51:49 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 16 Aug 2007 14:51:49 +0200 Subject: Looking for demos and documentation for Browser, SQLite and Font DLLs In-Reply-To: <306405.39044.qm@web36507.mail.mud.yahoo.com> References: <306405.39044.qm@web36507.mail.mud.yahoo.com> Message-ID: Hi, I have sent some info off-list. Also, I have uploaded a very basic example of using a browser inside a stack to RevOnline. User name Mark, title RevBrowser Test. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 16-aug-2007, om 3:04 heeft Alejandro Tejada het volgende geschreven: > Hi all, > > Recently, when i updated to Rev 2.8.1 > i discover that i have a brand new version > of the browser dll (i bought the first > version from Altuit) and SQLite and Font dll. > > Where i could find the original docs and demos > published by Altuit or (hopefully) the more recent > and updated ones from RunRev? > > Thanks in advance. > > alejandro From eric.chatonet at sosmartsoftware.com Thu Aug 16 09:00:53 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 16 Aug 2007 15:00:53 +0200 Subject: imageSource problem In-Reply-To: <5526EF83-66EA-48BE-BC93-71FD08653CF8@wanadoo.fr> References: <5526EF83-66EA-48BE-BC93-71FD08653CF8@wanadoo.fr> Message-ID: <2B09E746-CA4D-4060-B4F4-F2AD32B8FA40@sosmartsoftware.com> Bonjour Jean-Pierre, Le 16 ao?t 07 ? 12:39, Jean-Pierre a ?crit : > I try to use the imageSource property for the first time. > > The ID form is OK, but it does'nt work with a filePath. > > set the imageSource of char 3 of field "texte" to "C:/ > Documents/..../Belo.jpg" > > i see some white space at the place of the character but no image. Try this: set the imageSource of char 3 of field "texte" to "binfile:" & Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From jeff at siphonophore.com Thu Aug 16 12:25:14 2007 From: jeff at siphonophore.com (Jeff Reynolds) Date: Thu, 16 Aug 2007 12:25:14 -0400 Subject: use-revolution Digest, Vol 47, Issue 19 In-Reply-To: <20070816105012.47FCE489790@mail.runrev.com> References: <20070816105012.47FCE489790@mail.runrev.com> Message-ID: <0586B028-5B5C-44F5-AED3-DC1764AB08D6@siphonophore.com> Stephen, No you are not alone, just in the minority from the work we did. I wish i kept the data, the company is now gone along with all the files... I do remember that the score distribution was totally moved down on the light on dark tests, so it looked like most everyone was being affected in stead of just part of the group bombing out badly. I'm pretty sure that Xerox, Apple and MS HI research has borne out the same conclusions. Light on dark is great as long as folks can select what works best for them. Only problem is users may not realize their comprehension, speed and retention are going down using the dark on light... Even though it may look better to you that does not mean you function better with that one. Thats exactly why we did the tests so that we would not just do what looked good, but what worked better. in both print and screens i find myself squinting when i go dark on light. I dont notice this at first and just adjust, but in a while start realizing im squinting and leaning a bit. I know the eye doctors dont like you doing that for any long period. my eyes are at boarder line needing glasses after years of staring at screens. Im all for energy reduction and do just about everything i can to do it, but in this case i just think its a bad idea unless its totally switchable since it can just cause problems. Just seems like there are many other ways of saving energy and carbon that are much more active and just have all sorts of wins w/o losses. like driving less, not only saving energy you are reducing your exposure to injury and exposure to high point source pollutants as well as lowering stress! cheers, jeff On Aug 16, 2007, at 6:50 AM, use-revolution-request at lists.runrev.com wrote: > Energy considerations aside, I a black info window with white > text. I find it a lot easier on the eyes. I'd do it with all apps > that require text entry except many apps don't fix all interface > elelments correctly to match. > > I can't be alone here... > > >> Kay- >> >>> account the huge number of page views, according to his >>> calculations, 750 >>> mega watts/hour per year would be saved. >> >> OTOH, at a 20% wattage savings, if I have to spend 12 seconds >> longer each >> minute squinting at light gray text on a black background then >> it's a wash. >> And if I have to spend any longer because of the unreadable text I >> actually >> waste more electricity than if I'd left well enough alone. >> >> -- >> Mark Wieder >> mwieder at ahsoftware.net From robmann at gp-racing.com Thu Aug 16 13:33:45 2007 From: robmann at gp-racing.com (Robert Mann) Date: Thu, 16 Aug 2007 13:33:45 -0400 Subject: revExecuteSQL? Message-ID: When you run revExecuteSQL dbID, tSQL how do you check to make sure it completed successfully? Thanks Rob From devin_asay at byu.edu Thu Aug 16 13:39:12 2007 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 16 Aug 2007 11:39:12 -0600 Subject: revExecuteSQL? In-Reply-To: References: Message-ID: <3B38AC53-70BE-4924-9C9B-2BA822BD74B3@byu.edu> On Aug 16, 2007, at 11:33 AM, Robert Mann wrote: > When you run > > revExecuteSQL dbID, tSQL > > how do you check to make sure it completed successfully? get the result if the result is a number then # it was successful end if HTH Devin Asay Humanities Technology and Research Support Center Brigham Young University From brentj84062 at gmail.com Thu Aug 16 13:44:14 2007 From: brentj84062 at gmail.com (Brent Anderson) Date: Thu, 16 Aug 2007 11:44:14 -0600 Subject: revExecuteSQL? In-Reply-To: References: Message-ID: Hello. Check "the result" for any error messages. Thanks, Brent Anderson Fiery Ferret www.fieryferret.com From paulgabel at comcast.net Thu Aug 16 14:15:54 2007 From: paulgabel at comcast.net (Paul Gabel) Date: Thu, 16 Aug 2007 11:15:54 -0700 Subject: Inks: black translucent background with hole In-Reply-To: References: Message-ID: <303BECAC-B510-42AA-83C1-C11469C42DC0@comcast.net> Hi Scott: When I try this, I get: Safari can?t open the page ?http://www.tacilemedia.com/download/ spotlight.rev? because it can?t find the server ?www.tacilemedia.com?. Paul Gabel ------------------ On Aug 15, 2007, at 2:24 PM, Scott Rossi wrote: > http://www.tacilemedia.com/download/spotlight.rev From mwieder at ahsoftware.net Thu Aug 16 14:22:49 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 16 Aug 2007 11:22:49 -0700 Subject: [OT] Energy Efficient Search Engine References: Message-ID: Stephen- > Energy considerations aside, I a black info window with white > text. I find it a lot easier on the eyes. I'd do it with all apps I do, too. But that gray-on-black theme at Blackle just doesn't cut it for my eyes. -- Mark Wieder mwieder at ahsoftware.net From scott at tactilemedia.com Thu Aug 16 14:29:48 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 16 Aug 2007 11:29:48 -0700 Subject: Inks: black translucent background with hole In-Reply-To: <303BECAC-B510-42AA-83C1-C11469C42DC0@comcast.net> Message-ID: Recently, Paul Gabel wrote: > Safari can?t open the page ?http://www.tacilemedia.com/download/ > spotlight.rev? because it can?t find the server ?www.tacilemedia.com?. Sorry, typo. Should be: go url "http://www.tactilemedia.com/download/spotlight.rev" Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From andre at andregarzia.com Thu Aug 16 15:08:46 2007 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 16 Aug 2007 16:08:46 -0300 Subject: imageSource problem In-Reply-To: <2B09E746-CA4D-4060-B4F4-F2AD32B8FA40@sosmartsoftware.com> References: <5526EF83-66EA-48BE-BC93-71FD08653CF8@wanadoo.fr> <2B09E746-CA4D-4060-B4F4-F2AD32B8FA40@sosmartsoftware.com> Message-ID: <7c87a2a10708161208m3246010ej1913617b480af639@mail.gmail.com> you can also import the image and use the ID of the image object... if you like the htmltext property of the fields you can use stuff such as: to show an image. ;-) Cheers andre On 8/16/07, Eric Chatonet wrote: > > Bonjour Jean-Pierre, > > Le 16 ao?t 07 ? 12:39, Jean-Pierre a ?crit : > > > I try to use the imageSource property for the first time. > > > > The ID form is OK, but it does'nt work with a filePath. > > > > set the imageSource of char 3 of field "texte" to "C:/ > > Documents/..../Belo.jpg" > > > > i see some white space at the place of the character but no image. > > Try this: > set the imageSource of char 3 of field "texte" to "binfile:" & path> > > 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 paulgabel at comcast.net Thu Aug 16 16:23:32 2007 From: paulgabel at comcast.net (Paul Gabel) Date: Thu, 16 Aug 2007 13:23:32 -0700 Subject: Inks: black translucent background with hole In-Reply-To: References: Message-ID: Hi Scott: When I click on this typo-less web page link, I get mostly "garbage." For example: ?*Q???:?????v?-???s??`??5?Q??uo????? pS???????????- ????V?))??>I?1?t?????w?olrZmV???H??_8br?A?? h@?q?j???? b??! %l??v?R?3??}?? ?t????TYl?f ?? ?f??@??5f??????*W5? 6M +??4sj&???P??@?,?.??10;?L???Zo?w???U????O/ t????r?????IH 7????K? #?{ G$??@CU??? +P?Uu?u????`s??Qua???%?\???d ?w??A???6?????+n?\? z??J???+? ?|%)???? ?B???:A?b??J?? '??k??&???v?Z?0b??f???? ???-?BE?=???????U6?s???/g#H?X `^?:?V`?i?! ??c?v?U?????L?-?L???K6?\ ?f???X?jq???3??.?S???^?E???g ??] ????????????M[? ?C-2?B-t.?q ? ?f?b??????@?#?2m???=.??j?#aK???:Y ??`v??J??@? ???kN ?!fG?t`??? m?{??$?58! ???B?V ?T?????' s {??\ UHR?(??g???P?Bc?d5 (??y??m?y0&?y??q?$x?,2? Somehow, I don't think this is what you intend. Best wishes, Paul Gabel --------------- On Aug 16, 2007, at 11:29 AM, Scott Rossi wrote: > Recently, Paul Gabel wrote: > >> Safari can?t open the page ?http://www.tacilemedia.com/download/ >> spotlight.rev? because it can?t find the server >> ?www.tacilemedia.com?. > > Sorry, typo. Should be: > > go url "http://www.tactilemedia.com/download/spotlight.rev" > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Thu Aug 16 16:31:45 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 16 Aug 2007 13:31:45 -0700 Subject: Inks: black translucent background with hole In-Reply-To: Message-ID: Recently, Paul Gabel wrote: > When I click on this typo-less web page link, I get mostly "garbage." It's not a Web link -- it's statement to execute in your Revolution message box: go url "http://www.tactilemedia.com/download/spotlight.rev" Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From stephenREVOLUTION at barncard.com Thu Aug 16 16:32:37 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 16 Aug 2007 13:32:37 -0700 Subject: Inks: black translucent background with hole In-Reply-To: References: Message-ID: no, Paul that wasn't a regular link . Web browsers don't know about Rev source documents. use [go url "http://www.tactilemedia.com/download/spotlight.rev"] in the Rev messagebox. it will open right there. No downloading. >Hi Scott: > >When I click on this typo-less web page link, I >get mostly "garbage." For example: > > > ?*Q???:?????v?-???s?3?4`??5?Q??uo?3?4???pS??????3?4?????-??????V?))??>I??1?t?????w?olrZmV???H??_8br?A?? >h@?q?j???? >b??! %l??v?R?3??}?? ?t????TYl?f ????f??@??5f??????1?2*W5? 6M+??4sj&? >Somehow, I don't think this is what you intend. > >Best wishes, > >Paul Gabel -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From katir at hindu.org Thu Aug 16 16:38:37 2007 From: katir at hindu.org (Sivakatirswami) Date: Thu, 16 Aug 2007 10:38:37 -1000 Subject: URLstatus for Players set to remote URLs Message-ID: <46C4B5CD.1080204@hindu.org> I know most everyone is forcing users to download entire movies before starting players set to http refs... but I would like things to be a bit more dynamic. Can players be hooked to libURL such that set the filename of player "remoteMovie" to "http://www.domain.org/movies/greatestShowOnEarth.mov" would "emulate" a load cmd so that we have access to the URLstatus for that player's download? Goal: One would like to present a progress bar to users, that could poll URLstatus for the player's call to a remote URL... after all it would seem that setting the player's filename to an http ref is the same "animal" as a load url call. I'm finding pretty consistently that any movie that has been exported with "Fast Start Header" but *not" compressed hearders and no hinting (we aren't using QT streaming on one server) will, even in a non-streaming environment, begin to display frames as soon as enough data has been buffered. but, it varies, for reasons I cannot fathom, from one movie to the next..as to the time that passes before the movie begins, I suspect differences in bandwidth and data rates. We need something like "Please be patient... downloading movie...." numbers and real time frames if known would be even better "Your movie will start in 1 minute 32 seconds". And a call back would be marvelous because you could let the user go do something else and then "ring" them: "You movie has begun" and then present them the player again, with the moving just started. even if it has not been all downloaded yet, but enough data has arrived to start the movie. There would need to be some feedback in the API between Rev and Quicktime... possibly as simple as polling the current time, which will be "stuck" at 0, even if you have started the player... until enough data has arrived and it begins... hmmm. maybe that itself is a half-baked solution....I'll test it.. I discovered a simple trick which cured my previous problems: you can let a movie dynamically be changed and set another movie on the same card. The problems related to a) leaving players with a file name set... *always* set the filename to empty on closing the card... (otherwise when you go back to the card the player initiates a download of the previous filename it was set to and save with .."duh" b) for rapid switching, instead of stop the player and resetting it: just delete it and create a new one this is a) simple and b) so far proving quite robust... set a field with URLs to different media types, lock it and bangaway on the lines as fast as you can, with this in the field script: on mouseup set the alwaysBuffer of the templatePlayer to false set the showcontroller of the templatePlayer to true put value (the clickline) into tUrl set the defaultstack to "Check Media" # just a separate window for movie display lock screen open stack "Check Media" delete player "mediaCheck" create player "MediaCheck" set the filename of player "MediaCheck" to tUrl set the top of player "MediaCheck" to 10 unlock screen start player "MediaCheck" end mouseup It works pretty well... I note that iTunes has moved away from sending people to a browser page to watch a movie. It is doing some wierd thing where it calls the browser and then redirects you back to the iTunes interface... I don't know what that's all about...why they need to invoke your browser at all.. doesn't make sense... But it is more and more trying to be the robust remote desktop client app that Rev is already good at. But Apple's implementation is, surprisingly, pretty "wonky" if I click on a HD 1080 version of a trailer, sure, it takes up the width of my screen, but just stops and hangs, while waiting for more data... leaving the user in that anxious state of unknowing if his system is hung, or what... I would think if we can hook players to libURL we can offer a sweeter user interface... btw: Adobe's interactive PDF's are even worse... you *can* set a movie frame to a remote URL and it might or it might not work, and Acrobat officially does not support such http feeds to movie frames, you must either embed (ridiculous for a PDF that's trying to show, say a 50 megabyte 20 movie) or call the movie from the local harddrive. From scott at tactilemedia.com Thu Aug 16 16:57:13 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 16 Aug 2007 13:57:13 -0700 Subject: URLstatus for Players set to remote URLs In-Reply-To: <46C4B5CD.1080204@hindu.org> Message-ID: Recently, Sivakatirswami wrote: > Can players be hooked to libURL such that > > set the filename of player "remoteMovie" to > "http://www.domain.org/movies/greatestShowOnEarth.mov" > > would "emulate" a load cmd so that we have access to the URLstatus for > that player's download? > > Goal: One would like to present a progress bar to users, that could > poll URLstatus for the > player's call to a remote URL... after all it would seem that setting > the player's > filename to an http ref is the same "animal" as a load url call. You can do this using Trevor DeVore's EnhancedQT external. He has a sample link that (I believe) explains how to do what you describe: http://www.bluemangolearning.com/download/revolution/enhancedqt/examples/EQT _Miscellaneous.zip This is the same process I use in the jukebox app I mentioned some months ago: go url "http://www.tactilemedia.com/download/jukebox.rev" HTH. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From klaus at major-k.de Thu Aug 16 17:01:06 2007 From: klaus at major-k.de (Klaus Major) Date: Thu, 16 Aug 2007 23:01:06 +0200 Subject: URLstatus for Players set to remote URLs In-Reply-To: <46C4B5CD.1080204@hindu.org> References: <46C4B5CD.1080204@hindu.org> Message-ID: <37BBF5D3-F0B7-495F-87FE-581B08E373A5@major-k.de> Hi Swami, > I know most everyone is forcing users to download entire movies > before starting players set to http refs... but I would like things > to be > a bit more dynamic. > > Can players be hooked to libURL such that > > set the filename of player "remoteMovie" to > "http://www.domain.org/movies/greatestShowOnEarth.mov" > > would "emulate" a load cmd so that we have access to the URLstatus for > that player's download? > > ... all this can be done with Trevor's EXCELLENT Enhanced QT External :-) From the docs: function qtGetMovieLoadState () QT Version: 4.1 Description: Returns the download state of the movie controller. This function lets your code perform relative comparisons against movie loading milestones to determine if certain operations make sense. Don't call more often then every quarter of a second. Its return values are ordered so that they conform to this rule: kMovieLoadStateError < kMovieLoadStateLoading < kMovieLoadStatePlayable < kMovieLoadStateComplete Parameters: MovieControllerID: movieControllerID. Return: Integer value: kMovieLoadStateError -1 kMovieLoadStateLoading 1000 kMovieLoadStatePlayable 10000 kMovieLoadStatePlayThroughOK 20000 kMovieLoadStateComplete 100000 ... AND more :-) Check the docs -> "General" Best Klaus Major klaus at major-k.de http://www.major-k.de From m.schonewille at economy-x-talk.com Thu Aug 16 17:03:51 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 16 Aug 2007 23:03:51 +0200 Subject: Saving stack and Chinese Message-ID: Hello list, I have a stack with one field. The field contains 3 Chinese characters. I put the characters into the field using set the unicodeText of fld 1 to Each time when I save the stack, either by script or using the menu, the 3 characters change into 4 characters which don't look right. Sometimes, when I click in the message box and subsequently in the stack, the same happens. This looks like a focus problem. Did anyone observe similar behaviour? Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com From paulgabel at comcast.net Thu Aug 16 17:30:44 2007 From: paulgabel at comcast.net (Paul Gabel) Date: Thu, 16 Aug 2007 14:30:44 -0700 Subject: Inks: black translucent background with hole In-Reply-To: References: Message-ID: Hi Scott: Sorry. I should have followed your original instructions. It looked like a web link in Mail. Your "Spotlight" stack is beautiful, graphically and in its apparent simplicity!!! Paul Gabel --------------- On Aug 16, 2007, at 1:31 PM, Scott Rossi wrote: > go url "http://www.tactilemedia.com/download/spotlight.rev" From niconiko at gmail.com Thu Aug 16 18:51:29 2007 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 17 Aug 2007 07:51:29 +0900 Subject: combining sound files Message-ID: <1e91b2b70708161551m49858bd0u6e9c6538eedde8bf@mail.gmail.com> Thanks for the QT/SMIL advice. But, I ought to have better explained my goal. (Or perhaps, unfamiliar with SMIL/QT, I missed the obvious?) In short, given two existing WAV or AU files (e.g., "hello.au", which says "hello", and "world.au", which says "world"), how could I use Rev to combine them into one as a new WAV/AU file (i.e., "helloworld.au", which says "helloworld")? Cheers. -- Nikorasu Kweto (Nippon) From mark at maseurope.net Thu Aug 16 20:18:54 2007 From: mark at maseurope.net (Mark Smith) Date: Fri, 17 Aug 2007 01:18:54 +0100 Subject: combining sound files In-Reply-To: <1e91b2b70708161551m49858bd0u6e9c6538eedde8bf@mail.gmail.com> References: <1e91b2b70708161551m49858bd0u6e9c6538eedde8bf@mail.gmail.com> Message-ID: Nicolas, AU files are not very complicated, and it would be fairly easy to concatenate files as you describe, natively in Revolution, providing that they have the same number of channels, the same sample rate, and the same encoding. If the files differ from each other in any of these ways, then it's much more complicated. If you're sure that your au. files are all the same in these ways, I could probably knock something up in half an hour or so. Feel free to contact me on or off list. Best, Mark On 16 Aug 2007, at 23:51, Nicolas Cueto wrote: > Thanks for the QT/SMIL advice. > > But, I ought to have better explained my goal. > (Or perhaps, unfamiliar with SMIL/QT, > I missed the obvious?) > > In short, given two existing WAV or AU files > (e.g., "hello.au", which says "hello", and > "world.au", which says "world"), how could > I use Rev to combine them into one as a > new WAV/AU file (i.e., "helloworld.au", which > says "helloworld")? > > Cheers. > > -- > Nikorasu Kweto > (Nippon) > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Aug 16 20:59:26 2007 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 17 Aug 2007 08:59:26 +0800 Subject: [OT] Energy Efficient Search Engine In-Reply-To: <362A9923-4EBB-45B1-83A4-A71EF84C1741@siphonophore.com> References: <20070815094640.7B044489061@mail.runrev.com> <362A9923-4EBB-45B1-83A4-A71EF84C1741@siphonophore.com> Message-ID: On 8/16/07, Jeff Reynolds wrote: > > > Turns out black on white wins way over the reverse or messing with > either text or bg color much. Very interesting, and as others have pointed out, if you spend more time doing the same thing then there's no point. I do wonder though if that study took into account lysdexia;-) I am, and my youngest son is even more so, and neither of us had any trouble with white on black. My wife on the other hand is one of those speed readers, she can't stand white on black. I'm wondering if any of the others here who don't mind white on black are lysdexic;-) I wonder about colour blindness too? In the end I guess it comes down to what works for you. From katir at hindu.org Thu Aug 16 21:13:01 2007 From: katir at hindu.org (Sivakatirswami) Date: Thu, 16 Aug 2007 15:13:01 -1000 Subject: use-revolution Digest, Vol 47, Issue 19 In-Reply-To: <0586B028-5B5C-44F5-AED3-DC1764AB08D6@siphonophore.com> References: <20070816105012.47FCE489790@mail.runrev.com> <0586B028-5B5C-44F5-AED3-DC1764AB08D6@siphonophore.com> Message-ID: <46C4F61D.1010307@hindu.org> Anyone who has done color calibraton for high end press work will observe an unmentioned and unmeasured factor in this discussion: Ambient light lumins, of three types 1) in general --"Surround light" 2) in the 180 degrees in front of you 3) in the vector directly behind your screen (directly in your eyes...) if the pupil is contracting from too much light coming in (the case if you are crazy enough to have an open sunlit window in your field of vision while reading a screen in that same field) while at the time trying to focus, for many people this condition is immediately relieved by white type (or amber) on a black background. Speed and comprehension may (guessing) even go up... because if the ambient light lumins are too high, the user is closing her eyes, looking away, getting up to go for a walk, to relieve the eye strain, so, in the course of 2 hours, you end up with less input... Meanwhile someone who's environment is set to a 50% gray (and that can just mean medium beige paint on the walls) whose computer is facing a brown wall, and the windows are behind him and the lights are recessed ceiling lights (all good stuff) he will be very content to read black type on a white background all day... "he's so concentrated!" and he can't understand why the lady in the other office with her computer facing that giant glass window (she loves the expansive view) is complaining about headaches... Simple test... assuming you don't need to see papers around your desk for those who think white type on a black background is "easier on the eyes" just turn off all the lights in a room, at night, and then switch to black type on a white background... Sivakatirswami Get Hinduism Today Digital Edition. It's Free! http://www.hinduismtoday.com/digital/ Jeff Reynolds wrote: > Stephen, > > No you are not alone, just in the minority from the work we did. I wish > i kept the data, the company is now gone along with all the files... I > do remember that the score distribution was totally moved down on the > light on dark tests, so it looked like most everyone was being affected > in stead of just part of the group bombing out badly. I'm pretty sure > that Xerox, Apple and MS HI research has borne out the same conclusions. > Light on dark is great as long as folks can select what works best for > them. Only problem is users may not realize their comprehension, speed > and retention are going down using the dark on light... Even though it > may look better to you that does not mean you function better with that > one. Thats exactly why we did the tests so that we would not just do > what looked good, but what worked better. > > in both print and screens i find myself squinting when i go dark on > light. I dont notice this at first and just adjust, but in a while start > realizing im squinting and leaning a bit. I know the eye doctors dont > like you doing that for any long period. my eyes are at boarder line > needing glasses after years of staring at screens. > > Im all for energy reduction and do just about everything i can to do it, > but in this case i just think its a bad idea unless its totally > switchable since it can just cause problems. Just seems like there are > many other ways of saving energy and carbon that are much more active > and just have all sorts of wins w/o losses. like driving less, not only > saving energy you are reducing your exposure to injury and exposure to > high point source pollutants as well as lowering stress! > > cheers, > > jeff > > On Aug 16, 2007, at 6:50 AM, use-revolution-request at lists.runrev.com wrote: > > >> Energy considerations aside, I a black info window with white >> text. I find it a lot easier on the eyes. I'd do it with all apps >> that require text entry except many apps don't fix all interface >> elelments correctly to match. >> >> I can't be alone here... >> >> >>> Kay- >>> >>>> account the huge number of page views, according to his >>>> calculations, 750 >>>> mega watts/hour per year would be saved. >>> >>> OTOH, at a 20% wattage savings, if I have to spend 12 seconds longer >>> each >>> minute squinting at light gray text on a black background then it's a >>> wash. >>> And if I have to spend any longer because of the unreadable text I >>> actually >>> waste more electricity than if I'd left well enough alone. >>> >>> -- >>> Mark Wieder >>> mwieder at ahsoftware.net > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Thu Aug 16 21:33:05 2007 From: katir at hindu.org (Sivakatirswami) Date: Thu, 16 Aug 2007 15:33:05 -1000 Subject: EnhancedQT External Message-ID: <46C4FAD1.5080302@hindu.org> How can we get this now? I see no links on Trevors BlueMango site. Sivakatirswami From stephenREVOLUTION at barncard.com Thu Aug 16 21:52:25 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 16 Aug 2007 18:52:25 -0700 Subject: EnhancedQT External In-Reply-To: <46C4FAD1.5080302@hindu.org> References: <46C4FAD1.5080302@hindu.org> Message-ID: google blue mango and quicktime. shows up first. http://www.mangomultimedia.com/developer/revolution/ >How can we get this now? I see no links on Trevors BlueMango site. > >Sivakatirswami -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From jbv.silences at club-internet.fr Fri Aug 17 04:16:10 2007 From: jbv.silences at club-internet.fr (jbv) Date: Fri, 17 Aug 2007 10:16:10 +0200 Subject: revdb_execute problem Message-ID: <46C55949.79FAA562@club-internet.fr> Hi list, I'm trying to squeeze more than one SQL commands into 1 single revdb_execute request in a Rev cgi script. For instance : UPDATE myTable SET N = N + 1 WHERE id = 1 LIMIT 1 ; UPDATE myTable SET N = N + 1 WHERE id = 2 LIMIT 1 ; I've tried all possible ways, like this one : put "UPDATE myTable SET N = N + 1 WHERE id = 1 LIMIT 1 ; " into myREQUEST put "UPDATE myTable SET N = N + 1 WHERE id = 2 LIMIT 1 ;" after myREQUEST put revdb_execute(theID, myREQUEST) into tQueryResult The first SQL command executes fine, but I get a syntax error message from mySQL regarding the 2nd SQL command. But when I paste the same set of 2 SQL commands into phpMyAdmin, then it works !!! Any idea of what I could be missing ? The doc doesn't mention any limitation regarding the SQLQuery parameter of revdb_execute... I'm using Rev cgi 2.5, mySQL 4.0.15 and phpMyAdmin 2.6.0 Thanks, JB From shedrup at ms9.hinet.net Fri Aug 17 08:01:19 2007 From: shedrup at ms9.hinet.net (Friedrich F. Grohmann) Date: Fri, 17 Aug 2007 20:01:19 +0800 Subject: Saving stack and Chinese In-Reply-To: References: Message-ID: On 17 Aug 2007, at 05:03, Mark Schonewille wrote: > > > I have a stack with one field. The field contains 3 Chinese > characters. I put the characters into the field using > > set the unicodeText of fld 1 to > > Each time when I save the stack, either by script or using the > menu, the 3 characters change into 4 characters which don't look > right. Sometimes, when I click in the message box and subsequently > in the stack, the same happens. This looks like a focus problem. > Did anyone observe similar behaviour? I'm on a Mac with OS 10.4.10, Rev 2.8.1. Made a new stack with one text field (no specific settings) and then put Chinese via the message box using set the unicodeText of fld 1 to "[Chinese unicode characters]" Tried it with Chinese text of different length, including three characters. No problem here, except that the Chinese in the message box turns into garbage after I hit the return key. If it's a small stack you might send it to me so that I can have a look at what "doesn't look right." All the best, Fritz From m.schonewille at economy-x-talk.com Fri Aug 17 08:10:45 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 17 Aug 2007 14:10:45 +0200 Subject: Saving stack and Chinese In-Reply-To: References: Message-ID: <5A67241A-6F6D-4F38-A52C-B1C8F09BC97C@economy-x-talk.com> Hi Fritz, Thanks for trying. Have you also tried saving the stack and clicking around a bit to change the focus repeately from and to the field that contains the characters? If you have and still didn't see a problem, I'll send you my stack -- which doesn't contain anything special afaik. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 17-aug-2007, om 14:01 heeft Friedrich F. Grohmann het volgende geschreven: > > I'm on a Mac with OS 10.4.10, Rev 2.8.1. Made a new stack with one > text field (no specific settings) and then put Chinese via the > message box using > > set the unicodeText of fld 1 to "[Chinese unicode characters]" > > Tried it with Chinese text of different length, including three > characters. No problem here, except that the Chinese in the message > box turns into garbage after I hit the return key. > > If it's a small stack you might send it to me so that I can have a > look at what "doesn't look right." > > All the best, > Fritz From shedrup at ms9.hinet.net Fri Aug 17 09:09:08 2007 From: shedrup at ms9.hinet.net (Friedrich F. Grohmann) Date: Fri, 17 Aug 2007 21:09:08 +0800 Subject: Saving stack and Chinese In-Reply-To: <5A67241A-6F6D-4F38-A52C-B1C8F09BC97C@economy-x-talk.com> References: <5A67241A-6F6D-4F38-A52C-B1C8F09BC97C@economy-x-talk.com> Message-ID: On 17 Aug 2007, at 20:10, Mark Schonewille wrote: > > > Thanks for trying. Have you also tried saving the stack and > clicking around a bit to change the focus repeately from and to the > field that contains the characters? If you have and still didn't > see a problem, I'll send you my stack -- which doesn't contain > anything special afaik. Sorry, forgot to mention that. Yes, I saved the stack and clicked around. Nothing untoward happened. When you send the stack, it might be a good idea to let me also know which characters caused the problem. All the best, Fritz From kray at sonsothunder.com Fri Aug 17 09:50:52 2007 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 17 Aug 2007 08:50:52 -0500 Subject: revdb_execute problem In-Reply-To: <46C55949.79FAA562@club-internet.fr> References: <46C55949.79FAA562@club-internet.fr> Message-ID: <20070817085052817966.af756258@sonsothunder.com> On Fri, 17 Aug 2007 10:16:10 +0200, jbv wrote: > I'm trying to squeeze more than one SQL commands into 1 single > revdb_execute request in a Rev cgi script. I've never done that, but I would assume that revdb_execute is limited to only one command because it needs to return a result back to Rev; if it could support more than one command, there would have to be special handling to get the results of multiple commands back (even if it's just a simple "empty/error" result for each). I'd break it into two separate revdb_execute statements instead. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jbv.silences at club-internet.fr Fri Aug 17 10:09:47 2007 From: jbv.silences at club-internet.fr (jbv) Date: Fri, 17 Aug 2007 16:09:47 +0200 Subject: revdb_execute problem References: <46C55949.79FAA562@club-internet.fr> <20070817085052817966.af756258@sonsothunder.com> Message-ID: <46C5AC1E.CE9A314A@club-internet.fr> Ken , > > > I'm trying to squeeze more than one SQL commands into 1 single > > revdb_execute request in a Rev cgi script. > > I've never done that, but I would assume that revdb_execute is limited > to only one command because it needs to return a result back to Rev; if > it could support more than one command, there would have to be special > handling to get the results of multiple commands back (even if it's > just a simple "empty/error" result for each). Mmmh... things aren't clear... Take a look at the revExecuteSQL command (equivalent to revdb_execute) in the doc (Rev 2.5); it says : The SQLStatement is a string in Structured Query Language. (Do not include a semicolon at the end of the SQLStatement.) Note: Some database implementations, such as Oracle, are capable of handling a multiple-line SQL statement. First, it's not clear if each line of a multiple-line SQL statement should not be terminated by a semicolon or only the final one... Second, it sounds like multiple-line statements are allowed if the DB implementation accepts them... And according to various webpages, mySQL 4 does accept it... > > > I'd break it into two separate revdb_execute statements instead. > that's what I've done, but I was actually trying to speed up some cgi scripts that feature large numbers of mySQL queries by using multiple-line statements when queries are similar... Best, JB From blairmorrissey at mac.com Fri Aug 17 10:29:20 2007 From: blairmorrissey at mac.com (Blair Morrissey) Date: Fri, 17 Aug 2007 10:29:20 -0400 Subject: Making Instruction Movies of Apps Made with Rev on a Mac Message-ID: <18FD3B67-62E7-4E18-957F-1FAE1639CBF4@mac.com> I like Rev's movie instructions for Rev. I would like to make similar movies for a Rev-made app I finally getting 'done'. The plan is to make the audio part of the instructional video first. Then, as the audio plays (elsewhere, but where I can hear it), use some (hopefully inexpensive) software to grab successive window shots as I demo how to use my app in real time with the audio. I need ideas and the software to get the (screen) window shots (video) of my app. Suggestions much appreciated. For now, I practice to rrolling my rrrr's in prep for doing the audio. Blair Morrissey From m.schonewille at economy-x-talk.com Fri Aug 17 10:36:15 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 17 Aug 2007 16:36:15 +0200 Subject: Making Instruction Movies of Apps Made with Rev on a Mac In-Reply-To: <18FD3B67-62E7-4E18-957F-1FAE1639CBF4@mac.com> References: <18FD3B67-62E7-4E18-957F-1FAE1639CBF4@mac.com> Message-ID: <2E7FE0E1-E5B8-43A9-984C-80061CEEBC26@economy-x-talk.com> Hi Blair, Most people will probably think of Snapz Pro immediately, but if you are using a Mac, please give Snapper a try. Snapper was created with Revolution and Trevor's EnhancedQT external. If you were thinking of making screenshots, Snapper could be a good alternative for you. If you run into problems with Snapper, just contact me and I'll give you all necessary support. You can find it here: . I am working on a Windows version, but this will take a little longer because I have other projects that need to be finished first. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 17-aug-2007, om 16:29 heeft Blair Morrissey het volgende geschreven: > I like Rev's movie instructions for Rev. I would like to make > similar movies for a Rev-made app I finally getting 'done'. > > The plan is to make the audio part of the instructional video > first. Then, as the audio plays (elsewhere, but where I can hear > it), use some (hopefully inexpensive) software to grab successive > window shots as I demo how to use my app in real time with the audio. > > I need ideas and the software to get the (screen) window shots > (video) of my app. > > Suggestions much appreciated. For now, I practice to rrolling my > rrrr's in prep for doing the audio. > > Blair Morrissey From mdswindell at cruzio.com Fri Aug 17 11:58:04 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Fri, 17 Aug 2007 08:58:04 -0700 Subject: Inks: black translucent background with hole In-Reply-To: References: Message-ID: <4B551F96-E3CE-4DBD-AC54-505499415DB5@cruzio.com> Hi Scott, This is a great effect but I can't follow how it works. If copy and paste the spotlight oval in your stack, the copied oval shows up black... the transparency is lost. I can't see any difference in the properties. What am I missing? Thanks Mark On Aug 15, 2007, at 2:24 PM, Scott Rossi wrote: > Recently, David Bovill wrote: > >> I want to >> make a selection area of an image the only bit that shows up >> clearly with >> the rest of the image darkened. > > I have a stack that might illustrate what you're trying to do. > Execute the > following in your message box: > > go url "http://www.tacilemedia.com/download/spotlight.rev" > > Sorry for the large filesize (860K) but this was the most immediate > example > I had. > > 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 > "Many of life's failures are people who did not realize how close they were to success when they gave up." -Thomas Edison From paulgabel at comcast.net Fri Aug 17 13:26:48 2007 From: paulgabel at comcast.net (Paul Gabel) Date: Fri, 17 Aug 2007 10:26:48 -0700 Subject: no selection rectagle with screen grab? In-Reply-To: References: <46C37F43.40704@fourthworld.com> Message-ID: <9A15EAB9-6B41-45AD-8E22-4C7A3A8861B4@comcast.net> I have an iMac Intel 20 inch, and my Snapshot experience is the same as Richard's and opposite from Sarah's. Snapshot works all right, but there is no a "gray translucent rectangle" to help guide you. Paul Gabel ---------------- On Aug 15, 2007, at 4:57 PM, Sarah Reichelt wrote: > On 8/16/07, Richard Gaskin wrote: >> In all versions I've tested prior to v2.8, the "export snapshot" >> command >> provides some indication of the rectangle being selected by the user. >> >> In v2.8.1, at least on OS X, I see no indication of this selection >> at all. > > It works for me Richard (Rev 2.8.1 Build 472, Mac OS X 10.4.10). I see > the cross-hair cursor and when I drag, a gray translucent rectangle > shows what I am getting. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Fri Aug 17 13:46:49 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 17 Aug 2007 10:46:49 -0700 Subject: no selection rectagle with screen grab? Message-ID: <46C5DF09.10402@fourthworld.com> Paul Gabel wrote: > I have an iMac Intel 20 inch, and my Snapshot experience is the same > as Richard's and opposite from Sarah's. Snapshot works all right, but > there is no a "gray translucent rectangle" to help guide you. Thanks for the verification, Paul. It seems we're finding consistent results, so I've added this info to the bug report: Please consider voting for this bug if it's affecting your work. Thanks. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From jeff at siphonophore.com Fri Aug 17 13:55:14 2007 From: jeff at siphonophore.com (Jeff Reynolds) Date: Fri, 17 Aug 2007 13:55:14 -0400 Subject: [OT] Energy Efficient Search Engine In-Reply-To: <20070817170005.99D3148986D@mail.runrev.com> References: <20070817170005.99D3148986D@mail.runrev.com> Message-ID: Ken, no we did not track any learning/reading disorders with the study from what i remember, but the group was normalized so that we were getting an 'average' group of kids. LOL, i am both dyslexic and have taken speed reading (the speed reading actually masked my being diagnosed as dyslexic for quite a while), but the light on dark does not work for me! I would doubt that dyslexia would play into this much, it seems to root from a deeper base difference in brain logic (more symbolic and less linguistic), but ive not kept up much on the subject. I think the most interesting fact is that the reading speed/ comprehension/retention curves were shifted lower with the light on dark which indicated that it was affecting ALOT of the group, not just a few badly. Also you may not realize you are being slowed down or have a lower comprehension! we got very different results when we just asked which looked better or felt better! those results were all over the map! Thats why we spent the money to do the study. While it was not quite at the level study to get published, it was done well and to a level to draw conclusions from for our practical uses. There was some published work on this, but studies varied in their scope and questions asked. most early studies pointed to dark on light being much better. some later studies showed little difference, but there was a lot of debate and and a lot of potential variables to control for, thus we did the study to look at our use in our target population. cheers, jeff On Aug 17, 2007, at 1:00 PM, use-revolution-request at lists.runrev.com wrote: >> Turns out black on white wins way over the reverse or messing with >> either text or bg color much. > > > Very interesting, and as others have pointed out, if you spend more > time > doing the same thing then there's no point. I do wonder though if > that study > took into account lysdexia;-) I am, and my youngest son is even > more so, and > neither of us had any trouble with white on black. My wife on the > other hand > is one of those speed readers, she can't stand white on black. I'm > wondering > if any of the others here who don't mind white on black are > lysdexic;-) I > wonder about colour blindness too? > > In the end I guess it comes down to what works for you. From mfstuart at cox.net Fri Aug 17 14:03:40 2007 From: mfstuart at cox.net (mfstuart) Date: Fri, 17 Aug 2007 11:03:40 -0700 (PDT) Subject: revdb_execute problem In-Reply-To: <46C55949.79FAA562@club-internet.fr> References: <46C55949.79FAA562@club-internet.fr> Message-ID: <12204424.post@talk.nabble.com> Hi jbv, With my experience using MS SQL, you define one statement (such as your UPDATE), then on the next line type in "go" (without the double quotes), then on the next line your next statement, then the "go" on the next line, etc. The program "throws" that to SQL and executes all the statements, sequentially. I haven't tried this from Rev, but we use this in our product whenever we deliver a "patch" for a customer to update/fix data - no problem. Regards, Mark jbv wrote: > > Hi list, > > I'm trying to squeeze more than one SQL commands into 1 single > revdb_execute > request in a Rev cgi script. > For instance : > > UPDATE myTable SET N = N + 1 WHERE id = 1 LIMIT 1 ; UPDATE myTable > SET N = N + 1 WHERE id = 2 LIMIT 1 ; > > I've tried all possible ways, like this one : > > put "UPDATE myTable SET N = N + 1 WHERE id = 1 LIMIT 1 ; " into > myREQUEST > put "UPDATE myTable SET N = N + 1 WHERE id = 2 LIMIT 1 ;" after > myREQUEST > put revdb_execute(theID, myREQUEST) into tQueryResult > > The first SQL command executes fine, but I get a syntax error message > from mySQL regarding the > 2nd SQL command. > > But when I paste the same set of 2 SQL commands into phpMyAdmin, then it > works !!! > > Any idea of what I could be missing ? > The doc doesn't mention any limitation regarding the SQLQuery parameter > of revdb_execute... > > I'm using Rev cgi 2.5, mySQL 4.0.15 and phpMyAdmin 2.6.0 > > 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 > > -- View this message in context: http://www.nabble.com/revdb_execute-problem-tf4284430.html#a12204424 Sent from the Revolution - User mailing list archive at Nabble.com. From paulgabel at comcast.net Fri Aug 17 15:04:30 2007 From: paulgabel at comcast.net (Paul Gabel) Date: Fri, 17 Aug 2007 12:04:30 -0700 Subject: 1 5 10 25 50 In-Reply-To: <4B551F96-E3CE-4DBD-AC54-505499415DB5@cruzio.com> References: <4B551F96-E3CE-4DBD-AC54-505499415DB5@cruzio.com> Message-ID: <414756E1-D53F-4E47-8001-3797225315D0@comcast.net> From m.schonewille at economy-x-talk.com Fri Aug 17 15:08:59 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 17 Aug 2007 21:08:59 +0200 Subject: 1 5 10 25 50 In-Reply-To: <414756E1-D53F-4E47-8001-3797225315D0@comcast.net> References: <4B551F96-E3CE-4DBD-AC54-505499415DB5@cruzio.com> <414756E1-D53F-4E47-8001-3797225315D0@comcast.net> Message-ID: <3BB79306-9905-4EC6-AA8E-B95E87EF7EDE@economy-x-talk.com> 1, 5, 10, 25, 50, 1, 2, 5, 10, 20, 50, 100 Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 17-aug-2007, om 21:04 heeft Paul Gabel het volgende geschreven: From mark at maseurope.net Fri Aug 17 15:14:26 2007 From: mark at maseurope.net (Mark Smith) Date: Fri, 17 Aug 2007 20:14:26 +0100 Subject: 1 5 10 25 50 In-Reply-To: <414756E1-D53F-4E47-8001-3797225315D0@comcast.net> References: <4B551F96-E3CE-4DBD-AC54-505499415DB5@cruzio.com> <414756E1-D53F-4E47-8001-3797225315D0@comcast.net> Message-ID: <0DE14A26-D860-4C58-9034-866BEA1B8BDD@maseurope.net> 1 5 10 25 50 125 250 725 1450.... From mikeythek at gmail.com Fri Aug 17 15:19:39 2007 From: mikeythek at gmail.com (Mikey) Date: Fri, 17 Aug 2007 15:19:39 -0400 Subject: 1 5 10 25 50 In-Reply-To: <0DE14A26-D860-4C58-9034-866BEA1B8BDD@maseurope.net> References: <4B551F96-E3CE-4DBD-AC54-505499415DB5@cruzio.com> <414756E1-D53F-4E47-8001-3797225315D0@comcast.net> <0DE14A26-D860-4C58-9034-866BEA1B8BDD@maseurope.net> Message-ID: <9b408d8e0708171219m29b3a8cat8f7f683505904287@mail.gmail.com> Is anyone going to share what the point is here? From m.schonewille at economy-x-talk.com Fri Aug 17 15:24:25 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 17 Aug 2007 21:24:25 +0200 Subject: 1 5 10 25 50 In-Reply-To: <0DE14A26-D860-4C58-9034-866BEA1B8BDD@maseurope.net> References: <4B551F96-E3CE-4DBD-AC54-505499415DB5@cruzio.com> <414756E1-D53F-4E47-8001-3797225315D0@comcast.net> <0DE14A26-D860-4C58-9034-866BEA1B8BDD@maseurope.net> Message-ID: <6018BE84-A720-4876-964E-B0CFB32BC206@economy-x-talk.com> That would be wrong because... 1 2 5 10 25.., Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 17-aug-2007, om 21:14 heeft Mark Smith het volgende geschreven: > > 1 5 10 25 50 125 250 725 1450.... From ambassador at fourthworld.com Fri Aug 17 15:24:31 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 17 Aug 2007 12:24:31 -0700 Subject: 1 5 10 25 50 Message-ID: <46C5F5EF.9020704@fourthworld.com> 4, 8, 15, 16, 23, 42 -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From josh at dvcreators.net Fri Aug 17 15:33:07 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 17 Aug 2007 12:33:07 -0700 Subject: Making Instruction Movies of Apps Made with Rev on a Mac In-Reply-To: <18FD3B67-62E7-4E18-957F-1FAE1639CBF4@mac.com> References: <18FD3B67-62E7-4E18-957F-1FAE1639CBF4@mac.com> Message-ID: I have used Snapz Pro for years but just switched to ShowU: http://www.shinywhitebox.com/index.html On Aug 17, 2007, at 7:29 AM, Blair Morrissey wrote: > I like Rev's movie instructions for Rev. I would like to make > similar movies for a Rev-made app I finally getting 'done'. > > The plan is to make the audio part of the instructional video > first. Then, as the audio plays (elsewhere, but where I can hear > it), use some (hopefully inexpensive) software to grab successive > window shots as I demo how to use my app in real time with the audio. > > I need ideas and the software to get the (screen) window shots > (video) of my app. > > Suggestions much appreciated. For now, I practice to rrolling my > rrrr's in prep for doing the audio. > > Blair Morrissey > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION at barncard.com Fri Aug 17 15:35:47 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 17 Aug 2007 12:35:47 -0700 Subject: Making Instruction Movies of Apps Made with Rev on a Mac In-Reply-To: <18FD3B67-62E7-4E18-957F-1FAE1639CBF4@mac.com> References: <18FD3B67-62E7-4E18-957F-1FAE1639CBF4@mac.com> Message-ID: I've spent a lot of time on this recently. After trying various apps, I settled on this setup: A logictec USB headset $40 iShowU software $20 Quicktime PRo (had it already) Your idea of pre-recording the audio (perhaps even have a script to read) is a good one. Increases the production values radically. iShow-U has a LOT of features, as if I wrote it for myself...you can now PAUSE it and delay start it. They seem to come up with upgrades every month. I've also found that a high-quality mic and preamp don't necessarily translate into better audio for this kind of thing. My classic RCA 77-DX microphone that sounds great on a saxophone sounded like crapola compared to the USB mic for voice. This was a bit of harsh news for an audio-oriented guy. Editing: You should know that you can easily edit cuts-only audio and video with the hidden features in Quicktime Pro, which every developer should have anyway...this means you could ramble through your presentation, then clean it up later. I'm also considering writing a voice-over utility in Rev. Also going to a DVW like iMovie will bog you down. Don't consider going to that kind of editor unless you want to spend more time and diskspace than really necessary. What format to save? After much experimentation I'd suggest using the Quicktime Apple Animation codec used in iShowU, which makes the cleanest screen image for the smallest sizes. The default frame rates can be changed to match the 'action'. This also makes a nice 640 x 480 viewable size possible. How to deliver? I first thought I'd deliver the docs from within the application, but the size of the movies really impacted the download size. nope. And I wanted the ability to update the videos whenever needed. So I put all the movies into a protected directory within a website. Then I tried streaming directly to a player using http: Kinda worked ok but I really didn't like the delays and performance at the time. So then I came up with an simple caching scheme that would check for the existence of a movie in a user's local documents folder, and if not there, would download and play it. In finalizing that part of the project I got the movies to stream properly so now it's offered as an option, local or streaming. However in hindsight, the best player for this may be the built in web browser in Rev. This way one can deliver movies in any format, that streams and caches wonderfully and you can surround the player with live info. The RevBrowser is really great - handles on all that web stuff. Brilliant. Final note: after editing in Quicktime, don't forget to 'save as self-contained file' or you will have errors when you move movies that have been edited. The base movie can depend on other files unless you do this - very important. Movies that play on your system may not if moved if you don't do that. >I like Rev's movie instructions for Rev. I would like to make >similar movies for a Rev-made app I finally getting 'done'. > >The plan is to make the audio part of the instructional video first. >Then, as the audio plays (elsewhere, but where I can hear it), use >some (hopefully inexpensive) software to grab successive window >shots as I demo how to use my app in real time with the audio. > >I need ideas and the software to get the (screen) window shots >(video) of my app. > >Suggestions much appreciated. For now, I practice to rrolling my >rrrr's in prep for doing the audio. > >Blair Morrissey -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From devin_asay at byu.edu Fri Aug 17 15:38:19 2007 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 17 Aug 2007 13:38:19 -0600 Subject: 1 5 10 25 50 In-Reply-To: <46C5F5EF.9020704@fourthworld.com> References: <46C5F5EF.9020704@fourthworld.com> Message-ID: <21C9803A-3835-4CD6-AB29-87CCE1C24A74@byu.edu> On Aug 17, 2007, at 1:24 PM, Richard Gaskin wrote: > > 4, 8, 15, 16, 23, 42 Now I'm Lost. ;-) Devin From mwieder at ahsoftware.net Fri Aug 17 15:41:05 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 17 Aug 2007 12:41:05 -0700 Subject: 1 5 10 25 50 References: <4B551F96-E3CE-4DBD-AC54-505499415DB5@cruzio.com><414756E1-D53F-4E47-8001-3797225315D0@comcast.net> <3BB79306-9905-4EC6-AA8E-B95E87EF7EDE@economy-x-talk.com> Message-ID: Mark- > 1, 5, 10, 25, 50, 1, 2, 5, 10, 20, 50, 100 ... and one bit = 12.5 -- Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Aug 17 16:06:34 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 17 Aug 2007 13:06:34 -0700 Subject: 1 5 10 25 50 References: <46C5F5EF.9020704@fourthworld.com> <21C9803A-3835-4CD6-AB29-87CCE1C24A74@byu.edu> Message-ID: Devin- >> 4, 8, 15, 16, 23, 42 > > Now I'm Lost. ;-) ...got change for a 23? -- Mark Wieder mwieder at ahsoftware.net From chipp at chipp.com Fri Aug 17 16:32:01 2007 From: chipp at chipp.com (Chipp Walters) Date: Fri, 17 Aug 2007 15:32:01 -0500 Subject: Mac users...can you try this? Message-ID: <7aa52a210708171332i3fb7c361h281cd585a80e5479@mail.gmail.com> Hey guys, I'm trying a simple thing on the latest rev of Rev (2.8.1 gm4) and something's missing. I create a new stack, create a button and set it's script to: on mouseUp import snapshot end mouseUp Then press it. The cursor changes to a cross hair, but when I click and drag, no 'region' is specified on my Mac. Can you please test and let me know if I'm not alone? TIA...chipp From chipp at chipp.com Fri Aug 17 16:33:37 2007 From: chipp at chipp.com (Chipp Walters) Date: Fri, 17 Aug 2007 15:33:37 -0500 Subject: Mac users...can you try this? In-Reply-To: <7aa52a210708171332i3fb7c361h281cd585a80e5479@mail.gmail.com> References: <7aa52a210708171332i3fb7c361h281cd585a80e5479@mail.gmail.com> Message-ID: <7aa52a210708171333n28f00dabje000c5dee07abc91@mail.gmail.com> Well....if I would just SCROLL down a bit on the list, I would've seen Richard's already been talking about this one...Sorry for taking up your time :-) From m.schonewille at economy-x-talk.com Fri Aug 17 16:36:12 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 17 Aug 2007 22:36:12 +0200 Subject: Mac users...can you try this? In-Reply-To: <7aa52a210708171332i3fb7c361h281cd585a80e5479@mail.gmail.com> References: <7aa52a210708171332i3fb7c361h281cd585a80e5479@mail.gmail.com> Message-ID: <8A4E206B-BDB2-46C1-8B53-CFAD987C7FD5@economy-x-talk.com> Isn't this exactly what the thread "no selection rectagle with screen grab?" is about? It looks to me that the bug has been confirmed by now. Also see: Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 17-aug-2007, om 22:32 heeft Chipp Walters het volgende geschreven: > Hey guys, I'm trying a simple thing on the latest rev of Rev (2.8.1 > gm4) and something's missing. > > I create a new stack, create a button and set it's script to: > > on mouseUp > import snapshot > end mouseUp > > Then press it. The cursor changes to a cross hair, but when I click > and drag, no 'region' is specified on my Mac. Can you please test and > let me know if I'm not alone? TIA...chipp From stephenREVOLUTION at barncard.com Fri Aug 17 16:40:19 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 17 Aug 2007 13:40:19 -0700 Subject: Mac users...can you try this? In-Reply-To: <7aa52a210708171332i3fb7c361h281cd585a80e5479@mail.gmail.com> References: <7aa52a210708171332i3fb7c361h281cd585a80e5479@mail.gmail.com> Message-ID: Same happens here...macOSX 10.4.10 intel Rev 2.8.1 last version push button something loads (spinning multicolor beachball) after 3 seconds gets crosshair select an area -- no indication of selected area picture appears on card hey this is cool though .... sqb >Hey guys, I'm trying a simple thing on the latest rev of Rev (2.8.1 >gm4) and something's missing. > >I create a new stack, create a button and set it's script to: > >on mouseUp > import snapshot >end mouseUp > >Then press it. The cursor changes to a cross hair, but when I click >and drag, no 'region' is specified on my Mac. Can you please test and >let me know if I'm not alone? TIA...chipp -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From david at openpartnership.net Fri Aug 17 16:41:50 2007 From: david at openpartnership.net (David Bovill) Date: Fri, 17 Aug 2007 21:41:50 +0100 Subject: Inks: black translucent background with hole In-Reply-To: References: Message-ID: Thats the trick! There was a time when some of the inks only worked on some of the platforms - do these "structural blends" work on all platforms? From david at openpartnership.net Fri Aug 17 16:48:44 2007 From: david at openpartnership.net (David Bovill) Date: Fri, 17 Aug 2007 21:48:44 +0100 Subject: 1 5 10 25 50 In-Reply-To: References: <46C5F5EF.9020704@fourthworld.com> <21C9803A-3835-4CD6-AB29-87CCE1C24A74@byu.edu> Message-ID: Guys - i thought everyone knew the answer was 43? From scott at tactilemedia.com Fri Aug 17 16:54:04 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 17 Aug 2007 13:54:04 -0700 Subject: Inks: black translucent background with hole In-Reply-To: Message-ID: Recently, David Bovill wrote: > Thats the trick! > > There was a time when some of the inks only worked on some of the platforms > - do these "structural blends" work on all platforms? Not sure about Linux but AFAIK, Mac and Win are supposed to be good to go. And of course these inks are only in Rev 2.7 (?) and later. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From paulgabel at comcast.net Fri Aug 17 16:54:48 2007 From: paulgabel at comcast.net (Paul Gabel) Date: Fri, 17 Aug 2007 13:54:48 -0700 Subject: 1 5 10 25 50 In-Reply-To: <9b408d8e0708171219m29b3a8cat8f7f683505904287@mail.gmail.com> References: <4B551F96-E3CE-4DBD-AC54-505499415DB5@cruzio.com> <414756E1-D53F-4E47-8001-3797225315D0@comcast.net> <0DE14A26-D860-4C58-9034-866BEA1B8BDD@maseurope.net> <9b408d8e0708171219m29b3a8cat8f7f683505904287@mail.gmail.com> Message-ID: <6E00905A-2878-4FCA-BDE0-249522285811@comcast.net> My deepest apologies. I meant to send this tiny stack to list member Mark Swindell (who understood the point), but accidentally sent it to the whole list. I'll be more careful. Paul Gabel --------------- On Aug 17, 2007, at 12:19 PM, Mikey wrote: > Is anyone going to share what the point is here? > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Fri Aug 17 17:07:25 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Fri, 17 Aug 2007 22:07:25 +0100 Subject: 1 5 10 25 50 In-Reply-To: References: <46C5F5EF.9020704@fourthworld.com> <21C9803A-3835-4CD6-AB29-87CCE1C24A74@byu.edu> Message-ID: On 17 Aug 2007, at 21:48, David Bovill wrote: > Guys - i thought everyone knew the answer was 43? Don't you mean 42? Ian From ambassador at fourthworld.com Fri Aug 17 17:11:13 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 17 Aug 2007 14:11:13 -0700 Subject: Mac users...can you try this? Message-ID: <46C60EF1.1030104@fourthworld.com> Re. Chipp's comment at: Kevin has expressed a keen interest in giving priority to regression errors. Would it help support that goal by adding a Severity rating of "Regression" to cover things that used to work? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From david at openpartnership.net Fri Aug 17 17:16:26 2007 From: david at openpartnership.net (David Bovill) Date: Fri, 17 Aug 2007 22:16:26 +0100 Subject: OT: I'm scared of bidding on eBay Message-ID: In my vain attempt at overcoming paranoia I'm trying eBay - yes for the first time - and well I'm already scared :) My first bid was/is for this phone I've always fancied prior to the iPhone arriving here on December 15th... so i bid ?30 - not a lot, figuring I wouldn't get it and that if anything dodgy went on the Paypal insurance would kick in... and now I have a bad feeling about it as the guy has only been a seller for a few weeks and his 100% rating from 10 people looks strange to me. I mean would you trust a second hand car salesman called "hottseller2007" - even if he had 10 recommendations from people like "kentcardealer " or "everydayimbuying " or "titi2002-88". Now not being familiar with eBay etiquette maybe I'm missing out on something here - do all eBay punters have nicks that sound like spammers? Anyway it turns out the seller does not take PayPal - and i'm contractually bound to stick to my bid and pay into this guys account before he ships due to some story about having lost I DO NOT ACCEPT PAYPAL BECAUSE MY LAST 2 EXPERIENCES OF PAYPAL WERE SCAMMERS > USING STOLEN ACCOUNTS TO MAKE UNAUTHORISED PAYMENTS. > > I LOST ?500 BECAUSE OF THIS SO I HAVE CLOSED MY PAYPAL ACCOUNT. I WILL NOT > MAKE ANOTHER ONE. I DO NOT, UNDER ANY CIRCUMSTANCES, ACCEPT PAYMENT BY > PAYPAL. > > I ACCEPT PAYMENT BY BANK DEPOSIT OR BANK TRANSFER ONLY. > > MY ITEMS ARE DISPATCHED FROM A DISTRIBUTOR IN THE UK VIA 1ST CLASS POST > WITHIN 48 HOURS OF CLEARED FUNDS Reading this and travelling around the links of comments it looks like no one much has been a member more than a few weeks in this little self congratulatory circle - including the putative "NIGERIAN FRAUDSTER" - its that language of it all that my paranoia objects to... Well I guess - I'll stick to paying up and seeing what happens - is it common for people to set up scams with multiple accounts all voting for each other? From david at openpartnership.net Fri Aug 17 17:20:25 2007 From: david at openpartnership.net (David Bovill) Date: Fri, 17 Aug 2007 22:20:25 +0100 Subject: 1 5 10 25 50 In-Reply-To: References: <46C5F5EF.9020704@fourthworld.com> <21C9803A-3835-4CD6-AB29-87CCE1C24A74@byu.edu> Message-ID: :) On 17/08/07, Ian Wood wrote: > > > On 17 Aug 2007, at 21:48, David Bovill wrote: > > > Guys - i thought everyone knew the answer was 43? > > Don't you mean 42? > > 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 mark at maseurope.net Fri Aug 17 17:30:44 2007 From: mark at maseurope.net (Mark Smith) Date: Fri, 17 Aug 2007 22:30:44 +0100 Subject: 1 5 10 25 50 In-Reply-To: References: <46C5F5EF.9020704@fourthworld.com> <21C9803A-3835-4CD6-AB29-87CCE1C24A74@byu.edu> Message-ID: <95C94DAF-C3AE-4B57-977F-030D2CCF85B6@maseurope.net> No, 42 comes with rice... :) Mark On 17 Aug 2007, at 22:07, Ian Wood wrote: > > On 17 Aug 2007, at 21:48, David Bovill wrote: > >> Guys - i thought everyone knew the answer was 43? > > Don't you mean 42? > > 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 stephenREVOLUTION at barncard.com Fri Aug 17 17:33:21 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 17 Aug 2007 14:33:21 -0700 Subject: OT: I'm scared of bidding on eBay In-Reply-To: References: Message-ID: An iPhone for 30 pounds? Uh oh. You might have to kiss that goodbye. At least it wasn't more. >Anyway it turns out the seller does not take PayPal - and i'm contractually >bound to stick to my bid and pay into this guys account before he ships due >to some story about having lost > >I DO NOT ACCEPT PAYPAL BECAUSE MY LAST 2 EXPERIENCES OF PAYPAL WERE SCAMMERS >> USING STOLEN ACCOUNTS TO MAKE UNAUTHORISED PAYMENTS. this is not possible. Once somebody sends money to a certified address, it's theirs. This guys is just making an excuse for his scam. > > > I ACCEPT PAYMENT BY BANK DEPOSIT OR BANK TRANSFER ONLY. or Western Union? REALLY look out. Why can't he take a check? That's suspicious. It also goes outside the ebay protection system. > > >> MY ITEMS ARE DISPATCHED FROM A DISTRIBUTOR IN THE UK VIA 1ST CLASS POST >> WITHIN 48 HOURS OF CLEARED FUNDS > > >Reading this and travelling around the links of comments it looks like no >one much has been a member more than a few weeks in this little self >congratulatory circle - including the putative "NIGERIAN FRAUDSTER" - its >that language of it all that my paranoia objects to... > >Well I guess - I'll stick to paying up and seeing what happens - is it >common for people to set up scams with multiple accounts all voting for each >other? I don't know. I've had the thought that some ebay pages could be introduced into the database by skillful hacking. I'm dealing with a crappy seller right now that won't tell me when my item will arrive. For a while I thought I was a victim. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From niconiko at gmail.com Fri Aug 17 17:47:43 2007 From: niconiko at gmail.com (Nicolas Cueto) Date: Sat, 18 Aug 2007 06:47:43 +0900 Subject: combining sound files Message-ID: <1e91b2b70708171447q2367ffbbxa026857882de8701@mail.gmail.com> > Nicolas, AU files are not very complicated, and it would be fairly > easy to concatenate files as you describe, natively in Revolution, > providing that they have the same number of channels, the same sample > rate, and the same encoding. If the files differ from each other in > any of these ways, then it's much more complicated. > > If you're sure that your au. files are all the same in these ways, I > could probably knock something up in half an hour or so. Mark, the files' formatting is standardized, so, if you are sure you don't mind then, yes please! Or, a couple of scripting hints in the right direction would be welcome, too. Thank you. -- Nicolas Cueto From emilio at ualberta.ca Fri Aug 17 17:52:25 2007 From: emilio at ualberta.ca (Emilio Gagliardi) Date: Fri, 17 Aug 2007 15:52:25 -0600 Subject: drag/drop/snap button to arc Message-ID: <3a9ebf340708171452x4dc98170hb54ea268e3927a24@mail.gmail.com> Hi Everyone, I was wondering how difficult it would be to design and build a stack that would generate a dozen buttons (based on a set of words, 1 button/word) that would allow a user to drag the button to an arc, and once over top the arc would be 'sticky' and stay stuck to the arc until the mouseup event fired at which time the button would be hidden (I'm thinking I would put some icon in its place at the point on the arc where the button was released). I'm trying to develop a new paradigm for an experiment I've been working on, and I have code working to drag a button on the screen already (mind you this was code I wrote 2 years ago now) and what I want to create is a situation where the button starts equidistant from all points on a line, hence the arc. I don't have much time unfortunately, which is why I'm asking how hard it would it be to design and build. Ideally, I'd like to capture the time spent dragging and positioning as well, but that can wait. I searched the archives for drag and drop threads but didn't find anything that was relevant. If I missed something, please let me know and I'll go peruse the code. I can post the code that I have, but it is complicated since I break the code up in weird ways. I would gladly take any comments/suggestions to get started ASAP. thanks very much for your time! emilio From briany at qldlearning.com Fri Aug 17 18:09:54 2007 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 17 Aug 2007 15:09:54 -0700 Subject: OT: I'm scared of bidding on eBay In-Reply-To: References: Message-ID: David, If you haven't paid already, I certainly would not. This seller is clearly crooked. I would not fear being held to your contract with eBay -- there is no way this guy/gal wants to get eBay involved, since that will just lead to getting him/her busted. If anything, you should report the seller to eBay. > I DO NOT ACCEPT PAYPAL BECAUSE MY LAST 2 EXPERIENCES OF PAYPAL WERE > SCAMMERS >> USING STOLEN ACCOUNTS TO MAKE UNAUTHORISED PAYMENTS. >> >> I LOST ?500 BECAUSE OF THIS SO I HAVE CLOSED MY PAYPAL ACCOUNT. I >> WILL NOT >> MAKE ANOTHER ONE. I DO NOT, UNDER ANY CIRCUMSTANCES, ACCEPT >> PAYMENT BY >> PAYPAL. >> >> I ACCEPT PAYMENT BY BANK DEPOSIT OR BANK TRANSFER ONLY. >> >> MY ITEMS ARE DISPATCHED FROM A DISTRIBUTOR IN THE UK VIA 1ST CLASS >> POST >> WITHIN 48 HOURS OF CLEARED FUNDS > > > Reading this and travelling around the links of comments it looks > like no > one much has been a member more than a few weeks in this little self > congratulatory circle - including the putative "NIGERIAN FRAUDSTER" > - its > that language of it all that my paranoia objects to... > > Well I guess - I'll stick to paying up and seeing what happens - is it > common for people to set up scams with multiple accounts all voting > for each > other? From david at openpartnership.net Fri Aug 17 18:19:28 2007 From: david at openpartnership.net (David Bovill) Date: Fri, 17 Aug 2007 23:19:28 +0100 Subject: OT: I'm scared of bidding on eBay In-Reply-To: References: Message-ID: OK - thanks everyone - I'll keep an eye on this guy - a "private" bidder has outbid me so I'm off the hook - or missed a good deal. PS - I was going for a Nokia N93 - the one that doubles as a "camcorder", which I'm curious about as it wasn't a good seller. Paranoia shared is another mug spared. From mark at maseurope.net Fri Aug 17 18:22:11 2007 From: mark at maseurope.net (Mark Smith) Date: Fri, 17 Aug 2007 23:22:11 +0100 Subject: combining sound files In-Reply-To: <1e91b2b70708171447q2367ffbbxa026857882de8701@mail.gmail.com> References: <1e91b2b70708171447q2367ffbbxa026857882de8701@mail.gmail.com> Message-ID: OK, it's on RevOnline: User: Mark Smith Category: Utilities Name: AuJoiner Only tested on OS X intel, so let me know how you get on. It uses the new (in 2.8.1) "M" binaryEncode/Decode parameter, so I don't think it will work with pre-2.8.1 Revs. Best, Mark On 17 Aug 2007, at 22:47, Nicolas Cueto wrote: > > Mark, the files' formatting is standardized, so, if you are sure you > don't mind then, yes please! > > Or, a couple of scripting hints in the right direction would be > welcome, too. > > Thank you. > > -- > Nicolas Cueto > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Fri Aug 17 18:30:36 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 17 Aug 2007 15:30:36 -0700 Subject: OT: I'm scared of bidding on eBay References: Message-ID: David- Not only that, but Paypal and eBay are both part of Yahoo. "Located in San Jose, California, PayPal was acquired by eBay Inc. in October, 2002." http://www.paypal.com/cgi-bin/webscr?cmd=p/gen/about-outside http://news.com.com/2100-1017-941964.html http://www.auctionbytes.com/cab/abn/y07/m04/i18/s01 -- Mark Wieder mwieder at ahsoftware.net From bvg at mac.com Fri Aug 17 18:49:00 2007 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 18 Aug 2007 00:49:00 +0200 Subject: 1 5 10 25 50 In-Reply-To: <6E00905A-2878-4FCA-BDE0-249522285811@comcast.net> References: <4B551F96-E3CE-4DBD-AC54-505499415DB5@cruzio.com> <414756E1-D53F-4E47-8001-3797225315D0@comcast.net> <0DE14A26-D860-4C58-9034-866BEA1B8BDD@maseurope.net> <9b408d8e0708171219m29b3a8cat8f7f683505904287@mail.gmail.com> <6E00905A-2878-4FCA-BDE0-249522285811@comcast.net> Message-ID: <9b54045f1138575319e5c0e25be9293a@mac.com> On 17 Aug 2007, at 22:54, Paul Gabel wrote: > My deepest apologies. I meant to send this tiny stack to list member > Mark Swindell (who understood the point), but accidentally sent it to > the whole list. I'll be more careful. > > Paul Gabel Soooo, what is the point? We're curious :) From stephenREVOLUTION at barncard.com Fri Aug 17 19:01:06 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 17 Aug 2007 16:01:06 -0700 Subject: OT: I'm scared of bidding on eBay In-Reply-To: References: Message-ID: >David- > >Not only that, but Paypal and eBay are both part of Yahoo. That is not true. Paypal. Ebay and Skype are part of the same company. I have friends that work at Paypal. Yahoo has nothing to do with these people. You misread the third article - Yahoo is USING Paypal technology. > >"Located in San Jose, California, PayPal was acquired by eBay Inc. in >October, 2002." > >http://www.paypal.com/cgi-bin/webscr?cmd=p/gen/about-outside >http://news.com.com/2100-1017-941964.html >http://www.auctionbytes.com/cab/abn/y07/m04/i18/s01 > >-- > Mark Wieder > mwieder at ahsoftware.net > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From paulgabel at comcast.net Fri Aug 17 19:17:37 2007 From: paulgabel at comcast.net (Paul Gabel) Date: Fri, 17 Aug 2007 16:17:37 -0700 Subject: 1 5 10 25 50 In-Reply-To: <9b54045f1138575319e5c0e25be9293a@mac.com> References: <4B551F96-E3CE-4DBD-AC54-505499415DB5@cruzio.com> <414756E1-D53F-4E47-8001-3797225315D0@comcast.net> <0DE14A26-D860-4C58-9034-866BEA1B8BDD@maseurope.net> <9b408d8e0708171219m29b3a8cat8f7f683505904287@mail.gmail.com> <6E00905A-2878-4FCA-BDE0-249522285811@comcast.net> <9b54045f1138575319e5c0e25be9293a@mac.com> Message-ID: To those of you who so imaginatively tried to solve this problem as some sort of mathematical progression, here is the email that Mark Swindell sent to me. As I mentioned, I accidentally replied to the list instead of Mark personally. Hi Paul, Maybe you can help me with this ... I know it should be very simple, but: In a variable lTheCoins I have the words "1 5 10 25 50." If I "get word 1 of this variable," it = 1. If I give the command ... word 1 is replaced with empty, but so is character 1 of word 3 (10 becomes 0 ... the remaining words in lTheCoins are now 5 0 25 50, but there is no zero coin). I only want to replace the whole word 'it,' not each instance of it [not every "1"]. What's the way to get the proper behavior? Mark Mark said he's since solved it, but I haven't seen his solution yet. Here's mine: ? ... but I'd love to see any improvements. Paul Gabel ------------------ On Aug 17, 2007, at 3:49 PM, Bj?rnke von Gierke wrote: > > On 17 Aug 2007, at 22:54, Paul Gabel wrote: > >> My deepest apologies. I meant to send this tiny stack to list >> member Mark Swindell (who understood the point), but accidentally >> sent it to the whole list. I'll be more careful. >> >> Paul Gabel > > Soooo, what is the point? We're curious :) > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Aug 17 19:44:47 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 18 Aug 2007 01:44:47 +0200 Subject: 1 5 10 25 50 In-Reply-To: References: <4B551F96-E3CE-4DBD-AC54-505499415DB5@cruzio.com> <414756E1-D53F-4E47-8001-3797225315D0@comcast.net> <0DE14A26-D860-4C58-9034-866BEA1B8BDD@maseurope.net> <9b408d8e0708171219m29b3a8cat8f7f683505904287@mail.gmail.com> <6E00905A-2878-4FCA-BDE0-249522285811@comcast.net> <9b54045f1138575319e5c0e25be9293a@mac.com> Message-ID: Hi Paul, put word 1 to -1 of replaceText(space & lTheCoins & space,space & "1" & space,empty) into lTheCoins Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 18-aug-2007, om 1:17 heeft Paul Gabel het volgende geschreven: > To those of you who so imaginatively tried to solve this problem as > some sort of mathematical progression, here is the email that Mark > Swindell sent to me. As I mentioned, I accidentally replied to the > list instead of Mark personally. > > Hi Paul, > > Maybe you can help me with this ... I know it should be very > simple, but: > In a variable lTheCoins I have the words "1 5 10 25 50." If I "get > word 1 of this variable," it = 1. If I give the command ... > > > > word 1 is replaced with empty, but so is character 1 of word 3 (10 > becomes 0 ... the remaining words in lTheCoins are now 5 0 25 50, > but there is no zero coin). I only want to replace the whole word > 'it,' not each instance of it [not every "1"]. What's the way to > get the proper behavior? > > Mark > > Mark said he's since solved it, but I haven't seen his solution > yet. Here's mine: > > ... but I'd love to see any improvements. > > Paul Gabel From bvg at mac.com Fri Aug 17 20:00:32 2007 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 18 Aug 2007 02:00:32 +0200 Subject: 1 5 10 25 50 In-Reply-To: References: <4B551F96-E3CE-4DBD-AC54-505499415DB5@cruzio.com> <414756E1-D53F-4E47-8001-3797225315D0@comcast.net> <0DE14A26-D860-4C58-9034-866BEA1B8BDD@maseurope.net> <9b408d8e0708171219m29b3a8cat8f7f683505904287@mail.gmail.com> <6E00905A-2878-4FCA-BDE0-249522285811@comcast.net> <9b54045f1138575319e5c0e25be9293a@mac.com> Message-ID: <370c8fc1d77873a67da5bb03a49cfb24@mac.com> On 18 Aug 2007, at 01:17, Paul Gabel wrote: > Mark said he's since solved it, but I haven't seen his solution yet. > Here's mine: > > > ... but I'd love to see any improvements. I'd argue that any solution is better then no solution :P Try: Delete word 1 of ITheCoins Substitute "1" with the correct word number (if you only know the word's content, look up "wordoffset" in the docu). Simple but hard to remember (I always forget about "delete ", and use "put "" into x" way too much). 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 lists at mangomultimedia.com Fri Aug 17 20:14:24 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 17 Aug 2007 20:14:24 -0400 Subject: Inks: black translucent background with hole In-Reply-To: <4B551F96-E3CE-4DBD-AC54-505499415DB5@cruzio.com> References: <4B551F96-E3CE-4DBD-AC54-505499415DB5@cruzio.com> Message-ID: On Aug 17, 2007, at 11:58 AM, Mark Swindell wrote: > This is a great effect but I can't follow how it works. If copy > and paste the spotlight oval in your stack, the copied oval shows > up black... the transparency is lost. I can't see any difference > in the properties. What am I missing? The secret is in the "ink" setting of the group the graphic is in and the "ink" setting of the graphic itself. You have to have both or it won't work. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From lan.kc.macmail at gmail.com Fri Aug 17 20:24:35 2007 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 18 Aug 2007 08:24:35 +0800 Subject: [OT] Energy Efficient Search Engine In-Reply-To: References: <20070817170005.99D3148986D@mail.runrev.com> Message-ID: On 8/18/07, Jeff Reynolds wrote: > > > Also you may not realize you are being slowed down or have a lower > comprehension! we got very different results when we just asked which > looked better or felt better! those results were all over the map! Yes, you have a very good point there. I know a few people who, after a few drinks, think they drive better drunk. Clearly research and the law beg to differ. I read so slow that another couple of seconds here or there I wouldn't even notice :-) From mwieder at ahsoftware.net Fri Aug 17 20:25:57 2007 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 17 Aug 2007 17:25:57 -0700 Subject: OT: I'm scared of bidding on eBay References: Message-ID: Stephen- > That is not true. Ah. My bad. Thanks for the correction. I read: (Yahoo and eBay's) PayPal subsidiary... instead of: Yahoo and (eBay's PayPal subsidiary)... -- Mark Wieder mwieder at ahsoftware.net From mdswindell at cruzio.com Fri Aug 17 21:06:21 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Fri, 17 Aug 2007 18:06:21 -0700 Subject: Inks: black translucent background with hole In-Reply-To: References: <4B551F96-E3CE-4DBD-AC54-505499415DB5@cruzio.com> Message-ID: Ahhhh. Thank you. Mark On Aug 17, 2007, at 5:14 PM, Trevor DeVore wrote: > On Aug 17, 2007, at 11:58 AM, Mark Swindell wrote: > >> This is a great effect but I can't follow how it works. If copy >> and paste the spotlight oval in your stack, the copied oval shows >> up black... the transparency is lost. I can't see any difference >> in the properties. What am I missing? > > The secret is in the "ink" setting of the group the graphic is in > and the "ink" setting of the graphic itself. You have to have both > or it won't work. > > > -- > 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 > Middle age is when your broad mind and narrow waist begin to change places. - E. Joseph Crossman From arthur.rann at gmail.com Fri Aug 17 23:10:21 2007 From: arthur.rann at gmail.com (Arthur Rann) Date: Fri, 17 Aug 2007 22:10:21 -0500 Subject: Best place to put preferences on a PC? Message-ID: <64bccb0c0708172010h25876f2bie0be02377baf3e5d@mail.gmail.com> Hi, I appreciate the help with other issues I had earlier, but I still don't know where to put preference files on a PC. Any thoughts? Do prefs files even exist on a PC? I want to store my users' serial number somewhere that my app can reference when it runs. On the Mac, this is going in the prefs folder. Where do I put them on a PC? Thank you, Art From katir at hindu.org Fri Aug 17 23:35:11 2007 From: katir at hindu.org (Sivakatirswami) Date: Fri, 17 Aug 2007 17:35:11 -1000 Subject: URLstatus for Players set to remote URLs In-Reply-To: <37BBF5D3-F0B7-495F-87FE-581B08E373A5@major-k.de> References: <46C4B5CD.1080204@hindu.org> <37BBF5D3-F0B7-495F-87FE-581B08E373A5@major-k.de> Message-ID: <46C668EF.8050300@hindu.org> Klaus Major wrote: > all this can be done with Trevor's EXCELLENT Enhanced QT External :-) > > From the docs: > > function qtGetMovieLoadState () > QT Version: 4.1 > Description: > Returns the download state of the movie controller. > This function lets your code perform relative comparisons against movie > loading milestones > to determine if certain operations make sense. Don't call more often > then every quarter of a second. > Its return values are ordered so that they conform to this rule: > kMovieLoadStateError > < kMovieLoadStateLoading > < kMovieLoadStatePlayable > < kMovieLoadStateComplete > Parameters: > MovieControllerID: movieControllerID. > Return: > Integer value: > kMovieLoadStateError -1 > kMovieLoadStateLoading 1000 > kMovieLoadStatePlayable 10000 > kMovieLoadStatePlayThroughOK 20000 > kMovieLoadStateComplete 100000 > ... > > AND more :-) > > Check the docs -> "General" Thanks... i downloaded it... I must be missing something. I don't see any "General" section in the docs And though the doc are very clear, and mostly transparent... they are "lean" Whats' the difference between > kMovieLoadStatePlayable 10000 > kMovieLoadStatePlayThroughOK 20000 ?? Also, the "Working with Images" stack reports an err on attempt to open some movies qterr,Unable to open movie it woudl be interesting to know why? plays fine in QT Player. Sivakatirswami From lists at mangomultimedia.com Fri Aug 17 23:41:33 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 17 Aug 2007 23:41:33 -0400 Subject: URLstatus for Players set to remote URLs In-Reply-To: <46C668EF.8050300@hindu.org> References: <46C4B5CD.1080204@hindu.org> <37BBF5D3-F0B7-495F-87FE-581B08E373A5@major-k.de> <46C668EF.8050300@hindu.org> Message-ID: <99C1FCA0-150F-4DB8-9E38-FF6F19E45581@mangomultimedia.com> On Aug 17, 2007, at 11:35 PM, Sivakatirswami wrote: > Whats' the difference between > > > kMovieLoadStatePlayable 10000 > > kMovieLoadStatePlayThroughOK 20000 These are constants provided by QuickTime. Search for either of those strings on one of these pages: -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From niconiko at gmail.com Sat Aug 18 04:55:41 2007 From: niconiko at gmail.com (Nicolas Cueto) Date: Sat, 18 Aug 2007 17:55:41 +0900 Subject: combining sound files Message-ID: <1e91b2b70708180155o2cc46f30l547d8f9c675884a@mail.gmail.com> > Only tested on OS X intel, so let me know how you get on. > It uses the new (in 2.8.1) "M" binaryEncode/Decode parameter, so I > don't think it will work with pre-2.8.1 Revs. Mark, that was very kind of you to put that stack together. Thank you. Unfortunately, you're right. My Rev 2.6 (Windows) choked at the script line: get binaryDecode("M",binNum,bdOutput) returning the error type "binaryDecode: invalid data for parameter". If there's still a solution ... Cheers, Nicolas Cueto From mark at maseurope.net Sat Aug 18 05:18:25 2007 From: mark at maseurope.net (Mark Smith) Date: Sat, 18 Aug 2007 10:18:25 +0100 Subject: combining sound files In-Reply-To: <1e91b2b70708180155o2cc46f30l547d8f9c675884a@mail.gmail.com> References: <1e91b2b70708180155o2cc46f30l547d8f9c675884a@mail.gmail.com> Message-ID: Nicolas, I've copied a function from another project into it so it should work now...(should have done it in the first place!) Best, Mark On 18 Aug 2007, at 09:55, Nicolas Cueto wrote: >> Only tested on OS X intel, so let me know how you get on. >> It uses the new (in 2.8.1) "M" binaryEncode/Decode parameter, so I >> don't think it will work with pre-2.8.1 Revs. > > Mark, that was very kind of you to put that stack together. Thank you. > > Unfortunately, you're right. My Rev 2.6 (Windows) choked at the > script line: > > get binaryDecode("M",binNum,bdOutput) > > returning the error type "binaryDecode: invalid data for parameter". > > If there's still a solution ... > > Cheers, > > Nicolas Cueto > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From wow at together.net Sat Aug 18 09:38:34 2007 From: wow at together.net (Richard Miller) Date: Sat, 18 Aug 2007 09:38:34 -0400 Subject: Windows firewall issues and Rev In-Reply-To: References: <1e91b2b70708180155o2cc46f30l547d8f9c675884a@mail.gmail.com> Message-ID: <8C661753-45D8-4DCC-A451-815DD60DC132@together.net> I'm running into a problem with a certain number of users where our Rev software is being blocked from operating by Windows Firewall. I don't really understand what is going on, so maybe a few questions will help. To my knowledge, these users don't have the Firewall configured any differently than other users of our program who are not running into a blocking problem. I've noticed that, when I look at the Exceptions area in Windows Firewall, it lists the Rev engine in there. I decided to delete that exception. Yet, when I open Rev to start programming, it opens fine... nothing gets blocked yet. Two questions: 1. What would I need to do in Rev to cause the Firewall to kick into action? 2. Does Rev automatically adjust Windows Firewall during installation to create an exception? I don't remember ever telling Windows to not block Rev. Thanks. Richard Miller From paulgabel at comcast.net Sat Aug 18 17:13:51 2007 From: paulgabel at comcast.net (Paul Gabel) Date: Sat, 18 Aug 2007 14:13:51 -0700 Subject: Telling which stack is active? Message-ID: <4F500B42-0BA3-45B0-96A0-CF02BCFD0616@comcast.net> Hi everybody: I have 6 stacks with their windows open at the same time. Some are hidden behind other stacks and then slide out from underneath (like a drawer). But I can't figure out a way within scripts to tell which stack is the "active" one, the one the cursor has last clicked on, the one that is checked in the Windows menu. How can I do something like: ? This problem is frustrating me, and I sure would appreciate a little help. Paul Gabel From kray at sonsothunder.com Sat Aug 18 18:13:35 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 18 Aug 2007 17:13:35 -0500 Subject: Telling which stack is active? In-Reply-To: <4F500B42-0BA3-45B0-96A0-CF02BCFD0616@comcast.net> References: <4F500B42-0BA3-45B0-96A0-CF02BCFD0616@comcast.net> Message-ID: <20070818171335465833.5f5a8f56@sonsothunder.com> On Sat, 18 Aug 2007 14:13:51 -0700, Paul Gabel wrote: > Hi everybody: > > I have 6 stacks with their windows open at the same time. Some are > hidden behind other stacks and then slide out from underneath (like a > drawer). But I can't figure out a way within scripts to tell which > stack is the "active" one, the one the cursor has last clicked on, > the one that is checked in the Windows menu. How can I do something > like: ? > > This problem is frustrating me, and I sure would appreciate a little help. Very close - look at "defaultStack" and "topStack" in the Dictionary. Basically "defaultStack" is the stack that is what you are talking about when you use "this" (like "the short name of this card"), and "topStack" is the frontmost stack with the lowest "mode" (usually meaning the frontmost topLevel window). 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 Aug 18 20:17:29 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 18 Aug 2007 19:17:29 -0500 Subject: Windows firewall issues and Rev In-Reply-To: <8C661753-45D8-4DCC-A451-815DD60DC132@together.net> References: <1e91b2b70708180155o2cc46f30l547d8f9c675884a@mail.gmail.com> <8C661753-45D8-4DCC-A451-815DD60DC132@together.net> Message-ID: <20070818191729245582.286bc01d@sonsothunder.com> On Sat, 18 Aug 2007 09:38:34 -0400, Richard Miller wrote: > 1. What would I need to do in Rev to cause the Firewall to kick into action? One thing that would probably cause it would be to open a TCP (also maybe UDP?) socket to another program... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From niconiko at gmail.com Sat Aug 18 20:36:00 2007 From: niconiko at gmail.com (Nicolas Cueto) Date: Sun, 19 Aug 2007 09:36:00 +0900 Subject: combining sound files Message-ID: <1e91b2b70708181736h47c47496pfd4f18910cbd1aac@mail.gmail.com> Mark, your second version works under Rev2.6! There's an aural glitch, though, in the concatenated sound file. A "click" can be heard at the start of the concatenated file and at each concatination point therein. Nonetheless, thank you very much, both for the stack as well as for the peek into how sound-file encoding works. Cheers, Nicolas Cueto From niconiko at gmail.com Sat Aug 18 20:55:47 2007 From: niconiko at gmail.com (Nicolas Cueto) Date: Sun, 19 Aug 2007 09:55:47 +0900 Subject: combining sound files Message-ID: <1e91b2b70708181755r6b558da5o1f4033da039e7164@mail.gmail.com> Mark, I found the cause of the "click". There's a typo in the stack script, i.e., put char (tFileInfo["heaerSize"] I retyped it as "headerSize", and the "clicks" no longer appear in the concatenated au file. Again, thank you for this stack. It's going to enable me to easily produce more listening materials for my classrooms. -- Nicolas Cueto From mark at maseurope.net Sat Aug 18 22:01:12 2007 From: mark at maseurope.net (Mark Smith) Date: Sun, 19 Aug 2007 03:01:12 +0100 Subject: combining sound files In-Reply-To: <1e91b2b70708181755r6b558da5o1f4033da039e7164@mail.gmail.com> References: <1e91b2b70708181755r6b558da5o1f4033da039e7164@mail.gmail.com> Message-ID: <90753753-857E-4F6A-9231-99627ED1BB3C@maseurope.net> Nicolas, glad you got it working! The three .au files I have to hand are loud and noisy, which is probably why I didn't notice the click. Best, Mark On 19 Aug 2007, at 01:55, Nicolas Cueto wrote: > Mark, I found the cause of the "click". > > There's a typo in the stack script, i.e., > > put char (tFileInfo["heaerSize"] > > I retyped it as "headerSize", and the > "clicks" no longer appear in the > concatenated au file. > > Again, thank you for this stack. It's going > to enable me to easily produce more > listening materials for my classrooms. > > -- > Nicolas Cueto > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From arthur.rann at gmail.com Sun Aug 19 11:38:47 2007 From: arthur.rann at gmail.com (Arthur Rann) Date: Sun, 19 Aug 2007 10:38:47 -0500 Subject: Hiding things in the registry? Message-ID: <64bccb0c0708190838q59181987i601b67f92ae909e@mail.gmail.com> Hi, Is it acceptable to put serial numbers in the registry, or should I put them somewhere else? Thank you, Art From arthur.rann at gmail.com Sun Aug 19 11:49:10 2007 From: arthur.rann at gmail.com (Arthur Rann) Date: Sun, 19 Aug 2007 10:49:10 -0500 Subject: [OT] Energy Efficient Search Engine In-Reply-To: References: <20070817170005.99D3148986D@mail.runrev.com> Message-ID: <64bccb0c0708190849g582ef228g65b8e270c71c2e88@mail.gmail.com> Hi, I used to build circuitry for the backlights on portable computer screens, and this was a common joke among the hardware engineers. Although a funny hoax, computer screens don't work like that. A black screen requires the same amount of energy to display as a solid white screen. One exception would be some of the passive matrix screens that used to be on the PowerBook Duo, among other computers. But ever since the Active Matrix screen debuted, even laptop screens rely on the same constant full power display that desktop systems use. It's easy to prove, just turn off the other electrical things in your house, leave your computer on, and go check your meter outside. Sorry, Art From jacque at hyperactivesw.com Sun Aug 19 12:31:57 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 19 Aug 2007 11:31:57 -0500 Subject: Best place to put preferences on a PC? In-Reply-To: <64bccb0c0708172010h25876f2bie0be02377baf3e5d@mail.gmail.com> References: <64bccb0c0708172010h25876f2bie0be02377baf3e5d@mail.gmail.com> Message-ID: <46C8707D.3080904@hyperactivesw.com> Arthur Rann wrote: > Hi, > > I appreciate the help with other issues I had earlier, but I still don't > know where to put preference files on a PC. Any thoughts? Do prefs files > even exist on a PC? I want to store my users' serial number somewhere that > my app can reference when it runs. On the Mac, this is going in the prefs > folder. Where do I put them on a PC? Revolution puts some of its files in one of these two places: Documents and Settings\\Application Data folder Documents and Settings\\Local Settings\Application Data If the serial is encrypted or otherwise obscured, one of these is where I'd put it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From nealk3nc at gmail.com Sun Aug 19 13:05:36 2007 From: nealk3nc at gmail.com (Neal Campbell) Date: Sun, 19 Aug 2007 13:05:36 -0400 Subject: Hiding things in the registry? In-Reply-To: <64bccb0c0708190838q59181987i601b67f92ae909e@mail.gmail.com> References: <64bccb0c0708190838q59181987i601b67f92ae909e@mail.gmail.com> Message-ID: <325413300708191005tb230ea3r8f7b0768fc342c19@mail.gmail.com> I would encrypt them if I put them in the registry. I was initially wary of the registry as many people/programs troll it but if it gets hosed, the entire machine is useless so I stopped worrying and learned to let it do its thing! Neal Campbell On 8/19/07, Arthur Rann wrote: > Hi, > Is it acceptable to put serial numbers in the registry, or should I put them > somewhere else? > > Thank you, > Art > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From Tom.Cole at asu.edu Sun Aug 19 14:31:03 2007 From: Tom.Cole at asu.edu (Thomas Cole) Date: Sun, 19 Aug 2007 11:31:03 -0700 Subject: Standalone Problem Message-ID: Dear Revolutionaries, I have a stack with several games for learning. Everything works fine except one game, on a single card, does not function in the Windows standalone. I'm using the new studio software for mac. When you access this card, the game doesn't function at all. Even the "return to menu" button does not work. Nor will the "quit" button. Very odd. You see, the Mac standalone works just as it does in the development environment. Just fine. What gives? Is there something I should check first? Is there something that is taboo in the windows standalones? All the other little games work fine. Thank you very much. Tom in Arizona From larsbrehmer at mac.com Sun Aug 19 14:52:38 2007 From: larsbrehmer at mac.com (Lars Brehmer) Date: Sun, 19 Aug 2007 21:52:38 +0300 Subject: cross platform installer made with rev Message-ID: <46E11117-2ACB-4C73-BBD7-5097CC009E3E@mac.com> I could swear a while back one you pros out there mentioned an installer someone made with rev for installing software including EULA and everything else that belongs there. I wanted to buy a copy, but I can't find it anywhere! Anyone remember this or made such an installer yourself? Did I just imagine this? Cheers, Lars From scott at elementarysoftware.com Sun Aug 19 15:23:52 2007 From: scott at elementarysoftware.com (Scott Morrow) Date: Sun, 19 Aug 2007 12:23:52 -0700 Subject: cross platform installer made with rev In-Reply-To: <46E11117-2ACB-4C73-BBD7-5097CC009E3E@mac.com> References: <46E11117-2ACB-4C73-BBD7-5097CC009E3E@mac.com> Message-ID: Perhaps you are thinking of InstallGadget. http://www.sweattechnologies.com/InstallGadget/ -Scott On Aug 19, 2007, at 11:52 AM, Lars Brehmer wrote: > I could swear a while back one you pros out there mentioned an > installer someone made with rev for installing software including > EULA and everything else that belongs there. I wanted to buy a > copy, but I can't find it anywhere! Anyone remember this or made > such an installer yourself? Did I just imagine this? > > Cheers, > > Lars > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From JRarick at hpsk12.net Sun Aug 19 17:00:15 2007 From: JRarick at hpsk12.net (Jack Rarick) Date: Sun, 19 Aug 2007 17:00:15 -0400 Subject: Standalone Problem In-Reply-To: References: Message-ID: <46C8771F020000DC000006A8@hpsk12.net> Tom: Is it possible that you might have accidently placed a transparent image over the top of the card? I've done that before ... Jack Rarick Braintree Athletic Systems >>> Tom.Cole at asu.edu 8/19/2007 2:31 PM >>> Dear Revolutionaries, I have a stack with several games for learning. Everything works fine except one game, on a single card, does not function in the Windows standalone. I'm using the new studio software for mac. When you access this card, the game doesn't function at all. Even the "return to menu" button does not work. Nor will the "quit" button. Very odd. You see, the Mac standalone works just as it does in the development environment. Just fine. What gives? Is there something I should check first? Is there something that is taboo in the windows standalones? All the other little games work fine. Thank you very much. Tom in Arizona _______________________________________________ use-revolution mailing list use-revolution 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 This email was Anti Virus checked by Astaro Security Gateway. http://www.astaro.com From revolution at derbrill.de Sun Aug 19 17:59:04 2007 From: revolution at derbrill.de (Malte Brill) Date: Sun, 19 Aug 2007 23:59:04 +0200 Subject: drag/drop/snap button to arc In-Reply-To: <20070819170005.ADD94488FB1@mail.runrev.com> References: <20070819170005.ADD94488FB1@mail.runrev.com> Message-ID: <46C8BD28.2000802@derbrill.de> Hi Emilio, please excuse the shameless plug. If you?d use animationengine you would want to use something like the following script in the card (assuming one moving button called myButton and one oval graphic, called arc): local tDragTime on init set the loc of btn "myButton" to 400,400 set the constrainRectangular of the btn "myButton" to the rect of this cd end init on constrainRectangularInit put the milliseconds into tDragTime end constrainRectangularInit on constrainrectangularCallBack if intersect(the target, grc "arc") then set the constrainElliptical of the target to \ the loc of grc "arc",the width of grc "arc"/2,the height of grc "arc"/2 end if end constrainrectangularCallBack on constrainEllipticalExit set the constrainElliptical of the target to empty answer the milliseconds-tDragTime end constrainEllipticalExit you would need to call the init method first. The button is placed at 400,400 then. Start dragging the button to the oval. Release the button and see the time. Hope that helps, Malte From toolbook at kestner.de Mon Aug 20 08:50:49 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 20 Aug 2007 14:50:49 +0200 Subject: which field property to set for 'scrolling'? Message-ID: <000701c7e328$be2fa920$18b2a8c0@TiemoPC2> Hello, I have a single line field (don't wrap = true) where the input can be longer as the field is. When I set the cursor into the field I can't "scroll" with the arrow keys to the end of the text (no scrollbars) so that the single line text moves thru the field. Which field property do I have to set for this issue? Thanks for any hint Tiemo From eric.chatonet at sosmartsoftware.com Mon Aug 20 09:11:41 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 20 Aug 2007 15:11:41 +0200 Subject: which field property to set for 'scrolling'? In-Reply-To: <000701c7e328$be2fa920$18b2a8c0@TiemoPC2> References: <000701c7e328$be2fa920$18b2a8c0@TiemoPC2> Message-ID: Hi Tiemo, You should be able to put these handlers in the card (stack) script: on keyDown if the selectedField <> empty then if AllowInput() then pass keyDown -- else pass keyDown end keyDown ----------------------------------------------- function AllowInput return the formattedWidth of the target < the width of the target end AllowInput Keydown handler (when a key id pressed) will check, when it's a non locked field and using the AllowInput function, the width of the current string related to the physical width of the field. In other cases, keydown will be passed. Le 20 ao?t 07 ? 14:50, Tiemo Hollmann TB a ?crit : > > I have a single line field (don't wrap = true) where the input can > be longer > as the field is. > > When I set the cursor into the field I can't "scroll" with the > arrow keys to > the end of the text (no scrollbars) so that the single line text > moves thru > the field. > > Which field property do I have to set for this issue? > > Thanks for any hint > > Tiemo Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From toolbook at kestner.de Mon Aug 20 09:27:46 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 20 Aug 2007 15:27:46 +0200 Subject: AW: which field property to set for 'scrolling'? In-Reply-To: Message-ID: <000c01c7e32d$e5e5e1f0$18b2a8c0@TiemoPC2> Hello Eric, I am quite not sure if I expressed myself correct and what your handler should do. I put the handlers into my card, with no result. But In your if-else condition there is twice "pass keyDown" - should that be? My single line field is a input field for a full path, which naturally can be pretty long - longer as the field is. What I would like to have is, that the text string in my field moves to the right, when I push the arrow key to the left (and vice versa) to see the complete string. Sorry for my cumbersomely explanation :) Tiemo > > Hi Tiemo, > > You should be able to put these handlers in the card (stack) script: > > on keyDown > if the selectedField <> empty then > if AllowInput() then pass keyDown -- > else pass keyDown > end keyDown > ----------------------------------------------- > function AllowInput > return the formattedWidth of the target < the width of the target > end AllowInput > > Keydown handler (when a key id pressed) will check, when it's a non > locked field and using the AllowInput function, the width of the > current string related to the physical width of the field. In other > cases, keydown will be passed. > From mark at maseurope.net Mon Aug 20 09:29:08 2007 From: mark at maseurope.net (Mark Smith) Date: Mon, 20 Aug 2007 14:29:08 +0100 Subject: Binary Encode/Decode bug? Message-ID: <17B95116-9499-4785-9AC4-480F7D67AEEE@maseurope.net> Is this a bug ?- it seems like one. put binaryEncode("n", someNumber) into tBinNum put empty into bdOutput get binaryDecode("n", tBinNum, bdOutput) "n" is the parameter for 2-byte signed integers in network byte order (bigEndian). "s" is the parameter for 2-byte signed integers in host byte order (littleEndian in my macIntel case). If "someNumber" (the input) >= 0 then the output ("bdOutput") = the input as you'd expect, but if the input < 0, then I'm getting input <> output. I'm on an intel Mac. On the other hand, if I swap the two bytes of "tBinNum" and use "s" in the decode, then I get the right result ie. put binaryEncode("n", someNumber) into tBinNum put char 2 of tBinNum & char 1 of tBinNum into tBinNum -- swap put empty into bdOutput get binaryDecode("s", tBinNum, bdOutput) input = output for any input. Should I bugzilla this? Best, Mark From eric.chatonet at sosmartsoftware.com Mon Aug 20 09:35:42 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 20 Aug 2007 15:35:42 +0200 Subject: AW: which field property to set for 'scrolling'? In-Reply-To: <000c01c7e32d$e5e5e1f0$18b2a8c0@TiemoPC2> References: <000c01c7e32d$e5e5e1f0$18b2a8c0@TiemoPC2> Message-ID: <8A379AD0-C9BC-484C-89B2-7850F935591B@sosmartsoftware.com> Hello Tiemo, I'm very sorry because I modified the code in my email client and of course made an error: You should read: on keyDown if the selectedField <> empty then if AllowInput() then -- pass keyDown -- end if else pass keyDown end keyDown Not that this process will not prevent the user to paste any long string ;-) Le 20 ao?t 07 ? 15:27, Tiemo Hollmann TB a ?crit : > Hello Eric, > I am quite not sure if I expressed myself correct and what your > handler > should do. I put the handlers into my card, with no result. But In > your > if-else condition there is twice "pass keyDown" - should that be? > > My single line field is a input field for a full path, which > naturally can > be pretty long - longer as the field is. What I would like to have > is, that > the text string in my field moves to the right, when I push the > arrow key to > the left (and vice versa) to see the complete string. > > Sorry for my cumbersomely explanation :) > Tiemo > > > >> >> Hi Tiemo, >> >> You should be able to put these handlers in the card (stack) script: >> >> on keyDown >> if the selectedField <> empty then >> if AllowInput() then pass keyDown -- >> else pass keyDown >> end keyDown >> ----------------------------------------------- >> function AllowInput >> return the formattedWidth of the target < the width of the target >> end AllowInput >> >> Keydown handler (when a key id pressed) will check, when it's a non >> locked field and using the AllowInput function, the width of the >> current string related to the physical width of the field. In other >> cases, keydown will be passed. From len-morgan at crcom.net Mon Aug 20 09:47:01 2007 From: len-morgan at crcom.net (Len Morgan) Date: Mon, 20 Aug 2007 08:47:01 -0500 Subject: My Stack Became Part of Rev IDE!!! Message-ID: <46C99B55.3050406@crcom.net> Something very bad has happened! I've had a stack that I working on that was part of a multi-stack application. I noticed yesterday that it no longer appears in the application browser. One of the scripts in the main stack seems like it's become part of Rev now (which would explain why I don't see it in the application browser). Is there somewhere I can look? If it matters, I'm using GLX2 as my editor. It had worked all day on Friday and Saturday until somebody asked me how it was going. I said just fine but forgot to "knock on wood." Shortly after that, the script was gone! Len Morgan From toolbook at kestner.de Mon Aug 20 09:53:31 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 20 Aug 2007 15:53:31 +0200 Subject: AW: AW: which field property to set for 'scrolling'? In-Reply-To: <8A379AD0-C9BC-484C-89B2-7850F935591B@sosmartsoftware.com> Message-ID: <001001c7e331$80f5bf00$18b2a8c0@TiemoPC2> Hello Eric, as far as I understand your handler, it prevents the user to input any longer text, as the fields width. I want to allow the user as long strings, as he wants. I just want to move the text with my arrow key to the left and to the right to see the ends of my text, which are not displayed in the field after input. Right now, when moving the cursor with the arrow key it bounces at the edge of the field without moving the text. Simple thing, complicated explained... I think it should just be a simple field property. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Eric Chatonet > Gesendet: Montag, 20. August 2007 15:36 > An: How to use Revolution > Betreff: Re: AW: which field property to set for 'scrolling'? > > Hello Tiemo, > > I'm very sorry because I modified the code in my email client and of > course made an error: > You should read: > > on keyDown > if the selectedField <> empty then > if AllowInput() then -- > pass keyDown -- > end if > else pass keyDown > end keyDown > > Not that this process will not prevent the user to paste any long > string ;-) > > Le 20 ao?t 07 ? 15:27, Tiemo Hollmann TB a ?crit : > > > Hello Eric, > > I am quite not sure if I expressed myself correct and what your > > handler > > should do. I put the handlers into my card, with no result. But In > > your > > if-else condition there is twice "pass keyDown" - should that be? > > > > My single line field is a input field for a full path, which > > naturally can > > be pretty long - longer as the field is. What I would like to have > > is, that > > the text string in my field moves to the right, when I push the > > arrow key to > > the left (and vice versa) to see the complete string. > > > > Sorry for my cumbersomely explanation :) > > Tiemo > > From eric.chatonet at sosmartsoftware.com Mon Aug 20 10:24:49 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 20 Aug 2007 16:24:49 +0200 Subject: AW: AW: which field property to set for 'scrolling'? In-Reply-To: <001001c7e331$80f5bf00$18b2a8c0@TiemoPC2> References: <001001c7e331$80f5bf00$18b2a8c0@TiemoPC2> Message-ID: Hi Tiemo, The behavior you want seems to be usual behavior: arrow keys allow navigating in the text and move the text if needed when the text is larger than the field. Create a new stack, create a new usual field and just set its dontWrap to true. Then test the behavior in this new stack: if it works as expected, compare fields properties ;-) Le 20 ao?t 07 ? 15:53, Tiemo Hollmann TB a ?crit : > Hello Eric, > as far as I understand your handler, it prevents the user to input any > longer text, as the fields width. > I want to allow the user as long strings, as he wants. I just want > to move > the text with my arrow key to the left and to the right to see the > ends of > my text, which are not displayed in the field after input. Right > now, when > moving the cursor with the arrow key it bounces at the edge of the > field > without moving the text. Simple thing, complicated explained... > I think it should just be a simple field property. > Tiemo > > >> -----Urspr?ngliche Nachricht----- >> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- >> bounces at lists.runrev.com] Im Auftrag von Eric Chatonet >> Gesendet: Montag, 20. August 2007 15:36 >> An: How to use Revolution >> Betreff: Re: AW: which field property to set for 'scrolling'? >> >> Hello Tiemo, >> >> I'm very sorry because I modified the code in my email client and of >> course made an error: >> You should read: >> >> on keyDown >> if the selectedField <> empty then >> if AllowInput() then -- >> pass keyDown -- >> end if >> else pass keyDown >> end keyDown >> >> Not that this process will not prevent the user to paste any long >> string ;-) >> >> Le 20 ao?t 07 ? 15:27, Tiemo Hollmann TB a ?crit : >> >>> Hello Eric, >>> I am quite not sure if I expressed myself correct and what your >>> handler >>> should do. I put the handlers into my card, with no result. But In >>> your >>> if-else condition there is twice "pass keyDown" - should that be? >>> >>> My single line field is a input field for a full path, which >>> naturally can >>> be pretty long - longer as the field is. What I would like to have >>> is, that >>> the text string in my field moves to the right, when I push the >>> arrow key to >>> the left (and vice versa) to see the complete string. >>> >>> Sorry for my cumbersomely explanation :) >>> Tiemo Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From eric.chatonet at sosmartsoftware.com Mon Aug 20 10:31:06 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 20 Aug 2007 16:31:06 +0200 Subject: My Stack Became Part of Rev IDE!!! In-Reply-To: <46C99B55.3050406@crcom.net> References: <46C99B55.3050406@crcom.net> Message-ID: <3E827D95-0B65-4D68-96E0-2FF58D309558@sosmartsoftware.com> Hi Len, Le 20 ao?t 07 ? 15:47, Len Morgan a ?crit : > Something very bad has happened! I've had a stack that I working > on that was part of a multi-stack application. I noticed yesterday > that it no longer appears in the application browser. One of the > scripts in the main stack seems like it's become part of Rev now > (which would explain why I don't see it in the application > browser). Is there somewhere I can look? > > If it matters, I'm using GLX2 as my editor. It had worked all day > on Friday and Saturday until somebody asked me how it was going. I > said just fine but forgot to "knock on wood." Shortly after that, > the script was gone! When a stack does not appear in the application browser (though it's effectively open), this usually means that the stack name begins with 'rev' and 'Revolution Elements In Lists' from the View menu is not checked. So first, check the stack name and this menu item :-) BTW, naming a stack may lead to unexpected results since Rev considers it as a part of the IDE and may treat it differently. So try to avoid it unless you want to build some plugin or other specific stack dedicated to the IDE. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From toolbook at kestner.de Mon Aug 20 11:27:15 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 20 Aug 2007 17:27:15 +0200 Subject: AW: AW: AW: which field property to set for 'scrolling'? In-Reply-To: Message-ID: <001601c7e33e$9943bfa0$18b2a8c0@TiemoPC2> Oh boy! Jumping behind a ghost, you are so right. I copied the field from somewhere and didn't noticed, that it wasn't quite standard :( Thanks a lot Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Eric Chatonet > Gesendet: Montag, 20. August 2007 16:25 > An: How to use Revolution > Betreff: Re: AW: AW: which field property to set for 'scrolling'? > > Hi Tiemo, > > The behavior you want seems to be usual behavior: arrow keys allow > navigating in the text and move the text if needed when the text is > larger than the field. > Create a new stack, create a new usual field and just set its > dontWrap to true. > Then test the behavior in this new stack: if it works as expected, > compare fields properties ;-) > > Le 20 ao?t 07 ? 15:53, Tiemo Hollmann TB a ?crit : > > > Hello Eric, > > as far as I understand your handler, it prevents the user to input any > > longer text, as the fields width. > > I want to allow the user as long strings, as he wants. I just want > > to move > > the text with my arrow key to the left and to the right to see the > > ends of > > my text, which are not displayed in the field after input. Right > > now, when > > moving the cursor with the arrow key it bounces at the edge of the > > field > > without moving the text. Simple thing, complicated explained... > > I think it should just be a simple field property. > > Tiemo > > > > > >> -----Urspr?ngliche Nachricht----- > >> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > >> bounces at lists.runrev.com] Im Auftrag von Eric Chatonet > >> Gesendet: Montag, 20. August 2007 15:36 > >> An: How to use Revolution > >> Betreff: Re: AW: which field property to set for 'scrolling'? > >> > >> Hello Tiemo, > >> > >> I'm very sorry because I modified the code in my email client and of > >> course made an error: > >> You should read: > >> > >> on keyDown > >> if the selectedField <> empty then > >> if AllowInput() then -- > >> pass keyDown -- > >> end if > >> else pass keyDown > >> end keyDown > >> > >> Not that this process will not prevent the user to paste any long > >> string ;-) > >> > >> Le 20 ao?t 07 ? 15:27, Tiemo Hollmann TB a ?crit : > >> > >>> Hello Eric, > >>> I am quite not sure if I expressed myself correct and what your > >>> handler > >>> should do. I put the handlers into my card, with no result. But In > >>> your > >>> if-else condition there is twice "pass keyDown" - should that be? > >>> > >>> My single line field is a input field for a full path, which > >>> naturally can > >>> be pretty long - longer as the field is. What I would like to have > >>> is, that > >>> the text string in my field moves to the right, when I push the > >>> arrow key to > >>> the left (and vice versa) to see the complete string. > >>> > >>> Sorry for my cumbersomely explanation :) > >>> Tiemo > > > > 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 len-morgan at crcom.net Mon Aug 20 14:52:21 2007 From: len-morgan at crcom.net (Len Morgan) Date: Mon, 20 Aug 2007 13:52:21 -0500 Subject: How am I supposed to answer a Post??? Message-ID: <46C9E2E5.4090000@crcom.net> How exactly am I supposed to answer on this list? I asked a question this morning, recieved a reply from Eric. I tried to clarify my question and it hasn't shown up on the mail archives. I tried to send it twice. I'm using "RE:" and the original subject of the question. What am I doing wrong? I get the digest version and I'm using the address at the top of the digest emails. Do I HAVE to receive individual emails (most on subjects that don't interest me) in order to engage in a "conversation" on a problem? len morgan From m.schonewille at economy-x-talk.com Mon Aug 20 15:04:02 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 20 Aug 2007 21:04:02 +0200 Subject: How am I supposed to answer a Post??? In-Reply-To: <46C9E2E5.4090000@crcom.net> References: <46C9E2E5.4090000@crcom.net> Message-ID: Hi Len, Press the Reply button, replace "use-revolution Digestt, Vol x, Issue y" with the subject of the thread you are replying to, you may or may not put "Re:" in front of the subjec. Make sure to quote the relevant part of the message you are replying to and make sure to use an e- mail address that has been registered, usually the same one you have used to post your recent questions. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http;//www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 20-aug-2007, om 20:52 heeft Len Morgan het volgende geschreven: > How exactly am I supposed to answer on this list? I asked a > question this morning, recieved a reply from Eric. I tried to > clarify my question and it hasn't shown up on the mail archives. I > tried to send it twice. I'm using "RE:" and the original subject > of the question. What am I doing wrong? > > I get the digest version and I'm using the address at the top of > the digest emails. Do I HAVE to receive individual emails (most on > subjects that don't interest me) in order to engage in a > "conversation" on a problem? > > len morgan From ambassador at fourthworld.com Mon Aug 20 15:07:08 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 20 Aug 2007 12:07:08 -0700 Subject: How am I supposed to answer a Post??? Message-ID: <46C9E65C.5010201@fourthworld.com> Len Morgan wrote: > How exactly am I supposed to answer on this list? I asked a question > this morning, recieved a reply from Eric. I tried to clarify my > question and it hasn't shown up on the mail archives. I tried to send > it twice. I'm using "RE:" and the original subject of the question. > What am I doing wrong? > > I get the digest version and I'm using the address at the top of the > digest emails. Do I HAVE to receive individual emails (most on subjects > that don't interest me) in order to engage in a "conversation" on a problem? I'm on digest mode too. Most of the time I read messages on the web: To reply to a message or send any new message just send your email to . If replying to the digest, it's good form to change the subject line to match the thread you're replying too. For example, if your thread is "My Stack Became Part of Rev IDE!!!", in reply kindly make the subject "Re: My Stack Became Part of Rev IDE!!!". -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From viktoras at ekoinf.net Mon Aug 20 15:41:50 2007 From: viktoras at ekoinf.net (viktoras didziulis) Date: Mon, 20 Aug 2007 22:41:50 +0300 Subject: How am I supposed to answer a Post??? In-Reply-To: <46C9E2E5.4090000@crcom.net> References: <46C9E2E5.4090000@crcom.net> Message-ID: <46C9EE7E.9000300@ekoinf.net> afair there is a size limit for a message, so if it is a large post it may not get through. Also be sure to send it in plain text - no html, attachments whatsoever... Sometimes it just takes time - the "record" delay of one of my messages was approx 1 hour after sending! Viktoras Len Morgan wrote: > How exactly am I supposed to answer on this list? I asked a question > this morning, recieved a reply from Eric. I tried to clarify my > question and it hasn't shown up on the mail archives. I tried to send > it twice. I'm using "RE:" and the original subject of the question. > What am I doing wrong? > > I get the digest version and I'm using the address at the top of the > digest emails. Do I HAVE to receive individual emails (most on > subjects that don't interest me) in order to engage in a > "conversation" on a problem? > > 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 len-morgan at crcom.net Mon Aug 20 16:59:06 2007 From: len-morgan at crcom.net (Len Morgan) Date: Mon, 20 Aug 2007 15:59:06 -0500 Subject: General Error Trapping in a stand-alone Message-ID: <46CA009A.1090906@crcom.net> Is there a way to trap errors in a stand-alone without checking the result on every single operation? I'm finding users being very "creating" in some of their data entry. Since they are running a stand-alone, the system either locks up or in most cases, just appears to go on happily (without updating the database or other such bad things). Is there some handler that is called (even in a stand alone) so I can trap ANY error that pops up? It's possible that there maybe a syntax error somewhere in my code and I just haven't crossed that path in the program yet. I'd like to catch these too so I can fix the program. len morgan From list at dreamscapesoftware.com Mon Aug 20 17:10:23 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Mon, 20 Aug 2007 16:10:23 -0500 Subject: General Error Trapping in a stand-alone In-Reply-To: <46CA009A.1090906@crcom.net> References: <46CA009A.1090906@crcom.net> Message-ID: <46CA033F.4020704@dreamscapesoftware.com> Len, Look up "errorDialogs" in your transcript dictionary. Also, check out the "try" entries in your transcript dictionary. If you don't know where that is, open Revolution. Click the "Help" menu and choose "Documentation". Then click the "Dictionary" button. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com Len Morgan wrote: > Is there a way to trap errors in a stand-alone without checking the > result on every single operation? I'm finding users being very > "creating" in some of their data entry. Since they are running a > stand-alone, the system either locks up or in most cases, just appears > to go on happily (without updating the database or other such bad things). > > Is there some handler that is called (even in a stand alone) so I can > trap ANY error that pops up? It's possible that there maybe a syntax > error somewhere in my code and I just haven't crossed that path in the > program yet. I'd like to catch these too so I can fix the program. > > 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 palcibiades-first at yahoo.co.uk Mon Aug 20 18:32:24 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 20 Aug 2007 23:32:24 +0100 Subject: How am I supposed to answer a Post??? Message-ID: <200708202332.24686.palcibiades-first@yahoo.co.uk> The thing I would love to know is: how do you reply to a post and make it threaded? If you get the digest, and if you do Re: xxxx - as done above, then it appears as a new thread. There must be some way to make your replies appear in the right threads, while replying to posts from the digest or from the web archive, but what is it? Anyone know? They would do us all a favor by making it possible to keep the whole thing threaded. Peter From ambassador at fourthworld.com Mon Aug 20 18:36:10 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 20 Aug 2007 15:36:10 -0700 Subject: How am I supposed to answer a Post??? Message-ID: <46CA175A.3050607@fourthworld.com> Peter Alcibiades wrote: > The thing I would love to know is: how do you reply to a post and make it > threaded? If you get the digest, and if you do Re: xxxx - as done above, > then it appears as a new thread. > > There must be some way to make your replies appear in the right threads, while > replying to posts from the digest or from the web archive, but what is it? > Anyone know? They would do us all a favor by making it possible to keep the > whole thing threaded. There's a lmitation (bug?) in the list archive software which has it relying solely on email message IDs rather than subject line. Given this limitation, the only way to have all replies to a given thread presented at such in the archives would be to require all replying subscribers to subscribe only in Individual Emails mode, rather than Digest mode. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From saxtell at neb.rr.com Mon Aug 20 21:41:38 2007 From: saxtell at neb.rr.com (Steven Axtell) Date: Mon, 20 Aug 2007 20:41:38 -0500 Subject: Hover Icon Problems Message-ID: <001201c7e394$6b6c40b0$b58d544c@axtell> I am having problems getting hover icons to appear on buttons in Windows standalones. I am using Revolution 2.8.1 on Windows computers using Windows 2000 and XP Pro. The hover icons work fine in the development environment. Has anyone else seen this? Thanks, Steven Axtell From toolbook at kestner.de Tue Aug 21 03:32:06 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 21 Aug 2007 09:32:06 +0200 Subject: why can't I create a folder with a variable? Message-ID: <000801c7e3c5$61528950$18b2a8c0@TiemoPC2> Hello, when saying: create folder "C:/Temp/foo" -- it works like expected when saying: put "C:/Temp/foo" into myFolder create folder myFolder -- nothing happens I even tried it with: put "C:/Temp/foo" into myFolder create folder merge(quote & myFolder & quote) -- nothing happens any idea, what I a missing is appreciated Tiemo From toolbook at kestner.de Tue Aug 21 04:14:45 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 21 Aug 2007 10:14:45 +0200 Subject: AW: AW: AW: which field property to set for 'scrolling'? In-Reply-To: <001601c7e33e$9943bfa0$18b2a8c0@TiemoPC2> Message-ID: <000e01c7e3cb$56701240$18b2a8c0@TiemoPC2> Eric, I found out the reason for my problem. It was simple "textalign = right" If this property is set, you can't shift anymore the text within the field with the arrow key Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB > Gesendet: Montag, 20. August 2007 17:27 > An: 'How to use Revolution' > Betreff: AW: AW: AW: which field property to set for 'scrolling'? > > Oh boy! Jumping behind a ghost, you are so right. > I copied the field from somewhere and didn't noticed, that it wasn't quite > standard :( > Thanks a lot > Tiemo > > > -----Urspr?ngliche Nachricht----- > > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > > bounces at lists.runrev.com] Im Auftrag von Eric Chatonet > > Gesendet: Montag, 20. August 2007 16:25 > > An: How to use Revolution > > Betreff: Re: AW: AW: which field property to set for 'scrolling'? > > > > Hi Tiemo, > > > > The behavior you want seems to be usual behavior: arrow keys allow > > navigating in the text and move the text if needed when the text is > > larger than the field. > > Create a new stack, create a new usual field and just set its > > dontWrap to true. > > Then test the behavior in this new stack: if it works as expected, > > compare fields properties ;-) > > > > Le 20 ao?t 07 ? 15:53, Tiemo Hollmann TB a ?crit : > > > > > Hello Eric, > > > as far as I understand your handler, it prevents the user to input any > > > longer text, as the fields width. > > > I want to allow the user as long strings, as he wants. I just want > > > to move > > > the text with my arrow key to the left and to the right to see the > > > ends of > > > my text, which are not displayed in the field after input. Right > > > now, when > > > moving the cursor with the arrow key it bounces at the edge of the > > > field > > > without moving the text. Simple thing, complicated explained... > > > I think it should just be a simple field property. > > > Tiemo > > > > > > > > >> -----Urspr?ngliche Nachricht----- > > >> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > > >> bounces at lists.runrev.com] Im Auftrag von Eric Chatonet > > >> Gesendet: Montag, 20. August 2007 15:36 > > >> An: How to use Revolution > > >> Betreff: Re: AW: which field property to set for 'scrolling'? > > >> > > >> Hello Tiemo, > > >> > > >> I'm very sorry because I modified the code in my email client and of > > >> course made an error: > > >> You should read: > > >> > > >> on keyDown > > >> if the selectedField <> empty then > > >> if AllowInput() then -- > > >> pass keyDown -- > > >> end if > > >> else pass keyDown > > >> end keyDown > > >> > > >> Not that this process will not prevent the user to paste any long > > >> string ;-) > > >> > > >> Le 20 ao?t 07 ? 15:27, Tiemo Hollmann TB a ?crit : > > >> > > >>> Hello Eric, > > >>> I am quite not sure if I expressed myself correct and what your > > >>> handler > > >>> should do. I put the handlers into my card, with no result. But In > > >>> your > > >>> if-else condition there is twice "pass keyDown" - should that be? > > >>> > > >>> My single line field is a input field for a full path, which > > >>> naturally can > > >>> be pretty long - longer as the field is. What I would like to have > > >>> is, that > > >>> the text string in my field moves to the right, when I push the > > >>> arrow key to > > >>> the left (and vice versa) to see the complete string. > > >>> > > >>> Sorry for my cumbersomely explanation :) > > >>> Tiemo > > > > > > > > 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 > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Tue Aug 21 04:50:20 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 21 Aug 2007 10:50:20 +0200 Subject: why can't I create a folder with a variable? In-Reply-To: <000801c7e3c5$61528950$18b2a8c0@TiemoPC2> References: <000801c7e3c5$61528950$18b2a8c0@TiemoPC2> Message-ID: Hi Tiemo, When creating a folder "C:/Temp/foo", it assumes that the folder named Temp does exists yet or nothing will happen: on mouseUp local tFolder ,tResult ----- put "C:/Temp/foo" into tFolder put CreateFolder(tFolder) into tResult -- ----- switch tResult case empty -- all went well break case "can't create that directory" -- error -- statements break case "Folder exists yet." -- just FYI -- statements end switch end mouseUp ------------------------------------------- function CreateFolder pFolderPath if there is no folder pFolderPath then set the itemDelimiter to slash repeat with i = 2 to the number of items of pFolderPath if there is no folder (item 1 to i of pFolderPath) then create folder (item 1 to i of pFolderPath) if the result <> empty then return the result end if end repeat return empty else return "Folder exists yet." end CreateFolder Hope this helps. Note that error handling is always important in any code snippet :-) Le 21 ao?t 07 ? 09:32, Tiemo Hollmann TB a ?crit : > Hello, > > when saying: > create folder "C:/Temp/foo" -- it works like expected > > when saying: > put "C:/Temp/foo" into myFolder > create folder myFolder -- nothing happens > > I even tried it with: > > put "C:/Temp/foo" into myFolder > create folder merge(quote & myFolder & quote) -- nothing happens > any idea, what I a missing is appreciated Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From toolbook at kestner.de Tue Aug 21 04:55:17 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 21 Aug 2007 10:55:17 +0200 Subject: AW: why can't I create a folder with a variable? In-Reply-To: <000801c7e3c5$61528950$18b2a8c0@TiemoPC2> Message-ID: <000f01c7e3d1$07ee0d60$18b2a8c0@TiemoPC2> I found out it's not a problem of having a variable or a constant, but either the depth of path or the number of chars of the folder to be created not in the currentDirectory but"C:/foo/foo/foo". Does anybody know of these restrictions on Win XP? Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB > Gesendet: Dienstag, 21. August 2007 09:32 > An: Revlist > Betreff: why can't I create a folder with a variable? > > Hello, > > when saying: > > create folder "C:/Temp/foo" -- it works like expected > > when saying: > > put "C:/Temp/foo" into myFolder > > create folder myFolder -- nothing happens > > I even tried it with: > > put "C:/Temp/foo" into myFolder > > create folder merge(quote & myFolder & quote) -- nothing happens > > > > any idea, what I a missing is appreciated > > Tiemo > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mark at maseurope.net Tue Aug 21 05:01:58 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 21 Aug 2007 10:01:58 +0100 Subject: AW: why can't I create a folder with a variable? In-Reply-To: <000f01c7e3d1$07ee0d60$18b2a8c0@TiemoPC2> References: <000f01c7e3d1$07ee0d60$18b2a8c0@TiemoPC2> Message-ID: Tiemo, do "C:/foo" and "C:/foo/foo" already exist when you try to create "C:/foo/foo/foo" ? Best, Mark On 21 Aug 2007, at 09:55, Tiemo Hollmann TB wrote: > I found out it's not a problem of having a variable or a constant, but > either the depth of path or the number of chars of the folder to be > created > not in the currentDirectory but"C:/foo/foo/foo". > Does anybody know of these restrictions on Win XP? > Thanks > Tiemo > From toolbook at kestner.de Tue Aug 21 05:28:31 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 21 Aug 2007 11:28:31 +0200 Subject: AW: AW: why can't I create a folder with a variable? In-Reply-To: Message-ID: <001101c7e3d5$a49d2610$18b2a8c0@TiemoPC2> Hi Mark, Thanks for the hint, probably that has been the reason, now I can't reproduce my problem anymore. I didn't knew that. That means, if a user input gives me a full path to create a new folder, I have to check and create recursive the path, level by level, right? Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Mark Smith > Gesendet: Dienstag, 21. August 2007 11:02 > An: How to use Revolution > Betreff: Re: AW: why can't I create a folder with a variable? > > Tiemo, do "C:/foo" and "C:/foo/foo" already exist when you try to > create "C:/foo/foo/foo" ? > > Best, > > Mark > > On 21 Aug 2007, at 09:55, Tiemo Hollmann TB wrote: > > > I found out it's not a problem of having a variable or a constant, but > > either the depth of path or the number of chars of the folder to be > > created > > not in the currentDirectory but"C:/foo/foo/foo". > > Does anybody know of these restrictions on Win XP? > > Thanks > > Tiemo > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revlist at azurevision.co.uk Tue Aug 21 06:08:20 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Tue, 21 Aug 2007 11:08:20 +0100 Subject: AW: AW: why can't I create a folder with a variable? In-Reply-To: <001101c7e3d5$a49d2610$18b2a8c0@TiemoPC2> References: <001101c7e3d5$a49d2610$18b2a8c0@TiemoPC2> Message-ID: <5D3E8F29-FA66-4215-8AA8-2069C3D57B43@azurevision.co.uk> On 21 Aug 2007, at 10:28, Tiemo Hollmann TB wrote: > That means, if a user input gives me a full path to create a new > folder, I > have to check and create recursive the path, level by level, right? Yes. Ian From toolbook at kestner.de Tue Aug 21 06:13:12 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 21 Aug 2007 12:13:12 +0200 Subject: AW: AW: AW: why can't I create a folder with a variable? In-Reply-To: <5D3E8F29-FA66-4215-8AA8-2069C3D57B43@azurevision.co.uk> Message-ID: <001401c7e3db$e34436f0$18b2a8c0@TiemoPC2> Thanks Ian :) 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, 21. August 2007 12:08 > An: How to use Revolution > Betreff: Re: AW: AW: why can't I create a folder with a variable? > > > On 21 Aug 2007, at 10:28, Tiemo Hollmann TB wrote: > > > That means, if a user input gives me a full path to create a new > > folder, I > > have to check and create recursive the path, level by level, right? > > Yes. > > 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 m.schonewille at economy-x-talk.com Tue Aug 21 06:18:11 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 21 Aug 2007 12:18:11 +0200 Subject: Hover Icon Problems In-Reply-To: <001201c7e394$6b6c40b0$b58d544c@axtell> References: <001201c7e394$6b6c40b0$b58d544c@axtell> Message-ID: Hi Steven, Are you sure that the images used for the icons are available in the standalone? Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 21-aug-2007, om 3:41 heeft Steven Axtell het volgende geschreven: > I am having problems getting hover icons to appear on buttons in > Windows standalones. I am using Revolution 2.8.1 on Windows > computers using Windows 2000 and XP Pro. The hover icons work > fine in the development environment. Has anyone else seen this? > > Thanks, > > Steven Axtell From mark at maseurope.net Tue Aug 21 06:38:13 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 21 Aug 2007 11:38:13 +0100 Subject: AW: AW: why can't I create a folder with a variable? In-Reply-To: <001101c7e3d5$a49d2610$18b2a8c0@TiemoPC2> References: <001101c7e3d5$a49d2610$18b2a8c0@TiemoPC2> Message-ID: <76F08EBC-7219-4C97-8723-7C74CCC7B21B@maseurope.net> Exactly. I have a handler in my library: on createPath pPath set the itemDelimiter to "/" repeat with n = 1 to the number of items in pPath if item n of pPath is not empty AND there is no folder (item 1 to n of pPath) then create folder (item 1 to n of pPath) end if end repeat end createPath You may want to add error-checking and so-on, but it works well enough. Best, Mark On 21 Aug 2007, at 10:28, Tiemo Hollmann TB wrote: > Hi Mark, > Thanks for the hint, probably that has been the reason, now I can't > reproduce my problem anymore. I didn't knew that. > That means, if a user input gives me a full path to create a new > folder, I > have to check and create recursive the path, level by level, right? > Thanks > Tiemo From jbv.silences at club-internet.fr Tue Aug 21 07:29:59 2007 From: jbv.silences at club-internet.fr (jbv) Date: Tue, 21 Aug 2007 13:29:59 +0200 Subject: [sightly OT] XMLhttprequest + Rev cgi problem : xml data truncated Message-ID: <46CACCB0.A67A60BD@club-internet.fr> Hi folks, I'm trying to work with XMLhttprequest and Rev cgi and am encountering a problem : the response from the cgi script is truncated on the browser client side when its length > 50 Kb... I know that my code is 100% correct (both on server and client sides) since everything works fine as long as the xml code generated by the cgi < 50 Kb... What I'm trying to do is to generate a complex TABLE object from elements of a DB with the cgi and put it inside a DIV in my webpage. Again this works when the size of data downloaded < 50 Kb. I'm using a POST request with XMLhttprequest, but the truncation happens only in the output, so it has nothing to do with any limitation of the POST parameters (besides I've check my cgi scrpt and all request data are received OK). I've also tried to set Content-Length to the size of my data in the cgi script, but to no effect : the xml data is still truncated and I get an error message about missing tags. Hours of google searches brought several posts on various forums by ppl who seemed to face the same problem and asked about it, but none seemed able to give an adequate answer... Some ppl mention that problems appear only with FF which seems to chop every string longer than 4Kb in successive childnodes of 4 Kb... But my problem appears with FF and IE as well... And of course I haven't found this problem documented anywhere in FF or IE docs... So, if anyone on this list has already worked with XMLhttprequest and large amount of xml data, please let me know if you encountered the same problem and how you solved it... Thanks in advance, JB From saxtell at neb.rr.com Tue Aug 21 07:40:58 2007 From: saxtell at neb.rr.com (Steven Axtell) Date: Tue, 21 Aug 2007 06:40:58 -0500 Subject: Hover Icon Problems References: <001201c7e394$6b6c40b0$b58d544c@axtell> Message-ID: <002401c7e3e8$2605a350$b58d544c@axtell> Mark, I think the images are available. The regular icon and the hilite icon options work okay. I haven't tried the disable, visited or armed icon options. How do I check to see if the images are available in the standalone? Thanks, Steve ----- Original Message ----- From: "Mark Schonewille" To: "How to use Revolution" Sent: Tuesday, August 21, 2007 5:18 AM Subject: Re: Hover Icon Problems > Hi Steven, > > Are you sure that the images used for the icons are available in the > standalone? > > Best regards, > > Mark Schonewille > > -- > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.com From toolbook at kestner.de Tue Aug 21 07:46:10 2007 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 21 Aug 2007 13:46:10 +0200 Subject: AW: AW: AW: why can't I create a folder with a variable? In-Reply-To: <76F08EBC-7219-4C97-8723-7C74CCC7B21B@maseurope.net> Message-ID: <001501c7e3e8$df6ae170$18b2a8c0@TiemoPC2> Great, thank you Mark Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Mark Smith > Gesendet: Dienstag, 21. August 2007 12:38 > An: How to use Revolution > Betreff: Re: AW: AW: why can't I create a folder with a variable? > > Exactly. I have a handler in my library: > > on createPath pPath > set the itemDelimiter to "/" > repeat with n = 1 to the number of items in pPath > if item n of pPath is not empty AND there is no folder (item 1 > to n of pPath) then > create folder (item 1 to n of pPath) > end if > end repeat > end createPath > > You may want to add error-checking and so-on, but it works well enough. > > Best, > > Mark > > On 21 Aug 2007, at 10:28, Tiemo Hollmann TB wrote: > > > Hi Mark, > > Thanks for the hint, probably that has been the reason, now I can't > > reproduce my problem anymore. I didn't knew that. > > That means, if a user input gives me a full path to create a new > > folder, I > > have to check and create recursive the path, level by level, right? > > Thanks > > Tiemo > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Tue Aug 21 08:05:26 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 21 Aug 2007 14:05:26 +0200 Subject: Hover Icon Problems In-Reply-To: <002401c7e3e8$2605a350$b58d544c@axtell> References: <001201c7e394$6b6c40b0$b58d544c@axtell> <002401c7e3e8$2605a350$b58d544c@axtell> Message-ID: Steven, They are available if they are actually in the stack. They have to be somewhere on a card in your stack, so you should be able to see them if their visible property is true. To be absolutely sure, add a button to the card which contains the buttons that don't respond to hovering. Give the button the following script: on mouseUp answer (there is an image ) end mouseUp and press the button after making a standalone of your stack. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 21-aug-2007, om 13:40 heeft Steven Axtell het volgende geschreven: > Mark, > > I think the images are available. The regular icon and the hilite > icon > options work okay. I haven't tried the disable, visited or armed icon > options. How do I check to see if the images are available in the > standalone? > > Thanks, > > Steve From ambassador at fourthworld.com Tue Aug 21 09:53:09 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 21 Aug 2007 06:53:09 -0700 Subject: AW: AW: why can't I create a folder with a variable? Message-ID: <46CAEE45.5070500@fourthworld.com> Tiemo wrote: > Thanks for the hint, probably that has been the reason, now I can't > reproduce my problem anymore. I didn't knew that. > That means, if a user input gives me a full path to create a new folder, I > have to check and create recursive the path, level by level, right? Yes, and coincidentally that's the subject of the most recent addition to the Handy Handlers column at revJournal, added just last week: -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From jimaultwins at yahoo.com Tue Aug 21 10:13:54 2007 From: jimaultwins at yahoo.com (Jim Ault) Date: Tue, 21 Aug 2007 07:13:54 -0700 (PDT) Subject: Standalone + openstack In-Reply-To: <46CAEE45.5070500@fourthworld.com> Message-ID: <546142.27282.qm@web54002.mail.re2.yahoo.com> Does this work? Compile an exe for an XP machine that does not have Rev installed. put a Rev stack on the hard drive launch the exe Use a button that says 'open stack myStack.rev' --> the stack opens in the exe space I can't test this since my XP machine has Rev installed. My guess is 'No', but wanted to make sure before a client meeting occurs today. It does not make sense to me that this would work, but the client asked.. so.. hmmm... (StackRunner would not be on the machine either) From martinblackman at gmail.com Tue Aug 21 10:32:21 2007 From: martinblackman at gmail.com (Martin Blackman) Date: Tue, 21 Aug 2007 22:32:21 +0800 Subject: Standalone + openstack In-Reply-To: <546142.27282.qm@web54002.mail.re2.yahoo.com> References: <46CAEE45.5070500@fourthworld.com> <546142.27282.qm@web54002.mail.re2.yahoo.com> Message-ID: <79d1bee70708210732m1f35f9bfq2dea23bad838724a@mail.gmail.com> Isn't that what we do all the time with preference stacks etc.? On 21/08/07, Jim Ault wrote: > > Does this work? > Compile an exe for an XP machine that does not have > Rev installed. > put a Rev stack on the hard drive > launch the exe > Use a button that says 'open stack myStack.rev' > --> the stack opens in the exe space > > I can't test this since my XP machine has Rev > installed. > My guess is 'No', but wanted to make sure before a > client meeting occurs today. > It does not make sense to me that this would work, but > the client asked.. so.. hmmm... > (StackRunner would not be on the machine either) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From m.schonewille at economy-x-talk.com Tue Aug 21 10:34:58 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 21 Aug 2007 16:34:58 +0200 Subject: Standalone + openstack In-Reply-To: <546142.27282.qm@web54002.mail.re2.yahoo.com> References: <546142.27282.qm@web54002.mail.re2.yahoo.com> Message-ID: <41EF41B4-BAC3-478F-9DA9-CA729C2FD7AB@economy-x-talk.com> Jim, This would be the typical splash-stack approach. Yes, it works. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 21-aug-2007, om 16:13 heeft Jim Ault het volgende geschreven: > Does this work? > Compile an exe for an XP machine that does not have > Rev installed. > put a Rev stack on the hard drive > launch the exe > Use a button that says 'open stack myStack.rev' > --> the stack opens in the exe space > From mark at maseurope.net Tue Aug 21 10:40:09 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 21 Aug 2007 15:40:09 +0100 Subject: Standalone + openstack In-Reply-To: <546142.27282.qm@web54002.mail.re2.yahoo.com> References: <546142.27282.qm@web54002.mail.re2.yahoo.com> Message-ID: A Rev app can open and use any stack file, as far as I know. I do this a lot, particularly in testing. I'll build a simple one- stack standalone that simply opens the (separate) main logic stack, usually sending it an 'initApp" command to get it running. That way I can then edit the main stack in the IDE and then set the app off again to test my changes - so I don't have to continually build standalones to see how things work outside of the IDE. Best, Mark On 21 Aug 2007, at 15:13, Jim Ault wrote: > Does this work? > Compile an exe for an XP machine that does not have > Rev installed. > put a Rev stack on the hard drive > launch the exe > Use a button that says 'open stack myStack.rev' > --> the stack opens in the exe space > > I can't test this since my XP machine has Rev > installed. > My guess is 'No', but wanted to make sure before a > client meeting occurs today. > It does not make sense to me that this would work, but > the client asked.. so.. hmmm... > (StackRunner would not be on the machine either) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From pevensen at siboneylg.com Tue Aug 21 10:52:22 2007 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 21 Aug 2007 09:52:22 -0500 Subject: AW: why can't I create a folder with a variable? In-Reply-To: <000f01c7e3d1$07ee0d60$18b2a8c0@TiemoPC2> References: <000f01c7e3d1$07ee0d60$18b2a8c0@TiemoPC2> Message-ID: <46CAFC26.4030503@siboneylg.com> Authorware on Windows has the same problem--it can only create one level at a time. I always thought it was an Authorware issue, but maybe it's a Windows issue. Tiemo Hollmann TB wrote: > I found out it's not a problem of having a variable or a constant, but > either the depth of path or the number of chars of the folder to be created > not in the currentDirectory but"C:/foo/foo/foo". > Does anybody know of these restrictions on Win XP? > Thanks > Tiemo > > >> -----Urspr?ngliche Nachricht----- >> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- >> bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB >> Gesendet: Dienstag, 21. August 2007 09:32 >> An: Revlist >> Betreff: why can't I create a folder with a variable? >> >> Hello, >> >> when saying: >> >> create folder "C:/Temp/foo" -- it works like expected >> >> when saying: >> >> put "C:/Temp/foo" into myFolder >> >> create folder myFolder -- nothing happens >> >> I even tried it with: >> >> put "C:/Temp/foo" into myFolder >> >> create folder merge(quote & myFolder & quote) -- nothing happens >> >> >> >> any idea, what I a missing is appreciated >> >> Tiemo >> >> >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Peter T. Evensen Juice Plus+ Independent Distributor 314-629-5248 or 888-628-4588 http://www.PetersRoadToHealth.com From mark at maseurope.net Tue Aug 21 10:57:33 2007 From: mark at maseurope.net (Mark Smith) Date: Tue, 21 Aug 2007 15:57:33 +0100 Subject: AW: why can't I create a folder with a variable? In-Reply-To: <46CAFC26.4030503@siboneylg.com> References: <000f01c7e3d1$07ee0d60$18b2a8c0@TiemoPC2> <46CAFC26.4030503@siboneylg.com> Message-ID: <5D83A396-004B-4564-90BD-BB2A0CE715DD@maseurope.net> It's the same on macs, but the solution is not hard, check out Richard Gaskin's handler: Best, Mark On 21 Aug 2007, at 15:52, Peter T. Evensen wrote: > Authorware on Windows has the same problem--it can only create one > level at a time. I always thought it was an Authorware issue, but > maybe it's a Windows issue. From gregory.lypny at videotron.ca Tue Aug 21 12:38:21 2007 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 21 Aug 2007 12:38:21 -0400 Subject: A Small Speed Observation on Custom Properties Message-ID: <2CF4AF3B-74E6-48DF-8F69-706FF5559139@videotron.ca> Hello Everyone, I've only just begun using custom properties, and this may be old news to many of you but just in case I thought I'd pass it along. I created a bunch of custom properties for a field called Data. These properties are integers that identify the column or item location in a line where a particular piece of information is stored; for example, the colStudentName of fld "Data" = 3 tells me that the student's name is always the third item. If you have to process many lines in such a field in a repeat loop, it will go much faster if you put the values of the custom properties into variables outside the loop and use the variables in the loop rather than calling the custom properties themselves within the loop. The second part of the handler below runs about ten times faster than the first for a field with 100 lines. And the speed is not affected by the fact that I initialized the variables using "add" instead of "put". Regards, Gregory on mouseUp -- Retrieve the custom property in each pass of the repeat loop put the long seconds into theStartTime get fld "Data" repeat for each line thisLine in it put item (the colStudentName of fld "Data") of thisLine && \ item (the colTime of fld "Data") of thisLine && \ item (the colGrade of fld "Data") of thisLine & return after x end repeat put "Time with custom prop:" && the long seconds - theStartTime put empty into x -- Compare by saving the custom properties to variables put the long seconds into theStartTime get fld "Data" add the colStudentName of fld "Data" into n add the colTime of fld "Data" into t add the colGrade of fld "Data" into g repeat for each line thisLine in it put item n of thisLine && \ item t of thisLine && \ item g of thisLine & return after x end repeat put return & "Time with variable:" && the long seconds - theStartTime after msg end mouseUp From josh at dvcreators.net Tue Aug 21 13:51:18 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 21 Aug 2007 10:51:18 -0700 Subject: Hover Icon Problems In-Reply-To: <001201c7e394$6b6c40b0$b58d544c@axtell> References: <001201c7e394$6b6c40b0$b58d544c@axtell> Message-ID: Just FYI, hoverIcon has a fatal bug: It reset icons to the normal "Icon" on mouseLeave, but alas, it does not reset changed buttons upon leaving the card. So, if you click a button that takes you to a different card, and your mouse is moving, whatever icons you are switching will stay "stuck" showing the hoverIcon. Upon returning to the card with the buttons, it looks strange indeed! With some buttons showing over states. I suggest writing manual handlers and not using hoverIcon: ON mouseEnter IF the uRollOver of the target is true THEN set the defaultcursor to hand set the icon of the target to the uOverIcon of the target END IF END mouseEnter ON mouseLeave set the defaultcursor to arrow IF the uRollover of the target is true THEN set the icon of the target to the uOriginalIcon of the target END IF END mouseLeave On Aug 20, 2007, at 6:41 PM, Steven Axtell wrote: > I am having problems getting hover icons to appear on buttons in > Windows standalones. I am using Revolution 2.8.1 on Windows > computers using Windows 2000 and XP Pro. The hover icons work > fine in the development environment. Has anyone else seen this? > > Thanks, > > Steven Axtell > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Aug 21 13:58:31 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 21 Aug 2007 10:58:31 -0700 Subject: A Small Speed Observation on Custom Properties In-Reply-To: <2CF4AF3B-74E6-48DF-8F69-706FF5559139@videotron.ca> References: <2CF4AF3B-74E6-48DF-8F69-706FF5559139@videotron.ca> Message-ID: <8ABFD435-AFAB-412A-BDA1-287B6E6924EF@dvcreators.net> Another way to find data based on column is to make the first row a "header row", containing the names of the columns. Then, you just write a handler to get the column number regardless of whether you've added or rearranged columns: FUNCTION colNum pColumnHeader set the itemdelimiter to tab put line 1 of fld "data" into tHeaders return itemOffset(pColumnHeader, tHeaders) END colNum On Aug 21, 2007, at 9:38 AM, Gregory Lypny wrote: > Hello Everyone, > > I've only just begun using custom properties, and this may be old > news to many of you but just in case I thought I'd pass it along. > I created a bunch of custom properties for a field called Data. > These properties are integers that identify the column or item > location in a line where a particular piece of information is > stored; for example, the colStudentName of fld "Data" = 3 tells me > that the student's name is always the third item. > > If you have to process many lines in such a field in a repeat loop, > it will go much faster if you put the values of the custom > properties into variables outside the loop and use the variables in > the loop rather than calling the custom properties themselves > within the loop. > > The second part of the handler below runs about ten times faster > than the first for a field with 100 lines. And the speed is not > affected by the fact that I initialized the variables using "add" > instead of "put". > > Regards, > > Gregory > > > on mouseUp > > -- Retrieve the custom property in each pass of the repeat loop > put the long seconds into theStartTime > get fld "Data" > repeat for each line thisLine in it > put item (the colStudentName of fld "Data") of thisLine && \ > item (the colTime of fld "Data") of thisLine && \ > item (the colGrade of fld "Data") of thisLine & return after x > end repeat > put "Time with custom prop:" && the long seconds - theStartTime > > put empty into x > > -- Compare by saving the custom properties to variables > put the long seconds into theStartTime > get fld "Data" > add the colStudentName of fld "Data" into n > add the colTime of fld "Data" into t > add the colGrade of fld "Data" into g > repeat for each line thisLine in it > put item n of thisLine && \ > item t of thisLine && \ > item g of thisLine & return after x > end repeat > put return & "Time with variable:" && the long seconds - > theStartTime after msg > > end mouseUp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mikeythek at gmail.com Tue Aug 21 16:46:06 2007 From: mikeythek at gmail.com (Mikey) Date: Tue, 21 Aug 2007 16:46:06 -0400 Subject: A Small Speed Observation on Custom Properties In-Reply-To: <8ABFD435-AFAB-412A-BDA1-287B6E6924EF@dvcreators.net> References: <2CF4AF3B-74E6-48DF-8F69-706FF5559139@videotron.ca> <8ABFD435-AFAB-412A-BDA1-287B6E6924EF@dvcreators.net> Message-ID: <9b408d8e0708211346h5af1a523oba32d448ae1c5834@mail.gmail.com> If you guys are interested, I wrote code to build splitters for table fields, and I'm interested to hear what other people might think about it, and how to improve it. The code a) sets the tabstops so that the column widths adjust to the size of the data b) allows dragging of column lines to resize them. From gregory.lypny at videotron.ca Tue Aug 21 17:24:48 2007 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 21 Aug 2007 17:24:48 -0400 Subject: Instances Returned by LineOffset Message-ID: <49B77D81-5FF5-43CC-8E71-595A8A4B9F56@videotron.ca> Hello everyone Just want to confirm that lineOffset returns only the first instance of a match starting from line 1. Regards, Gregory From sarah.reichelt at gmail.com Tue Aug 21 18:07:04 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 22 Aug 2007 08:07:04 +1000 Subject: Instances Returned by LineOffset In-Reply-To: <49B77D81-5FF5-43CC-8E71-595A8A4B9F56@videotron.ca> References: <49B77D81-5FF5-43CC-8E71-595A8A4B9F56@videotron.ca> Message-ID: > Just want to confirm that lineOffset returns only the first instance > of a match starting from line 1. Yes, it returns only one matching line. However you can use the optional third parameter to tell the function where to start looking. e.g. lineOffset("blah", myData) -- returns the number of the first line containing "blah" lineOffset("blah", myData, 5) -- returns the number of the first line containing "blah" after line 5. You then have to add the 5 back to the result in order to get the actual line number. Cheers, Sarah From saxtell at neb.rr.com Tue Aug 21 19:45:34 2007 From: saxtell at neb.rr.com (Steven Axtell) Date: Tue, 21 Aug 2007 18:45:34 -0500 Subject: Hover Icon Problems References: <001201c7e394$6b6c40b0$b58d544c@axtell> <002401c7e3e8$2605a350$b58d544c@axtell> Message-ID: <000a01c7e44d$60257230$b58d544c@axtell> Mark, That was my problem. Thanks for the help. Steven Axtell ----- Original Message ----- From: "Mark Schonewille" To: "How to use Revolution" Sent: Tuesday, August 21, 2007 7:05 AM Subject: Re: Hover Icon Problems > Steven, > > They are available if they are actually in the stack. They have to be > somewhere on a card in your stack, so you should be able to see them > if their visible property is true. > > To be absolutely sure, add a button to the card which contains the > buttons that don't respond to hovering. Give the button the following > script: > > on mouseUp > answer (there is an image ) > end mouseUp > > and press the button after making a standalone of your stack. > > Best regards, > > Mark Schonewille > > -- > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.com > From wow at together.net Wed Aug 22 07:51:26 2007 From: wow at together.net (Richard Miller) Date: Wed, 22 Aug 2007 07:51:26 -0400 Subject: Windows firewall issues and Rev In-Reply-To: <20070818191729245582.286bc01d@sonsothunder.com> References: <1e91b2b70708180155o2cc46f30l547d8f9c675884a@mail.gmail.com> <8C661753-45D8-4DCC-A451-815DD60DC132@together.net> <20070818191729245582.286bc01d@sonsothunder.com> Message-ID: <313EEB87-BD49-4C7C-B0B5-D180D44BF2B5@together.net> Still trying to get a handle on this problem. I've not been able to recreate it on my test computer. Only occurs on a computer of someone else testing our program. The startup code we are using simply looks at directories on, and retrieves a few small files from, our remote server during the startup process. Everything is done using the "put url xxx into yyy" form. Why would this possibly be blocked by Windows Firewall? Turning off the firewall on this other computer allows the startup process to work fine. Turning it on blocks our program from starting up. I went so far as to add the name of our standalone app to the "exception" list in Windows Firewall on this other computer, but if the firewall is left on, the code is still blocked. Is there a way to detect a problem like this during program startup so that we could at least warn the customer of the issue? I wish it was as simple as trying to pull a small data file from the server and then checking whether or not that process was successful, but the program simply hangs during the "put url..." process. It goes no further unless the firewall is turned off. Thanks. Richard Miller On Aug 18, 2007, at 8:17 PM, Ken Ray wrote: > On Sat, 18 Aug 2007 09:38:34 -0400, Richard Miller wrote: > >> 1. What would I need to do in Rev to cause the Firewall to kick >> into action? > > One thing that would probably cause it would be to open a TCP (also > maybe UDP?) socket to another program... > > > 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 mfstuart at cox.net Wed Aug 22 12:42:20 2007 From: mfstuart at cox.net (mfstuart) Date: Wed, 22 Aug 2007 09:42:20 -0700 (PDT) Subject: How am I supposed to answer a Post??? In-Reply-To: <46C9E2E5.4090000@crcom.net> References: <46C9E2E5.4090000@crcom.net> Message-ID: <12278175.post@talk.nabble.com> How exactly am I supposed to answer on this list? Guys, check out Nabble forums. Just register with them and use the following link. This site keeps the topic thread and it's easy to reply directly to the group (which I'm doing) or to the author of the message: http://www.nabble.com/Revolution---User-f2297.html Nabble supports all types of user forums, and somehow reads the Revolution users forum. :0 Mark -- View this message in context: http://www.nabble.com/How-am-I-supposed-to-answer-a-Post----tf4300818.html#a12278175 Sent from the Revolution - User mailing list archive at Nabble.com. From mdswindell at cruzio.com Wed Aug 22 13:55:59 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Wed, 22 Aug 2007 10:55:59 -0700 (PDT) Subject: How am I supposed to answer a Post??? In-Reply-To: <12278175.post@talk.nabble.com> References: <46C9E2E5.4090000@crcom.net> <12278175.post@talk.nabble.com> Message-ID: <12279787.post@talk.nabble.com> This is at first glance much cleaner and easier to navigate and use than is g-mane. This reply is coming from Nabble as a test. Thanks. Mark Len Morgan wrote: > > How exactly am I supposed to answer on this list? > > Guys, check out Nabble forums. Just register with them and use the > following link. > This site keeps the topic thread and it's easy to reply directly to the > group (which I'm doing) or to the author of the message: > > http://www.nabble.com/Revolution---User-f2297.html > > Nabble supports all types of user forums, and somehow reads the Revolution > users forum. > > :0 > Mark > -- View this message in context: http://www.nabble.com/How-am-I-supposed-to-answer-a-Post----tf4300818.html#a12279787 Sent from the Revolution - User mailing list archive at Nabble.com. From mdswindell at cruzio.com Wed Aug 22 13:58:22 2007 From: mdswindell at cruzio.com (Mark Swindell) Date: Wed, 22 Aug 2007 10:58:22 -0700 Subject: How am I supposed to answer a Post??? In-Reply-To: <12279787.post@talk.nabble.com> References: <46C9E2E5.4090000@crcom.net> <12278175.post@talk.nabble.com> <12279787.post@talk.nabble.com> Message-ID: <1B0A7C50-F743-4E00-8AD3-1BA47742E67D@cruzio.com> The post from Nabble showed up instantly in my mailbox, so that is good. This is coming from my email, to see how quickly Nabble sees it. Mark On Aug 22, 2007, at 10:55 AM, Mark Swindell wrote: > > This is at first glance much cleaner and easier to navigate and use > than is > g-mane. This reply is coming from Nabble as a test. > Thanks. > Mark > > > > > Len Morgan wrote: >> >> How exactly am I supposed to answer on this list? >> >> Guys, check out Nabble forums. Just register with them and use the >> following link. >> This site keeps the topic thread and it's easy to reply directly >> to the >> group (which I'm doing) or to the author of the message: >> >> http://www.nabble.com/Revolution---User-f2297.html >> >> Nabble supports all types of user forums, and somehow reads the >> Revolution >> users forum. >> >> :0 >> Mark >> > > -- > View this message in context: http://www.nabble.com/How-am-I- > supposed-to-answer-a-Post----tf4300818.html#a12279787 > 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 > The future ain't what it used to be. - Yogi Berra From gregory.lypny at videotron.ca Wed Aug 22 14:56:51 2007 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 22 Aug 2007 14:56:51 -0400 Subject: Simulating a Click in a List Field Message-ID: <66534FA6-1272-4267-8846-579887BB6EEF@videotron.ca> Hello everyone, I've got a list field with a mouseUp handler in it that takes me to different cards based on information in the line clicked. How can I simulate clicking the first line? The best (sadly) that I could come up with that works is this. click at the topleft of fld "My List Field" I also tried select line 1 of fld "My List Field" send mouseUp to fld "My List Field" but the selectedLine function in the mouseUp handler returns empty for some reason. Is there a more obvious way than my clicking at the topleft? Regards, Gregory From klaus at major-k.de Wed Aug 22 15:01:35 2007 From: klaus at major-k.de (Klaus Major) Date: Wed, 22 Aug 2007 21:01:35 +0200 Subject: Simulating a Click in a List Field In-Reply-To: <66534FA6-1272-4267-8846-579887BB6EEF@videotron.ca> References: <66534FA6-1272-4267-8846-579887BB6EEF@videotron.ca> Message-ID: Hi Gregory, > Hello everyone, > > I've got a list field with a mouseUp handler in it that takes me to > different cards based on information in the line clicked. How can > I simulate clicking the first line? The best (sadly) that I could > come up with that works is this. > > click at the topleft of fld "My List Field" > > I also tried > > select line 1 of fld "My List Field" > send mouseUp to fld "My List Field" > > but the selectedLine function in the mouseUp handler returns empty > for some reason. > > Is there a more obvious way than my clicking at the topleft? try this, has always worked for me: set the hilitedlines of fld "My List Field" to 1 send "mouseUp" to fld "My List Field" > Regards, > > Gregory Best Klaus Major klaus at major-k.de http://www.major-k.de From paulgabel at comcast.net Wed Aug 22 15:11:06 2007 From: paulgabel at comcast.net (Paul Gabel) Date: Wed, 22 Aug 2007 12:11:06 -0700 Subject: white windows/stacks? Message-ID: Hi everybody: Do any of you know all of the reasons (or as many as you can think of) why opening a stack by script could cause it to show white and blank? This happens to me sometimes. In the Rev Window menu, the blank window is checked, and when I manually item-select it the blank window returns to normal. This will happen repeatedly with the same window. Is it a memory issue? Thanks for any contributions. Paul Gabel Scotts Valley, California, USA From scott at tactilemedia.com Wed Aug 22 15:34:40 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 22 Aug 2007 12:34:40 -0700 Subject: white windows/stacks? In-Reply-To: Message-ID: Recently, Paul Gabel wrote: > Do any of you know all of the reasons (or as many as you can think > of) why opening a stack by script could cause it to show white and > blank? This happens to me sometimes. In the Rev Window menu, the > blank window is checked, and when I manually item-select it the blank > window returns to normal. This will happen repeatedly with the same > window. Is it a memory issue? Is this a stack you created? I've seen this on occasion -- sometimes it's caused by a script failure during an event that takes place during a locked screen. You might try stepping through your script, commenting out key events one by one, until you find the culprit. Other folks may have additional suggestions. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From jbv.silences at club-internet.fr Wed Aug 22 15:39:27 2007 From: jbv.silences at club-internet.fr (jbv) Date: Wed, 22 Aug 2007 21:39:27 +0200 Subject: Rev cgi, PHP & XML Message-ID: <46CC90D5.3B562B87@club-internet.fr> Hi folks, It's me again with another weird question... this time for php experts... I have a Rev cgi script that returns some xml data to a client browser. In order to speed up downloading, I'm trying to compress the data using gzip via some php functions (such as gzencode or gzcompress). I had to use that technique because Rev compress() function doesn't output code suitable for browsers... Anyway, here's my code : - in Rev cgi script get shell("/usr/local/bin/php /home/httpd/html/cgi-bin/gzcompress.php " & myXMLdata) - in php This works fine for any non-XML data. As soon as I try to pass XML data to the php script, I get this error : /bin/sh: line 1: syntax error near unexpected token `<' Could someone be kind enough to tell me what I'm doing wrong ? Is there any specific gzlib function for xml data ? I haven't found anything like that in php doc... Any help greatly apreciated. Thanks in advance, JB From m.schonewille at economy-x-talk.com Wed Aug 22 15:48:35 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 22 Aug 2007 21:48:35 +0200 Subject: white windows/stacks? In-Reply-To: References: Message-ID: <798A8464-A14B-4755-91E4-B0283994F466@economy-x-talk.com> Hi Paul, It is no memory issue. Revolution just happens to forget to (re)draw the window. One of the scenarios that may cause this is: -- mainstack on preOpenStack lock screen lock messages go invisible stack x -- set rect of stack x e.g. -- then show stack show stack x --substack end preOpenStack It doesn't happen all the time, but script similar to the above may cause a white screen. Apparently, Rev doesn't get the time to update the window. To solve this issue, usually I try something like this: -- mainstack on preOpenStack send "showMe" to stack x in 0 millisecs end preOpenStack -- substack on showMe go invisible cd 1 of me set the bottomright of me to -100,-100 -- set rect of me -- then show me set the loc of me to the screenloc end showMe I hope you get the idea. I don't have a specific recipe but usually try something along these lines. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 22-aug-2007, om 21:11 heeft Paul Gabel het volgende geschreven: > Hi everybody: > > Do any of you know all of the reasons (or as many as you can think > of) why opening a stack by script could cause it to show white and > blank? This happens to me sometimes. In the Rev Window menu, the > blank window is checked, and when I manually item-select it the > blank window returns to normal. This will happen repeatedly with > the same window. Is it a memory issue? > > Thanks for any contributions. > > Paul Gabel > Scotts Valley, California, USA From slylabs13 at mac.com Wed Aug 22 15:50:33 2007 From: slylabs13 at mac.com (Robert Sneidar) Date: Wed, 22 Aug 2007 12:50:33 -0700 Subject: (no subject) Message-ID: <0D6A9C1C-E48F-44D9-AA6F-662FBF52F95F@mac.com> Hi All. I am having an issue that I know was addressed in a previous post but I cannot seem to find it. I have established some functions to work with mySQL databases, and all is working fine except that whenever I build an SQL statement with values that include commas, carriage returns and the like, it hoses the sql statement. Isn't there a way of delimiting reserved characters in an sql statement? Something like preceding them with a backslash? Bob Sneidar IT Manager Logos Management Calvary Chapel CM From shoreagent at gmail.com Wed Aug 22 16:33:09 2007 From: shoreagent at gmail.com (BILL HUMPHREY) Date: Wed, 22 Aug 2007 13:33:09 -0700 (PDT) Subject: How am I supposed to answer a Post??? In-Reply-To: References: <46C9E2E5.4090000@crcom.net> Message-ID: <12282396.post@talk.nabble.com> I am in nabble for the first time and it is even better than gmail for observing threads and this is my first test reply. -- View this message in context: http://www.nabble.com/How-am-I-supposed-to-answer-a-Post----tf4300818.html#a12282396 Sent from the Revolution - User mailing list archive at Nabble.com. From shoreagent at gmail.com Wed Aug 22 16:42:35 2007 From: shoreagent at gmail.com (BILL HUMPHREY) Date: Wed, 22 Aug 2007 13:42:35 -0700 (PDT) Subject: google calendar API In-Reply-To: <459b22a90706050812u4ccb4c40peb0359f222fb0b18@mail.gmail.com> References: <459b22a90706050812u4ccb4c40peb0359f222fb0b18@mail.gmail.com> Message-ID: <12282560.post@talk.nabble.com> Does anyone know how to post to a google calendar using RunRev on Mac OS X instead of Win XP? _____ Thanks a lot, Mark! Using curl does the trick. However, I would appreciate if this worked without an external shell command. BTW, I have Rev 2.8.0 studio and the docs lack a hint to the missing HTTPS implementation as far as I can see. If anyone knows an easy way to do this with sockets (and maybe openSSL?), please let me know. Now, here is the working code (Win XP) to add an event to your GoogleCalendar: (You'll need * A form, a button, 3 fields named "Output", "HEADER", "newentry" in Revolution. * Install curl, http://curl.haxx.se/download.html try the "7.16.0 WIN32" version, if necessary edit curlPATH. * Paste an XML-formatted event into field "newevent" according to the format specified at: http://code.google.com/apis/gdata/elements.html . Try this Exampel first: http://code.google.com/apis/calendar/gdata.html#add_event -- View this message in context: http://www.nabble.com/google-calendar-API-tf3872376.html#a12282560 Sent from the Revolution - User mailing list archive at Nabble.com. From kray at sonsothunder.com Wed Aug 22 17:36:14 2007 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 22 Aug 2007 16:36:14 -0500 Subject: (no subject) In-Reply-To: <0D6A9C1C-E48F-44D9-AA6F-662FBF52F95F@mac.com> References: <0D6A9C1C-E48F-44D9-AA6F-662FBF52F95F@mac.com> Message-ID: <20070822163614367478.ec2b93ee@sonsothunder.com> On Wed, 22 Aug 2007 12:50:33 -0700, Robert Sneidar wrote: > Hi All. > > I am having an issue that I know was addressed in a previous post but > I cannot seem to find it. I have established some functions to work > with mySQL databases, and all is working fine except that whenever I > build an SQL statement with values that include commas, carriage > returns and the like, it hoses the sql statement. Isn't there a way > of delimiting reserved characters in an sql statement? Something like > preceding them with a backslash? Yes, but only for certain chars that would cause problems in queries like a single quote. If you have carriage returns, you'll have to replace the CRs with some other character for storage, and then convert them back when you retrieve the data. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From Camm29 at tesco.net Wed Aug 22 17:40:58 2007 From: Camm29 at tesco.net (Camm29) Date: Wed, 22 Aug 2007 22:40:58 +0100 Subject: Number of Com Ports References: <000a01c7cef5$1dbddd00$0a01a8c0@workshop> <325413300707251301w6df6729ew56dc3de5d41d26eb@mail.gmail.com> Message-ID: <000601c7e505$2b12ad70$0a01a8c0@workshop> Does anybody else know how to get this resolved ???? The RunRev team seem to go deaf when the subject is real world interfacing !! Regards Camm ----- Original Message ----- From: "Neal Campbell" To: "How to use Revolution" Sent: Wednesday, July 25, 2007 9:01 PM Subject: Re: Number of Com Ports > I certainly need that limit removed. I write communications related software > and many of the PCs have lots of virtual com ports as well as physical ones. > I also find it incredibly annoying (as a consumer) when software is limited > to 9. > > Neal (k3nc, amateur radio operator)! > > On 7/25/07, Camm29 wrote: > > > > Would I be correct in saying the only Com Ports available via Rev is 1 to > > 9 ? > > > > It's not enough these days for applications , 1 to 16 would be better. > > > > I have raised it as an improvement with RunRev , but no interest from them > > as usual ! > > > > Any simple get arounds ? > > > > Thanks in advance > > Camm > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.472 / Virus Database: 269.10.14/912 - Release Date: 22/07/2007 19:02 > From revlist at azurevision.co.uk Wed Aug 22 18:17:30 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 22 Aug 2007 23:17:30 +0100 Subject: Number of Com Ports In-Reply-To: <000601c7e505$2b12ad70$0a01a8c0@workshop> References: <000a01c7cef5$1dbddd00$0a01a8c0@workshop> <325413300707251301w6df6729ew56dc3de5d41d26eb@mail.gmail.com> <000601c7e505$2b12ad70$0a01a8c0@workshop> Message-ID: On 22 Aug 2007, at 22:40, Camm29 wrote: > Does anybody else know how to get this resolved ???? > > The RunRev team seem to go deaf when the subject is real world > interfacing It's barely two months since you filed an 'official' enhancement request. Out of interest, why haven't you voted for it yourself, or asked others to vote for it? As far as I know, enhancements with zero votes tend to get ignored in favour of more popular ones... ;-) For anyone who *does* want to vote for more com ports, the enhancement request is at . Ian From jiml at netrin.com Wed Aug 22 23:05:09 2007 From: jiml at netrin.com (Jim Lambert) Date: Wed, 22 Aug 2007 20:05:09 -0700 Subject: A Small Speed Observation on Custom Properties In-Reply-To: <20070822170006.33723489013@mail.runrev.com> References: <20070822170006.33723489013@mail.runrev.com> Message-ID: <14a3825505c9103d8659f39746cbb836@netrin.com> On Aug 22, 2007, at 10:00 AM, use-revolution-request at lists.runrev.com wrote: > If you guys are interested, I wrote code to build splitters for table > fields, and I'm interested to hear what other people might think Yep, I'm interested. Send it along! Jim Lambert From katir at hindu.org Wed Aug 22 23:49:24 2007 From: katir at hindu.org (Sivakatirswami) Date: Wed, 22 Aug 2007 17:49:24 -1000 Subject: Parse Adob XMP data with Rev's XML lib? Message-ID: <46CD03C4.3020107@hindu.org> I am unable to parse the following using rev's library. I'm not an xml expert... but, since several nodes all begin with "rdf" I assume we need to refer to a node like this: put revXMLNodeContents(tMetaData, "/x:xmpmeta/rdf:RDF/rdf:Description/dc:description/rdf:Alt/rdf:li/") but rev throw and error "xmlerr, can't find element" Caption can be found here In the meantime i can hack this by removing all tags as there is not data except the caption in any of the nodes TIA Sivakatirswami www.himalayanacademy.com From katir at hindu.org Thu Aug 23 00:43:17 2007 From: katir at hindu.org (Sivakatirswami) Date: Wed, 22 Aug 2007 18:43:17 -1000 Subject: URLstatus for Players set to remote URLs In-Reply-To: <99C1FCA0-150F-4DB8-9E38-FF6F19E45581@mangomultimedia.com> References: <46C4B5CD.1080204@hindu.org> <37BBF5D3-F0B7-495F-87FE-581B08E373A5@major-k.de> <46C668EF.8050300@hindu.org> <99C1FCA0-150F-4DB8-9E38-FF6F19E45581@mangomultimedia.com> Message-ID: <46CD1065.5030101@hindu.org> Trevor DeVore wrote: > On Aug 17, 2007, at 11:35 PM, Sivakatirswami wrote: > >> Whats' the difference between >> >> > kMovieLoadStatePlayable 10000 >> > kMovieLoadStatePlayThroughOK 20000 > > These are constants provided by QuickTime. Search for either of those > strings on one of these pages: > > > > > > > > Trevor, outstanding, thanks.. Now time to do my homework... never too old for new tricks Sivakatirswami www.himalayanacademy.com From kray at sonsothunder.com Thu Aug 23 00:51:28 2007 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 22 Aug 2007 23:51:28 -0500 Subject: Parse Adobe XMP data with Rev's XML lib? In-Reply-To: <46CD03C4.3020107@hindu.org> References: <46CD03C4.3020107@hindu.org> Message-ID: <20070822235128790266.15b713c2@sonsothunder.com> On Wed, 22 Aug 2007 17:49:24 -1000, Sivakatirswami wrote: > I am unable to parse the following using rev's library. > I'm not an xml expert... but, since several nodes all begin with > > "rdf" I assume we need to refer to a node like this: > > put revXMLNodeContents(tMetaData, > "/x:xmpmeta/rdf:RDF/rdf:Description/dc:description/rdf:Alt/rdf:li/") > > > but rev throw and error "xmlerr, can't find element" > > > > > xmlns:dc="http://purl.org/dc/elements/1.1/"> > > > Caption can be found > here > > > > > > > In the meantime i can hack this by removing all tags as there is not > data except the caption > in any of the nodes It also works properly with my XML Library (http://www.sonsothunder.com/products/xmllib/xmllib.htm), just as you'd expect: put stsXML_GetNodeData("/x:xmpmeta/rdf:RDF/rdf:Description/dc:description/rdf:Alt/rdf:li/") --> Caption can be found here And of course being transcript only, it can be used with Rev's XML DLL as well. (Katir, you already have my library, but this is for anyone else interested...) :-) Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From ambassador at fourthworld.com Thu Aug 23 02:02:28 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 22 Aug 2007 23:02:28 -0700 Subject: OS X CGI Message-ID: <46CD22F4.1030200@fourthworld.com> Jacque's tutorial on using Rev engines for CGI work on OS X says that the Darwin engine is required" Why can't we use the Intel-native runtime engine for OS X on OS X? Does this mean that all OS X server apps are saddled with the responsibility of being limited to running in Darwin, or is that for some particular aspect of her tutorial? (I use Linux servers myself; can't see paying Apple prices for hardware the end-user will never see ) TIA - -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From janschenkel at yahoo.com Thu Aug 23 06:43:53 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 23 Aug 2007 03:43:53 -0700 (PDT) Subject: Parse Adob XMP data with Rev's XML lib? In-Reply-To: <46CD03C4.3020107@hindu.org> Message-ID: <139381.99230.qm@web60517.mail.yahoo.com> --- Sivakatirswami wrote: > I am unable to parse the following using rev's > library. > I'm not an xml expert... but, since several nodes > all begin with > > "rdf" I assume we need to refer to a node like this: > > put revXMLNodeContents(tMetaData, > "/x:xmpmeta/rdf:RDF/rdf:Description/dc:description/rdf:Alt/rdf:li/") > > > but rev throw and error "xmlerr, can't find element" > > > > xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> > > xmlns:dc="http://purl.org/dc/elements/1.1/"> > > > Caption > can be found > here > > > > > > > In the meantime i can hack this by removing all tags > as there is not > data except the caption > in any of the nodes > > > TIA > Sivakatirswami > I got it working by removing the namespaces from the node path: put revXMLNodeContents(tMetaData, "/xmpmeta/RDF/Description/description/Alt/li/") 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 Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545433 From janschenkel at yahoo.com Thu Aug 23 06:52:05 2007 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 23 Aug 2007 03:52:05 -0700 (PDT) Subject: Rev cgi, PHP & XML In-Reply-To: <46CC90D5.3B562B87@club-internet.fr> Message-ID: <658278.69979.qm@web60522.mail.yahoo.com> --- jbv wrote: > Hi folks, > > It's me again with another weird question... this > time for php > experts... > > I have a Rev cgi script that returns some xml data > to a client browser. > In order to speed up downloading, I'm trying to > compress the data > using gzip via some php functions (such as gzencode > or gzcompress). > I had to use that technique because Rev compress() > function doesn't > output code suitable for browsers... > > Anyway, here's my code : > > - in Rev cgi script > > get shell("/usr/local/bin/php > /home/httpd/html/cgi-bin/gzcompress.php " > & myXMLdata) > > > - in php > > > $myString = $argv[1]; > > $myStringgz = gzencode( $myString , 9 ); > > echo $myStringgz; > > ?> > > > This works fine for any non-XML data. As soon as I > try to pass XML data > to the php script, > I get this error : > /bin/sh: line 1: syntax error near unexpected > token `<' > > Could someone be kind enough to tell me what I'm > doing wrong ? > Is there any specific gzlib function for xml data ? > I haven't found > anything like that in php doc... > > Any help greatly apreciated. Thanks in advance, > JB > Hi JB, Try dumping the XML data to a file in the temp-directory, and piping that into the php script. Otherwise the shell will try to interpet the content of the variable myXMLData as extra parameters. 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) ____________________________________________________________________________________ Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. http://tv.yahoo.com/collections/222 From david at openpartnership.net Thu Aug 23 10:14:11 2007 From: david at openpartnership.net (David Bovill) Date: Thu, 23 Aug 2007 15:14:11 +0100 Subject: The CD drive: detecting insertion. Message-ID: I want to detect the insertion of a CD into a drive - the way that QuickTime / DVD players do on most platforms... - Is there any way to tell/suggest the path to the CD / DVD drive(s)? I thought of using the volumes function and removing the names of all the volumes that were there before the CD / DVD was inserted, but ran into the problem that long DVD titles are truncated by the volumes function... is there a better way to do this. I seem to remember from Linux days that the drives are mounted at a specific mount point - so this should hold up for OSX as well? The ultimate would be to do proper auto-detection. From a quick search it seems that there are some libraries that allow you to do this.... but it does not seem possible easily - that is with AppleScript or the equivalent. What would it take to get a Rev app to receive the events that the system sends out and Apps like QuickTime trap? From andre at andregarzia.com Thu Aug 23 14:07:04 2007 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 23 Aug 2007 15:07:04 -0300 Subject: OS X CGI In-Reply-To: <46CD22F4.1030200@fourthworld.com> References: <46CD22F4.1030200@fourthworld.com> Message-ID: <7c87a2a10708231107i687a23a2v12adb2e944b11089@mail.gmail.com> Richard, we can't. Darwin engine is the (sad) way to go. Don't know why but at least for me,the intel engine does not work as a CGI engine. I've tried the standalone engine too but that fails even worse. we need new darwin and linux engines... Andre On 8/23/07, Richard Gaskin wrote: > > Jacque's tutorial on using Rev engines for CGI work on OS X says that > the Darwin engine is required" > > > Why can't we use the Intel-native runtime engine for OS X on OS X? > > Does this mean that all OS X server apps are saddled with the > responsibility of being limited to running in Darwin, or is that for > some particular aspect of her tutorial? > > (I use Linux servers myself; can't see paying Apple prices for hardware > the end-user will never see ) > > TIA - > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From andre at andregarzia.com Thu Aug 23 14:09:44 2007 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 23 Aug 2007 15:09:44 -0300 Subject: The CD drive: detecting insertion. In-Reply-To: References: Message-ID: <7c87a2a10708231109k6f262ba0r39febf736bee7b70@mail.gmail.com> what about parsing the output of the 'mount' command? andre On 8/23/07, David Bovill wrote: > > I want to detect the insertion of a CD into a drive - the way that > QuickTime > / DVD players do on most platforms... > > - Is there any way to tell/suggest the path to the CD / DVD drive(s)? > > I thought of using the volumes function and removing the names of all the > volumes that were there before the CD / DVD was inserted, but ran into the > problem that long DVD titles are truncated by the volumes function... is > there a better way to do this. I seem to remember from Linux days that the > drives are mounted at a specific mount point - so this should hold up for > OSX as well? > > The ultimate would be to do proper auto-detection. From a quick search it > seems that there are some libraries that allow you to do this.... but it > does not seem possible easily - that is with AppleScript or the > equivalent. > What would it take to get a Rev app to receive the events that the system > sends out and Apps like QuickTime trap? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From Camm29 at tesco.net Thu Aug 23 14:25:22 2007 From: Camm29 at tesco.net (Camm29) Date: Thu, 23 Aug 2007 19:25:22 +0100 Subject: Number of Com Ports References: <000a01c7cef5$1dbddd00$0a01a8c0@workshop><325413300707251301w6df6729ew56dc3de5d41d26eb@mail.gmail.com><000601c7e505$2b12ad70$0a01a8c0@workshop> Message-ID: <000601c7e5b2$f94eaa10$0a01a8c0@workshop> Thanks , but 2 months is a long time when in development ! My customers would hang me out to dry in 48 Hours. RunRev should at least acknowledge every item , even if its declined. This issue would not be a major workload for RunRev either. Thank's for the tip on voting , everyone please vote !! Well , no more purchasing upgrade packages from RunRev until this is sorted at least for me. Regards Camm ----- Original Message ----- From: "Ian Wood" To: "How to use Revolution" Sent: Wednesday, August 22, 2007 11:17 PM Subject: Re: Number of Com Ports > > On 22 Aug 2007, at 22:40, Camm29 wrote: > > > Does anybody else know how to get this resolved ???? > > > > The RunRev team seem to go deaf when the subject is real world > > interfacing > > It's barely two months since you filed an 'official' enhancement > request. Out of interest, why haven't you voted for it yourself, or > asked others to vote for it? As far as I know, enhancements with zero > votes tend to get ignored in favour of more popular ones... ;-) > > For anyone who *does* want to vote for more com ports, the > enhancement request is at show_bug.cgi?id=5169>. > > 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 > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.472 / Virus Database: 269.12.0/960 - Release Date: 18/08/2007 15:48 > > From ambassador at fourthworld.com Thu Aug 23 16:13:25 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Aug 2007 13:13:25 -0700 Subject: OS X CGI Message-ID: <46CDEA65.3080303@fourthworld.com> Andre Garzia write: > Richard, > we can't. Darwin engine is the (sad) way to go. Don't know why but at least > for me,the intel engine does not work as a CGI engine. I've tried the > standalone engine too but that fails even worse. > > we need new darwin and linux engines... There are two things I don't understand with this: 1. In the olden days the only BSD we had was for Intel PCs, and the complaint was that we needed PPC. Now times have changed and what we need is Intel. Why can't we use the old Intel one on Intel Macs? What part of BSD for Intel did Apple cripple so that apps written for BSD on Intel won't run if the Intel machine running BSD happens to be a Mac? Or can we? 2. If other non-Darwin apps like SuperCard can be used as CGIs on Macs, and Rev standalones can be use used as CGIs on every other platform, why can't we just use OS X runtimes or standalones on OS X rather than limit it to Darwin? Extra bonus points: - Is this Darwin requirement just Yet Another Apple Funkiness, or is this a limitation with Rev in which they could theoretically make an OS X runtime which could be used as a CGI without needing to limit this to Darwin? - If Apache on OS X is limited to Darwin, what's the point? Specifically, why pay Apple prices for hardware if all you want to do is run BSD, which can be run on any generic box?* - What known bugs exist with relying on Rosetta, and roughly how much of a performance loss comes into play from doing so? Thanks in advance for enlightening me on this strange issue - *Or better yet, use hosting like Dreamhost where you get a Linux server preconfigured for running Rev CGI, 162 GB space, automated nightly backups, on-site generators, and an army of nerds staring at the server farm 24/7, all for just $9.95 a month. How many people really saddle themselves with hosting their own hardware theses days? On what, DSL? ;) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ccondit at geo.umass.edu Thu Aug 23 16:23:47 2007 From: ccondit at geo.umass.edu (Chris Condit) Date: Thu, 23 Aug 2007 16:23:47 -0400 Subject: fake grabber Message-ID: Has anyone experimented with making a grabber (as was found in SuperCard), that would let your drag a scrolling group (including an image, and other controls) around, when you (in the case below) depress either the command or control keys with a mouseDown and invoke this fakeGrabber script? My problem is that the process is sometimes slow, and also gets confused and is left with the grabber icon showing. And does anyone know if there is a request to add a "grabber" to Revolution? last reference i saw to grabber in the listServ was 2004! ---(this is part of the script to the scrolling group named "overlayandImageGroup": on MouseDown if the commandKey is down or the controlKey is down then set the tool to browse set the cursor to 11079 -- (a "grabber" hand) FakeGrabber --set the cursor to hand else send mouseDown to stack "Map" end mouseDown --and it calls this in the mainstack's script: on FakeGrabber put 3 into Threshold put the mouseLoc into oldLoc put the short name of this stack into thisStacksName #to keep the centering on wanted feature from overscrolling put the width of stack thisStacksName into StackWidth put the height of stack thisStacksName into StackHeight put the width of image "theImageBox" into theImageBoxBotRtX put the height of image "theImageBox" into theImageBoxBotRtY put (theImageBoxBotRtX + 16) - StackWidth into MaxScrollX put (theImageBoxBotRtY + 16) - StackHeight into MaxScrollY repeat forever if the mouse is up then exit repeat put the mouseLoc into newLoc put item 1 of newLoc - item 1 of oldLoc into xLoc put item 2 of newLoc - item 2 of oldLoc into yLoc if abs(xLoc) >= Threshold or abs(yLoc) >= Threshold then put hScroll of group "OverlayAndImageGroup" into StartHScroll put vScroll of group "OverlayAndImageGroup" into StartVScroll put StartHScroll - xLoc into newXScroll put StartVScroll - yLoc into newYScroll set the lockScreen to true #to keep the centering on wanted feature from overscrolling if NewXScroll > MaxScrollX then set the hscroll of group "OverlayAndImageGroup" to MaxScrollX else set the hScroll of group "OverlayAndImageGroup" to NewXScroll end if if newYScroll > MaxScrollY then set the vscroll of group "OverlayAndImageGroup" to MaxScrollY else set the vScroll of group "OverlayAndImageGroup" to NewYScroll end if set the lockScreen to false put newLoc into oldLoc if the commandKey is up and the controlKey is up then exit repeat end if end repeat end FakeGrabber -- Dr. Christopher D. Condit, Associate Prof., Dept. of Geosciences Univ. Massachusetts, 611 North Pleasant St., Amherst, MA, 01003-9297 ccondit at geo.umass.edu 413-545-0272 My Web Page: http://www.geo.umass.edu/faculty/condit.htm Revolution Dynamic Digital Maps: http://ddm.geo.umass.edu From david at openpartnership.net Thu Aug 23 17:06:18 2007 From: david at openpartnership.net (David Bovill) Date: Thu, 23 Aug 2007 22:06:18 +0100 Subject: The CD drive: detecting insertion. In-Reply-To: <7c87a2a10708231109k6f262ba0r39febf736bee7b70@mail.gmail.com> References: <7c87a2a10708231109k6f262ba0r39febf736bee7b70@mail.gmail.com> Message-ID: Thanks - works on OSX and of course Linux - but what would the commanline equivalent be on Windows - any idea? From jacque at hyperactivesw.com Thu Aug 23 17:56:55 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 23 Aug 2007 16:56:55 -0500 Subject: fake grabber In-Reply-To: References: Message-ID: <46CE02A7.7060506@hyperactivesw.com> Chris Condit wrote: > Has anyone experimented with making a grabber (as was found in > SuperCard), that would let your drag a scrolling group (including an > image, and other controls) around, when you (in the case below) depress > either the command or control keys with a mouseDown and invoke this > fakeGrabber script? The "grab" command should do it. It's built in. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chris at altuit.com Thu Aug 23 19:04:23 2007 From: chris at altuit.com (chris bohnert) Date: Thu, 23 Aug 2007 18:04:23 -0500 Subject: OS X CGI In-Reply-To: <46CDEA65.3080303@fourthworld.com> References: <46CDEA65.3080303@fourthworld.com> Message-ID: <2e0cf4750708231604s6fdcdcf6v7023a993f1aaed73@mail.gmail.com> Richard, 1. In the olden days the only BSD we had was for Intel PCs, and the > complaint was that we needed PPC. Now times have changed and what we > need is Intel. Why can't we use the old Intel one on Intel Macs? What > part of BSD for Intel did Apple cripple so that apps written for BSD on > Intel won't run if the Intel machine running BSD happens to be a Mac? > Or can we? This is an interesting question. I've always heard that the two aren't binary compatible but I've never really gone looking for the evidence until today. Turns out that both FreeBSD and NetBSD have some measure of binary compatibility with Darwin. The reverse however appears to not be true. According to this page at Apple: tiny *http://tinyurl.com/qgh4q full ** * there are some fairly strong differences that would make any expectation of binary compatibility fairly low. Most notably the difference in the object file format and the dynaloader. But, to ask your own question back atcha.."Why would you want to do this on Apple hardware when cheap Linux hosts abound?" -- cb * From ambassador at fourthworld.com Thu Aug 23 19:16:41 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Aug 2007 16:16:41 -0700 Subject: OS X CGI Message-ID: <46CE1559.20806@fourthworld.com> Thank you for the info, Chris: > 1. In the olden days the only BSD we had was for Intel PCs, and the >> complaint was that we needed PPC. Now times have changed and what we >> need is Intel. Why can't we use the old Intel one on Intel Macs? What >> part of BSD for Intel did Apple cripple so that apps written for BSD on >> Intel won't run if the Intel machine running BSD happens to be a Mac? >> Or can we? > > This is an interesting question. I've always heard that the two aren't > binary compatible but I've never really gone looking for the evidence until > today. Turns out that both FreeBSD and NetBSD have some measure of binary > compatibility with Darwin. The reverse however appears to not be true. > According to this page at Apple: > > tiny > *http://tinyurl.com/qgh4q > > full > ** ernelProgramming/BSD/chapter_11_section_3.html#//apple_ref/d > oc/uid/TP30000905-CH214-TPXREF103*> > * > there are some fairly strong differences that would make any expectation of > binary compatibility fairly low. Most notably the difference in the object > file format and the dynaloader. Drag. Looks like my hoped-for quickie solution is a non-starter. Thanks for digging that up. > But, to ask your own question back atcha.."Why would you want to do this on > Apple hardware when cheap Linux hosts abound?" It's not for me. I'm trying to help a fella on the Rev forums who's apparently intent on using Apple hardware for his CGIs. I figured it would be worth a try to check in here to see if anyone had success running either the old Intel BSD build or the new OS X build as a CGI. Now able to rule out the old BSD build, I'm still not clear why we can't use the OS X build. What am I not understanding? Isn't there at least some way one can communicate between Apache and Rev on OS X via Apple events? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From tsj at unimelb.edu.au Thu Aug 23 20:07:19 2007 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 24 Aug 2007 10:07:19 +1000 Subject: Hiding the dock using the type command In-Reply-To: <20070815094639.B946B48905D@mail.runrev.com> Message-ID: I need to hide the (OSX) dock and thought this would be straightforward using the type command... Type "d" with command,option ...but it doesn't work I'm wondering whether this problem is due to the fact that I'm using two modifier keys as other shortcuts that only use a single modifier seem to work fine. I know I can work around this by using applescript... tell application "System Events" keystroke "d" using {command down, option down} end tell ...but I shouldn't have to - should I? Terry... From josh at dvcreators.net Thu Aug 23 20:54:14 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 23 Aug 2007 17:54:14 -0700 Subject: jjAnswerFTPfile and jjAnswerFTPfolder Message-ID: <29889B10-1C82-4020-B226-B6D35C9BACC6@dvcreators.net> Answer file and answer folder are great ways for the user (or coder) to browse their local hard drive and select a folder or file. But browsing a remote FTP folder has never been as easy- until now! Here is a stack you can include as a substack in your projects that make browsing and choosing remote folders and files as easy as local ones. Instructions: jjAnswerFTPfile: ---------------- Syntax: jjAnswerFTPfile tURL, tUserName, tPassword, tMsg Description: tURL: the URL of the site (example: "craniumnet.com") tUserName: the FTP username tPassword: the FTP password tMsg: the dialog message you want to appear (example: "Please choose a file") You will find the remote file and path in the DialogData. jjAnswerFTPfile: ---------------- Syntax: jjAnswerFTPfolder tURL, tUserName, tPassword, tMsg, showFiles Description: tURL: the URL of the site (example: "craniumnet.com") tUserName: the FTP username tPassword: the FTP password tMsg: the dialog message you want to appear (example: "Please choose a folder") showFiles: set this to "showFiles" if you want files to appear in the browser. Leave it empty (or set it to anything else) if you want only folders showing up. You will find the path to the remote folder in the DialogData. --- This is far from polished, for example, the "make new folder" button doesn't work yet :-) Also, you may want not just the path returned by the correct ftp string for accessing the data, which can be easily done with a slight mod. I will upload this one soon, let me know if you have questions. --- For the demo, just fill in the fields and hit the buttons to see a demonstration. Anyway, I hope this will prove valuable to those of you needing to browse and choose remote files and folders. The stack is here: leapingbrain.com/products/jjanswerFTPdemo.rev.zip From mark at maseurope.net Thu Aug 23 20:57:39 2007 From: mark at maseurope.net (Mark Smith) Date: Fri, 24 Aug 2007 01:57:39 +0100 Subject: OS X CGI In-Reply-To: <46CDEA65.3080303@fourthworld.com> References: <46CDEA65.3080303@fourthworld.com> Message-ID: <9EC3D71C-5858-46C2-9855-45A844AA440A@maseurope.net> I don't know of any bugs, but the time it takes for a "hello world" cgi to return is around 80-90 ms on my old 400 Mhz G4, and around 120-130 ms on my spanking new 2.2 Ghz macintel laptop, both using the Darwin cgi engine, (under Rosetta on the laptop, I assume). A prime-numbers-up-to-500 script took 400 ms on the macIntel natively in the IDE, but 950 ms (not including the startup and return time) in the cgi under Rosetta on the same machine. Best, Mark On 23 Aug 2007, at 21:13, Richard Gaskin wrote: > What known bugs exist with relying on Rosetta, and roughly how much > of a performance loss comes into play from doing so? From josh at dvcreators.net Thu Aug 23 20:59:32 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 23 Aug 2007 17:59:32 -0700 Subject: jjAnswerFTPfile and jjAnswerFTPfolder In-Reply-To: <29889B10-1C82-4020-B226-B6D35C9BACC6@dvcreators.net> References: <29889B10-1C82-4020-B226-B6D35C9BACC6@dvcreators.net> Message-ID: <5CD97691-D7FD-4F50-8289-4F842ED6DEE5@dvcreators.net> I've already started a list for improving this: make "new folder" button work include window title as a parameter replace ">" with a cute little folder icon make "OK" button label change to "Open" at appropriate times (when folder single clicked) Please add requests if you'd like. On Aug 23, 2007, at 5:54 PM, Josh Mellicker wrote: > Answer file and answer folder are great ways for the user (or > coder) to browse their local hard drive and select a folder or file. > > But browsing a remote FTP folder has never been as easy- until now! > > > Here is a stack you can include as a substack in your projects that > make browsing and choosing remote folders and files as easy as > local ones. > > > Instructions: > > jjAnswerFTPfile: > ---------------- > > Syntax: > jjAnswerFTPfile tURL, tUserName, tPassword, tMsg > > Description: > tURL: the URL of the site (example: "craniumnet.com") > tUserName: the FTP username > tPassword: the FTP password > tMsg: the dialog message you want to appear (example: "Please > choose a file") > > You will find the remote file and path in the DialogData. > > > > jjAnswerFTPfile: > ---------------- > > Syntax: > jjAnswerFTPfolder tURL, tUserName, tPassword, tMsg, showFiles > > > Description: > tURL: the URL of the site (example: "craniumnet.com") > tUserName: the FTP username > tPassword: the FTP password > tMsg: the dialog message you want to appear (example: "Please > choose a folder") > showFiles: set this to "showFiles" if you want files to appear in > the browser. Leave it empty (or set it to anything else) if you > want only folders showing up. > > You will find the path to the remote folder in the DialogData. > > > --- > > This is far from polished, for example, the "make new folder" > button doesn't work yet :-) > > Also, you may want not just the path returned by the correct ftp > string for accessing the data, which can be easily done with a > slight mod. I will upload this one soon, let me know if you have > questions. > > --- > > For the demo, just fill in the fields and hit the buttons to see a > demonstration. > > Anyway, I hope this will prove valuable to those of you needing to > browse and choose remote files and folders. > > The stack is here: > > leapingbrain.com/products/jjanswerFTPdemo.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 andre at andregarzia.com Thu Aug 23 21:29:46 2007 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 23 Aug 2007 22:29:46 -0300 Subject: OS X CGI In-Reply-To: <46CE1559.20806@fourthworld.com> References: <46CE1559.20806@fourthworld.com> Message-ID: <7c87a2a10708231829y33326d45w86b0ecb875dd1134@mail.gmail.com> Richard, I think *BSD executables are based on ELF binaries. Darwin is based on Mach-O binaries. They are very different. This affects how the stuff is organized inside the binary. Stuff such as shared library pointers, how "symbols" are stored inside the standalone... as for your question below, the answer is yes, some brazilian guy created ACGI routines for Apache, guess who was the guy? Its easy and it uses the darwin engine to load a simple CGI that passes the control to a running revolution (actually any MacOS X) application. The application receives an event based on old ACGI events popular during the times of WebStar and MacHTTP. The reply from the app is piped back to the browser. For this to work, a user must be logged on the machine for this uses suEXEC to and shell() commands to send the events around. This means that the user must have his personal file sharing turned on for the CGI must be called from inside a folder on the user account for suEXEC to work. We can't make suEXEC work from outside any account. The only side effect of this is that the URL to the CGI becomes something like: http://www.myMacServer.com/~username/rrev.cgi the rrev.cgi is a CGI running under the darwin engine. It collects the HTTP Request data, assembles an applescript call and send the Apple Event around. Although rrev.cgi runs under the darwin engine, it is only a gateway to send the events, the actual CGI might be a standalone or a revolution IDE or anything that can send/receive apple events. This was done for Dave Brooks and has been tested with HTTP Requests as big as 8 megabytes... I think it can handle things well. Interested? Andre > > > Now able to rule out the old BSD build, I'm still not clear why we can't > use the OS X build. What am I not understanding? Isn't there at least > some way one can communicate between Apache and Rev on OS X via Apple > events? > > -- > 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 Thu Aug 23 21:41:43 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 Aug 2007 18:41:43 -0700 Subject: OS X CGI Message-ID: <46CE3757.7060602@fourthworld.com> Andre Garzia wrote: > as for your question below, the answer is yes, some brazilian guy created > ACGI routines for Apache, guess who was the guy? Well, I know a few Brazilians, but only one crazy enough to pull this off. :) > Its easy and it uses the darwin engine to load a simple CGI that passes the > control to a running revolution (actually any MacOS X) application. The > application receives an event based on old ACGI events popular during the > times of WebStar and MacHTTP. The reply from the app is piped back to the > browser. > ... > This was done for Dave Brooks and has been tested with HTTP Requests as big > as 8 megabytes... I think it can handle things well. Interested? Since I use only Linux on my servers, I won't be able to take advantage of this myself. But I very much appreciate your good work on this, and will pass along this info to the forum thread where it came up. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From bvlahos at mac.com Thu Aug 23 22:40:55 2007 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 23 Aug 2007 19:40:55 -0700 Subject: Ask window on attached to wrong window Message-ID: <8B108B8A-A73F-494A-9DB2-610790FF7B93@mac.com> I have a stub executable which opens its own window and then opens a stack (so I now have two windows). On the non-executable stack is a graphic that acts as a button to ask for a password. On a Mac, the ask window opens and is attached to the non-stub stack window as expected. However, on Windows the ask dialog is linked (i.e. modal) to the stub window not the correct window even though that window is the frontmost window. The expected window is locked waiting for a response but the user can't see the ask dialog because it is hidden behind and is associated with the stub. If I move the windows around or bring the stub application forward then I can see and click on the ask dialog and everything works. If I don't click on the stub window then I never see the ask dialog box and can't ever get out of it. On Windows, even though the stack with the graphic is the frontmost window, if I click on that "frontmost" window before clicking on the graphic then it works as expected and the ask dialog correctly comes up and works. Is there a Rev command to bring the window to the front? For example in AppleScript the command is "activate". I don't see a similar command in Rev. Bill Vlahos From stephenREVOLUTION at barncard.com Fri Aug 24 00:07:29 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 23 Aug 2007 21:07:29 -0700 Subject: jjAnswerFTPfile and jjAnswerFTPfolder In-Reply-To: <5CD97691-D7FD-4F50-8289-4F842ED6DEE5@dvcreators.net> References: <29889B10-1C82-4020-B226-B6D35C9BACC6@dvcreators.net> <5CD97691-D7FD-4F50-8289-4F842ED6DEE5@dvcreators.net> Message-ID: Wow. I was just about to build something like this. Bravo! Well done, and thanks!! sqb >I've already started a list for improving this: > >make "new folder" button work >include window title as a parameter >replace ">" with a cute little folder icon >make "OK" button label change to "Open" at appropriate times (when >folder single clicked) > >Please add requests if you'd like. > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From kray at sonsothunder.com Fri Aug 24 01:36:39 2007 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 24 Aug 2007 00:36:39 -0500 Subject: Hiding the dock using the type command In-Reply-To: References: Message-ID: <20070824003639790542.0f0c3d70@sonsothunder.com> On Fri, 24 Aug 2007 10:07:19 +1000, Terry Judd wrote: > I need to hide the (OSX) dock and thought this would be straightforward > using the type command... > > Type "d" with command,option > > ...but it doesn't work Actually it would be: type "d" with commandKey,optionKey but that doesn't work either... Looking at the docs, it looks more like it is intended on typing data into fields as opposed to triggering menu items. It may be a bug, but I'd use the AppleScript since you know it works... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From R.Venzl-Schubert at t-online.de Fri Aug 24 03:06:47 2007 From: R.Venzl-Schubert at t-online.de (Reinhold Venzl-Schubert) Date: Fri, 24 Aug 2007 09:06:47 +0200 Subject: How to switch of preview in menubar on MacOS Message-ID: <9D7FD1AA-030E-4137-B078-C9CC0C1881E7@t-online.de> Hi! I selected "Preview in Menu Bar", closed the Menu Builder and than I cannot switch back to the original Rev Menubar. The only way I found is to close Rev completely and restart it again. Is there any smarter way to switch back the Rev Menubar? Thanks Reinhold From revlist at azurevision.co.uk Fri Aug 24 04:16:28 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Fri, 24 Aug 2007 09:16:28 +0100 Subject: How to switch of preview in menubar on MacOS In-Reply-To: <9D7FD1AA-030E-4137-B078-C9CC0C1881E7@t-online.de> References: <9D7FD1AA-030E-4137-B078-C9CC0C1881E7@t-online.de> Message-ID: <7DB83AEB-CF38-4F04-A1B4-29B81A1DF34E@azurevision.co.uk> It should automatically swap back to the normal bar as soon as you swap back into edit mode. Ian On 24 Aug 2007, at 08:06, Reinhold Venzl-Schubert wrote: > Hi! > > I selected "Preview in Menu Bar", closed the Menu Builder and than > I cannot switch back to the original Rev Menubar. > The only way I found is to close Rev completely and restart it again. > > Is there any smarter way to switch back the Rev Menubar? > > Thanks > Reinhold > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Aug 24 05:26:39 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 24 Aug 2007 02:26:39 -0700 Subject: jjAnswerFTPfile and jjAnswerFTPfolder In-Reply-To: References: <29889B10-1C82-4020-B226-B6D35C9BACC6@dvcreators.net> <5CD97691-D7FD-4F50-8289-4F842ED6DEE5@dvcreators.net> Message-ID: <087FDB32-F31A-4DB0-B45B-7F2DACF32E31@dvcreators.net> Thanks Stephen, I just did a major rewrite, it is much simpler and more elegant, please delete the earlier one, it was very much a first draft. include window title as a parameter - done make "OK" button label change to "Open" at appropriate times (when folder single clicked) (and disable appropriately) - done return properly formatted FTP string - done http://leapingbrain.com/products/jjanswerFTPdemo.rev.zip On Aug 23, 2007, at 9:07 PM, Stephen Barncard wrote: > Wow. I was just about to build something like this. Bravo! Well > done, and thanks!! > > sqb > >> I've already started a list for improving this: >> >> make "new folder" button work >> include window title as a parameter >> replace ">" with a cute little folder icon >> make "OK" button label change to "Open" at appropriate times (when >> folder single clicked) >> >> Please add requests if you'd like. >> > > -- > > > 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 paolo.mazza at neol.it Fri Aug 24 06:30:07 2007 From: paolo.mazza at neol.it (paolo mazza) Date: Fri, 24 Aug 2007 12:30:07 +0200 Subject: close the answer dialog from script In-Reply-To: <087FDB32-F31A-4DB0-B45B-7F2DACF32E31@dvcreators.net> References: <087FDB32-F31A-4DB0-B45B-7F2DACF32E31@dvcreators.net> Message-ID: Dear Friends, how can I close the answer dialog from script? I wrote this script to force the user to answer after X time. But I can not close the andswe dialog. Thanks Paolo global TempoIniziale,gTEMPOCONTROL on mouseUp put the seconds into TempoIniziale ControlloTempo answer "You are great" with "OK" end mouseUp on ControlloTempo put the seconds into TEMPO2 -- put TEMPO2 && TempoIniziale & return after message if (TEMPO2 - TempoIniziale) > 4 then HOW CAN I CLOSE THE ANSWER DIALOG ?? exit to top else send "ControlloTempo" to me in 2 seconds put the result into gTEMPOCONTROL end if end ControlloTempo ****************************************** 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 eric.chatonet at sosmartsoftware.com Fri Aug 24 06:34:16 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 24 Aug 2007 12:34:16 +0200 Subject: close the answer dialog from script In-Reply-To: References: <087FDB32-F31A-4DB0-B45B-7F2DACF32E31@dvcreators.net> Message-ID: Hi Paolo, close stack "Answer Dialog" :-) Le 24 ao?t 07 ? 12:30, paolo mazza a ?crit : > Dear Friends, how can I close the answer dialog from script? > > I wrote this script to force the user to answer after X time. But > I can > not close the andswe dialog. > > Thanks > > Paolo > > > global TempoIniziale,gTEMPOCONTROL > on mouseUp > put the seconds into TempoIniziale > ControlloTempo > answer "You are great" with "OK" > end mouseUp > > on ControlloTempo > put the seconds into TEMPO2 > -- put TEMPO2 && TempoIniziale & return after message > if (TEMPO2 - TempoIniziale) > 4 then > > HOW CAN I CLOSE THE ANSWER DIALOG ?? > > exit to top > else > send "ControlloTempo" to me in 2 seconds > put the result into gTEMPOCONTROL > end if > end ControlloTempo Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From revlist at azurevision.co.uk Fri Aug 24 06:36:00 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Fri, 24 Aug 2007 11:36:00 +0100 Subject: close the answer dialog from script In-Reply-To: References: <087FDB32-F31A-4DB0-B45B-7F2DACF32E31@dvcreators.net> Message-ID: <33FA9104-1063-488E-8EE1-5D896D03E330@azurevision.co.uk> On 24 Aug 2007, at 11:30, paolo mazza wrote: > Dear Friends, how can I close the answer dialog from script? The answer dialog box is modal - you can't do anything until the user dismisses it. Sounds like you need to roll your own answer dialog, either by replacing the built-in one or (probably easier) faking one with a 'regular' Rev window. Ian From m.schonewille at economy-x-talk.com Fri Aug 24 06:42:29 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 24 Aug 2007 12:42:29 +0200 Subject: close the answer dialog from script In-Reply-To: References: <087FDB32-F31A-4DB0-B45B-7F2DACF32E31@dvcreators.net> Message-ID: Hi Paolo, You have to adjust the answer dialog itself with a preOpenStack script: on preOpenStack send "close this stack" to me in 10 secs pass preOpenStack end preOpenStack You may have to integrate this script with existing code. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 24-aug-2007, om 12:30 heeft paolo mazza het volgende geschreven: > Dear Friends, how can I close the answer dialog from script? > > I wrote this script to force the user to answer after X time. But > I can > not close the andswe dialog. > > Thanks > > Paolo From klaus at major-k.de Fri Aug 24 06:48:05 2007 From: klaus at major-k.de (Klaus Major) Date: Fri, 24 Aug 2007 12:48:05 +0200 Subject: revMail with Umlauts in Bodytext? Message-ID: <4729F890-BFD7-43CD-8298-4C8E6A204561@major-k.de> Hi friends, I am sure this has been answered some time in the past, but what can I do to use the revMail command with Umlauts in the "body"? This does work: ... revMail "support at runrev.com",,"The subject","Something without Umlauts in it..." ... This does NOT work: ... revMail "support at runrev.com",,"The subject","S?mething with ?ml??ts in it..." ... A mail is being generated, but the BODY is empty. Thanks in advance. Regards Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Fri Aug 24 06:53:30 2007 From: klaus at major-k.de (Klaus Major) Date: Fri, 24 Aug 2007 12:53:30 +0200 Subject: close the answer dialog from script In-Reply-To: References: <087FDB32-F31A-4DB0-B45B-7F2DACF32E31@dvcreators.net> Message-ID: <5BC66E30-3C76-4F13-9763-7D121AFD7D2F@major-k.de> Buongiorno paolo, > Dear Friends, how can I close the answer dialog from script? > > I wrote this script to force the user to answer after X time. But > I can > not close the andswe dialog. > > Thanks > > Paolo > > > global TempoIniziale,gTEMPOCONTROL > on mouseUp > put the seconds into TempoIniziale > ControlloTempo > answer "You are great" with "OK" > end mouseUp > > on ControlloTempo > put the seconds into TEMPO2 > -- put TEMPO2 && TempoIniziale & return after message > if (TEMPO2 - TempoIniziale) > 4 then > > HOW CAN I CLOSE THE ANSWER DIALOG ?? > > exit to top > else > send "ControlloTempo" to me in 2 seconds > put the result into gTEMPOCONTROL > end if > end ControlloTempo > > > ****************************************** > > 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 add a handler that will close the dialog and "send" it right before you "Answer XYZ" This will ONLY work with this technique! Like: on mouseUp put the seconds into TempoIniziale ControlloTempo send "close_the_dialog" to me in 2 secs ## or any other time... answer "You are great" with "OK" end mouseUp on close_the_dialog close stack "Answer Dialog" end close_the_dialog ... You will have to integrate this into your scripts. Regards Klaus Major klaus at major-k.de http://www.major-k.de From eric.chatonet at sosmartsoftware.com Fri Aug 24 07:01:07 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 24 Aug 2007 13:01:07 +0200 Subject: close the answer dialog from script In-Reply-To: References: <087FDB32-F31A-4DB0-B45B-7F2DACF32E31@dvcreators.net> Message-ID: <3224B0B6-5759-4239-8790-8CD0B2D3D0FF@sosmartsoftware.com> Hi Paolo, You can use the usual answer dialog and have not to build your own: on mouseUp send "CloseAnswerDialog" to me in 4 seconds answer "You are great" end mouseUp -------------------------- on CloseAnswerDialog close stack "Answer Dialog" end CloseAnswerDialog Le 24 ao?t 07 ? 12:34, Eric Chatonet a ?crit : > Hi Paolo, > > close stack "Answer Dialog" :-) > > Le 24 ao?t 07 ? 12:30, paolo mazza a ?crit : > >> Dear Friends, how can I close the answer dialog from script? >> >> I wrote this script to force the user to answer after X time. But >> I can >> not close the andswe dialog. >> >> Thanks >> >> Paolo >> >> >> global TempoIniziale,gTEMPOCONTROL >> on mouseUp >> put the seconds into TempoIniziale >> ControlloTempo >> answer "You are great" with "OK" >> end mouseUp >> >> on ControlloTempo >> put the seconds into TEMPO2 >> -- put TEMPO2 && TempoIniziale & return after message >> if (TEMPO2 - TempoIniziale) > 4 then >> >> HOW CAN I CLOSE THE ANSWER DIALOG ?? >> >> exit to top >> else >> send "ControlloTempo" to me in 2 seconds >> put the result into gTEMPOCONTROL >> end if >> end ControlloTempo > > 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 m.schonewille at economy-x-talk.com Fri Aug 24 07:05:14 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 24 Aug 2007 13:05:14 +0200 Subject: close the answer dialog from script In-Reply-To: <3224B0B6-5759-4239-8790-8CD0B2D3D0FF@sosmartsoftware.com> References: <087FDB32-F31A-4DB0-B45B-7F2DACF32E31@dvcreators.net> <3224B0B6-5759-4239-8790-8CD0B2D3D0FF@sosmartsoftware.com> Message-ID: Hi Eric, I tried it and it works. Thanks for this nice and simple solution. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 24-aug-2007, om 13:01 heeft Eric Chatonet het volgende geschreven: > Hi Paolo, > > You can use the usual answer dialog and have not to build your own: > > on mouseUp > send "CloseAnswerDialog" to me in 4 seconds > answer "You are great" > end mouseUp > -------------------------- > on CloseAnswerDialog > close stack "Answer Dialog" > end CloseAnswerDialog > From Andre.Bisseret at inria.fr Fri Aug 24 08:16:41 2007 From: Andre.Bisseret at inria.fr (=?ISO-8859-1?Q? Andr=E9.Bisseret ?=) Date: Fri, 24 Aug 2007 14:16:41 +0200 Subject: How to copy-paste text from one field to another, changing Font and Size Message-ID: <5BA56BF7-E68D-4C2C-BBC6-A41DB39391C8@inria.fr> I have a stack 1, including a field (field1) with lines of text. The textFont of this field is ? verdana ? The textSize of this field is ? 10 ? and a stack 2 including an empty field (field2) The textFont of this field is ? Times ? The textSize of this field is ? 12 ? I want to copy such line of field 1 in order to paste it in field 2 If I proceed manually (using the Edit menu or ctrl C and ctrl V) all is running as expected : the copied line of field 1 (in Verdana 10) is paste in Times 12 in field 2. But when scripting, if, in stack 1, I - put such line of field 1 in lVar - set the clipBoardData[? text ?] to lVar - go to stack 2 - click a button whose mouseUp? script is ? paste ? then, the text is pasted in Verdana (it keeps the font of field 1) :-(( and more surprising, the textSize is 12 (the textSize expected, those of field 2). What am I doing wrong ? By the way, is it possible to change Font, size, style etc. of text in the clipBoard ? Thanks a lot for any help Best regards from Grenoble Andr? From klaus at major-k.de Fri Aug 24 08:23:10 2007 From: klaus at major-k.de (Klaus Major) Date: Fri, 24 Aug 2007 14:23:10 +0200 Subject: How to copy-paste text from one field to another, changing Font and Size In-Reply-To: <5BA56BF7-E68D-4C2C-BBC6-A41DB39391C8@inria.fr> References: <5BA56BF7-E68D-4C2C-BBC6-A41DB39391C8@inria.fr> Message-ID: Bon jour Andr?, > I have a stack 1, including a field (field1) with lines of text. > The textFont of this field is ? verdana ? > The textSize of this field is ? 10 ? > > and a stack 2 including an empty field (field2) > The textFont of this field is ? Times ? > The textSize of this field is ? 12 ? > > I want to copy such line of field 1 in order to paste it in field 2 > > If I proceed manually (using the Edit menu or ctrl C and ctrl V) > all is running as expected : > the copied line of field 1 (in Verdana 10) is paste in Times 12 in > field 2. > > But when scripting, if, in stack 1, I > - put such line of field 1 in lVar > - set the clipBoardData[? text ?] to lVar > - go to stack 2 > - click a button whose mouseUp? script is ? paste ? > > then, the text is pasted in Verdana (it keeps the font of field > 1) :-(( > and more surprising, the textSize is 12 (the textSize expected, > those of field 2). > > What am I doing wrong ? > > By the way, is it possible to change Font, size, style etc. of text > in the clipBoard ? > > Thanks a lot for any help > > Best regards from Grenoble > Andr? just change these line: ... put the htmltext of line X of field 1 in lVar set the clipBoardData["html"] to lVar ## Otherwise only unformatted text will go into the clipboard ## as you already may have noticed :-) ... Regards Klaus Major klaus at major-k.de http://www.major-k.de From eric.chatonet at sosmartsoftware.com Fri Aug 24 08:31:36 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 24 Aug 2007 14:31:36 +0200 Subject: How to copy-paste text from one field to another, changing Font and Size In-Reply-To: <5BA56BF7-E68D-4C2C-BBC6-A41DB39391C8@inria.fr> References: <5BA56BF7-E68D-4C2C-BBC6-A41DB39391C8@inria.fr> Message-ID: <978FF8E3-AAE9-4CAD-BBE7-47BDB582BC01@sosmartsoftware.com> Bonjour Andr?, Not tested but should work (in the script of the 'Paste' button) : on mouseUp if clipBoardData["text"] <> empty then lock screen select text of fld 2 paste set the textFont of char 1 to -1 of fld 2 to empty unlock screen end if end mouseUp Le 24 ao?t 07 ? 14:16, Andr?.Bisseret a ?crit : > I have a stack 1, including a field (field1) with lines of text. > The textFont of this field is ? verdana ? > The textSize of this field is ? 10 ? > > and a stack 2 including an empty field (field2) > The textFont of this field is ? Times ? > The textSize of this field is ? 12 ? > > I want to copy such line of field 1 in order to paste it in field 2 > > If I proceed manually (using the Edit menu or ctrl C and ctrl V) > all is running as expected : > the copied line of field 1 (in Verdana 10) is paste in Times 12 in > field 2. > > But when scripting, if, in stack 1, I > - put such line of field 1 in lVar > - set the clipBoardData[? text ?] to lVar > - go to stack 2 > - click a button whose mouseUp? script is ? paste ? > > then, the text is pasted in Verdana (it keeps the font of field > 1) :-(( > and more surprising, the textSize is 12 (the textSize expected, > those of field 2). > > What am I doing wrong ? > > By the way, is it possible to change Font, size, style etc. of text > in the clipBoard ? > > Thanks a lot for any help > > Best regards from Grenoble > Andr? Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From Andre.Bisseret at inria.fr Fri Aug 24 09:45:16 2007 From: Andre.Bisseret at inria.fr (=?ISO-8859-1?Q? Andr=E9.Bisseret ?=) Date: Fri, 24 Aug 2007 15:45:16 +0200 Subject: How to copy-paste text from one field to another, changing Font and Size In-Reply-To: References: <5BA56BF7-E68D-4C2C-BBC6-A41DB39391C8@inria.fr> Message-ID: Guten tag Klaus, Bonjour ?ric, Thanks a lot to both of you ; my problem is solved :-)) The two solutions are working nicely. Merci, Denke Andr? From paolo.mazza at neol.it Fri Aug 24 10:26:07 2007 From: paolo.mazza at neol.it (paolo mazza) Date: Fri, 24 Aug 2007 16:26:07 +0200 Subject: close the answer dialog from script In-Reply-To: References: Message-ID: Thanks for your help. I tryed to use the command close stack "Answer Dialog" Actually it closes the answer dialog but unfortunately the exit to top command in the following line does not work and the it does not stop. See this sample. This script put "2" into message even if I did not press any button. Have a good day. Paolo global TempoIniziale,gTEMPOCONTROL on mouseUp put the seconds into TempoIniziale ControlloTempo answer "You are great" with "OK" and "Annulla" if it is "OK" then put "1" into message else put "2" into message end if end mouseUp on ControlloTempo put the seconds into TEMPO2 -- put TEMPO2 && TempoIniziale & return after message if (TEMPO2 - TempoIniziale) > 4 then close stack "Answer Dialog" exit to top else send "ControlloTempo" to me in 2 seconds put the result into gTEMPOCONTROL end if end ControlloTempo From r.venzl-schubert at t-online.de Fri Aug 24 11:24:21 2007 From: r.venzl-schubert at t-online.de (Reinhold Venzl-Schubert) Date: Fri, 24 Aug 2007 17:24:21 +0200 Subject: How to switch of preview in menubar on MacOS In-Reply-To: <20070824122315.36AB1489909@mail.runrev.com> References: <20070824122315.36AB1489909@mail.runrev.com> Message-ID: <8C229D7A-2230-4824-8AB8-093C4B93236F@t-online.de> Hi Ian, thank you today it works as you write, but yesterday was a strange day :-( Reinhold Am 24.08.2007 um 14:23 schrieb Ian Wood: > It should automatically swap back to the normal bar as soon as you > swap back into edit mode. > > Ian > > On 24 Aug 2007, at 08:06, Reinhold Venzl-Schubert wrote: > >> Hi! >> >> I selected "Preview in Menu Bar", closed the Menu Builder and than >> I cannot switch back to the original Rev Menubar. >> The only way I found is to close Rev completely and restart it again. >> >> Is there any smarter way to switch back the Rev Menubar? >> >> Thanks >> Reinhold From dan at clearvisiontech.com Fri Aug 24 12:33:59 2007 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 24 Aug 2007 09:33:59 -0700 Subject: Unicode Wrapping In-Reply-To: <20070824122314.E526D489975@mail.runrev.com> Message-ID: Hello - I have some Unicode text (Vietnamese) in a field. The characters are displaying and printing correctly. The textFont is set to ",Unicode". However, when Revolution wraps this text, it is splitting the words in half. An English equivalent would be: |-------------------------------------------------------| | This is a test. This is only a test. If this had be | | en an actual emergency, you would have been informed | | where to tune in your area for official information a | | nd news. This concludes this test. | |-------------------------------------------------------| Do I have to somehow tell Revolution that the field contains Unicode text so it wraps correctly? Any thoughts will be helpful! Thank you in advance, Dan From m.schonewille at economy-x-talk.com Fri Aug 24 12:53:01 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 24 Aug 2007 18:53:01 +0200 Subject: Unicode Wrapping In-Reply-To: References: Message-ID: <5637E6C4-57FC-4765-82B2-FA2A533FF695@economy-x-talk.com> Hi Dan, I'm sorry to tell you that Revolution cannot wrap double-byte unicode text correctly. You might want to check the formattedwidth of each line and replace the last space of the line with a return if the formattedwidth of that particular line is larger than the width of the field. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.com Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com Op 24-aug-2007, om 18:33 heeft Dan Friedman het volgende geschreven: > Hello - > > I have some Unicode text (Vietnamese) in a field. The characters are > displaying and printing correctly. The textFont is set to ",Unicode". > However, when Revolution wraps this text, it is splitting the words > in half. > An English equivalent would be: > > |-------------------------------------------------------| > | This is a test. This is only a test. If this had be | > | en an actual emergency, you would have been informed | > | where to tune in your area for official information a | > | nd news. This concludes this test. | > |-------------------------------------------------------| > > Do I have to somehow tell Revolution that the field contains > Unicode text so > it wraps correctly? Any thoughts will be helpful! > > Thank you in advance, > > Dan > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Fri Aug 24 13:48:47 2007 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 24 Aug 2007 12:48:47 -0500 Subject: close the answer dialog from script In-Reply-To: References: Message-ID: <20070824124847398259.f1df7b43@sonsothunder.com> On Fri, 24 Aug 2007 16:26:07 +0200, paolo mazza wrote: > Thanks for your help. I tryed to use the command > > close stack "Answer Dialog" > > Actually it closes the answer dialog but unfortunately the > > exit to top > > command in the following line does not work and the it does not stop. What you need to do is set a flag in your closeAnswerDialog handler that can be checked after the answer dialog line has been executed. Since it's modal, once it closes, it will continue processing lines of code after the "answer" command. So you can do this: global TempoIniziale,gTEMPOCONTROL,gBailOut on mouseUp put false into gBailOut put the seconds into TempoIniziale ControlloTempo answer "You are great" with "OK" and "Annulla" if gBailOut then exit to top if it is "OK" then put "1" into message else put "2" into message end if end mouseUp on ControlloTempo put the seconds into TEMPO2 -- put TEMPO2 && TempoIniziale & return after message if (TEMPO2 - TempoIniziale) > 4 then put true into gBailOut close stack "Answer Dialog" exit to top else send "ControlloTempo" to me in 2 seconds put the result into gTEMPOCONTROL end if end ControlloTempo Try that... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From scott at elementarysoftware.com Fri Aug 24 14:04:36 2007 From: scott at elementarysoftware.com (Scott Morrow) Date: Fri, 24 Aug 2007 11:04:36 -0700 Subject: email notification from app Message-ID: <400CFFD4-1A51-4A87-B54B-28D9F7F46177@elementarysoftware.com> I was using altEmailHarness and Sean Shao's libSmtp as the model for building a bug notification feature allowing the user to send an email directly from an application. It occurred to me that using "post" (I already have a form that for the job) might work just as well and have the added flexibility of allowing me to change hosts without needing to update the settings in the application. In my tests both seem to perform well but being new to either technique I wondered if, before committing myself, anyone on the list had thoughts about one method over the other. Thanks. -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- From scott at elementarysoftware.com Fri Aug 24 14:33:58 2007 From: scott at elementarysoftware.com (Scott Morrow) Date: Fri, 24 Aug 2007 11:33:58 -0700 Subject: email notification from app In-Reply-To: <400CFFD4-1A51-4A87-B54B-28D9F7F46177@elementarysoftware.com> References: <400CFFD4-1A51-4A87-B54B-28D9F7F46177@elementarysoftware.com> Message-ID: Folks, I have posted the list too soon (again) I now see that Andre and others seem to have discussed this somewhat already in the July thread "Re: Automatic mail send (RevMail?)" Further thoughts still appreciated. -Scott On Aug 24, 2007, at 11:04 AM, Scott Morrow wrote: > I was using altEmailHarness and Sean Shao's libSmtp as the model > for building a bug notification feature allowing the user to send > an email directly from an application. It occurred to me that > using "post" (I already have a form that for the job) might work > just as well and have the added flexibility of allowing me to > change hosts without needing to update the settings in the > application. In my tests both seem to perform well but being new > to either technique I wondered if, before committing myself, anyone > on the list had thoughts about one method over the other. Thanks. > > > -Scott Morrow > > Elementary Software > (Now with 20% less chalk dust !) > web http://elementarysoftware.com/ > email scott at elementarysoftware.com > > ----------------------------------------------------------------- From chipp at chipp.com Fri Aug 24 15:24:39 2007 From: chipp at chipp.com (Chipp Walters) Date: Fri, 24 Aug 2007 14:24:39 -0500 Subject: email notification from app In-Reply-To: References: <400CFFD4-1A51-4A87-B54B-28D9F7F46177@elementarysoftware.com> Message-ID: <7aa52a210708241224y3d82aae9m1eb367e920ffd8b1@mail.gmail.com> Hi Scott, I've found using altEmailHarness with a dedicated smtp server seems to work best for me. The trick is in keeping others from sniffing your smtp user/password combo and then using your mailserver as a spammer. As you've probably found out by now, altEmailHarness is very basic in what it does...no attachments or html formatting. Even though, I've found it quite useful on a number of projects. best, Chipp From ambassador at fourthworld.com Fri Aug 24 18:39:08 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 Aug 2007 15:39:08 -0700 Subject: [OT] knujon Message-ID: <46CF5E0C.5070805@fourthworld.com> A new way to fight spam: The site: A Thunderbird extension for knujon: -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From katir at hindu.org Fri Aug 24 18:52:35 2007 From: katir at hindu.org (Sivakatirswami) Date: Fri, 24 Aug 2007 12:52:35 -1000 Subject: OT: Future of PHP - LAMP Based Web Site Technology Message-ID: <46CF6133.3070706@hindu.org> This is a super blue sky query for comment: We're interested in possibly outsourcing some web dev. In response to any RFP we might issue we will no doubt get a number of developers using LAMP. I already have one handy. All his web sites are *.php based (and table based) zero javascript or AJAX. We are wondering about the future of putting a huge amount of data into a PHP based web "container" Anyone have any comments? PHP is alive and well and moving forward... It is the basis for our wiki (PMwiki) On the other hand I don't see any in use in many progressive "Web 2.0" sites. Not a single page at www.apple.com google or Flickr uses PHP. If we were, e.g. to take "www.hinduismtoday.com" from it current "retro" state (very much in need of a make over) to a new future, I'm concerned that pouring all that content into LAMP, could throttle any movement forward after that... Our content is a perfect candidate from offering API's for mashups. And our "mission statement" would definitely involve taking the wrapper off the data and making it available. This kind of code (below) makes me nervous... but I don't know if my gut feeling is simply based on ignorance of the unknown, or if it is a valid intuition that if we went this direction we would be hobbling our future: # every single dynamic element involves kicking the PHP can...
Home | About Kauai United Way | Contribute | Participating Agencies | Contact | News | Frequently Asked Questions | Sitemap | Privacy | Link to Us Insights anyone? This is a "no holds barred" discussion: tell it like you see it. if it is felt this should not be exposed on the list, email me off list... up to you. Though I suspect it would interest many here... TIA: Looking for the Big Picture on Future Web Dev Sivakatirswami From lfredricks at proactive-intl.com Fri Aug 24 19:42:29 2007 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri, 24 Aug 2007 16:42:29 -0700 Subject: Future of PHP - LAMP Based Web Site Technology In-Reply-To: <46CF6133.3070706@hindu.org> References: <46CF6133.3070706@hindu.org> Message-ID: <001001c7e6a8$6f992470$6601a8c0@GATEWAY> > Anyone have any comments? PHP is alive and well and moving forward... > It is the basis for our wiki (PMwiki) > > On the other hand I don't see any in use in many progressive > "Web 2.0" > sites. > Not a single page at www.apple.com google or Flickr uses PHP. Im really taken with Joomla, which is built with PHP. In fact, a very large number of CMS's use PHP, as do quite a few wikis out there. For an almost entirely server-side language, PHP is really good and non-proprietary. We've added plugin support to Valentina Server products that support PHP 4 and 5 scripting - in fact, that's the way you interact with the free Valentina Community Server product. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From josh at dvcreators.net Fri Aug 24 20:30:27 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 24 Aug 2007 17:30:27 -0700 Subject: OT: Future of PHP - LAMP Based Web Site Technology In-Reply-To: <46CF6133.3070706@hindu.org> References: <46CF6133.3070706@hindu.org> Message-ID: <5204D03C-DEFC-4D11-90F2-2EDF1D6E4887@dvcreators.net> PHP is so entrenched it's not going away anytime in the next decade. There are many PHP AJAX frameworks: http://ajaxpatterns.org/ PHP_Ajax_Frameworks PHP is not as elegant as Ruby but a lot easier to learn and tweak. LAMP is alive and well. (Apple has a few pages using PHP but prefers their own "WebObjects".) --- Rather than reinvent the wheel, I would strongly suggest adapting an existing open source CMS rather than starting from scratch. The truth is, with Wordpress you can launch a finished website with a custom theme, AJAX search and display, media plaback, built-in podcasting and a zillion other possibilites through plugins (http:// codex.wordpress.org/Plugins#WordPress_Plugins_List). It is fast, elegant and powerful. I always challenge anyone to think of functionality for a website that cannot be instantly added to Wordpress with one of the thousands of available plugins or fairly easily coded by most any PHP expert. DVcreators.net is a Wordpress site: http://dvcreators.net/ There are hundreds of thousands more, and a strong, active developer community. And it's almost all free and open source. It is sad to see so many struggle with last century HTML-built websites- where updating takes more than 60 seconds. I can add an article to our site faster than just opening Dreamweaver (which I haven't opened in years). Avoid Joomla, it is an obsolete, unofficial offshoot of Mambo which is an archaic, buggy, badly designed CMS. If you want something more complex than Wordpress (but why make life more complicated than it needs to be?) check out Xoops or Drupal. On Aug 24, 2007, at 3:52 PM, Sivakatirswami wrote: > This is a super blue sky query for comment: > > We're interested in possibly outsourcing some web dev. In response > to any RFP we might issue > we will no doubt get a number of developers using LAMP. I already > have one handy. > > All his web sites are *.php based (and table based) zero > javascript or AJAX. > > We are wondering about the future of putting a huge amount of data > into a PHP based web "container" > > Anyone have any comments? PHP is alive and well and moving forward... > It is the basis for our wiki (PMwiki) > > On the other hand I don't see any in use in many progressive "Web > 2.0" sites. > Not a single page at www.apple.com google or Flickr uses PHP. > > If we were, e.g. to take "www.hinduismtoday.com" from it current > "retro" state > (very much in need of a make over) to a new future, I'm concerned that > pouring all that content into LAMP, could throttle any movement > forward after that... > > Our content is a perfect candidate from offering API's for mashups. > And our "mission statement" would definitely involve taking the > wrapper > off the data and making it available. > > This kind of code (below) makes me nervous... but I don't know if > my gut feeling > is simply based on ignorance of the unknown, or if it is a valid > intuition that > if we went this direction we would be hobbling our future: > > # every single dynamic element involves kicking the PHP can... > >
> Home | > About Kauai > United Way | > Contribute | > > Participating > Agencies | > Contact | > News | > Frequently Asked > Questions | > Sitemap | > Privacy | > > Link to Us > > Insights anyone? This is a "no holds barred" discussion: tell it > like you see it. > if it is felt this should not be exposed on the list, email me off > list... > up to you. Though I suspect it would interest many here... > > TIA: > > Looking for the Big Picture > on Future Web Dev > > 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 josh at dvcreators.net Fri Aug 24 20:52:50 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 24 Aug 2007 17:52:50 -0700 Subject: jjAnswerFTPfile and jjAnswerFTPfolder In-Reply-To: <29889B10-1C82-4020-B226-B6D35C9BACC6@dvcreators.net> References: <29889B10-1C82-4020-B226-B6D35C9BACC6@dvcreators.net> Message-ID: - Fixed a bug causing stack not to show. - "Make folder" button now works. - Syntax now includes "tWindowTitle" parameter : jjAnswerFTPfile tURL, tUserName, tPassword, tWindowTitle, tMsg jjAnswerFTPfolder tURL, tUserName, tPassword, tWindowTitle, tMsg, showFiles latest version: http://leapingbrain.com/products/jjanswerFTPdemo.rev.zip Enjoy! On Aug 23, 2007, at 5:54 PM, Josh Mellicker wrote: > Answer file and answer folder are great ways for the user (or > coder) to browse their local hard drive and select a folder or file. > > But browsing a remote FTP folder has never been as easy- until now! > > > Here is a stack you can include as a substack in your projects that > make browsing and choosing remote folders and files as easy as > local ones. > > > Instructions: > > jjAnswerFTPfile: > ---------------- > > Syntax: > jjAnswerFTPfile tURL, tUserName, tPassword, tMsg > > Description: > tURL: the URL of the site (example: "craniumnet.com") > tUserName: the FTP username > tPassword: the FTP password > tMsg: the dialog message you want to appear (example: "Please > choose a file") > > You will find the remote file and path in the DialogData. > > > > jjAnswerFTPfile: > ---------------- > > Syntax: > jjAnswerFTPfolder tURL, tUserName, tPassword, tMsg, showFiles > > > Description: > tURL: the URL of the site (example: "craniumnet.com") > tUserName: the FTP username > tPassword: the FTP password > tMsg: the dialog message you want to appear (example: "Please > choose a folder") > showFiles: set this to "showFiles" if you want files to appear in > the browser. Leave it empty (or set it to anything else) if you > want only folders showing up. > > You will find the path to the remote folder in the DialogData. > > > --- > > This is far from polished, for example, the "make new folder" > button doesn't work yet :-) > > Also, you may want not just the path returned by the correct ftp > string for accessing the data, which can be easily done with a > slight mod. I will upload this one soon, let me know if you have > questions. > > --- > > For the demo, just fill in the fields and hit the buttons to see a > demonstration. > > Anyway, I hope this will prove valuable to those of you needing to > browse and choose remote files and folders. > > The stack is here: > > leapingbrain.com/products/jjanswerFTPdemo.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 briany at qldlearning.com Fri Aug 24 21:06:56 2007 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 24 Aug 2007 18:06:56 -0700 Subject: OT: Future of PHP - LAMP Based Web Site Technology In-Reply-To: <46CF6133.3070706@hindu.org> References: <46CF6133.3070706@hindu.org> Message-ID: <24FA3CB9-CE82-43A6-9A91-6AC6DC6A6874@qldlearning.com> Sivakatirswami, FWIW, Flickr actually *is* written in PHP. They just use browser friendly URLs (which are easily configured with Apache to hide things like ".php" extensions). Cal Henderson, the original lead developer, actually wrote a great book: Building Scalable Web Sites (The Flickr Way) which uses PHP throughout. Facebook is also written in PHP, and many other large sites. I think you'll find that the language has a huge installed base and will be around quite some time. With that said, I would focus on what people with similar needs to your are using - and don't assume that you can tell just by visiting their site. If you can't tell what they are using, there is a decent chance it's PHP! In regards to your html snippet, I would just say that using PHP doesn't mean that you have to run *everything* through PHP. You can most certainly supply links to static content. For example, there is no reason per se to have your privacy policy coming from a PHP file- it might as well just be privacy.html. If you use an off-the-shelf CMS solution, you may find that everything gets tunneled through PHP scripts, but even that is not so bad -- the performance is quite good if properly configured (and/or if you aren't taking on a huge amount of traffic). Either which way, I wouldn't find the snippet you posted alarming - it all really depends on your needs and what kind of data you are going to be displaying on those pages. Hope that helps and feel free to contact me off-list if you have specific PHP questions that I might be able to help you with. > This is a super blue sky query for comment: > > We're interested in possibly outsourcing some web dev. In response > to any RFP we might issue > we will no doubt get a number of developers using LAMP. I already > have one handy. > > All his web sites are *.php based (and table based) zero > javascript or AJAX. > > We are wondering about the future of putting a huge amount of data > into a PHP based web "container" > > Anyone have any comments? PHP is alive and well and moving forward... > It is the basis for our wiki (PMwiki) > > On the other hand I don't see any in use in many progressive "Web > 2.0" sites. > Not a single page at www.apple.com google or Flickr uses PHP. > > If we were, e.g. to take "www.hinduismtoday.com" from it current > "retro" state > (very much in need of a make over) to a new future, I'm concerned that > pouring all that content into LAMP, could throttle any movement > forward after that... > > Our content is a perfect candidate from offering API's for mashups. > And our "mission statement" would definitely involve taking the > wrapper > off the data and making it available. > > This kind of code (below) makes me nervous... but I don't know if > my gut feeling > is simply based on ignorance of the unknown, or if it is a valid > intuition that > if we went this direction we would be hobbling our future: > > # every single dynamic element involves kicking the PHP can... > >
> Home | > About Kauai > United Way | > Contribute | > > Participating > Agencies | > Contact | > News | > Frequently Asked > Questions | > Sitemap | > Privacy | > > Link to Us > > Insights anyone? This is a "no holds barred" discussion: tell it > like you see it. > if it is felt this should not be exposed on the list, email me off > list... > up to you. Though I suspect it would interest many here... > > TIA: > > Looking for the Big Picture > on Future Web Dev > > 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 --- Brian Yennie QLD Learning From josh at dvcreators.net Sat Aug 25 02:32:37 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 24 Aug 2007 23:32:37 -0700 Subject: OT: Future of PHP - LAMP Based Web Site Technology In-Reply-To: <24FA3CB9-CE82-43A6-9A91-6AC6DC6A6874@qldlearning.com> References: <46CF6133.3070706@hindu.org> <24FA3CB9-CE82-43A6-9A91-6AC6DC6A6874@qldlearning.com> Message-ID: Here's part of Apple.com written in php: http://www.apple.com/software/pro/training/centers.php Hehe, they have the old header from months ago... someone needs to wake up in that department. On Aug 24, 2007, at 6:06 PM, Brian Yennie wrote: > Sivakatirswami, > > FWIW, Flickr actually *is* written in PHP. They just use browser > friendly URLs (which are easily configured with Apache to hide > things like ".php" extensions). Cal Henderson, the original lead > developer, actually wrote a great book: Building Scalable Web Sites > (The Flickr Way) which uses PHP throughout. > > Facebook is also written in PHP, and many other large sites. I > think you'll find that the language has a huge installed base and > will be around quite some time. > > With that said, I would focus on what people with similar needs to > your are using - and don't assume that you can tell just by > visiting their site. If you can't tell what they are using, there > is a decent chance it's PHP! > > In regards to your html snippet, I would just say that using PHP > doesn't mean that you have to run *everything* through PHP. You can > most certainly supply links to static content. For example, there > is no reason per se to have your privacy policy coming from a PHP > file- it might as well just be privacy.html. If you use an off-the- > shelf CMS solution, you may find that everything gets tunneled > through PHP scripts, but even that is not so bad -- the performance > is quite good if properly configured (and/or if you aren't taking > on a huge amount of traffic). Either which way, I wouldn't find the > snippet you posted alarming - it all really depends on your needs > and what kind of data you are going to be displaying on those pages. > > Hope that helps and feel free to contact me off-list if you have > specific PHP questions that I might be able to help you with. > >> This is a super blue sky query for comment: >> >> We're interested in possibly outsourcing some web dev. In response >> to any RFP we might issue >> we will no doubt get a number of developers using LAMP. I already >> have one handy. >> >> All his web sites are *.php based (and table based) zero >> javascript or AJAX. >> >> We are wondering about the future of putting a huge amount of data >> into a PHP based web "container" >> >> Anyone have any comments? PHP is alive and well and moving forward... >> It is the basis for our wiki (PMwiki) >> >> On the other hand I don't see any in use in many progressive "Web >> 2.0" sites. >> Not a single page at www.apple.com google or Flickr uses PHP. >> >> If we were, e.g. to take "www.hinduismtoday.com" from it current >> "retro" state >> (very much in need of a make over) to a new future, I'm concerned >> that >> pouring all that content into LAMP, could throttle any movement >> forward after that... >> >> Our content is a perfect candidate from offering API's for mashups. >> And our "mission statement" would definitely involve taking the >> wrapper >> off the data and making it available. >> >> This kind of code (below) makes me nervous... but I don't know if >> my gut feeling >> is simply based on ignorance of the unknown, or if it is a valid >> intuition that >> if we went this direction we would be hobbling our future: >> >> # every single dynamic element involves kicking the PHP can... >> >>
>> Home | >> About Kauai >> United Way | >> Contribute | >> >> Participating >> Agencies | >> Contact | >> News | >> Frequently >> Asked Questions | >> Sitemap | >> Privacy | >> >> Link to Us >> >> Insights anyone? This is a "no holds barred" discussion: tell it >> like you see it. >> if it is felt this should not be exposed on the list, email me off >> list... >> up to you. Though I suspect it would interest many here... >> >> TIA: >> >> Looking for the Big Picture >> on Future Web Dev >> >> 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 > > --- > Brian Yennie > QLD Learning > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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.miclo at wanadoo.fr Sat Aug 25 07:45:50 2007 From: eric.miclo at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Miclo?=) Date: Sat, 25 Aug 2007 13:45:50 +0200 Subject: Saving a field containing text and images In-Reply-To: References: <46CF6133.3070706@hindu.org> <24FA3CB9-CE82-43A6-9A91-6AC6DC6A6874@qldlearning.com> Message-ID: Hello, Does anybody know how to save the content of a field populated with text and images (chars set with imageSource)? Thanks a lot for any advice. Best, ?rIC -- My NeXT computer will Be a Mac too! -- From eric.chatonet at sosmartsoftware.com Sat Aug 25 07:51:51 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 25 Aug 2007 13:51:51 +0200 Subject: Saving a field containing text and images In-Reply-To: References: <46CF6133.3070706@hindu.org> <24FA3CB9-CE82-43A6-9A91-6AC6DC6A6874@qldlearning.com> Message-ID: <8019A200-F0A2-4458-837C-767CAC1FAB59@sosmartsoftware.com> Bonjour Eric, Le 25 ao?t 07 ? 13:45, ?ric Miclo a ?crit : > Hello, > > Does anybody know how to save the content of a field populated with > text and images (chars set with imageSource)? > > Thanks a lot for any advice. > > Best, > > ?rIC It depends where you want to save your field. But in Rev, if you save the hmltText of your field you should be able to get all data:

Eric Miclo

Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From len-morgan at crcom.net Sat Aug 25 10:14:33 2007 From: len-morgan at crcom.net (Len Morgan) Date: Sat, 25 Aug 2007 09:14:33 -0500 Subject: Rev Studio and Vista Message-ID: <46D03949.3070104@crcom.net> I've just gotten a new computer and want to retire my old (XP Pro) desktop. The new machine is a laptop and I'm a heavy user of Galaxy/GLX2. I can't seem to find where to install the plugins (in general) under Vista. The \Documents and Settings\USERNAME\My Revolution Studio isn't anywhere to be found. Where exactly is the "Special Folder" for plugins and while we're at it, where can I install a Rev app so that it is available to all users of a computer (on Vista). I used to use "Documents and Settings\All Users\Application Data\ Thanks! Len Morgan From jerry at daniels-mara.com Sat Aug 25 10:37:31 2007 From: jerry at daniels-mara.com (Jerry Daniels) Date: Sat, 25 Aug 2007 09:37:31 -0500 Subject: Rev Studio and Vista In-Reply-To: <46D03949.3070104@crcom.net> References: <46D03949.3070104@crcom.net> Message-ID: Len, I've looked at Vista and it has the same set up system as XP. You do have a folder where your documents are supposed to reside. You can discover that with the specialFolderPath function, if need be. HOWEVER, on installing Revolution, it does NOT create the third party plugins folder for you. You have to do this yourself, or use the Galaxy 1.5 Installer to install Galaxy to create it. All that said, the easy way to solve this problem is to create the third party plugins folder yourself. Create "My Revolution Studio" folder in your "blessed" documents folder. Then within the newly created "My Revolution Studio" folder, create a folder called "plugins" and put your "Galaxy Studio Startup.rev" file and your "GLX2 Code.rev" files in there. Then restart Revolution on your Vista machine and you'll be as right as rain. Lemme know if you have any more problems. JD On Aug 25, 2007, at 9:14 AM, Len Morgan wrote: > I've just gotten a new computer and want to retire my old (XP Pro) > desktop. The new machine is a laptop and I'm a heavy user of > Galaxy/GLX2. I can't seem to find where to install the plugins (in > general) under Vista. The \Documents and Settings\USERNAME\My > Revolution Studio isn't anywhere to be found. > > Where exactly is the "Special Folder" for plugins and while we're > at it, where can I install a Rev app so that it is available to all > users of a computer (on Vista). I used to use "Documents and > Settings\All Users\Application Data\ > > Thanks! > > 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 eric.miclo at wanadoo.fr Sat Aug 25 11:06:06 2007 From: eric.miclo at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Miclo?=) Date: Sat, 25 Aug 2007 17:06:06 +0200 Subject: Saving a field containing text and images In-Reply-To: <8019A200-F0A2-4458-837C-767CAC1FAB59@sosmartsoftware.com> References: <46CF6133.3070706@hindu.org> <24FA3CB9-CE82-43A6-9A91-6AC6DC6A6874@qldlearning.com> <8019A200-F0A2-4458-837C-767CAC1FAB59@sosmartsoftware.com> Message-ID: Bonjour ?ric, Merci pour la r?ponse rapide, comme d'habitude. J'ai fait des essais en enregistrant le htmlText du champ, mais il faut ensuite exporter toutes les images, ce qui peut entra?ner la cr?ation de nombreux fichiers. J'aurais bien voulu enregistrer le tout dans un fichier rtf, mais l? je ne vois pas comment faire. Sais-tu si quelque chose de ce genre est possible ? Salutations d'Alsace, ?rIC Hello ?ric, Thanks for your quick answer, as usual. I've made some testing by saving the field's htmlText , but after that you need to export all the images and it can lead to the creation of a huge number of files. I'd prefered saving all in a rtf, but here I don't know how to do it. Do you you if something like that is possible? Greetings from Alsace, ?rIC Le 25 ao?t 07 ? 13:51, Eric Chatonet a ?crit : > Bonjour Eric, > > Le 25 ao?t 07 ? 13:45, ?ric Miclo a ?crit : > >> Hello, >> >> Does anybody know how to save the content of a field populated >> with text and images (chars set with imageSource)? >> >> Thanks a lot for any advice. >> >> Best, >> >> ?rIC > > It depends where you want to save your field. > But in Rev, if you save the hmltText of your field you should be > able to get all data: > >

Eric Miclo

> > 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 > -- My NeXT computer will Be a Mac too! -- From andre at andregarzia.com Sat Aug 25 11:31:49 2007 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 25 Aug 2007 12:31:49 -0300 Subject: question about saveStackRequest Message-ID: <7c87a2a10708250831t172346aek51dcbcfbc3e4223b@mail.gmail.com> Hello Folks, I am trying to monitor when the IDE saves a stack. I tried using saveStackRequest on a backscript and on a frontscript, both without success. I can't put the handler inside the given stacks because I don't know in advance which stack will be monitored. The idea is to watch when a user saves some stack and replicate this stack to a remote server. The stack is added to a watch list by the user, something like: (*) Keep server up to date" and from that point on, the stack is thus watched. In my tests here, my scripts running as a front or back script can't see that event. I believe that the IDE is sending that directly to the stack without going thru the message path, is this possible? Any Clue? Andre From ambassador at fourthworld.com Sat Aug 25 11:33:59 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 25 Aug 2007 08:33:59 -0700 Subject: Saving a field containing text and images Message-ID: <46D04BE7.9000409@fourthworld.com> ?ric Miclo wrote: > I've made some testing by saving the field's htmlText , but after > that you need to export all the images and it can lead to the > creation of a huge number of files. > I'd prefered saving all in a rtf, but here I don't know how to do it. If you need these files to be opened with other apps, then something like RTF would be the way to go. Given all the support Rev has built-in for things like base64, imageData, etc., I would imagine one could write RTFs with embedded images without much trouble. Of course if you want these displayable in your app too you'll need to write an RTF parser than pulls the images back out again when reading. If yours is the only app that will read these files, you could also consider saving a stack file as the document. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From eric.chatonet at sosmartsoftware.com Sat Aug 25 11:38:05 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 25 Aug 2007 17:38:05 +0200 Subject: question about saveStackRequest In-Reply-To: <7c87a2a10708250831t172346aek51dcbcfbc3e4223b@mail.gmail.com> References: <7c87a2a10708250831t172346aek51dcbcfbc3e4223b@mail.gmail.com> Message-ID: <63532C0D-B736-453C-B5F6-2ED4BEDC3950@sosmartsoftware.com> Hi ANdre, You might try to trap 'revSaveStackRequest', a message listed among the ones a plugin can receive. Sounds a good direction to go :-) Le 25 ao?t 07 ? 17:31, Andre Garzia a ?crit : > Hello Folks, > I am trying to monitor when the IDE saves a stack. I tried using > saveStackRequest on a backscript and on a frontscript, both without > success. > I can't put the handler inside the given stacks because I don't > know in > advance which stack will be monitored. > > The idea is to watch when a user saves some stack and replicate > this stack > to a remote server. The stack is added to a watch list by the user, > something like: (*) Keep server up to date" and from that point on, > the > stack is thus watched. > > In my tests here, my scripts running as a front or back script > can't see > that event. I believe that the IDE is sending that directly to the > stack > without going thru the message path, is this possible? > > Any Clue? > > Andre Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From stephenREVOLUTION at barncard.com Sat Aug 25 11:59:12 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sat, 25 Aug 2007 08:59:12 -0700 Subject: Saving a field containing text and images In-Reply-To: References: <46CF6133.3070706@hindu.org> <24FA3CB9-CE82-43A6-9A91-6AC6DC6A6874@qldlearning.com> <8019A200-F0A2-4458-837C-767CAC1FAB59@sosmartsoftware.com> Message-ID: It's possible but complicated. I don't know if you need a document readable by something else, but if it's all to be saved and loaded by your app, it can be done. I've experimented with with saving all fields and images in a group as text descriptions. to keep the size down, all images are referenced rather than actually hold image data. 1. I get all the properties of the object into an array, and fix the returns that are in certain properties (like colors) to some other character. 2. Then I flatten the array to a list with combine. 3. Base64Encode the list 4. Replace the returns in the Base64 encoded list with linefeeds 5. this results in a single line 6 Add a key identifying what the object is (field, image, etc) & tab and then the data 7. Build the list with other objects, one per line 8. save as a single text file. This will be very small. By saving all the properties, you are also saving the HTMLtext and rect information. If the images have been resized, you also may have to save a line of actual rects and resize upon expanding. On expanding, all the fields and images are recreated and the saved properties expanded (reverse of above) and applied to the created objects, and they will be arranged exactly as you saved them. The Base64 encoded text does not have to have the returns restored; it reads sections by number of characters, not delimiter. this former theory has been tested and works. It's also really fast with text fields, images take a little longer to 'decode', but totally acceptable for say, a labeler or something. sqb > >Thanks for your quick answer, as usual. >I've made some testing by saving the field's htmlText , but after >that you need to export all the images and it can lead to the >creation of a huge number of files. >I'd prefered saving all in a rtf, but here I don't know how to do >it. Do you you if something like that is possible? > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From ambassador at fourthworld.com Sat Aug 25 12:00:20 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 25 Aug 2007 09:00:20 -0700 Subject: question about saveStackRequest Message-ID: <46D05214.3070405@fourthworld.com> Eric Chatonet wrote: > Le 25 ao?t 07 ? 17:31, Andre Garzia a ?crit: >> I am trying to monitor when the IDE saves a stack. I tried >> using saveStackRequest on a backscript and on a frontscript, >> both without success. ... >> In my tests here, my scripts running as a front or back >> script can't see that event. I believe that the IDE is >> sending that directly to the stack without going thru the >> message path, is this possible? > > You might try to trap 'revSaveStackRequest', a message listed > among the ones a plugin can receive. It would be a shame if Rev's IDE design prevented their own message path from working as documented. One could use their replicant mirror messages, but why indulge the inefficiency? If they're able to generate their scripted mirror messages, the built-in messages from which they're derived must be working fine. My hunch is that they're just trapping and not passing the saveStackRequest message. I was able to find this in their revFrontScript: on saveStackRequest global gREVMessageDispatch repeat for each line l in gREVMessageDispatch[revSaveStackRequest] send "revSaveStackRequest" to this cd of stack l end repeat put the short name of the owner of the target into tStackName revCheckScriptSaved tStackName put empty into gREVStackStatus[revTargetStack(the target)] if "id 1230" is in the frontScripts and "revTools" is in the frontScripts then select empty send "revSetMarkers true" to btn "revReshape" of stack "revTools" remove script of btn "revReshape" of stack "revTools" from front end if if not gREVSuppressMessages or (gREVSuppressMessages and revOKTarget()) then pass saveStackRequest else pass saveStackRequest to metaCard end saveStackRequest So it seems the passing of the native message is conditional. I didn't dig through the code to try to determine how that condition gets met, but hopefully this will get you started. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From kray at sonsothunder.com Sat Aug 25 12:11:05 2007 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 25 Aug 2007 11:11:05 -0500 Subject: Rev Studio and Vista In-Reply-To: <46D03949.3070104@crcom.net> References: <46D03949.3070104@crcom.net> Message-ID: <20070825111105526124.99835e8f@sonsothunder.com> On Sat, 25 Aug 2007 09:14:33 -0500, Len Morgan wrote: > I've just gotten a new computer and want to retire my old (XP Pro) > desktop. The new machine is a laptop and I'm a heavy user of > Galaxy/GLX2. I can't seem to find where to install the plugins (in > general) under Vista. The \Documents and Settings\USERNAME\My > Revolution Studio isn't anywhere to be found. In Vista that's now: C:\Users\USERNAME\Documents\My Revolution Studio But as Jerry pointed out, this isn't created automatically by Revolution; you'd have to create itt yourself. > Where exactly is the "Special Folder" for plugins and while we're at > it, where can I install a Rev app so that it is available to all > users of a computer (on Vista). I used to use "Documents and > Settings\All Users\Application Data\ In Vista this is now: C:\ProgramData You can see these all listed at the 'specialFolderPath Codes' tip on my site - I've bookmarked it because I use it so often: http://www.sonsothunder.com/devres/revolution/tips/file010.htm Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From eric.miclo at wanadoo.fr Sat Aug 25 12:35:57 2007 From: eric.miclo at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Miclo?=) Date: Sat, 25 Aug 2007 18:35:57 +0200 Subject: Saving a field containing text and images In-Reply-To: <46D04BE7.9000409@fourthworld.com> References: <46D04BE7.9000409@fourthworld.com> Message-ID: <3CBF1136-5A52-4BE6-B57A-EF07445B50BA@wanadoo.fr> Hello Richard, Well, I'd like to save the field in RTF with images embeded so other apps could open it. The problem is that I don't know how to add an image to a RTF file. I've played with base64Encode, imageData, etc without result. In fact I have no idea in what format the image has to be encoded to add it at a RTF file. Do you have some example? I'll continue to search on the net, but so far I didn't find something usefull. Thanks, best, ?rIC Le 25 ao?t 07 ? 17:33, Richard Gaskin a ?crit : > ?ric Miclo wrote: >> I've made some testing by saving the field's htmlText , but after >> that you need to export all the images and it can lead to the >> creation of a huge number of files. >> I'd prefered saving all in a rtf, but here I don't know how to do it. > > If you need these files to be opened with other apps, then > something like RTF would be the way to go. Given all the support > Rev has built-in for things like base64, imageData, etc., I would > imagine one could write RTFs with embedded images without much > trouble. Of course if you want these displayable in your app too > you'll need to write an RTF parser than pulls the images back out > again when reading. > > If yours is the only app that will read these files, you could also > consider saving a stack file as the document. > > -- > 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 > -- My NeXT computer will Be a Mac too! -- From p.jimmieson at csc.liv.ac.uk Sat Aug 25 13:17:12 2007 From: p.jimmieson at csc.liv.ac.uk (Phil Jimmieson) Date: Sat, 25 Aug 2007 18:17:12 +0100 Subject: Saving a field containing text and images In-Reply-To: <3CBF1136-5A52-4BE6-B57A-EF07445B50BA@wanadoo.fr> References: <46D04BE7.9000409@fourthworld.com> <3CBF1136-5A52-4BE6-B57A-EF07445B50BA@wanadoo.fr> Message-ID: <20070825181712.x1ze7jnbuoo00gs8@cgi.csc.liv.ac.uk> Quoting ?ric Miclo : > Hello Richard, > > Well, I'd like to save the field in RTF with images embeded so other > apps could open it. > The problem is that I don't know how to add an image to a RTF file. > I've played with base64Encode, imageData, etc without result. > In fact I have no idea in what format the image has to be encoded to > add it at a RTF file. > Do you have some example? > > I'll continue to search on the net, but so far I didn't find > something usefull. Hi ?ric If you find anything useful it'd be good to see it here. In the meantime, if you'd like Revolution to be able to save the images in a field along with the text when you retrieve the RTFtext of a field, you could consider voting for this enhancement request: http://quality.runrev.com/qacenter/show_bug.cgi?id=4231 > Le 25 ao?t 07 ? 17:33, Richard Gaskin a ?crit : > >> ?ric Miclo wrote: >>> I've made some testing by saving the field's htmlText , but after >>> that you need to export all the images and it can lead to the >>> creation of a huge number of files. >>> I'd prefered saving all in a rtf, but here I don't know how to do it. >> >> If you need these files to be opened with other apps, then >> something like RTF would be the way to go. Given all the support >> Rev has built-in for things like base64, imageData, etc., I would >> imagine one could write RTFs with embedded images without much >> trouble. Of course if you want these displayable in your app too >> you'll need to write an RTF parser than pulls the images back out >> again when reading. I'll have to have a look and see how difficult it would be to write something to save an image as RTF. It would be very useful for my major Rev project. -- Phil Jimmieson The University of Liverpool, Computer Science Dept, Ashton Bldg, Ashton Street, Liverpool L69 3BX 0151 795 4236 ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From eric.miclo at wanadoo.fr Sat Aug 25 13:30:59 2007 From: eric.miclo at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Miclo?=) Date: Sat, 25 Aug 2007 19:30:59 +0200 Subject: Saving a field containing text and images In-Reply-To: <20070825181712.x1ze7jnbuoo00gs8@cgi.csc.liv.ac.uk> References: <46D04BE7.9000409@fourthworld.com> <3CBF1136-5A52-4BE6-B57A-EF07445B50BA@wanadoo.fr> <20070825181712.x1ze7jnbuoo00gs8@cgi.csc.liv.ac.uk> Message-ID: <8B44B237-77F5-4B50-9E6B-ED684270E2CB@wanadoo.fr> Le 25 ao?t 07 ? 19:17, Phil Jimmieson a ?crit : > Quoting ?ric Miclo : > >> Hello Richard, >> >> Well, I'd like to save the field in RTF with images embeded so other >> apps could open it. >> The problem is that I don't know how to add an image to a RTF file. >> I've played with base64Encode, imageData, etc without result. >> In fact I have no idea in what format the image has to be encoded to >> add it at a RTF file. >> Do you have some example? >> >> I'll continue to search on the net, but so far I didn't find >> something usefull. > > Hi ?ric > If you find anything useful it'd be good to see it here. In the > meantime, if you'd like Revolution to be able to save the images in a > field along with the text when you retrieve the RTFtext of a field, > you > could consider voting for this enhancement request: > > http://quality.runrev.com/qacenter/show_bug.cgi?id=4231 Hello Phil, OK, I did vote for it. I did also already vote for enhancement concerning the way text is handled in fields (4944) but I'm afraid that we won't see something about that for a very long time :-( Best, ?rIC > >> Le 25 ao?t 07 ? 17:33, Richard Gaskin a ?crit : >> >>> ?ric Miclo wrote: >>>> I've made some testing by saving the field's htmlText , but after >>>> that you need to export all the images and it can lead to the >>>> creation of a huge number of files. >>>> I'd prefered saving all in a rtf, but here I don't know how to >>>> do it. >>> >>> If you need these files to be opened with other apps, then >>> something like RTF would be the way to go. Given all the support >>> Rev has built-in for things like base64, imageData, etc., I would >>> imagine one could write RTFs with embedded images without much >>> trouble. Of course if you want these displayable in your app too >>> you'll need to write an RTF parser than pulls the images back out >>> again when reading. > > I'll have to have a look and see how difficult it would be to write > something to save an image as RTF. It would be very useful for my > major > Rev project. > > -- > Phil Jimmieson > The University of Liverpool, Computer Science Dept, Ashton Bldg, > Ashton Street, Liverpool L69 3BX 0151 795 4236 > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- My NeXT computer will Be a Mac too! -- From ambassador at fourthworld.com Sat Aug 25 14:02:50 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 25 Aug 2007 11:02:50 -0700 Subject: Saving a field containing text and images Message-ID: <46D06ECA.2010101@fourthworld.com> ?ric Miclo wrote: > Well, I'd like to save the field in RTF with images embeded so other > apps could open it. > The problem is that I don't know how to add an image to a RTF file. > I've played with base64Encode, imageData, etc without result. > In fact I have no idea in what format the image has to be encoded to > add it at a RTF file. > Do you have some example? Not at the moment. I've never had a need for this myself, but if I did I'd find the published RTF specs and figure out what they require: I'm sure it'll be tedious to craft, but probably not prohibitively complicated. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From wow at together.net Sat Aug 25 16:20:53 2007 From: wow at together.net (Richard Miller) Date: Sat, 25 Aug 2007 16:20:53 -0400 Subject: FTPing a Rev OSX app In-Reply-To: <46D06ECA.2010101@fourthworld.com> References: <46D06ECA.2010101@fourthworld.com> Message-ID: <691C2BF9-F25F-472E-8618-3C07DEEF3D55@together.net> I'm sure this has been talked about before, but I can't seem to put my finger on the answer. I need to download via ftp (via RunRev code) a Mac Rev app off our remote server (a Mac Mini server) as part of an automatic file updating process when our Rev application starts up. What's the best way to do that, given the package structure of OSX apps? Clearly, an OSX Rev app cannot be treated the same as a Windows Rev exe. I thought it would be adequate to simply treat the .app as a folder and go into the Contents folder (when viewing the Package Contents), then inside the MacOS folder, then update only the actual UNIX executable file in there, but this doesn't seem to be working. Thanks for any suggestions. Richard Miller From josh at dvcreators.net Sat Aug 25 16:26:38 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Sat, 25 Aug 2007 13:26:38 -0700 Subject: jjAnswerFTPfile and jjAnswerFTPfolder In-Reply-To: References: <29889B10-1C82-4020-B226-B6D35C9BACC6@dvcreators.net> Message-ID: Added cute little blue folder icons. Done for now... I think! latest version: http://leapingbrain.com/products/jjanswerFTPdemo.rev.zip On Aug 24, 2007, at 5:52 PM, Josh Mellicker wrote: > - Fixed a bug causing stack not to show. > > - "Make folder" button now works. > > - Syntax now includes "tWindowTitle" parameter : > > jjAnswerFTPfile tURL, tUserName, tPassword, tWindowTitle, tMsg > > jjAnswerFTPfolder tURL, tUserName, tPassword, tWindowTitle, tMsg, > showFiles > > > latest version: > > http://leapingbrain.com/products/jjanswerFTPdemo.rev.zip > > > Enjoy! > > > > On Aug 23, 2007, at 5:54 PM, Josh Mellicker wrote: > >> Answer file and answer folder are great ways for the user (or >> coder) to browse their local hard drive and select a folder or file. >> >> But browsing a remote FTP folder has never been as easy- until now! >> >> >> Here is a stack you can include as a substack in your projects >> that make browsing and choosing remote folders and files as easy >> as local ones. >> >> >> Instructions: >> >> jjAnswerFTPfile: >> ---------------- >> >> Syntax: >> jjAnswerFTPfile tURL, tUserName, tPassword, tMsg >> >> Description: >> tURL: the URL of the site (example: "craniumnet.com") >> tUserName: the FTP username >> tPassword: the FTP password >> tMsg: the dialog message you want to appear (example: "Please >> choose a file") >> >> You will find the remote file and path in the DialogData. >> >> >> >> jjAnswerFTPfile: >> ---------------- >> >> Syntax: >> jjAnswerFTPfolder tURL, tUserName, tPassword, tMsg, showFiles >> >> >> Description: >> tURL: the URL of the site (example: "craniumnet.com") >> tUserName: the FTP username >> tPassword: the FTP password >> tMsg: the dialog message you want to appear (example: "Please >> choose a folder") >> showFiles: set this to "showFiles" if you want files to appear in >> the browser. Leave it empty (or set it to anything else) if you >> want only folders showing up. >> >> You will find the path to the remote folder in the DialogData. >> >> >> --- >> >> This is far from polished, for example, the "make new folder" >> button doesn't work yet :-) >> >> Also, you may want not just the path returned by the correct ftp >> string for accessing the data, which can be easily done with a >> slight mod. I will upload this one soon, let me know if you have >> questions. >> >> --- >> >> For the demo, just fill in the fields and hit the buttons to see a >> demonstration. >> >> Anyway, I hope this will prove valuable to those of you needing to >> browse and choose remote files and folders. >> >> The stack is here: >> >> leapingbrain.com/products/jjanswerFTPdemo.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 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From capellan2000 at yahoo.com Sat Aug 25 16:27:53 2007 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 25 Aug 2007 13:27:53 -0700 (PDT) Subject: Converting stacks in XPS file format In-Reply-To: <20070825170005.81E994897D9@mail.runrev.com> Message-ID: <575503.22907.qm@web36509.mail.mud.yahoo.com> Hi all, I have been reading about the XPS file format proposed by Microsoft. Does anyone have a handler to convert text fields, vector graphics and images from a stack in a XPS document? Thanks in advance. alejandro Visit my site: http://www.geocities.com/capellan2000/ ____________________________________________________________________________________ Pinpoint customers who are looking for what you sell. http://searchmarketing.yahoo.com/ From andre at andregarzia.com Sat Aug 25 17:13:17 2007 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 25 Aug 2007 18:13:17 -0300 Subject: FTPing a Rev OSX app In-Reply-To: <691C2BF9-F25F-472E-8618-3C07DEEF3D55@together.net> References: <46D06ECA.2010101@fourthworld.com> <691C2BF9-F25F-472E-8618-3C07DEEF3D55@together.net> Message-ID: <7c87a2a10708251413m22128c45r128b1f861a3d9e27@mail.gmail.com> Richard, never transfer MacOS files thru ftp without putting them on a safe container. Best way to transfer your application is by using a zip file. Zip the application bundle and use RevZip functions to extract it later. This is actually how Revolution own updater works I think. Andre On 8/25/07, Richard Miller wrote: > > I'm sure this has been talked about before, but I can't seem to put > my finger on the answer. > > I need to download via ftp (via RunRev code) a Mac Rev app off our > remote server (a Mac Mini server) as part of an automatic file > updating process when our Rev application starts up. What's the best > way to do that, given the package structure of OSX apps? Clearly, an > OSX Rev app cannot be treated the same as a Windows Rev exe. I > thought it would be adequate to simply treat the .app as a folder and > go into the Contents folder (when viewing the Package Contents), then > inside the MacOS folder, then update only the actual UNIX executable > file in there, but this doesn't seem to be working. > > Thanks for any suggestions. > Richard Miller > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From stephenREVOLUTION at barncard.com Sat Aug 25 17:39:29 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sat, 25 Aug 2007 14:39:29 -0700 Subject: FTPing a Rev OSX app In-Reply-To: <7c87a2a10708251413m22128c45r128b1f861a3d9e27@mail.gmail.com> References: <46D06ECA.2010101@fourthworld.com> <691C2BF9-F25F-472E-8618-3C07DEEF3D55@together.net> <7c87a2a10708251413m22128c45r128b1f861a3d9e27@mail.gmail.com> Message-ID: OR... you could host just the main stack on a server which could be updated by FTP and make a 'splash screen' standalone to launch it. The stack can be directly loaded from the server. Since it all goes to memory, the functionality won't suffer at all. >Richard, >never transfer MacOS files thru ftp without putting them on a safe >container. Best way to transfer your application is by using a zip file. Zip >the application bundle and use RevZip functions to extract it later. This is >actually how Revolution own updater works I think. > >Andre -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From mikeythek at gmail.com Sat Aug 25 20:00:28 2007 From: mikeythek at gmail.com (Mikey) Date: Sat, 25 Aug 2007 20:00:28 -0400 Subject: Make box of checkbox transparent Message-ID: <9b408d8e0708251700q361e0469t45ea112741debc0d@mail.gmail.com> I have a stack that has a background color. I'd like my checkboxes to be transparent so as to carry the background color through. This is on XP. How would I go about doing that? Opaque doesn't help. Blending doesn't seem to, either. From jacque at hyperactivesw.com Sat Aug 25 21:01:30 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 25 Aug 2007 20:01:30 -0500 Subject: question about saveStackRequest In-Reply-To: <7c87a2a10708250831t172346aek51dcbcfbc3e4223b@mail.gmail.com> References: <7c87a2a10708250831t172346aek51dcbcfbc3e4223b@mail.gmail.com> Message-ID: <46D0D0EA.1040307@hyperactivesw.com> Andre Garzia wrote: > In my tests here, my scripts running as a front or back script can't see > that event. I believe that the IDE is sending that directly to the stack > without going thru the message path, is this possible? The docs say that when the user chooses to save, Rev locks messages to ensure the save occurs. I'm not sure what it does to the message after that, but since it is an IDE behavior, I'm pretty sure your standalone will work correctly. I've never had any problem with the message in standalones. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Aug 25 21:08:06 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 25 Aug 2007 20:08:06 -0500 Subject: question about saveStackRequest In-Reply-To: <46D05214.3070405@fourthworld.com> References: <46D05214.3070405@fourthworld.com> Message-ID: <46D0D276.6000809@hyperactivesw.com> Richard Gaskin wrote: > if not gREVSuppressMessages or (gREVSuppressMessages and > revOKTarget()) then pass saveStackRequest > else pass saveStackRequest to metaCard > end saveStackRequest > > > So it seems the passing of the native message is conditional. I didn't > dig through the code to try to determine how that condition gets met, > but hopefully this will get you started. It's conditional, but looks like it is behaving correctly. The condition is basically to always pass the message unless the user has specifically turned off messaging via the toolbar icon. The message will also be passed regardless of the toolbar setting if the target stack is in the IDE (I think; have to look up targetOK.) If messaging *is* turned off and the target stack is a user stack, then the command is sent directly to the engine, bypassing the stack (appropriately.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From josh at dvcreators.net Sat Aug 25 22:10:50 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Sat, 25 Aug 2007 19:10:50 -0700 Subject: how to get the frame rate of a Quicktime movie? Message-ID: <2C675B43-B66F-4F55-9D0E-D8DBD93BA906@dvcreators.net> I found the following post from 2002: > Thanks Karl > > Here's what I have come up with so far. > > To determine the frame-rate of a video clip: > > It seems that if you advance the video clip from 0 by 1 frame (play > step > forward) and divide the timescale property by the currenttime > property, the > result is the video frame rate. > > Can anyone think of a better solution? > > Quicktime has both a timescale and a timebase property, but RR > doesn't seem > able to access the timebase. > -- > Robert Arnold > Associate Professor of Film > Boston University > Tel (617) 353-7735 Fax (617) 353-1084 > http://people.bu.edu/rfarnold/ I have tried "play step forward" in a myriad of forms. Has anyone successfully used this command? From bmmeili at swissonline.ch Sun Aug 26 09:13:23 2007 From: bmmeili at swissonline.ch (Martin Meili) Date: Sun, 26 Aug 2007 15:13:23 +0200 Subject: printer selection in network by script Message-ID: <33970B81-A346-4990-A32B-D8FD611F9D41@swissonline.ch> If there is more than 1 printer in a network, how can I select a printer by script (revPrintField command, neither of the two printer dialogues is shown)? Martin From wow at together.net Sun Aug 26 09:49:17 2007 From: wow at together.net (Richard Miller) Date: Sun, 26 Aug 2007 09:49:17 -0400 Subject: FTPing a Rev OSX app In-Reply-To: <7c87a2a10708251413m22128c45r128b1f861a3d9e27@mail.gmail.com> References: <46D06ECA.2010101@fourthworld.com> <691C2BF9-F25F-472E-8618-3C07DEEF3D55@together.net> <7c87a2a10708251413m22128c45r128b1f861a3d9e27@mail.gmail.com> Message-ID: Thanks Andre. I ended up transferring each individual piece of the OSX app from the server, after creating all the folders that comprise the app in advance. Didn't have to compress anything prior to transfer. Takes a bit of programming to create each folder and transfer each piece, but it works fine. I noticed this is how my ftp program deals with it as well. Richard On Aug 25, 2007, at 5:13 PM, Andre Garzia wrote: > Richard, > never transfer MacOS files thru ftp without putting them on a safe > container. Best way to transfer your application is by using a zip > file. Zip > the application bundle and use RevZip functions to extract it > later. This is > actually how Revolution own updater works I think. > > Andre > > On 8/25/07, Richard Miller wrote: >> >> I'm sure this has been talked about before, but I can't seem to put >> my finger on the answer. >> >> I need to download via ftp (via RunRev code) a Mac Rev app off our >> remote server (a Mac Mini server) as part of an automatic file >> updating process when our Rev application starts up. What's the best >> way to do that, given the package structure of OSX apps? Clearly, an >> OSX Rev app cannot be treated the same as a Windows Rev exe. I >> thought it would be adequate to simply treat the .app as a folder and >> go into the Contents folder (when viewing the Package Contents), then >> inside the MacOS folder, then update only the actual UNIX executable >> file in there, but this doesn't seem to be working. >> >> Thanks for any suggestions. >> Richard Miller >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From andre at andregarzia.com Sun Aug 26 12:41:15 2007 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 26 Aug 2007 13:41:15 -0300 Subject: FTPing a Rev OSX app In-Reply-To: References: <46D06ECA.2010101@fourthworld.com> <691C2BF9-F25F-472E-8618-3C07DEEF3D55@together.net> <7c87a2a10708251413m22128c45r128b1f861a3d9e27@mail.gmail.com> Message-ID: <7c87a2a10708260941v5fd6417age7c23b33ab4f0336@mail.gmail.com> Richard, be aware that you may lose information this way. There are hidden files inside the bundles and also resource forks on the files. You can't guarantee resource fork integrity when the file is travelling around the net. I still advise to zip or stuffit the bundle. Andre On 8/26/07, Richard Miller wrote: > > Thanks Andre. > I ended up transferring each individual piece of the OSX app from the > server, after creating all the folders that comprise the app in > advance. Didn't have to compress anything prior to transfer. Takes a > bit of programming to create each folder and transfer each piece, but > it works fine. I noticed this is how my ftp program deals with it as > well. > > Richard > > > On Aug 25, 2007, at 5:13 PM, Andre Garzia wrote: > > > Richard, > > never transfer MacOS files thru ftp without putting them on a safe > > container. Best way to transfer your application is by using a zip > > file. Zip > > the application bundle and use RevZip functions to extract it > > later. This is > > actually how Revolution own updater works I think. > > > > Andre > > > > On 8/25/07, Richard Miller wrote: > >> > >> I'm sure this has been talked about before, but I can't seem to put > >> my finger on the answer. > >> > >> I need to download via ftp (via RunRev code) a Mac Rev app off our > >> remote server (a Mac Mini server) as part of an automatic file > >> updating process when our Rev application starts up. What's the best > >> way to do that, given the package structure of OSX apps? Clearly, an > >> OSX Rev app cannot be treated the same as a Windows Rev exe. I > >> thought it would be adequate to simply treat the .app as a folder and > >> go into the Contents folder (when viewing the Package Contents), then > >> inside the MacOS folder, then update only the actual UNIX executable > >> file in there, but this doesn't seem to be working. > >> > >> Thanks for any suggestions. > >> Richard Miller > >> > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From josh at dvcreators.net Sun Aug 26 14:13:27 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Sun, 26 Aug 2007 11:13:27 -0700 Subject: jjAnswerFTPfile and jjAnswerFTPfolder In-Reply-To: References: <29889B10-1C82-4020-B226-B6D35C9BACC6@dvcreators.net> Message-ID: Fixed a bug in the "OK" button. latest version: http://leapingbrain.com/products/jjanswerFTPdemo.rev.zip On Aug 25, 2007, at 1:26 PM, Josh Mellicker wrote: > Added cute little blue folder icons. > > Done for now... I think! > > > latest version: > > http://leapingbrain.com/products/jjanswerFTPdemo.rev.zip > > > > On Aug 24, 2007, at 5:52 PM, Josh Mellicker wrote: > >> - Fixed a bug causing stack not to show. >> >> - "Make folder" button now works. >> >> - Syntax now includes "tWindowTitle" parameter : >> >> jjAnswerFTPfile tURL, tUserName, tPassword, tWindowTitle, tMsg >> >> jjAnswerFTPfolder tURL, tUserName, tPassword, tWindowTitle, >> tMsg, showFiles >> >> >> latest version: >> >> http://leapingbrain.com/products/jjanswerFTPdemo.rev.zip >> >> >> Enjoy! >> >> >> >> On Aug 23, 2007, at 5:54 PM, Josh Mellicker wrote: >> >>> Answer file and answer folder are great ways for the user (or >>> coder) to browse their local hard drive and select a folder or file. >>> >>> But browsing a remote FTP folder has never been as easy- until now! >>> >>> >>> Here is a stack you can include as a substack in your projects >>> that make browsing and choosing remote folders and files as easy >>> as local ones. >>> >>> >>> Instructions: >>> >>> jjAnswerFTPfile: >>> ---------------- >>> >>> Syntax: >>> jjAnswerFTPfile tURL, tUserName, tPassword, tMsg >>> >>> Description: >>> tURL: the URL of the site (example: "craniumnet.com") >>> tUserName: the FTP username >>> tPassword: the FTP password >>> tMsg: the dialog message you want to appear (example: "Please >>> choose a file") >>> >>> You will find the remote file and path in the DialogData. >>> >>> >>> >>> jjAnswerFTPfile: >>> ---------------- >>> >>> Syntax: >>> jjAnswerFTPfolder tURL, tUserName, tPassword, tMsg, showFiles >>> >>> >>> Description: >>> tURL: the URL of the site (example: "craniumnet.com") >>> tUserName: the FTP username >>> tPassword: the FTP password >>> tMsg: the dialog message you want to appear (example: "Please >>> choose a folder") >>> showFiles: set this to "showFiles" if you want files to appear in >>> the browser. Leave it empty (or set it to anything else) if you >>> want only folders showing up. >>> >>> You will find the path to the remote folder in the DialogData. >>> >>> >>> --- >>> >>> This is far from polished, for example, the "make new folder" >>> button doesn't work yet :-) >>> >>> Also, you may want not just the path returned by the correct ftp >>> string for accessing the data, which can be easily done with a >>> slight mod. I will upload this one soon, let me know if you have >>> questions. >>> >>> --- >>> >>> For the demo, just fill in the fields and hit the buttons to see >>> a demonstration. >>> >>> Anyway, I hope this will prove valuable to those of you needing >>> to browse and choose remote files and folders. >>> >>> The stack is here: >>> >>> leapingbrain.com/products/jjanswerFTPdemo.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 >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 Sun Aug 26 15:30:12 2007 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 26 Aug 2007 12:30:12 -0700 Subject: Send email with attachment Message-ID: <0DAD78E5-71E7-44C4-BA81-7B70FF478893@mac.com> The following command works great for opening a new email message and putting the address(s) in it. What I would like to also do is add a specific attachment to the email as well but I don't see a parameter for doing that. This would be for Mac and Windows now and Linux when Rev 2.9 comes out. revGoURL "mailto:guido at sales.example.com" I know there are ways to send email directly from Rev apps but in this case I would like to leverage the email program the user already has and not require setting up SMTP parameters. Thanks, Bill Vlahos From list at dreamscapesoftware.com Mon Aug 27 00:40:36 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Sun, 26 Aug 2007 23:40:36 -0500 Subject: Send email with attachment In-Reply-To: <0DAD78E5-71E7-44C4-BA81-7B70FF478893@mac.com> References: <0DAD78E5-71E7-44C4-BA81-7B70FF478893@mac.com> Message-ID: <46D255C4.2090608@dreamscapesoftware.com> Bill, What you could do is create the body of the email and encode the attachment directly into the message via content types (I believe it's called MIME). To see what I mean, view the source of an email message with an attachment. I am not sure though if *all* email programs would honor the embedded code when it's passed via the mailto:, and would instead just display it as inline text as opposed to an attachment. This may create confusion for some users. There is one other consideration that I hope you have not ignored, and that is that a LOT of people don't use traditional email programs. They use web based email like Hotmail or Yahoo Mail. I had implemented a mailto: script in one of my programs, only to replace it later on with a PHP script on my server that would send the email regardless of what type of email they used (or if they even had email at all). I hope that helps you in your efforts. If you're interested in a copy of the PHP script, email me off-list and I'll send you a copy. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com Bill Vlahos wrote: > The following command works great for opening a new email message and > putting the address(s) in it. What I would like to also do is add a > specific attachment to the email as well but I don't see a parameter for > doing that. This would be for Mac and Windows now and Linux when Rev 2.9 > comes out. > > revGoURL "mailto:guido at sales.example.com" > > I know there are ways to send email directly from Rev apps but in this > case I would like to leverage the email program the user already has and > not require setting up SMTP parameters. > > Thanks, > Bill Vlahos > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From briany at qldlearning.com Mon Aug 27 03:34:06 2007 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 27 Aug 2007 00:34:06 -0700 Subject: Sending Email from Apps In-Reply-To: <46D255C4.2090608@dreamscapesoftware.com> References: <0DAD78E5-71E7-44C4-BA81-7B70FF478893@mac.com> <46D255C4.2090608@dreamscapesoftware.com> Message-ID: <810FB0D8-93F9-4EA1-B926-52D98B8ED258@qldlearning.com> Question for anyone on the list which does this sort of thing from their apps: Would anyone use a subscription service for this? I know many list members who already have web hosting plans do this themselves, but how many people would rather pay a small amount for just email sending access? Something along the lines of a Rev plugin: sendWebMail accountNumber, sender, recipient, subject, message If this piques anyone's interest, I'd like to here from you off-list about your needs. --- Brian Yennie QLD Learning From palcibiades-first at yahoo.co.uk Mon Aug 27 04:18:57 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 27 Aug 2007 09:18:57 +0100 Subject: Send email with attachment Message-ID: <200708270918.57931.palcibiades-first@yahoo.co.uk> Bill writes >This would be for Mac and Windows now and Linux when >Rev 2.9 comes out Maybe use Mutt or Metamail from the shell, and not have to wait? http://www.shelldorado.com/articles/mailattachments.html Peter From klaus at major-k.de Mon Aug 27 04:30:53 2007 From: klaus at major-k.de (Klaus Major) Date: Mon, 27 Aug 2007 10:30:53 +0200 Subject: revMail with Umlauts in Bodytext? In-Reply-To: <4729F890-BFD7-43CD-8298-4C8E6A204561@major-k.de> References: <4729F890-BFD7-43CD-8298-4C8E6A204561@major-k.de> Message-ID: Hi all, > Hi friends, > > I am sure this has been answered some time in the past, but what > can I do > to use the revMail command with Umlauts in the "body"? > > This does work: > ... > revMail "support at runrev.com",,"The subject","Something without > Umlauts in it..." > ... > > This does NOT work: > ... > revMail "support at runrev.com",,"The subject","S?mething with ?ml??ts > in it..." > ... > > A mail is being generated, but the BODY is empty. > Thanks in advance. no hints anyone? C'mon, please! :-) Regards Klaus Major klaus at major-k.de http://www.major-k.de From scott at elementarysoftware.com Mon Aug 27 07:18:20 2007 From: scott at elementarysoftware.com (Scott Morrow) Date: Mon, 27 Aug 2007 04:18:20 -0700 Subject: revMail with Umlauts in Bodytext? In-Reply-To: References: <4729F890-BFD7-43CD-8298-4C8E6A204561@major-k.de> Message-ID: I'd be interested in this, too. Currently I've settled on only allowing low ascii into the body parameter. -Scott On Aug 27, 2007, at 1:30 AM, Klaus Major wrote: > Hi all, > > >> Hi friends, >> >> I am sure this has been answered some time in the past, but what >> can I do >> to use the revMail command with Umlauts in the "body"? >> >> This does work: >> ... >> revMail "support at runrev.com",,"The subject","Something without >> Umlauts in it..." >> ... >> >> This does NOT work: >> ... >> revMail "support at runrev.com",,"The subject","S?mething with >> ?ml??ts in it..." >> ... >> >> A mail is being generated, but the BODY is empty. >> Thanks in advance. > > no hints anyone? C'mon, please! :-) > > > 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 > From mark at maseurope.net Mon Aug 27 07:58:19 2007 From: mark at maseurope.net (Mark Smith) Date: Mon, 27 Aug 2007 12:58:19 +0100 Subject: Sending Email from Apps In-Reply-To: <810FB0D8-93F9-4EA1-B926-52D98B8ED258@qldlearning.com> References: <0DAD78E5-71E7-44C4-BA81-7B70FF478893@mac.com> <46D255C4.2090608@dreamscapesoftware.com> <810FB0D8-93F9-4EA1-B926-52D98B8ED258@qldlearning.com> Message-ID: <4A5C0B82-6DDF-4957-9595-0F92275C5438@maseurope.net> Do you mean like http://www.smtp.com/? best, Mark On 27 Aug 2007, at 08:34, Brian Yennie wrote: > Question for anyone on the list which does this sort of thing from > their apps: > > Would anyone use a subscription service for this? I know many list > members who already have web hosting plans do this themselves, but > how many people would rather pay a small amount for just email > sending access? > > Something along the lines of a Rev plugin: > sendWebMail accountNumber, sender, recipient, subject, message > > If this piques anyone's interest, I'd like to here from you off- > list about your needs. > > --- > Brian Yennie > QLD Learning > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From index at kenjikojima.com Mon Aug 27 08:14:47 2007 From: index at kenjikojima.com (Kenji Kojima) Date: Mon, 27 Aug 2007 08:14:47 -0400 Subject: revMail with Umlauts in Bodytext? In-Reply-To: References: <4729F890-BFD7-43CD-8298-4C8E6A204561@major-k.de> Message-ID: <76015187-4755-4E01-BCF6-439DA521CCE9@kenjikojima.com> Hi, This is Japanese way. I think you can use this on MacOSX, But I don't know on Windows. put fld "tAddress" into tAddress put fld "tCc" into tCc if platForm() is "MacOS" then put unidecode(the unicodeText of fld "tSubject", UTF8) into tSubject put unidecode(the unicodeText of fld "tBody",UTF8) into tBody else put unidecode(the unicodeText of fld "tSubject", Japanese) into tSubject put unidecode(the unicodeText of fld "tBody",Japanese) into tBody end if revMail tAddress,tCc,tSubject,tBody -- Kenji Kojima http://www.kenjikojima.com/ On Aug 27, 2007, at 4:30 AM, Klaus Major wrote: > Hi all, > > >> Hi friends, >> >> I am sure this has been answered some time in the past, but what >> can I do >> to use the revMail command with Umlauts in the "body"? >> >> This does work: >> ... >> revMail "support at runrev.com",,"The subject","Something without >> Umlauts in it..." >> ... >> >> This does NOT work: >> ... >> revMail "support at runrev.com",,"The subject","S?mething with >> ?ml??ts in it..." >> ... >> >> A mail is being generated, but the BODY is empty. >> Thanks in advance. > > no hints anyone? C'mon, please! :-) > > > 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 From klaus at major-k.de Mon Aug 27 08:35:17 2007 From: klaus at major-k.de (Klaus Major) Date: Mon, 27 Aug 2007 14:35:17 +0200 Subject: revMail with Umlauts in Bodytext? In-Reply-To: <76015187-4755-4E01-BCF6-439DA521CCE9@kenjikojima.com> References: <4729F890-BFD7-43CD-8298-4C8E6A204561@major-k.de> <76015187-4755-4E01-BCF6-439DA521CCE9@kenjikojima.com> Message-ID: Hi Kenji, > Hi, > > This is Japanese way. > I think you can use this on MacOSX, But I don't know on Windows. > > put fld "tAddress" into tAddress > put fld "tCc" into tCc > if platForm() is "MacOS" then > put unidecode(the unicodeText of fld "tSubject", UTF8) into > tSubject > put unidecode(the unicodeText of fld "tBody",UTF8) into tBody GREAT! This (UTF8) does the trick with umlauts and accents! > else > put unidecode(the unicodeText of fld "tSubject", Japanese) into > tSubject > put unidecode(the unicodeText of fld "tBody",Japanese) into tBody > end if Will check on windows later... > revMail tAddress,tCc,tSubject,tBody > -- > Kenji Kojima > http://www.kenjikojima.com/ Domo arrigato, Kojima-san! :-) Regards Klaus Major klaus at major-k.de http://www.major-k.de From lists at mangomultimedia.com Mon Aug 27 09:15:38 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 27 Aug 2007 09:15:38 -0400 Subject: revMail with Umlauts in Bodytext? In-Reply-To: References: <4729F890-BFD7-43CD-8298-4C8E6A204561@major-k.de> Message-ID: On Aug 27, 2007, at 4:30 AM, Klaus Major wrote: >> I am sure this has been answered some time in the past, but what >> can I do >> to use the revMail command with Umlauts in the "body"? >> >> This does work: >> ... >> revMail "support at runrev.com",,"The subject","Something without >> Umlauts in it..." >> ... >> >> This does NOT work: >> ... >> revMail "support at runrev.com",,"The subject","S?mething with >> ?ml??ts in it..." >> ... >> >> A mail is being generated, but the BODY is empty. >> Thanks in advance. > > no hints anyone? C'mon, please! :-) You are trying this on OS X? If so I seem to recall coming across this issue a long time ago and tracking it down to an AppleScript issue. I don't remember any more than that though. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From klaus at major-k.de Mon Aug 27 09:58:13 2007 From: klaus at major-k.de (Klaus Major) Date: Mon, 27 Aug 2007 15:58:13 +0200 Subject: revMail with Umlauts in Bodytext? In-Reply-To: References: <4729F890-BFD7-43CD-8298-4C8E6A204561@major-k.de> Message-ID: <230BCE2F-FAC4-4AE9-B238-A9520C0EA95C@major-k.de> Hi Trevor, > On Aug 27, 2007, at 4:30 AM, Klaus Major wrote: >>> I am sure this has been answered some time in the past, but what >>> can I do >>> to use the revMail command with Umlauts in the "body"? >>> This does work: >>> ... >>> revMail "support at runrev.com",,"The subject","Something without >>> Umlauts in it..." >>> ... >>> This does NOT work: >>> ... >>> revMail "support at runrev.com",,"The subject","S?mething with >>> ?ml??ts in it..." >>> ... >>> A mail is being generated, but the BODY is empty. >>> Thanks in advance. >> no hints anyone? C'mon, please! :-) > You are trying this on OS X? If so I seem to recall coming across > this issue a long time ago and tracking it down to an AppleScript > issue. I don't remember any more than that though. Yes, on OS X, but this has been already solved, please see Kenjis post from 14:15. Does work with: ... put unidecode(the unicodeText of fld "tBody",UTF8) into tBody revmail tAddress,tCc,tSubject,tBody ... although I have not the slightest idea WHY it does work this way :-) > -- > Trevor DeVore > Blue Mango Learning Systems > www.bluemangolearning.com - www.screensteps.com Regards Klaus Major klaus at major-k.de http://www.major-k.de From rolf.kocherhans at id.uzh.ch Mon Aug 27 10:22:36 2007 From: rolf.kocherhans at id.uzh.ch (Rolf Kocherhans) Date: Mon, 27 Aug 2007 16:22:36 +0200 Subject: Drag & Drop with color cursor Message-ID: Hello all I like to create a stack which allows me to drop files or folders onto an Icon on a Card and show a color cursor while hovering into the icon area. I like to mimic the way Drag & Drop looks on MacOSX 10.4 where the drop zone, in my case a semi transparent icon (png), changes into a different semi transparent icon when I drop a file or a folder from the desktop. The cursor should look like the one in iTunes (with the green ball and the white plus sign) when one drops an mp3 song from the desktop into the application window. Have a look at this program it does this very nice: http://www.versiontracker.com/dyn/moreinfo/macosx/31154 I have tried everything but I can?t get it to work ! Has anyone done something similar ? Regards Rolf From m.schonewille at economy-x-talk.com Mon Aug 27 10:41:26 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 27 Aug 2007 16:41:26 +0200 Subject: Drag & Drop with color cursor In-Reply-To: References: Message-ID: <9165613B-328B-4CBF-B88C-68876480A546@economy-x-talk.com> Hi Rolf, To use colour cursors, you should make a stack and set its window shape to a picture of the cursor you want to use. It is the only way, afaik, until someone releases an external for colour cursors or RunRev Ltd decides to support native cursors. For drag and drop, read the docs and have look at some of the examples in RevOnline. Some useful information can be found here: and one example here: . There is also an example in the 50 Working Scripts in the Getting Started section of the docs. It is called "Drag and drop a background color onto an object". 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-aug-2007, om 16:22 heeft Rolf Kocherhans het volgende geschreven: > Hello all > > I like to create a stack which allows me to drop files or folders > onto an > Icon on a Card and show a color cursor while hovering into the icon > area. > > I like to mimic the way Drag & Drop looks on MacOSX 10.4 where the > drop zone, > in my case a semi transparent icon (png), changes into a different > semi transparent > icon when I drop a file or a folder from the desktop. > > The cursor should look like the one in iTunes (with the green ball > and the white plus sign) > when one drops an mp3 song from the desktop into the application > window. > > Have a look at this program it does this very nice: > http://www.versiontracker.com/dyn/moreinfo/macosx/31154 > > > I have tried everything but I can?t get it to work ! > > Has anyone done something similar ? > > > Regards > Rolf > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From list at dreamscapesoftware.com Mon Aug 27 10:54:04 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Mon, 27 Aug 2007 09:54:04 -0500 Subject: Sending Email from Apps In-Reply-To: <810FB0D8-93F9-4EA1-B926-52D98B8ED258@qldlearning.com> References: <0DAD78E5-71E7-44C4-BA81-7B70FF478893@mac.com> <46D255C4.2090608@dreamscapesoftware.com> <810FB0D8-93F9-4EA1-B926-52D98B8ED258@qldlearning.com> Message-ID: <46D2E58C.2090805@dreamscapesoftware.com> Brian, Well, for me, I look at it this way: I'm already paying for web hosting. But otherwise I think it's a good idea and you should try it. If it works then you've got something, if it doesn't, work on it and try again. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com Brian Yennie wrote: > Question for anyone on the list which does this sort of thing from their > apps: > > Would anyone use a subscription service for this? I know many list > members who already have web hosting plans do this themselves, but how > many people would rather pay a small amount for just email sending access? > > Something along the lines of a Rev plugin: > sendWebMail accountNumber, sender, recipient, subject, message > > If this piques anyone's interest, I'd like to here from you off-list > about your needs. > > --- > Brian Yennie > QLD Learning > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Mon Aug 27 11:50:26 2007 From: len-morgan at crcom.net (Len Morgan) Date: Mon, 27 Aug 2007 10:50:26 -0500 Subject: revdb errors On Vista Message-ID: <46D2F2C2.8030305@crcom.net> I'm having a problem with my new laptop (which came with Vista) and a app that I've written. It works just fine on XP but I get an error that kills the IDE or the standalone I generate when I run it on Visa. I'm using postgresql if that makes a difference. It's not everythig because I can do lookups, inserts, updates etc. It's just a couple of reports that bomb out when getting the data to insert into the report. I haven't been able to narrow it down to a particular command or query yet but I wanted to find out if this is a known problem with Vista and rev? Thanks! Len Morgan From martyknapp at comcast.net Mon Aug 27 12:10:49 2007 From: martyknapp at comcast.net (Marty Knapp) Date: Mon, 27 Aug 2007 09:10:49 -0700 Subject: jjAnswerFTPfile and jjAnswerFTPfolder In-Reply-To: References: <29889B10-1C82-4020-B226-B6D35C9BACC6@dvcreators.net> Message-ID: <46D2F789.9010106@comcast.net> hey Josh, > Fixed a bug in the "OK" button. > > latest version: > > http://leapingbrain.com/products/jjanswerFTPdemo.rev.zip > Gets this error: The requested URL /products/jjanswerFTPdemo.rev.zip was not found on this server. Marty Knapp From christian.langers at education.lu Mon Aug 27 12:27:20 2007 From: christian.langers at education.lu (Christian Langers) Date: Mon, 27 Aug 2007 18:27:20 +0200 Subject: SQLite questions Message-ID: Hi ! I have a few questions concerning SQLite... 1. Will the external be constantly updated (e.g. the current version in REV is 3.3.15 whereas the official version of sqlite is 3.4.2 --> I use the VACUUM command and there is a known bug with it which was introduced in version 3.3.14 ; on the official website it is stated that upgrading is recommended to all users...) or have we to wait every new Revolution release and hope that the external is updated ? 2. I want to offer my users the possibility to backup their sql data and database by exporting them in a SQL file format and in a CSV file... Has anyone any idea how to dump the tables&data/database ? Well, that's all ;-) Thanks for any suggestion... Christian From stephenREVOLUTION at barncard.com Mon Aug 27 12:36:26 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 27 Aug 2007 09:36:26 -0700 Subject: SQLite questions In-Reply-To: References: Message-ID: No CSV, but Trevor's DB Library has some SQL export code that will do what you want or give you a start on your own code. http://www.mangomultimedia.com/developer/revolution/ >2. I want to offer my users the possibility to backup their sql data >and database by exporting them in a SQL file format and in a CSV >file... > Has anyone any idea how to dump the tables&data/database ? -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From briany at qldlearning.com Mon Aug 27 15:16:27 2007 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 27 Aug 2007 12:16:27 -0700 Subject: Sending Email from Apps In-Reply-To: <4A5C0B82-6DDF-4957-9595-0F92275C5438@maseurope.net> References: <0DAD78E5-71E7-44C4-BA81-7B70FF478893@mac.com> <46D255C4.2090608@dreamscapesoftware.com> <810FB0D8-93F9-4EA1-B926-52D98B8ED258@qldlearning.com> <4A5C0B82-6DDF-4957-9595-0F92275C5438@maseurope.net> Message-ID: <21B42AD0-A5CD-4C5A-B2F8-3ED40FE3F3D4@qldlearning.com> Yes, although for Rev users, it looks like this would require an SMTP library (as opposed to built-in POST support). Do you know if they offer any kind of form-based interface? I couldn't find anything to that effect. Of course if you are comfortable with SMTP this will work great, but I wonder how many people get scared off at that point. > Do you mean like http://www.smtp.com/? > > best, > > Mark --- Brian Yennie QLD Learning From briany at qldlearning.com Mon Aug 27 15:19:02 2007 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 27 Aug 2007 12:19:02 -0700 Subject: Sending Email from Apps In-Reply-To: <46D2E58C.2090805@dreamscapesoftware.com> References: <0DAD78E5-71E7-44C4-BA81-7B70FF478893@mac.com> <46D255C4.2090608@dreamscapesoftware.com> <810FB0D8-93F9-4EA1-B926-52D98B8ED258@qldlearning.com> <46D2E58C.2090805@dreamscapesoftware.com> Message-ID: <6018264A-DECF-4A13-88C5-AA219740E417@qldlearning.com> Derek, Thanks - what I'm curious to know is how many people are in your boat (already have web hosting, are comfortable doing it themselves), and how many would like an isolated email service. I probably won't try it unless there is a significant response, but I'm curious either way =). > Brian, > > Well, for me, I look at it this way: I'm already paying for web > hosting. > But otherwise I think it's a good idea and you should try it. If it > works then you've got something, if it doesn't, work on it and try > again. > > > Derek Bump > Dreamscape Software > http://www.dreamscapesoftware.com --- Brian Yennie QLD Learning From josh at dvcreators.net Mon Aug 27 15:43:17 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Mon, 27 Aug 2007 12:43:17 -0700 Subject: jjAnswerFTPfile and jjAnswerFTPfolder In-Reply-To: <46D2F789.9010106@comcast.net> References: <29889B10-1C82-4020-B226-B6D35C9BACC6@dvcreators.net> <46D2F789.9010106@comcast.net> Message-ID: Sorry about that Marty! Try now, latest version is back up. On Aug 27, 2007, at 9:10 AM, Marty Knapp wrote: > hey Josh, >> Fixed a bug in the "OK" button. >> >> latest version: >> >> http://leapingbrain.com/products/jjanswerFTPdemo.rev.zip >> > Gets this error: > > The requested URL /products/jjanswerFTPdemo.rev.zip was not found > on this server. > From list at dreamscapesoftware.com Mon Aug 27 15:41:31 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Mon, 27 Aug 2007 14:41:31 -0500 Subject: Sending Email from Apps In-Reply-To: <6018264A-DECF-4A13-88C5-AA219740E417@qldlearning.com> References: <0DAD78E5-71E7-44C4-BA81-7B70FF478893@mac.com> <46D255C4.2090608@dreamscapesoftware.com> <810FB0D8-93F9-4EA1-B926-52D98B8ED258@qldlearning.com> <46D2E58C.2090805@dreamscapesoftware.com> <6018264A-DECF-4A13-88C5-AA219740E417@qldlearning.com> Message-ID: <46D328EB.7040900@dreamscapesoftware.com> Brian, As a word of advise, test the waters first before you pass on an idea. I almost passed on releasing JPEGCompress years ago, figuring that no one would use it. Today, JPEGCompress has 45,738 downloads listed on CNET's download.com. Not releasing JPEGCompress would have been my biggest mistake. People like "easy" solutions. The only reason I went with my email solution is because I know PHP. Not everyone knows how to program for the web. So make the product... see what happens. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com Brian Yennie wrote: > Derek, > > Thanks - what I'm curious to know is how many people are in your boat > (already have web hosting, are comfortable doing it themselves), and how > many would like an isolated email service. > > I probably won't try it unless there is a significant response, but I'm > curious either way =). > >> Brian, >> >> Well, for me, I look at it this way: I'm already paying for web hosting. >> But otherwise I think it's a good idea and you should try it. If it >> works then you've got something, if it doesn't, work on it and try again. >> >> >> Derek Bump >> Dreamscape Software >> http://www.dreamscapesoftware.com > > > --- > Brian Yennie > QLD Learning > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Mon Aug 27 15:47:13 2007 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 27 Aug 2007 12:47:13 -0700 Subject: Sending Email from Apps In-Reply-To: <46D328EB.7040900@dreamscapesoftware.com> References: <0DAD78E5-71E7-44C4-BA81-7B70FF478893@mac.com> <46D255C4.2090608@dreamscapesoftware.com> <810FB0D8-93F9-4EA1-B926-52D98B8ED258@qldlearning.com> <46D2E58C.2090805@dreamscapesoftware.com> <6018264A-DECF-4A13-88C5-AA219740E417@qldlearning.com> <46D328EB.7040900@dreamscapesoftware.com> Message-ID: <05BF1F70-96BB-4894-BB54-30C8E95AD4DF@qldlearning.com> Derek, Thanks for the encouragement -- I'll have to weigh it against some other things -- but that's a nice success story with JPEGCompress =). > Brian, > > As a word of advise, test the waters first before you pass on an idea. > I almost passed on releasing JPEGCompress years ago, figuring that no > one would use it. Today, JPEGCompress has 45,738 downloads listed on > CNET's download.com. Not releasing JPEGCompress would have been my > biggest mistake. > > People like "easy" solutions. The only reason I went with my email > solution is because I know PHP. Not everyone knows how to program for > the web. So make the product... see what happens. From mark at maseurope.net Mon Aug 27 16:47:22 2007 From: mark at maseurope.net (Mark Smith) Date: Mon, 27 Aug 2007 21:47:22 +0100 Subject: Sending Email from Apps In-Reply-To: <21B42AD0-A5CD-4C5A-B2F8-3ED40FE3F3D4@qldlearning.com> References: <0DAD78E5-71E7-44C4-BA81-7B70FF478893@mac.com> <46D255C4.2090608@dreamscapesoftware.com> <810FB0D8-93F9-4EA1-B926-52D98B8ED258@qldlearning.com> <4A5C0B82-6DDF-4957-9595-0F92275C5438@maseurope.net> <21B42AD0-A5CD-4C5A-B2F8-3ED40FE3F3D4@qldlearning.com> Message-ID: Ah, I see what you mean...however, I use Shao Seans smtp library, which I find is as easy as POSTing, and works like a champ....so I guess I'm not a potential customer, but that doesn't mean it's not a good idea. Best, Mark On 27 Aug 2007, at 20:16, Brian Yennie wrote: > Yes, although for Rev users, it looks like this would require an > SMTP library (as opposed to built-in POST support). Do you know if > they offer any kind of form-based interface? I couldn't find > anything to that effect. Of course if you are comfortable with SMTP > this will work great, but I wonder how many people get scared off > at that point. > >> Do you mean like http://www.smtp.com/? >> >> best, >> >> Mark > > --- > Brian Yennie > QLD Learning > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From JimCarwardine at OwnYourFuture-net.com Mon Aug 27 17:46:50 2007 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Mon, 27 Aug 2007 18:46:50 -0300 Subject: Drag & Drop with color cursor In-Reply-To: <9165613B-328B-4CBF-B88C-68876480A546@economy-x-talk.com> Message-ID: This got wrapped and I can't figure out how to unwrap the line. Just taking out the carriage return doesn't seem to help... Jim on 8/27/07 11:41 AM, Mark Schonewille wrote: > group=gmane.comp.ide.revolution.user&query=drag+and+drop+dragdata> -- HiringSmart Canada is a successful international end-to-end human resource support business > providing science-based assessments and productivity tools to multi-branch > businesses > where each branch, without the help of an HR professional, attracts, hires and > engages THE RIGHT PEOPLE. We Help You Attract, Hire and Keep the Right People. www.TalentSeeker.ca www.HiringSmart.ca www.KeepingTheBest.ca HiringSmart Canada 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From m.schonewille at economy-x-talk.com Mon Aug 27 18:28:42 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 28 Aug 2007 00:28:42 +0200 Subject: Drag & Drop with color cursor In-Reply-To: References: Message-ID: <04FF8DE7-BF97-49A0-A67E-D0B538B51272@economy-x-talk.com> Hi Jim, Even after you quoted and resent the link, I can still click on it in Apple Mail and directly get to the correct page. I have no idea what your mail client does with it. 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-aug-2007, om 23:46 heeft Jim Carwardine het volgende geschreven: > This got wrapped and I can't figure out how to unwrap the line. > Just taking > out the carriage return doesn't seem to help... Jim > > > on 8/27/07 11:41 AM, Mark Schonewille wrote: > >> > group=gmane.comp.ide.revolution.user&query=drag+and+drop+dragdata> From jim at hiringsmart.ca Mon Aug 27 19:16:05 2007 From: jim at hiringsmart.ca (Jim Carwardine) Date: Mon, 27 Aug 2007 20:16:05 -0300 Subject: Drag & Drop with color cursor In-Reply-To: <04FF8DE7-BF97-49A0-A67E-D0B538B51272@economy-x-talk.com> Message-ID: Welcome to MS and Entourage... Jim on 8/27/07 7:28 PM, Mark Schonewille wrote: > Hi Jim, > > Even after you quoted and resent the link, I can still click on it in > Apple Mail and directly get to the correct page. I have no idea what > your mail client does with it. > > 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-aug-2007, om 23:46 heeft Jim Carwardine het volgende geschreven: > >> This got wrapped and I can't figure out how to unwrap the line. >> Just taking >> out the carriage return doesn't seem to help... Jim >> >> >> on 8/27/07 11:41 AM, Mark Schonewille wrote: >> >>> >> group=gmane.comp.ide.revolution.user&query=drag+and+drop+dragdata> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- HiringSmart Canada is a successful international end-to-end human resource support business > providing science-based assessments and productivity tools to multi-branch > businesses > where each branch, without the help of an HR professional, attracts, hires and > engages THE RIGHT PEOPLE. We Help You Attract, Hire and Keep the Right People. www.TalentSeeker.ca www.HiringSmart.ca www.KeepingTheBest.ca HiringSmart Canada 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From len-morgan at crcom.net Mon Aug 27 21:47:49 2007 From: len-morgan at crcom.net (Len Morgan) Date: Mon, 27 Aug 2007 20:47:49 -0500 Subject: Rev and Vista Troubles (Update) Message-ID: <46D37EC5.4050704@crcom.net> After trying my standalone again, it turns out that Rev is only blowing up on Vista when using the IDE. A standalone (or rather an app that uses StackRunner to launch) DOES seem to work just fine. The only error messages I'm getting in the Event Log are for revdb.dll and a "Failure To Print" message (I'm only getting the error when I try and print a report that happens to use database calls to fill in the data). I hope this will help narrow down the problem. For what it's worth, I copied the program verbatim from my XP Pro System where it DOES work both in the IDE and standalone). Len Morgan From alex at harryscollar.com Tue Aug 28 02:51:03 2007 From: alex at harryscollar.com (Alex Shaw) Date: Tue, 28 Aug 2007 16:51:03 +1000 Subject: Microsoft XML In-Reply-To: <46D37EC5.4050704@crcom.net> References: <46D37EC5.4050704@crcom.net> Message-ID: <46D3C5D7.7090907@harryscollar.com> Hi I was thinking how nice it would be if a project of mine could natively read & write excel documents. Should be easy to write a parser in rev, right? Well after reading this article that idea has be thrown into the wastebin. http://www.arstdesign.com/articles/OOXML-is-defective-by-design.html regards alex From paolo.mazza at neol.it Tue Aug 28 04:57:02 2007 From: paolo.mazza at neol.it (paolo mazza) Date: Tue, 28 Aug 2007 10:57:02 +0200 Subject: syncronize MySQL to LDAP In-Reply-To: <46D3C5D7.7090907@harryscollar.com> References: <46D37EC5.4050704@crcom.net> <,> <46D3C5D7.7090907@harryscollar.com> Message-ID: Dear friends, I want both Mysql database and MACOSX server to use the same login information to authenticate users. How can I syncronize the information in the MySQL database to the LDAP database of MACOSX server? Can I use revolution to accomplish this task? Any idea? Thanks Paolo Mazza From david at openpartnership.net Tue Aug 28 08:11:08 2007 From: david at openpartnership.net (David Bovill) Date: Tue, 28 Aug 2007 13:11:08 +0100 Subject: syncronize MySQL to LDAP In-Reply-To: References: <46D37EC5.4050704@crcom.net> <46D3C5D7.7090907@harryscollar.com> Message-ID: Sort of... most of the work will be to do with the LDAP side of things. This can get tricky so you might want to invest in a book - this is a good one: http://safari.oreilly.com/1565924916/ldapsa-APP-B With regard to Rev - there are a good selection of command line tools available on most platforms and you can use Rev to provide user friendly front ends: - http://www.zytrax.com/books/ldap/ch14/ - http://www.google.co.uk/search?q=openLDap+command+line+tools&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a From niggemann at uni-wh.de Tue Aug 28 10:44:29 2007 From: niggemann at uni-wh.de (BNig) Date: Tue, 28 Aug 2007 07:44:29 -0700 (PDT) Subject: how to get the frame rate of a Quicktime movie? In-Reply-To: <2C675B43-B66F-4F55-9D0E-D8DBD93BA906@dvcreators.net> References: <2C675B43-B66F-4F55-9D0E-D8DBD93BA906@dvcreators.net> Message-ID: <12369223.post@talk.nabble.com> hi Josh, i dont know what you need the framerate for but that is in my experience not possible to extract from within Revolution, since all you get is the duration and the timescale. This gives you the length in seconds of the movie but not the framerate. I get at the framerate by incorporating an applescript into the revolution stack and query the movie in question through the Quicktime Player. The applescript returns, if you wish so, the framerate. One way to get at the framerate manually from within Revoltion is to make a player set the filename of the player make shure the movie controls are visible and the alwaysbuffer is false then e.g. make a button that returns the current time of the player and displays it, in a field or so then to the right of the movie controls click once, that advances the movie one frame then get the current time with your button and you get the duration of one frame I have not found a way in Revolution to do this kind of thing on videoclip. to automate this the way I described obove here is an applescript to make the point tell application "QuickTime Player" tell document 1 -- make shure its a movie set theDuration to the duration set theTimeScale to the time scale tell track 1 -- make shure track 1 is a video track set theFrames to count of frames set theFrameLength to duration of frame 1 end tell end tell end tell display dialog "length in seconds: " & theDuration / theTimeScale & return & ? "framerate: " & theTimeScale / theFrameLength you can easily adapt it so it returns the values to Revolution (if you want i could adapt it for you) Quicktime knows what the framerate of a movie is but it won't tell via applescript directly You are probably well aware that the time scale i.e. the fractions of a second can vary from movie to movie, although you almost always find a time scale of 600, but I know of programms that put out a time scale of 100 in movies. And I always find it a bit confusing that a duration of a frame lets say of 4 in a movie with a time scale of 100 translates to a framerate of 25/sec (100/4), whereas a duration of a frame of 24 in a movie with a timescale of 600 (600/24) also gives you a framerate of 25/sec. Mind you, the last frame must not necessarily be a complete frame, so the duration of the movie is not always an even multiple of the frame length. (to scare even the bravest: you can set the duration of a frame via applescript, so not all frames must be of the same duration, but for almost all movies this is not the case) in Applescript you could of course get a list of the duration of all the frames of the movie: set theFrameDurationOfEveryFrame to the duration of every frame -> returns the list To sum it up: Quicktime apparently works on a frame basis, frames can have very different lengths and Quicktime Player plays them as they are. If you look at it from a frame perspective a framerate becomes a secondary measure and may even change within a movie. I hope this helps regards Bernd Josh Mellicker wrote: > > > I found the following post from 2002: > > >> Thanks Karl >> >> Here's what I have come up with so far. >> >> To determine the frame-rate of a video clip: >> >> It seems that if you advance the video clip from 0 by 1 frame (play >> step >> forward) and divide the timescale property by the currenttime >> property, the >> result is the video frame rate. >> >> Can anyone think of a better solution? >> >> Quicktime has both a timescale and a timebase property, but RR >> doesn't seem >> able to access the timebase. >> -- >> Robert Arnold >> Associate Professor of Film >> Boston University >> Tel (617) 353-7735 Fax (617) 353-1084 >> http://people.bu.edu/rfarnold/ > > > I have tried "play step forward" in a myriad of forms. > > Has anyone successfully used this 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 > > -- View this message in context: http://www.nabble.com/how-to-get-the-frame-rate-of-a-Quicktime-movie--tf4329806.html#a12369223 Sent from the Revolution - User mailing list archive at Nabble.com. From klaus at major-k.de Tue Aug 28 10:58:09 2007 From: klaus at major-k.de (Klaus Major) Date: Tue, 28 Aug 2007 16:58:09 +0200 Subject: how to get the frame rate of a Quicktime movie? In-Reply-To: <12369223.post@talk.nabble.com> References: <2C675B43-B66F-4F55-9D0E-D8DBD93BA906@dvcreators.net> <12369223.post@talk.nabble.com> Message-ID: <5DFB91F0-459F-4AC5-BDED-8212364517D1@major-k.de> Hi BNig and Josh, I just copied this from the online documentation of Trevors wonderful EnhancedQT External: ... function qtGetTrackFrameCount (MovieControllerID, TrackIndex) Description: Returns the number of frames in video track. Parameters: MovieControllerID: Target Movie Controller ID. TrackIndex: Video track index. Default is 1. Return: Number of frames or -1 on error. ... So it looks like Trevor already took care of this :-) Regards Klaus Major klaus at major-k.de http://www.major-k.de From pevensen at siboneylg.com Tue Aug 28 11:43:06 2007 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 28 Aug 2007 10:43:06 -0500 Subject: Microsoft XML In-Reply-To: <46D3C5D7.7090907@harryscollar.com> References: <46D37EC5.4050704@crcom.net> <46D3C5D7.7090907@harryscollar.com> Message-ID: <46D4428A.4020606@siboneylg.com> I should have said something on digg.com about #2. I don't really consider #2 a problem. It has to do with converting decimal to binary. Excel stores numbers as numbers, not as text, and there is no way to store 12345.12345 in binary as exactly that. -- Peter T. Evensen Juice Plus+ Independent Distributor 314-629-5248 or 888-628-4588 http://www.PetersRoadToHealth.com Alex Shaw wrote: > Hi > > I was thinking how nice it would be if a project of mine could > natively read & write excel documents. Should be easy to write a > parser in rev, right? Well after reading this article that idea has be > thrown into the wastebin. > > http://www.arstdesign.com/articles/OOXML-is-defective-by-design.html > > regards > alex From sanke at hrz.uni-kassel.de Tue Aug 28 12:03:06 2007 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Tue, 28 Aug 2007 18:03:06 +0200 Subject: Can't delete virus file with Revolution Message-ID: <46D4473A.8090303@hrz.uni-kassel.de> The virus scanner "Spyware Sweeper" found a "NMap Win 1.2.12" virus on one of my computers at "C:\WINDOWS\Installer\{CC550492-0747-48E4-A37C-5A2A0C815489}\NewShortcut1.exe", but fails to quarantine or delete it, i.e. it performs the operations of quarantining and deleting on that file, but next time when you do a virus sweep the file is there again. This could be probably a deficiency of "Spyware Sweeper", because I got other problems with that program, too. Another virus scanner, "Spy Sweeper" by Webroot, however does not flag this file as a virus. "C:\WINDOWS\Installer" is a "hidden folder" that is not displayed when I try to access it with Windows, but I can access it using Revolution and also list the subfolders - among them "{CC550492-0747-48E4-A37C-5A2A0C815489}", which contains the "NewShortcut1.exe" file. There are more "NewShortcut" files in the subdirectory with different numbers including a RTF file, which however produces garbage when I try to put it into a field using "put URL "file:C:/WINDOWS/Installer/{CC550492-0747-48E4-A37C-5A2A0C815489}/NewShortcut26.rtf" into fld 1" or "set the rtftext of fld 1 to URL "file:C:/WINDOWS/Installer/{CC550492-0747-48E4-A37C-5A2A0C815489}/NewShortcut26.rtf". Replacing "file" with "binfile" does not help either, there is only garbage in the field. Now, trying to delete the virus file using "delete URL "file:C:/WINDOWS/Installer/{CC550492-0747-48E4-A37C-5A2A0C815489}/NewShortcut1.exe" produces an error message "can' delete that file" - probably because the file's cantdelete property or the equivalent for Windows is apparently set to true. How could I change this cantdelete property of the virus in Revolution to be able to finally delete it? Any help is appreciated. Best regards, Wilhelm Sanke From kray at sonsothunder.com Tue Aug 28 12:10:16 2007 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 28 Aug 2007 11:10:16 -0500 Subject: Microsoft XML In-Reply-To: <46D4428A.4020606@siboneylg.com> References: <46D37EC5.4050704@crcom.net> <46D3C5D7.7090907@harryscollar.com> <46D4428A.4020606@siboneylg.com> Message-ID: <20070828111016309303.5adf0d51@sonsothunder.com> On Tue, 28 Aug 2007 10:43:06 -0500, Peter T. Evensen wrote: > I should have said something on digg.com about #2. I don't really > consider #2 a problem. It has to do with converting decimal to > binary. Excel stores numbers as numbers, not as text, and there is > no way to store 12345.12345 in binary as exactly that. I guess the point is that this is in the *XML*, so everything is text. Excel is already doing a conversion from the internally stored numbers to a text representation that is displayed in the spreadsheet, so the complaint is that if the point of the XML format was to allow other, non-Windows, non-Microsoft apps to work with it, it should represent what's displayed in the spreadsheet exactly in the XML. On the other hand, if the intention of the XML format was to *appear* to be able to "play with others", but in actuality was intended on only being used by Excel itself or other Microsoft products (or only other Windows apps), then leaving it in the form that Excel internally stores data and making it accessible only through a Windows-only API would make sense. ;-) Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From scott at cdroo.com Tue Aug 28 12:11:28 2007 From: scott at cdroo.com (Scott Kane) Date: Wed, 29 Aug 2007 02:11:28 +1000 Subject: Can't delete virus file with Revolution References: <46D4473A.8090303@hrz.uni-kassel.de> Message-ID: <00f201c7e98e$1aac0f20$0201010a@esbi3dg1ukz0fj> ----- Original Message ----- From: "Wilhelm Sanke" > but fails to quarantine or delete it, i.e. it performs the operations of Yep. It's being re-installed usually after a reboot, sometimes without. You need to do a Google search on removing this particalar malware variant and follow (print out and follow) the directions. You'll probably have to restart in Safe Mode to solve it. Scott Kane From m.schonewille at economy-x-talk.com Tue Aug 28 12:12:01 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 28 Aug 2007 18:12:01 +0200 Subject: Can't delete virus file with Revolution In-Reply-To: <46D4473A.8090303@hrz.uni-kassel.de> References: <46D4473A.8090303@hrz.uni-kassel.de> Message-ID: <59B4AD12-AFC9-48CB-9C2F-172A2258FB8F@economy-x-talk.com> Wilhelm, Why don't you simply tell windows to show invisible files and folders? 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-aug-2007, om 18:03 heeft Wilhelm Sanke het volgende geschreven: > The virus scanner "Spyware Sweeper" found a "NMap Win 1.2.12" virus > on one of my computers at > > "C:\WINDOWS\Installer\{CC550492-0747-48E4-A37C-5A2A0C815489} > \NewShortcut1.exe", > > but fails to quarantine or delete it, i.e. it performs the > operations of quarantining and deleting on that file, but next time > when you do a virus sweep the file is there again. This could be > probably a deficiency of "Spyware Sweeper", because I got other > problems with that program, too. > > Another virus scanner, "Spy Sweeper" by Webroot, however does not > flag this file as a virus. > > "C:\WINDOWS\Installer" is a "hidden folder" that is not displayed > when I try to access it with Windows, but I can access it using > Revolution and also list the subfolders - among them > "{CC550492-0747-48E4-A37C-5A2A0C815489}", which contains the > "NewShortcut1.exe" file. From runrev260805 at m-r-d.de Tue Aug 28 14:53:25 2007 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Tue, 28 Aug 2007 18:53:25 +0000 Subject: Can't delete virus file with Revolution Message-ID: <0002B1DA.46D48B44@192.168.168.3> The following link contains information about manually removing the virus. http://www.spywaredb.com/remove-nmap-win-1-2-12/ All the best Matthias -------- Original Message -------- Subject: Can't delete virus file with Revolution (28-Aug-2007 18:06) From: Wilhelm Sanke To: runrev260805 at m-r-d.de > The virus scanner "Spyware Sweeper" found a "NMap Win 1.2.12" virus on > one of my computers at > > "C:\WINDOWS\Installer\{CC550492-0747-48E4-A37C-5A2A0C815489}\NewShortcut1. > exe", > > but fails to quarantine or delete it, i.e. it performs the operations of > quarantining and deleting on that file, but next time when you do a > virus sweep the file is there again. This could be probably a deficiency > of "Spyware Sweeper", because I got other problems with that program, too. > > Another virus scanner, "Spy Sweeper" by Webroot, however does not flag > this file as a virus. > > "C:\WINDOWS\Installer" is a "hidden folder" that is not displayed when I > try to access it with Windows, but I can access it using Revolution and > also list the subfolders - among them > "{CC550492-0747-48E4-A37C-5A2A0C815489}", which contains the > "NewShortcut1.exe" file. > > There are more "NewShortcut" files in the subdirectory with different > numbers including a RTF file, which however produces garbage when I try > to put it into a field using > > "put URL > "file:C:/WINDOWS/Installer/{CC550492-0747-48E4-A37C-5A2A0C815489}/ > NewShortcut26.rtf" > into fld 1" > or > "set the rtftext of fld 1 to URL > "file:C:/WINDOWS/Installer/{CC550492-0747-48E4-A37C-5A2A0C815489}/ > NewShortcut26.rtf". > > Replacing "file" with "binfile" does not help either, there is only > garbage in the field. > > Now, trying to delete the virus file using > "delete URL > "file:C:/WINDOWS/Installer/{CC550492-0747-48E4-A37C-5A2A0C815489}/ > NewShortcut1.exe" > > produces an error message "can' delete that file" - probably because the > file's cantdelete property or the equivalent for Windows is apparently > set to true. > > How could I change this cantdelete property of the virus in Revolution > to be able to finally delete it? > Any help is appreciated. > > 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 > > > > > To: use-revolution at lists.runrev.com From sanke at hrz.uni-kassel.de Tue Aug 28 16:14:00 2007 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Tue, 28 Aug 2007 22:14:00 +0200 Subject: Can't delete virus file with Revolution Message-ID: <46D48208.7090204@hrz.uni-kassel.de> Mark Schonewille wrote: > Why don't you simply tell windows to show invisible files and folders? Thanks, this however was already set in my folder options, but nevertheless folder "installer" and its subfolders and files remained invisible. What was additionally necessary was to deactivate the checkbox in folder options "hide protected system files". Now the hidden folders and files are displayed and I can remove the Windows file protection. I have put the presumably infected file "NewShortcut1.exe" temporarily into the trash bin and will now run a new scan to see what happens. Matthias wrote: > The following link contains information about manually removing the virus. > > > http://www.spywaredb.com/remove-nmap-win-1-2-12/ > > > All the best > > Matthias And thanks for that link. A first search for files that are listed in that link as connected with the NMap virus came up with no results. I will continue the search, but maybe it could also be possible that file "NewShortcut1.exe" is a non-infected regular file which was mistakenly indicated as infected by the virus scanner? Best regards, Wilhelm Sanke From mikeythek at gmail.com Tue Aug 28 18:07:45 2007 From: mikeythek at gmail.com (Mikey) Date: Tue, 28 Aug 2007 18:07:45 -0400 Subject: XP: Make checkbox same color as background Message-ID: <9b408d8e0708281507w498437dy3d5956ecfedbea0c@mail.gmail.com> I was trying over the weekend to make a checkbox in XP transparent so that the box part of the checkbox would be the same color as the background, but that didn't work. Do we have a way to make a checkbox the same color as the background? Turning off opaque doesn't work, and setting the color to match the background only changes the part of the control that does not include the checkbox, which remains white. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From stephenREVOLUTION at barncard.com Tue Aug 28 18:11:59 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 28 Aug 2007 15:11:59 -0700 Subject: XP: Make checkbox same color as background In-Reply-To: <9b408d8e0708281507w498437dy3d5956ecfedbea0c@mail.gmail.com> References: <9b408d8e0708281507w498437dy3d5956ecfedbea0c@mail.gmail.com> Message-ID: make your own artwork and use an invisible button.. >I was trying over the weekend to make a checkbox in XP transparent so >that the box part of the checkbox would be the same color as the >background, but that didn't work. > >Do we have a way to make a checkbox the same color as the background? >Turning off opaque doesn't work, and setting the color to match the >background only changes the part of the control that does not include >the checkbox, which remains white. > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From alex at harryscollar.com Tue Aug 28 20:50:11 2007 From: alex at harryscollar.com (Alex Shaw) Date: Wed, 29 Aug 2007 10:50:11 +1000 Subject: Microsoft XML In-Reply-To: <46D4428A.4020606@siboneylg.com> References: <46D37EC5.4050704@crcom.net> <46D3C5D7.7090907@harryscollar.com> <46D4428A.4020606@siboneylg.com> Message-ID: <46D4C2C3.2070604@harryscollar.com> Hi In any case it makes it hard for small developers to want to support the maze-like format. 6000 pages?! Back to simple tab-delimited files for me or.. Has anyone looked at the native format used by Apple's "Numbers"? If that's simpler I can convince the client to buy that because they are Macintel-based. Just looking at the apple site it mentions Open Financial Exchange(OFX). This appears to be another Microsoft format but the 2.1.1 spec is only 665 pages long. Still a bit of reading. I think I'll get back into writing computer games after this project :) regards alex Peter T. Evensen wrote: > I should have said something on digg.com about #2. I don't really > consider #2 a problem. It has to do with converting decimal to binary. > Excel stores numbers as numbers, not as text, and there is no way to > store 12345.12345 in binary as exactly that. > From ambassador at fourthworld.com Tue Aug 28 21:35:00 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 28 Aug 2007 18:35:00 -0700 Subject: Microsoft XML Message-ID: <46D4CD44.8030208@fourthworld.com> Alex Shaw wrote: > In any case it makes it hard for small developers to want to support the > maze-like format. 6000 pages?! Not surprising. Remember, this is the company that can't even implement CSV consistently across their product line. I'm sure if you'd just use Microsoft-only tools on Microsoft-only OSes then Microsoft would provide you a Microsoft-only library to make it easy.... ;) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From revdev at pdslabs.net Tue Aug 28 22:34:42 2007 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 28 Aug 2007 19:34:42 -0700 Subject: Microsoft XML In-Reply-To: <46D4C2C3.2070604@harryscollar.com> References: <46D37EC5.4050704@crcom.net> <46D3C5D7.7090907@harryscollar.com> <46D4428A.4020606@siboneylg.com> <46D4C2C3.2070604@harryscollar.com> Message-ID: <46D4DB42.8030700@pdslabs.net> Hi Alex, Alex Shaw wrote: > Hi > > In any case it makes it hard for small developers to want to support the > maze-like format. 6000 pages?! > > Back to simple tab-delimited files for me or.. Tab-delimited text can work! Since you're working on a Mac... Here's what I do for one client and it's close enough to a spreadsheet for their needs: on mouseUp -- make the output file set the fileType to "XCELTEXT" put reportContent() into url ("file:" & fld "outputFile") wait 1 tick -- open the output file if requested if the hilite of btn "openOutputFile" = true then launch document (fld "outputFile") end if end mouseUp The 'launch' command causes the file to be opened with Excel, since the file was written with a fileType of "XCELTEXT". HTH - Phil Davis From alex at harryscollar.com Tue Aug 28 22:46:07 2007 From: alex at harryscollar.com (Alex Shaw) Date: Wed, 29 Aug 2007 12:16:07 +0930 Subject: Microsoft XML In-Reply-To: <46D4DB42.8030700@pdslabs.net> References: <46D37EC5.4050704@crcom.net> <46D3C5D7.7090907@harryscollar.com> <46D4428A.4020606@siboneylg.com> <46D4C2C3.2070604@harryscollar.com> <46D4DB42.8030700@pdslabs.net> Message-ID: <46D4DDEF.9060705@harryscollar.com> Hi Phil Thanks for the tip! Yes, I've decided to keep things simple. I like challenges but figured this one was just gonna give me a headache :) regards alex Phil Davis wrote: > > Tab-delimited text can work! > > Since you're working on a Mac... Here's what I do for one client and > it's close enough to a spreadsheet for their needs: > > > on mouseUp > -- make the output file > set the fileType to "XCELTEXT" > put reportContent() into url ("file:" & fld "outputFile") > > wait 1 tick > > -- open the output file if requested > if the hilite of btn "openOutputFile" = true then > launch document (fld "outputFile") > end if > end mouseUp > > > The 'launch' command causes the file to be opened with Excel, since the > file was written with a fileType of "XCELTEXT". From josh at dvcreators.net Wed Aug 29 02:11:02 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 28 Aug 2007 23:11:02 -0700 Subject: how to get the frame rate of a Quicktime movie? In-Reply-To: <5DFB91F0-459F-4AC5-BDED-8212364517D1@major-k.de> References: <2C675B43-B66F-4F55-9D0E-D8DBD93BA906@dvcreators.net> <12369223.post@talk.nabble.com> <5DFB91F0-459F-4AC5-BDED-8212364517D1@major-k.de> Message-ID: <17428ED8-C7F8-4B1D-B6F5-1C3726F5C514@dvcreators.net> O my gosh Klaus, can't believe I missed that. Thanks! On Aug 28, 2007, at 7:58 AM, Klaus Major wrote: > Hi BNig and Josh, > > I just copied this from the online documentation of Trevors > wonderful EnhancedQT External: > > ... > function qtGetTrackFrameCount (MovieControllerID, TrackIndex) > Description: > Returns the number of frames in video track. > Parameters: > MovieControllerID: Target Movie Controller ID. > TrackIndex: Video track index. Default is 1. > Return: > Number of frames or -1 on error. > ... > > So it looks like Trevor already took care of this :-) > > > 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 From sanke at hrz.uni-kassel.de Wed Aug 29 04:45:54 2007 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Wed, 29 Aug 2007 10:45:54 +0200 Subject: Can't delete virus file with Revolution Message-ID: <46D53242.7010300@hrz.uni-kassel.de> Further scans and searches for files that could be associated with the "NMap Win" virus returned no results. I have to conclude that this virus alarm of "SpywareSweeper" was wrong. Other deficiencies of this programs are that it prompts for updates when none are available and that it indeed did not quarantine and delete three cookies it had found. I found the following statement on a webpage of Symantec: "Behavior SpywareSweeper is a misleading application that may give exaggerated reports about potential risks on the computer." One question that remains for me in the broader context: Is it possible to remove the protection of Wiindows files from inside Revolution? Regards, Wilhelm Sanke From m.schonewille at economy-x-talk.com Wed Aug 29 04:50:30 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 29 Aug 2007 10:50:30 +0200 Subject: Can't delete virus file with Revolution In-Reply-To: <46D53242.7010300@hrz.uni-kassel.de> References: <46D53242.7010300@hrz.uni-kassel.de> Message-ID: Hi Wilhelm, Use need to use the ATTRIB command. 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 29-aug-2007, om 10:45 heeft Wilhelm Sanke het volgende geschreven: > > > One question that remains for me in the broader context: > > Is it possible to remove the protection of Wiindows files from > inside Revolution? > > > Regards, > > Wilhelm Sanke From klaus at major-k.de Wed Aug 29 04:52:01 2007 From: klaus at major-k.de (Klaus Major) Date: Wed, 29 Aug 2007 10:52:01 +0200 Subject: how to get the frame rate of a Quicktime movie? In-Reply-To: <17428ED8-C7F8-4B1D-B6F5-1C3726F5C514@dvcreators.net> References: <2C675B43-B66F-4F55-9D0E-D8DBD93BA906@dvcreators.net> <12369223.post@talk.nabble.com> <5DFB91F0-459F-4AC5-BDED-8212364517D1@major-k.de> <17428ED8-C7F8-4B1D-B6F5-1C3726F5C514@dvcreators.net> Message-ID: <06536024-A27B-49E9-993B-AFAF4B95C76C@major-k.de> Hi Josh, > O my gosh Klaus, can't believe I missed that. please don't worry, I'm sure it wasn't there yet a couple of days before! ;-) > Thanks! Best Klaus Major klaus at major-k.de http://www.major-k.de From david at openpartnership.net Wed Aug 29 07:07:02 2007 From: david at openpartnership.net (David Bovill) Date: Wed, 29 Aug 2007 12:07:02 +0100 Subject: Gradient Textures Message-ID: I've been taking a look at those gently beveled buttons / bars, and I'm wandering the best way to do this. It seems people often use gradient fill in images created in another program. My first take on this is that it is not the optimal way to do things - is it not better to use a small image and tile a button or a background of a group? For instance a 1 pixel wide image (in the shape of a vertical line) which fades slightly at the top and bottom - rather than an entire image in the form of a bar? I have not played with gradient fills in Rev - but I know that there are some imagedata experts out there that have experimented with creating such fills with Revolution. Would it not be possible therefore to get Rev to create these fill automatically? So that a bar could be created of any height, width and base colour wanted? From m.schonewille at economy-x-talk.com Wed Aug 29 07:09:46 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 29 Aug 2007 13:09:46 +0200 Subject: Gradient Textures In-Reply-To: References: Message-ID: <043DA7B6-1DC8-4AB5-A247-41346D208DA6@economy-x-talk.com> Hi David, There is a gradient toy on RevOnline, user name Mark. You might want to look at the scripts to see how I did this. 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 29-aug-2007, om 13:07 heeft David Bovill het volgende geschreven: > I've been taking a look at those gently beveled buttons / bars, and > I'm > wandering the best way to do this. It seems people often use > gradient fill > in images created in another program. My first take on this is that > it is > not the optimal way to do things - is it not better to use a small > image and > tile a button or a background of a group? For instance a 1 pixel > wide image > (in the shape of a vertical line) which fades slightly at the top > and bottom > - rather than an entire image in the form of a bar? > > I have not played with gradient fills in Rev - but I know that > there are > some imagedata experts out there that have experimented with > creating such > fills with Revolution. Would it not be possible therefore to get > Rev to > create these fill automatically? So that a bar could be created of any > height, width and base colour wanted? From david at openpartnership.net Wed Aug 29 07:31:06 2007 From: david at openpartnership.net (David Bovill) Date: Wed, 29 Aug 2007 12:31:06 +0100 Subject: Gradient Textures In-Reply-To: <043DA7B6-1DC8-4AB5-A247-41346D208DA6@economy-x-talk.com> References: <043DA7B6-1DC8-4AB5-A247-41346D208DA6@economy-x-talk.com> Message-ID: Thanks Mark - fun little stack. I'll do a test with background textures - lets see what happens to the texture if you change the image :) On 29/08/2007, Mark Schonewille wrote: > > Hi David, > > There is a gradient toy on RevOnline, user name Mark. You might want > to look at the scripts to see how I did this. > > 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 29-aug-2007, om 13:07 heeft David Bovill het volgende geschreven: > > > I've been taking a look at those gently beveled buttons / bars, and > > I'm > > wandering the best way to do this. It seems people often use > > gradient fill > > in images created in another program. My first take on this is that > > it is > > not the optimal way to do things - is it not better to use a small > > image and > > tile a button or a background of a group? For instance a 1 pixel > > wide image > > (in the shape of a vertical line) which fades slightly at the top > > and bottom > > - rather than an entire image in the form of a bar? > > > > I have not played with gradient fills in Rev - but I know that > > there are > > some imagedata experts out there that have experimented with > > creating such > > fills with Revolution. Would it not be possible therefore to get > > Rev to > > create these fill automatically? So that a bar could be created of any > > height, width and base colour wanted? > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rcozens at pon.net Wed Aug 15 12:21:57 2007 From: rcozens at pon.net (Rob Cozens) Date: Wed, 15 Aug 2007 09:21:57 -0700 Subject: Proper Field Validation Methods and other annoyances... In-Reply-To: <46C1D77B.3040205@crcom.net> References: <46C1D77B.3040205@crcom.net> Message-ID: Hi Len, >1) Why does put "4" is a date return true? If this function >doesn't actually work, why is it still available? I'd like to be >able to have users enter a date without any kind of punctuation >(i.e., 08142007) and be able to validate it as a valid date. The >same applies to entering 1315 as a time (no colon). Others have explained why "is a date" returns true for any integer. Here is a function that validates user input as valid according to the current system date format and returns the date in dateItems format. function validDate theString -- 5 April 04:RCC put stripBlanks(theString,false) into theString -- strips leading or trailing blanks from a string get systemDateFormat() -- see Called Routines below set the itemDelimiter to char -1 of it -- the Separater if the number of items of theString <> 3 then return false delete the last char of it delete char offset("mm",it) of it -- remove double characters, if any... -- which there will be until RR system date -- correctly recognizes suppression of leading -- zeroes delete char offset("dd",it) of it delete char offset("yy",it) of it repeat with x = 1 to 3 switch char x of it case "m" put item x of theString into theMonth if not validDigits(theMonth) then return false -- each char >= "0" and <= "9" if theMonth < 1 or theMonth > 12 then return false break case "d" put item x of theString into theDay if not validDigits(theDay) then return false if theDay < 1 or theDay > 31 then return false break case "y" put item x of theString into theYear if not validDigits(theYear) then return false put length(theYear) into charCount if charCount <> 2 and charCount <> 4 then return false if charCount is 2 then add 2000 to theYear if theYear < 1 then return false break end switch end repeat if theDay < 29 then return true&return&theYear&comma&theMonth&comma&theDay&",0,0,0,0" if theMonth is 2 then if theDay > 29 or not leapYear(theYear) then return false -- leapYear returns boolean else return true&return&theYear&comma&theMonth&comma&theDay&",0,0,0,0" else if offset("0",theMonth) = 1 then delete char 1 of theMonth set the itemDelimiter to comma if theMonth is among the items of "1,3,5,7,8,10,12" then return true&return&theYear&comma&theMonth&comma&theDay&",0,0,0,0" if theDay is 31 then return false else return true&return&theYear&comma&theMonth&comma&theDay&",0,0,0,0" end if end validDate Cal;led routines: function systemDateFormat put "1999,1,9,0,0,0,0" into testDate convert testDate to short system date -- RR pads day/month regardless of settings -- which means function will not recognize the -- absence of leading zeroes until this is fixed put 2 into characterNumber repeat while char characterNumber of testDate is in "1,9" add 1 to characterNumber end repeat put char characterNumber of testDate into dateSeparater put empty into returnDateFormat set the itemDelimiter to dateSeparater repeat for each item datePart in testDate if datePart > 9 then if datePart > 99 then put "y" after returnDateFormat put "y" after returnDateFormat else if datePart > 1 then if length(datePart) > 1 then put "d" after returnDateFormat put "d" after returnDateFormat else if length(datePart) > 1 then put "m" after returnDateFormat put "m" after returnDateFormat end if end repeat return returnDateFormat&dateSeparater end systemDateFormat >2) This is the "biggie." What is the proper way to validate the >contents of a field. I tried writing a "closeField" script that >would do the validation, put up a message box if the format/contents >are wrong, then set the focus back to the field for correction by >the user. I end up getting two insertion point cursors (one in the >"bad" field and one in the next field. The keyboard does go to the >bad field but having more than one insertion point is confusing to >me let alone my end users. By the way, I have tried not passing the >closeField message but I'm not sure if the "tab to next field" takes >place anyway. Among my back burner projects is a Data Dictionary-driven RAD, which will validate user input in a field as compliant with the Data Dictionary specifications for the data that field captures (eg: required?, numeric?, # of decimal positions, show thousands separator?, show currency symbol?, lookup table, autoentry?, max length, max lines, etc). Only some of the edits have been tested at this stage; but all that our working are triggered by closeField, enterInField (and returnInField for single-line fields),or internal logic if auto-entry fields, and I have not experienced the problems you describe. However, I would note that my user interface keeps ALL fields without focus locked while accepting user input in a field. When the user signals "I'm done", the field contents are validated to DD specs. If invalid, an error message is displayed; if valid, the field is locked and the next (either by ordinal or based on the user input) field is unlocked and given focus. >3) Related to #2 above, I frequently get vertical lines (insertion >point cursors) in a field as I move the mouse across it. Once they >start showing up, (and they stay so I end up with vertical bars >between every letter in the field!), I can get them to appear by >moving the mouse ABOVE the field (not in it) like I have a vertical >line that runs the height of the entire screen. Is this something >I'm doing or is it a known problem? Do you get the same effect from a standalone compiled from your stack? Rob Cozens CCW Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From flm at remembrix.com Thu Aug 16 17:32:43 2007 From: flm at remembrix.com (Remembrix1) Date: Thu, 16 Aug 2007 14:32:43 -0700 Subject: no selection rectagle with screen grab? In-Reply-To: <46C3B56D.8030305@fourthworld.com> References: <46C3B56D.8030305@fourthworld.com> Message-ID: <1187299963.428983.232450@d55g2000hsg.googlegroups.com> Hi Everybody, Just officially joined. I don't see the problem on my Aluminum Powerbook. However, I have been trying to figure out why I get a black background when I export a snapshot via a script that selects the area. When I alter the scrip to force manual selection, this doesn't happen. It exports fine then. Any thoughts? Fred Maynor Remembrix On Aug 15, 10:24 pm, Richard Gaskin wrote: > Thanks for the info, gang. > > I just updated Terry Judd's bug report on this with the information > we've discovered today: > > > > It used to work so well, disappointing to have to consider pulling a > feature from one of my apps.... > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more:http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolut... at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences:http://lists.runrev.com/mailman/listinfo/use-revolution From jim at hiringsmart.ca Sat Aug 25 14:09:48 2007 From: jim at hiringsmart.ca (Jim Carwardine) Date: Sat, 25 Aug 2007 15:09:48 -0300 Subject: [OT] Sort of... I need a mentor for V4REV... In-Reply-To: <46CF5E0C.5070805@fourthworld.com> Message-ID: Hi Folks... This is [OT] sort of... because it is a cross-over issue... We are truly finding starting to use V4REV a problem... The Valentina wiki and other docs are not as helpful as we expected them to be... I would like to spend an hour or so on the phone with somebody who can help us make sense of V4REV before I dump it all and go to a database that has some books to reference. Is there anyone out there that can help? BTW we are using a MacBook w/ Intel and OS 10.4.10, Rev 2.8.1 and V4REV 3.3 for development Thanks in advance... Jim -- HiringSmart Canada is a successful international end-to-end human resource support business > providing science-based assessments and productivity tools to multi-branch > businesses > where each branch, without the help of an HR professional, attracts, hires and > engages THE RIGHT PEOPLE. We Help You Attract, Hire and Keep the Right People. www.TalentSeeker.ca www.HiringSmart.ca www.KeepingTheBest.ca HiringSmart Canada 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From fil_esrg at eleseal.it Mon Aug 27 16:11:20 2007 From: fil_esrg at eleseal.it (Filippo Galimberti) Date: Mon, 27 Aug 2007 13:11:20 -0700 Subject: ODBC problem Message-ID: <7.0.0.16.2.20070827121739.026a8be8@eleseal.it> Dear All, I have a problem with Revolution accessing databases through ODBC. I'm running Revolution Studio 2.6.1 build 152 on Windows XP. 1) Background We are collecting scientific research data in field using up to 25 iPaq PocketPC at a time. For data collection we run a simple database management software on the PPCs, called HanDBase (http://www.ddhsoftware.com/). We collect a wide array of data, so we had to put about 50 linked databases on the PPCs. HanDBase has an ODBC driver. Revolution is used to access the various HanDBase databases on the various PPCs through ODBC, to process and store the data, to join other data sources (eg, results of lab analysis on biological samples), and prepare tables to be submitted for analysis to various numerical and statistical packages. 2) The problem When we read data from HanDBase using ODBC we got a systematic error for date and time fields; all other fields are read correctly. The date fields are read on all records as the numeric value "20", and the time fields are read on all records as the numeric value "18". We had this problem in the past, starting with Revolution 2.1. At the time, we were interested in date fields only, and so I sorted out a workaround to get the required date information without using ODBC, and forgot the problem. Now, we also need to read the time fields, and no workaround seems possible. We can read the same HanDBase date and time fields correctly on all ODBC programs that we tested, so it seems a Revolution problem. HanDBase can show date fields, time fields, and timestamp fields (date + time); all three kinds of fields are coded in the database as a timestamp; HanDBase technical support confirmed me that the ODBC format for date and time field isd the standard ODBC timestamp format, as from Microsoft ODBC API specifications (http://msdn2.microsoft.com/en-us/library/ms190234.aspx). 3) What I know. - If I read the data type using revDatabaseColumnTypes() Revolution reports all these fields as "TIMESTAMP"; I understand that Revolution also recognizes these other data types: "DATE,TIME,DATETIME", but it seems to read the data type of all our date and time fields as "TIMESTAMP", and this make sense because it is in accordance to the HanDBase ODBC format - In my scripts I use the revDatabaseColumnNamed() function to access the fields in the databases, but the problem exists also if I use the revDataFromQuery() function - I suppose the revDatabaseColumnNamed() function to be coded in the revdb.dll, because I found no trace of it in the "revdatabase" script 4) Possible solution I can use vbscript to access my HanDBase databases through ODBC, save the data as ASCII files, the read the ASCII files in Revolution and follow with the data processing. I made a rough try and it works, but it doesn't make much sense. Moreover, I'm not very happy with this solution, because I'm already under pressure from my colleagues to abandon Revolution, and move our whole data management system to something else. But this will mean to port a huge amount of scripts, and I'm a biologist, not a programmer, so I would prefer to sort out a solution in Revolution. I will much appreciate your help, thank you in advance. Sorry for the long email. Kind regards Filippo Galimberti Filippo Galimberti, PhD Elephant Seal Research Group fil_esrg at eleseal.it www.eleseal.it From jim at hiringsmart.ca Mon Aug 27 19:07:52 2007 From: jim at hiringsmart.ca (Jim Carwardine) Date: Mon, 27 Aug 2007 20:07:52 -0300 Subject: Drag & Drop with color cursor In-Reply-To: <04FF8DE7-BF97-49A0-A67E-D0B538B51272@economy-x-talk.com> Message-ID: Welcome to MS and Entourage... Jim on 8/27/07 7:28 PM, Mark Schonewille wrote: > Hi Jim, > > Even after you quoted and resent the link, I can still click on it in > Apple Mail and directly get to the correct page. I have no idea what > your mail client does with it. > > 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-aug-2007, om 23:46 heeft Jim Carwardine het volgende geschreven: > >> This got wrapped and I can't figure out how to unwrap the line. >> Just taking >> out the carriage return doesn't seem to help... Jim >> >> >> on 8/27/07 11:41 AM, Mark Schonewille wrote: >> >>> >> group=gmane.comp.ide.revolution.user&query=drag+and+drop+dragdata> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- HiringSmart Canada is a successful international end-to-end human resource support business > providing science-based assessments and productivity tools to multi-branch > businesses > where each branch, without the help of an HR professional, attracts, hires and > engages THE RIGHT PEOPLE. We Help You Attract, Hire and Keep the Right People. www.TalentSeeker.ca www.HiringSmart.ca www.KeepingTheBest.ca HiringSmart Canada 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From robmann at gp-racing.com Tue Aug 28 19:03:33 2007 From: robmann at gp-racing.com (Robert Mann) Date: Tue, 28 Aug 2007 19:03:33 -0400 Subject: trouble with standalone valentina Message-ID: My application works fine in development mode but when I build the standalone and test that database does not seem to get updated? When the user opens the app it checks to see that they have registered if they have it opens if not they have to click a register button, when they do it sends then to a online rev app to complete the registration after they complete it will log the new registration number in the online database (mysql) and there local database (valentina), this work fine in development mode but not the standalone. With the standalone it completes the registration and as lone as you do not close the app it continues to see tha t it is registered but as soon as you close and reopen then app it ask the user to register again, so not sure what is going on, check the local database and it is empty but the online has the registration number in it, Below is the script that I am using not sure how to test this it works every time in development mode just not as a standalone? Thanks rob global dbID2, guserIDnum, gbase, dbID, gusername, gpassword, greg ON mouseUp put "" into fld _status IF the optionkey is down THEN edit the script of me exit mouseup END IF put fld "username" into gusername_# put fld "password" into tpassword put md5digest(tpassword) into tMD5 get binarydecode ("H*",tMD5,tlogin_passwd) put "Select uid from wt_users Where wt_users.name='"&gusername&"' AND wt_users.password='"&tlogin_passwd&"' AND wt_users.active='Y' AND wt_users.banned='N';" into theSQL put revqueryDatabase (dbID2, theSQL) into curID2 IF curID2 is not a number THEN answer "Please enter the correct login information" break ELSE put revDatabaseColumnNamed(curID2,"uid") into guserIDnum -- put guserIDnum into fld "userID" END IF revCloseCursor curID2 -------- MAKE REGISTRATION KEY --------_# put urlencode(makekey()) into _key set the _customKeyVSCR of this stack to _key put "Select * from registration Where registration.userId="&guserIDnum&";" into theSQL put revqueryDatabase (dbID2, theSQL) into curID2 put revqueryDatabase (dbID, theSQL) into curID IF curID2 is a number AND curID is a number THEN put revDatabaseColumnNamed (curID2, greg) into gbase2 put revDatabaseColumnNamed (curID, greg) into gbase IF gbase is empty THEN put "UPDATE registration set "&greg&"='"&_key&"' where userid='"&guserIdnum&"'" into theSQL revExecuteSQL dbID, theSQL put it into terror ELSE IF gbase is "N" THEN put "UPDATE registration set "&greg&"='"&_key&"' where userid='"&guserIdnum&"'" into theSQL revExecuteSQL dbID, theSQL put it into terror END IF IF gbase2 is empty THEN put "UPDATE registration set "&greg&"='"&_key&"' where userid='"&guserIdnum&"'" into theSQL revExecuteSQL dbID2, theSQL put it into terror2 ELSE IF gbase2 is "N" THEN put "UPDATE registration set "&greg&"='"&_key&"' where userid='"&guserIdnum&"'" into theSQL revExecuteSQL dbID2, theSQL put it into terror2 END IF put "SELECT "&greg&" from registration where registration.userID='"&guseridnum&"'" into theSQL put revquerydatabase (dbID2, theSQL) into curID2 put revQueryDatabase (dbID, theSQL) into curID put revdatabaseColumnNamed (curId2, greg) into treg put revDatabaseColumnNamed (curID, greg) into treg2 --check to make sure that reg number is in both database IF matchtext (treg,_key) AND matchtext(treg2,_key) THEN put "Registration Complete" into fld _status put "" into fld "username" put "" into fld "password" put "" into treg put "" into treg2 put "" into greg open card "springcalc" of stack "springcalc" show stack "springcalc" close stack Registration revclosecursor curID revclosecursor curID2 revclosedatabase dbID2 close stack "reg_stack" ELSE put "error during registration" into fld _status END IF END IF END mouseUp From p.williams at alkazar.net Wed Aug 29 10:44:59 2007 From: p.williams at alkazar.net (Paul Williams) Date: Wed, 29 Aug 2007 15:44:59 +0100 Subject: Help with shell() script In-Reply-To: Message-ID: <03c201c7ea4b$2ce01c00$6401a8c0@Paul> I am trying to use the openssl function within cygwin in windows. The following is the script, instead of sending the command 'version' to openssl it appears to be sending "/C" as the result quotes that "/C" is not a valid command. The it variable contains: "openssl:Error: '/C' is an invalid command. Standard commands asn1parse ....... " Putting 'version' in at the prompt works OK. What am I doing wrong and where does the "/C" come from? Paul on mouseUp set the hideconsolewindows to true put "c:\cygwin\bin\openssl.exe" into filepath open process filepath set shellcommand to "c:\cygwin\bin\openssl.exe" put "version" into shellc get shell("version") answer it end mouseUp From xavier.bury at clearstream.com Wed Aug 29 10:58:10 2007 From: xavier.bury at clearstream.com (xavier.bury at clearstream.com) Date: Wed, 29 Aug 2007 16:58:10 +0200 Subject: Help with shell() script In-Reply-To: <03c201c7ea4b$2ce01c00$6401a8c0@Paul> Message-ID: Hi Paul, The problem, if im correct, is that you are assigning the shell to be the exe to be exectuted in the shell... Set the shellcommand to "cmd.exe" -- reset it to what it should be - if im correct... i didn't know we could set "dir" and the shell command! get shell(filepath && "Version") should work better IMOHO... Unfortunately i dont have the openssl.exe from cygwin to test. hope that helps cheers Xavier use-revolution-bounces at lists.runrev.com wrote on 29/08/2007 16:44:59: > > I am trying to use the openssl function within cygwin in windows. > The following is the script, instead of sending the command 'version' to > openssl it appears to be sending "/C" as the result quotes that "/C" is not > a valid command. > > The it variable contains: > "openssl:Error: '/C' is an invalid command. > Standard commands > asn1parse ....... " > > > Putting 'version' in at the prompt works OK. > What am I doing wrong and where does the "/C" come from? > > Paul > > on mouseUp > set the hideconsolewindows to true > put "c:\cygwin\bin\openssl.exe" into filepath > open process filepath > set shellcommand to "c:\cygwin\bin\openssl.exe" > put "version" into shellc > get shell("version") > answer it > end mouseUp > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ---------------------------------------------------------------------------- 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 RC 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 xavier.bury at clearstream.com Wed Aug 29 11:05:49 2007 From: xavier.bury at clearstream.com (xavier.bury at clearstream.com) Date: Wed, 29 Aug 2007 17:05:49 +0200 Subject: Help with shell() script In-Reply-To: Message-ID: I checked it with a little script: set the shellcommand to "c:\apps\cygwin\ls.exe" get shell("") -- needs the quotes apparently or it wont compile answer it when you execute this you will see again the damn /c in the error message Tested quickly in MetaCard... should be the same in Rev... cheers Xavier use-revolution-bounces at lists.runrev.com wrote on 29/08/2007 16:58:10: > Hi Paul, > > The problem, if im correct, is that you are assigning the shell to be the > exe to be exectuted in the shell... > > Set the shellcommand to "cmd.exe" -- reset it to what it should be - if im > correct... i didn't know we could set "dir" and the shell command! > get shell(filepath && "Version") > > should work better IMOHO... > > Unfortunately i dont have the openssl.exe from cygwin to test. > > hope that helps > cheers > Xavier > > use-revolution-bounces at lists.runrev.com wrote on 29/08/2007 16:44:59: > > > > > I am trying to use the openssl function within cygwin in windows. > > The following is the script, instead of sending the command 'version' to > > openssl it appears to be sending "/C" as the result quotes that "/C" is > not > > a valid command. > > > > The it variable contains: > > "openssl:Error: '/C' is an invalid command. > > Standard commands > > asn1parse ....... " > > > > > > Putting 'version' in at the prompt works OK. > > What am I doing wrong and where does the "/C" come from? > > > > Paul > > > > on mouseUp > > set the hideconsolewindows to true > > put "c:\cygwin\bin\openssl.exe" into filepath > > open process filepath > > set shellcommand to "c:\cygwin\bin\openssl.exe" > > put "version" into shellc > > get shell("version") > > answer it > > end mouseUp > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > ---------------------------------------------------------------------------- > 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 RC 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 ---------------------------------------------------------------------------- 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 RC 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 stephenREVOLUTION at barncard.com Wed Aug 29 11:12:14 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 29 Aug 2007 08:12:14 -0700 Subject: Microsoft XML In-Reply-To: <46D4DB42.8030700@pdslabs.net> References: <46D37EC5.4050704@crcom.net> <46D3C5D7.7090907@harryscollar.com> <46D4428A.4020606@siboneylg.com> <46D4C2C3.2070604@harryscollar.com> <46D4DB42.8030700@pdslabs.net> Message-ID: Yes, I've never had a client complaint with this method. And since the resulting file acquires a nice icon and can be double-clicked to open, it looks and feels like an Excel document. Actually it's BETTER as the client can load the created document, then add it to an existing workbook, do a little column adjusting and save as an Excel spreadsheet. > > >The 'launch' command causes the file to be opened with Excel, since >the file was written with a fileType of "XCELTEXT". > >HTH - >Phil Davis >_______________________________________________ -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From eric.chatonet at sosmartsoftware.com Wed Aug 29 11:26:15 2007 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 29 Aug 2007 17:26:15 +0200 Subject: trouble with standalone valentina In-Reply-To: References: Message-ID: Hi Rob, Le 29 ao?t 07 ? 01:03, Robert Mann a ?crit : > My application works fine in development mode but when I build the > standalone and test that database does not seem to get updated? Databases are not my field but reading your script I saw: > set the _customKeyVSCR of this stack to _key Could it be simply related to the fact that a standalone can't be saved? Then the _customKeyVSCR is always empty when relaunching. Hope this helps. Not sure ;-) Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From robmann at gp-racing.com Wed Aug 29 11:38:44 2007 From: robmann at gp-racing.com (Robert Mann) Date: Wed, 29 Aug 2007 11:38:44 -0400 Subject: trouble with standalone valentina In-Reply-To: Message-ID: Thanks eric, but the script that does the update of both databases is on the web so it is not compiled into a application -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Eric Chatonet Sent: Wednesday, August 29, 2007 11:26 AM To: How to use Revolution Subject: Re: trouble with standalone valentina Hi Rob, Le 29 ao?t 07 ? 01:03, Robert Mann a ?crit : > My application works fine in development mode but when I build the > standalone and test that database does not seem to get updated? Databases are not my field but reading your script I saw: > set the _customKeyVSCR of this stack to _key Could it be simply related to the fact that a standalone can't be saved? Then the _customKeyVSCR is always empty when relaunching. Hope this helps. Not sure ;-) 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 sanke at hrz.uni-kassel.de Wed Aug 29 12:11:34 2007 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Wed, 29 Aug 2007 18:11:34 +0200 Subject: Gradient textures Message-ID: <46D59AB6.8030305@hrz.uni-kassel.de> My stack has a number of gradient tools, both for creating gradients from scratch and to create gradients or gradient patterns from images. See the examples in my Imagedata Art Gallery. The stack at present allows working only for a fixed image size - 640X480 - but you could use the snapshot tool to select parts of a produced gradient. The new upcoming version of the Imgedata Toolkit will allow to process any image size Regards, Wilhelm Sanke From andre at andregarzia.com Wed Aug 29 12:18:37 2007 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 29 Aug 2007 13:18:37 -0300 Subject: trouble with standalone valentina In-Reply-To: References: Message-ID: <7c87a2a10708290918v13abb0c2odd2a7cdc5ec4d6c6@mail.gmail.com> Hello Robert, this may sound naive. But instead of using "this stack" try to use the real name of the stack. The stack you think is the default might not be the default one so you may been accessing the property of some other stack which is empty. try using something like: if the _customKeyVSCR of this stack is empty then answer "current stack is" && the short name of this stack end if if it is the correct stack, then check is the custompropertyset is the right one. You may be accessing the right stack all along but trying with a wrong property set being the current one. If the problem still persists, run your routine that saves the VSCR key and then open the *troublesome* stack in the IDE and check if the value is being saved. Chances are if you're acessing it right but there's no value that the save routine is wrong. HTH andre On 8/29/07, Eric Chatonet wrote: > > Hi Rob, > > Le 29 ao?t 07 ? 01:03, Robert Mann a ?crit : > > > My application works fine in development mode but when I build the > > standalone and test that database does not seem to get updated? > > Databases are not my field but reading your script I saw: > > > set the _customKeyVSCR of this stack to _key > > Could it be simply related to the fact that a standalone can't be saved? > Then the _customKeyVSCR is always empty when relaunching. > Hope this helps. > Not sure ;-) > > 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 dalesvp at centurytel.net Wed Aug 29 12:36:03 2007 From: dalesvp at centurytel.net (Dale Pond) Date: Wed, 29 Aug 2007 10:36:03 -0600 Subject: Microsoft XML Message-ID: >Has anyone looked at the native format used by Apple's "Numbers"? Some interesting history might help with this question... many years ago (1989?) Apple purchased the kernel for their spreadsheet used in AppleWorks from WingZ (now long since defunct). They paid $1,000,000 for it. I know this because I was using WingZ 1.0 and absolutely love the program. It had (even at 1.0) far more capability than MS's skinned down bleached out program. WingZ went bust, I suppose, for lack of market. Anyhow, the current version of AppleWorks can accept a cut and paste of the data and formulae from WingZ. However, since Apple did not implement ALL of WingZ capabilities some things don't work as well. It is PRESUMED the new "Numbers" spreadsheet is a derivative of all this. If not I reckon it's sol time (again). On the other hand, the original code for WingZ 3.0 was dumped to the web as a Linux program. Not being a Linux programmer I was not able to get it to run on Mac - though I do have that code in the event anyone wants it, let me know. Life, Light, Love & Laughter, Dale Pond Sympathetic Vibratory Physics http://www.svpvril.com/ Passive Income Shopping Online http://www.mypowermall.com/Biz/Home/17477 From ambassador at fourthworld.com Wed Aug 29 12:40:04 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 29 Aug 2007 09:40:04 -0700 Subject: Gradient Textures Message-ID: <46D5A164.8030603@fourthworld.com> David Bovill wrote: > I've been taking a look at those gently beveled buttons / bars, and I'm > wandering the best way to do this. It seems people often use gradient fill > in images created in another program. My first take on this is that it is > not the optimal way to do things - is it not better to use a small image and > tile a button or a background of a group? For instance a 1 pixel wide image > (in the shape of a vertical line) which fades slightly at the top and bottom > - rather than an entire image in the form of a bar? That's pretty much the approach I took when writing my Gradient tool in devolution. It generates a vertical or horizontal gradient only 8 pixels wide (I found 1-pixel widths to be problematic), and then stretches it to fill the space required. This allows gradients to be generated very quickly, and they take up very little storage space. The only downside to this approach is that it's only good for the gradient itself. That is, if you also need text or other elements in the same image the stretching will hose that, and using a stretched image as a backgroundPattern causes the object using it to render with varied tiling results (there are some funky limits to tiled fills on Mac, and different limits on Windows). -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From robmann at gp-racing.com Wed Aug 29 12:44:18 2007 From: robmann at gp-racing.com (Robert Mann) Date: Wed, 29 Aug 2007 12:44:18 -0400 Subject: trouble with standalone valentina In-Reply-To: <7c87a2a10708290918v13abb0c2odd2a7cdc5ec4d6c6@mail.gmail.com> Message-ID: The _customKeyVSCR is working properly this is later used to check paypal payment which is working, The problem is getting the information into the valentina database in development mode it goes in but when I build a standalone it does not? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Andre Garzia Sent: Wednesday, August 29, 2007 12:19 PM To: How to use Revolution Subject: Re: trouble with standalone valentina Hello Robert, this may sound naive. But instead of using "this stack" try to use the real name of the stack. The stack you think is the default might not be the default one so you may been accessing the property of some other stack which is empty. try using something like: if the _customKeyVSCR of this stack is empty then answer "current stack is" && the short name of this stack end if if it is the correct stack, then check is the custompropertyset is the right one. You may be accessing the right stack all along but trying with a wrong property set being the current one. If the problem still persists, run your routine that saves the VSCR key and then open the *troublesome* stack in the IDE and check if the value is being saved. Chances are if you're acessing it right but there's no value that the save routine is wrong. HTH andre On 8/29/07, Eric Chatonet wrote: > > Hi Rob, > > Le 29 ao?t 07 ? 01:03, Robert Mann a ?crit : > > > My application works fine in development mode but when I build the > > standalone and test that database does not seem to get updated? > > Databases are not my field but reading your script I saw: > > > set the _customKeyVSCR of this stack to _key > > Could it be simply related to the fact that a standalone can't be saved? > Then the _customKeyVSCR is always empty when relaunching. > Hope this helps. > Not sure ;-) > > 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 > _______________________________________________ use-revolution mailing list use-revolution at 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 Wed Aug 29 12:46:18 2007 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 29 Aug 2007 12:46:18 -0400 Subject: Gradient Textures In-Reply-To: <46D5A164.8030603@fourthworld.com> References: <46D5A164.8030603@fourthworld.com> Message-ID: <9D2D547B-E9EA-4B8B-B0F2-9558BBA9258B@mangomultimedia.com> On Aug 29, 2007, at 12:40 PM, Richard Gaskin wrote: > (there are some funky limits to tiled fills on Mac, and different > limits on Windows). Didn't 2.7 do away with these limits? Or am I mistaken? -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From ambassador at fourthworld.com Wed Aug 29 12:49:33 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 29 Aug 2007 09:49:33 -0700 Subject: Microsoft XML Message-ID: <46D5A39D.4030701@fourthworld.com> Dale Pond wrote: > Some interesting history might help with this question... many years > ago (1989?) Apple purchased the kernel for their spreadsheet used in > AppleWorks from WingZ (now long since defunct). They paid $1,000,000 > for it. I know this because I was using WingZ 1.0 and absolutely love > the program. It had (even at 1.0) far more capability than MS's > skinned down bleached out program. WingZ went bust, I suppose, for > lack of market. Anyhow, the current version of AppleWorks can accept > a cut and paste of the data and formulae from WingZ. However, since > Apple did not implement ALL of WingZ capabilities some things don't > work as well. So that's who killed Wingz. I've always wondered about that. Wingz was an unusually useful program, and when it was EOL'd I never really understood why; it was so original that I felt the only problem with it was its marketing, the challenge of selling something that so redefines the spreadsheet. I've long advocated such an approach, doing away with the inflexibility of row-and-column fixation which characterizes most of the market, and which arguably is just a holdover from pre-GUI character-driven displays. But it's a tough sell: so many people have become so used to being bound to the limits of traditional spreadsheets that it's difficult for them to conceive of a more open way of working. I have a half-dozen prototypes on my hard drive experimenting with a similarly free-form approach to making a calculation tool like this. The combination of the marketing challenge, Excel's dominance, and Rev's lack of column alignment kept it on the backburner. I can't feel to badly that Apple's beating me to the punch on delivering this, since it almost requires a company of their size to validate such an unusual approach to get people to take it seriously. One odd anomaly with Numbers, though: no macro/scripting language? Strange omission.... -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Wed Aug 29 12:51:46 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 29 Aug 2007 09:51:46 -0700 Subject: Gradient Textures Message-ID: <46D5A422.50900@fourthworld.com> Trevor DeVore wrote: > On Aug 29, 2007, at 12:40 PM, Richard Gaskin wrote: > >> (there are some funky limits to tiled fills on Mac, and different >> limits on Windows). > > Didn't 2.7 do away with these limits? Or am I mistaken? Possibly, I can't say: I needed gradients and not necessarily a gradient tool, so I built the tool to do what I need for making presentations and UIs. Since it's been working all these years I haven't gone back to research other options, but perhaps if things slow down here I'll get back it some day. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From david at openpartnership.net Wed Aug 29 12:55:17 2007 From: david at openpartnership.net (David Bovill) Date: Wed, 29 Aug 2007 17:55:17 +0100 Subject: Gradient Textures In-Reply-To: <9D2D547B-E9EA-4B8B-B0F2-9558BBA9258B@mangomultimedia.com> References: <46D5A164.8030603@fourthworld.com> <9D2D547B-E9EA-4B8B-B0F2-9558BBA9258B@mangomultimedia.com> Message-ID: Thanks guys - I'll give it a go. Richard, when you say: using a stretched image as a backgroundPattern causes the object using it to > render with varied tiling results Do you mean that if I use backgroundpattern with a button or group then the text label or other elements that you would expect to work can work inconsistently - or are you refering to the effect you would expect if the gradient bitmap has bitmap text burned into it? I can't quite picture the circumstances... From david at openpartnership.net Wed Aug 29 13:04:22 2007 From: david at openpartnership.net (David Bovill) Date: Wed, 29 Aug 2007 18:04:22 +0100 Subject: Gradient Textures In-Reply-To: References: <46D5A164.8030603@fourthworld.com> <9D2D547B-E9EA-4B8B-B0F2-9558BBA9258B@mangomultimedia.com> Message-ID: Successfully crashing Rev with this :) Just to check - imagedata is basically one long binary string with each pixel represented by 4 bytes (that is characters for the rest of us), and no consideration of the width and height of the image coming into this simple long string. On the other hand if you dont get the format and length of this string right - you may end up crashing Rev :) The length should be: 4 x the width of imageObject * the height of imageObject Now to figure out what i am doing to crash Rev... From andre at andregarzia.com Wed Aug 29 13:10:40 2007 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 29 Aug 2007 14:10:40 -0300 Subject: canceling a "wait with messages" call... Message-ID: <7c87a2a10708291010u195eda2dn9469cfd6c7c9832d@mail.gmail.com> Hello Friends, tricky newbie question here. I have a handler which is a looper. It will loop downloading files from a queue. It uses a line: wait while lCurrentFileStatus is empty with messages to let the handler block (but not the application) till the download is complete or blocked. Tricky thing is, if you simply unplug the network during the FTP file transfer, revolution is giving no error, it waits and blocks forever until you abort with CMD+. when it promptly sends the expect "error" message back to the handler. I can't wait till the user aborts the call, it's not polite, so I've used another handler running in parallel with this one which is a timeout handler. My first option was, if the timeout handler triggers, then I set the script local variable lCurrentFileStatus to some non-empty-but-error value and the looper handler would unblock itself and continue processing. This didn't work, I don't know why, this is the expected behaviour. A script local variable is used as flag and one handler blocks waiting for other handler to work with it. It works like a charm if the download goes okay, the message sent to the callback handler changes this script local variable and the handler unblocks. If there's no network and my own timeout handler tries to set this variable to something, the handler does not unblock, instead of debugging libURL or Rev Engine or wherever the problem is, I am now trying to cancel the blocked handler. I though it would appear in the pending messages, but it does not. So the question is, how do I cancel a blocked handler? Cheers andre From p.williams at alkazar.net Wed Aug 29 13:22:46 2007 From: p.williams at alkazar.net (Paul Williams) Date: Wed, 29 Aug 2007 18:22:46 +0100 Subject: Help with shell() script In-Reply-To: References: , Message-ID: <46D5B976.26005.B77B467@p.williams.alkazar.net> Yes Xavier, this is the problem, I am trying to script the openssl shell. I can run a single command from the cmd.exe shell but it quits at the end, what I need is a way to open the opessl shell and then read and write shell commands to it but the '/C' keeps gettng in the way. Has anybody else had any success with working with this? Paul > I checked it with a little script: > > set the shellcommand to "c:\apps\cygwin\ls.exe" > get shell("") -- needs the quotes apparently or it wont compile > answer it > > when you execute this you will see again the damn /c in the error > message > > Tested quickly in MetaCard... should be the same in Rev... > > cheers > Xavier > > use-revolution-bounces at lists.runrev.com wrote on 29/08/2007 > 16:58:10: > > > Hi Paul, > > > > The problem, if im correct, is that you are assigning the shell to > be > the > > exe to be exectuted in the shell... > > > > Set the shellcommand to "cmd.exe" -- reset it to what it should be > - if > im > > correct... i didn't know we could set "dir" and the shell > command! > > get shell(filepath && "Version") > > > > should work better IMOHO... > > > > Unfortunately i dont have the openssl.exe from cygwin to test. > > > > hope that helps > > cheers > > Xavier > > > > use-revolution-bounces at lists.runrev.com wrote on 29/08/2007 > 16:44:59: > > > > > > > > I am trying to use the openssl function within cygwin in > windows. > > > The following is the script, instead of sending the command > 'version' > to > > > openssl it appears to be sending "/C" as the result quotes that > "/C" > is > > not > > > a valid command. > > > > > > The it variable contains: > > > "openssl:Error: '/C' is an invalid command. > > > Standard commands > > > asn1parse ....... " > > > > > > > > > Putting 'version' in at the prompt works OK. > > > What am I doing wrong and where does the "/C" come from? > > > > > > Paul > > > > > > on mouseUp > > > set the hideconsolewindows to true > > > put "c:\cygwin\bin\openssl.exe" into filepath > > > open process filepath > > > set shellcommand to "c:\cygwin\bin\openssl.exe" > > > put "version" into shellc > > > get shell("version") > > > answer it > > > end mouseUp > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > > -------------------------------------------------------------------- > -------- > > 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 RC 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 > > > > -------------------------------------------------------------------- > -------- > 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 RC 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 > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.484 / Virus Database: 269.12.10/977 - Release Date: > 28/08/2007 16:29 > From david at openpartnership.net Wed Aug 29 13:27:18 2007 From: david at openpartnership.net (David Bovill) Date: Wed, 29 Aug 2007 18:27:18 +0100 Subject: canceling a "wait with messages" call... In-Reply-To: <7c87a2a10708291010u195eda2dn9469cfd6c7c9832d@mail.gmail.com> References: <7c87a2a10708291010u195eda2dn9469cfd6c7c9832d@mail.gmail.com> Message-ID: Andre - the way I've done this was by using the "libURLSetStatusCallback" command - you can then check for anything and do your download asynchronously. When the callback is "downloaded" then fetch the next item from your list? From ambassador at fourthworld.com Wed Aug 29 13:46:10 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 29 Aug 2007 10:46:10 -0700 Subject: Gradient Textures Message-ID: <46D5B0E2.1060506@fourthworld.com> David Bovill wrote: > Richard, when you say: >> using a stretched image as a backgroundPattern causes the >> object using it to render with varied tiling results > > Do you mean that if I use backgroundpattern with a button or > group then the text label or other elements that you would > expect to work can work inconsistently - or are you refering > to the effect you would expect if the gradient bitmap has > bitmap text burn On that sentence I was referring to the former, but both have anomalies, each of a different sort. If you have what is really a small image (8 pixels wide) stretched horizontally to, say, 800 px, then the imageData is really only 8 pixels regardless of how the image object is sized. So when you assign the ID of that image object to another object, such as a button, it will adopt the imageData when rendered, regardless of the apparent size of that image object. In most cases that may be fine, but in v2.6.2 an earlier (haven't experimented since the compositing engine was revamped) the OS limits on tiled images could sometimes give unexpected results. For example, if you make a vertical gradient using the "narrow" method I decribe, and make that image object 1024x768 (I use this mostly for presentation backgrounds), then you can place the object in a background and it works great. But if instead you set the backgroundPattern of the card or stack to use that image, on Mac it'll crop the height to some arbitrary limit I haven't taken the time to define, causing it to tile vertically as well as horizontally, causing the gradient to appear truncated and start over again from the top somewhere in the middle of the card. With the other situation (burning text into an image), the visual distortion is merely what one would expect when stretching the image object. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From jimaultwins at yahoo.com Wed Aug 29 13:49:52 2007 From: jimaultwins at yahoo.com (Jim Ault) Date: Wed, 29 Aug 2007 10:49:52 -0700 (PDT) Subject: canceling a "wait with messages" call... In-Reply-To: <7c87a2a10708291010u195eda2dn9469cfd6c7c9832d@mail.gmail.com> Message-ID: <660348.9574.qm@web54006.mail.re2.yahoo.com> David gave you an answer that works for downloading, but there could be other events you want to "wait while" Suggestion: try a custom property wait while the cpBusyFlag of this stack is not empty --since it might trigger when a script local will not -- seems like a bug to me Another thought is to do the following to force the re-evaluation of the flag variable get lCurrentFileStatus repeat while it is not empty get lCurrentFileStatus wait 1 second with messages end repeat Hope this helps Jim Ault Las Vegas --- Andre Garzia wrote: > Hello Friends, > tricky newbie question here. I have a handler which > is a looper. It will > loop downloading files from a queue. It uses a line: > > wait while lCurrentFileStatus is empty with > messages > > to let the handler block (but not the application) > till the download is > complete or blocked. Tricky thing is, if you simply > unplug the network > during the FTP file transfer, revolution is giving > no error, it waits and > blocks forever until you abort with CMD+. when it > promptly sends the expect > "error" message back to the handler. I can't wait > till the user aborts the > call, it's not polite, so I've used another handler > running in parallel with > this one which is a timeout handler. > > My first option was, if the timeout handler > triggers, then I set the script > local variable lCurrentFileStatus to some > non-empty-but-error value and the > looper handler would unblock itself and continue > processing. This didn't > work, I don't know why, this is the expected > behaviour. A script local > variable is used as flag and one handler blocks > waiting for other handler to > work with it. It works like a charm if the download > goes okay, the message > sent to the callback handler changes this script > local variable and the > handler unblocks. > > If there's no network and my own timeout handler > tries to set this variable > to something, the handler does not unblock, instead > of debugging libURL or > Rev Engine or wherever the problem is, I am now > trying to cancel the blocked > handler. I though it would appear in the pending > messages, but it does not. > So the question is, how do I cancel a blocked > handler? > > 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 dalesvp at centurytel.net Wed Aug 29 13:50:04 2007 From: dalesvp at centurytel.net (Dale Pond) Date: Wed, 29 Aug 2007 11:50:04 -0600 Subject: Microsoft XML Message-ID: Richard Gaskin wrote: So that's who killed Wingz. I've always wondered about that. Wingz was an unusually useful program, and when it was EOL'd I never really understood why; it was so original that I felt the only problem with it was its marketing, the challenge of selling something that so redefines the spreadsheet. I've long advocated such an approach, doing away with the inflexibility of row-and-column fixation which characterizes most of the market, and which arguably is just a holdover from pre-GUI character-driven displays. But it's a tough sell: so many people have become so used to being bound to the limits of traditional spreadsheets that it's difficult for them to conceive of a more open way of working. I have a half-dozen prototypes on my hard drive experimenting with a similarly free-form approach to making a calculation tool like this. The combination of the marketing challenge, Excel's dominance, and Rev's lack of column alignment kept it on the backburner. I can't feel to badly that Apple's beating me to the punch on delivering this, since it almost requires a company of their size to validate such an unusual approach to get people to take it seriously. One odd anomaly with Numbers, though: no macro/scripting language? Strange omission.... ============== I apologize to everyone about this off topic issue. WingZ and HyperCard were so VASTLY important to me and my research - still are - but I see the EOL fast approaching - unless someone can get WingZ 3.0 going on a Mac and I can convert over all my HC work. WingZ could be scripted almost as easily as HyperCard. I'd say the general user public was not interested in such flexibility and power. Programmers would be though. I located some links to the program: A good article on and about the program, etc. http://www.thefreelibrary.com/Investment+Intelligence+Announces +Release+of+Wingz+and+Wingz+...-a053426836 Download the WingZ program from here: http://www.ibiblio.org/linsearch/cgi-bin/isearch Life, Light, Love & Laughter, Dale Pond Sympathetic Vibratory Physics http://www.svpvril.com/ Passive Income Shopping Online http://www.mypowermall.com/Biz/Home/17477 From dave.cragg at lacscentre.co.uk Wed Aug 29 13:50:17 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 29 Aug 2007 18:50:17 +0100 Subject: canceling a "wait with messages" call... In-Reply-To: <7c87a2a10708291010u195eda2dn9469cfd6c7c9832d@mail.gmail.com> References: <7c87a2a10708291010u195eda2dn9469cfd6c7c9832d@mail.gmail.com> Message-ID: <70CAB0E0-D5DC-420A-B098-62A506B603E2@lacscentre.co.uk> On 29 Aug 2007, at 18:10, Andre Garzia wrote: Hi Andre > tricky newbie question here. I have a handler which is a looper. It > will > loop downloading files from a queue. It uses a line: > > wait while lCurrentFileStatus is empty with messages > > to let the handler block (but not the application) till the > download is > complete or blocked. Tricky thing is, if you simply unplug the network > during the FTP file transfer, revolution is giving no error, it > waits and > blocks forever until you abort with CMD+. when it promptly sends > the expect > "error" message back to the handler. I don't exactly follow the details of your problem, but I'm guessing this is a general gotcha when using libraries that use "wait ... with messages" or "wait for messages" to implement asynchronous behaviour. As you can imagine, libUrl is full of this stuff. When you implement a sequence of "wait ... with messages", they have to "unblock" in the reverse order they were used. So assuming you made a number of libUrl calls (vial load url, for example), and then used the above line, the "waits" inside libUrl won't unblock until the above wait unblocks. It's easy to get into an eternal wait. The general rule is not to use "waits" of any kind while a library (or any other routine) that uses asynchronous "waits" is running. Possible ways to avoid using "waits". -- rely on the callback message of "load url" to set things -- use "send ... in ...." -- use script-blocking calls (get url) Sorry if I've missed the point entirely. :-) Cheers Dave From david at openpartnership.net Wed Aug 29 13:57:41 2007 From: david at openpartnership.net (David Bovill) Date: Wed, 29 Aug 2007 18:57:41 +0100 Subject: Gradient Textures In-Reply-To: <46D5B0E2.1060506@fourthworld.com> References: <46D5B0E2.1060506@fourthworld.com> Message-ID: Thanks for the explanation Richard - lets see how it goes with 2.8.1 now that I've figured out what was causing the crash (setting some binary rgb values to a number > 255)... From ambassador at fourthworld.com Wed Aug 29 14:06:46 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 29 Aug 2007 11:06:46 -0700 Subject: Gradient Textures Message-ID: <46D5B5B6.3040705@fourthworld.com> David Bovill wrote: > Thanks for the explanation Richard - lets see how it goes with 2.8.1 now > that I've figured out what was causing the crash (setting some binary rgb > values to a number > 255)... Good sleuthing there, David. Thanks for posting the recipe. It's good to stay up on any crashing issues in case we need to find a workround. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From robmann at gp-racing.com Wed Aug 29 15:34:30 2007 From: robmann at gp-racing.com (Robert Mann) Date: Wed, 29 Aug 2007 15:34:30 -0400 Subject: connecting to 3.2 valventina database with rev Message-ID: Valentina 3.2 I am getting the following error on the converting valentina connection id to revdb connection id revdberr,invalid database type with the follow script put 20 * 1024 * 1024 into theCacheSize put empty into theMacSerialNumber put fld "serial" into theWinSerialNumber put "xxxx" into theEncryptionKey get Valentina_Init(theCacheSize, theMacSerialNumber, theWinSerialNumber) put VDatabase_Constructor("kDisk") into theConnectionID get VDatabase_UseEncryptionKey(theConnectionID, theEncryptionKey, "kStructureAndRecords") get VDatabase_Open(theConnectionID, dbPath) ## SOME BASIC ERROR CHECKING IF VDatabase_ErrNumber(theConnectionID) is not 0 THEN IF VDatabase_ErrNumber(theConnectionID) < 0 THEN put "OS error ("& VDatabase_ErrNumber(theConnectionID) &")" into theError ELSE put VDatabase_ErrString(theConnectionID) into theError END IF answer "Error connecting to valentina:" && theError exit to top END IF ## NOW WE CONVERT THE VALENTINA CONNECTION ID TO A REVDB CONNECTION ID ## SO THAT WE CAN USE THE REVDB FUNCTIONS put revOpenDatabase("Valentina2","",theConnectionID,"","") into dbID ----this is where I get the error put dbID into fld "dbID" any ideas as to why? From scott at tactilemedia.com Wed Aug 29 15:54:20 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 29 Aug 2007 12:54:20 -0700 Subject: https Help Needed Message-ID: Hey Rev List: I'm under a very tight deadline on an https file access stack for Mac/Win. I need to download a file from a secure server to a local drive, ideally using 'load URL' so I can monitor progress. Apparently there is a bug in the SSL stuff in libURL that prevents the library from working reliably on OSX(?). I was able to workaround the problem of *reading* a text file on the server by using the previously posted shell workaround for OSX: get shell("curl -v -k" && secureServerPath) This seems to work fine for reading, but now how can I download a file from this same secure server and monitor progress? Any option for this? Am hoping somebody can provide a solution soon as I'm quickly running out of time. Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From briany at qldlearning.com Wed Aug 29 16:00:13 2007 From: briany at qldlearning.com (Brian Yennie) Date: Wed, 29 Aug 2007 13:00:13 -0700 Subject: https Help Needed In-Reply-To: References: Message-ID: <7CDBBA8A-9C14-475C-821B-5969C61DB85C@qldlearning.com> Scott, How about: 1) Use curl to get the file size from the HTTP header using the -- head option: > -I/--head > (HTTP/FTP/FILE) Fetch the HTTP-header only! HTTP- > servers feature > the command HEAD which this uses to get nothing but > the header > of a document. When used on a FTP or FILE file, > curl displays > the file size and last modification time only. 2) Download the file to the user's temporary folder, and monitor the size of the temp file. --- Brian Yennie QLD Learning From robmann at gp-racing.com Wed Aug 29 16:30:01 2007 From: robmann at gp-racing.com (Robert Mann) Date: Wed, 29 Aug 2007 16:30:01 -0400 Subject: connecting to 3.2 valventina database with rev In-Reply-To: Message-ID: I tried valentina3 did not work Tracing my steps back I was running valentina 2.5.6 reloaded this works fine -----Original Message----- From: valentina-bounces at lists.macserve.net [mailto:valentina-bounces at lists.macserve.net] On Behalf Of Robert Mann Sent: Wednesday, August 29, 2007 3:34 PM To: valentina at lists.macserve.net; use-revolution at lists.runrev.com Subject: connecting to 3.2 valventina database with rev Valentina 3.2 I am getting the following error on the converting valentina connection id to revdb connection id revdberr,invalid database type with the follow script put 20 * 1024 * 1024 into theCacheSize put empty into theMacSerialNumber put fld "serial" into theWinSerialNumber put "xxxx" into theEncryptionKey get Valentina_Init(theCacheSize, theMacSerialNumber, theWinSerialNumber) put VDatabase_Constructor("kDisk") into theConnectionID get VDatabase_UseEncryptionKey(theConnectionID, theEncryptionKey, "kStructureAndRecords") get VDatabase_Open(theConnectionID, dbPath) ## SOME BASIC ERROR CHECKING IF VDatabase_ErrNumber(theConnectionID) is not 0 THEN IF VDatabase_ErrNumber(theConnectionID) < 0 THEN put "OS error ("& VDatabase_ErrNumber(theConnectionID) &")" into theError ELSE put VDatabase_ErrString(theConnectionID) into theError END IF answer "Error connecting to valentina:" && theError exit to top END IF ## NOW WE CONVERT THE VALENTINA CONNECTION ID TO A REVDB CONNECTION ID ## SO THAT WE CAN USE THE REVDB FUNCTIONS put revOpenDatabase("Valentina2","",theConnectionID,"","") into dbID ----this is where I get the error put dbID into fld "dbID" any ideas as to why? _______________________________________________ Valentina mailing list Valentina at lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From mark at maseurope.net Wed Aug 29 19:46:07 2007 From: mark at maseurope.net (Mark Smith) Date: Thu, 30 Aug 2007 00:46:07 +0100 Subject: https Help Needed In-Reply-To: References: Message-ID: <30248B48-C194-492C-AF62-98EE32B683B8@maseurope.net> Sadly, as things stand, we can't interact with the shell on OS X (see bug 2538), so Brian's suggestion of using curl and monitoring the resulting file seems like it could work. Best, Mark On 29 Aug 2007, at 20:54, Scott Rossi wrote: > Hey Rev List: > > I'm under a very tight deadline on an https file access stack for > Mac/Win. > I need to download a file from a secure server to a local drive, > ideally > using 'load URL' so I can monitor progress. > > Apparently there is a bug in the SSL stuff in libURL that prevents the > library from working reliably on OSX(?). I was able to workaround the > problem of *reading* a text file on the server by using the previously > posted shell workaround for OSX: > get shell("curl -v -k" && secureServerPath) > > This seems to work fine for reading, but now how can I download a > file from > this same secure server and monitor progress? Any option for this? > > Am hoping somebody can provide a solution soon as I'm quickly > running out of > time. > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mark at maseurope.net Wed Aug 29 19:53:23 2007 From: mark at maseurope.net (Mark Smith) Date: Thu, 30 Aug 2007 00:53:23 +0100 Subject: https Help Needed In-Reply-To: <30248B48-C194-492C-AF62-98EE32B683B8@maseurope.net> References: <30248B48-C194-492C-AF62-98EE32B683B8@maseurope.net> Message-ID: Sorry, I take that back. I don't think it will work because shell calls are blocking - your app will do nothing until the shell call to curl is completed, appending an ampersand (to put the process in the background) doesn't work in Rev on OS X. BTW, what are the problems you're having with libURL and https? I had some problems with frequent timeouts, and although I've since migrated that particular app to using curl, before I did, I managed to come up with a repeat loop that kept trying until it succeeded. Not ideal, but it worked. Best, Mark On 30 Aug 2007, at 00:46, Mark Smith wrote: > Sadly, as things stand, we can't interact with the shell on OS X > (see bug 2538), so Brian's suggestion of using curl and monitoring > the resulting file seems like it could work. > > Best, > > Mark From sarah.reichelt at gmail.com Wed Aug 29 20:05:31 2007 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 30 Aug 2007 10:05:31 +1000 Subject: https Help Needed In-Reply-To: References: <30248B48-C194-492C-AF62-98EE32B683B8@maseurope.net> Message-ID: On 8/30/07, Mark Smith wrote: > Sorry, I take that back. I don't think it will work because shell > calls are blocking - your app will do nothing until the shell call to > curl is completed, appending an ampersand (to put the process in the > background) doesn't work in Rev on OS X. I don't know anything about HTTPS so can't help you there, but I do have a technique for non-blocking shell calls which might help. I have included my ping function below which uses the shell ping command with extra parameters that tell it to send the result to a file. Then I just have a loop that checks for that file and when it has arrived, reads the result that way. Pinging is instant when it works, but takes a long time to fail, so I find this trick works really well. Maybe you could do something similar. function checkPing pIP put specialFolderPath("Desktop") & "/ping.txt" into tFileName if there is a file tFileName then delete file tFileName put "ping -c1 -n " & pIP into tShellCmd put " > " & tFileName & " 2>&1 &" after tShellCmd get shell(tShellCmd) put 0 into timeCheck repeat 50 times add 1 to timeCheck wait 1 tick with messages if there is a file tFileName then put URL ("file:" & tFileName) into tRes if tRes is empty then next repeat -- file created but no result yet put wordOffset("loss", tRes) into tWord if tWord = 0 then next repeat -- file created but result not complete -- if there is a file tFileName then delete file tFileName put word tWord-2 of tRes into tPercent if tPercent = "0%" then return true else return false end if end repeat if there is a file tFileName then delete file tFileName return false end checkPing Cheers, Sarah From alex at harryscollar.com Wed Aug 29 20:11:23 2007 From: alex at harryscollar.com (Alex Shaw) Date: Thu, 30 Aug 2007 09:41:23 +0930 Subject: Microsoft XML In-Reply-To: References: Message-ID: <46D60B2B.8070005@harryscollar.com> Hi Another spreadsheet application I looked at recently is a simple one called "Tables" (http://www.x-tables.eu/), but decided to wait till Apple's "Numbers" came out. Personally I like tables views (rows/columns) because they are an efficient way to view lots of information quickly and still find it annoying Rev's built-in tables aren't very flexible. Found Wingz at: http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/ Readme for Wingz says it supports: Linux, Windows95/98/NT, Solaris, AIX, SunOS, HPUX, IRIX, Mac Seems to be available only as linux binary & unfortunately no source code :( I am keen to check out "Wingz" & "Numbers" and their respective approaches to working with financials. Unfortunately, I've still "out bush" with my limited wireless broadband & Macbook (which only has mac & windows). Didn't have time to add a linux partition :( So I will try again when I get back to civilization (miss my nice warm studio). Never been a big expert on spreadsheet applications but my knowledge is growing every day, thanks everyone. regards alex Dale Pond wrote: > Richard Gaskin wrote: snip > One odd anomaly with Numbers, though: no macro/scripting language? > Strange omission.... > > ============== > > I apologize to everyone about this off topic issue. WingZ and HyperCard > were so VASTLY important to me and my research - still are - but I see > the EOL fast approaching - unless someone can get WingZ 3.0 going on a > Mac and I can convert over all my HC work. WingZ could be scripted > almost as easily as HyperCard. > > I'd say the general user public was not interested in such flexibility > and power. Programmers would be though. I located some links to the > program: > > A good article on and about the program, etc. > http://www.thefreelibrary.com/Investment+Intelligence+Announces+Release+of+Wingz+and+Wingz+...-a053426836 > > > Download the WingZ program from here: > http://www.ibiblio.org/linsearch/cgi-bin/isearch > > From mark at maseurope.net Wed Aug 29 21:03:22 2007 From: mark at maseurope.net (Mark Smith) Date: Thu, 30 Aug 2007 02:03:22 +0100 Subject: https Help Needed In-Reply-To: References: <30248B48-C194-492C-AF62-98EE32B683B8@maseurope.net> Message-ID: <1A4AA9B5-DE63-4CD3-8319-356B2818CF72@maseurope.net> So redirecting the output stops it blocking? Wow, I never thought to try it...thanks, once again, Sarah! Best, Mark On 30 Aug 2007, at 01:05, Sarah Reichelt wrote: > I don't know anything about HTTPS so can't help you there, but I do > have a technique for non-blocking shell calls which might help. I have > included my ping function below which uses the shell ping command with > extra parameters that tell it to send the result to a file. Then I > just have a loop that checks for that file and when it has arrived, > reads the result that way. From robmann at gp-racing.com Wed Aug 29 23:54:34 2007 From: robmann at gp-racing.com (Robert Mann) Date: Wed, 29 Aug 2007 23:54:34 -0400 Subject: connecting to 3.2 valventina database with rev In-Reply-To: Message-ID: Well I spent the whole day trying to figure out why data was not being saved in the valentine database with a standalone I guess you have to make sure you do the following when you close the app or data is not saved, this works with valentina 2.5.6 now I will try and change all to 3.2 and see if it works ON DoCloseval get VDatabase_Close(theConnectionID) END DoCloseval ON VCloseCard get Valentina_ShutDown END VCloseCard ON rclosecard revCloseDatabase dbID END rclosecard From andre at andregarzia.com Thu Aug 30 00:03:46 2007 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 30 Aug 2007 01:03:46 -0300 Subject: https Help Needed In-Reply-To: References: Message-ID: <7c87a2a10708292103h24bb1ee0sec20de5eecf9aef4@mail.gmail.com> Hello Scott, don't know if you already solved that. have you tried: LibURLSetSSLVerification false your cURL line below is doing just that with the -k in it. Maybe with this setting in place, everything works. Cheers andre PS: you know that TM|Colors and TM|Align are my favorite plugins here... :-) On 8/29/07, Scott Rossi wrote: > > Hey Rev List: > > I'm under a very tight deadline on an https file access stack for Mac/Win. > I need to download a file from a secure server to a local drive, ideally > using 'load URL' so I can monitor progress. > > Apparently there is a bug in the SSL stuff in libURL that prevents the > library from working reliably on OSX(?). I was able to workaround the > problem of *reading* a text file on the server by using the previously > posted shell workaround for OSX: > get shell("curl -v -k" && secureServerPath) > > This seems to work fine for reading, but now how can I download a file > from > this same secure server and monitor progress? Any option for this? > > Am hoping somebody can provide a solution soon as I'm quickly running out > of > time. > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at tactilemedia.com Thu Aug 30 00:48:09 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 29 Aug 2007 21:48:09 -0700 Subject: https Help Needed In-Reply-To: <7c87a2a10708292103h24bb1ee0sec20de5eecf9aef4@mail.gmail.com> Message-ID: Recently, Andre Garzia wrote: > Hello Scott, > don't know if you already solved that. No, I didn't, but I was hoping you might offer a solution. :-) > have you tried: > > LibURLSetSSLVerification false Definitely. The problem seems to be that using native Rev to access a secure server is unreliable on OSX. In my testing so far I'm getting empty results with nothing happening. Windows is OK. > your cURL line below is doing just that with the -k in it. Maybe with this > setting in place, everything works. I really don't understand what that shell thing is doing. I was hoping there was some way to adapt it to my needs. I'm just a simple designer. :-) > PS: you know that TM|Colors and TM|Align are my favorite plugins here... Glad to hear it. But just wait until Revolution Live in Las Vegas... :-) Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From sunshine at public.kherson.ua Thu Aug 30 01:31:33 2007 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu, 30 Aug 2007 08:31:33 +0300 Subject: connecting to 3.2 valventina database with rev In-Reply-To: Message-ID: On 30/8/07 6:54 AM, "Robert Mann" wrote: Hi Robert, > Well I spent the whole day trying to figure out why data was not being saved > in the valentine database with a standalone You have not answer it seems on my question. Did you install VComponents folder into compiled standalone using script ? Note, that if your project is not huge, you can send us project or even compiled app WITHOUT installed VComponents folder, and we can try debug it here to see where is mistake. > I guess you have to make sure you do the following when you close the app or > data is not saved, this works with valentina 2.5.6 now I will try and change > all to 3.2 and see if it works > > ON DoCloseval > > get VDatabase_Close(theConnectionID) > > END DoCloseval > > ON VCloseCard > > get Valentina_ShutDown > > END VCloseCard > > ON rclosecard > > revCloseDatabase dbID > > END rclosecard -- 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 scott at tactilemedia.com Thu Aug 30 01:37:40 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 29 Aug 2007 22:37:40 -0700 Subject: Answer Annoyance Message-ID: If I put a simple text file on a server that contains the following: world ...and I script: put url pathToServerFile into tData answer tData ...I get this: world How do I tell the answer dialog that I *DON'T* want the HTMLText? I want the actual text! Arg. Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From stephenREVOLUTION at barncard.com Thu Aug 30 01:42:20 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 29 Aug 2007 22:42:20 -0700 Subject: Answer Annoyance In-Reply-To: References: Message-ID: then don't put in the text? >If I put a simple text file on a server that contains the following: > > > world > > >...and I script: > > put url pathToServerFile into tData > answer tData > >...I get this: > > world > >How do I tell the answer dialog that I *DON'T* want the HTMLText? I want >the actual text! Arg. > >Thanks & Regards, > >Scott Rossi >Creative Director >Tactile Media, Multimedia & Design -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From jimaultwins at yahoo.com Thu Aug 30 02:49:11 2007 From: jimaultwins at yahoo.com (Jim Ault) Date: Wed, 29 Aug 2007 23:49:11 -0700 (PDT) Subject: Answer Annoyance In-Reply-To: Message-ID: <994976.26129.qm@web54012.mail.re2.yahoo.com> > put url pathToServerFile into tData replace "<" with "[" in tData replace ">" with "]" in tData > answer tData or build your own Answer dialog I don't know of a way to disable the feature of the built-in Answer dialog. This, of course, allows a variety of formatting for the user. Jim Ault Las Vegas --- Scott Rossi wrote: > If I put a simple text file on a server that > contains the following: > > > world > > > ...and I script: > > put url pathToServerFile into tData > answer tData > > ...I get this: > > world > > How do I tell the answer dialog that I *DON'T* want > the HTMLText? I want > the actual text! Arg. > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and > manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From briany at qldlearning.com Thu Aug 30 03:11:04 2007 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 30 Aug 2007 00:11:04 -0700 Subject: Answer Annoyance In-Reply-To: References: Message-ID: <52FDF376-D35F-49DF-B3ED-89951BFC0EFC@qldlearning.com> Well one workaround would be to actually encode it *as* htmltext: replace "<" with "<" in tData replace ">" with ">" in tData answer ("

"&tData&"

") Not sure that is a scalable solution if your html becomes more complex, but perhaps it will work as a kludge if your needs are simple. Otherwise, you might have to dig in the Rev IDE scripts to see what it is looking for to trigger the treatment as htmlText -- I don't believe it is an engine behavior unless that has recently changed. IIRC Rev scripts are making the call before it's passed to the engine? > If I put a simple text file on a server that contains the following: > > > world > > > ...and I script: > > put url pathToServerFile into tData > answer tData > > ...I get this: > > world > > How do I tell the answer dialog that I *DON'T* want the HTMLText? > I want > the actual text! Arg. > > Thanks & 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 --- Brian Yennie QLD Learning From scott at tactilemedia.com Thu Aug 30 03:13:44 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 30 Aug 2007 00:13:44 -0700 Subject: Answer Annoyance In-Reply-To: <994976.26129.qm@web54012.mail.re2.yahoo.com> Message-ID: Recently, Jim Ault wrote: >> How do I tell the answer dialog that I *DON'T* want >> the HTMLText? >> put url pathToServerFile into tData > replace "<" with "[" in tData > replace ">" with "]" in tData >> answer tData Workable. Thanks Jim. > I don't know of a way to disable the feature of the > built-in Answer dialog. This, of course, allows a > variety of formatting for the user. True, but IIRC this behavior is somewhat new for Rev -- used to be that "answer" displayed the raw (unformatted) text of whatever you fed it. Seems like there should be some kind of "show formatted" toggle or something built on the HTMLtext property. Thanks again. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From ambassador at fourthworld.com Thu Aug 30 03:19:24 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Aug 2007 00:19:24 -0700 Subject: Answer Annoyance Message-ID: <46D66F7C.5060902@fourthworld.com> Scott Rossi wrote: > ...IIRC this behavior is somewhat new for Rev -- used to be that > "answer" displayed the raw (unformatted) text of whatever you fed it. Seems > like there should be some kind of "show formatted" toggle or something built > on the HTMLtext property. This may be a bug. IIRC, the flag is the presence of "

" at the beginning and "

" at the end of the text. If either of those is absent the text is rendered as plain text, otherwise it's assumed to e htmlText. The MetaCard group looked into this in detail a couple years ago, and have adopted that convention from Rev. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From dave.cragg at lacscentre.co.uk Thu Aug 30 03:44:02 2007 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 30 Aug 2007 08:44:02 +0100 Subject: https Help Needed In-Reply-To: References: <30248B48-C194-492C-AF62-98EE32B683B8@maseurope.net> Message-ID: On 30 Aug 2007, at 00:53, Mark Smith wrote: > BTW, what are the problems you're having with libURL and https? I > had some problems with frequent timeouts, and although I've since > migrated that particular app to using curl, before I did, I managed > to come up with a repeat loop that kept trying until it succeeded. > Not ideal, but it worked. Hi Mark There's a bug report here (prompted by your comments). http://quality.runrev.com/qacenter/show_bug.cgi?id=3639 I'm guessing this is the problem Scott is seeing. Cheers Dave From klaus at major-k.de Thu Aug 30 03:51:19 2007 From: klaus at major-k.de (Klaus Major) Date: Thu, 30 Aug 2007 09:51:19 +0200 Subject: snapshot of qt movie will always show the first frame!? Message-ID: <4D10E263-E3A1-4E91-BBB6-23A151F8350E@major-k.de> Hi friends, strange phenomenon on OS X, Rev 2.8.1. If I export a snapshot from the area of a quicktime movie this will always result in an image of the FIRST frame of that movie!!!??? No matter if the alwaysbuffer of the player is true or false or what frame is currently being displayed on the card. Could someone please check this, before I file (another) bug report? Thanks in advance! Taking a snapshot from the finder does work as exspected. Best Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Thu Aug 30 03:57:41 2007 From: klaus at major-k.de (Klaus Major) Date: Thu, 30 Aug 2007 09:57:41 +0200 Subject: snapshot of qt movie will always show the first frame!? In-Reply-To: <4D10E263-E3A1-4E91-BBB6-23A151F8350E@major-k.de> References: <4D10E263-E3A1-4E91-BBB6-23A151F8350E@major-k.de> Message-ID: <2D73BA3E-8EE1-4C71-A403-F3494F3AD9C0@major-k.de> Hi all, > Hi friends, > > strange phenomenon on OS X, Rev 2.8.1. > > If I export a snapshot from the area of a quicktime movie this will > always > result in an image of the FIRST frame of that movie!!!??? > > No matter if the alwaysbuffer of the player is true or false or > what frame is currently > being displayed on the card. > > Could someone please check this, before I file (another) bug report? > Thanks in advance! > > Taking a snapshot from the finder does work as exspected. > > > Best > > Klaus Major > klaus at major-k.de > http://www.major-k.de Small addition: This has been working in earlier versions :-( Regards Klaus Major klaus at major-k.de http://www.major-k.de From kray at sonsothunder.com Thu Aug 30 04:29:25 2007 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 30 Aug 2007 03:29:25 -0500 Subject: Answer Annoyance In-Reply-To: <46D66F7C.5060902@fourthworld.com> References: <46D66F7C.5060902@fourthworld.com> Message-ID: <20070830032925330933.c9ccf6fb@sonsothunder.com> On Thu, 30 Aug 2007 00:19:24 -0700, Richard Gaskin wrote: > Scott Rossi wrote: >> ...IIRC this behavior is somewhat new for Rev -- used to be that >> "answer" displayed the raw (unformatted) text of whatever you fed >> it. Well, sorry to break your bubble, but HTML formatting in the Answer Dialog goes way back to 2.1.2 (at least)**. >> Seems like there should be some kind of "show formatted" toggle >> or something built on the HTMLtext property. Agreed. > This may be a bug. IIRC, the flag is the presence of "

" at the > beginning and "

" at the end of the text. If either of those is > absent the text is rendered as plain text, otherwise it's assumed to > e htmlText. > > The MetaCard group looked into this in detail a couple years ago, and > have adopted that convention from Rev. Actually, IIRC, we looked at what Rev was doing** and realizing that was a bad idea, decided to check ONLY for text beginning with "

" to indicate a desire for HTML formatting. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ------------ ** Rev (since 2.6.1) looks for "

" *in* the text, or is looking to match anything in open/close/self-enclosing tags. Oddly enough, Rev 2.1.2 looks for text *beginning* with a "

" OR any text that is in open/close/self-enclosing tags. Both ways are problematic... From briany at qldlearning.com Thu Aug 30 04:50:47 2007 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 30 Aug 2007 01:50:47 -0700 Subject: Answer Annoyance In-Reply-To: References: Message-ID: <5AF29407-D1AA-4EA9-8FD8-BB6557C82F61@qldlearning.com> One workaround would be to actually encode it *as* htmltext: replace "<" with "<" in tData replace ">" with ">" in tData answer ("

"&tData&"

") Not sure that is a scalable solution if your html becomes more complex, but perhaps it will work as a kludge if your needs are simple. Otherwise, you might have to dig in the Rev IDE scripts to see what it is looking for to trigger the treatment as htmlText -- I don't believe it is an engine behavior unless that has recently changed. IIRC Rev scripts are making the call before it's passed to the engine? > If I put a simple text file on a server that contains the following: > > > world > > > ...and I script: > > put url pathToServerFile into tData > answer tData > > ...I get this: > > world > > How do I tell the answer dialog that I *DON'T* want the HTMLText? > I want > the actual text! Arg. > > Thanks & 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 --- Brian Yennie QLD Learning From klaus at major-k.de Thu Aug 30 04:56:40 2007 From: klaus at major-k.de (Klaus Major) Date: Thu, 30 Aug 2007 10:56:40 +0200 Subject: snapshot of qt movie will always show the first frame!? In-Reply-To: <4D10E263-E3A1-4E91-BBB6-23A151F8350E@major-k.de> References: <4D10E263-E3A1-4E91-BBB6-23A151F8350E@major-k.de> Message-ID: <0C9CD2DE-D9AB-4B2E-9291-FB02F8F43E9F@major-k.de> Hi all, > Hi friends, > > strange phenomenon on OS X, Rev 2.8.1. > > If I export a snapshot from the area of a quicktime movie this will > always > result in an image of the FIRST frame of that movie!!!??? > > No matter if the alwaysbuffer of the player is true or false or > what frame is currently > being displayed on the card. > > Could someone please check this, before I file (another) bug report? > Thanks in advance! > > Taking a snapshot from the finder does work as exspected. maybe this is somehow related to bug# 5187 "Crash when getting a snapshot of a QT player frame"? Tested this on other Macs and found that sometimes there is no snapshot being imported at all, but at least we did not experience a crash. Anyway, this will demand severaly days of working around this if possible, since in our current and big project we use this feature a lot :-/ Regards Klaus Major klaus at major-k.de http://www.major-k.de From niggemann at uni-wh.de Thu Aug 30 06:28:15 2007 From: niggemann at uni-wh.de (BNig) Date: Thu, 30 Aug 2007 03:28:15 -0700 (PDT) Subject: snapshot of qt movie will always show the first frame!? In-Reply-To: <0C9CD2DE-D9AB-4B2E-9291-FB02F8F43E9F@major-k.de> References: <4D10E263-E3A1-4E91-BBB6-23A151F8350E@major-k.de> <0C9CD2DE-D9AB-4B2E-9291-FB02F8F43E9F@major-k.de> Message-ID: <12404432.post@talk.nabble.com> Hi Klaus, the export of a snapshot to a jpeg file works for me in Rev 2.8.1. on OS X I have the alwaysbuffer on, the movie is _not_ running, and the export works. Funny though, if the movie is running and I try a snapshot plus a filename dialog, the snapshot works with the actual frame, the movie stops during the dialog, then the movie starts anew from frame 1. If I just save the snapshot without filename dialog the snapshot is allright (with or without alwaybuffer) and the movie keeps on running. So basically the snapshot works for me, at least for the jpeg export (I didnt test every variant) regards Bernd Klaus Major wrote: > > Hi all, > >> Hi friends, >> >> strange phenomenon on OS X, Rev 2.8.1. >> >> If I export a snapshot from the area of a quicktime movie this will >> always >> result in an image of the FIRST frame of that movie!!!??? >> >> No matter if the alwaysbuffer of the player is true or false or >> what frame is currently >> being displayed on the card. >> >> Could someone please check this, before I file (another) bug report? >> Thanks in advance! >> >> Taking a snapshot from the finder does work as exspected. > > maybe this is somehow related to bug# 5187 "Crash when getting a > snapshot of a QT player frame"? > > Tested this on other Macs and found that sometimes there is no > snapshot being imported at all, > but at least we did not experience a crash. > > Anyway, this will demand severaly days of working around this if > possible, since in our current and > big project we use this feature a lot :-/ > > > 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 > > -- View this message in context: http://www.nabble.com/snapshot-of-qt-movie-will-always-show-the-first-frame%21--tf4352478.html#a12404432 Sent from the Revolution - User mailing list archive at Nabble.com. From klaus at major-k.de Thu Aug 30 06:36:37 2007 From: klaus at major-k.de (Klaus Major) Date: Thu, 30 Aug 2007 12:36:37 +0200 Subject: snapshot of qt movie will always show the first frame!? In-Reply-To: <12404432.post@talk.nabble.com> References: <4D10E263-E3A1-4E91-BBB6-23A151F8350E@major-k.de> <0C9CD2DE-D9AB-4B2E-9291-FB02F8F43E9F@major-k.de> <12404432.post@talk.nabble.com> Message-ID: Hi Bernd, > Hi Klaus, > > the export of a snapshot to a jpeg file works for me in Rev 2.8.1. > on OS X > I have the alwaysbuffer on, the movie is _not_ running, and the export > works. > > Funny though, if the movie is running and I try a snapshot plus a > filename > dialog, the snapshot works with the actual frame, the movie stops > during the > dialog, then the movie starts anew from frame 1. > > If I just save the snapshot without filename dialog the snapshot is > allright > (with or without alwaybuffer) and the movie keeps on running. > > So basically the snapshot works for me, at least for the jpeg > export (I > didnt test every variant) > > regards > > Bernd thanks for testing, its getting stranger and stranger... :-) Regards Klaus Major klaus at major-k.de http://www.major-k.de From david at openpartnership.net Thu Aug 30 07:14:46 2007 From: david at openpartnership.net (David Bovill) Date: Thu, 30 Aug 2007 12:14:46 +0100 Subject: Gradients, math and graphs Message-ID: Forgotten my high school math. I'm creating bevels and gradients using the imagedata and HSV values - so I change the velocity (and/or saturation) of the HSV values to simulate lighting on a beveled surface - to get the appearance of a 3D rounded button... hope you get the idea - now what I need is the maths for various types of curve and i need to be able to skew these curves to simulate light coming from an angle... Does anyone know a useful web source for the math needed here - I guess its log and or sign based curves? From niggemann at uni-wh.de Thu Aug 30 08:02:39 2007 From: niggemann at uni-wh.de (BNig) Date: Thu, 30 Aug 2007 05:02:39 -0700 (PDT) Subject: snapshot of qt movie will always show the first frame!? In-Reply-To: References: <4D10E263-E3A1-4E91-BBB6-23A151F8350E@major-k.de> <0C9CD2DE-D9AB-4B2E-9291-FB02F8F43E9F@major-k.de> <12404432.post@talk.nabble.com> Message-ID: <12405742.post@talk.nabble.com> Hi Klaus, If I put the snapshot script into a second independent stack then the movie continues without going to the first frame afterwards even if I use a filename dialog (ask file). The script of the second stack, just a button: on mouseUp put the rect of player "p1" of stack "Tracker" into theRect put the title of stack "Tracker" & "test" into dateiVorschlag put specialfolderpath ("desktop")into OrdnerFuerImage put OrdnerFuerImage & "/" & dateiVorschlag & " JPEG.jpg" into thePath ask file "Dateinamen f?r Graphik-Export aussuchen aussuchen" with thePath if it is empty then exit mouseUp put it into thePath put the rect of player "p1" of stack "Tracker" into theRect put the WindowId of stack "Tracker" into dieWindowID push card go stack "Tracker" set the filetype to "" export snapshot from rect theRect of window dieWindowID to file thePath as JPEG pop card end mouseUp may be you try this and see what happens hth regards Bernd Klaus Major wrote: > > Hi Bernd, > >> Hi Klaus, >> >> the export of a snapshot to a jpeg file works for me in Rev 2.8.1. >> on OS X >> I have the alwaysbuffer on, the movie is _not_ running, and the export >> works. >> >> Funny though, if the movie is running and I try a snapshot plus a >> filename >> dialog, the snapshot works with the actual frame, the movie stops >> during the >> dialog, then the movie starts anew from frame 1. >> >> If I just save the snapshot without filename dialog the snapshot is >> allright >> (with or without alwaybuffer) and the movie keeps on running. >> >> So basically the snapshot works for me, at least for the jpeg >> export (I >> didnt test every variant) >> >> regards >> >> Bernd > > thanks for testing, its getting stranger and stranger... :-) > > > 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 > > -- View this message in context: http://www.nabble.com/snapshot-of-qt-movie-will-always-show-the-first-frame%21--tf4352478.html#a12405742 Sent from the Revolution - User mailing list archive at Nabble.com. From klaus at major-k.de Thu Aug 30 08:16:53 2007 From: klaus at major-k.de (Klaus Major) Date: Thu, 30 Aug 2007 14:16:53 +0200 Subject: snapshot of qt movie will always show the first frame!? In-Reply-To: <12405742.post@talk.nabble.com> References: <4D10E263-E3A1-4E91-BBB6-23A151F8350E@major-k.de> <0C9CD2DE-D9AB-4B2E-9291-FB02F8F43E9F@major-k.de> <12404432.post@talk.nabble.com> <12405742.post@talk.nabble.com> Message-ID: <3F39E391-2150-4A18-AA28-6D1863864572@major-k.de> Hi Bernd, > Hi Klaus, > > If I put the snapshot script into a second independent stack then > the movie > continues without going to the first frame afterwards even if I use a > filename dialog (ask file). > The script of the second stack, just a button: > > on mouseUp > put the rect of player "p1" of stack "Tracker" into theRect > put the title of stack "Tracker" & "test" into dateiVorschlag > put specialfolderpath ("desktop")into OrdnerFuerImage > put OrdnerFuerImage & "/" & dateiVorschlag & " JPEG.jpg" into > thePath > > ask file "Dateinamen f?r Graphik-Export aussuchen aussuchen" with > thePath doppelt gemoppelt... ;-) > if it is empty then exit mouseUp > put it into thePath > > put the rect of player "p1" of stack "Tracker" into theRect > put the WindowId of stack "Tracker" into dieWindowID > push card > go stack "Tracker" > set the filetype to "" > export snapshot from rect theRect of window dieWindowID to file > thePath as > JPEG > pop card > end mouseUp > > may be you try this and see what happens > > hth > > regards > > Bernd Thanks, I already have a workaround in using Trevor's WONDERFUL Enhanced QT External to extract a frame from a video directly. Strange enough, I have another stack, where this (export snapshot...) works without problems with movie frames? Best and liebe Gr??e :-) Klaus Major klaus at major-k.de http://www.major-k.de From geradamas at yahoo.com Thu Aug 30 08:49:50 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Thu, 30 Aug 2007 13:49:50 +0100 (BST) Subject: The Beta 2.9 question again. Message-ID: <237854.81317.qm@web37511.mail.mud.yahoo.com> Um . . . ? 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 bvg at mac.com Thu Aug 30 09:23:15 2007 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 30 Aug 2007 15:23:15 +0200 Subject: The Beta 2.9 question again. In-Reply-To: <237854.81317.qm@web37511.mail.mud.yahoo.com> References: <237854.81317.qm@web37511.mail.mud.yahoo.com> Message-ID: <6d410bcd555ea8f35c87d498aa5569ec@mac.com> Um to you too! :D (transcript: Please clarify your question, no one but you memorises your previous attempts to get at information. My guess is that you want to know if there will be betas for the next version of Rev (whatever number they decide to stick on it). Assuming that, I heartily answer: no one outside of RunRev knows anything at all about that.) cheers Bj?rnke On 30 Aug 2007, at 14:49, Richmond Mathewson wrote: > Um . . . ? > > 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 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From palcibiades-first at yahoo.co.uk Thu Aug 30 10:45:04 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 30 Aug 2007 15:45:04 +0100 Subject: The Beta 2.9 question again. Message-ID: <200708301545.04398.palcibiades-first@yahoo.co.uk> As Wittgenstein memorably said, or maybe it is what he memorably should have said, or maybe it was R D Laing who memorably said it: If you can't say it, you can't say it - and you can't dance it either. Peter From ambassador at fourthworld.com Thu Aug 30 12:05:54 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Aug 2007 09:05:54 -0700 Subject: The Beta 2.9 question again. Message-ID: <46D6EAE2.7000405@fourthworld.com> Richmond wrote: > Um . . . ? It's still summer in northern hemisphere. Where are you? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From jacque at hyperactivesw.com Thu Aug 30 12:51:49 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 Aug 2007 11:51:49 -0500 Subject: The Beta 2.9 question again. In-Reply-To: <200708301545.04398.palcibiades-first@yahoo.co.uk> References: <200708301545.04398.palcibiades-first@yahoo.co.uk> Message-ID: <46D6F5A5.9010005@hyperactivesw.com> Peter Alcibiades wrote: > As Wittgenstein memorably said, or maybe it is what he memorably should have > said, or maybe it was R D Laing who memorably said it: > > If you can't say it, you can't say it - and you can't dance it either. Oh great, now someone is going to file a bug report about how Rev can't dance. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Thu Aug 30 12:57:44 2007 From: klaus at major-k.de (Klaus Major) Date: Thu, 30 Aug 2007 18:57:44 +0200 Subject: The Beta 2.9 question again. In-Reply-To: <46D6F5A5.9010005@hyperactivesw.com> References: <200708301545.04398.palcibiades-first@yahoo.co.uk> <46D6F5A5.9010005@hyperactivesw.com> Message-ID: <5EC1B2EF-34F7-4F2F-BA0B-75B18E66CACE@major-k.de> Hi Jaqueline, > Peter Alcibiades wrote: >> As Wittgenstein memorably said, or maybe it is what he memorably >> should have said, or maybe it was R D Laing who memorably said it: >> If you can't say it, you can't say it - and you can't dance it >> either. > Oh great, now someone is going to file a bug report about how Rev > can't dance. ;) > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Okiedokie, no time to lose, please check: http://quality.runrev.com/qacenter/show_bug.cgi?id=6666 :-D Best Klaus Major klaus at major-k.de http://www.major-k.de From revdev at pdslabs.net Thu Aug 30 13:21:20 2007 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 30 Aug 2007 10:21:20 -0700 Subject: The Beta 2.9 question again. In-Reply-To: <46D6F5A5.9010005@hyperactivesw.com> References: <200708301545.04398.palcibiades-first@yahoo.co.uk> <46D6F5A5.9010005@hyperactivesw.com> Message-ID: <46D6FC90.2020602@pdslabs.net> J. Landman Gay wrote: > Peter Alcibiades wrote: >> As Wittgenstein memorably said, or maybe it is what he memorably >> should have said, or maybe it was R D Laing who memorably said it: >> >> If you can't say it, you can't say it - and you can't dance it either. > > Oh great, now someone is going to file a bug report about how Rev can't > dance. ;) > This topic is too fertile (as in imagination, not as in fertilizer!) for me to leave it alone. I'm trying to imagine the Rev vocabulary needed to invoke the behavior of this robot (shown on the web site of one of my subcons, a robotics freak): http://ifup.org/2007/08/24/perfection-spoon-dancing-robots/ I promise I won't say anything else. For a while. FWIW - Phil Davis From josh at dvcreators.net Thu Aug 30 13:43:43 2007 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 30 Aug 2007 10:43:43 -0700 Subject: Gradients, math and graphs In-Reply-To: References: Message-ID: Are you sure it wouldn't be faster to create the buttons in Fireworks? :-) On Aug 30, 2007, at 4:14 AM, David Bovill wrote: > Forgotten my high school math. I'm creating bevels and gradients > using the > imagedata and HSV values - so I change the velocity (and/or > saturation) of > the HSV values to simulate lighting on a beveled surface - to get the > appearance of a 3D rounded button... hope you get the idea - now > what I need > is the maths for various types of curve and i need to be able to > skew these > curves to simulate light coming from an angle... > > Does anyone know a useful web source for the math needed here - I > guess its > log and or sign based curves? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From rjearp at hotmail.com Thu Aug 30 14:38:26 2007 From: rjearp at hotmail.com (Bob Earp) Date: Thu, 30 Aug 2007 11:38:26 -0700 Subject: Gradient Textures Message-ID: David, maybe I'm missing the point, but why wouldn't you use a more graphics oriented app to produce the gradient buttons? Photoshop has a very easy way of doing this (even a built-in action I think), I'm sure other graphics tools are equally as good. Then again maybe you wished to build the buttons on the fly? Just wondering... best, Bob... Bob Earp - from (currently) sunny Vancouver ;-) _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us From geradamas at yahoo.com Thu Aug 30 14:57:33 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Thu, 30 Aug 2007 19:57:33 +0100 (BST) Subject: The Beta 2.9 question again. Message-ID: <345247.47931.qm@web37502.mail.mud.yahoo.com> Richard Gaskin wrote: "Richmond wrote: > Um . . . ? It's still summer in northern hemisphere. Where are you?" Well, I'm back in Bulgaria; but I wrote "Um" after having driven 17 hours with one stop for petrol from Hungary via Romania to Bulgaria! Some of us were promised that if we Beta-tested the Beta versions of RunRev that lead up to versioon 2.9 we would be given free copies. So I signed up and did a fair bit of Beta-testing - then the betas dried up and we have heard nothing since; except a reply to a posting of mine 1,2,3 ???? months ago which basically said we had to "hang on in there" and further betas would be forthcoming. When hanging there it is difficult to say more than "Um". sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ From m.schonewille at economy-x-talk.com Thu Aug 30 15:08:49 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 30 Aug 2007 21:08:49 +0200 Subject: The Beta 2.9 question again. In-Reply-To: <345247.47931.qm@web37502.mail.mud.yahoo.com> References: <345247.47931.qm@web37502.mail.mud.yahoo.com> Message-ID: <5637C18C-90D6-4956-9E67-A47E92E03F2B@economy-x-talk.com> Dear Richmond, Betatesters were not promised free copies, at least not that I know of. If I remember correctly, holders of a 2.7.1 license will receive a free update to 2.9. I might be mistaken and if you or anyone else want to know the exact details, it is probably best to contact support. 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-aug-2007, om 20:57 heeft Richmond Mathewson het volgende geschreven: > > Some of us were promised that if we Beta-tested the > Beta versions of RunRev that lead up to versioon 2.9 > we would be given free copies. From ambassador at fourthworld.com Thu Aug 30 15:11:44 2007 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 30 Aug 2007 12:11:44 -0700 Subject: The Beta 2.9 question again. Message-ID: <46D71670.2050608@fourthworld.com> Richmond wrote: > Some of us were promised that if we Beta-tested the > Beta versions of RunRev that lead up to versioon 2.9 > we would be given free copies. > > So I signed up and did a fair bit of Beta-testing - > then the betas dried up and we have heard nothing > since; except a reply to a posting of mine 1,2,3 ???? > months ago which basically said we had to "hang on in > there" and further betas would be forthcoming. > > When hanging there it is difficult to say more than > "Um". Last I heard, v2.9 was projected for "this summer". I haven't seen any v2.9 build myself. Which v2.9 build have you been testing? Also, since the beta program is covered under NDA, have you considered just writing to RunRev directly? They're probably in a better position to discuss pre-release builds than the readers of this list. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From geradamas at yahoo.com Thu Aug 30 15:28:11 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Thu, 30 Aug 2007 20:28:11 +0100 (BST) Subject: The Beta 2.9 question again. Message-ID: <308450.55718.qm@web37503.mail.mud.yahoo.com> Richard Gaskin wrote: "Also, since the beta program is covered under NDA, have you considered just writing to RunRev directly? They're probably in a better position to discuss pre-release builds than the readers of this list." at the risk of being accused to circularity my response to that is: Um . . . ! sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ From katir at hindu.org Thu Aug 30 15:29:02 2007 From: katir at hindu.org (Sivakatirswami) Date: Thu, 30 Aug 2007 09:29:02 -1000 Subject: Output keyboard input to Text Notes Message-ID: <46D71A7E.7060500@hindu.org> I think I asked this a few years back, and will try again: I would like to be able to input a single melodic line and have this output to the hold Hypercard musical notation format. I think Supercard also had this option. I don't recall all the exact method in which tempo was represented by you could have a string like this: c c+ d c+ d e e f g c+ etc and you get a melodic line... What I would like would be to use the mac keyboard for keying in some melodic lines and then have this output to text notes. most music apps allow you to turn the keyboard into a "piano" key board and you can do music typing by typing "C" you will get C1 (middle C) hold shift key you get C2 (one octave above) etc. and this can be recorded and played back. but I want to get from the sound out to text string representation. Goal is to convert these to Indian svaras as a way to document certain tune in Indian notation form where ragas and songs are single melodic lines. eg. c d d e f e f g e a b c2 (Major Scale, ascending patter) is just: s r r g m g m p g d n c1 (Sankarabharanam ragam) theoretically one should be able to "trap" for the pitch as a cycles per second and translate that to the note: e.g. 440 is A below middle C... Now, I know I could get some super music program like Finale, but that's way overkill One doesn't need a multi-stave, orchestral capable engine to do a single melodic line and in the end I get western notation anyway, and not the text representation I need. The super cool app would actually be able to "listen" to a vocal recording and then output the text representation. Any ideas? Sivakatirswami From geradamas at yahoo.com Thu Aug 30 15:34:55 2007 From: geradamas at yahoo.com (Richmond Mathewson) Date: Thu, 30 Aug 2007 20:34:55 +0100 (BST) Subject: [OT] Valveeta cheese database. Message-ID: <422811.82158.qm@web37509.mail.mud.yahoo.com> I couldn't help noticing that there have been some recent postings about connecting to 3.2 valventina database with rev and, while I have heard about the Valentina database, as a long-term fan of Valveeta cheese I was thrilled to learn that it now is inbuilt into a database. It is extremely hard to be a fan of Valveeta cheese if one lives in Bulgaria; presumably, as it is now built into a database one should expect to see it oozing out of some sort of USB pipe connect to one's computer. OK, blame it on the residue of my holiday! love, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ From m.schonewille at economy-x-talk.com Thu Aug 30 15:49:42 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 30 Aug 2007 21:49:42 +0200 Subject: Output keyboard input to Text Notes In-Reply-To: <46D71A7E.7060500@hindu.org> References: <46D71A7E.7060500@hindu.org> Message-ID: Hi Sivakatirswami, Check out the midi stack in the collection of unsupported stacks somewhere on the Rev homepage. 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-aug-2007, om 21:29 heeft Sivakatirswami het volgende geschreven: > I think I asked this a few years back, and will try again: > > I would like to be able to input a single melodic line and > have this output to the hold Hypercard musical notation format. > I think Supercard also had this option. > > I don't recall all the exact method in which tempo was represented by > you could have a string like this: > > c c+ d c+ d e e f g c+ > > etc and you get a melodic line... > From katir at hindu.org Thu Aug 30 19:04:53 2007 From: katir at hindu.org (Sivakatirswami) Date: Thu, 30 Aug 2007 13:04:53 -1000 Subject: Output keyboard input to Text Notes In-Reply-To: References: <46D71A7E.7060500@hindu.org> Message-ID: <46D74D15.9050308@hindu.org> Mark Schonewille wrote: > Hi Sivakatirswami, > > Check out the midi stack in the collection of unsupported stacks > somewhere on the Rev homepage. Liam Lambert set it to me. Thanks Liam; Ok this works (almost) at least there is an integer value for each note on the "piano" and middle C is 60, c# is 61, d is 62 etc so translating that will be easy. I just need to extend the keydown handler to encompass the letters and viola, keyboard.. though bound to be a big sluggish as playback requires quickly saving a temp file and playing it in QT player rather than a direct call to QT midi API... but I think this is a solution for now. Wish me luck. > 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-aug-2007, om 21:29 heeft Sivakatirswami het volgende geschreven: > >> I think I asked this a few years back, and will try again: >> >> I would like to be able to input a single melodic line and >> have this output to the hold Hypercard musical notation format. >> I think Supercard also had this option. >> >> I don't recall all the exact method in which tempo was represented by >> you could have a string like this: >> >> c c+ d c+ d e e f g c+ >> >> etc and you get a melodic line... >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Om shanti (In Peace) Sivakatirswami www.himalayanacademy.com Get Hinduism Today Digital Edition. It's Free! http://www.hinduismtoday.com/digital/ From bvlahos at mac.com Fri Aug 31 00:31:07 2007 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 30 Aug 2007 21:31:07 -0700 Subject: Send email with attachment In-Reply-To: <46D255C4.2090608@dreamscapesoftware.com> References: <0DAD78E5-71E7-44C4-BA81-7B70FF478893@mac.com> <46D255C4.2090608@dreamscapesoftware.com> Message-ID: Thanks Derek. What I want to do is essentially what Microsoft does in Word and Excel. You can email the document you have open and it uses the default email client on both Macs and Windows to do it. That's a good point about web mail programs. I hadn't thought of that. Unfortunately, I can't depend on a server somewhere for this software. Bill On Aug 26, 2007, at 9:40 PM, Derek Bump wrote: > Bill, > > What you could do is create the body of the email and encode the > attachment directly into the message via content types (I believe it's > called MIME). To see what I mean, view the source of an email message > with an attachment. > > I am not sure though if *all* email programs would honor the embedded > code when it's passed via the mailto:, and would instead just > display it > as inline text as opposed to an attachment. This may create confusion > for some users. > > There is one other consideration that I hope you have not ignored, and > that is that a LOT of people don't use traditional email programs. > They > use web based email like Hotmail or Yahoo Mail. I had implemented a > mailto: script in one of my programs, only to replace it later on > with a > PHP script on my server that would send the email regardless of what > type of email they used (or if they even had email at all). > > I hope that helps you in your efforts. If you're interested in a copy > of the PHP script, email me off-list and I'll send you a copy. > > > Derek Bump > Dreamscape Software > http://www.dreamscapesoftware.com > > > Bill Vlahos wrote: >> The following command works great for opening a new email message and >> putting the address(s) in it. What I would like to also do is add a >> specific attachment to the email as well but I don't see a >> parameter for >> doing that. This would be for Mac and Windows now and Linux when >> Rev 2.9 >> comes out. >> >> revGoURL "mailto:guido at sales.example.com" >> >> I know there are ways to send email directly from Rev apps but in >> this >> case I would like to leverage the email program the user already >> has and >> not require setting up SMTP parameters. >> >> Thanks, >> Bill Vlahos >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From palcibiades-first at yahoo.co.uk Fri Aug 31 05:09:15 2007 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 31 Aug 2007 10:09:15 +0100 Subject: The Beta 2.9 question again. Message-ID: <200708311009.15615.palcibiades-first@yahoo.co.uk> Joking apart, there is a very serious question about this for Linux users. I mean, those of us on Linux exclusively, not those who have the Linux version incidentally as part of the Enterprise package. 2.6.1 was great in its day, but the alternatives have moved on a lot in two years. As indeed have the Mac and Windows versions of Rev apparently. You cannot have this sort of interval between updates and be a serious contender in the Linux market. Its not RealBasic, either, that's the problem. Its stuff like wxDesigner, pysqlite, its the detailed documentation - Lutz, Hetland and so on. The programming editors with Python support modes, from Eclipse on down. If the last time you looked seriously at this stuff is a few years ago, you have no idea what the Linux market is like now and what is on offer from the competition. I'm greatly hoping for the 2.9 Beta as well, but as the months go by, increasingly worrying that when it eventually arrives it may be too little too late. Hoping greatly to be proved wrong on both counts, preferably next week! Peter From david at openpartnership.net Fri Aug 31 05:31:37 2007 From: david at openpartnership.net (David Bovill) Date: Fri, 31 Aug 2007 10:31:37 +0100 Subject: Gradients, math and graphs In-Reply-To: References: Message-ID: On 30/08/2007, Josh Mellicker wrote: > > Are you sure it wouldn't be faster to create the buttons in Fireworks? > :-) Hmmm... I did a test. To render the gradient took 4.326 milliseconds while Fireworks took 8 minutes to download and $299 :) Seriously though I know your a big fan and will have to take a more serious look as I get further into the GUI side. From list at dreamscapesoftware.com Fri Aug 31 11:54:11 2007 From: list at dreamscapesoftware.com (Derek Bump) Date: Fri, 31 Aug 2007 10:54:11 -0500 Subject: Send email with attachment In-Reply-To: References: <0DAD78E5-71E7-44C4-BA81-7B70FF478893@mac.com> <46D255C4.2090608@dreamscapesoftware.com> Message-ID: <46D839A3.6030700@dreamscapesoftware.com> Bill, You're welcome. I just tried the MIME suggestion I had, but I'm having no luck getting it to work. It relies on headers, which a "mailto:" will not let you specify (other than subject, to and cc). What you may try is using a VBScript or Windows Scripting Host. While they may provide a solution, be aware that most AntiVirus and AntiSpyware programs will display an alert to the user. Also, something to be aware of, revMail doesn't locate the default email client on Windows Vista properly. Bug report #5286. I have posted a fix on the report if you need it. If you do end up finding a solution, please let myself and the list know. This is something that a lot of us have been trying to figure out for a long time. Thanks. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com Bill Vlahos wrote: > Thanks Derek. > > What I want to do is essentially what Microsoft does in Word and Excel. > You can email the document you have open and it uses the default email > client on both Macs and Windows to do it. > > That's a good point about web mail programs. I hadn't thought of that. > Unfortunately, I can't depend on a server somewhere for this software. > > Bill > > On Aug 26, 2007, at 9:40 PM, Derek Bump wrote: > >> Bill, >> >> What you could do is create the body of the email and encode the >> attachment directly into the message via content types (I believe it's >> called MIME). To see what I mean, view the source of an email message >> with an attachment. >> >> I am not sure though if *all* email programs would honor the embedded >> code when it's passed via the mailto:, and would instead just display it >> as inline text as opposed to an attachment. This may create confusion >> for some users. >> >> There is one other consideration that I hope you have not ignored, and >> that is that a LOT of people don't use traditional email programs. They >> use web based email like Hotmail or Yahoo Mail. I had implemented a >> mailto: script in one of my programs, only to replace it later on with a >> PHP script on my server that would send the email regardless of what >> type of email they used (or if they even had email at all). >> >> I hope that helps you in your efforts. If you're interested in a copy >> of the PHP script, email me off-list and I'll send you a copy. >> >> >> Derek Bump >> Dreamscape Software >> http://www.dreamscapesoftware.com >> >> >> Bill Vlahos wrote: >>> The following command works great for opening a new email message and >>> putting the address(s) in it. What I would like to also do is add a >>> specific attachment to the email as well but I don't see a parameter for >>> doing that. This would be for Mac and Windows now and Linux when Rev 2.9 >>> comes out. >>> >>> revGoURL "mailto:guido at sales.example.com" >>> >>> I know there are ways to send email directly from Rev apps but in this >>> case I would like to leverage the email program the user already has and >>> not require setting up SMTP parameters. >>> >>> Thanks, >>> Bill Vlahos >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From andre at andregarzia.com Fri Aug 31 12:20:04 2007 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 31 Aug 2007 13:20:04 -0300 Subject: is "drawer" broken in Rev 2.8.1? Message-ID: <7c87a2a10708310920u34c34898m69ae5565bdf6e623@mail.gmail.com> Hello friends, is "drawer" broken on 2.8.1 release? When I move the parent stack, it loses the drawer stack... it becomes a floating round thingy.... Any clue? andre From andre at andregarzia.com Fri Aug 31 12:20:54 2007 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 31 Aug 2007 13:20:54 -0300 Subject: Send email with attachment In-Reply-To: <46D839A3.6030700@dreamscapesoftware.com> References: <0DAD78E5-71E7-44C4-BA81-7B70FF478893@mac.com> <46D255C4.2090608@dreamscapesoftware.com> <46D839A3.6030700@dreamscapesoftware.com> Message-ID: <7c87a2a10708310920m3750bf2o3a2ab8e1ae7d925f@mail.gmail.com> Bill, coming late to this thread, are you on mac or windows? on macs you can use applescript for that. Andre On 8/31/07, Derek Bump wrote: > > Bill, > > You're welcome. I just tried the MIME suggestion I had, but I'm having > no luck getting it to work. It relies on headers, which a "mailto:" > will not let you specify (other than subject, to and cc). > > What you may try is using a VBScript or Windows Scripting Host. While > they may provide a solution, be aware that most AntiVirus and > AntiSpyware programs will display an alert to the user. > > Also, something to be aware of, revMail doesn't locate the default email > client on Windows Vista properly. Bug report #5286. I have posted a > fix on the report if you need it. > > If you do end up finding a solution, please let myself and the list > know. This is something that a lot of us have been trying to figure out > for a long time. Thanks. > > > Derek Bump > Dreamscape Software > http://www.dreamscapesoftware.com > > > Bill Vlahos wrote: > > Thanks Derek. > > > > What I want to do is essentially what Microsoft does in Word and Excel. > > You can email the document you have open and it uses the default email > > client on both Macs and Windows to do it. > > > > That's a good point about web mail programs. I hadn't thought of that. > > Unfortunately, I can't depend on a server somewhere for this software. > > > > Bill > > > > On Aug 26, 2007, at 9:40 PM, Derek Bump wrote: > > > >> Bill, > >> > >> What you could do is create the body of the email and encode the > >> attachment directly into the message via content types (I believe it's > >> called MIME). To see what I mean, view the source of an email message > >> with an attachment. > >> > >> I am not sure though if *all* email programs would honor the embedded > >> code when it's passed via the mailto:, and would instead just display > it > >> as inline text as opposed to an attachment. This may create confusion > >> for some users. > >> > >> There is one other consideration that I hope you have not ignored, and > >> that is that a LOT of people don't use traditional email > programs. They > >> use web based email like Hotmail or Yahoo Mail. I had implemented a > >> mailto: script in one of my programs, only to replace it later on with > a > >> PHP script on my server that would send the email regardless of what > >> type of email they used (or if they even had email at all). > >> > >> I hope that helps you in your efforts. If you're interested in a copy > >> of the PHP script, email me off-list and I'll send you a copy. > >> > >> > >> Derek Bump > >> Dreamscape Software > >> http://www.dreamscapesoftware.com > >> > >> > >> Bill Vlahos wrote: > >>> The following command works great for opening a new email message and > >>> putting the address(s) in it. What I would like to also do is add a > >>> specific attachment to the email as well but I don't see a parameter > for > >>> doing that. This would be for Mac and Windows now and Linux when Rev > 2.9 > >>> comes out. > >>> > >>> revGoURL "mailto:guido at sales.example.com" > >>> > >>> I know there are ways to send email directly from Rev apps but in this > >>> case I would like to leverage the email program the user already has > and > >>> not require setting up SMTP parameters. > >>> > >>> Thanks, > >>> Bill Vlahos > >>> _______________________________________________ > >>> use-revolution mailing list > >>> use-revolution at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-revolution > >>> > >>> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution 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 Aug 31 12:31:44 2007 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 31 Aug 2007 18:31:44 +0200 Subject: is "drawer" broken in Rev 2.8.1? In-Reply-To: <7c87a2a10708310920u34c34898m69ae5565bdf6e623@mail.gmail.com> References: <7c87a2a10708310920u34c34898m69ae5565bdf6e623@mail.gmail.com> Message-ID: Andre, Do you mean that your drawer stack worked fine before? AFAIK there have always been problems with drawers. 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 31-aug-2007, om 18:20 heeft Andre Garzia het volgende geschreven: > Hello friends, > is "drawer" broken on 2.8.1 release? When I move the parent stack, > it loses > the drawer stack... it becomes a floating round thingy.... > > Any clue? > > andre From andre at andregarzia.com Fri Aug 31 12:32:25 2007 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 31 Aug 2007 13:32:25 -0300 Subject: canceling a "wait with messages" call... In-Reply-To: <70CAB0E0-D5DC-420A-B098-62A506B603E2@lacscentre.co.uk> References: <7c87a2a10708291010u195eda2dn9469cfd6c7c9832d@mail.gmail.com> <70CAB0E0-D5DC-420A-B098-62A506B603E2@lacscentre.co.uk> Message-ID: <7c87a2a10708310932h7852a9dbxea90879a0a380448@mail.gmail.com> Thanks all for the messages! What I am doing is mixing async and sync behaviors. I want the network access to go async so that it doesn't block the ui or the application but I want the handler that started the async call to be stopped while the transaction is happening. The script is a Bills of Materials processor that downloads files. To simplify the script to the point where someone else than me (I write very obscure scripts...) can actually understand what is happening, I've opted to a structure like this: local lFileStatus libURLDownloadToFile tURL, tFile, "theCallback" wait while lFileStatus is empty with messages ... so what happens is that the handler above loads a file using an async call but is blocked by the wait. The callback, when it occurs, set the local variable to some non-empty value which thus unblock that wait call allowing that handler to further process the files. Some may ask, "why don't you do the further processing on the callback!?". The answer for that is: "no." (sorry, prolog joke). The long answer is that the solution above leads to scripts easier to maintain and easier to follow. The good thing of using a script local variable as a flag allows me to have other handlers doing side-effects. For example, I have my own timeout handler that will set that flag to a non-empty-but-error value if libURL really fails. The callback is only called by libURL, having a flag makes easy to your code to interface with your async/sync blocking mechanism. The trouble is, sometimes when I set that local variable to a non-empty value, the handler does not unblock and that keeps me thinking: "why? oh why my hanlder does not unblock when I set the very especific condition to it's unblocking to true!?" if there is no way to unblock that thing, then I want to finish/abort/kaput it, which I guess I also can't do. Dave, I got to waitdepth 6 using those handlers which got me thinking about nested russian dolls blocking each other. Do you know if there's a way to force a handler stopped on a wait call to resume or exit to top? Andre From andre at andregarzia.com Fri Aug 31 12:35:51 2007 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 31 Aug 2007 13:35:51 -0300 Subject: is "drawer" broken in Rev 2.8.1? In-Reply-To: References: <7c87a2a10708310920u34c34898m69ae5565bdf6e623@mail.gmail.com> Message-ID: <7c87a2a10708310935wf740d5au64c0e235806b8f02@mail.gmail.com> it is a bug in my code... tested another drawer stack I have here and it worked fine... hate bugs. Thanks! On 8/31/07, Mark Schonewille wrote: > > Andre, > > Do you mean that your drawer stack worked fine before? AFAIK there > have always been problems with drawers. > > 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 31-aug-2007, om 18:20 heeft Andre Garzia het volgende geschreven: > > > > Hello friends, > > is "drawer" broken on 2.8.1 release? When I move the parent stack, > > it loses > > the drawer stack... it becomes a floating round thingy.... > > > > Any clue? > > > > 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 andre at andregarzia.com Fri Aug 31 13:08:52 2007 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 31 Aug 2007 14:08:52 -0300 Subject: https Help Needed In-Reply-To: References: <7c87a2a10708292103h24bb1ee0sec20de5eecf9aef4@mail.gmail.com> Message-ID: <7c87a2a10708311008p5b25cb48l6c7726d14c4c98e9@mail.gmail.com> Hey Scott, what about the following workflow, using that curl try: if the url is HTTPS try: curl -v -k -X HEAD this will just send back the header portion of a call to that url. This is good because you have the Content-Lenght and then you can later call: curl -v -k and monitor the file size as it grows to match Content-Lenght. It's not the best way to monitor a file transfer but you could use a mix of that and a send in time to check for timeouts if the file does not grow as often as it should. if the url is FTPS use: curl -v -k -X SIZE Not all servers support the SIZE call. You mileage may vary. I think your best option is using HTTPS and and HEAD request to learn the file size prior to downloading it. Does this helps you? Andre From andre at andregarzia.com Fri Aug 31 13:15:46 2007 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 31 Aug 2007 14:15:46 -0300 Subject: trouble with standalone valentina In-Reply-To: References: <7c87a2a10708290918v13abb0c2odd2a7cdc5ec4d6c6@mail.gmail.com> Message-ID: <7c87a2a10708311015gc6efacbw81772be188bd9345@mail.gmail.com> Robert, Valentina is not my main expertise but Ruslan is very friendly and always help! :-) He probably can help you! Cheers andre On 8/29/07, Robert Mann wrote: > > The _customKeyVSCR is working properly this is later used to check paypal > payment which is working, > The problem is getting the information into the valentina database in > development mode it goes in but when I build a standalone it does not? > > > > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Andre Garzia > Sent: Wednesday, August 29, 2007 12:19 PM > To: How to use Revolution > Subject: Re: trouble with standalone valentina > > Hello Robert, > this may sound naive. But instead of using "this stack" try to use the > real > name of the stack. The stack you think is the default might not be the > default one so you may been accessing the property of some other stack > which > is empty. > > try using something like: > > if the _customKeyVSCR of this stack is empty then > answer "current stack is" && the short name of this stack > end if > > if it is the correct stack, then check is the custompropertyset is the > right > one. You may be accessing the right stack all along but trying with a > wrong > property set being the current one. > > If the problem still persists, run your routine that saves the VSCR key > and > then open the *troublesome* stack in the IDE and check if the value is > being > saved. Chances are if you're acessing it right but there's no value that > the > save routine is wrong. > > HTH > andre > > > > On 8/29/07, Eric Chatonet wrote: > > > > Hi Rob, > > > > Le 29 ao?t 07 ? 01:03, Robert Mann a ?crit : > > > > > My application works fine in development mode but when I build the > > > standalone and test that database does not seem to get updated? > > > > Databases are not my field but reading your script I saw: > > > > > set the _customKeyVSCR of this stack to _key > > > > Could it be simply related to the fact that a standalone can't be saved? > > Then the _customKeyVSCR is always empty when relaunching. > > Hope this helps. > > Not sure ;-) > > > > 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 > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Fri Aug 31 14:22:44 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 31 Aug 2007 13:22:44 -0500 Subject: Remote MAC address on Windows Message-ID: <46D85C74.1030305@hyperactivesw.com> Is there a way to obtain the MAC address of a server from a client machine on a Windows LAN? Some web research suggests that the arp command will give what I want, but when I run it in the command line it says there are no arp entries, even if I successfully ping the server first. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at elementarysoftware.com Fri Aug 31 14:34:56 2007 From: scott at elementarysoftware.com (Scott Morrow) Date: Fri, 31 Aug 2007 11:34:56 -0700 Subject: is "drawer" broken in Rev 2.8.1? In-Reply-To: <7c87a2a10708310920u34c34898m69ae5565bdf6e623@mail.gmail.com> References: <7c87a2a10708310920u34c34898m69ae5565bdf6e623@mail.gmail.com> Message-ID: Bug 4738 describes this condition. It appears only to effect OSX 3.x and below... so testing on an Intel Mac won't show this (unless it is something to do with your code : ) I would invite people to vote for this bug. While drawers were never perfect they did have some basic reliable functionality in 2.6.1 which is now gone with the later versions of Rev. if users have OSX 10.3 or less. Andre, if you found a way to make the drawer stay attached, I would be interested to hear how. -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- On Aug 31, 2007, at 9:20 AM, Andre Garzia wrote: > Hello friends, > is "drawer" broken on 2.8.1 release? When I move the parent stack, > it loses > the drawer stack... it becomes a floating round thingy.... > > Any clue? > > 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 andre at andregarzia.com Fri Aug 31 15:33:33 2007 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 31 Aug 2007 16:33:33 -0300 Subject: is "drawer" broken in Rev 2.8.1? In-Reply-To: References: <7c87a2a10708310920u34c34898m69ae5565bdf6e623@mail.gmail.com> Message-ID: <7c87a2a10708311233r1a157849neaa5ba05098b1ad4@mail.gmail.com> Scott, I don't know if this problem and the one I was experiencing is indeed the same but I managed to make my drawers stick to their stack. I found that it is all related to who issued the drawer command in the first place. My drawer call was on the drawer stack itself, it was something like: drawer stack "Attribute editor" at right of stack "HTML Editor" which caused all kinds of trouble. If I moved that call to the mainstack where the drawer should attach itself, in this case, the stack "HTML Editor", then everything worked as expected. So, I guess the stack you want to be the parent stack, must be the one calling the drawer command, even if you use the parentStack option on the call... don't know, anyway, it is working, care to try if this solves your problem too? I am on intel mac running Mac OS X 10.4.10 andre Andre On 8/31/07, Scott Morrow wrote: > > Bug 4738 describes this condition. It appears only to effect OSX > 3.x and below... so testing on an Intel Mac won't show this (unless > it is something to do with your code : ) I would invite people to > vote for this bug. While drawers were never perfect they did have > some basic reliable functionality in 2.6.1 which is now gone with the > later versions of Rev. if users have OSX 10.3 or less. > > Andre, if you found a way to make the drawer stay attached, I would > be interested to hear how. > > -Scott Morrow > > Elementary Software > (Now with 20% less chalk dust !) > web http://elementarysoftware.com/ > email scott at elementarysoftware.com > > ----------------------------------------------------------------- > > > On Aug 31, 2007, at 9:20 AM, Andre Garzia wrote: > > > Hello friends, > > is "drawer" broken on 2.8.1 release? When I move the parent stack, > > it loses > > the drawer stack... it becomes a floating round thingy.... > > > > Any clue? > > > > 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 > > > > > _______________________________________________ > > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From david at openpartnership.net Fri Aug 31 15:54:46 2007 From: david at openpartnership.net (David Bovill) Date: Fri, 31 Aug 2007 20:54:46 +0100 Subject: Export Snapshot - documentation issues Message-ID: I'm trying to get my head round the latest on "export snapshot"... it seems there are a bunch of posts regarding memory leaks and syntax problems. Certainly you can't use the syntax specified in the docs - such as relative rects with the object form... so looking for some advice. Lets take a specific example - the aim is to take a picture of an arbitrary group. Here is a script which fails (needs to use global coordinates): getprop object_SnapShot [imageType] -- see also "image_GetSnapShot" put the long id of the target into targetObject put the mobile_Name of targetObject switch imageType case "GIF" export snapshot from rect (the rect of targetObject) of targetObject to someImage as GIF break case "JPG" export snapshot from rect (the rect of targetObject) of targetObject to someImage as JPEG break case "JPEG" export snapshot from rect (the rect of targetObject) of targetObject to someImage as JPEG break default export snapshot from rect (the rect of targetObject) of targetObject to someImage as PNG end switch return someImage end object_SnapShot So - whats the best way to take snapshot of a group/control - I've noticed from previous posts that people move objects offscreen and similar tricks? I think the window needs to be top-most... suggestions? From andre at andregarzia.com Fri Aug 31 15:59:33 2007 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 31 Aug 2007 16:59:33 -0300 Subject: Remote MAC address on Windows In-Reply-To: <46D85C74.1030305@hyperactivesw.com> References: <46D85C74.1030305@hyperactivesw.com> Message-ID: <7c87a2a10708311259p32c2395akf2abe16fcfa1aa57@mail.gmail.com> Jacque, I don't know how to find a remote mac address, but a local windows mac address you can use: ipconfig /all and parse it. I think that to touch such low level info as MAC Addresses you may need some raw C/C++ code to socket structures. On 8/31/07, J. Landman Gay wrote: > > Is there a way to obtain the MAC address of a server from a client > machine on a Windows LAN? > > Some web research suggests that the arp command will give what I want, > but when I run it in the command line it says there are no arp entries, > even if I successfully ping the server first. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From david at openpartnership.net Fri Aug 31 16:08:29 2007 From: david at openpartnership.net (David Bovill) Date: Fri, 31 Aug 2007 21:08:29 +0100 Subject: Export Snapshot - documentation issues In-Reply-To: References: Message-ID: A few experiments later.... and it seems the message is that the docs are wrong - firstly there seems no point using "of object" form, instead use only of "window windowID". Also the docs are wrong in that you don't need the stack to be topmost - so the following script seems to work fine at the moment: getprop object_SnapShot [imageType] -- see also "image_GetSnapShot" put the long id of the target into targetObject put the stack_Object of targetObject into stackObject -- toplevel stackObject put the windowid of stackObject into wID put the rect of targetObject into localRect switch imageType case "GIF" export snapshot from rect localRect of window wID to someImage as GIF break case "JPG" export snapshot from rect localRect of window wID to someImage as JPEG break case "JPEG" export snapshot from rect localRect of window wID to someImage as JPEG break default export snapshot from rect localRect of window wID to someImage as PNG end switch return someImage end object_SnapShot I've updated the docs here (feel free to comment on / edit the wiki page) - http://handlers.rev-co.de/wiki/export%2Bsnapshot. From scott at tactilemedia.com Fri Aug 31 16:33:20 2007 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 31 Aug 2007 13:33:20 -0700 Subject: Export Snapshot - documentation issues In-Reply-To: Message-ID: Recently, David Bovill wrote: > A few experiments later.... and it seems the message is that the docs > are wrong - firstly there seems no point using "of object" form, > instead use only of "window windowID". If I understand what you're saying, one syntax form for an object is: import snapshot from rect (rect of ) of This imports a snapshot of the object to the card using the object as the source. The reason for doing this is it grabs the alpha data of the object as well, keeping any transparency intact. The export syntax is: export snapshot from rect (rect of btn 1) of btn 1 to file fPath as PNG This does the same but to an external PNG file. You can also use the other image formats (ie JPEG) as well. You can also export to a variable. Is this what you were asking? Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From david at openpartnership.net Fri Aug 31 17:21:37 2007 From: david at openpartnership.net (David Bovill) Date: Fri, 31 Aug 2007 22:21:37 +0100 Subject: Export Snapshot - documentation issues In-Reply-To: References: Message-ID: On 31/08/2007, Scott Rossi wrote: > If I understand what you're saying, one syntax form for an object is: > > import snapshot from rect (rect of ) of > > This imports a snapshot of the object to the card using the object as the > source. The reason for doing this is it grabs the alpha data of the object > as well, keeping any transparency intact. OK > > The export syntax is: > > export snapshot from rect (rect of btn 1) of btn 1 to file fPath as PNG > I tried this and it does not work as expected - you need to use the global coordinates not the local ones. Also testing this - it is important that there is no window overlap with this syntax - while it is not imortant with the "window windowID" syntax - so the latest version of the handler is: getprop object_SnapShot [imageType] put the long id of the target into targetObject put the stack_Object of targetObject into stackObject put the windowid of stackObject into wID put the rect of targetObject into localRect switch imageType case "Transparent" toplevel stackObject put the global_Rect of targetObject into globalRect export snapshot from rect globalRect of targetObject to someImage as PNG break case "GIF" export snapshot from rect localRect of window wID to someImage as GIF break case "JPG" export snapshot from rect localRect of window wID to someImage as JPEG break case "JPEG" export snapshot from rect localRect of window wID to someImage as JPEG break default export snapshot from rect localRect of window wID to someImage as PNG end switch return someImage end object_SnapShot From david at openpartnership.net Fri Aug 31 17:22:39 2007 From: david at openpartnership.net (David Bovill) Date: Fri, 31 Aug 2007 22:22:39 +0100 Subject: Export Snapshot - documentation issues In-Reply-To: References: Message-ID: getprop object_SnapShot [imageType] put the long id of the target into targetObject put the stack_Object of targetObject into stackObject put the windowid of stackObject into wID put the rect of targetObject into localRect switch imageType case "Transparent" toplevel stackObject put the global_Rect of targetObject into globalRect export snapshot from rect globalRect of targetObject to someImage as PNG break case "GIF" export snapshot from rect localRect of window wID to someImage as GIF break case "JPG" export snapshot from rect localRect of window wID to someImage as JPEG break case "JPEG" export snapshot from rect localRect of window wID to someImage as JPEG break default export snapshot from rect localRect of window wID to someImage as PNG end switch return someImage end object_SnapShot From chris at altuit.com Fri Aug 31 17:28:04 2007 From: chris at altuit.com (chris bohnert) Date: Fri, 31 Aug 2007 16:28:04 -0500 Subject: Remote MAC address on Windows In-Reply-To: <46D85C74.1030305@hyperactivesw.com> References: <46D85C74.1030305@hyperactivesw.com> Message-ID: <2e0cf4750708311428q2a8ae546y71776d20caf0322@mail.gmail.com> Jacque, Using XP home and the command: "arp -a" works here as long as I perform the requisite ping and pause briefly to let the arp cache update. -- cb On 8/31/07, J. Landman Gay wrote: > > Is there a way to obtain the MAC address of a server from a client > machine on a Windows LAN? > > Some web research suggests that the arp command will give what I want, > but when I run it in the command line it says there are no arp entries, > even if I successfully ping the server first. > > -- > 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 jacque at hyperactivesw.com Fri Aug 31 18:24:41 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 31 Aug 2007 17:24:41 -0500 Subject: Remote MAC address on Windows In-Reply-To: <7c87a2a10708311259p32c2395akf2abe16fcfa1aa57@mail.gmail.com> References: <46D85C74.1030305@hyperactivesw.com> <7c87a2a10708311259p32c2395akf2abe16fcfa1aa57@mail.gmail.com> Message-ID: <46D89529.3060705@hyperactivesw.com> Andre Garzia wrote: > Jacque, > I don't know how to find a remote mac address, but a local windows mac > address you can use: > > ipconfig /all Thanks. I'm already doing that locally but now I need to get it from a remote machine. > > and parse it. I think that to touch such low level info as MAC Addresses you > may need some raw C/C++ code to socket structures. From what I read, the arp command is supposed to get what I need but I can't make it work. I think that's because my server is a Mac. If I had a Windows-only network it might work but I don't know how to test it with my current setup. :( -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Fri Aug 31 18:26:15 2007 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 31 Aug 2007 23:26:15 +0100 Subject: Remote MAC address on Windows In-Reply-To: <46D85C74.1030305@hyperactivesw.com> References: <46D85C74.1030305@hyperactivesw.com> Message-ID: <46D89587.3090406@tweedly.net> J. Landman Gay wrote: > Is there a way to obtain the MAC address of a server from a client > machine on a Windows LAN? > > Some web research suggests that the arp command will give what I want, > but when I run it in the command line it says there are no arp > entries, even if I successfully ping the server first. > I would have expected that to work .... you are doing "arp -a" ? allow a few seconds after the ping before trying it (should update within one second unless there are some funny config changes on the machine). remember that it will not work on wifi networks, and will only work on a simple LAN (i.e. no router between client and server) remember it will not work properly in some (unusual) setups where all traffic is directed through a router/DHCP server - usually identifiable by multiple arp entries with the same MAC address for multiple IP addresses (this is pretty obscure, but just possible) and finally - because I just can't resist - why do you want to do this ? answer off-list if you prefer - but I can think of a lot of reasons why you should try to avoid knowing the MAC address of other machines .... it can get you into deep trouble in some cases (e.g. proxy-ARP based networks, or those where gratuitous ARPs are used to switch the Mac address association, but there is no way to get these changes triggered up to any application which has stored this info). -- Alex Tweedly mailto:alex at tweedly.net www.tweedly.net From jacque at hyperactivesw.com Fri Aug 31 18:28:30 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 31 Aug 2007 17:28:30 -0500 Subject: Remote MAC address on Windows In-Reply-To: <2e0cf4750708311428q2a8ae546y71776d20caf0322@mail.gmail.com> References: <46D85C74.1030305@hyperactivesw.com> <2e0cf4750708311428q2a8ae546y71776d20caf0322@mail.gmail.com> Message-ID: <46D8960E.8030709@hyperactivesw.com> chris bohnert wrote: > Jacque, > > Using XP home and the command: > > "arp -a" works here as long as I perform the requisite ping and pause > briefly to let the arp cache update. Thanks, that's what I read on the web too. I think I am going to have to write this blind and let the testers try it out. Would you be willing to share the script you used, and tell me what it sends back so I can parse it? Or if you just used shell commands, how long a pause did you need? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Fri Aug 31 18:33:55 2007 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 31 Aug 2007 23:33:55 +0100 Subject: Remote MAC address on Windows In-Reply-To: <46D89529.3060705@hyperactivesw.com> References: <46D85C74.1030305@hyperactivesw.com> <7c87a2a10708311259p32c2395akf2abe16fcfa1aa57@mail.gmail.com> <46D89529.3060705@hyperactivesw.com> Message-ID: <46D89753.3060102@tweedly.net> J. Landman Gay wrote: > > From what I read, the arp command is supposed to get what I need but I > can't make it work. I think that's because my server is a Mac. If I > had a Windows-only network it might work but I don't know how to test > it with my current setup. :( > I very much doubt that :-) Whether the server is a Mac or a polka-dotted unicorn (??), if you can ping it, it pretty much has to have an arp association on the client machine :-) after you do the ping, does the arp table on the server have an entry for the client ? could you send the output of ipconfig on the windows client, and ifconfig on the Mac server. Thanks -- Alex Tweedly mailto:alex at tweedly.net www.tweedly.net From tereza at califex.com Fri Aug 31 18:47:43 2007 From: tereza at califex.com (Tereza Snyder) Date: Fri, 31 Aug 2007 17:47:43 -0500 Subject: Export Snapshot - documentation issues In-Reply-To: References: Message-ID: <43F0C8C2-551D-4437-A76A-4B707964BE66@califex.com> On Aug 31, 2007, at 2:54 PM, David Bovill wrote: > Lets take a specific example - the aim is to take a picture of an > arbitrary group. ... Hi David, I use: import snapshot from grp "my grp" and export snapshot from grp "test" to file "test.png" as PNG to get what you say you're after. No rects about it. Am I missing something? t -- Tereza Snyder Califex Software, Inc. From revlist at azurevision.co.uk Fri Aug 31 20:52:41 2007 From: revlist at azurevision.co.uk (Ian Wood) Date: Sat, 1 Sep 2007 01:52:41 +0100 Subject: Export Snapshot - documentation issues In-Reply-To: <43F0C8C2-551D-4437-A76A-4B707964BE66@califex.com> References: <43F0C8C2-551D-4437-A76A-4B707964BE66@califex.com> Message-ID: <89C03CD8-2514-47C9-830F-D43FF2FA7C5E@azurevision.co.uk> On 31 Aug 2007, at 23:47, Tereza Snyder wrote: > I use: > > import snapshot from grp "my grp" > > and > > export snapshot from grp "test" to file "test.png" as PNG > > > to get what you say you're after. No rects about it. > > Am I missing something? Nope, that's what I use as well. Ian From jacque at hyperactivesw.com Fri Aug 31 21:16:08 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 31 Aug 2007 20:16:08 -0500 Subject: Remote MAC address on Windows In-Reply-To: <46D89587.3090406@tweedly.net> References: <46D85C74.1030305@hyperactivesw.com> <46D89587.3090406@tweedly.net> Message-ID: <46D8BD58.3070600@hyperactivesw.com> Alex Tweedly wrote: > allow a few seconds after the ping before trying it (should update > within one second unless there are some funny config changes on the > machine). > > remember that it will not work on wifi networks, and will only work on a > simple LAN (i.e. no router between client and server) > > remember it will not work properly in some (unusual) setups where all > traffic is directed through a router/DHCP server - usually identifiable > by multiple arp entries with the same MAC address for multiple IP > addresses (this is pretty obscure, but just possible) That's bad news. It has to work on any network configuration. > > and finally - because I just can't resist - why do you want to do this ? > > answer off-list if you prefer - but I can think of a lot of reasons why > you should try to avoid knowing the MAC address of other machines .... > it can get you into deep trouble in some cases (e.g. proxy-ARP based > networks, or those where gratuitous ARPs are used to switch the Mac > address association, but there is no way to get these changes triggered > up to any application which has stored this info). Then that's a problem too. My app creates a serial key that is registered to a specific machine. It won't run unless the MAC address the app is on matches the one that was stored on installation. This has worked fine for a couple of years, but now we have a situation where people on a network want to lanuch the app from the server. When that happens, the app (as it is now, using ipconfig) gets the MAC address of the local machine, which of course won't match, and the app refuses to run. So I need to retrieve the MAC address of the server the app is actually installed on, not the one on the local machine. If there is no reliable way to get the server's MAC address, I have a problem. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Aug 31 21:28:11 2007 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 31 Aug 2007 20:28:11 -0500 Subject: Remote MAC address on Windows In-Reply-To: <46D89753.3060102@tweedly.net> References: <46D85C74.1030305@hyperactivesw.com> <7c87a2a10708311259p32c2395akf2abe16fcfa1aa57@mail.gmail.com> <46D89529.3060705@hyperactivesw.com> <46D89753.3060102@tweedly.net> Message-ID: <46D8C02B.9080204@hyperactivesw.com> Alex Tweedly wrote: > J. Landman Gay wrote: >> >> From what I read, the arp command is supposed to get what I need but I >> can't make it work. I think that's because my server is a Mac. If I >> had a Windows-only network it might work but I don't know how to test >> it with my current setup. :( >> > I very much doubt that :-) > Whether the server is a Mac or a polka-dotted unicorn (??), if you can > ping it, it pretty much has to have an arp association on the client > machine :-) > > after you do the ping, does the arp table on the server have an entry > for the client ? Well, I'm pinging from Parallels to the Mac, then doing the arp command on the Windows/Parallels side. It says there are no entries at all. I did use the -a flag. Sounds like maybe I'm doing it backwards? It's the only way I can do it, since Parallels is my only functioning Windows environment right now. > > could you send the output of ipconfig on the windows client, and > ifconfig on the Mac server. Thanks > I'll try to get that tomorrow, I really appreciate the help. I got so tired of running up against walls today that I just shut it all down and went off to play computer games. I'm such a wimp. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From luis at anachreon.co.uk Fri Aug 31 21:39:27 2007 From: luis at anachreon.co.uk (Luis) Date: Sat, 01 Sep 2007 02:39:27 +0100 Subject: Remote MAC address on Windows In-Reply-To: <46D8BD58.3070600@hyperactivesw.com> References: <46D85C74.1030305@hyperactivesw.com> <46D89587.3090406@tweedly.net> <46D8BD58.3070600@hyperactivesw.com> Message-ID: <46D8C2CF.4070203@anachreon.co.uk> Run ifconfig on the server, plop the output into a text file on a shared folder, examine said shared file. Or, if possible, email the text file and then parse. If you have permission to run a remote shell, then you can run that in directly from the remote end. ARP info from: http://www.erg.abdn.ac.uk/users/gorry/course/inet-pages/arp.html 'The figure below shows the use of arp when a computer tries to contact a remote computer on the same LAN (known as "sysa") using the "ping" program. It is assumed that no previous IP datagrams have been received form this computer, and therefore arp must first be used to identify the MAC address of the remote computer.' So the 'ping, wait and arp -a' should work, you might want to pipe the output to a file. Other than that you could have a look at packet sniffers and check out the client server negotiations. http://www.wireshark.org Cheers, Luis. J. Landman Gay wrote: > Alex Tweedly wrote: >> allow a few seconds after the ping before trying it (should update >> within one second unless there are some funny config changes on the >> machine). >> >> remember that it will not work on wifi networks, and will only work on >> a simple LAN (i.e. no router between client and server) >> >> remember it will not work properly in some (unusual) setups where all >> traffic is directed through a router/DHCP server - usually >> identifiable by multiple arp entries with the same MAC address for >> multiple IP addresses (this is pretty obscure, but just possible) > > That's bad news. It has to work on any network configuration. >> >> and finally - because I just can't resist - why do you want to do this ? >> >> answer off-list if you prefer - but I can think of a lot of reasons >> why you should try to avoid knowing the MAC address of other machines >> .... it can get you into deep trouble in some cases (e.g. proxy-ARP >> based networks, or those where gratuitous ARPs are used to switch the >> Mac address association, but there is no way to get these changes >> triggered up to any application which has stored this info). > > Then that's a problem too. My app creates a serial key that is > registered to a specific machine. It won't run unless the MAC address > the app is on matches the one that was stored on installation. This has > worked fine for a couple of years, but now we have a situation where > people on a network want to lanuch the app from the server. When that > happens, the app (as it is now, using ipconfig) gets the MAC address of > the local machine, which of course won't match, and the app refuses to > run. So I need to retrieve the MAC address of the server the app is > actually installed on, not the one on the local machine. > > If there is no reliable way to get the server's MAC address, I have a > problem. > > From stephenREVOLUTION at barncard.com Fri Aug 31 21:59:37 2007 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 31 Aug 2007 18:59:37 -0700 Subject: Remote MAC address on Windows In-Reply-To: <46D8BD58.3070600@hyperactivesw.com> References: <46D85C74.1030305@hyperactivesw.com> <46D89587.3090406@tweedly.net> <46D8BD58.3070600@hyperactivesw.com> Message-ID: Perhaps I'm being naive, but couldn't you use the splash screen technique for the remote 'clients'? The executable on each station could launch the main stack on the network after getting the MAC address.... >Then that's a problem too. My app creates a serial key that is >registered to a specific machine. It won't run unless the MAC >address the app is on matches the one that was stored on >installation. This has worked fine for a couple of years, but now we >have a situation where people on a network want to lanuch the app >from the server. When that happens, the app (as it is now, using >ipconfig) gets the >Jacqueline Landman Gay | jacque at hyperactivesw.com -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From luis at anachreon.co.uk Fri Aug 31 22:24:00 2007 From: luis at anachreon.co.uk (Luis) Date: Sat, 01 Sep 2007 03:24:00 +0100 Subject: Remote MAC address on Windows In-Reply-To: <46D8C02B.9080204@hyperactivesw.com> References: <46D85C74.1030305@hyperactivesw.com> <7c87a2a10708311259p32c2395akf2abe16fcfa1aa57@mail.gmail.com> <46D89529.3060705@hyperactivesw.com> <46D89753.3060102@tweedly.net> <46D8C02B.9080204@hyperactivesw.com> Message-ID: <46D8CD40.2030007@anachreon.co.uk> Ah, on Windows. Tried netstat ? I'm not in front of a Windows box at the moment, and I can't recall if the output includes the MAC address info. And note, arp is pretty much useless if it's not in the same subnet. Cheers, Luis. J. Landman Gay wrote: > Alex Tweedly wrote: >> J. Landman Gay wrote: >>> >>> From what I read, the arp command is supposed to get what I need but >>> I can't make it work. I think that's because my server is a Mac. If I >>> had a Windows-only network it might work but I don't know how to test >>> it with my current setup. :( >>> >> I very much doubt that :-) >> Whether the server is a Mac or a polka-dotted unicorn (??), if you can >> ping it, it pretty much has to have an arp association on the client >> machine :-) >> >> after you do the ping, does the arp table on the server have an entry >> for the client ? > > Well, I'm pinging from Parallels to the Mac, then doing the arp command > on the Windows/Parallels side. It says there are no entries at all. I > did use the -a flag. Sounds like maybe I'm doing it backwards? It's the > only way I can do it, since Parallels is my only functioning Windows > environment right now. > >> >> could you send the output of ipconfig on the windows client, and >> ifconfig on the Mac server. Thanks >> > > I'll try to get that tomorrow, I really appreciate the help. I got so > tired of running up against walls today that I just shut it all down and > went off to play computer games. I'm such a wimp. > From xavier.bury at googlemail.com Wed Aug 29 13:42:06 2007 From: xavier.bury at googlemail.com (Xavier Bury) Date: Wed, 29 Aug 2007 19:42:06 +0200 Subject: Help with shell() script In-Reply-To: <46D5B976.26005.B77B467@p.williams.alkazar.net> References: <46D5B976.26005.B77B467@p.williams.alkazar.net> Message-ID: <81eb34c40708291042q317281adn6366cc4927fb409e@mail.gmail.com> Unfortunately running a shell "interactively" is not possible... You can execute any written batch though... React on the file logs or results returns via a shell... Persistent data and variables may vary on mileage and usage... Plan around it, that's the way i know... Search ssl in www.runrev.com for more... I haven't used SSL but I though i'd point out to the "shell" issue and possible solutions... cheers Xavier On 8/29/07, Paul Williams wrote: > > Yes Xavier, > this is the problem, I am trying to script the openssl shell. > I can run a single command from the cmd.exe shell but it quits at the end, > what I need is a way to open the opessl shell and then read and write > shell > commands to it but the '/C' keeps gettng in the way. > > Has anybody else had any success with working with this? > > Paul > > > I checked it with a little script: > > > > set the shellcommand to "c:\apps\cygwin\ls.exe" > > get shell("") -- needs the quotes apparently or it wont compile > > answer it > > > > when you execute this you will see again the damn /c in the error > > message > > > > Tested quickly in MetaCard... should be the same in Rev... > > > > cheers > > Xavier > > > > use-revolution-bounces at lists.runrev.com wrote on 29/08/2007 > > 16:58:10: > > > > > Hi Paul, > > > > > > The problem, if im correct, is that you are assigning the shell to > > be > > the > > > exe to be exectuted in the shell... > > > > > > Set the shellcommand to "cmd.exe" -- reset it to what it should be > > - if > > im > > > correct... i didn't know we could set "dir" and the shell > > command! > > > get shell(filepath && "Version") > > > > > > should work better IMOHO... > > > > > > Unfortunately i dont have the openssl.exe from cygwin to test. > > > > > > hope that helps > > > cheers > > > Xavier > > > > > > use-revolution-bounces at lists.runrev.com wrote on 29/08/2007 > > 16:44:59: > > > > > > > > > > > I am trying to use the openssl function within cygwin in > > windows. > > > > The following is the script, instead of sending the command > > 'version' > > to > > > > openssl it appears to be sending "/C" as the result quotes that > > "/C" > > is > > > not > > > > a valid command. > > > > > > > > The it variable contains: > > > > "openssl:Error: '/C' is an invalid command. > > > > Standard commands > > > > asn1parse ....... " > > > > > > > > > > > > Putting 'version' in at the prompt works OK. > > > > What am I doing wrong and where does the "/C" come from? > > > > > > > > Paul > > > > > > > > on mouseUp > > > > set the hideconsolewindows to true > > > > put "c:\cygwin\bin\openssl.exe" into filepath > > > > open process filepath > > > > set shellcommand to "c:\cygwin\bin\openssl.exe" > > > > put "version" into shellc > > > > get shell("version") > > > > answer it > > > > end mouseUp > > > > > > > > _______________________________________________ > > > > use-revolution mailing list > > > > use-revolution at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > > > > > > > -------------------------------------------------------------------- > > -------- > > > 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 RC 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 > > > > > > > > -------------------------------------------------------------------- > > -------- > > 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 RC 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 > > > > > > -- > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.484 / Virus Database: 269.12.10/977 - Release Date: > > 28/08/2007 16:29 > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution >