From pete at mollysrevenge.com Wed Sep 1 02:53:21 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 31 Aug 2010 23:53:21 -0700 Subject: DragImage question Message-ID: Just working on my first drag/drop code. All seems to be working fine and a lot easier to implement than I thought it would be! I'm dragging the contents of a field (text) into another field on the same card and would like to see a faint outline of the source field and it's text follow the cursor to the destination field. I know I can set the dragImage property to an image number but in this case, the image would be different each time because of the text in the field. Any ideas? Pete Haworth From m.schonewille at economy-x-talk.com Wed Sep 1 03:30:39 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 1 Sep 2010 09:30:39 +0200 Subject: Updating Plug-in Menu Message-ID: <25C21F0C-B5A4-4E9E-B5D4-DF6DA5179E9E@economy-x-talk.com> Hi, My Installer Maker Plug-in comes wrapped in an installer itself. This installer installs the plug-in in the appropriate place, but once installation has finished, the user needs to restart RunRev to update the plug-in menu. I would like to avoid this and write a script to update the plug-in menu. Before I start dissecting the IDE... has anyone figured out already how to update the plug-in menu without restarting Revolution? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce From scott at tactilemedia.com Wed Sep 1 03:56:22 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 01 Sep 2010 00:56:22 -0700 Subject: Updating Plug-in Menu In-Reply-To: <25C21F0C-B5A4-4E9E-B5D4-DF6DA5179E9E@economy-x-talk.com> Message-ID: Recently, Mark Schonewille wrote: > My Installer Maker Plug-in comes wrapped in an installer itself. This > installer installs the plug-in in the appropriate place, but once installation > has finished, the user needs to restart RunRev to update the plug-in menu. I > would like to avoid this and write a script to update the plug-in menu. Before > I start dissecting the IDE... has anyone figured out already how to update the > plug-in menu without restarting Revolution? Not sure how to refresh the Plugins menu directly, but in my (limited) experience, the dialog launched from Development > Plugins > Plugin Settings is able to see anything newly added to the plugins folder in its pulldown list. Perhaps you can poke around there to see if there's anything you can hack into. Regards, Scott Rossi Creative Director Tactile Media, UX Design From zryip.theslug at gmail.com Wed Sep 1 04:38:53 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 1 Sep 2010 10:38:53 +0200 Subject: DragImage question In-Reply-To: References: Message-ID: On Wed, Sep 1, 2010 at 8:53 AM, Peter Haworth wrote: > Just working on my first drag/drop code. ?All seems to be working fine and a > lot easier to implement than I thought it would be! > > I'm dragging the contents of a field (text) into another field on the same > card and would like to see a faint outline of the source field and it's text > follow the cursor to the destination field. ?I know I can set the dragImage > property to an image number but in this case, the image would be different > each time because of the text in the field. Hi Pete, A solution could consist to create an image of the field on the fly. For doing that you can use the export snapshot command: export snapshot from field "myDataField" \ to image "DragImageField" as PNG set the dragImage to the short id of image "DragImageField" Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From monte at sweattechnologies.com Wed Sep 1 04:52:30 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 1 Sep 2010 18:52:30 +1000 Subject: Updating Plug-in Menu In-Reply-To: <25C21F0C-B5A4-4E9E-B5D4-DF6DA5179E9E@economy-x-talk.com> References: <25C21F0C-B5A4-4E9E-B5D4-DF6DA5179E9E@economy-x-talk.com> Message-ID: <10AC77A4-9B74-4794-966B-703CBCF7B4E5@sweattechnologies.com> send "revUpdatePlugins" to cd 1 of stack "revMenuBar" On 01/09/2010, at 5:30 PM, Mark Schonewille wrote: > Hi, > > My Installer Maker Plug-in comes wrapped in an installer itself. This installer installs the plug-in in the appropriate place, but once installation has finished, the user needs to restart RunRev to update the plug-in menu. I would like to avoid this and write a script to update the plug-in menu. Before I start dissecting the IDE... has anyone figured out already how to update the plug-in menu without restarting Revolution? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > From 15th August, we'll have time for new projects! Be the first in line and contact me now! > > Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Wed Sep 1 05:02:56 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 1 Sep 2010 11:02:56 +0200 Subject: Updating Plug-in Menu In-Reply-To: <10AC77A4-9B74-4794-966B-703CBCF7B4E5@sweattechnologies.com> References: <25C21F0C-B5A4-4E9E-B5D4-DF6DA5179E9E@economy-x-talk.com> <10AC77A4-9B74-4794-966B-703CBCF7B4E5@sweattechnologies.com> Message-ID: <8BFEFD71-C141-408E-A7BE-B3E74893B906@economy-x-talk.com> Thanks Scott and Monte. I'll try the revUpdatePlugins command. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 1 sep 2010, at 10:52, Monte Goulding wrote: > send "revUpdatePlugins" to cd 1 of stack "revMenuBar" From bdrunrev at gmail.com Wed Sep 1 05:15:55 2010 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 1 Sep 2010 10:15:55 +0100 Subject: revNavigator In-Reply-To: <4C6E22DC.3090400@gmail.com> References: <20100812040139.AEBF32883B3@mail.runrev.com> <5F9FB8FA-F0DD-46EA-89E2-D598E613F64D@mollysrevenge.com> <93A449FA-CADE-467A-B3B8-4B2468DFDF29@gmail.com> <4C64400D.3070301@hyperactivesw.com> <4C6E22DC.3090400@gmail.com> Message-ID: I too am a fan of revNavigator, and only discovered it about 18 months ago. It's one of those things that just looks too simple to be useful. But once I started to use it I realised how much power lay beneath its simple uncluttered interface. I've been away from Rev develoopment for a while, so I can't remember what features it was lacking since Geoff moved on to new pastures. However, I seem to remember that the source ships with it, so there's nothing stopping us from maintaining/improving it. Bernard From revolution at derbrill.de Wed Sep 1 07:53:25 2010 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Wed, 1 Sep 2010 13:53:25 +0200 Subject: revCopyFile problems on Mac OS X.6.4 In-Reply-To: <20100818162506.52040288C38@mail.runrev.com> References: <20100818162506.52040288C38@mail.runrev.com> Message-ID: Hi all, I am a little stumped on this one. :-( trying to do: revCopyFile tNewFilename,(pDestinationPath&"/bilder") put the result tNewFilename = 9999-1_ds_7_2.jpg (pDestinationPath&"/bilder" )= /Users/maltebrill2/Documents/archaeodox/9999-1/9999-1_datensicherung/bilder result = Execution Error there is a file tNewFilename in the defaultFolder and the folder I want to copy to exists. I have read and write permissions to both file and folder. The path is dynamically created based on specialfolderpath("Documents") On a win system this works flawlessly. What is going wrong here? As the result is not very meaningful I tried: put URL ("binfile:"&tNewFileName) into URL ("binfile:"&(pDestinationPath&"/bilder") Which yields "Can?t open file" Any ideas? Cheers, Malte From larsbrehmer at mac.com Wed Sep 1 08:03:46 2010 From: larsbrehmer at mac.com (Lars Brehmer) Date: Wed, 01 Sep 2010 15:03:46 +0300 Subject: Is anybody working with Arabic? Message-ID: <7D70DC15-AF7C-4961-BD47-4450B7BE7395@mac.com> Thanks Richmond and Mark for the tips and advice. Both were beyond my abilities at this time, but I appreciate it anyway. For now I'll stick with my workarounds, one of which is trying to make sure that empty lines are never created in the custom property the first place. If that doesn't succeed, there is always: repeat with i = 1 to the num of lines in tData if line i in tData = empty then delete line i in tData end repeat Obviously slower than "filter without empty" but the content of that custom property won't be large enough to make it noticable. By the way - I never understood why this, which is faster than "repeat with ..", doesn't work. repeat for ech line X in tData if X = empty then delete X end repeat I use "repeat for each ..." in many handlers, but it doesn't work here and i don't see the difference. Last thing - the alphabetical question. Is the result of sorting Arabic text linesalphabetical indeed alphabetical? Cheers again, Lars > I am working with Arabic for the first time and have a problem. > First of all, I do not speak, read or write Arabic, so I can't spot > things that might be obvious. This project if for a friend who is > learning Arabic. He will eventually enter his own content, and my > Arabic content is just gibberish for testing purposes. > > So far, most things work as predicted - the Arabic font, right to > left text, etc. (looks weird by the way - the insertion point stays > at the right as new characters are added/deleted at the left) > > The only problem so far is this; > > The bilingual content is stored as a tab delimited list in a custom > property. When I filter the custom property without empty, I lose > all of the content of the custom property except the first line or > 2. I finally noticed after much frustration that this seems to > happen when there is more than one arabic word in an item, that is I > lose all of the content starting with the first space in an Arabic > item. > The only thing I could think of is that the ASCII number of a space > using the Arabic keyboard layout differs from the ASCII number of a > European keyboard layout, but they are both 32. > > I found out a long time ago that when a " appears in such a tab > delimited list custom property, it causes weird things to happen, > but I can easily work around it, and it never caused content in the > custom property to just disappear while filtering without empty. Is > there something about Arabic text that I obviously don't know? For > now, all I can do is NOT filter without empty, which I do routinely > in scripts because an empty line in the custom property would be a > big problem for this particulat stack. > > Anyone have an idea about this? > > Also, when Runrev "supports" Arabic, does that mean that sorting > aplphabetically works correctly? I can see that the text lines are > indeed sorted by the first letter, but I obviously can't tell > whether it is alphabetical. From klaus at major.on-rev.com Wed Sep 1 08:14:41 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 1 Sep 2010 14:14:41 +0200 Subject: Is anybody working with Arabic? In-Reply-To: <7D70DC15-AF7C-4961-BD47-4450B7BE7395@mac.com> References: <7D70DC15-AF7C-4961-BD47-4450B7BE7395@mac.com> Message-ID: Hi Lars, Du alter Globetrotter :-) > Thanks Richmond and Mark for the tips and advice. > > Both were beyond my abilities at this time, but I appreciate it anyway. > For now I'll stick with my workarounds, one of which is trying to make sure that empty lines are never created in the custom property the first place. If that doesn't succeed, there is always: > > repeat with i = 1 to the num of lines in tData > if line i in tData = empty then delete line i in tData > end repeat when deleting lines in data, you should start from the END of the data like: ... repeat with i = the num of lines of tData DOWN to 1 if line i of tData = empty then delete line i of tData end if end repeat ... > Obviously slower than "filter without empty" but the content of that custom property won't be large enough to make it noticable. By the way - I never understood why this, which is faster than "repeat with ..", doesn't work. > > repeat for ech line X in tData > if X = empty then delete X > end repeat "repeat for each" is READ only, which means you cannot modify (or delete) the value in X in your case! X in this case will hold the CONTENT of the line and not its line number! Change it like this and it will work: ... repeat for each line X in tData if X <> empty then put X & CR after newData end if end repeat delete char -1 of newData put newData into tData ## Or just use newData from now on... ... > > I use "repeat for each ..." in many handlers, but it doesn't work here and i don't see the difference. See above... > Last thing - the alphabetical question. Is the result of sorting Arabic text linesalphabetical indeed alphabetical? Mark, Richmond? :-) > Cheers again, > > Lars Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From revolution at derbrill.de Wed Sep 1 08:18:11 2010 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Wed, 1 Sep 2010 14:18:11 +0200 Subject: revCopyFile problems on Mac OS X.6.4 In-Reply-To: <20100818162506.52040288C38@mail.runrev.com> References: <20100818162506.52040288C38@mail.runrev.com> Message-ID: Slight correction. This appears to work: put URL ("binfile:"&tNewFilename) into URL ("binfile:"&pDestinationPath&"/bilder/"&tNewFileName) However, this is quite suboptimal, as it reads the file into memory. Cheers, malte From klaus at major.on-rev.com Wed Sep 1 08:32:14 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 1 Sep 2010 14:32:14 +0200 Subject: revCopyFile problems on Mac OS X.6.4 In-Reply-To: References: <20100818162506.52040288C38@mail.runrev.com> Message-ID: <2C3DECE0-A372-4BBF-BBF6-40A9A7B4C719@major.on-rev.com> Hi Malte,: > Slight correction. > > This appears to work: > put URL ("binfile:"&tNewFilename) into URL ("binfile:"&pDestinationPath&"/bilder/"&tNewFileName) > However, this is quite suboptimal, as it reads the file into memory. Wild guess: Does it work if you add a SLASH to the targetfolder -> revCopyFile tNewFilename,(pDestinationPath&"/bilder/") > Cheers, > > malte Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From revolution at derbrill.de Wed Sep 1 08:48:58 2010 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Wed, 1 Sep 2010 14:48:58 +0200 Subject: revCopyFile problems on Mac OS X.6.4 In-Reply-To: <20100818162506.52040288C38@mail.runrev.com> References: <20100818162506.52040288C38@mail.runrev.com> Message-ID: Hi Klaus! No, BUT it works with an ABSOLUTE filepath... adding a note to the docs. *sigh* From gregory.lypny at videotron.ca Wed Sep 1 12:34:00 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 01 Sep 2010 12:34:00 -0400 Subject: Collecting Web Form Information Using a Loop Message-ID: <766CABCF-4D88-43CC-9AA2-C388F075072D@videotron.ca> Hello everyone, On-rev question about collecting web form information. Suppose I have a questionnaire that uses 40 sequentially named menus for the answer choices. I could collect them individually like this. put $_POST["Q1"] into q1 put $_POST["Q2"] into q2 put $_POST["Q3"] into q3 put $_POST["Q4"] into q4 put $_POST["Q5"] into q5 ... put $_POST["Q40"] into q40 But of course my first inclination is to avoid 40 lines and use a loop. So I tried repeat with i=1 to 40 put $_POST[(quote & Q & i & quote)] & comma after theSubmission end repeat and a number of variations, such as, (quote & Q & the value of i & quote) but all I ever get returned is an empty list, i.e., {,,,,,,,,,,,,}. Any suggestions? Regards, Gregory From mikekann at yahoo.com Wed Sep 1 12:39:48 2010 From: mikekann at yahoo.com (Michael Kann) Date: Wed, 1 Sep 2010 09:39:48 -0700 (PDT) Subject: Collecting Web Form Information Using a Loop In-Reply-To: <766CABCF-4D88-43CC-9AA2-C388F075072D@videotron.ca> Message-ID: <543643.96370.qm@web56707.mail.re3.yahoo.com> Gregory, Does the non-loop script work?? -- referring to this part: ??? put $_POST["Q1"] into q1 ??? put $_POST["Q2"] into q2 Mike --- On Wed, 9/1/10, Gregory Lypny wrote: From: Gregory Lypny Subject: Collecting Web Form Information Using a Loop To: "Revolution" Date: Wednesday, September 1, 2010, 11:34 AM Hello everyone, On-rev question about collecting web form information.? Suppose I have a questionnaire that uses 40 sequentially named menus for the answer choices.? I could collect them individually like this. ??? put $_POST["Q1"] into q1 ??? put $_POST["Q2"] into q2 ??? put $_POST["Q3"] into q3 ??? put $_POST["Q4"] into q4 ??? put $_POST["Q5"] into q5 ??? ... ??? put $_POST["Q40"] into q40 But of course my first inclination is to avoid 40 lines and use a loop.? So I tried ??? repeat with i=1 to 40 ??? put $_POST[(quote & Q & i & quote)] & comma after theSubmission ??? end repeat and a number of variations, such as, ??? (quote & Q & the value of i & quote) but all I ever get returned is an empty list, i.e., {,,,,,,,,,,,,}.? Any suggestions? Regards, Gregory _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From bonnmike at gmail.com Wed Sep 1 12:47:46 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 1 Sep 2010 10:47:46 -0600 Subject: Collecting Web Form Information Using a Loop In-Reply-To: <543643.96370.qm@web56707.mail.re3.yahoo.com> References: <766CABCF-4D88-43CC-9AA2-C388F075072D@videotron.ca> <543643.96370.qm@web56707.mail.re3.yahoo.com> Message-ID: use a for each loop instead like repeat for each key theKey in $_POST put $_POST[theKey] & comma after theSubmission end repeat On Wed, Sep 1, 2010 at 10:39 AM, Michael Kann wrote: > Gregory, > > Does the non-loop script work? > > -- referring to this part: > > put $_POST["Q1"] into q1 > put $_POST["Q2"] into q2 > > Mike > > > > --- On Wed, 9/1/10, Gregory Lypny wrote: > > From: Gregory Lypny > Subject: Collecting Web Form Information Using a Loop > To: "Revolution" > Date: Wednesday, September 1, 2010, 11:34 AM > > Hello everyone, > > On-rev question about collecting web form information. Suppose I have a > questionnaire that uses 40 sequentially named menus for the answer choices. > I could collect them individually like this. > > put $_POST["Q1"] into q1 > put $_POST["Q2"] into q2 > put $_POST["Q3"] into q3 > put $_POST["Q4"] into q4 > put $_POST["Q5"] into q5 > ... > put $_POST["Q40"] into q40 > > But of course my first inclination is to avoid 40 lines and use a loop. So > I tried > > repeat with i=1 to 40 > put $_POST[(quote & Q & i & quote)] & comma after theSubmission > end repeat > > and a number of variations, such as, > > (quote & Q & the value of i & quote) > > but all I ever get returned is an empty list, i.e., {,,,,,,,,,,,,}. Any > suggestions? > > > Regards, > > Gregory > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From gregory.lypny at videotron.ca Wed Sep 1 12:53:13 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 01 Sep 2010 12:53:13 -0400 Subject: Collecting Web Form Information Using a Loop In-Reply-To: <20100901163936.A073528827E@mail.runrev.com> References: <20100901163936.A073528827E@mail.runrev.com> Message-ID: <7A283027-1D3E-40B2-818A-0C10F3B994BF@videotron.ca> Hello Mike, Thanks for responding. Yes, it does. I'm able to display the choice made and save them to a file. Gregory On Wed, Sep 1, 2010, at 12:39 PM, Michael Kann wrote: > Does the non-loop script work? > > -- referring to this part: > > put $_POST["Q1"] into q1 > put $_POST["Q2"] into q2 > > Mike From revdev at pdslabs.net Wed Sep 1 13:06:09 2010 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 01 Sep 2010 10:06:09 -0700 Subject: Collecting Web Form Information Using a Loop In-Reply-To: <766CABCF-4D88-43CC-9AA2-C388F075072D@videotron.ca> References: <766CABCF-4D88-43CC-9AA2-C388F075072D@videotron.ca> Message-ID: <4C7E8801.9070803@pdslabs.net> On 9/1/10 9:34 AM, Gregory Lypny wrote: > Hello everyone, > > On-rev question about collecting web form information. Suppose I have a questionnaire that uses 40 sequentially named menus for the answer choices. I could collect them individually like this. > > put $_POST["Q1"] into q1 > put $_POST["Q2"] into q2 > put $_POST["Q3"] into q3 > put $_POST["Q4"] into q4 > put $_POST["Q5"] into q5 > ... > put $_POST["Q40"] into q40 > > But of course my first inclination is to avoid 40 lines and use a loop. So I tried > > repeat with i=1 to 40 > put $_POST[(quote& Q& i& quote)]& comma after theSubmission > end repeat > > and a number of variations, such as, > > (quote& Q& the value of i& quote) > > but all I ever get returned is an empty list, i.e., {,,,,,,,,,,,,}. Any suggestions? Maybe break your one-liner into two: repeat with i = 1 to 40 put "Q" & i into tKey put $_POST[tKey] & comma after theSubmission end repeat I would be surprised if this didn't work. Best - Phil Davis > > Regards, > > Gregory > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From bonnmike at gmail.com Wed Sep 1 13:18:56 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 1 Sep 2010 11:18:56 -0600 Subject: Collecting Web Form Information Using a Loop In-Reply-To: <4C7E8801.9070803@pdslabs.net> References: <766CABCF-4D88-43CC-9AA2-C388F075072D@videotron.ca> <4C7E8801.9070803@pdslabs.net> Message-ID: Oh yeah, to do it the way you want, change yours to put $_POST[("Q" & i)] & comma after theSubmission The way it was setup to begin with, you're trying to match a key with quotes because you explicitly put quote & q etc in for evaluation. So in effect it would return a non-existant array entry because its looking for the quotes. However, the repeat for each is probably easier all around just because you can set your script up to handle a changing number of post variables. Repeat for each key will find however many are sent so that you can parse them and don't have to mess with concatenating a string together. Also means you can name them anything you want. The only side affect of this is that since arrays are unsorted, if you need results returned in a specific order based on post variable name you'll need to sort them yourself. IE: put the keys of $_POST into tKeys sort tKeys repeat for each line theKey in tKeys do your stuff here with $_POST[theKey] end repeat On Wed, Sep 1, 2010 at 11:06 AM, Phil Davis wrote: > On 9/1/10 9:34 AM, Gregory Lypny wrote: > >> Hello everyone, >> >> On-rev question about collecting web form information. Suppose I have a >> questionnaire that uses 40 sequentially named menus for the answer choices. >> I could collect them individually like this. >> >> put $_POST["Q1"] into q1 >> put $_POST["Q2"] into q2 >> put $_POST["Q3"] into q3 >> put $_POST["Q4"] into q4 >> put $_POST["Q5"] into q5 >> ... >> put $_POST["Q40"] into q40 >> >> But of course my first inclination is to avoid 40 lines and use a loop. >> So I tried >> >> repeat with i=1 to 40 >> put $_POST[(quote& Q& i& quote)]& comma after theSubmission >> end repeat >> >> and a number of variations, such as, >> >> (quote& Q& the value of i& quote) >> >> but all I ever get returned is an empty list, i.e., {,,,,,,,,,,,,}. Any >> suggestions? >> > > Maybe break your one-liner into two: > > > repeat with i = 1 to 40 > put "Q" & i into tKey > put $_POST[tKey] & comma after theSubmission > end repeat > > I would be surprised if this didn't work. > > Best - > Phil Davis > > > >> Regards, >> >> Gregory >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.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 mikekann at yahoo.com Wed Sep 1 13:23:34 2010 From: mikekann at yahoo.com (Michael Kann) Date: Wed, 1 Sep 2010 10:23:34 -0700 (PDT) Subject: Collecting Web Form Information Using a Loop In-Reply-To: <4C7E8801.9070803@pdslabs.net> Message-ID: <172120.25641.qm@web56707.mail.re3.yahoo.com> Phil, I added a line to your solution. repeat with i = 1 to 40 ? ???put "Q" & i into tKey ???? put the value of tKey into tKey --- ADDED LINE HERE ? ???put $_POST[tKey] & comma after theSubmission end repeat Mike From mikekann at yahoo.com Wed Sep 1 13:30:22 2010 From: mikekann at yahoo.com (Michael Kann) Date: Wed, 1 Sep 2010 10:30:22 -0700 (PDT) Subject: Collecting Web Form Information Using a Loop In-Reply-To: <172120.25641.qm@web56707.mail.re3.yahoo.com> Message-ID: <320868.61149.qm@web56708.mail.re3.yahoo.com> Phil, After testing, I guess it works without the added line anyway. Works either way. Disregard correction. Mike --- On Wed, 9/1/10, Michael Kann wrote: From: Michael Kann Subject: Re: Collecting Web Form Information Using a Loop To: "How to use Revolution" Date: Wednesday, September 1, 2010, 12:23 PM Phil, I added a line to your solution. repeat with i = 1 to 40 ? ???put "Q" & i into tKey ???? put the value of tKey into tKey --- ADDED LINE HERE ? ???put $_POST[tKey] & comma after theSubmission end repeat Mike _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From richmondmathewson at gmail.com Wed Sep 1 15:56:58 2010 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 01 Sep 2010 22:56:58 +0300 Subject: Revolution Search Engine Message-ID: <4C7EB00A.9060703@gmail.com> Under the HELP menu. Probably the second time in about 9 years I have ever tried to use this: it gave what can only be described as "a little fart" on my MacMini, and that my dears was all. if it is nothing but flatulence, why is it still there? From zryip.theslug at gmail.com Wed Sep 1 16:11:04 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 1 Sep 2010 22:11:04 +0200 Subject: Revolution Search Engine In-Reply-To: <4C7EB00A.9060703@gmail.com> References: <4C7EB00A.9060703@gmail.com> Message-ID: On Wed, Sep 1, 2010 at 9:56 PM, Richmond wrote: > Under the HELP menu. > > Probably the second time in about 9 years I have ever tried to use this: > > it gave what can only be described as "a little fart" on my MacMini, and > that my dears was all. > > if it is nothing but flatulence, why is it still there? Probably because it works pretty well for others. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From richmondmathewson at gmail.com Wed Sep 1 16:21:31 2010 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 01 Sep 2010 23:21:31 +0300 Subject: Revolution Search Engine In-Reply-To: References: <4C7EB00A.9060703@gmail.com> Message-ID: <4C7EB5CB.9020600@gmail.com> On 09/01/2010 11:11 PM, zryip theSlug wrote: > On Wed, Sep 1, 2010 at 9:56 PM, Richmond wrote: > >> Under the HELP menu. >> >> Probably the second time in about 9 years I have ever tried to use this: >> >> it gave what can only be described as "a little fart" on my MacMini, and >> that my dears was all. >> >> if it is nothing but flatulence, why is it still there? >> > Probably because it works pretty well for others. > > > Regards, > Interesting: Let's try it again on Mac OS 10.4.11 and Ubuntu 10.04: Funny . . . now it gave a 'fart' when I opened it the first time on my MacMini. Now I typed 'search' into the 'search box and it gave me a reference to a website on Geocities that does not exist anymore . . . cool or what? Typed 'Unicode': nix. Typed 'button': nix. OK, on the Google "tab" it gives me a simple Google search - but, hey, I have a couple of web-browsers installed on each of my systems. Possibly naive (wouldn't be the first time), I imagined it would come up with RunRev relevant information. The 'Dictionary Quick Search' is significantly slower than the inbuilt Documentation . . . err . . . waiting . . . wow: "Could not find "button" as a string in the dictionary" ------------------------------------------------------------------------------------------------------------------------------------------------ I wonder quite what you mean by "useful"? Certainly evidencing a semantic shirt there, methinks. From bonnmike at gmail.com Wed Sep 1 16:24:25 2010 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 1 Sep 2010 14:24:25 -0600 Subject: Revolution Search Engine In-Reply-To: <4C7EB5CB.9020600@gmail.com> References: <4C7EB00A.9060703@gmail.com> <4C7EB5CB.9020600@gmail.com> Message-ID: Same here. Google search works, gmane works, the rev database errors for me. Can't get a single dictionary search to work, whether quick or deep. Not that it matters to me that much since I didn't know it was there before today, but even so. On Wed, Sep 1, 2010 at 2:21 PM, Richmond wrote: > On 09/01/2010 11:11 PM, zryip theSlug wrote: > >> On Wed, Sep 1, 2010 at 9:56 PM, Richmond >> wrote: >> >> >>> Under the HELP menu. >>> >>> Probably the second time in about 9 years I have ever tried to use this: >>> >>> it gave what can only be described as "a little fart" on my MacMini, and >>> that my dears was all. >>> >>> if it is nothing but flatulence, why is it still there? >>> >>> >> Probably because it works pretty well for others. >> >> >> Regards, >> >> > > Interesting: > > Let's try it again on Mac OS 10.4.11 and Ubuntu 10.04: > > Funny . . . now it gave a 'fart' when I opened it the first time on my > MacMini. > > Now I typed 'search' into the 'search box and it gave me a reference to a > website > on Geocities that does not exist anymore . . . cool or what? > > Typed 'Unicode': nix. > > Typed 'button': nix. > > OK, on the Google "tab" it gives me a simple Google search - but, hey, I > have a couple > of web-browsers installed on each of my systems. > > Possibly naive (wouldn't be the first time), I imagined it would come up > with RunRev relevant > information. > > The 'Dictionary Quick Search' is significantly slower than the inbuilt > Documentation . . . err . . . > waiting . . . wow: > > "Could not find "button" as a string in the dictionary" > > > ------------------------------------------------------------------------------------------------------------------------------------------------ > > I wonder quite what you mean by "useful"? Certainly evidencing a semantic > shirt there, methinks. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From martyknapp at comcast.net Wed Sep 1 16:31:01 2010 From: martyknapp at comcast.net (Marty Knapp) Date: Wed, 01 Sep 2010 13:31:01 -0700 Subject: Revolution Search Engine In-Reply-To: <4C7EB00A.9060703@gmail.com> References: <4C7EB00A.9060703@gmail.com> Message-ID: <4C7EB805.9040109@comcast.net> I don't think it's a Rev thing - it's an OS thing. Some apps use it in conjunction with a PDF which is tucked inside the application bundle. I was actually curious as to how one would implement it. For example, open TextEdit and use it to see how it can function. Marty Knapp > Under the HELP menu. > > Probably the second time in about 9 years I have ever tried to use this: > > it gave what can only be described as "a little fart" on my MacMini, and > that my dears was all. > > if it is nothing but flatulence, why is it still there? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From richmondmathewson at gmail.com Wed Sep 1 16:31:53 2010 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 01 Sep 2010 23:31:53 +0300 Subject: Revolution Search Engine In-Reply-To: References: <4C7EB00A.9060703@gmail.com> <4C7EB5CB.9020600@gmail.com> Message-ID: <4C7EB839.2000500@gmail.com> On 09/01/2010 11:24 PM, Mike Bonner wrote: > Same here. Google search works, gmane works, the rev database errors for > me. > Can't get a single dictionary search to work, whether quick or deep. Not > that it matters to me that much since I didn't know it was there before > today, but even so. > There's gold in them thar hills. Or, fool's gold . . . :) > On Wed, Sep 1, 2010 at 2:21 PM, Richmondwrote: > > >> On 09/01/2010 11:11 PM, zryip theSlug wrote: >> >> >>> On Wed, Sep 1, 2010 at 9:56 PM, Richmond >>> wrote: >>> >>> >>> >>>> Under the HELP menu. >>>> >>>> Probably the second time in about 9 years I have ever tried to use this: >>>> >>>> it gave what can only be described as "a little fart" on my MacMini, and >>>> that my dears was all. >>>> >>>> if it is nothing but flatulence, why is it still there? >>>> >>>> >>>> >>> Probably because it works pretty well for others. >>> >>> >>> Regards, >>> >>> >>> >> Interesting: >> >> Let's try it again on Mac OS 10.4.11 and Ubuntu 10.04: >> >> Funny . . . now it gave a 'fart' when I opened it the first time on my >> MacMini. >> >> Now I typed 'search' into the 'search box and it gave me a reference to a >> website >> on Geocities that does not exist anymore . . . cool or what? >> >> Typed 'Unicode': nix. >> >> Typed 'button': nix. >> >> OK, on the Google "tab" it gives me a simple Google search - but, hey, I >> have a couple >> of web-browsers installed on each of my systems. >> >> Possibly naive (wouldn't be the first time), I imagined it would come up >> with RunRev relevant >> information. >> >> The 'Dictionary Quick Search' is significantly slower than the inbuilt >> Documentation . . . err . . . >> waiting . . . wow: >> >> "Could not find "button" as a string in the dictionary" >> >> >> ------------------------------------------------------------------------------------------------------------------------------------------------ >> >> I wonder quite what you mean by "useful"? Certainly evidencing a semantic >> shirt there, methinks. >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From richmondmathewson at gmail.com Wed Sep 1 16:35:51 2010 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 01 Sep 2010 23:35:51 +0300 Subject: Revolution Search Engine In-Reply-To: <4C7EB805.9040109@comcast.net> References: <4C7EB00A.9060703@gmail.com> <4C7EB805.9040109@comcast.net> Message-ID: <4C7EB927.5020008@gmail.com> On 09/01/2010 11:31 PM, Marty Knapp wrote: > I don't think it's a Rev thing - it's an OS thing. It behaves no worse or no better under Mac Os 10.4.11 or Ubuntu 10.04 Mind you; I love RunRev and have programmed successfully with it for coming on for 10 years now without this "thang" so my feeling is that it would be no great loss if it were quietly removed in the next incarnation. > Some apps use it in conjunction with a PDF which is tucked inside the > application bundle. I was actually curious as to how one would > implement it. For example, open TextEdit and use it to see how it can > function. > > Marty Knapp >> Under the HELP menu. >> >> Probably the second time in about 9 years I have ever tried to use this: >> >> it gave what can only be described as "a little fart" on my MacMini, and >> that my dears was all. >> >> if it is nothing but flatulence, why is it still there? >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From zryip.theslug at gmail.com Wed Sep 1 16:56:02 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 1 Sep 2010 22:56:02 +0200 Subject: Revolution Search Engine In-Reply-To: <4C7EB927.5020008@gmail.com> References: <4C7EB00A.9060703@gmail.com> <4C7EB805.9040109@comcast.net> <4C7EB927.5020008@gmail.com> Message-ID: On Wed, Sep 1, 2010 at 10:35 PM, Richmond wrote: > On 09/01/2010 11:31 PM, Marty Knapp wrote: >> >> ?I don't think it's a Rev thing - it's an OS thing. > > It behaves no worse or no better under Mac Os 10.4.11 or Ubuntu 10.04 > > Mind you; I love RunRev and have programmed successfully with it for coming > on for 10 > years now without this "thang" so my feeling is that it would be no great > loss if it were quietly removed > in the next incarnation. > >> Some apps use it in conjunction with a PDF which is tucked inside the >> application bundle. I was actually curious as to how one would implement it. >> For example, open TextEdit and use it to see how it can function. >> >> Marty Knapp >>> >>> Under the HELP menu. >>> >>> Probably the second time in about 9 years I have ever tried to use this: >>> >>> it gave what can only be described as "a little fart" on my MacMini, and >>> that my dears was all. >>> >>> if it is nothing but flatulence, why is it still there? >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution 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 A tool with those lines as header: -- Rev Search Engine by Eric Chatonet -- Website: sosmartsoftware.com -- mailto: eric.chatonet at sosmartsoftware.com is always of great value, even if you open it only to study its code. My opinion. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From niggemann at uni-wh.de Wed Sep 1 17:00:32 2010 From: niggemann at uni-wh.de (BNig) Date: Wed, 1 Sep 2010 14:00:32 -0700 (PDT) Subject: Revolution Search Engine In-Reply-To: <4C7EB927.5020008@gmail.com> References: <4C7EB00A.9060703@gmail.com> <4C7EB805.9040109@comcast.net> <4C7EB927.5020008@gmail.com> Message-ID: <1283374832421-2419534.post@n4.nabble.com> Richmond, suppose you are in desperate need of a Button Basher which is on the old revOnline and you remember its name or the first name of the author go to the middle button choose RevOnline and type Richmond or you are looking for the 4W DeskView and remember a guy with the first name of Richard made it in the middle button choose RevNet and type Richard to do a Nabble/Gmane/uselist search it is a lot faster then anything else The format of the dictionary changed so no surprise the lookup fails, the SearchEngine is not maintained but the basic concept (I think it was Eric Chatonet who did it?) is "so smart" It was an attempt to make the huge amount of stacks and resources that are in numerous places accessible. Not bad at all. Finally you are probably right, with time it will stop working. regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Revolution-Search-Engine-tp2415332p2419534.html Sent from the Revolution - User mailing list archive at Nabble.com. From gregory.lypny at videotron.ca Wed Sep 1 17:13:50 2010 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 01 Sep 2010 17:13:50 -0400 Subject: Collecting Web Form Information Using a Loop In-Reply-To: <20100901170004.6778728828A@mail.runrev.com> References: <20100901170004.6778728828A@mail.runrev.com> Message-ID: Worked well! Thanks, Mike. Gregory On Wed, Sep 1, 2010, at 1:00 PM, Mike Bonner wrote: > use a for each loop instead like > > repeat for each key theKey in $_POST > put $_POST[theKey] & comma after theSubmission > > end repeat From pete at mollysrevenge.com Wed Sep 1 19:02:22 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 1 Sep 2010 16:02:22 -0700 Subject: DragImage question In-Reply-To: <20100901163936.D0568288281@mail.runrev.com> References: <20100901163936.D0568288281@mail.runrev.com> Message-ID: <36145911-4265-4D51-AC51-5D75D93A64C0@mollysrevenge.com> Thanks, I can't quite get this to work. If I use your code, I get an error on the export command "Chunk: No such object" and the file is not created. I changed the export command to ....."file "DragImageField" instead (file instead of image), then the file was created but my Mac says it's a simple text file. Then the set command fails with the same error. Any ideas? Pete Haworth On Sep 1, 2010, at 9:39 AM, use-revolution-request at lists.runrev.com wrote: > Message: 19 > Date: Wed, 1 Sep 2010 10:38:53 +0200 > From: zryip theSlug > Subject: Re: DragImage question > To: How to use Revolution > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > On Wed, Sep 1, 2010 at 8:53 AM, Peter Haworth > wrote: >> Just working on my first drag/drop code. All seems to be working >> fine and a >> lot easier to implement than I thought it would be! >> >> I'm dragging the contents of a field (text) into another field on >> the same >> card and would like to see a faint outline of the source field and >> it's text >> follow the cursor to the destination field. I know I can set the >> dragImage >> property to an image number but in this case, the image would be >> different >> each time because of the text in the field. > > Hi Pete, > > A solution could consist to create an image of the field on the fly. > For doing that you can use the export snapshot command: > > export snapshot from field "myDataField" \ > to image "DragImageField" as PNG > set the dragImage to the short id of image "DragImageField" > > > Regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc From jacque at hyperactivesw.com Wed Sep 1 19:06:49 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 01 Sep 2010 18:06:49 -0500 Subject: DragImage question In-Reply-To: <36145911-4265-4D51-AC51-5D75D93A64C0@mollysrevenge.com> References: <20100901163936.D0568288281@mail.runrev.com> <36145911-4265-4D51-AC51-5D75D93A64C0@mollysrevenge.com> Message-ID: <4C7EDC89.5020004@hyperactivesw.com> On 9/1/10 6:02 PM, Peter Haworth wrote: > Thanks, I can't quite get this to work. If I use your code, I get an > error on the export command "Chunk: No such object" and the file is not > created. > > I changed the export command to ....."file "DragImageField" instead > (file instead of image), then the file was created but my Mac says it's > a simple text file. Then the set command fails with the same error. I think our slug meant to say "import snapshot". The image has to be in the stack before you can use it as a dragimage or a cursor. See "dragimage" in the dictionary for an explanation of the technique. "Typically, a control will want to use a pre-existing image object, or create a temporary object in dragStart that it deletes when it receives dragEnd." -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From zryip.theslug at gmail.com Wed Sep 1 19:43:24 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Thu, 2 Sep 2010 01:43:24 +0200 Subject: DragImage question In-Reply-To: <4C7EDC89.5020004@hyperactivesw.com> References: <20100901163936.D0568288281@mail.runrev.com> <36145911-4265-4D51-AC51-5D75D93A64C0@mollysrevenge.com> <4C7EDC89.5020004@hyperactivesw.com> Message-ID: On Thu, Sep 2, 2010 at 1:06 AM, J. Landman Gay wrote: > On 9/1/10 6:02 PM, Peter Haworth wrote: >> >> Thanks, I can't quite get this to work. ?If ?I use your code, I get an >> error on the export command "Chunk: No such object" and the file is not >> created. >> >> I changed the export command to ....."file "DragImageField" instead >> (file instead of image), then the file was created but my Mac says it's >> a simple text file. Then the set command fails with the same error. > > I think our slug meant to say "import snapshot". The image has to be in the > stack before you can use it as a dragimage or a cursor. See "dragimage" in > the dictionary for an explanation of the technique. No no, ;) I forgot to precise that you have to create the image first A script like this should works to drag a field: on dragStart if (there is not a image "DragField" of this cd) then lock screen create image "DragField" set the visible of it to false unlock screen end if export snapshot from field 1 to image "DragField" as PNG set the dragImage to the ID of image "DragField" put (the clickH - the left of me) & comma & (the clickV - the top of me) into tImageOffset set the dragImageOffset to tImageOffset set the dragData["private"] to text of field 1 end dragStart Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From infinite00 at embarqmail.com Wed Sep 1 20:21:18 2010 From: infinite00 at embarqmail.com (Bruce Pokras) Date: Wed, 1 Sep 2010 20:21:18 -0400 Subject: Rev POST command and Squid proxy servers? Message-ID: <1BD27CE4-9BE2-44A1-800B-3EFC165F1E8D@embarqmail.com> Hello all, Any known issues when using a Rev app behind a squid proxy server? My Patent Grabber application uses a POST command which a user informed me is not working. He is setting the httpProxy property to his corporate proxy server address, which he generically describes as proxy.server.de:8080. I am also a bit leery of his use of port 8080 rather than the standard HTTP port of just plain 80. But that is what he insists on using. Any comments or suggestions would be welcome. Thanks. Regards, Bruce Pokras Blazing Dawn Software www.blazingdawn.com From jimaultwins at yahoo.com Wed Sep 1 20:51:57 2010 From: jimaultwins at yahoo.com (Jim Ault) Date: Wed, 1 Sep 2010 17:51:57 -0700 Subject: Rev POST command and Squid proxy servers? In-Reply-To: <1BD27CE4-9BE2-44A1-800B-3EFC165F1E8D@embarqmail.com> References: <1BD27CE4-9BE2-44A1-800B-3EFC165F1E8D@embarqmail.com> Message-ID: Which version of Rev are you using? I found that using POST on 4.5.3 IDE sends extra chars after the last variable, including a cr. = Login Invalid Roll back to 4.5.0 and it works again I discovered this by using the PHP function var_dump($_POST) to see all the received variables On Sep 1, 2010, at 5:21 PM, Bruce Pokras wrote: > Hello all, > > Any known issues when using a Rev app behind a squid proxy server? > My Patent Grabber application uses a POST command which a user > informed me is not working. He is setting the httpProxy property to > his corporate proxy server address, which he generically describes > as proxy.server.de:8080. I am also a bit leery of his use of port > 8080 rather than the standard HTTP port of just plain 80. But that > is what he insists on using. > > Any comments or suggestions would be welcome. Thanks. > > Regards, > > Bruce Pokras > Blazing Dawn Software > www.blazingdawn.com_______________________________________________ > use-revolution mailing list Jim Ault Las Vegas From monte at sweattechnologies.com Thu Sep 2 03:14:01 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 2 Sep 2010 17:14:01 +1000 Subject: sockets & post to url Message-ID: Hi I have an app that accepts connections on a socket to sync to an iOS version. post to url works before and after: accept connections on port lPort with message "newConnection" -- lPort is 8009 as default but user settable until the connections start coming in from the server. To avoid socket timeouts while the user does some licensing stuff the phone repeatedly asks if it's ok to sync and the app either responds with an accept, reject or pending message. While these connections are coming in post to url does not return although it doesn't block the UI either so you can click the button that sends the post again and then it returns immediately with "error Previous request not completed" as result. The docs say url commands block each other but no mention of other socket connections blocking them too. When the connections stop coming in from the phone (no open sockets but still listening) then post works again but not if you have tried to post to a url while the connections are coming in in which case you still get the error in the result. resetAll (libURLresetAll) does nothing for me. Is this a known bug? Is there a workaround? Cheers Monte From monte at sweattechnologies.com Thu Sep 2 03:27:58 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 2 Sep 2010 17:27:58 +1000 Subject: sockets & post to url In-Reply-To: References: Message-ID: <40A4DF66-329E-45A9-9EE9-870669FDB361@sweattechnologies.com> ah... scratch that, nothing to see here On 02/09/2010, at 5:14 PM, Monte Goulding wrote: > Hi > > I have an app that accepts connections on a socket to sync to an iOS version. > > post to url works before and after: > accept connections on port lPort with message "newConnection" -- lPort is 8009 as default but user settable > until the connections start coming in from the server. To avoid socket timeouts while the user does some licensing stuff the phone repeatedly asks if it's ok to sync and the app either responds with an accept, reject or pending message. While these connections are coming in post to url does not return although it doesn't block the UI either so you can click the button that sends the post again and then it returns immediately with "error Previous request not completed" as result. The docs say url commands block each other but no mention of other socket connections blocking them too. > > When the connections stop coming in from the phone (no open sockets but still listening) then post works again but not if you have tried to post to a url while the connections are coming in in which case you still get the error in the result. resetAll (libURLresetAll) does nothing for me. > > Is this a known bug? > Is there a workaround? > > Cheers > > Monte_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From richmondmathewson at gmail.com Thu Sep 2 10:15:10 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 02 Sep 2010 17:15:10 +0300 Subject: Bundle Shmundle: more "Bad Boy" mouthings. Message-ID: <4C7FB16E.8080202@gmail.com> At the risk of offending Klaus Major [ what me? surely not? ] he posted this on the Metacard Use-List today: "Hi all, the current version of the MC IDE can be used with engines>= 4, but is NOT able to build standalones with the new process REV introduced with 4.0. This means you can only build standalones with engines<=3.5. I hope I can publish a new IDE in a couple of weeks or maybe months, considering the surprising new bundle structure on OS X introduced with 4.5 dp4 that I also will have to deal with :-/ This was and is a very bad year for me and I apologize for the very long delay. [ The above is something we can all, I hope, sympathise with ] Best Klaus" ----------------------------------------------- Sorry, Klaus, "nothing personal" . . . :) Well, except for the insertion in square brackets. What got me was this: "the surprising new bundle structure on OS X introduced with 4.5 dp4" SO: built a Mac standalone of a blank stack both with RunRev 4.0 and with RunRev 4.5-dp-4 on my Linux box and "sent them down the wire" to my G4 MacMini . . . cracked open both the standalones [remember these are based on completely blank stacks, so there may be more differences with complicated stuff]: 4.0: Contents / Info.plist MacOS / Externals / Noodles [sorry, "Noodles" was the name of the stack] PkgInfo PlugIns / coreimage_support.bundle jaguar_theme_support.bundle panther_theme_support.bundle tiger_theme_support.bundle Resources / "all those folders with language-specific "bumf"" Noodles.rsrc 4.5: Contents / Info.plist MacOS / Externals / Noodles PkgInfo Resources / "all those folders with language-specific "bumf"" Noodles.rsrc i.e. the 4.5 build contains no PlugIns folder . . . Umm ???? Where has it gone? Why has it gone? And how does that constitute "surprising" when 'stupid' types like me don't even know what those dot-bundles are supposed to do anyway? Could this negatively affect performance of Mac standalones in anyway? Are the capabilities built into those dot-bundle 'things' in some way covered elsewhere, perhaps in what is contained in the MacOS folder? What was "even more fun" was that neither of the Mac OS X standalones built on Linux worked on Mac OS 10.4.11 - which makes little sense indeed as the Macintosh version of RunRev 4.0 runs on Mac OS 10.3.9. [ Isn't it rather fascinating, that on investigating one thing I fall over something else? - the story of my life, really ] Just to make sure "it wasn't me" I sent my original "Noodles.rev" stack down the wire to the Mac and made a Mac Universal build with RunRev 4.0 over there: it worked. Err . . . started with 1 question and ended up with 2 . . . I only wish Ludwig Wittgenstein were right here to hold my hand at this moment. sincerely, Richmond. From andre at andregarzia.com Thu Sep 2 10:45:10 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 2 Sep 2010 11:45:10 -0300 Subject: sockets & post to url In-Reply-To: <40A4DF66-329E-45A9-9EE9-870669FDB361@sweattechnologies.com> References: <40A4DF66-329E-45A9-9EE9-870669FDB361@sweattechnologies.com> Message-ID: Monte, can you detail how you solved this for future mail list search abilities! :D On Thu, Sep 2, 2010 at 4:27 AM, Monte Goulding wrote: > ah... scratch that, nothing to see here > > On 02/09/2010, at 5:14 PM, Monte Goulding wrote: > > > Hi > > > > I have an app that accepts connections on a socket to sync to an iOS > version. > > > > post to url works before and after: > > accept connections on port lPort with message "newConnection" -- lPort is > 8009 as default but user settable > > until the connections start coming in from the server. To avoid socket > timeouts while the user does some licensing stuff the phone repeatedly asks > if it's ok to sync and the app either responds with an accept, reject or > pending message. While these connections are coming in post to url does not > return although it doesn't block the UI either so you can click the button > that sends the post again and then it returns immediately with "error > Previous request not completed" as result. The docs say url commands block > each other but no mention of other socket connections blocking them too. > > > > When the connections stop coming in from the phone (no open sockets but > still listening) then post works again but not if you have tried to post to > a url while the connections are coming in in which case you still get the > error in the result. resetAll (libURLresetAll) does nothing for me. > > > > Is this a known bug? > > Is there a workaround? > > > > Cheers > > > > Monte_______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From klaus at major.on-rev.com Thu Sep 2 11:21:42 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 2 Sep 2010 17:21:42 +0200 Subject: Bundle Shmundle: more "Bad Boy" mouthings. In-Reply-To: <4C7FB16E.8080202@gmail.com> References: <4C7FB16E.8080202@gmail.com> Message-ID: <1B04F901-9291-47AA-830C-7E2680B32131@major.on-rev.com> Hi Richmond, > At the risk of offending Klaus Major [ what me? surely not? ] oh well... > ... > What got me was this: > "the surprising new bundle structure on OS X introduced with 4.5 dp4" I only meant that Rev on OS X now will come as ONE app bundle with everything in it and not with easily accessible folders like earlier versions. So I am not sure what the meaning of your post is? Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From richmondmathewson at gmail.com Thu Sep 2 11:35:36 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 02 Sep 2010 18:35:36 +0300 Subject: Bundle Shmundle: more "Bad Boy" mouthings. In-Reply-To: <1B04F901-9291-47AA-830C-7E2680B32131@major.on-rev.com> References: <4C7FB16E.8080202@gmail.com> <1B04F901-9291-47AA-830C-7E2680B32131@major.on-rev.com> Message-ID: <4C7FC448.20806@gmail.com> On 09/02/2010 06:21 PM, Klaus on-rev wrote: > Hi Richmond, > > >> At the risk of offending Klaus Major [ what me? surely not? ] >> > oh well... > > >> ... >> What got me was this: >> "the surprising new bundle structure on OS X introduced with 4.5 dp4" >> > I only meant that Rev on OS X now will come as ONE app bundle with everything in it > and not with easily accessible folders like earlier versions. > > Hey; us "thickos" need to have these things explained explicitly. > So I am not sure what the meaning of your post is? > oh well . . . The meaning of my post was meant to be [*] that, having looked at the inner structure of Mac standalones built using 4.0 and 4.5 the difference seemed 'only' to be in the lack of a PlugIns folder in the latter, and I was wondering why. * HOWEVER; I got ever-so-slightly side-tracked when I found that a Mac Universal standalone constructed with RunRev Studio 4.0 (linux) would not run on a Mac. Thinking about things now, the "side-track" seems more significant than the original idea. > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From kevin at runrev.com Thu Sep 2 12:53:29 2010 From: kevin at runrev.com (Kevin Miller) Date: Thu, 02 Sep 2010 17:53:29 +0100 Subject: Bundle Shmundle: more "Bad Boy" mouthings. In-Reply-To: <4C7FB16E.8080202@gmail.com> Message-ID: On 02/09/2010 15:15, "Richmond" wrote: > i.e. the 4.5 build contains no PlugIns folder . . . Umm ???? Where has it > gone? Why has it gone? I refer you to the release notes that came with the build. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ RunRev - Software construction for everyone From richmondmathewson at gmail.com Thu Sep 2 15:10:15 2010 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 02 Sep 2010 22:10:15 +0300 Subject: Bundle Shmundle: more "Bad Boy" mouthings. In-Reply-To: References: Message-ID: <4C7FF697.3080300@gmail.com> On 09/02/2010 07:53 PM, Kevin Miller wrote: > On 02/09/2010 15:15, "Richmond" wrote: > > >> i.e. the 4.5 build contains no PlugIns folder . . . Umm ???? Where has it >> gone? Why has it gone? >> > I refer you to the release notes that came with the build. > In my RunRev 4.0 folder I found, among other things: Read_Me_First.txt Engine Change Log.txt IDE Change Log.txt But I could find none of those in the RunRev 4.5-dp-4 folder. These files would have been my "first port of call". While I am here; please take note of my 'other', accidental finding referenced in my original posting under this title. > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > RunRev - Software construction for everyone > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From coiin at verizon.net Thu Sep 2 15:21:28 2010 From: coiin at verizon.net (Colin Holgate) Date: Thu, 2 Sep 2010 15:21:28 -0400 Subject: Bundle Shmundle: more "Bad Boy" mouthings. In-Reply-To: <4C7FF697.3080300@gmail.com> References: <4C7FF697.3080300@gmail.com> Message-ID: On Sep 2, 2010, at 3:10 PM, Richmond wrote: > But I could find none of those in the RunRev 4.5-dp-4 folder. These files would > have been my "first port of call". In passing, how did you get that build? When I do a check for updates in 4.5 dp-3, I get a server connection error. From jiml at netrin.com Thu Sep 2 15:39:02 2010 From: jiml at netrin.com (Jim Lambert) Date: Thu, 2 Sep 2010 12:39:02 -0700 Subject: revOnline In-Reply-To: <20100902170005.C14162883B0@mail.runrev.com> References: <20100902170005.C14162883B0@mail.runrev.com> Message-ID: <0ADA6C3B-30A3-430D-86B4-2997D04F13A7@netrin.com> Hi, Anyone else having trouble logging onto revOnline? Jim Lambert From pete at mollysrevenge.com Thu Sep 2 17:02:50 2010 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 2 Sep 2010 14:02:50 -0700 Subject: use-revolution Digest, Vol 84, Issue 3 In-Reply-To: <20100902170005.C14162883B0@mail.runrev.com> References: <20100902170005.C14162883B0@mail.runrev.com> Message-ID: <53EB391E-4FA3-4889-AC45-3E05B6FAAA81@mollysrevenge.com> Thanks, that works perfectly! Pete Haworth On Sep 2, 2010, at 10:00 AM, use-revolution-request at lists.runrev.com wrote: > No no, ;) > > I forgot to precise that you have to create the image first > > A script like this should works to drag a field: > > on dragStart > if (there is not a image "DragField" of this cd) then > lock screen > create image "DragField" > set the visible of it to false > unlock screen > end if > > export snapshot from field 1 to image "DragField" as PNG > > set the dragImage to the ID of image "DragField" > put (the clickH - the left of me) & comma & (the clickV - the top > of me) into tImageOffset > set the dragImageOffset to tImageOffset > > set the dragData["private"] to text of field 1 > end dragStart > > > Regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc From niggemann at uni-wh.de Thu Sep 2 17:03:53 2010 From: niggemann at uni-wh.de (BNig) Date: Thu, 2 Sep 2010 14:03:53 -0700 (PDT) Subject: revOnline In-Reply-To: <0ADA6C3B-30A3-430D-86B4-2997D04F13A7@netrin.com> References: <0ADA6C3B-30A3-430D-86B4-2997D04F13A7@netrin.com> Message-ID: <1283461433637-2524770.post@n4.nabble.com> it did not work today but just started to work again from the IDE. Jim Lambert wrote: > > Hi, > > Anyone else having trouble logging onto revOnline? > > Jim Lambert > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/revOnline-tp2524667p2524770.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Thu Sep 2 17:14:57 2010 From: coiin at verizon.net (Colin Holgate) Date: Thu, 2 Sep 2010 17:14:57 -0400 Subject: revOnline In-Reply-To: <1283461433637-2524770.post@n4.nabble.com> References: <0ADA6C3B-30A3-430D-86B4-2997D04F13A7@netrin.com> <1283461433637-2524770.post@n4.nabble.com> Message-ID: On Sep 2, 2010, at 5:03 PM, BNig wrote: > > it did not work today but just started to work again from the IDE. Check for Updates works again now too. From monte at sweattechnologies.com Thu Sep 2 18:03:55 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 3 Sep 2010 08:03:55 +1000 Subject: sockets & post to url In-Reply-To: References: <40A4DF66-329E-45A9-9EE9-870669FDB361@sweattechnologies.com> Message-ID: LOL, just a bug in my code mate. Was closing line 1 of the opensockets which was fine when the licensing stuff was happening in a separate process but not when I put it back in the main app ;-) On 03/09/2010, at 12:45 AM, Andre Garzia wrote: > Monte, > > can you detail how you solved this for future mail list search abilities! > > :D > > On Thu, Sep 2, 2010 at 4:27 AM, Monte Goulding > wrote: > >> ah... scratch that, nothing to see here >> >> On 02/09/2010, at 5:14 PM, Monte Goulding wrote: >> >>> Hi >>> >>> I have an app that accepts connections on a socket to sync to an iOS >> version. >>> >>> post to url works before and after: >>> accept connections on port lPort with message "newConnection" -- lPort is >> 8009 as default but user settable >>> until the connections start coming in from the server. To avoid socket >> timeouts while the user does some licensing stuff the phone repeatedly asks >> if it's ok to sync and the app either responds with an accept, reject or >> pending message. While these connections are coming in post to url does not >> return although it doesn't block the UI either so you can click the button >> that sends the post again and then it returns immediately with "error >> Previous request not completed" as result. The docs say url commands block >> each other but no mention of other socket connections blocking them too. >>> >>> When the connections stop coming in from the phone (no open sockets but >> still listening) then post works again but not if you have tried to post to >> a url while the connections are coming in in which case you still get the >> error in the result. resetAll (libURLresetAll) does nothing for me. >>> >>> Is this a known bug? >>> Is there a workaround? >>> >>> Cheers >>> >>> Monte_______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From andre at andregarzia.com Thu Sep 2 18:21:06 2010 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 2 Sep 2010 19:21:06 -0300 Subject: sockets & post to url In-Reply-To: References: <40A4DF66-329E-45A9-9EE9-870669FDB361@sweattechnologies.com> Message-ID: Once I built a web server in Rev... for a while, I tried testing it by building a client also in Rev. Now, when everything is running at the same time inside Rev IDE, things can get messy... On Thu, Sep 2, 2010 at 7:03 PM, Monte Goulding wrote: > LOL, just a bug in my code mate. Was closing line 1 of the opensockets > which was fine when the licensing stuff was happening in a separate process > but not when I put it back in the main app ;-) > > On 03/09/2010, at 12:45 AM, Andre Garzia wrote: > > > Monte, > > > > can you detail how you solved this for future mail list search abilities! > > > > :D > > > > On Thu, Sep 2, 2010 at 4:27 AM, Monte Goulding > > wrote: > > > >> ah... scratch that, nothing to see here > >> > >> On 02/09/2010, at 5:14 PM, Monte Goulding wrote: > >> > >>> Hi > >>> > >>> I have an app that accepts connections on a socket to sync to an iOS > >> version. > >>> > >>> post to url works before and after: > >>> accept connections on port lPort with message "newConnection" -- lPort > is > >> 8009 as default but user settable > >>> until the connections start coming in from the server. To avoid socket > >> timeouts while the user does some licensing stuff the phone repeatedly > asks > >> if it's ok to sync and the app either responds with an accept, reject or > >> pending message. While these connections are coming in post to url does > not > >> return although it doesn't block the UI either so you can click the > button > >> that sends the post again and then it returns immediately with "error > >> Previous request not completed" as result. The docs say url commands > block > >> each other but no mention of other socket connections blocking them too. > >>> > >>> When the connections stop coming in from the phone (no open sockets but > >> still listening) then post works again but not if you have tried to post > to > >> a url while the connections are coming in in which case you still get > the > >> error in the result. resetAll (libURLresetAll) does nothing for me. > >>> > >>> Is this a known bug? > >>> Is there a workaround? > >>> > >>> Cheers > >>> > >>> Monte_______________________________________________ > >>> use-revolution mailing list > >>> use-revolution at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > > > > > -- > > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From jacque at hyperactivesw.com Thu Sep 2 18:52:23 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 Sep 2010 17:52:23 -0500 Subject: Bundle Shmundle: more "Bad Boy" mouthings. In-Reply-To: References: Message-ID: <4C802AA7.4070903@hyperactivesw.com> On 9/2/10 11:53 AM, Kevin Miller wrote: > On 02/09/2010 15:15, "Richmond" wrote: > >> i.e. the 4.5 build contains no PlugIns folder . . . Umm ???? Where has it >> gone? Why has it gone? > > I refer you to the release notes that came with the build. And in turn, I refer you to the improve list, since 4.5 is not released yet and is still in beta. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Sep 2 18:54:18 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 Sep 2010 17:54:18 -0500 Subject: Bundle Shmundle: more "Bad Boy" mouthings. In-Reply-To: References: <4C7FF697.3080300@gmail.com> Message-ID: <4C802B1A.9050703@hyperactivesw.com> On 9/2/10 2:21 PM, Colin Holgate wrote: > > In passing, how did you get that build? When I do a check for updates in 4.5 dp-3, I get a server connection error. A direct link was posted to the improve list on 8/28/10. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Sep 2 18:56:54 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 Sep 2010 17:56:54 -0500 Subject: Bundle Shmundle: more "Bad Boy" mouthings. In-Reply-To: <4C7FC448.20806@gmail.com> References: <4C7FB16E.8080202@gmail.com> <1B04F901-9291-47AA-830C-7E2680B32131@major.on-rev.com> <4C7FC448.20806@gmail.com> Message-ID: <4C802BB6.40807@hyperactivesw.com> On 9/2/10 10:35 AM, Richmond wrote: > * HOWEVER; I got ever-so-slightly side-tracked when I found that a Mac > Universal > standalone constructed with RunRev Studio 4.0 (linux) would not run on a > Mac. There was a discussion about this a while back. The same thing also occurs when building for Mac on Windows machines. Basically, you need to set the executable bit, which you can only do on a Mac if I remember right. Your build will run once you do that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ma at snowcamp.org Thu Sep 2 20:12:14 2010 From: ma at snowcamp.org (Mike Arnold) Date: Thu, 2 Sep 2010 20:12:14 -0400 Subject: Rev & SQL question Message-ID: I am finally back at Rev again, with a small project up front and eventually a much bigger project (I hope). It seems each time I start with a rev project I find a new area to explore and get stopped cold ... its such a nice platform, just have to get back in the swing again. This time I've decided I need to use a database (really as a prep for the bigger project) but have run up against a problem I spent too much time on. I have mySQL running and have defined a database & couple of tables with a set of fields. One table will have a list of defined Names that will be in a drop-down-menu What I have been trying to do, once opening the database is something like the following: revExecuteSQL dbID,"SELECT Name FROM myTable INTO ARRAY :1","eventList" Where I'd like to fetch all the Names into an array named eventList. Apparently, I am not doing this correctly. The function seems to work, but eventList stays undefined (or if I have initialized it, to its initialized value). My apologies for the long story and short problem. Any help would be greatly appreciated, Mike. From monte at sweattechnologies.com Thu Sep 2 20:30:06 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 3 Sep 2010 10:30:06 +1000 Subject: Rev & SQL question In-Reply-To: References: Message-ID: <30A5F84F-6423-4618-A9DD-2B90B45DBB23@sweattechnologies.com> > > revExecuteSQL dbID,"SELECT Name FROM myTable INTO ARRAY :1","eventList" > Hi Mike You can't do it that way. The array syntax for revExecuteSQL is for SQL statements like INSERT where :1 is replaced by the value if eventList[1]. I have a blog post that includes some simple generic db functions and commands to get you started: http://goulding.ws/2010/08/27/180/ Cheers Monte From ma at snowcamp.org Thu Sep 2 21:26:04 2010 From: ma at snowcamp.org (Mike Arnold) Date: Thu, 2 Sep 2010 21:26:04 -0400 Subject: Rev & SQL question In-Reply-To: <30A5F84F-6423-4618-A9DD-2B90B45DBB23@sweattechnologies.com> References: <30A5F84F-6423-4618-A9DD-2B90B45DBB23@sweattechnologies.com> Message-ID: Monte, Perfect! Worked like a charm. thank you, Mike. From richmondmathewson at gmail.com Fri Sep 3 02:24:55 2010 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 03 Sep 2010 09:24:55 +0300 Subject: Bundle Shmundle: more "Bad Boy" mouthings. In-Reply-To: <4C802BB6.40807@hyperactivesw.com> References: <4C7FB16E.8080202@gmail.com> <1B04F901-9291-47AA-830C-7E2680B32131@major.on-rev.com> <4C7FC448.20806@gmail.com> <4C802BB6.40807@hyperactivesw.com> Message-ID: <4C8094B7.8070202@gmail.com> On 09/03/2010 01:56 AM, J. Landman Gay wrote: > On 9/2/10 10:35 AM, Richmond wrote: > >> * HOWEVER; I got ever-so-slightly side-tracked when I found that a Mac >> Universal >> standalone constructed with RunRev Studio 4.0 (linux) would not run on a >> Mac. > > There was a discussion about this a while back. The same thing also > occurs when building for Mac on Windows machines. Basically, you need > to set the executable bit, which you can only do on a Mac if I > remember right. Your build will run once you do that. > So, if I read you correctly, anybody who wants to spin off a Mac standalone has to have access to a Mac machine to: 1. Set the executable bit? [ Pass me the Alka-Seltzer; how does one do that? ] "which you can only do on a Mac if I remember right" not good. 2. Build Mac standalones? We've been Steved, perhaps? That is rather bad news as not everybody has the sort of wherewithall that they can have a Mac sitting ready for this. From janschenkel at yahoo.com Fri Sep 3 04:22:17 2010 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 3 Sep 2010 01:22:17 -0700 (PDT) Subject: Bundle Shmundle: more "Bad Boy" mouthings. In-Reply-To: <4C8094B7.8070202@gmail.com> Message-ID: <835530.26814.qm@web65416.mail.ac4.yahoo.com> --- On Thu, 9/2/10, Richmond wrote: > On 09/03/2010 01:56 AM, J. Landman > Gay wrote: > > On 9/2/10 10:35 AM, Richmond wrote: > > > >> * HOWEVER; I got ever-so-slightly side-tracked > when I found that a Mac > >> Universal > >> standalone constructed with RunRev Studio 4.0 > (linux) would not run on a > >> Mac. > > > > There was a discussion about this a while back. The > same thing also occurs when building for Mac on Windows > machines. Basically, you need to set the executable bit, > which you can only do on a Mac if I remember right. Your > build will run once you do that. > > > > So, if I read you correctly, anybody who wants to spin off > a Mac standalone has to have access to > a Mac machine to: > > 1. Set the executable bit?? [ Pass me the > Alka-Seltzer; how does one do that? ] > > ? ? ? "which you can only do on a Mac if I > remember right"? not good. > > 2. Build Mac standalones? > > We've been Steved, perhaps? > > That is rather bad news as not everybody has the sort of > wherewithall that they can have a Mac sitting > ready for this. > In my experience, if you zip it up on Windows before you move it to the Mac, the Finder will add the missing executable flag as it unpacks the archive. And if I copy it from my Win2K machine to a shared folder on my iMac (shared via Windows Sharing - aka SMB), the .app is also executable. Perhaps what perople are experiencing is that if you copy it via a USB stick, unzipped, the Finder doesn't do this? Jan Schenkel. ===== Quartam Reports & PDF Library for Revolution www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From richmondmathewson at gmail.com Fri Sep 3 06:56:50 2010 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 03 Sep 2010 13:56:50 +0300 Subject: Bundle Shmundle: more "Bad Boy" mouthings. In-Reply-To: <835530.26814.qm@web65416.mail.ac4.yahoo.com> References: <835530.26814.qm@web65416.mail.ac4.yahoo.com> Message-ID: <4C80D472.1080508@gmail.com> On 09/03/2010 11:22 AM, Jan Schenkel wrote: > --- On Thu, 9/2/10, Richmond wrote: > >> On 09/03/2010 01:56 AM, J. Landman >> Gay wrote: >> >>> On 9/2/10 10:35 AM, Richmond wrote: >>> >>> >>>> * HOWEVER; I got ever-so-slightly side-tracked >>>> >> when I found that a Mac >> >>>> Universal >>>> standalone constructed with RunRev Studio 4.0 >>>> >> (linux) would not run on a >> >>>> Mac. >>>> >>> There was a discussion about this a while back. The >>> >> same thing also occurs when building for Mac on Windows >> machines. Basically, you need to set the executable bit, >> which you can only do on a Mac if I remember right. Your >> build will run once you do that. >> >>> >> So, if I read you correctly, anybody who wants to spin off >> a Mac standalone has to have access to >> a Mac machine to: >> >> 1. Set the executable bit? [ Pass me the >> Alka-Seltzer; how does one do that? ] >> >> "which you can only do on a Mac if I >> remember right" not good. >> >> 2. Build Mac standalones? >> >> We've been Steved, perhaps? >> >> That is rather bad news as not everybody has the sort of >> wherewithall that they can have a Mac sitting >> ready for this. >> >> > In my experience, if you zip it up on Windows before you move it to the Mac, the Finder will add the missing executable flag as it unpacks the archive. > And if I copy it from my Win2K machine to a shared folder on my iMac (shared via Windows Sharing - aka SMB), the .app is also executable. > Perhaps what perople are experiencing is that if you copy it via a USB stick, unzipped, the Finder doesn't do this? > > That ( about putting a Mac standalone into a zip file before transferring it to a Mac ) is extremely valuable information. > Jan Schenkel. > ===== > Quartam Reports& PDF Library for Revolution > www.quartam.com > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From andrew at rjdfarm.com Fri Sep 3 11:33:40 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Fri, 3 Sep 2010 08:33:40 -0700 (PDT) Subject: Rev & SQL question In-Reply-To: References: <30A5F84F-6423-4618-A9DD-2B90B45DBB23@sweattechnologies.com> Message-ID: <1283528020230-2525847.post@n4.nabble.com> All the apps that I currently write or maintain are frontends for databases. SQLYoga from Trevor DeVore (creator of the DataGrid control) has been extermely invaluable to saving me time and thought when handling mySQL. It also supports SQLLite and I think SQL Server. It comes with a trial to test the waters. http://www.bluemangolearning.com/revolution/software/libraries/sql-yoga/ I most highly recommend it! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Rev-SQL-question-tp2524956p2525847.html Sent from the Revolution - User mailing list archive at Nabble.com. From andrew at rjdfarm.com Fri Sep 3 11:41:42 2010 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Fri, 3 Sep 2010 08:41:42 -0700 (PDT) Subject: [OT] VirtualAssistant Message-ID: <1283528502156-2525855.post@n4.nabble.com> http://www.youtube.com/watch?v=7W52TL9Akv4 I have been watching this software kit develop for around five years and have drooled over it from the very beginning. It is due out next month sometime! I hope it is within my budget to snag a license! For further wows, visit: http://www.guile3d.com.br/denise/features.html It is coming with an SDK. I wonder if it will possible to integrate her somehow into rev? Oh the possibilities. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-VirtualAssistant-tp2525855p2525855.html Sent from the Revolution - User mailing list archive at Nabble.com. From andre at andregarzia.com Fri Sep 3 11:50:18 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 3 Sep 2010 12:50:18 -0300 Subject: Rev & SQL question In-Reply-To: <1283528020230-2525847.post@n4.nabble.com> References: <30A5F84F-6423-4618-A9DD-2B90B45DBB23@sweattechnologies.com> <1283528020230-2525847.post@n4.nabble.com> Message-ID: Me too! SQL Yoga rocks! Also if you're doing web with RevServer, then RevIgniter active record implementation is the best thing ever. Everytime I throw something like: rigDbWhere "email", myEmail put rigDbGet("members") into tRecord put rigDbRow(1) into tContactA I almost cry tears of joy. I remember my first rev CGIs where we could not get RevDB to work and we had to build our own database query shell scripts using combinations of shell() and bash programming to query mysqladmin... believe me, both SQL Yoga and RevIgniter DB library are wonderful. On Fri, Sep 3, 2010 at 12:33 PM, Andrew Kluthe wrote: > > All the apps that I currently write or maintain are frontends for > databases. > > SQLYoga from Trevor DeVore (creator of the DataGrid control) has been > extermely invaluable to saving me time and thought when handling mySQL. It > also supports SQLLite and I think SQL Server. > > It comes with a trial to test the waters. > http://www.bluemangolearning.com/revolution/software/libraries/sql-yoga/ > > I most highly recommend it! > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Rev-SQL-question-tp2524956p2525847.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From jrvalent at wisc.edu Fri Sep 3 13:44:13 2010 From: jrvalent at wisc.edu (randolph valentine) Date: Fri, 03 Sep 2010 12:44:13 -0500 Subject: updater failing Message-ID: <001701cb4b8f$9f72f9b0$de58ed10$@wisc.edu> I keep getting an error when I try to update Rev via the in-app updater, a message "failed to download." I'm running Windows 7 in Boot Camp on an iMac. I also get this error posted in the navigation stack that starts with Rev: 500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster at developer.runrev.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_perl/2.0.4 Perl/v5.8.8 Server at developer.runrev.com Port 80
Thanks for any ideas as to what the problem is. rand valentine From richmondmathewson at gmail.com Fri Sep 3 13:48:10 2010 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 03 Sep 2010 20:48:10 +0300 Subject: updater failing In-Reply-To: <001701cb4b8f$9f72f9b0$de58ed10$@wisc.edu> References: <001701cb4b8f$9f72f9b0$de58ed10$@wisc.edu> Message-ID: <4C8134DA.8080909@gmail.com> On 09/03/2010 08:44 PM, randolph valentine wrote: > I keep getting an error when I try to update Rev via the in-app updater, a > message "failed to download." I'm running Windows 7 in Boot Camp on an iMac. > > Possibly this could have somethibg to do with the fact that there aren't any upgrades yet. > > > I also get this error posted in the navigation stack that starts with Rev: > > > > > > > > 500 Internal Server Error > > > >

Internal Server Error

> >

The server encountered an internal error or > > misconfiguration and was unable to complete > > your request.

> >

Please contact the server administrator, > > webmaster at developer.runrev.com and inform them of the time the error > occurred, > > and anything you might have done that may have > > caused the error.

> >

More information about this error may be available > > in the server error log.

> >

Additionally, a 404 Not Found > > error was encountered while trying to use an ErrorDocument to handle the > request.

> >
> >
Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/0.9.8e-fips-rhel5 > mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 > mod_perl/2.0.4 Perl/v5.8.8 Server at developer.runrev.com Port 80
> > > > > > Thanks for any ideas as to what the problem is. > > > > rand valentine > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From richmondmathewson at gmail.com Fri Sep 3 13:48:57 2010 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 03 Sep 2010 20:48:57 +0300 Subject: updater failing In-Reply-To: <001701cb4b8f$9f72f9b0$de58ed10$@wisc.edu> References: <001701cb4b8f$9f72f9b0$de58ed10$@wisc.edu> Message-ID: <4C813509.8030006@gmail.com> On 09/03/2010 08:44 PM, randolph valentine wrote: > I keep getting an error when I try to update Rev via the in-app updater, a > message "failed to download." I'm running Windows 7 in Boot Camp on an iMac. > > > Yup; must be "somethibg" . . . :) > I also get this error posted in the navigation stack that starts with Rev: > > > > > > > > 500 Internal Server Error > > > >

Internal Server Error

> >

The server encountered an internal error or > > misconfiguration and was unable to complete > > your request.

> >

Please contact the server administrator, > > webmaster at developer.runrev.com and inform them of the time the error > occurred, > > and anything you might have done that may have > > caused the error.

> >

More information about this error may be available > > in the server error log.

> >

Additionally, a 404 Not Found > > error was encountered while trying to use an ErrorDocument to handle the > request.

> >
> >
Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/0.9.8e-fips-rhel5 > mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 > mod_perl/2.0.4 Perl/v5.8.8 Server at developer.runrev.com Port 80
> > > > > > Thanks for any ideas as to what the problem is. > > > > rand valentine > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From davidocoker at gmail.com Fri Sep 3 14:18:38 2010 From: davidocoker at gmail.com (David C.) Date: Fri, 3 Sep 2010 13:18:38 -0500 Subject: Multi-platform PDF launch? Message-ID: Hello folks, I know that on windows I can do something like this for a chm help file: launch "MyhelpFile.chm" with hh.exe However, I'm trying to figure out a cross-platform solution for launching a PDF file instead, using the users default reader program. Any tips out there for me? Best regards, David C. From klaus at major.on-rev.com Fri Sep 3 14:22:39 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 3 Sep 2010 20:22:39 +0200 Subject: Multi-platform PDF launch? In-Reply-To: References: Message-ID: Hi David, > Hello folks, > I know that on windows I can do something like this for a chm help file: > > launch "MyhelpFile.chm" with hh.exe > > However, I'm trying to figure out a cross-platform solution for > launching a PDF file instead, using the users default reader program. > Any tips out there for me? launch document "path/to your/PDFdoc.pdf" Should do the job :-) > Best regards, > David C. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From davidocoker at gmail.com Fri Sep 3 14:27:01 2010 From: davidocoker at gmail.com (David C.) Date: Fri, 3 Sep 2010 13:27:01 -0500 Subject: Multi-platform PDF launch? In-Reply-To: References: Message-ID: >> launch "MyhelpFile.chm" with hh.exe >> >> However, I'm trying to figure out a cross-platform solution for >> launching a PDF file instead, using the users default reader program. >> Any tips out there for me? > > launch document "path/to your/PDFdoc.pdf" > > Should do the job :-) > No wonder I haven't already got it to work yet.... it's way too simple. :) Thank you very much, Klaus! Best regards, David C. From jiml at netrin.com Fri Sep 3 14:31:33 2010 From: jiml at netrin.com (Jim Lambert) Date: Fri, 3 Sep 2010 11:31:33 -0700 Subject: revOnline In-Reply-To: <20100903170004.BC090288095@mail.runrev.com> References: <20100903170004.BC090288095@mail.runrev.com> Message-ID: <8FE2D8D9-4BC5-4A68-B593-D45232A394D4@netrin.com> Thanks BNig & Colin for that confirmation. Glad it's back up! Jim Lambert From andre at andregarzia.com Fri Sep 3 15:32:17 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 3 Sep 2010 16:32:17 -0300 Subject: how custom editors trap edit script command? Message-ID: Folks, I am aware of the "editscript" message that is sent to the card when a script is about to be edited. This only works if the development environment is not active. How editors such as GLX, tRev, 4W Editor and MetaCard own editor work? I suspect that they put a frontscript and trap something. Can someone describe it to me plz? Cheers and thanks andre -- http://www.andregarzia.com All We Do Is Code. From m.schonewille at economy-x-talk.com Fri Sep 3 15:45:21 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 3 Sep 2010 21:45:21 +0200 Subject: how custom editors trap edit script command? In-Reply-To: References: Message-ID: Hi Andre, Catch the editScript message in a frontscript. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 3 sep 2010, at 21:32, Andre Garzia wrote: > Folks, > > I am aware of the "editscript" message that is sent to the card when a > script is about to be edited. This only works if the development environment > is not active. How editors such as GLX, tRev, 4W Editor and MetaCard own > editor work? > > I suspect that they put a frontscript and trap something. Can someone > describe it to me plz? > > Cheers and thanks > andre From andre at andregarzia.com Fri Sep 3 15:55:42 2010 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 3 Sep 2010 16:55:42 -0300 Subject: how custom editors trap edit script command? In-Reply-To: References: Message-ID: Oh is it that easy... :D thanks mark! :D On Fri, Sep 3, 2010 at 4:45 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Andre, > > Catch the editScript message in a frontscript. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > From 15th August, we'll have time for new projects! Be the first in line > and contact me now! > > Download the Installer Maker plugin for Runtime Revolution at > http://qurl.tk/ce > > On 3 sep 2010, at 21:32, Andre Garzia wrote: > > > Folks, > > > > I am aware of the "editscript" message that is sent to the card when a > > script is about to be edited. This only works if the development > environment > > is not active. How editors such as GLX, tRev, 4W Editor and MetaCard own > > editor work? > > > > I suspect that they put a frontscript and trap something. Can someone > > describe it to me plz? > > > > Cheers and thanks > > 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 > -- http://www.andregarzia.com All We Do Is Code. From richmondmathewson at gmail.com Fri Sep 3 16:10:09 2010 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 03 Sep 2010 23:10:09 +0300 Subject: Observations on Unicode, RunRev and Operating Systems Message-ID: <4C815621.9070503@gmail.com> [This message is neither funny nor abusive - sorry to disappoint some people.] Over the last few days something faintly ugly has come to light that probably won't concern many RunRev developers, but might affect anybody planning to develop multi-platform stuff with Unicode. If one opens a Unicode font with a font development program what the user sees are lots and lots of glyphs; what most people don't see are all sorts of rules as to how they should behave when the end-user types something using that font, possibly also using a text-encoding algorithm built into their operating system. Why should we care? Because, while Windows Vista and '7', and Linux works wonderfully with Unicode fonts giving those rules cognisance, Mac OS and Windows XP don't . . . ------------------------------------------------------------------------------------------------------------------ Case study "Richmond thinks he knows Sanskrit". When Sanskrit is written using the Devanagari writing system (it can be written using other scripts) there is a "funny situation" where a short 'i' that is sounded after a consonant is actually written prior to the consonant. So, I learnt to write Sanskrit using Devanagari about 27 years ago with a calligraphic pen, when I had not even heard of the second ASCII table, and my programming stretched as far as DBAS9 on a Research Machine 280Z, and Fortran 4 on Hollerith cards popped in the post. So, obviously, I wrote my short 'i' prior to the consonant after which it was to be sounded [wow, that stretched my grammar]. So, incredibly naively, I assumed that that is the order a computer program [erm . . . my 'Devawriter'] would enter the short 'i' and then whatever consonant: and, 'wonder of wonders', that worked a treat on several of my Macs, and on a Windows XP test drive. So, when I got my paws on the new DP of RunRev 4.5 I thought that it was playing "silly bu**ers" by requiring me to input the short 'i' AFTER the consonant, but, in fact, this is exactly how the rules are set up in the font. --------------------------------------------------------------------------------------------------------------------- SO: Macintosh and Windows XP do not "play fair" with most Unicode fonts. -------------------------------------------------------------------------------------------------------------------- This means that types like myself, getting far too clever for their own good or sanity, have to set up 2 rather different sets of algorithms for "eccentric" writing rules if they want to produce standalones that fool around with Unicode fonts cross-platform. -------------------------------------------------------------------------------------------------------------------- I should point out that this is a problem concerning the underlying operating systems and nothing at all to do with RunTime Revolution beyond the fact that it is unable (unsurprisingly) to over-ride certain aspects of how an operating system behaves. sincerely, Richmond Mathewson. From scott at tactilemedia.com Fri Sep 3 16:27:53 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 03 Sep 2010 13:27:53 -0700 Subject: Observations on Unicode, RunRev and Operating Systems In-Reply-To: <4C815621.9070503@gmail.com> Message-ID: Recently, Richmond wrote: > If one opens a Unicode font with a font development program what the > user sees are lots and lots of glyphs; what most people don't see are > all sorts of > rules as to how they should behave when the end-user types something > using that > font, possibly also using a text-encoding algorithm built into their > operating system. > > Why should we care? > > Because, while Windows Vista and '7', and Linux works wonderfully with > Unicode > fonts giving those rules cognisance, Mac OS and Windows XP don't . . . What do you mean "all sorts of rules as to how they should behave"? Kerning pairs? Ligatures? Multi-key characters? Something else? If you're really talking about Mac OS (pre OS X), I wouldn't be surprised. AFAIK, Unicode was only in its infancy when Mac OS was around, and general adoption probably took a while. By then, OS X was coming on the scene, so presumably most/all development efforts were shifted to that OS. Regards, Scott Rossi Creative Director Tactile Media, UX Design From bobs at twft.com Fri Sep 3 16:54:28 2010 From: bobs at twft.com (Bob Sneidar) Date: Fri, 3 Sep 2010 13:54:28 -0700 Subject: [OT] VirtualAssistant In-Reply-To: <1283528502156-2525855.post@n4.nabble.com> References: <1283528502156-2525855.post@n4.nabble.com> Message-ID: When he asked her, "Show me Uranus", it dawned on me she might misunderstand, and then refuse to respond to him for a while. ;-) Bob On Sep 3, 2010, at 8:41 AM, Andrew Kluthe wrote: > > http://www.youtube.com/watch?v=7W52TL9Akv4 > > I have been watching this software kit develop for around five years and > have drooled over it from the very beginning. It is due out next month > sometime! I hope it is within my budget to snag a license! For further wows, > visit: http://www.guile3d.com.br/denise/features.html > > > It is coming with an SDK. I wonder if it will possible to integrate her > somehow into rev? Oh the possibilities. > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-VirtualAssistant-tp2525855p2525855.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From richmondmathewson at gmail.com Fri Sep 3 17:42:28 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 04 Sep 2010 00:42:28 +0300 Subject: Observations on Unicode, RunRev and Operating Systems In-Reply-To: References: Message-ID: <4C816BC4.8030201@gmail.com> On 9/3/10 11:27 PM, Scott Rossi wrote: > Recently, Richmond wrote: > >> If one opens a Unicode font with a font development program what the >> user sees are lots and lots of glyphs; what most people don't see are >> all sorts of >> rules as to how they should behave when the end-user types something >> using that >> font, possibly also using a text-encoding algorithm built into their >> operating system. >> >> Why should we care? >> >> Because, while Windows Vista and '7', and Linux works wonderfully with >> Unicode >> fonts giving those rules cognisance, Mac OS and Windows XP don't . . . > What do you mean "all sorts of rules as to how they should behave"? Kerning > pairs? Ligatures? Multi-key characters? Something else? > > If you're really talking about Mac OS (pre OS X), I wouldn't be surprised. I am talking about Mac OS X . . . To illustrate the point you can download a stack which illustrates the point rather nicely: http://andregarzia.on-rev.com/richmond/STUFF/Daft_Unicode.zip the ZIP file contains the Sanskrit2003 font (which you should install on your system, at least temporarily) and a stack which uses the font to illustrate the point. I you have access to a number of machines running a selections of operating systems you will see the 'problem' in all its glory. > AFAIK, Unicode was only in its infancy when Mac OS was around, and general > adoption probably took a while. By then, OS X was coming on the scene, so > presumably most/all development efforts were shifted to that OS. Well, somebody forgot a thing or two about Unicode with Mac OS X, and the Apple people probably need a "prod" about that. > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From richmondmathewson at gmail.com Fri Sep 3 17:50:57 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 04 Sep 2010 00:50:57 +0300 Subject: [OT] VirtualAssistant In-Reply-To: References: <1283528502156-2525855.post@n4.nabble.com> Message-ID: <4C816DC1.9000006@gmail.com> On 09/03/2010 11:54 PM, Bob Sneidar wrote: > When he asked her, "Show me Uranus", it dawned on me she might misunderstand, and then refuse to respond to him for a while. ;-) > > Bob > > > To be fair to Andrew Kluthe, who wrote "I wonder if it will possible to integrate her somehow into rev? Oh the possibilities." We should take into account that English is not his native language, and quite possibly in his language an SDK takes the feminine gender. The joke about Herschel's planet is, also, beyond most people for whom English is not a native language owing to 2 reasons: 1. The Uranus pun. 2. Most non-English speakers find the English-speaking world's obsession with "Botty humour" both hard to understand and distinctly unfunny. As I am in a relationship with RunRev 4.0 right now I find myself often referring to 'it' as 'she' . . . :) And, quite frankly, although RunRev does have the odd 'moist corner', I would find it hard to find the part you refer to. "toujours gai", Richmond. From kee at kagi.com Fri Sep 3 18:00:57 2010 From: kee at kagi.com (Kee Nethery) Date: Fri, 3 Sep 2010 15:00:57 -0700 Subject: Observations on Unicode, RunRev and Operating Systems In-Reply-To: <4C816BC4.8030201@gmail.com> References: <4C816BC4.8030201@gmail.com> Message-ID: <2B3CBB4C-21D1-45C1-8537-43445E7C2FCE@kagi.com> On Sep 3, 2010, at 2:42 PM, Richmond wrote: > On 9/3/10 11:27 PM, Scott Rossi wrote: >> Recently, Richmond wrote: >> >>> If one opens a Unicode font with a font development program what the >>> user sees are lots and lots of glyphs; what most people don't see are >>> all sorts of >>> rules as to how they should behave when the end-user types something >>> using that >>> font, possibly also using a text-encoding algorithm built into their >>> operating system. >>> >>> Why should we care? >>> >>> Because, while Windows Vista and '7', and Linux works wonderfully with >>> Unicode >>> fonts giving those rules cognisance, Mac OS and Windows XP don't . . . >> What do you mean "all sorts of rules as to how they should behave"? Kerning >> pairs? Ligatures? Multi-key characters? Something else? >> >> If you're really talking about Mac OS (pre OS X), I wouldn't be surprised. > > I am talking about Mac OS X . . . > > To illustrate the point you can download a stack which illustrates the point rather > nicely: > > http://andregarzia.on-rev.com/richmond/STUFF/Daft_Unicode.zip > > the ZIP file contains the Sanskrit2003 font (which you should install on your system, at least temporarily) > and a stack which uses the font to illustrate the point. > > I you have access to a number of machines running a selections of operating systems you > will see the 'problem' in all its glory. > >> AFAIK, Unicode was only in its infancy when Mac OS was around, and general >> adoption probably took a while. By then, OS X was coming on the scene, so >> presumably most/all development efforts were shifted to that OS. > > Well, somebody forgot a thing or two about Unicode with Mac OS X, and the Apple people > probably need a "prod" about that. > >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design I'm no unicode expert and I applaud your efforts. I see two possible places for a bug in unicode for the stack you have provided: Mac OS X, or the user installed Sanskrit font. Might you have an example that uses any of the fonts that come bundled with Mac OS X? That would rule out the user installed font as the problem and point directly to the OS. If you could provide such an example, I could absolutely file it in the Apple bug system. If the bug only occurs with the provided Sanskrit font, do you have a unicode organization recognized validator (kind of like http://validator.w3.org/) that would indicate that the provided Sanskrit font passes all validations imposed by the standard. Again, if there is a way to prove the font is 100% valid, and there are display problems on the Mac OS X, I could file that bug in the Apple bug system. Kee Nethery (who is a neophyte Unicode user) From infinite00 at embarqmail.com Fri Sep 3 18:03:10 2010 From: infinite00 at embarqmail.com (Bruce Pokras) Date: Fri, 3 Sep 2010 18:03:10 -0400 Subject: Multi-Page Printing Strategy? In-Reply-To: References: Message-ID: <0C174AFF-5278-4C6E-B733-95178EBD108D@embarqmail.com> Scott, My ChecksQuick check printing app has multiple data cards but only one printing card. The fields in the printing card are filled on the fly when the user prints their checks. I have no problem printing as many checks as I want with just one click. Download the app and see if it is doing what you are trying to do. If so, I will post my routine to the list. Regards, Bruce Pokras Blazing Dawn Software www.blazingdawn.com On Aug 29, 2010, at 12:25 AM, Scott Rossi wrote: > I'm wondering if someone more versed in printing than I can offer a > suggestion for printing multiple pages from a stack where the card content > is dynamically created. > > The stack is essentially a bare bones PowerPoint-like app that creates > custom charts and text-only "slides". Only one card is used for the display > of all content -- groups are hidden and shown as needed when viewing a > slideshow, and field/chart contents are populated on-the-fly. > > I can write a routine to to tell the app to automatically create each slide, > but I don't know if I should try to print directly from the main display > stack, or copy card elements out to an offscreen stack and print from there. > The display stack can fit standard paper size, so there's no > resizing/reformatting issue to deal with there. > > Could this be as straightforward as the following? > > open printing > > print this cd > > print this cd > ...etc. > close printing > > Also, what is the proper method for centering content on a printed page? I > see Rev provides printRectangle and printPaperRectangle properties, but I > can't tell from their descriptions what I would use to center stack content > within the live area of a printed page. > > Thanks for any advice/suggestions. > > Best Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From infinite00 at embarqmail.com Fri Sep 3 18:06:14 2010 From: infinite00 at embarqmail.com (Bruce Pokras) Date: Fri, 3 Sep 2010 18:06:14 -0400 Subject: Rev POST command and Squid proxy servers? In-Reply-To: References: <1BD27CE4-9BE2-44A1-800B-3EFC165F1E8D@embarqmail.com> Message-ID: Jim, Thanks for your suggestion. However, I am still using 4.0.0. Regards, Bruce On Sep 1, 2010, at 8:51 PM, Jim Ault wrote: > Which version of Rev are you using? > > I found that using POST on 4.5.3 IDE sends extra chars after the last variable, including a cr. > > = Login Invalid > > Roll back to 4.5.0 and it works again > > I discovered this by using the PHP function var_dump($_POST) to see all the received variables > > > On Sep 1, 2010, at 5:21 PM, Bruce Pokras wrote: > >> Hello all, >> >> Any known issues when using a Rev app behind a squid proxy server? My Patent Grabber application uses a POST command which a user informed me is not working. He is setting the httpProxy property to his corporate proxy server address, which he generically describes as proxy.server.de:8080. I am also a bit leery of his use of port 8080 rather than the standard HTTP port of just plain 80. But that is what he insists on using. >> >> Any comments or suggestions would be welcome. Thanks. >> >> Regards, >> >> Bruce Pokras >> Blazing Dawn Software >> www.blazingdawn.com_______________________________________________ >> use-revolution mailing list > > Jim Ault > Las Vegas > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Fri Sep 3 18:41:25 2010 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 03 Sep 2010 15:41:25 -0700 Subject: Observations on Unicode, RunRev and Operating Systems In-Reply-To: <4C816BC4.8030201@gmail.com> Message-ID: Recently, Richmond wrote: > I am talking about Mac OS X . . . > > To illustrate the point you can download a stack which illustrates the > point rather > nicely: > > http://andregarzia.on-rev.com/richmond/STUFF/Daft_Unicode.zip > > the ZIP file contains the Sanskrit2003 font (which you should install on > your system, at least temporarily) > and a stack which uses the font to illustrate the point. > > I you have access to a number of machines running a selections of > operating systems you > will see the 'problem' in all its glory. > >> AFAIK, Unicode was only in its infancy when Mac OS was around, and general >> adoption probably took a while. By then, OS X was coming on the scene, so >> presumably most/all development efforts were shifted to that OS. > > Well, somebody forgot a thing or two about Unicode with Mac OS X, and > the Apple people > probably need a "prod" about that. Most likely this is Rev, not OS X. The Mac was designed at its inception to render great typography in multiple languages. Unicode support and text rendering in Rev is fairly outdated; there has never been great typographic control in Rev. If you're seeing better text rendering in Rev on Windows, I'm not sure why, but you should try displaying some text on OS X in TextEdit or other text editing app. My guess is the text will render (behave) much better. Regards, Scott Rossi Creative Director Tactile Media, UX Design From warrenkuhl at gmail.com Sat Sep 4 01:56:08 2010 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Sat, 4 Sep 2010 00:56:08 -0500 Subject: SQLite Database Message-ID: Is there anyway to encrypt a SQLite database that I can use in Revolution Studio? Thanks for any suggestions! Warren From richmondmathewson at gmail.com Sat Sep 4 02:54:39 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 04 Sep 2010 09:54:39 +0300 Subject: Bad grammar Message-ID: <4C81ED2F.2060103@gmail.com> if fld "fXXX" and fld "fZZZ" is empty . . . :) From richmondmathewson at gmail.com Sat Sep 4 03:43:15 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 04 Sep 2010 10:43:15 +0300 Subject: Observations on Unicode, RunRev and Operating Systems In-Reply-To: <2B3CBB4C-21D1-45C1-8537-43445E7C2FCE@kagi.com> References: <4C816BC4.8030201@gmail.com> <2B3CBB4C-21D1-45C1-8537-43445E7C2FCE@kagi.com> Message-ID: <4C81F893.60802@gmail.com> On 09/04/2010 01:00 AM, Kee Nethery wrote: > > I'm no unicode expert and I applaud your efforts. I see two possible places for a bug in unicode for the stack you have provided: Mac OS X, or the user installed Sanskrit font. > > Might you have an example that uses any of the fonts that come bundled with Mac OS X? That would rule out the user installed font as the problem and point directly to the OS. If you could provide such an example, I could absolutely file it in the Apple bug system. > > If the bug only occurs with the provided Sanskrit font, do you have a unicode organization recognized validator (kind of like http://validator.w3.org/) that would indicate that the provided Sanskrit font passes all validations imposed by the standard. Again, if there is a way to prove the font is 100% valid, and there are display problems on the Mac OS X, I could file that bug in the Apple bug system. > > Kee Nethery (who is a neophyte Unicode user) > > _______________________________________________ > Just uploaded a new version that uses "Sathu.ttf", a Unicode font from the Mac OS Tiger install disk. I have bundled "Sathu" in the zip file [Ouch, Steve will be after me] to sabe all of you the bother of overloading your system with fonts you don't need, and for those of you who want to try the stack on other operating systems. http://andregarzia.on-rev.com/richmond/STUFF/Daft_Unicode.zip Methinks Scott hath too much faith in Mac OS . . . :) sincerely, Richmond. From monte at sweattechnologies.com Sat Sep 4 03:58:30 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 4 Sep 2010 17:58:30 +1000 Subject: SQLite Database In-Reply-To: References: Message-ID: <67567208-8896-4227-B410-0DAAABAD5861@sweattechnologies.com> Not without writing a new db driver I wouldn't think. From memory there is an encrypted version of sqlite with a $2000 license fee. If you don't need it to be ultra secure then you could store your db in a custom property of an encrypted stack and save it to a hidden file at startup, save it back to your encrypted stack at shutdown and delete the hidden file. Anyone that knows it's a rev stack could open the file in rev, copy out the db file and see your data though. Cheers Monte On 04/09/2010, at 3:56 PM, Warren Kuhl wrote: > Is there anyway to encrypt a SQLite database that I can use in > Revolution Studio? > > Thanks for any suggestions! > Warren > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From rene.micout at numericable.com Sat Sep 4 04:42:14 2010 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sat, 4 Sep 2010 10:42:14 +0200 Subject: Bad grammar In-Reply-To: <4C81ED2F.2060103@gmail.com> References: <4C81ED2F.2060103@gmail.com> Message-ID: <39B598D4-192C-4991-A74F-EF19C6685CA9@numericable.com> Is they ? ;-) Bonne rentr?e Ren? Le 4 sept. 2010 ? 08:54, Richmond a ?crit : > if fld "fXXX" and fld "fZZZ" is empty > > . . . :) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Sat Sep 4 04:49:59 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 4 Sep 2010 10:49:59 +0200 Subject: Bad grammar In-Reply-To: <4C81ED2F.2060103@gmail.com> References: <4C81ED2F.2060103@gmail.com> Message-ID: Hi Richmond, This is the same as: if fld "fXXX" is true and fld "fZZZ" is empty... Your syntax is valid. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 4 sep 2010, at 08:54, Richmond wrote: > if fld "fXXX" and fld "fZZZ" is empty > > . . . :) From richmondmathewson at gmail.com Sat Sep 4 05:03:06 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 04 Sep 2010 12:03:06 +0300 Subject: Bad grammar In-Reply-To: References: <4C81ED2F.2060103@gmail.com> Message-ID: <4C820B4A.8010908@gmail.com> On 09/04/2010 11:49 AM, Mark Schonewille wrote: > Hi Richmond, > > This is the same as: > > if fld "fXXX" is true and fld "fZZZ" is empty... > > Your syntax is valid. > > -- > Best regards, > > Mark Schonewille > > I know my syntax is valid; the script that that is embedded in (runs to about 2080 lines - a real 'horror') works [ something that never ceases to surprise me ] However, it is BAD English. -------------------------------------------------------------------------------- what I wanted to 'say' by if fld "fXXX" and fld "fZZZ" is empty was if fld "fXXX" is empty and fld "fZZZ" is empty and, indeed that is what I intended to type at 2 am last night, but Morpheus was hard at work wrapping me in his coils, so it came out the way it did; notwithstanding Morpheus, obviously the Lar of RunRev saved me . . . :) From m.schonewille at economy-x-talk.com Sat Sep 4 05:08:00 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 4 Sep 2010 11:08:00 +0200 Subject: Bad grammar In-Reply-To: <4C820B4A.8010908@gmail.com> References: <4C81ED2F.2060103@gmail.com> <4C820B4A.8010908@gmail.com> Message-ID: Yes, it is bad English. Submit a feature request, asking for "are" :-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 4 sep 2010, at 11:03, Richmond wrote: > > I know my syntax is valid; the script that that is embedded in (runs to about 2080 lines - a real 'horror') works > > [ something that never ceases to surprise me ] > > However, it is BAD English. > > -------------------------------------------------------------------------------- > > what I wanted to 'say' by > > if fld "fXXX" and fld "fZZZ" is empty > > was > > if fld "fXXX" is empty and fld "fZZZ" is empty > > and, indeed that is what I intended to type at 2 am last night, but Morpheus was hard > at work wrapping me in his coils, so it came out the way it did; > > notwithstanding Morpheus, obviously the Lar of RunRev saved me . . . :) From richmondmathewson at gmail.com Sat Sep 4 05:10:18 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 04 Sep 2010 12:10:18 +0300 Subject: Bad grammar In-Reply-To: References: <4C81ED2F.2060103@gmail.com> <4C820B4A.8010908@gmail.com> Message-ID: <4C820CFA.5070709@gmail.com> On 09/04/2010 12:08 PM, Mark Schonewille wrote: > Yes, it is bad English. Submit a feature request, asking for "are" :-) > To which the obvious reposte is: Ar, Ar, Ar! . . . :) > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > From 15th August, we'll have time for new projects! Be the first in line and contact me now! > > Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce > > On 4 sep 2010, at 11:03, Richmond wrote: > >> I know my syntax is valid; the script that that is embedded in (runs to about 2080 lines - a real 'horror') works >> >> [ something that never ceases to surprise me ] >> >> However, it is BAD English. >> >> -------------------------------------------------------------------------------- >> >> what I wanted to 'say' by >> >> if fld "fXXX" and fld "fZZZ" is empty >> >> was >> >> if fld "fXXX" is empty and fld "fZZZ" is empty >> >> and, indeed that is what I intended to type at 2 am last night, but Morpheus was hard >> at work wrapping me in his coils, so it came out the way it did; >> >> notwithstanding Morpheus, obviously the Lar of RunRev saved me . . . :) >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From andre at rombauts.be Sat Sep 4 05:12:03 2010 From: andre at rombauts.be (Andre Rombauts) Date: Sat, 4 Sep 2010 11:12:03 +0200 Subject: PDF reading window Message-ID: <20100904091203.1874766130@mail.rombauts.be> Hello there... Is it possible to display PDF files and add buttons to switch from one page to another, to zoom? In one word, to setup a PDF reader inside RunRev applications? From m.schonewille at economy-x-talk.com Sat Sep 4 05:17:35 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 4 Sep 2010 11:17:35 +0200 Subject: PDF reading window In-Reply-To: <20100904091203.1874766130@mail.rombauts.be> References: <20100904091203.1874766130@mail.rombauts.be> Message-ID: <53077571-CD06-40C9-8FBF-A37A5A202323@economy-x-talk.com> Andre, On Mac OS X, you can "play" a PDF file in a QuickTime player. On all platforms, you can display PDF files in the browser, but a PDF browser plugin maybe be required. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 4 sep 2010, at 11:12, Andre Rombauts wrote: > Hello there... > > Is it possible to display PDF files and add buttons to switch from one > page to another, to zoom? In one word, to setup a PDF reader inside > RunRev applications? From richmondmathewson at gmail.com Sat Sep 4 05:17:59 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 04 Sep 2010 12:17:59 +0300 Subject: PDF reading window In-Reply-To: <20100904091203.1874766130@mail.rombauts.be> References: <20100904091203.1874766130@mail.rombauts.be> Message-ID: <4C820EC7.6060803@gmail.com> On 09/04/2010 12:12 PM, Andre Rombauts wrote: > Hello there... > > Is it possible to display PDF files and add buttons to switch from one > page to another, to zoom? In one word, to setup a PDF reader inside > RunRev applications? > > Well, this is a sort of off-handed reply, but: if revBrowser can display webpages, and most web-browsers can display PDFs ......................... From andre at rombauts.be Sat Sep 4 05:42:20 2010 From: andre at rombauts.be (Andre Rombauts) Date: Sat, 4 Sep 2010 11:42:20 +0200 Subject: PDF reading window In-Reply-To: <53077571-CD06-40C9-8FBF-A37A5A202323@economy-x-talk.com> References: <20100904091203.1874766130@mail.rombauts.be> <53077571-CD06-40C9-8FBF-A37A5A202323@economy-x-talk.com> Message-ID: <20100904094220.1559262290@mail.rombauts.be> >On Mac OS X, you can "play" a PDF file in a QuickTime player. > >On all platforms, you can display PDF files in the browser, but a PDF >browser plugin maybe be required. Thanks Mark. Thus, in any case, an external plugin is required... If QT is installed on Windows, displaying in a QT player is not possible? From th.douez at gmail.com Sat Sep 4 05:44:18 2010 From: th.douez at gmail.com (Thierry) Date: Sat, 4 Sep 2010 11:44:18 +0200 Subject: Bad grammar In-Reply-To: <4C820B4A.8010908@gmail.com> References: <4C81ED2F.2060103@gmail.com> <4C820B4A.8010908@gmail.com> Message-ID: <7269B075-156C-402F-9BDD-4FC5E4C9A1B2@sunnyrevtalk.com> > , Mark Schonewille wrote: >> >> if fld "fXXX" is true and fld "fZZZ" is empty... > > what I wanted to 'say' by > > if fld "fXXX" and fld "fZZZ" is empty > > was > > if fld "fXXX" is empty and fld "fZZZ" is empty And what about this one ? if ( fld "fXXX" & fld "fZZZ" ) is empty then ... Regards, Thierry From klaus at major.on-rev.com Sat Sep 4 05:56:19 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 4 Sep 2010 11:56:19 +0200 Subject: PDF reading window In-Reply-To: <20100904094220.1559262290@mail.rombauts.be> References: <20100904091203.1874766130@mail.rombauts.be> <53077571-CD06-40C9-8FBF-A37A5A202323@economy-x-talk.com> <20100904094220.1559262290@mail.rombauts.be> Message-ID: <1CE68BC8-4286-4FFF-8FA3-0E2FC834B82D@major.on-rev.com> Bonjour Andre, >> On Mac OS X, you can "play" a PDF file in a QuickTime player. >> >> On all platforms, you can display PDF files in the browser, but a PDF >> browser plugin maybe be required. > > Thanks Mark. > Thus, in any case, an external plugin is required... yes. > If QT is installed on Windows, displaying in a QT player is not possible? no, this is a Mac OS X only feature. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From m.schonewille at economy-x-talk.com Sat Sep 4 05:57:26 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 4 Sep 2010 11:57:26 +0200 Subject: PDF reading window In-Reply-To: <20100904094220.1559262290@mail.rombauts.be> References: <20100904091203.1874766130@mail.rombauts.be> <53077571-CD06-40C9-8FBF-A37A5A202323@economy-x-talk.com> <20100904094220.1559262290@mail.rombauts.be> Message-ID: <0C6A93F4-42CB-4552-9EA6-911DA4A120F4@economy-x-talk.com> Hi Andre, Yes, you need either QuickTime on Mac OS X or the revBrowser plug-in and a PDF browser plug-in. I unable to display a PDF in a QT player on Windows when I tried this a long time ago. It might have changed in the mean time, but I don't expect it, because QT uses Mac OS X-specific API's to do this. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 4 sep 2010, at 11:42, Andre Rombauts wrote: >> On Mac OS X, you can "play" a PDF file in a QuickTime player. >> >> On all platforms, you can display PDF files in the browser, but a PDF >> browser plugin maybe be required. > > Thanks Mark. > Thus, in any case, an external plugin is required... > If QT is installed on Windows, displaying in a QT player is not possible? From m.schonewille at economy-x-talk.com Sat Sep 4 05:58:52 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 4 Sep 2010 11:58:52 +0200 Subject: Bad grammar In-Reply-To: <7269B075-156C-402F-9BDD-4FC5E4C9A1B2@sunnyrevtalk.com> References: <4C81ED2F.2060103@gmail.com> <4C820B4A.8010908@gmail.com> <7269B075-156C-402F-9BDD-4FC5E4C9A1B2@sunnyrevtalk.com> Message-ID: <18141135-FC37-40AA-B263-17B43E1F75F8@economy-x-talk.com> Hi Thierry, Yes, that would do what Richmond wants, too. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce > And what about this one ? > > if ( fld "fXXX" & fld "fZZZ" ) is empty then ... > > Regards, > Thierry From m.schonewille at economy-x-talk.com Sat Sep 4 06:13:01 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 4 Sep 2010 12:13:01 +0200 Subject: [OT] A Little Success Story - Color Converter Message-ID: Hi, Let me share a little success story with you. One of the most successful commercial products I have created with RunRev is Color Converter. I released Color Converter 1.0 almost 3 years ago and since that time Economy-x-Talk has sold numerous licenses for this product. During those years I spent a few 100 euro on Revolution licenses and spent about two weeks programming. During the past 3 years I earned back my investment multiple times. RunRev is the ideal development environment for this little application. The way RunRev converts pictures to imageData makes complex analyses really easy. RunRev allows me to write a complex tool with minimum effort. Unfortunately, there is one persistent problem. Almost all customers giving feedback on this application complain about the lack of multiple monitors support. It is impossible to make a snapshot of a secondary monitor and the mouseColor function reports incorrect values outside the main screen. For these features, I am completely dependent on RunRev Ltd. and I can only hope these bugs will be fixed. It has to be said, when the "answer color" command appeared to be broken, RunRev was quick to fix this, which kind of saved my product. Nonetheless, it is easy to move a window to another monitor to allow Color Converter to do it's thing and the bugs don't stop people from using my little utility every day. Yesterday, I released Color Converter 3.0 and I'm sure it is going to be another success. This new version adds the capability to resize pictures to it's feature set. You can download Color Converter at: http://www.color-converter.com A few more projects made with RunRev: http://qurl.tk/gk -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce From mwieder at ahsoftware.net Sat Sep 4 11:49:14 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 4 Sep 2010 08:49:14 -0700 Subject: Bad grammar In-Reply-To: <4C820B4A.8010908@gmail.com> References: <4C81ED2F.2060103@gmail.com> <4C820B4A.8010908@gmail.com> Message-ID: <159158684000.20100904084914@ahsoftware.net> Richmond- Saturday, September 4, 2010, 2:03:06 AM, you wrote: > what I wanted to 'say' by > if fld "fXXX" and fld "fZZZ" is empty > was > if fld "fXXX" is empty and fld "fZZZ" is empty Methinks the "bad" here is bad logic rather than bad grammar. What you typed was a partial logical statement (akin to using a contraction instead of writing out full words) and then expected the compiler to fill in the details and extrapolate. The compiler, being a fair-minded device, expanded your statement to what it knew deep in its heart you really meant: as Mark pointed out, that would be if fld "fXXX" is true and fld "fZZZ" is empty which is proper logic and proper grammar. Although not the logic you intended. If indeed you had typed out either of if fld "fXXX" is empty and fld "fZZZ" is empty or (as Thierry has cleverly pointed out) if (fld "fXXX" & fld "fZZZ") is empty you would again have proper (and intended) logic and proper grammar. ...I'm stopping now before I start veering into the dangerous ground of the syntax of statements like if me is empty -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Sat Sep 4 12:03:34 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 04 Sep 2010 19:03:34 +0300 Subject: Bad grammar In-Reply-To: <159158684000.20100904084914@ahsoftware.net> References: <4C81ED2F.2060103@gmail.com> <4C820B4A.8010908@gmail.com> <159158684000.20100904084914@ahsoftware.net> Message-ID: <4C826DD6.3@gmail.com> On 09/04/2010 06:49 PM, Mark Wieder wrote: > Richmond- > > Saturday, September 4, 2010, 2:03:06 AM, you wrote: > > >> what I wanted to 'say' by >> > >> if fld "fXXX" and fld "fZZZ" is empty >> > >> was >> > >> if fld "fXXX" is empty and fld "fZZZ" is empty >> > Methinks the "bad" here is bad logic rather than bad grammar. What you > typed was a partial logical statement (akin to using a contraction > instead of writing out full words) and then expected the compiler to > fill in the details and extrapolate. The compiler, being a fair-minded > device, expanded your statement to what it knew deep in its heart you > really meant: as Mark pointed out, that would be > > if fld "fXXX" is true and fld "fZZZ" is empty > > which is proper logic and proper grammar. > > Although not the logic you intended. If indeed you had typed out > either of > > if fld "fXXX" is empty and fld "fZZZ" is empty > > or (as Thierry has cleverly pointed out) > > if (fld "fXXX"& fld "fZZZ") is empty > > you would again have proper (and intended) logic and proper grammar. > > ...I'm stopping now before I start veering into the dangerous ground > of the syntax of statements like > > if me is empty > > I did contextualise a bit: "but Morpheus was hard at work wrapping me in his coils, so it came out the way it did;" And having just spent 8 hours editing my way through about 50,000 lines of code (or, put another way, 25 times 2080 line, each version of which has subtle changes) I th......................ink..............z..........z..................z my s-y-n-t-a-x izzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz way off: on mouseUp put Richmond into bed end mouseUp notwithstanding Morpheus, obviously the Lar of RunRev saved me . . . :) From warrenkuhl at gmail.com Sat Sep 4 12:05:17 2010 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Sat, 4 Sep 2010 11:05:17 -0500 Subject: SQLite Database In-Reply-To: <67567208-8896-4227-B410-0DAAABAD5861@sweattechnologies.com> References: <67567208-8896-4227-B410-0DAAABAD5861@sweattechnologies.com> Message-ID: Monte, I thanks for the advice. $2000 is a little steep. I may loook at writing an encryption/decrypt module for my data and decrpyt it after retrieving it from the database. Thanks! Warren On Sat, Sep 4, 2010 at 2:58 AM, Monte Goulding wrote: > Not without writing a new db driver I wouldn't think. From memory there is an encrypted version of sqlite with a $2000 license fee. If you don't need it to be ultra secure then you could store your db in a custom property of an encrypted stack and save it to a hidden file at startup, save it back to your encrypted stack at shutdown and delete the hidden file. Anyone that knows it's a rev stack could open the file in rev, copy out the db file and see your data though. > > Cheers > > Monte > On 04/09/2010, at 3:56 PM, Warren Kuhl wrote: > >> Is there anyway to encrypt a SQLite database that I can use in >> Revolution Studio? >> >> Thanks for any suggestions! >> Warren >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Sat Sep 4 12:14:42 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 4 Sep 2010 09:14:42 -0700 Subject: Bad grammar In-Reply-To: <4C826DD6.3@gmail.com> References: <4C81ED2F.2060103@gmail.com> <4C820B4A.8010908@gmail.com> <159158684000.20100904084914@ahsoftware.net> <4C826DD6.3@gmail.com> Message-ID: <25160212500.20100904091442@ahsoftware.net> Richmond- function AmTired if me is sleepy then put me into bed end if return tomorrow end AmTired -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Sat Sep 4 12:15:00 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 04 Sep 2010 19:15:00 +0300 Subject: Arrow keys . . , Message-ID: <4C827084.1040703@gmail.com> So here I am with an obscenely complicated and long-winded card script with "undreds" and "undreds" of case statements inside a switch statement inside a rawKeyDown statement at the end of which I have: ------------------------------------------- default pass rawKeyDown end switch end rawKeyDown ------------------------------------------- so I can use my left and right arrow keys to wander around inside my target textField so I can pop unicodeText into a unicodeString in a textField thus: ------------------------------------------- set the unicodeText of the selectedText to numToChar(XXXXXX) where 'XXXXXX' is a decimalised Unicode address. BUT, there is a PROBLEM: I don't want my end-user selecting chunks of text (they can just use the DELETE key) as this will play "Merry Hell" with the thing. Does anybody have any idea how to block end-users from selecting textChunks while stiil being able to set the insertion point both with the arrow keys and the pointer / mouse? From mwieder at ahsoftware.net Sat Sep 4 12:24:25 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 4 Sep 2010 09:24:25 -0700 Subject: Arrow keys . . , In-Reply-To: <4C827084.1040703@gmail.com> References: <4C827084.1040703@gmail.com> Message-ID: <126160794703.20100904092425@ahsoftware.net> Richmond- Saturday, September 4, 2010, 9:15:00 AM, you wrote: > Does anybody have any idea how to block end-users from selecting > textChunks while stiil being > able to set the insertion point both with the arrow keys and the pointer > / mouse? Just a thought, but... could you handle the selectionChanged message and then check the selectedChunk in there? (see if there is an actual textChunk or just one char selected) -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Sat Sep 4 12:37:22 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 04 Sep 2010 19:37:22 +0300 Subject: Arrow keys . . , In-Reply-To: <126160794703.20100904092425@ahsoftware.net> References: <4C827084.1040703@gmail.com> <126160794703.20100904092425@ahsoftware.net> Message-ID: <4C8275C2.2030405@gmail.com> On 09/04/2010 07:24 PM, Mark Wieder wrote: > Richmond- > > Saturday, September 4, 2010, 9:15:00 AM, you wrote: > > >> Does anybody have any idea how to block end-users from selecting >> textChunks while stiil being >> able to set the insertion point both with the arrow keys and the pointer >> / mouse? >> > Just a thought, but... > > could you handle the selectionChanged message and then check the > selectedChunk in there? (see if there is an actual textChunk or just > one char selected) > > Sounds a good idea, but, I want the situation that there is NO char selected, just the insertion point lying between 2 chars. From warrenkuhl at gmail.com Sat Sep 4 12:38:15 2010 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Sat, 4 Sep 2010 11:38:15 -0500 Subject: Revolution Enterprise - Encrypt Message-ID: With the encrypt command with Enterprise, would I be able to encrypt data that I write to SQLite and decrypt it when retrieving it? I just have Studio (so I can't test ths) but would upgrade if this was the case. Thanks, Warren From klaus at major.on-rev.com Sat Sep 4 12:43:25 2010 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 4 Sep 2010 18:43:25 +0200 Subject: Revolution Enterprise - Encrypt In-Reply-To: References: Message-ID: <586697B8-9CEF-42EE-94CA-74DEF09089EF@major.on-rev.com> Hi Warren, > With the encrypt command with Enterprise, would I be able to encrypt > data that I write to SQLite and decrypt it when retrieving it? I just > have Studio (so I can't test ths) but would upgrade if this was the > case. Yes :-) > Thanks, > Warren Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From m.schonewille at economy-x-talk.com Sat Sep 4 12:45:09 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 4 Sep 2010 18:45:09 +0200 Subject: Revolution Enterprise - Encrypt In-Reply-To: References: Message-ID: <47561CC8-56FD-487B-9AE6-55F714D0B299@economy-x-talk.com> Hi Warren, Sure, you can do this. Since the encrypted data would be binary, you probably will want to encode it using the base64encode function before writing it to the database. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 4 sep 2010, at 18:38, Warren Kuhl wrote: > With the encrypt command with Enterprise, would I be able to encrypt > data that I write to SQLite and decrypt it when retrieving it? I just > have Studio (so I can't test ths) but would upgrade if this was the > case. > > Thanks, > Warren From warrenkuhl at gmail.com Sat Sep 4 12:48:00 2010 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Sat, 4 Sep 2010 11:48:00 -0500 Subject: Revolution Enterprise - Encrypt In-Reply-To: <47561CC8-56FD-487B-9AE6-55F714D0B299@economy-x-talk.com> References: <47561CC8-56FD-487B-9AE6-55F714D0B299@economy-x-talk.com> Message-ID: Perfect...thanks for all the help. This is the route I will take. Appreciate it! Warren On Sat, Sep 4, 2010 at 11:45 AM, Mark Schonewille wrote: > Hi Warren, > > Sure, you can do this. Since the encrypted data would be binary, you probably will want to encode it using the base64encode function before writing it to the database. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > From 15th August, we'll have time for new projects! Be the first in line and contact me now! > > Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce > > On 4 sep 2010, at 18:38, Warren Kuhl wrote: > >> With the encrypt command with Enterprise, would I be able to encrypt >> data that I write to SQLite and decrypt it when retrieving it? ?I just >> have Studio (so I can't test ths) but would upgrade if this was the >> case. >> >> Thanks, >> Warren > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Sat Sep 4 13:01:21 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 4 Sep 2010 10:01:21 -0700 Subject: Arrow keys . . , In-Reply-To: <4C8275C2.2030405@gmail.com> References: <4C827084.1040703@gmail.com> <126160794703.20100904092425@ahsoftware.net> <4C8275C2.2030405@gmail.com> Message-ID: <37163010671.20100904100121@ahsoftware.net> Richmond- Saturday, September 4, 2010, 9:37:22 AM, you wrote: > Sounds a good idea, but, I want the situation > that there is NO char selected, just the insertion point > lying between 2 chars. Right. So if you check the selectedChunk in a selectionChanged handler you can tell the difference. If it's just an insertion point you'll get something like char 26 to 25 of field 1 and if it's a text selection (more than one char) you'll get char 24 to 25 of field 1 Note that the first char selector is *greater* than the second if it's just an insertion point. on selectionChanged if word 2 of the selectedChunk > word 4 of the selectedChunk then put "this is ok." else put "I'm going to ignore the text chunk." end if end selectionChanged -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Sat Sep 4 13:06:31 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 04 Sep 2010 20:06:31 +0300 Subject: Arrow keys . . , In-Reply-To: <37163010671.20100904100121@ahsoftware.net> References: <4C827084.1040703@gmail.com> <126160794703.20100904092425@ahsoftware.net> <4C8275C2.2030405@gmail.com> <37163010671.20100904100121@ahsoftware.net> Message-ID: <4C827C97.6030307@gmail.com> On 09/04/2010 08:01 PM, Mark Wieder wrote: > Richmond- > > Saturday, September 4, 2010, 9:37:22 AM, you wrote: > > >> Sounds a good idea, but, I want the situation >> that there is NO char selected, just the insertion point >> lying between 2 chars. >> > Right. So if you check the selectedChunk in a selectionChanged handler > you can tell the difference. > > If it's just an insertion point you'll get something like > char 26 to 25 of field 1 > and if it's a text selection (more than one char) you'll get > char 24 to 25 of field 1 > > Note that the first char selector is *greater* than the second if it's > just an insertion point. > > on selectionChanged > if word 2 of the selectedChunk> word 4 of the selectedChunk then > put "this is ok." > else > put "I'm going to ignore the text chunk." > end if > end selectionChanged > > Lovely, Thanks for the help. From bill at bluewatermaritime.com Sat Sep 4 16:53:49 2010 From: bill at bluewatermaritime.com (william humphrey) Date: Sat, 4 Sep 2010 16:53:49 -0400 Subject: SQLite Database In-Reply-To: References: <67567208-8896-4227-B410-0DAAABAD5861@sweattechnologies.com> Message-ID: Valentina offers encryption and for a great deal less than $2000. It's also a much more robust and faster database with lots more to offer. The latest Valentina Studio application offers ways to convert SQLite to Valentina also. On Sat, Sep 4, 2010 at 12:05 PM, Warren Kuhl wrote: > Monte, > > I thanks for the advice. ?$2000 is a little steep. ?I may loook at > writing an encryption/decrypt module for my data and decrpyt it after > retrieving it from the database. > > Thanks! > > Warren > > On Sat, Sep 4, 2010 at 2:58 AM, Monte Goulding > wrote: >> Not without writing a new db driver I wouldn't think. From memory there is an encrypted version of sqlite with a $2000 license fee. If you don't need it to be ultra secure then you could store your db in a custom property of an encrypted stack and save it to a hidden file at startup, save it back to your encrypted stack at shutdown and delete the hidden file. Anyone that knows it's a rev stack could open the file in rev, copy out the db file and see your data though. >> >> Cheers >> >> Monte >> On 04/09/2010, at 3:56 PM, Warren Kuhl wrote: >> >>> Is there anyway to encrypt a SQLite database that I can use in >>> Revolution Studio? >>> >>> Thanks for any suggestions! >>> Warren >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.bluewatermaritime.com From stephenREVOLUTION2 at barncard.com Sat Sep 4 23:12:39 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 4 Sep 2010 20:12:39 -0700 Subject: Deleting all cookies with On-Rev Message-ID: I seem to be having difficulty in deleting cookies by script. Those little buggers seem to persist forever, and I can't seem to get the syntax right or something. I know one method is to set the expire dates back in time. Is there a shortcut method to delete a *group* at a time? Either way, I can't seem to destroy them. I know someone here has 'been there and done that'. Thanks in advance. -- Stephen Barncard San Francisco Ca. USA more about sqb From niconiko at gmail.com Sat Sep 4 23:42:08 2010 From: niconiko at gmail.com (Nicolas Cueto) Date: Sun, 5 Sep 2010 12:42:08 +0900 Subject: [RevMobile] screen redraw problem? Message-ID: Hello, The screen is acting odd when opening some of my RevMobile-built-for-iPhone apps. The screen appears fine the 1st or 2nd time an app is opened immediately after installation on my iPhone. After closing and restarting the app, though, the entire screen is black, and stays that way until I touch or swipe on the screen, at which point the app's fields, graphics, and so on begin to appear, not at once but in dithered blocks. For comparison, I closed and restarted several times two of Rev's iphone-tutorial stacks ("reaction.rev" and "bulls-i"). No screen problems at all with those. Any ideas how to fix this? Thank you. -- Nicolas Cueto From lfredricks at proactive-intl.com Sun Sep 5 00:26:29 2010 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sat, 4 Sep 2010 21:26:29 -0700 Subject: SQLite Database In-Reply-To: References: <67567208-8896-4227-B410-0DAAABAD5861@sweattechnologies.com> Message-ID: > Valentina offers encryption and for a great deal less than > $2000. It's also a much more robust and faster database with > lots more to offer. > The latest Valentina Studio application offers ways to > convert SQLite to Valentina also. Thanks Bill for the recommendation! Although you can treat it in a similar way as a relational database, Valentina is at its heart a very modern columnar database. That's why when you hear the crazy sounding claims that its so much faster than MySQL or other relational dbs, we aren't kidding. Run complex queries against large databases and often you'll find what took a few hours with others takes a few minutes, or less, with Valentina. We have some customers who do dumps from Oracle into Valentina for running special types of analysis or BI type solutions because its way more efficient to do that (and much less expensive) than try to do it just with Oracle. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > On Sat, Sep 4, 2010 at 12:05 PM, Warren Kuhl > wrote: > > Monte, > > > > I thanks for the advice. ?$2000 is a little steep. ?I may loook at > > writing an encryption/decrypt module for my data and > decrpyt it after > > retrieving it from the database. > > > > Thanks! > > > > Warren > > > > On Sat, Sep 4, 2010 at 2:58 AM, Monte Goulding > > wrote: > >> Not without writing a new db driver I wouldn't think. From > memory there is an encrypted version of sqlite with a $2000 > license fee. If you don't need it to be ultra secure then you > could store your db in a custom property of an encrypted > stack and save it to a hidden file at startup, save it back > to your encrypted stack at shutdown and delete the hidden > file. Anyone that knows it's a rev stack could open the file > in rev, copy out the db file and see your data though. > >> > >> Cheers > >> > >> Monte > >> On 04/09/2010, at 3:56 PM, Warren Kuhl wrote: > >> > >>> Is there anyway to encrypt a SQLite database that I can use in > >>> Revolution Studio? > >>> > >>> Thanks for any suggestions! > >>> Warren > >>> _______________________________________________ > >>> use-revolution mailing list > >>> use-revolution at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and > manage your subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > http://www.bluewatermaritime.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From richmondmathewson at gmail.com Sun Sep 5 05:46:09 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 05 Sep 2010 12:46:09 +0300 Subject: Spaced Out Message-ID: <4C8366E1.2040807@gmail.com> I am poking around in a textField to ascertain if the double-byte char just before the insertion point is either: 1. Bang up against the left-hand side of the textField or 2. A space. #1 is dead easy; the space is proving rather difficult. My code goes something like this: on mouseUp set the useUnicode to true put the word 4 of the selectedChunk into W4 put (W4 - 1) into W5 get charToNum(char W5 to W4 of fld "MyGuff") if it = empty or space then put "EMPTY or SPACE" else put "STUFF HERE" end if end mouseUp tried replacing "space" with "32" for some funny reason this detects the left-hand side of the fld "MyGuff", but not if there is a space on the left of the insertion point. A real bu**er right now. sincerely, Richmond. From richmondmathewson at gmail.com Sun Sep 5 06:33:05 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 05 Sep 2010 13:33:05 +0300 Subject: Spaced Out Message-ID: <4C8371E1.1030502@gmail.com> Running a detection script like this: on mouseUp set the useUnicode to true put the word 4 of the selectedChunk into W4 put (W4 - 1) into W5 get charToNum(char W5 to W4 of fld "MyGuff") put it into UNIK put the word 2 of the selectedChunk into W2 put (W2 - 1) into W! get charToNumber(char W2 to W1 of fld "MyGuff") put it into UNIQ put uniEncode("The insertion point is between '") into P1 put uniEncode("' and '") into P2 put uniEncode("'") into P3 set the unicodeText of fld "WhereAreWe" to P1 & numToChar(UNIK) & P2 & numToChar(UNIQ) & P3 end mouseUp detects a SPACE when the insertion point is BEFORE the space, but does NOT detect a SPACE when the insertion point is AFTER a space. --------------------------------------------------------- Where am I going wrong? From m.schonewille at economy-x-talk.com Sun Sep 5 07:04:56 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 5 Sep 2010 13:04:56 +0200 Subject: Spaced Out In-Reply-To: <4C8371E1.1030502@gmail.com> References: <4C8371E1.1030502@gmail.com> Message-ID: <92610C1C-AB7A-42B4-B098-92729BCFD0C6@economy-x-talk.com> Hi Richmond, You have W! instead of W1. W1 is undefined. Also, shouldn't it be W4-1 and W2+1? Have you checked that W4 > W2? I know, this is a tricky thing, struggled a lot with it myself. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 5 sep 2010, at 12:33, Richmond wrote: > Running a detection script like this: > > on mouseUp > set the useUnicode to true > put the word 4 of the selectedChunk into W4 > put (W4 - 1) into W5 > get charToNum(char W5 to W4 of fld "MyGuff") > put it into UNIK > put the word 2 of the selectedChunk into W2 > put (W2 - 1) into W! > get charToNumber(char W2 to W1 of fld "MyGuff") > put it into UNIQ > put uniEncode("The insertion point is between '") into P1 > put uniEncode("' and '") into P2 > put uniEncode("'") into P3 > set the unicodeText of fld "WhereAreWe" to P1 & numToChar(UNIK) & P2 & numToChar(UNIQ) & P3 > end mouseUp > > > detects a SPACE when the insertion point is BEFORE the space, but > > does NOT detect a SPACE when the insertion point is AFTER a space. From richmondmathewson at gmail.com Sun Sep 5 07:10:31 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 05 Sep 2010 14:10:31 +0300 Subject: Spaced Out In-Reply-To: <92610C1C-AB7A-42B4-B098-92729BCFD0C6@economy-x-talk.com> References: <4C8371E1.1030502@gmail.com> <92610C1C-AB7A-42B4-B098-92729BCFD0C6@economy-x-talk.com> Message-ID: <4C837AA7.8070808@gmail.com> On 09/05/2010 02:04 PM, Mark Schonewille wrote: > Hi Richmond, > > You have W! instead of W1. W1 is undefined. Also, shouldn't it be W4-1 and W2+1? Have you checked that W4> W2? I know, this is a tricky thing, struggled a lot with it myself. > > > Yes, it should be W2 + 1, and that was me being careless copying the script into my e-mail client; as with 'W!'. The script still has the same problem. I will keep on fiddling around; Thanks for the support. > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > From 15th August, we'll have time for new projects! Be the first in line and contact me now! > > Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce > > On 5 sep 2010, at 12:33, Richmond wrote: > > >> Running a detection script like this: >> >> on mouseUp >> set the useUnicode to true >> put the word 4 of the selectedChunk into W4 >> put (W4 - 1) into W5 >> get charToNum(char W5 to W4 of fld "MyGuff") >> put it into UNIK >> put the word 2 of the selectedChunk into W2 >> put (W2 - 1) into W! >> get charToNumber(char W2 to W1 of fld "MyGuff") >> put it into UNIQ >> put uniEncode("The insertion point is between '") into P1 >> put uniEncode("' and '") into P2 >> put uniEncode("'") into P3 >> set the unicodeText of fld "WhereAreWe" to P1& numToChar(UNIK)& P2& numToChar(UNIQ)& P3 >> end mouseUp >> >> >> detects a SPACE when the insertion point is BEFORE the space, but >> >> does NOT detect a SPACE when the insertion point is AFTER a space. >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From richmondmathewson at gmail.com Sun Sep 5 07:45:24 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 05 Sep 2010 14:45:24 +0300 Subject: Spaced Out In-Reply-To: <92610C1C-AB7A-42B4-B098-92729BCFD0C6@economy-x-talk.com> References: <4C8371E1.1030502@gmail.com> <92610C1C-AB7A-42B4-B098-92729BCFD0C6@economy-x-talk.com> Message-ID: <4C8382D4.7050608@gmail.com> I wonder why this doesn't work: put the char before the selectedText and nor does this: put the char before the selectedChunk ? Richmond. From richmondmathewson at gmail.com Sun Sep 5 07:57:24 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 05 Sep 2010 14:57:24 +0300 Subject: Spaced Out In-Reply-To: <92610C1C-AB7A-42B4-B098-92729BCFD0C6@economy-x-talk.com> References: <4C8371E1.1030502@gmail.com> <92610C1C-AB7A-42B4-B098-92729BCFD0C6@economy-x-talk.com> Message-ID: <4C8385A4.5020405@gmail.com> Cracked It! And a right "@#$%^" it is too . . . :( >> Running a detection script like this: >> >> on mouseUp >> set the useUnicode to true >> put the word 4 of the selectedChunk into W4 >> put (W4 - 1) into W5 >> get charToNum(char W5 to W4 of fld "MyGuff") >> put it into UNIK >> put the word 2 of the selectedChunk into W2 >> put (W2 - 1) into W! >> get charToNumber(char W2 to W1 of fld "MyGuff") >> put it into UNIQ >> put uniEncode("The insertion point is between '") into P1 >> put uniEncode("' and '") into P2 >> put uniEncode("'") into P3 >> set the unicodeText of fld "WhereAreWe" to P1& numToChar(UNIK)& P2& numToChar(UNIQ)& P3 >> end mouseUp >> >> >> detects a SPACE when the insertion point is BEFORE the space, but >> >> does NOT detect a SPACE when the insertion point is AFTER a space. >> > to detect a SPACE one has to TURN OFF useUnicode: set the useUnicode to false put the word 4 of the selectedChunk into WONKY get charToNum(char WONKY of fld "MyGuff") put it set the useUnicode to true "somebody", cough, cough, ought to get all this sorted out in the Documentation. From m.schonewille at economy-x-talk.com Sun Sep 5 08:06:45 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 5 Sep 2010 14:06:45 +0200 Subject: Spaced Out In-Reply-To: <4C8385A4.5020405@gmail.com> References: <4C8371E1.1030502@gmail.com> <92610C1C-AB7A-42B4-B098-92729BCFD0C6@economy-x-talk.com> <4C8385A4.5020405@gmail.com> Message-ID: Hi Richmond, Are you doing this on a PowerPC processor? I think your script will break on a computer with x86 processor. In unicode, a space still is space & NULL on x86 platforms and NULL & space on PPC platforms. Your script seems to find a space on PPC platforms but a NULL character on x86 platforms. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 5 sep 2010, at 13:57, Richmond wrote: > Cracked It! > And a right "@#$%^" it is too . . . :( >>> Running a detection script like this: >>> >>> on mouseUp >>> set the useUnicode to true >>> put the word 4 of the selectedChunk into W4 >>> put (W4 - 1) into W5 >>> get charToNum(char W5 to W4 of fld "MyGuff") >>> put it into UNIK >>> put the word 2 of the selectedChunk into W2 >>> put (W2 - 1) into W! >>> get charToNumber(char W2 to W1 of fld "MyGuff") >>> put it into UNIQ >>> put uniEncode("The insertion point is between '") into P1 >>> put uniEncode("' and '") into P2 >>> put uniEncode("'") into P3 >>> set the unicodeText of fld "WhereAreWe" to P1& numToChar(UNIK)& P2& numToChar(UNIQ)& P3 >>> end mouseUp >>> >>> >>> detects a SPACE when the insertion point is BEFORE the space, but >>> >>> does NOT detect a SPACE when the insertion point is AFTER a space. >>> >> > > to detect a SPACE one has to TURN OFF useUnicode: > > set the useUnicode to false > put the word 4 of the selectedChunk into WONKY > get charToNum(char WONKY of fld "MyGuff") > put it > set the useUnicode to true > > "somebody", cough, cough, ought to get all this sorted out in the Documentation. From richmondmathewson at gmail.com Sun Sep 5 08:25:03 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 05 Sep 2010 15:25:03 +0300 Subject: Spaced Out In-Reply-To: References: <4C8371E1.1030502@gmail.com> <92610C1C-AB7A-42B4-B098-92729BCFD0C6@economy-x-talk.com> <4C8385A4.5020405@gmail.com> Message-ID: <4C838C1F.20405@gmail.com> On 09/05/2010 03:06 PM, Mark Schonewille wrote: > Hi Richmond, > > Are you doing this on a PowerPC processor? I think your script will break on a computer with x86 processor. In unicode, a space still is space& NULL on x86 platforms and NULL& space on PPC platforms. Your script seems to find a space on PPC platforms but a NULL character on x86 platforms. > > -- > Best regards, > > Mark Schonewille > > Muffled curses. Aaaah, so as well as having to make different stacks for the Mac/WinXP versus Win7/Linux divide I now have to make different stacks for PPC and x86 processors. Lovely! ---------------------------------------------------------------------------- Err . . . hang on a minute . . . a null ???? Well; let me see on the Linux box whether my script works or not. Back "in a trice" Richmond. From richmondmathewson at gmail.com Sun Sep 5 08:29:56 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 05 Sep 2010 15:29:56 +0300 Subject: Spaced Out In-Reply-To: References: <4C8371E1.1030502@gmail.com> <92610C1C-AB7A-42B4-B098-92729BCFD0C6@economy-x-talk.com> <4C8385A4.5020405@gmail.com> Message-ID: <4C838D44.1080402@gmail.com> On 09/05/2010 03:06 PM, Mark Schonewille wrote: > Hi Richmond, > > Are you doing this on a PowerPC processor? I think your script will break on a computer with x86 processor. In unicode, a space still is space& NULL on x86 platforms and NULL& space on PPC platforms. Your script seems to find a space on PPC platforms but a NULL character on x86 platforms. > > Well . . . talk about opening a can of worms . . . You are quite right about the SPACE detection on an x86 processor . . . And, what is also worrying is that Sanskrit vowel characters can't be entered without preceding consonants being entered at the same time. From richmondmathewson at gmail.com Sun Sep 5 08:43:28 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 05 Sep 2010 15:43:28 +0300 Subject: Spaced Out In-Reply-To: References: <4C8371E1.1030502@gmail.com> <92610C1C-AB7A-42B4-B098-92729BCFD0C6@economy-x-talk.com> <4C8385A4.5020405@gmail.com> Message-ID: <4C839070.6050109@gmail.com> On 09/05/2010 03:06 PM, Mark Schonewille wrote: > Hi Richmond, > > Are you doing this on a PowerPC processor? I think your script will break on a computer with x86 processor. I am not sure what you mean by 'break'; the script does not crash the stack - it just doesn't detect spaces properly. > In unicode, a space still is space& NULL on x86 platforms and NULL& space on PPC platforms. Your script seems to find a space on PPC platforms but a NULL character on x86 platforms. > > -- > Best regards, > > Mark Schonewille > > From m.schonewille at economy-x-talk.com Sun Sep 5 10:58:38 2010 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 5 Sep 2010 16:58:38 +0200 Subject: Spaced Out In-Reply-To: <4C839070.6050109@gmail.com> References: <4C8371E1.1030502@gmail.com> <92610C1C-AB7A-42B4-B098-92729BCFD0C6@economy-x-talk.com> <4C8385A4.5020405@gmail.com> <4C839070.6050109@gmail.com> Message-ID: <35C983E5-AE59-436E-8736-38FA8E3F1161@economy-x-talk.com> Hi Richmond, That's what I mean by break: first it works, then it doesn't. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 From 15th August, we'll have time for new projects! Be the first in line and contact me now! Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce On 5 sep 2010, at 14:43, Richmond wrote: > On 09/05/2010 03:06 PM, Mark Schonewille wrote: >> Hi Richmond, >> >> Are you doing this on a PowerPC processor? I think your script will break on a computer with x86 processor. > > I am not sure what you mean by 'break'; the script does not crash the stack - it just doesn't detect > spaces properly. > >> In unicode, a space still is space& NULL on x86 platforms and NULL& space on PPC platforms. Your script seems to find a space on PPC platforms but a NULL character on x86 platforms. >> >> -- >> Best regards, >> >> Mark Schonewille >> >> From richmondmathewson at gmail.com Sun Sep 5 11:21:41 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 05 Sep 2010 18:21:41 +0300 Subject: Spaced Out In-Reply-To: <35C983E5-AE59-436E-8736-38FA8E3F1161@economy-x-talk.com> References: <4C8371E1.1030502@gmail.com> <92610C1C-AB7A-42B4-B098-92729BCFD0C6@economy-x-talk.com> <4C8385A4.5020405@gmail.com> <4C839070.6050109@gmail.com> <35C983E5-AE59-436E-8736-38FA8E3F1161@economy-x-talk.com> Message-ID: <4C83B585.8060303@gmail.com> On 09/05/2010 05:58 PM, Mark Schonewille wrote: > Hi Richmond, > > That's what I mean by break: first it works, then it doesn't. > > Thanks for pointing the PPC/x86 divide to me. I am currently working on a PPC with a view to getting a PPC-compliant standalone up-and-running. Then, and only then, will I take the code over to my Ubuntu box and start scratching my head all over again. sincerely, Richmond Mathewson. From steve at theworcestersource.com Sun Sep 5 13:03:26 2010 From: steve at theworcestersource.com (theworcestersource.com) Date: Sun, 5 Sep 2010 10:03:26 -0700 (PDT) Subject: Mac OS X Textured Button custom control Message-ID: <1283706206943-2527471.post@n4.nabble.com> Hello everybody, Just thought I'd drop a quick line to let you know that I've uploaded a custom control to Rev Online. It's a nice little textured button, together with metal/gray image and is really useful for home windows that seem to be adorning Mac applications these days. The stack's also available on my site on the try/buy page (don't worry about the name of this page: the stack itself is free). Cheers, Steve www.theworcestersource.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Mac-OS-X-Textured-Button-custom-control-tp2527471p2527471.html Sent from the Revolution - User mailing list archive at Nabble.com. From andre at andregarzia.com Sun Sep 5 14:37:46 2010 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 5 Sep 2010 15:37:46 -0300 Subject: [feature] did you guys knew that "?" is a valid character for function/command name? Message-ID: Folks, Did you guys knew that "?" is a valid character for naming functions and commands? I just created a function like that and it works function mode? pMode return pMode is sLocalVarA["mode"] end mode? and I can use it like this: if mode?("fundamenteal") then bla bla bla end if -- http://www.andregarzia.com All We Do Is Code. From richmondmathewson at gmail.com Sun Sep 5 15:28:45 2010 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 05 Sep 2010 22:28:45 +0300 Subject: Spaced Out In-Reply-To: References: <4C8371E1.1030502@gmail.com> <92610C1C-AB7A-42B4-B098-92729BCFD0C6@economy-x-talk.com> <4C8385A4.5020405@gmail.com> Message-ID: <4C83EF6D.8010603@gmail.com> On 09/05/2010 03:06 PM, Mark Schonewille wrote: > Hi Richmond, > > Are you doing this on a PowerPC processor? I think your script will break on a computer with x86 processor. In unicode, a space still is space& NULL on x86 platforms and NULL& space on PPC platforms. Your script seems to find a space on PPC platforms but a NULL character on x86 platforms. > > -- > Best regards, > > Mark Schonewille > > Both you and I were wrong; which from the viewpoint of one lonely, lazy Runtine Revolutionary fighting out his own path to Revolutionary bliss here in Bulgaria . . . . . . Err . . . wait a minute while I punch myself in the face for that outburst . . . :) My SPACE detection script is working just fine having ported the stack over to the old HP-with-Ubuntu !!!!! Betetr belt off an Intel build for my Beta testers directly from the PPC code and see what they have to see about that (especially as have no Intel Mac lolling around here) . . . From andre at andregarzia.com Sun Sep 5 16:05:01 2010 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 5 Sep 2010 17:05:01 -0300 Subject: Mac OS X Textured Button custom control In-Reply-To: <1283706206943-2527471.post@n4.nabble.com> References: <1283706206943-2527471.post@n4.nabble.com> Message-ID: Steve, I like the new textured button, congratulations and thanks for that. :D On Sun, Sep 5, 2010 at 2:03 PM, theworcestersource.com < steve at theworcestersource.com> wrote: > > Hello everybody, > > Just thought I'd drop a quick line to let you know that I've uploaded a > custom control to Rev Online. It's a nice little textured button, together > with metal/gray image and is really useful for home windows that seem to be > adorning Mac applications these days. > > The stack's also available on my site on the try/buy page (don't worry > about > the name of this page: the stack itself is free). > > Cheers, > > > Steve > www.theworcestersource.com > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Mac-OS-X-Textured-Button-custom-control-tp2527471p2527471.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From stephenREVOLUTION2 at barncard.com Sun Sep 5 16:28:42 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 5 Sep 2010 13:28:42 -0700 Subject: Cookies again: Expiry Date Message-ID: I am still having trouble dealing with the effective use of setting and clearing cookies properly using the Revolution server at On-Rev. put new header "Set-Cookie: one=datavalue" put new header "Set-Cookie: two=datavalue2" Yes, that sets the values that can be recovered, but to delete the cookie by attempting to set an early expiry date seems to fail every time. put new header "Set-Cookie: two=datavalue2 ; expires=May 5,2010;" put "Set-Cookie: " && tln & "=" & urlEncode(pArray[tln]) & "; expires=" & ("March 24, 2012") & "; path=/;" into theCookie put new header theCookie I have been around and around to all the forums and see the same posts about getting put new header to work last year but nothing about actual success setting the expiry date. PHP makes it easy: Tested, PHP works, just like this. Sets the date, too. In Rev it's as if the put new header command truncates the other parameters. Surely someone here has a solution to this in RevTalk. thanks sqb -- Stephen Barncard San Francisco Ca. USA more about sqb From andre at andregarzia.com Sun Sep 5 16:49:00 2010 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 5 Sep 2010 17:49:00 -0300 Subject: Cookies again: Expiry Date In-Reply-To: References: Message-ID: Stephen, I think you are using the wrong date format for the cookie. From wikipedia: The expiration date tells the browser when to delete the cookie. The expiration date is specified in the "Wdy, DD-Mon-YYYY HH:MM:SS GMT" format. As an example, the following is a cookie sent by a Web server (the value string has been changed): Set-Cookie: RMID=732423sdfs73242; expires=Fri, 31-Dec-2010 23:59:59 GMT; path=/; domain=.example.net That format is similar to the internet date but it is not the internet date. I think you will need to assemble that out of the dateitems or something. Other way is to encode your cookie value such as it carries expiry information on the value field itself. For example Set-Cookie: one=valueone#1283719646; Then on your code you split it using # as a itemdelimiter. valueone is your actual value, the number after the hash is "the seconds", an exact timestamp of when the cookie was set. You can use that on your code to invalidate a cookie if needed. This puts the control of expiration on your hands. Andre On Sun, Sep 5, 2010 at 5:28 PM, stephen barncard wrote: > > I am still having trouble dealing with the effective use of setting and > clearing cookies properly using the Revolution server at On-Rev. > > put new header "Set-Cookie: one=datavalue" > put new header "Set-Cookie: two=datavalue2" > > > Yes, that sets the values that can be recovered, but to delete the cookie by > attempting to set an early expiry date seems to fail every time. > > put new header "Set-Cookie: two=datavalue2 ; expires=May 5,2010;" > > put "Set-Cookie: " && tln & "=" & ?urlEncode(pArray[tln]) & "; expires=" & > ("March 24, 2012") & "; ?path=/;" into theCookie > put new header theCookie > > > I have been around and around to all the forums and see the same posts about > getting put new header to work last year but nothing about actual success > setting the expiry date. > > PHP makes it easy: > > $value = "my cookie value"; > > // send a cookie that expires in 24 hours > setcookie("TestCookie",$value, time()+3600*24); > ?> > > > Tested, PHP works, just like this. Sets the date, too. > > In Rev it's as if the put new header command truncates the other parameters. > > > Surely someone here has a solution to this in RevTalk. > > thanks > > sqb > > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb ? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- http://www.andregarzia.com All We Do Is Code. From mwieder at ahsoftware.net Sun Sep 5 17:01:09 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 5 Sep 2010 14:01:09 -0700 Subject: [feature] did you guys knew that "?" is a valid character for function/command name? In-Reply-To: References: Message-ID: <142263799546.20100905140109@ahsoftware.net> Andre- Sunday, September 5, 2010, 11:37:46 AM, you wrote: > Folks, > Did you guys knew that "?" is a valid character for naming functions and > commands? I just created a function like that and it works ...it gets worse... see bz #8048 -- -Mark Wieder mwieder at ahsoftware.net From len-morgan at crcom.net Sun Sep 5 17:12:28 2010 From: len-morgan at crcom.net (Len Morgan) Date: Sun, 05 Sep 2010 16:12:28 -0500 Subject: Data Grid Column Header Problem Message-ID: <4C8407BC.7030000@crcom.net> I had this problem once before but I can't find the solution to it now. What's happening is I have a lot of information to show in a DG table (lots of columns). In order to make it all fit, skinny columns like Sex and Age have been abbreviated to "S" and "A" respectively. The problem is that there appears to be some sort of "border" around the column headers so that I can only see a few dots from the middle of those two characters in the header making them unreadable. I tried changing the header margins but that just moves the text in the header up. How can I get rid of the blank space on either side of the column header text? Thanks in advance! Len Morgan From len-morgan at crcom.net Sun Sep 5 17:15:52 2010 From: len-morgan at crcom.net (Len Morgan) Date: Sun, 05 Sep 2010 16:15:52 -0500 Subject: Another Data Grid problem Message-ID: <4C840888.7090500@crcom.net> I have set a button to contain the custom behavior for my data grid table. However, the selectionChanged is never getting sent. All of the other handlers are being called in that button so I'm not sure what's going on. What I need to do is when a new line is selected, I need to get the contents of the first column of the (now) selected row, then get the data for that from the database. Thanks again! Len Morgan From andre at andregarzia.com Sun Sep 5 17:21:46 2010 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 5 Sep 2010 18:21:46 -0300 Subject: [feature] did you guys knew that "?" is a valid character for function/command name? In-Reply-To: <142263799546.20100905140109@ahsoftware.net> References: <142263799546.20100905140109@ahsoftware.net> Message-ID: On Sun, Sep 5, 2010 at 6:01 PM, Mark Wieder wrote: > Andre- > > Sunday, September 5, 2010, 11:37:46 AM, you wrote: > >> Folks, > >> Did you guys knew that "?" is a valid character for naming functions and >> commands? I just created a function like that and it works > > ...it gets worse... see bz #8048 :-O We can now have our own "obfuscated code contest!" If I name a variable @ then can I create a command like command ? @@ bla bla bla end ? where I call it ? and pass @ by-reference... :-O PS: PowerDebug is really cool! > > -- > -Mark Wieder > ?mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From zryip.theslug at gmail.com Sun Sep 5 17:32:57 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sun, 5 Sep 2010 23:32:57 +0200 Subject: Another Data Grid problem In-Reply-To: <4C840888.7090500@crcom.net> References: <4C840888.7090500@crcom.net> Message-ID: On Sun, Sep 5, 2010 at 11:15 PM, Len Morgan wrote: > ?I have set a button to contain the custom behavior for my data grid table. > ?However, the selectionChanged is never getting sent. ?All of the other > handlers are being called in that button so I'm not sure what's going on. > ?What I need to do is when a new line is selected, I need to get the > contents of the first column of the (now) selected row, then get the data > for that from the database. > > Thanks again! > Hi Len, Have a look to this lesson: http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7313-How-Do-I-Get-Data-Associated-With-a-Row-or-Column- Try to place your selectionChanged handler in the datagrid group instead of the custom column behavior. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From zryip.theslug at gmail.com Sun Sep 5 17:40:37 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sun, 5 Sep 2010 23:40:37 +0200 Subject: Data Grid Column Header Problem In-Reply-To: <4C8407BC.7030000@crcom.net> References: <4C8407BC.7030000@crcom.net> Message-ID: On Sun, Sep 5, 2010 at 11:12 PM, Len Morgan wrote: > ?I had this problem once before but I can't find the solution to it now. > ?What's happening is I have a lot of information to show in a DG table (lots > of columns). ?In order to make it all fit, skinny columns like Sex and Age > have been abbreviated to "S" and "A" respectively. The problem is that there > appears to be some sort of "border" around the column headers so that I can > only see a few dots from the middle of those two characters in the header > making them unreadable. > > I tried changing the header margins but that just moves the text in the > header up. ?How can I get rid of the blank space on either side of the > column header text? > Len, Could you precise: - the width of your column? - the margins you applied? Thanks Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From stephenREVOLUTION2 at barncard.com Sun Sep 5 17:46:20 2010 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 5 Sep 2010 14:46:20 -0700 Subject: Cookies again: Expiry Date In-Reply-To: References: Message-ID: That was it. The date format. Thanks very much, Andre. sqb On 5 September 2010 13:49, Andre Garzia wrote: > Stephen, > > I think you are using the wrong date format for the cookie. From wikipedia: > > The expiration date tells the browser when to delete the cookie. The > expiration date is specified in the "Wdy, DD-Mon-YYYY HH:MM:SS GMT" > format. As an example, the following is a cookie sent by a Web server > (the value string has been changed): > > Set-Cookie: RMID=732423sdfs73242; expires=Fri, 31-Dec-2010 23:59:59 > GMT; path=/; domain=.example.net > > That format is similar to the internet date but it is not the internet > date. I think you will need to assemble that out of the dateitems or > something. Other way is to encode your cookie value such as it carries > expiry information on the value field itself. For example > > Set-Cookie: one=valueone#1283719646; > > Then on your code you split it using # as a itemdelimiter. valueone is > your actual value, the number after the hash is "the seconds", an > exact timestamp of when the cookie was set. You can use that on your > code to invalidate a cookie if needed. This puts the control of > expiration on your hands. > > Andre > > On Sun, Sep 5, 2010 at 5:28 PM, stephen barncard > wrote: > > > > I am still having trouble dealing with the effective use of setting and > > clearing cookies properly using the Revolution server at On-Rev. > > > > put new header "Set-Cookie: one=datavalue" > > put new header "Set-Cookie: two=datavalue2" > > > > > > Yes, that sets the values that can be recovered, but to delete the cookie > by > > attempting to set an early expiry date seems to fail every time. > > > > put new header "Set-Cookie: two=datavalue2 ; expires=May 5,2010;" > > > > put "Set-Cookie: " && tln & "=" & urlEncode(pArray[tln]) & "; expires=" > & > > ("March 24, 2012") & "; path=/;" into theCookie > > put new header theCookie > > > > > > I have been around and around to all the forums and see the same posts > about > > getting put new header to work last year but nothing about actual success > > setting the expiry date. > > > > PHP makes it easy: > > > > > $value = "my cookie value"; > > > > // send a cookie that expires in 24 hours > > setcookie("TestCookie",$value, time()+3600*24); > > ?> > > > > > > Tested, PHP works, just like this. Sets the date, too. > > > > In Rev it's as if the put new header command truncates the other > parameters. > > > > > > Surely someone here has a solution to this in RevTalk. > > > > thanks > > > > sqb > > > > > > > > > > -- > > > > > > > > Stephen Barncard > > San Francisco Ca. USA > > > > more about sqb > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Stephen Barncard San Francisco Ca. USA more about sqb From len-morgan at crcom.net Sun Sep 5 17:45:39 2010 From: len-morgan at crcom.net (Len Morgan) Date: Sun, 05 Sep 2010 16:45:39 -0500 Subject: Data Grid Column Header Problem In-Reply-To: References: <4C8407BC.7030000@crcom.net> Message-ID: <4C840F83.1010005@crcom.net> On 9/5/2010 4:40 PM, zryip theSlug wrote: > On Sun, Sep 5, 2010 at 11:12 PM, Len Morgan wrote: >> I had this problem once before but I can't find the solution to it now. >> What's happening is I have a lot of information to show in a DG table (lots >> of columns). In order to make it all fit, skinny columns like Sex and Age >> have been abbreviated to "S" and "A" respectively. The problem is that there >> appears to be some sort of "border" around the column headers so that I can >> only see a few dots from the middle of those two characters in the header >> making them unreadable. >> >> I tried changing the header margins but that just moves the text in the >> header up. How can I get rid of the blank space on either side of the >> column header text? >> > Len, > > Could you precise: > - the width of your column? > - the margins you applied? > > > Thanks > > > Regards, As an example, the column for sex (Label = "S") is set for 30. The margins were originally whatever the default is. I changed it to 1 and the text rolled up. I'm only worried about the right and left of the header text. The vertical orientation is fine. With the header text "Room" and a column width of 58, the first couple of columns of pixels in the "R" are cutoff. There is more than enough room in the header field, it's just adding space on either side. len From andre at andregarzia.com Sun Sep 5 17:48:40 2010 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 5 Sep 2010 18:48:40 -0300 Subject: Cookies again: Expiry Date In-Reply-To: References: Message-ID: On Sun, Sep 5, 2010 at 6:46 PM, stephen barncard wrote: > That was it. The date format. ?Thanks very much, Andre. ;-) been hurt by that more than once. > > sqb > > On 5 September 2010 13:49, Andre Garzia wrote: > >> Stephen, >> >> I think you are using the wrong date format for the cookie. From wikipedia: >> >> The expiration date tells the browser when to delete the cookie. The >> expiration date is specified in the "Wdy, DD-Mon-YYYY HH:MM:SS GMT" >> format. As an example, the following is a cookie sent by a Web server >> (the value string has been changed): >> >> Set-Cookie: RMID=732423sdfs73242; expires=Fri, 31-Dec-2010 23:59:59 >> GMT; path=/; domain=.example.net >> >> That format is similar to the internet date but it is not the internet >> date. I think you will need to assemble that out of the dateitems or >> something. Other way is to encode your cookie value such as it carries >> expiry information on the value field itself. For example >> >> ?Set-Cookie: one=valueone#1283719646; >> >> Then on your code you split it using # as a itemdelimiter. valueone is >> your actual value, the number after the hash is "the seconds", an >> exact timestamp of when the cookie was set. You can use that on your >> code to invalidate a cookie if needed. This puts the control of >> expiration on your hands. >> >> Andre >> >> On Sun, Sep 5, 2010 at 5:28 PM, stephen barncard >> wrote: >> > >> > I am still having trouble dealing with the effective use of setting and >> > clearing cookies properly using the Revolution server at On-Rev. >> > >> > put new header "Set-Cookie: one=datavalue" >> > put new header "Set-Cookie: two=datavalue2" >> > >> > >> > Yes, that sets the values that can be recovered, but to delete the cookie >> by >> > attempting to set an early expiry date seems to fail every time. >> > >> > put new header "Set-Cookie: two=datavalue2 ; expires=May 5,2010;" >> > >> > put "Set-Cookie: " && tln & "=" & ?urlEncode(pArray[tln]) & "; expires=" >> & >> > ("March 24, 2012") & "; ?path=/;" into theCookie >> > put new header theCookie >> > >> > >> > I have been around and around to all the forums and see the same posts >> about >> > getting put new header to work last year but nothing about actual success >> > setting the expiry date. >> > >> > PHP makes it easy: >> > >> > > > $value = "my cookie value"; >> > >> > // send a cookie that expires in 24 hours >> > setcookie("TestCookie",$value, time()+3600*24); >> > ?> >> > >> > >> > Tested, PHP works, just like this. Sets the date, too. >> > >> > In Rev it's as if the put new header command truncates the other >> parameters. >> > >> > >> > Surely someone here has a solution to this in RevTalk. >> > >> > thanks >> > >> > sqb >> > >> > >> > >> > >> > -- >> > >> > >> > >> > Stephen Barncard >> > San Francisco Ca. USA >> > >> > more about sqb ? >> > _______________________________________________ >> > use-revolution mailing list >> > use-revolution at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> >> -- >> http://www.andregarzia.com All We Do Is Code. >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb ? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.andregarzia.com All We Do Is Code. From zryip.theslug at gmail.com Sun Sep 5 18:07:36 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Mon, 6 Sep 2010 00:07:36 +0200 Subject: Data Grid Column Header Problem In-Reply-To: <4C840F83.1010005@crcom.net> References: <4C8407BC.7030000@crcom.net> <4C840F83.1010005@crcom.net> Message-ID: On Sun, Sep 5, 2010 at 11:45 PM, Len Morgan wrote: > ?On 9/5/2010 4:40 PM, zryip theSlug wrote: >> >> On Sun, Sep 5, 2010 at 11:12 PM, Len Morgan ?wrote: >>> >>> ?I had this problem once before but I can't find the solution to it now. >>> ?What's happening is I have a lot of information to show in a DG table >>> (lots >>> of columns). ?In order to make it all fit, skinny columns like Sex and >>> Age >>> have been abbreviated to "S" and "A" respectively. The problem is that >>> there >>> appears to be some sort of "border" around the column headers so that I >>> can >>> only see a few dots from the middle of those two characters in the header >>> making them unreadable. >>> >>> I tried changing the header margins but that just moves the text in the >>> header up. ?How can I get rid of the blank space on either side of the >>> column header text? >>> >> Len, >> >> Could you precise: >> - the width of your column? >> - the margins you applied? >> >> >> Thanks >> >> >> Regards, > > As an example, the column for sex (Label = "S") is set for 30. ?The margins > were originally whatever the default is. ?I changed it to 1 and the text > rolled up. ?I'm only worried about the right and left of the header text. > ?The vertical orientation is fine. > > With the header text "Room" and a column width of 58, the first couple of > columns of pixels in the "R" are cutoff. ?There is more than enough room in > the header field, it's just adding space on either side. > Len, The ideal min size is 40. I gave your problem a try. It seems to me that the content of your columns is centered. In this case, changing the margins with the "header margins" do nothing, because the field displaying the header title has a width of 2 pixels. If you can give 10 more pixels for those two columns, all will be ok. Otherwise, for now I don't see any workaround. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From richmondmathewson at gmail.com Sun Sep 5 18:10:32 2010 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 06 Sep 2010 01:10:32 +0300 Subject: Updated versions Message-ID: <4C841558.10903@gmail.com> Dear Sivakatirswami, I was having a spot of bother with the DELETE key inside the textField: these versions have that sorted out: i.e. they are NOT the same as the ones I mentioned in the last message. http://andregarzia.on-rev.com/richmond/PRO/SSC/DWProD4PPC.zip http://andregarzia.on-rev.com/richmond/PRO/SSC/DWProD4Intel.zip sorry to be a "pain in the bum" but for some reason unknown I am managing to sort out quite a lot of things quite rapidly at present. sincerely, Richmond Mathewson. From len-morgan at crcom.net Sun Sep 5 18:34:43 2010 From: len-morgan at crcom.net (Len Morgan) Date: Sun, 05 Sep 2010 17:34:43 -0500 Subject: Data Grid Column Header Problem In-Reply-To: References: <4C8407BC.7030000@crcom.net> <4C840F83.1010005@crcom.net> Message-ID: <4C841B03.5070801@crcom.net> > Len, > > The ideal min size is 40. > I gave your problem a try. It seems to me that the content of your > columns is centered. In this case, changing the margins with the > "header margins" do nothing, because the field displaying the header > title has a width of 2 pixels. > > If you can give 10 more pixels for those two columns, all will be ok. > Otherwise, for now I don't see any workaround. > > > Regards, "Ideal" according to who? Is that a Rev limitation or part of the Data Grid? It seems to be awfully large. I did expand those columns (and reduced the width of another to make them fit) so it's all "working" now. It sure would be nice if we could lower that limit though. len From monte at sweattechnologies.com Sun Sep 5 18:58:34 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 6 Sep 2010 08:58:34 +1000 Subject: focus border color Message-ID: Hi the effective focusColor is returning black when I can see that it's a bluish color Any way to find the focus border color? Cheers Monte From jacque at hyperactivesw.com Sun Sep 5 19:31:42 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 05 Sep 2010 18:31:42 -0500 Subject: [feature] did you guys knew that "?" is a valid character for function/command name? In-Reply-To: References: Message-ID: <4C84285E.9040605@hyperactivesw.com> On 9/5/10 1:37 PM, Andre Garzia wrote: > Folks, > > Did you guys knew that "?" is a valid character for naming functions and > commands? I just created a function like that and it works > > function mode? pMode > return pMode is sLocalVarA["mode"] > end mode? > > and I can use it like this: > > if mode?("fundamenteal") then > bla bla bla > end if > > > It was valid in HC too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tsj at unimelb.edu.au Sun Sep 5 19:35:51 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Mon, 06 Sep 2010 09:35:51 +1000 Subject: focus border color In-Reply-To: Message-ID: It looks like focusColor is broken on OSX at least as setting it either at the stack or object level has no effect. I always get the standard bluish color irrespective of what color I set the focusColor to (querying the focusColor correctly reports the color I have 'applied'). Terry... On 6/09/10 8:58 AM, "Monte Goulding" wrote: > Hi > > the effective focusColor is returning black when I can see that it's a bluish > color > > Any way to find the focus border color? > > Cheers > > Monte_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From zryip.theslug at gmail.com Sun Sep 5 19:40:48 2010 From: zryip.theslug at gmail.com (zryip theSlug) Date: Mon, 6 Sep 2010 01:40:48 +0200 Subject: Data Grid Column Header Problem In-Reply-To: <4C841B03.5070801@crcom.net> References: <4C8407BC.7030000@crcom.net> <4C840F83.1010005@crcom.net> <4C841B03.5070801@crcom.net> Message-ID: On Mon, Sep 6, 2010 at 12:34 AM, Len Morgan wrote: > >> Len, >> >> The ideal min size is 40. >> I gave your problem a try. It seems to me that the content of your >> columns is centered. In this case, changing the margins with the >> "header margins" do nothing, because the field displaying the header >> title has a width of 2 pixels. >> >> If you can give 10 more pixels for those two columns, all will be ok. >> Otherwise, for now I don't see any workaround. >> >> >> Regards, > > "Ideal" according to who? ?Is that a Rev limitation or part of the Data > Grid? ?It seems to be awfully large. ?I did expand those columns (and > reduced the width of another to make them fit) so it's all "working" now. > ?It sure would be nice if we could lower that limit though. > "Ideal" according to my quick test, sorry. So I correct myself: 40 seems to be the ideal width. Here is a workaround if you have no need to sort your two columns. You have to define a default header behavior and change the layoutControl handler. The header width of a datagrid seems to take care of the width of the "sort arrow" you can have in the header in case you want to sort a column. on LayoutControl pControlRect -- Position all of the controls within the header put the loc of me into theLoc set the margins of field 1 of me to the dgProps["header margins"] of the dgControl of me set the rect of graphic "Background" of me to pControlRect set the rect of field 1 of me to pControlRect set the left of graphic "LeftHilite" of me to item 1 of pControlRect set the right of graphic "RightHilite" of me to item 3 of pControlRect -- Position field and sort arrow --> Your width problem should be here put the width of button "SortArrow" of me into theArrowWidth set the loc of button "SortArrow" of me to item 3 of pControlRect - (round(theArrowWidth / 2) + 5), item 2 of the loc of me add 5 to theArrowWidth if the textAlign of field 1 of me is "center" then set the rect of field 1 of me to item 1 of pControlRect, item 2 of pControlRect, \ item 1 of pControlRect + ( (item 3 of pControlRect - item 1 of pControlRect) - (theArrowWidth * 2) ), \ item 4 of pControlRect set the loc of field 1 of me to theLoc else if the visible of button "SortArrow" of me then set the rect of field 1 of me to item 1 of pControlRect, item 2 of pControlRect, \ item 1 of pControlRect + ( (item 3 of pControlRect - item 1 of pControlRect) - theArrowWidth ), \ item 4 of pControlRect else set the rect of field 1 of me to item 1 of pControlRect, item 2 of pControlRect, \ item 1 of pControlRect + ( (item 3 of pControlRect - item 1 of pControlRect) ), \ item 4 of pControlRect end if end if end LayoutControl The lesson to change the header behavior is here: http://lessons.runrev.com/spaces/lessons/manuals/datagrid_tips/lessons/7351-How-Do-I-Add-Tooltips-To-Column-Headers- HTH Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From monte at sweattechnologies.com Sun Sep 5 19:46:41 2010 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 6 Sep 2010 09:46:41 +1000 Subject: focus border color In-Reply-To: References: Message-ID: Ah, anyone know the RGB values for that OS X focus border then? On 06/09/2010, at 9:35 AM, Terry Judd wrote: > It looks like focusColor is broken on OSX at least as setting it either at > the stack or object level has no effect. I always get the standard bluish > color irrespective of what color I set the focusColor to (querying the > focusColor correctly reports the color I have 'applied'). From mwieder at ahsoftware.net Sun Sep 5 19:50:37 2010 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 5 Sep 2010 16:50:37 -0700 Subject: Data Grid Column Header Problem In-Reply-To: <4C840F83.1010005@crcom.net> References: <4C8407BC.7030000@crcom.net> <4C840F83.1010005@crcom.net> Message-ID: <57273967093.20100905165037@ahsoftware.net> Len- Sunday, September 5, 2010, 2:45:39 PM, you wrote: > As an example, the column for sex (Label = "S") is set for 30. The ...I thought about commenting on "column for sex" but decided against it... -- -Mark Wieder mwieder at ahsoftware.net From tsj at unimelb.edu.au Sun Sep 5 19:50:48 2010 From: tsj at unimelb.edu.au (Terry Judd) Date: Mon, 06 Sep 2010 09:50:48 +1000 Subject: focus border color In-Reply-To: Message-ID: Based on the colors in the Apple Developer palette it seems to be 67,138,208 Terry... On 6/09/10 9:46 AM, "Monte Goulding" wrote: > Ah, anyone know the RGB values for that OS X focus border then? > > On 06/09/2010, at 9:35 AM, Terry Judd wrote: > >> It looks like focusColor is broken on OSX at least as setting it either at >> the stack or object level has no effect. I always get the standard bluish >> color irrespective of what color I set the focusColor to (querying the >> focusColor correctly reports the color I have 'applied'). > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From jacque at hyperactivesw.com Sun Sep 5 22:28:42 2010 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 05 Sep 2010 21:28:42 -0500 Subject: Data Grid Column Header Problem In-Reply-To: <57273967093.20100905165037@ahsoftware.net> References: <4C8407BC.7030000@crcom.net> <4C840F83.1010005@crcom.net> <57273967093.20100905165037@ahsoftware.net> Message-ID: <4C8451DA.80901@hyperactivesw.com> On 9/5/10 6:50 PM, Mark Wieder wrote: > Len- > > Sunday, September 5, 2010, 2:45:39 PM, you wrote: > >> As an example, the column for sex (Label = "S") is set for 30. The > > ...I thought about commenting on "column for sex" but decided against > it... > No you didn't. ;) But I confess I wondered why they had to wait till 30. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From katir at hindu.org Sun Sep 5 22:29:43 2010 From: katir at hindu.org (Sivakatirswami) Date: Sun, 05 Sep 2010 16:29:43 -1000 Subject: Menu Accelerators - help! Message-ID: <4C845217.9040702@hindu.org> For some reason, I've never been able to get menu accelerator keys to work as expected. the dictionary entry on this makes sense, but could use some examples. Seems straight forward enough... The syntax for menu item strings is: []